:root{
    --maincolor: #BCA382;
    --secondcolor: #f8a803;
    --thirdcolor: #f4ab01;
    --textcolor: #343131;
    --primary-font: "Inter", "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", sans-serif;
    --heading-font: "Poppins", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", sans-serif;
}

* {
    margin: 0; 
    padding: 0;
    box-sizing: border-box;
    outline: none; 
    border: none;
    text-decoration: none;
    /* Removed text-transform: capitalize; */
    transition: all .2s linear;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}



html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: auto;
    scroll-padding-top: 6rem;
    /* Prevent horizontal scrolling on mobile */
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: var(--primary-font);
    font-weight: 400;
    line-height: 1.6;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    /* Prevent horizontal scrolling */
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

/* Typewriter Effect Styles */
.typewriter-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(6px) scale(0.98);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    letter-spacing: inherit;
    text-shadow: inherit;
}

.typewriter-space {
    display: inline;
    opacity: 0;
    transition: opacity 0.4s ease-out;
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    letter-spacing: inherit;
}

.typewriter-text {
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.typewriter-buttons {
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4% 2%;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #f9f7f4 0%, #f5f3f0 100%);
    border-bottom: 1px solid rgba(188, 163, 130, 0.2);
    backdrop-filter: blur(20px);
}

header.scrolled {
    background: rgba(247, 245, 242, 0.95);
    backdrop-filter: blur(25px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

/* Desktop header layout - keep existing structure */
.header-top-row {
    display: contents; 
}

.logo {
    width: 200px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    width: 100%;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.1));
}

/* Enhanced Navigation */
.navbar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(15px);
    border-radius: 50px;
    padding: 1rem 2rem;
    box-shadow: 0 4px 20px rgba(188, 163, 130, 0.15);
    border: 1px solid rgba(188, 163, 130, 0.2);
}

.navbar a {
    color: #333;
    font-size: 1.6rem;
    margin: 0 1.2rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    position: relative;
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: none;
    overflow: hidden;
}

.navbar a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #bca382, #a68c6d);
    border-radius: 25px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.navbar a:hover::before {
    opacity: 1;
    transform: scale(1);
}

.navbar a:hover {
    color: white;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(188, 163, 130, 0.4);
}

.navbar a::after {
    display: none; /* Remove the old underline effect */
}

/* Right Icons Container */
.right-icons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Phone Button */
.phone-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, #2c5f2d, #4a7c59);
    color: white !important;
    border-radius: 30px;
    padding: 1.2rem 2rem;
    font-size: 1.4rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(44, 95, 45, 0.3);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.phone-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.phone-btn:hover::before {
    left: 100%;
}

.phone-btn:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 8px 30px rgba(44, 95, 45, 0.5);
    background: linear-gradient(135deg, #4a7c59, #5b8f68);
}

.phone-btn i {
    font-size: 1.6rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.phone-btn span {
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Menu Bars */
#menu-bars {
    color: var(--textcolor);
    font-size: 2.8rem;
    cursor: pointer;
    margin-right: 1rem;
    display: none;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    
    /* iOS Safari fixes */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0,0,0,0.1);
    
    /* Additional Safari mobile fixes */
    position: relative;
    z-index: 1000;
}

#menu-bars:hover {
    color: var(--maincolor);
    transform: scale(1.1) rotate(90deg);
    background: rgba(188, 163, 130, 0.1);
}

/* Enhanced Main Button */
.right-icons .btn {
    background: linear-gradient(135deg, #bca382, #a68c6d);
    color: #fff !important;
    border-radius: 30px;
    padding: 1.2rem 2.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(188,163,130,0.3);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.right-icons .btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.right-icons .btn:hover::before {
    left: 100%;
}

.right-icons .btn:hover {
    background: linear-gradient(135deg, #a68c6d, #8f7355);
    color: #fff;
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 12px 35px rgba(188,163,130,0.5);
    border-color: rgba(255,255,255,0.3);
}

/* Home Section */
.main-home {
    padding: 0;
    background-image: url(images/background.webp);
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}



.home-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 7%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.home {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-top: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
    min-height: auto;
    width: 100%;
}

.home .home-content {
    max-width: min(55vw, 60rem);
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    min-height: auto;
    padding-top: 1rem;
    margin-right: auto;
}

.home-left-content span {
    font-size: 2rem;
    color: var(--maincolor);
    padding: 1rem 0;
    font-weight: bolder;
}

.home-content h2,
.home-left-content h2 {
    font-size: clamp(3.2rem, 5vw, 5.2rem);
    margin: 1rem 0;
    line-height: 1.2;
    font-family: var(--heading-font);
    font-weight: 900;
    color: #1a1a1a;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.home-content p,
.home-left-content p {
    font-size: clamp(1.4rem, 1.8vw, 1.8rem);
    color: var(--textcolor);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.home-btn {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    justify-content: flex-start;
}

/* Modern Home Section Buttons */
.home-btn a:not(.homebtnsec) {
    background: rgba(255,255,255,0.9);
    color: #bca382 !important;
    border: 2px solid #bca382;
    border-radius: 30px;
    padding: 1.2rem 2.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 20px rgba(188, 163, 130, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.home-btn a:not(.homebtnsec)::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.home-btn a:not(.homebtnsec):hover::before {
    left: 100%;
}

.home-btn a:not(.homebtnsec):hover {
    background: linear-gradient(135deg, #bca382, #a68c6d);
    color: #fff !important;
    border-color: transparent;
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 8px 25px rgba(188, 163, 130, 0.4);
}

.homebtnsec {
    background: linear-gradient(135deg, #bca382, #a68c6d);
    color: #fff !important;
    border-radius: 30px;
    padding: 1.2rem 2.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    border: 2px solid transparent;
    margin-left: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(188,163,130,0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.homebtnsec::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.homebtnsec:hover::before {
    left: 100%;
}

.homebtnsec:hover {
    background: linear-gradient(135deg, #a68c6d, #8f7355);
    color: #fff !important;
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 12px 35px rgba(188,163,130,0.5);
    border-color: rgba(255,255,255,0.3);
}

/* Technology / Three Boxes */
.technology {
    padding: 3rem 7%;
}

.main-technology {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: -100px;
}

.inner-technology {
    flex: 1 1 300px;
    padding: 3rem 3rem;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    font-family: var(--primary-font);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    background-color: white;
    position: relative;
    z-index: 1;
}

.inner-technology span {
    width: 0;
    height: 100%;
    background-color: var(--maincolor);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: 0.5s;
}

.inner-technology:hover span {
    width: 100%;
}

.inner-technology:hover i {
    color: white;
}

.inner-technology:hover h2 {
    color: white;
}

.inner-technology:hover p {
    color: white;
}

.inner-technology i {
    font-size: 4.8rem;
    color: var(--maincolor);
}

.inner-technology h2 {
    font-size: 2.5rem;
    padding: 1rem 0;
}

.inner-technology p {
    font-size: 1.5rem;
    line-height: 2.5rem;
    padding: 1rem 0;
}

/* About Section */
.main-about {
    padding: 6rem 7% 4rem 7%;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.main-about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(1px);
    z-index: 1;
}

.main-about > * {
    position: relative;
    z-index: 2;
}

.main-about .about-heading {
    text-align: center;
    font-size: clamp(3.5rem, 5vw, 4.5rem);
    font-weight: 800;
    color: var(--maincolor);
    margin: 0 auto 4rem auto;
    padding: 2rem 0;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.main-about .about-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--maincolor), var(--secondcolor));
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(188, 163, 130, 0.3);
}

.inner-main-about {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 4rem;
    margin-top: 2rem;
}

.about-inner-content-left {
    flex: 1 1 40rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.about-inner-content-left img {
    width: 85%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 4px solid rgba(188, 163, 130, 0.2);
}

.about-inner-content-left img:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.about-inner-content {
    flex: 1 1 50rem;
    padding: 0 2rem;
}

.about-inner-content img {
    width: 100%;
}

.about-right-content h2 {
    font-size: clamp(2.5rem, 4vw, 3.2rem);
    padding: 1.5rem 0;
    color: #2c3e50;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2rem;
    position: relative;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.about-right-content h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--maincolor), var(--secondcolor));
    border-radius: 2px;
}

.about-right-content p {
    font-size: clamp(1.4rem, 1.6vw, 1.7rem);
    padding: 1.2rem 0;
    color: #555;
    font-family: var(--primary-font);
    text-align: left;
    line-height: 1.8;
    font-weight: 400;
    text-align: justify;
    background: rgba(255, 255, 255, 0.7);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(188, 163, 130, 0.1);
}

.aboutsec-content {
    line-height: 2.5rem !important;
}

.aboutbtn {
    background: linear-gradient(135deg, var(--maincolor), #a68c6d);
    border: 2px solid transparent;
    border-radius: 30px;
    padding: 1.4rem 3rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    width: fit-content;
    cursor: pointer;
    display: block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(188, 163, 130, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}
.aboutbtn a {
    color: #fff !important;
    font-size: 1.5rem;
    font-weight: 700;
}

.aboutbtn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.aboutbtn:hover::before {
    left: 100%;
}

.aboutbtn:hover {
    background: linear-gradient(135deg, #a68c6d, #8f7355);
    color: #fff;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 35px rgba(188, 163, 130, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

/* About Services Section */
.about-services {
    margin-top: 6rem;
    padding: 4rem 0;
}

.about-services-heading {
    text-align: center;
    margin-bottom: 5rem;
}

.about-services-heading h2 {
    font-size: clamp(3.5rem, 5vw, 4.5rem);
    font-weight: 800;
    color: var(--maincolor);
    margin: 0 auto;
    padding: 2rem 0;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-services-heading h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--maincolor), var(--secondcolor));
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(188, 163, 130, 0.3);
}

.about-services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
    margin-top: 2rem;
}

.about-service-box {
    flex: 1 1 320px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(188, 163, 130, 0.1);
    position: relative;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.about-service-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--maincolor), var(--secondcolor));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.about-service-box:hover::before {
    transform: scaleX(1);
}

.about-service-box:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(188, 163, 130, 0.3);
    background: rgba(255, 255, 255, 0.95);
}

.about-service-box h3 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    color: #2c3e50;
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.about-service-box h3::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--maincolor), var(--secondcolor));
    border-radius: 2px;
}

.about-service-box ul {
    list-style: none;
    padding: 0;
}

.about-service-box ul li {
    font-size: clamp(1.4rem, 1.6vw, 1.7rem);
    color: #555;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(188, 163, 130, 0.1);
    position: relative;
    padding-left: 3rem;
    line-height: 1.6;
    font-weight: 400;
    transition: all 0.3s ease;
}

.about-service-box ul li:hover {
    color: var(--maincolor);
    padding-left: 3.5rem;
}

.about-service-box ul li::before {
    content: '\2713';
    color: var(--maincolor);
    font-size: 1.8rem;
    font-weight: bold;
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.about-service-box ul li:hover::before {
    color: var(--secondcolor);
    transform: translateY(-50%) scale(1.2);
}

.about-service-box ul li:last-child {
    border-bottom: none;
}

/* Training Quote Section */
.training-quote {
    margin-top: 6rem;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(188, 163, 130, 0.1) 0%, rgba(248, 168, 3, 0.05) 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.training-quote::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="0.5" fill="%23BCA382" opacity="0.1"/><circle cx="80" cy="40" r="0.3" fill="%23BCA382" opacity="0.08"/><circle cx="40" cy="80" r="0.4" fill="%23BCA382" opacity="0.12"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.6;
    z-index: 1;
}

.quote-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.quote-container blockquote {
    font-size: clamp(2.8rem, 4vw, 4.2rem);
    font-weight: 600;
    color: var(--maincolor);
    font-family: var(--heading-font);
    line-height: 1.4;
    margin: 0 0 2rem 0;
    position: relative;
    font-style: italic;
}

.quote-container blockquote::before {
    content: "";
    font-size: 8rem;
    color: var(--secondcolor);
    position: absolute;
    top: -2rem;
    left: -3rem;
    font-family: serif;
    opacity: 0.7;
}

.quote-container blockquote::after {
    content: "";
    font-size: 8rem;
    color: var(--secondcolor);
    position: absolute;
    bottom: -4rem;
    right: -3rem;
    font-family: serif;
    opacity: 0.7;
}

.quote-container cite {
    font-size: 1.8rem;
    color: var(--textcolor);
    font-weight: 500;
    font-style: normal;
    opacity: 0.8;
}

/* Training Contact Details */
.contact-details {
    margin: 3rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-details .contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(188, 163, 130, 0.1) 0%, rgba(255, 255, 255, 0.8) 100%);
    border-radius: 15px;
    border: 1px solid rgba(188, 163, 130, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-details .contact-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(188, 163, 130, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-details .contact-item:hover::before {
    left: 100%;
}

.contact-details .contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(188, 163, 130, 0.25);
    border-color: var(--maincolor);
}

.contact-details .contact-item i {
    font-size: 2rem;
    color: var(--maincolor);
    width: 3rem;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-details .contact-item:hover i {
    color: var(--secondcolor);
    transform: scale(1.1);
}

.contact-details .contact-item span {
    font-size: 1.6rem;
    color: var(--textcolor);
    font-weight: 500;
}

.contact-details .contact-item a,
.contact-item a {
    font-size: 1.6rem;
    color: var(--textcolor);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-details .contact-item a:hover,
.contact-item a:hover {
    color: var(--maincolor);
    text-decoration: underline;
}

/* Training Buttons Styling */
.training-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.training-buttons .aboutbtn {
    color: #fff !important;
}

.training-buttons .aboutbtn.secondary {
    background: linear-gradient(135deg, #2c5f2d, #4a7c59);
    border: 2px solid #2c5f2d;
    color: #fff !important;
}

.training-buttons .aboutbtn.secondary:hover {
    background: linear-gradient(135deg, #4a7c59, #5b8f68);
    border-color: #4a7c59;
}

.cennik-buttons{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.cennik-buttons .aboutbtn.secondary {
    background: linear-gradient(135deg, #2c5f2d, #4a7c59);
    border: 2px solid #2c5f2d;
    color: #fff !important;
    width: 40rem;
    text-align: center;
    font-size: 1.5rem;
    padding: 1.2rem 2.5rem;
}

.cennik-buttons .aboutbtn.secondary:hover {
    background: linear-gradient(135deg, #4a7c59, #5b8f68);
    border-color: #4a7c59;
}

/* Location Buttons Styling */
.location-buttons {
    margin-top: 2rem;
    text-align: center;
}

.location-buttons .aboutbtn {
    display: inline-block;
    margin: 0 auto;
}

/* Responsive adjustments for training buttons */
@media (max-width: 767px) {
    .training-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .training-buttons .aboutbtn {
        width: 100%;
        text-align: center;
    }
}

/* Doctors */
.main-doctors {
    padding: 2rem 7%;
    background-image: none;
    background-color: #f5f5f5;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.doctors-heading {
    font-size: 3rem; /* 30px */
    text-align: center;
    margin: 4rem;
    color: var(--maincolor);
}

.main-inner-doctor {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6rem;
}

.doc-poster {
    flex: 1 1 300px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    position: relative;
    overflow: hidden;
}

.doc-poster img {
    width: 100%;
    border: 0.7rem solid var(--maincolor);
}

.doc-poster:hover img {
    border-radius: 0 50px 0 0;
}

.doc-icons {
    position: absolute;
    left: -100%;
    top: 10%;
    transition: 0.5s;
}

.doc-poster:hover .doc-icons {
    left: 5%;
}

.doc-icons i {
    font-size: 2rem;
    margin: 0.5rem;
    border: 1px solid var(--secondcolor);
    color: var(--maincolor);
    padding: 1rem;
    background-color: white;
    cursor: pointer;
}

.doc-icons i:hover {
    background-color: white;
    color: var(--secondcolor);
    border-radius: 10px !important;
    transform: scale(1.2);
    border: 1px solid var(--maincolor);
}

.doc-poster::after {
    content: "";
    background: linear-gradient(0deg, #f5f5f5 50%, transparent);
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    z-index: 1;
    bottom: -200px;
    transition: 0.5s;
}

.doc-poster:hover:after {
    bottom: -100px;
}

.doc-details {
    position: absolute;
    text-align: center;
    z-index: 2;
    bottom: -30px;
    left: 40%;
}

.doc-details h2 {
    color: black;
    font-size: 2.5rem; /* 25px */
    padding: 2rem 0;
}

.doc-details i {
    padding: 0.5rem;
    font-size: 2.5rem;
    color: var(--maincolor);
    cursor: pointer;
}

.doc-details i:hover {
    color: var(--secondcolor);
    transform: scale(1.2);
}

.doc-poster:hover .doc-details {
    bottom: 10px;
}

/* Services */
.our-service {
    width: 100%;
    padding: 3rem 7%;
}

.service-heading h2 {
    font-size: 3.2rem; /* slightly reduced from 40px */
    color: var(--maincolor);
    text-align: center;
    padding: 1rem 0;
    margin-bottom: 3rem;
}

.main-services {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4rem;
    text-align: center;
}

.inner-services {
    flex: 1 1 300px;
    padding: 3rem 2rem;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border: 2px solid var(--textcolor);
}

.inner-services:hover {
    transform: translateY(-10px);
    border-bottom: 2px solid var(--maincolor);
    background-color: #f5f5f5;
}

.inner-services:hover .service-icon {
    width: 100px;
    height: 100px;
    border-radius: 0;
    background-color: var(--maincolor);
}

.inner-services:hover .service-icon i {
    color: white;
    transform: scale(1.1);
}

.service-icon {
    width: 100px;
    height: 100px;
    line-height: 100px;
    margin: 0 auto;
    border-radius: 50%;
    border: 1px solid var(--maincolor);
    background-color: #f5f5f5;
}

.service-icon i {
    font-size: 3rem;
    color: var(--maincolor);
    padding: 1rem;
}

.inner-services h3 {
    font-size: 2rem;
    padding-top: 2rem;
}

.inner-services p {
    font-size: 1.5rem;
    padding: 1.5rem 0;
    line-height: 2.5rem;
}

/* Reviews */
.main-review {
    padding: 6rem 7% 4rem 7%;
    width: 100%;
    position: relative;
    background: linear-gradient(135deg, #f9f7f4 0%, #f5f3f0 100%);
}

.main-review::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(1px);
    z-index: 1;
}

.main-review > * {
    position: relative;
    z-index: 2;
}

.review-heading {
    text-align: center;
    margin-bottom: 5rem;
}

.review-heading h1 {
    font-size: clamp(3.5rem, 5vw, 4.5rem);
    font-weight: 800;
    color: var(--maincolor);
    margin: 0 auto;
    padding: 2rem 0;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.review-heading h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--maincolor), var(--secondcolor));
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(188, 163, 130, 0.3);
}

.review-inner-content {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 3rem;
    text-align: center;
    padding: 2rem 0;
}

.review-box {
    flex: 1 1 320px;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    border: 2px solid rgba(188, 163, 130, 0.1);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.review-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--maincolor), var(--secondcolor));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.review-box:hover::before {
    transform: scaleX(1);
}

.review-box:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(188, 163, 130, 0.3);
    background: rgba(255, 255, 255, 0.95);
}

.review-box img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 4px solid rgba(188, 163, 130, 0.2);
    transition: all 0.4s ease;
    margin-bottom: 1.5rem;
}

.review-box:hover img {
    transform: scale(1.1);
    border-color: var(--maincolor);
    box-shadow: 0 8px 25px rgba(188, 163, 130, 0.4);
}

.review-stars {
    padding: 1.5rem 0;
    margin-bottom: 1rem;
}

.review-stars i {
    font-size: 1.8rem;
    color: var(--secondcolor);
    margin: 0.2rem;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(248, 168, 3, 0.3));
}

.review-box:hover .review-stars i {
    transform: scale(1.1);
    color: #e6940a;
}

.review-box h2 {
    font-size: clamp(1.8rem, 2.5vw, 2.2rem);
    padding: 1rem 0;
    color: #2c3e50;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.review-text p {
    font-size: clamp(1.4rem, 1.6vw, 1.6rem);
    padding: 1.5rem;
    line-height: 1.7;
    color: #555;
    font-style: italic;
    position: relative;
    background: rgba(248, 248, 248, 0.5);
    border-radius: 12px;
    margin-top: 1rem;
    border: 1px solid rgba(188, 163, 130, 0.1);
}

.review-text p::before {
    content: '"';
    font-size: 3rem;
    color: var(--maincolor);
    position: absolute;
    top: -10px;
    left: 15px;
    font-family: var(--heading-font);
    opacity: 0.7;
    font-weight: 700;
}

.review-text p::after {
    content: '"';
    font-size: 3rem;
    color: var(--maincolor);
    position: absolute;
    bottom: -15px;
    right: 15px;
    font-family: var(--heading-font);
    opacity: 0.7;
    font-weight: 700;
}

/* Map Section */
.map-section {
    padding: 6rem 7% 4rem 7%;
    width: 100%;
    background: linear-gradient(135deg, #f9f7f4 0%, #f5f3f0 100%);
    position: relative;
}

.map-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(1px);
    z-index: 1;
}

.map-section > * {
    position: relative;
    z-index: 2;
}

.map-heading {
    text-align: center;
    margin-bottom: 5rem;
}

.map-heading h2 {
    font-size: clamp(3.5rem, 5vw, 4.5rem);
    font-weight: 800;
    color: var(--maincolor);
    margin: 0 auto;
    padding: 2rem 0;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.map-heading h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--maincolor), var(--secondcolor));
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(188, 163, 130, 0.3);
}

.map-content {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.location-info {
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.location-card,
.hours-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(188, 163, 130, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.location-card::before,
.hours-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--maincolor), var(--secondcolor));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.location-card:hover::before,
.hours-card:hover::before {
    transform: scaleX(1);
}

.location-card:hover,
.hours-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    border-color: rgba(188, 163, 130, 0.3);
}

.location-header,
.hours-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.location-header i,
.hours-header i {
    font-size: 2.5rem;
    color: var(--maincolor);
    background: rgba(188, 163, 130, 0.1);
    padding: 1rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.location-card:hover .location-header i,
.hours-card:hover .hours-header i {
    background: var(--maincolor);
    color: white;
    transform: scale(1.1);
}

.location-header h3,
.hours-header h3 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 700;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.address p {
    font-size: clamp(1.6rem, 2vw, 1.8rem);
    color: #2c3e50;
    font-weight: 600;
    margin: 0.5rem 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.contact-info {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    font-size: 1.6rem;
    color: #555;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
}

.contact-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(135deg, var(--maincolor), var(--secondcolor));
    border-radius: 0 2px 2px 0;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.contact-item:hover::before {
    transform: scaleY(1);
}

.contact-item:hover {
    color: var(--maincolor);
    background: rgba(188, 163, 130, 0.05);
    transform: translateX(8px);
    box-shadow: 0 3px 10px rgba(188, 163, 130, 0.15);
}

.contact-item i {
    font-size: 1.8rem;
    color: var(--maincolor);
    width: 25px;
    text-align: center;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(248, 248, 248, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(188, 163, 130, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hours-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(135deg, var(--maincolor), var(--secondcolor));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.hours-item:hover::before {
    transform: scaleY(1);
}

.hours-item:hover {
    background: rgba(188, 163, 130, 0.1);
    transform: translateX(8px);
    box-shadow: 0 5px 15px rgba(188, 163, 130, 0.2);
}

.hours-item.closed {
    opacity: 0.7;
    background: rgba(220, 220, 220, 0.3);
}

.hours-item.closed:hover {
    background: rgba(220, 220, 220, 0.5);
}

.hours-item .day {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.5rem;
}

.hours-item .time {
    font-weight: 700;
    color: var(--maincolor);
    font-size: 1.5rem;
}

.hours-item.closed .time {
    color: #999;
    font-style: italic;
}

.map-container {
    flex: 1 1 500px;
    position: relative;
}

.map-wrapper {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(188, 163, 130, 0.1);
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.map-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--maincolor), var(--secondcolor));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.map-wrapper:hover::before {
    transform: scaleX(1);
}

.map-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    border-color: rgba(188, 163, 130, 0.3);
}

.map-wrapper iframe {
    border-radius: 15px;
    width: 100%;
    filter: brightness(1.05) contrast(1.1);
    transition: all 0.3s ease;
}

.map-wrapper:hover iframe {
    filter: brightness(1.1) contrast(1.15);
}

.map-overlay {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
}

.directions-btn {
    background: linear-gradient(135deg, #2c5f2d, #4a7c59);
    color: white !important;
    border: 2px solid transparent;
    border-radius: 30px;
    padding: 1rem 2rem;
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(44, 95, 45, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.directions-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.directions-btn:hover::before {
    left: 100%;
}

.directions-btn:hover {
    background: linear-gradient(135deg, #4a7c59, #5b8f68);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(44, 95, 45, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.directions-btn i {
    font-size: 1.4rem;
}

/* Simple Footer */
.simple-footer {
    background: #f8f6f3;
    color: #333;
    padding: 4rem 7% 2rem 7%;
    text-align: center;
    border-top: 1px solid #e8e6e3;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 3rem auto;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-address,
.footer-phone {
    flex: 1;
    min-width: 200px;
}

.footer-address p,
.footer-phone p {
    margin: 0.2rem 0;
    font-size: 1.4rem;
    color: #666;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.footer-logo {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.footer-logo h3 {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    color: var(--maincolor);
    letter-spacing: 2px;
}

.footer-logo p {
    margin: 0;
    font-size: 1.2rem;
    color: #999;
    font-weight: 400;
    letter-spacing: 1px;
}

/* New Contact Buttons wrapper */
.footer-contact-buttons {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    min-width: 250px;
    padding: 1rem 0;
}
/* Phone Number Button */
.footer-phone-number {
    display: inline-block;
    background: linear-gradient(135deg, #2c5f2d, #4a7c59);
    color: white !important;
    border-radius: 30px;
    padding: 1.4rem 2.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(44, 95, 45, 0.3);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    min-width: 200px;
    text-align: center;
    white-space: nowrap;
}
.footer-phone-number::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}
.footer-phone-number:hover::before{
    left: 100%;
}

.footer-phone-number:hover {
    background: linear-gradient(135deg, #4a7c59, #5b8f68);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(44, 95, 45, 0.5);
}

.footer-phone-number i {
    font-size: 1.8rem;
    margin-right: 0.5rem;
    color: white;

}



/* Improved Appointment Button */
.footer-appointment-btn .btn {
    display: inline-block;
    background: linear-gradient(135deg, #bca382, #a68c6d);
    color: #fff !important;
    border-radius: 30px;
    padding: 1.4rem 2.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(188,163,130,0.3);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    min-width: 200px;
    text-align: center;
    white-space: nowrap;
}

.footer-appointment-btn .btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}
.footer-appointment-btn .btn:hover::before {
    left: 100%;
}
.footer-appointment-btn .btn:hover {
    background: linear-gradient(135deg, #a68c6d, #8f7355);
    color: #fff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(188,163,130,0.5);
    border-color: rgba(255,255,255,0.3);
}


/* Improved Social Icons */
.footer-social-row {
    display: flex;
    justify-content: center;
    gap: 1.8rem;
    margin-top: 1rem;
}

.footer-social-row a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #fff;
    color: var(--maincolor);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--maincolor);
    font-size: 2.2rem;
    box-shadow: 0 4px 10px rgba(188, 163, 130, 0.2);
}

.footer-social-row a:hover {
    color: white;
    background: var(--maincolor);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(188, 163, 130, 0.4);
}

.footer-copyright {
    border-top: 1px solid #e8e6e3;
    padding-top: 2rem;
    margin-top: 2rem;
}

.footer-copyright p {
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    color: #999;
    font-weight: 600;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--maincolor);
}

.footer-links span {
    color: #ccc;
    font-weight: 300;
}

/* Footer Responsive Design */
@media screen and (max-width: 991px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    
    .footer-address {
        order: 2;
    }
    
    .footer-logo {
        order: 1;
    }

    .footer-contact-buttons {
        order: 3;
        width: 100%;
        max-width: 400px;
    }
}

@media screen and (max-width: 767px) {
    .simple-footer {
        padding: 3rem 4% 2rem 4%;
    }
    
    .footer-container {
        gap: 2.5rem;
    }
    
    .footer-logo h3 {
        font-size: 1.8rem;
    }
    
    .footer-logo p {
        font-size: 1.1rem;
    }
    
    .footer-address p {
        font-size: 1.3rem;
    }
    
    .footer-social-row {
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .footer-social-row a {
        width: 45px;
        height: 45px;
        font-size: 2rem;
    }

    .footer-phone-number a,
    .footer-appointment-btn .btn {
        font-size: 1.5rem;
        padding: 1rem 2rem;
    }
    
    .footer-copyright p {
        font-size: 1.1rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .footer-links span {
        display: none;
    }
    
    .footer-links a {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .footer-social-row {
        gap: 1.2rem;
    }
    
    .footer-social-row a {
        width: 40px;
        height: 40px;
        font-size: 1.8rem;
    }

    .footer-phone-number a,
    .footer-appointment-btn .btn {
        font-size: 1.4rem;
        padding: 0.9rem 1.8rem;
    }
}

/* Example of small icons for social media links using Font Awesome brand icons */
/* In your HTML, add classes like: <a href="#" class="facebook">Facebook</a> etc. */
.link a.facebook::before {
    font-family: "Font Awesome 6 Brands";
    content: "\f09a"; /* Facebook icon */
    margin-right: 0.8rem;
}

.link a.instagram::before {
    font-family: "Font Awesome 6 Brands";
    content: "\f16d"; /* Instagram icon */
    
    margin-right: 0.8rem;
}

/* Responsive */
/* Ultra-wide screens (1600px and up) */
@media (min-width: 1600px) {
    .main-home {
        max-height: 85vh;
        min-height: calc(100vw * 679 / 1142);
    }
    .home-container {
        max-width: 80vw;
        padding: 0 6%;
    }    .home .home-content {
        max-width: 67vh;
        padding-top: 10vh;
    }    .home-content h2,
    .home-left-content h2 {
        font-size: clamp(4vh, 6vh, 12vh);
        line-height: 1.1;
        margin: 1.5rem 0;
        margin-top: 10vh;
        font-weight: 900;
        color: #1a1a1a;
        letter-spacing: -0.03em;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    .home-content p,
    .home-left-content p {
        font-size: clamp(1vw, 2vw, 3vw);
        font-weight: 500;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }   
    .home-btn a {
        padding: 1.4rem 3rem;
    }
    .home-btn {
        align-items: center;
        margin-top: 2.5rem;
        gap: 2.5rem;
    }
    .navbar a {
        font-size: 1.8rem;
        margin: 0 1.5rem;
        padding: 1.2rem 1.8rem;
    }
    .right-icons .btn {
        font-size: 1.7rem;
        padding: 1.3rem 2.8rem;
    }
    .phone-btn {
        font-size: 1.5rem;
        padding: 1.3rem 2.2rem;
    }
    .phone-btn i {
        font-size: 1.7rem;
    }
}

/* Extra large screens (1440px - 1599px) */
@media (min-width: 1199px) and (max-width: 1599px) {
    .main-home {
        max-height: 60vh;
        min-height: calc(100vw * 679 / 1142);
    }
    .home-container {
        max-width: 1450px;
        padding: 0 6%;
    }    .home .home-content {
        max-width: 70rem;
        padding-top: 5rem;
        margin-left: 10rem;
        padding-bottom: 2rem;
    }    .home-content h2,
    .home-left-content h2 {
        font-size: clamp(3.5rem, 4.7vw, 5.5rem);
        line-height: 0.85;
        margin: 0.5rem 0;
        margin-top: 20rem;
        font-weight: 500;
        color: #1a1a1a;
        letter-spacing: -0.03em;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    .home-content p,
    .home-left-content p {
        font-size: clamp(1.5rem, 1.9vw, 1.9rem);
        line-height: 1.65;
        margin-bottom: 1.2rem;
        font-weight: 600;
        text-shadow: #1a1a1a;
    }    .home-btn a {
        padding: 1.2rem 2.8rem;
        font-size: 1.5rem;
        padding: 1.2rem 2.8rem;
        border-radius: 40px;
    }
    .navbar a {
        font-size: 1.7rem;  
        margin: 0 1.3rem;
        padding: 0.8rem 1.2rem;
    }   
    .right-icons .btn {
        font-size: 1.6rem;
        padding: 1.0rem 2.1rem;
    }
    .phone-btn {
        font-size: 1.4rem;
        padding: 1.0rem 2.1rem;
    }
}



/* Medium desktop screens (1025px - 1199px) */
@media (max-width: 1199px) and (min-width: 768px) {
    header {
        height: 10vh;
    }
    .header-top-row{
        padding: 1vh 5%;
    }
    .main-home {
        max-height: 60vh;
        min-height: calc(140vw * 679 / 1142);
        margin-top: 5%;
    }
    .home-container {
        padding: 0 5%;
        margin: 10rem 5rem;
    }    .home .home-content {
        max-width: 45rem;
        padding-top: 1rem;
    }    .home-content h2,
    .home-left-content h2 {
        font-size: clamp(3.4rem, 4.5vw, 4.6rem);
        line-height: 1.25;
        margin: 1.1rem 0;
        font-weight: 900;
        color: #1a1a1a;
        letter-spacing: -0.03em;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    .home-content p,
    .home-left-content p {
        font-size: clamp(1.3rem, 1.7vw, 1.7rem);
        line-height: 1.6;
        margin-bottom: 1.1rem;
    }    .home-btn a {
        font-size: clamp(1.4rem, 1.6vw, 1.6rem);
        padding: 1rem 2.1rem;
        border-radius: 30px;
    }
    .logo {
        width: 15%;
    }
    .navbar {
        padding: 1vw 0.8vh;
    }
    .navbar a {
        font-size: 1.4vw;
        margin: 0 0.4rem;
        padding: 0.2vw 0.8vh;
    }
    .right-icons .btn {
        font-size: 1.4vw;
        padding: 0.8vw 1.3vw;
    }
    .phone-btn {
        font-size: 1.4vw;
        padding: 0.8vw 1.3vw;
    }
}


/* Mobile screens (up to 767px) */
@media (max-width: 767px) {
    header {
        padding: 1rem 3%;
        flex-direction: column;
        gap: 0.5rem;
        min-height: auto;
    }
    
    /* Top row: Logo and burger menu */
    .header-top-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    /* Ensure logo and menu-bars are in the same container */
    .logo {
        width: 20rem;
    }
    
    /* Show mobile menu */
    #menu-bars {
        display: block;
        position: relative;
        margin-right: 0;
    }
    
    /* Bottom row: Buttons centered */
    .right-icons {
        order: 2;
        justify-content: center;
        gap: 1.5rem;
        width: 100%;
        margin-top: 0.5rem;
    }
    
    /* Hide desktop navigation */
    .navbar {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        border-radius: 0;
        border: none;
        border-top: 1px solid rgba(188, 163, 130, 0.3);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        order: 3;
    }
    
    .navbar.active {
        top: calc(100% + 1rem);
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .navbar a {
        font-size: 1.8rem;
        margin: 1rem 0;
        padding: 1.5rem 2rem;
        width: 100%;
        text-align: center;
        border-radius: 15px;
        background: rgba(188, 163, 130, 0.1);
    }
    
    .navbar a:hover {
        background: rgba(188, 163, 130, 0.2);
        transform: translateX(10px) scale(1.02);
    }
    
    /* Mobile appointment button */
    .right-icons .btn {
        font-size: 1.3rem;
        padding: 1rem 2rem;
        border-radius: 25px;
        flex: 1;
        max-width: 180px;
        text-align: center;
        white-space: nowrap;
    }
    
    /* Mobile phone button - show full number */
    .phone-btn {
        font-size: 1.3rem;
        padding: 1rem 1.8rem;
        border-radius: 25px;
        width: auto;
        height: auto;
        flex: 1;
        max-width: 180px;
        gap: 0.8rem;
        justify-content: center;
        text-align: center;
    }
    
    .phone-btn span {
        display: inline;
        font-weight: 700;
        letter-spacing: 0.5px;
    }
    
    .phone-btn i {
        font-size: 1.5rem;
    }

    .main-home {
        min-height: calc(140vh * 679 / 1142);
        background-position: 65%;
        width: 100%;
        margin-top: 20%;
        margin-bottom: 5%;
        display: flex;
    }
    .home-container {
        max-width: 100%;
        padding: 0 5%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .home .home-content {
        margin-top: 20%;
        margin-left: 4%;
        margin-bottom: 10%;
        width: 70vw;
    }    .home .home-content h2 {
        font-size: clamp(6vw, 8vw, 14vw);
        width: 40vw;
        line-height: 1.2;
        font-weight: 900;
        color: #1a1a1a;
        letter-spacing: -0.03em;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    .home .home-content p {
        font-size: clamp(1.5vw, 3.5vw, 5.5vw);
        width: 80%;
        line-height: 1.5;
        font-weight: 500;
    }
    .home-btn {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-top: 1.5vh;
        width: 80vw;
    }
    .home-btn a {
        width: 80vw;
        text-align: center;
        margin-right: 0 !important;
        box-shadow: 0 6px 20px rgba(188, 163, 130, 0.2);
    }
    .home-btn {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 8px 25px rgba(188, 163, 130, 0.3);
    }
    .home-btn a,
    .homebtnsec {
        font-size: 3.5vw !important;
    }
    /* About Us Section Mobile Styles */
    .main-about {
        padding: 4rem 4% 3rem 4%;
    }
    
    .main-about .about-heading {
        font-size: clamp(2.8rem, 6vw, 3.5rem);
        margin-bottom: 3rem;
        letter-spacing: 1px;
    }
    
    .inner-main-about {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        text-align: center;
    }
    
    
    .about-inner-content {
        flex: 1 1 auto;
        padding: 0;
        text-align: left;
        order: 2;
    }
    
    .about-right-content h2 {
        font-size: clamp(2.2rem, 5vw, 2.8rem);
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .about-right-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about-right-content p {
        font-size: clamp(1.3rem, 3.5vw, 1.5rem);
        padding: 1.5rem;
        margin-bottom: 1.2rem;
        text-align: left;
        line-height: 1.7;
    }
      .aboutbtn {
        width: 100%;
        max-width: 280px;
        margin: 2rem auto 0 auto;
        display: block;
        font-size: 1.4rem;
        padding: 1.2rem 2rem;
    }
    
    /* Services Section Mobile Styles */
    .about-services {
               margin-top: 4rem;
        padding: 3rem 0;
    }
    
    .about-services-heading {
        margin-bottom: 3rem;
    }
    
    .about-services-heading h2 {
        font-size: clamp(2.8rem, 6vw, 3.5rem);
        letter-spacing: 1px;
    }
    
    .about-services-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .about-service-box {
        flex: 1 1 auto;
        padding: 2.5rem 2rem;
        margin: 0 1rem;
    }
    
    .about-service-box h3 {
        font-size: clamp(2rem, 5vw, 2.3rem);
        margin-bottom: 2rem;
    }
    
    .about-service-box ul li {
        font-size: clamp(1.3rem, 3.5vw, 1.5rem);
        padding: 1rem 0;
        padding-left: 2.5rem;
        line-height: 1.6;
    }
    
    .about-service-box ul li::before {
        left: 0.5rem;
        font-size: 1.6rem;
    }
    .img{
        width: 100% !important;
    }
    /* Reviews Section Mobile Styles */
    .main-review {
        padding: 4rem 4% 3rem 4%;
    }
    
    .review-heading {
        margin-bottom: 3rem;
    }
    
    .review-heading h1 {
        font-size: clamp(2.8rem, 6vw, 3.5rem);
        letter-spacing: 1px;
    }
    
    .review-inner-content {
        flex-direction: column;
        gap: 2rem;
        padding: 1rem 0;
    }
    
    .review-box {
        flex: 1 1 auto;
        padding: 2.5rem 2rem;
        margin: 0 1rem;
    }
    
    .review-box img {
        width: 70px;
        height: 70px;
        margin-bottom: 1rem;
    }
    
    .review-box h2 {
        font-size: clamp(1.8rem, 4vw, 2rem);
        padding: 0.8rem 0;
    }
    
    .review-stars {
        padding: 1rem 0;
        margin-bottom: 0.5rem;
    }
    
    .review-stars i {
        font-size: 1.6rem;
        margin: 0.1rem;
    }
    
    .review-text p {
        font-size: clamp(1.3rem, 3.5vw, 1.5rem);
        padding: 1.5rem;
        line-height: 1.6;
        margin-top: 0.5rem;
    }
    
    .review-text p::before,
    .review-text p::after {
        font-size: 2.5rem;
    }
}

/* Map Section Responsive Design */

/* Large screens (1600px+) */
@media screen and (min-width: 1600px) {
    .map-section {
        padding: 8rem 10% 6rem 10%;
    }
    
    .map-heading h2 {
        font-size: 5rem;
    }
    
    .location-card,
    .hours-card {
        padding: 4rem;
    }
    
    .map-wrapper iframe {
        height: 500px;
    }
}

/* Desktop (1200px - 1599px) */
@media screen and (max-width: 1599px) and (min-width: 1200px) {
    .map-section {
        padding: 6rem 8% 4rem 8%;
    }
    
    .map-content {
        gap: 3rem;
    }
    
    .location-card,
    .hours-card {
        padding: 3rem 2.5rem;
    }
}

/* Tablet landscape (992px - 1199px) */
@media screen and (max-width: 1199px) and (min-width: 992px) {
    .map-section {
        padding: 5rem 6% 4rem 6%;
    }
    
    .map-content {
        gap: 2.5rem;
    }
    
    .map-heading h2 {
        font-size: clamp(3rem, 4vw, 3.5rem);
    }
    
    .location-card,
    .hours-card {
        padding: 2.5rem 2rem;
    }
    
    .location-header h3,
    .hours-header h3 {
        font-size: clamp(1.8rem, 2.5vw, 2.2rem);
    }
}

/* Tablet portrait (768px - 991px) */
@media screen and (max-width: 991px) and (min-width: 768px) {
    .map-section {
        padding: 4rem 5% 3rem 5%;
    }
    
    .map-content {
        flex-direction: column;
        gap: 3rem;
    }
    
    .location-info {
        order: 1;
    }
    
    .map-container {
        order: 2;
    }
    
    .map-heading h2 {
        font-size: clamp(2.8rem, 4vw, 3.2rem);
        margin-bottom: 3rem;
    }
    
       
    .location-card,
    .hours-card {
        padding: 2.5rem;
    }
    
    .map-wrapper iframe {
        height: 400px;
    }
    
    .directions-btn {
        padding: 1rem 2rem;
        font-size: 1.3rem;
    }
}

/* Mobile (max-width: 767px) */
@media screen and (max-width: 767px) {
     .map-section {
        padding: 5rem 6% 4rem 6%;
    }
    
    .map-content {
        gap: 2.5rem;
    }
    
    .map-heading h2 {
        font-size: clamp(3rem, 4vw, 3.5rem);
    }
    
    .location-card,
    .hours-card {
        padding: 2.5rem 2rem;
    }
    
    .location-header h3,
    .hours-header h3 {
        font-size: clamp(1.8rem, 2.5vw, 2.2rem);
    }
}



/* Scroll Animation Styles */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Different animation types */
.scroll-animate.fade-up {
    transform: translateY(60px) scale(0.95);
}

.scroll-animate.fade-up.animate-in {
    transform: translateY(0) scale(1);
}

.scroll-animate.fade-left {
    transform: translateX(-50px);
    opacity: 0;
}

.scroll-animate.fade-left.animate-in {
    transform: translateX(0);
    opacity: 1;
}

.scroll-animate.fade-right {
    transform: translateX(50px);
    opacity: 0;
}

.scroll-animate.fade-right.animate-in {
    transform: translateX(0);
    opacity: 1;
}

.scroll-animate.scale-in {
    transform: scale(0.8);
    opacity: 0;
}

.scroll-animate.scale-in.animate-in {
    transform: scale(1);
    opacity: 1;
}

/* Staggered animations for child elements */
.scroll-animate.stagger-children > * {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.stagger-children.animate-in > *:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.scroll-animate.stagger-children.animate-in > *:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.scroll-animate.stagger-children.animate-in > *:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.scroll-animate.stagger-children.animate-in > *:nth-child(4) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.scroll-animate.stagger-children.animate-in > *:nth-child(5) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.scroll-animate.stagger-children.animate-in > *:nth-child(6) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

/* Exclude home section from scroll animations */
.main-home .scroll-animate {
    opacity: 1 !important;
    transform: none !important;
}

/* Prevent animations during initial page load */
.preload * {
    animation-duration: 0s !important;
    animation-delay: 0s !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
}

/* Modern Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #1a1a1a;
}

h1 {
    font-weight: 800;
    letter-spacing: -0.03em;
}

h2 {
    font-weight: 600;
    letter-spacing: -0.025em;
}

h3 {
    font-weight: 600;
    letter-spacing: -0.02em;
}

p, span, div {
    font-family: var(--primary-font);
    line-height: 1.6;
    letter-spacing: -0.01em;
}

button {
    font-family: var(--primary-font);
    font-weight: 600;
}

a {
    font-family: var(--primary-font);
    font-weight: 500;
}

/* Typewriter Heading Specific Styles */
#typewriter-heading {
    font-family: var(--heading-font);
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.15;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: clamp(2rem, 5.5 rem, 8rem);
}

/* Terms Page Styles - Very Simple */
.terms-page {
    padding: 10rem 2% 2rem;
    background: white;
    color: #333;
}

.terms-container {
    max-width: 900px;
    margin: 0 auto;
}

.terms-header {
    text-align: center;
    margin-bottom: 3rem;
}

.terms-header h1 {
    font-size: 3rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.terms-subtitle {
    font-size: 1.6rem;
    color: #666;
}

.terms-content {
    background: white;
    line-height: 1.6;
}

.terms-section {
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
}

.terms-section:last-child {
    border-bottom: none;
}

.section-number {
    font-weight: bold;
    color: var(--maincolor);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.terms-section h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.subsection {
    margin-bottom: 1.5rem;
}

.subsection p {
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.subsection ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.subsection ul li {
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.subsection a {
    color: var(--maincolor);
    text-decoration: underline;
}

.subsection a:hover {
    color: var(--secondcolor);
}

.terms-contact {
    margin-top: 3rem;
    padding: 2rem;
    background: #f9f9f9;
    border: 1px solid #ddd;
}

.contact-info-box h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
}

.contact-details p {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 0.5rem;
}

/* Simple responsive design */
@media (max-width: 767px) {
    .terms-page {
        margin: 8rem 4% 2rem;
    }
    
    .terms-header h1 {
        font-size: 2.4rem;
    }
    
    .terms-section h2 {
        font-size: 1.8rem;
    }
    
    .subsection p,
    .subsection ul li {
        font-size: 1.4rem;
    }
}

/* Cennik Page Styles */
.cennik-page {
    padding: 12rem 7% 6rem 7%;
    background: linear-gradient(135deg, #f9f7f4 0%, #f5f3f0 100%);
    min-height: 100vh;
}

.cennik-container {
    max-width: 1200px;
    margin: 0 auto;
}

.cennik-header {
    text-align: center;
    margin-bottom: 6rem;
}

.cennik-header h1 {
    font-size: clamp(3.5rem, 5vw, 4.5rem);
    font-weight: 800;
    color: var(--maincolor);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.cennik-header h1::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--maincolor), var(--secondcolor));
    border-radius: 2px;
}

.cennik-subtitle {
    font-size: clamp(1.6rem, 2vw, 1.8rem);
    color: #666;
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.pricing-sections {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.pricing-section {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(188, 163, 130, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.pricing-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--maincolor), var(--secondcolor));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.pricing-section:hover::before {
    transform: scaleX(1);
}

.pricing-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    border-color: rgba(188, 163, 130, 0.3);
}

.pricing-section h2 {
    font-size: clamp(2.2rem, 3vw, 2.8rem);
    color: var(--maincolor);
    font-weight: 700;
    margin-bottom: 2.5rem;
}

.pricing-table {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: rgba(248, 248, 248, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(188, 163, 130, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.pricing-row::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(135deg, var(--maincolor), var(--secondcolor));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.pricing-row:hover::before {
    transform: scaleY(1);
}

.pricing-row:hover {
    background: rgba(188, 163, 130, 0.05);
    transform: translateX(8px);
    box-shadow: 0 5px 15px rgba(188, 163, 130, 0.2);
    border-color: rgba(188, 163, 130, 0.3);
}

.pricing-row.highlight {
    background: linear-gradient(135deg, rgba(188, 163, 130, 0.1), rgba(166, 140, 109, 0.1));
    border: 2px solid rgba(188, 163, 130, 0.3);
    font-weight: 600;
}

.pricing-row.special {
    background: linear-gradient(135deg, rgba(248, 168, 3, 0.1), rgba(244, 171, 1, 0.1));
    border: 2px solid rgba(248, 168, 3, 0.3);
}

.service-name {
    font-size: clamp(1.4rem, 1.8vw, 1.6rem);
    color: #333;
    font-weight: 500;
    flex: 1;
    margin-right: 2rem;
    line-height: 1.4;
}

.service-name small {
    color: #666;
    font-size: 0.9em;
    font-weight: 400;
}

.service-price {
    font-size: clamp(1.5rem, 2vw, 1.8rem);
    font-weight: 700;
    color: var(--maincolor);
    white-space: nowrap;
    text-align: right;
}

.service-price.free {
    color: #2c5f2d;
    font-weight: 800;
}

.pricing-note {
    background: rgba(248, 168, 3, 0.1);
    border: 2px solid rgba(248, 168, 3, 0.3);
    border-radius: 15px;
    padding: 2.5rem;
    margin: 4rem 0;
    text-align: center;
}

.note-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.note-content i {
    font-size: 3rem;
    color: var(--secondcolor);
    flex-shrink: 0;
}

.note-content p {
    font-size: clamp(1.4rem, 1.8vw, 1.6rem);
    color: #333;
    line-height: 1.6;
    margin: 0;
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.cennik-cta {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 4rem 3rem;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(188, 163, 130, 0.1);
    margin-top: 4rem;
}

.cennik-cta h3 {
    font-size: clamp(2.5rem, 3.5vw, 3rem);
    color: var(--maincolor);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cennik-cta p {
    font-size: clamp(1.6rem, 2vw, 1.8rem);
    color: #666;
    margin-bottom: 3rem;
    line-height: 1.6;
}



/* Responsive Design for Cennik */
@media (max-width: 991px) {
    .cennik-page {
        padding: 10rem 5% 4rem 5%;
    }
    
    .pricing-section {
        padding: 2.5rem 2rem;
    }
    
    .pricing-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        text-align: left;
    }
    
    .service-name {
        margin-right: 0;
    }
    
    .service-price {
        align-self: flex-end;
        font-size: 1.8rem;
    }
}

@media (max-width: 767px) {
    .cennik-page {
        padding: 9rem 4% 3rem 4%;
    }
    
    .cennik-header {
        margin-top: 5rem;
        margin-bottom: 4rem;
    }
    
    .pricing-sections {
        gap: 4rem;
    }
    
    .pricing-section {
        padding: 2rem 1.5rem;
    }
    
    .pricing-section h2 {
        margin-bottom: 2rem;
    }
    
    .pricing-row {
        padding: 1.2rem 1.5rem;
    }
    
    .note-content {
        flex-direction: column;
        text-align: center;
    }
    
    .note-content p {
        text-align: center;
        min-width: auto;
    }
    
    .cennik-cta {
        padding: 3rem 2rem;
    }
    
}

@media (max-width: 480px) {
    .pricing-section h2 {
        font-size: 2rem;
    }
    
    .service-name {
        font-size: 1.3rem;
    }
    
    .service-price {
        font-size: 1.6rem;
    }
}

/* Pricing Subsections for complex sections like Chirurgia Powiek */
.pricing-subsection {
    margin: 3rem 0;
    padding: 0 2rem;
}

.pricing-subsection h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--maincolor);
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 4px solid var(--maincolor);
    font-family: var(--heading-font);
}

.pricing-subsection:first-child {
    margin-top: 2rem;
}

.pricing-subsection .pricing-table {
    margin-left: 0;
    border-left: 2px solid #f0f0f0;
    padding-left: 2rem;
}

@media (max-width: 768px) {
    .pricing-subsection {
        padding: 0 1rem;
        margin: 2rem 0;
    }
    
    .pricing-subsection h3 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        padding-left: 0.8rem;
        border-left-width: 3px;
    }
    
    .pricing-subsection .pricing-table {
        padding-left: 1rem;
        border-left-width: 1px;
    }
}

@media (max-width: 480px) {
    .pricing-subsection h3 {
        font-size: 1.6rem;
    }
    
    .pricing-subsection .pricing-table {
        padding-left: 0.5rem;
    }
}

/* ZnanyLekarz Appointment Modal Styles */
.appointment-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.appointment-modal[style*="flex"] {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.appointment-modal[style*="flex"] .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(135deg, var(--maincolor), #d4c5a8);
}

.modal-header h3 {
    margin: 0;
    font-size: 2.2rem;
    font-weight: 600;
    color: white;
    font-family: var(--heading-font);
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.modal-body {
    padding: 0;
    max-height: calc(90vh - 100px);
    overflow-y: auto;
}

#widget-container {
    min-height: 500px;
    padding: 2rem;
}




/* Mobile responsive styles */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
        margin: 1rem;
    }
    
    .modal-header {
        padding: 1.5rem;
    }
    
    .modal-header h3 {
        font-size: 1.8rem;
    }
    
    #widget-container {
        padding: 1.5rem;
        min-height: 400px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 98%;
        border-radius: 12px;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-header h3 {
        font-size: 1.6rem;
    }
    
    #widget-container {
        padding: 1rem;
        min-height: 350px;
    }
}


