@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@100..900&display=swap');

/* Z-Index Management System */
:root {
    --z-skip-link: 9999;
    --z-navigation: 1000;
    --z-slider-nav: 100;
    --z-overlay: 50;
    --z-content: 10;
    --z-base: 1;
}

/* Global Focus Management */
*:focus {
    outline: 2px solid #897336;
    outline-offset: 2px;
}

/* Enhanced focus for interactive elements */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #897336;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(137, 115, 54, 0.2);
}

/* Skip link focus enhancement */
.skip-link:focus {
    outline: 3px solid #000;
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #BFBFBF;
    color: black;
    padding: 8px;
    z-index: var(--z-skip-link);
    text-decoration: none;
    font-family: 'Alexandria', sans-serif;
    font-weight: 600;
}

.skip-link:focus {
    top: 10px;
    left: 10px;
}

/* Navigation Styles */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #897336;
    z-index: var(--z-navigation);
    padding: 12px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid #b99a6a;
    box-shadow: 0 2px 20px rgba(137, 115, 54, 0.3);
}

.main-nav.scrolled {
    background: #ffffff;
    border-bottom: 1px solid #897336;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Alexandria', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #897336;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.02);
}

.nav-logo img {
    height: 45px;
    width: auto;
    max-width: 160px;
    filter: brightness(1.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
}

.nav-logo img.logo-transition {
    opacity: 0;
    transform: scale(0.95);
}

.nav-logo:hover img {
    filter: brightness(1.2);
    transform: scale(1.02);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    font-family: 'Alexandria', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Dark menu text when header is scrolled/light */
.main-nav.scrolled .nav-menu li a {
    color: #2c2c2c;
}

.nav-menu li a.active {
    font-weight: 700;
}

/* Light header active state */
.main-nav.scrolled .nav-menu li a.active {
    color: #897336;
}

.nav-menu li a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

/* Dark header hover effects */
.main-nav:not(.scrolled) .nav-menu li a:hover {
    background: #b99a6a;
}

/* Light header hover effects */
.main-nav.scrolled .nav-menu li a:hover {
    background: #f0f0f0;
}

.nav-menu li a.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    font-weight: 700;
}

/* Light header active state - more prominent */
.main-nav.scrolled .nav-menu li a.active {
    background: rgba(137, 115, 54, 0.15);
    color: #897336;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 10px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Light header mobile toggle hover */
.main-nav.scrolled .mobile-menu-toggle:hover {
    background: rgba(137, 115, 54, 0.1);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: #ffffff;
    transition: all 0.3s ease;
    transform-origin: center;
    pointer-events: none;
}

/* Dark hamburger icon when scrolled */
.main-nav.scrolled .mobile-menu-toggle span {
    background: #2c2c2c;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 15px;
    }

    .nav-logo img {
        height: 35px;
        max-width: 120px;
    }

    .nav-container {
        padding: 0 15px;
    }

    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        padding: 25px 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-top: 1px solid rgba(137, 115, 54, 0.1);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        z-index: 999;
        display: flex;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        display: block;
        padding: 15px 20px;
        border-radius: 8px;
        margin-bottom: 5px;
    }

    .nav-menu li a.active {
        background: rgba(255, 255, 255, 0.25);
        color: #897336;
        font-weight: 700;
    }

    /* Mobile active state for scrolled header */
    .main-nav.scrolled .nav-menu li a.active {
        background: rgba(137, 115, 54, 0.2);
        color: #ffffff;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        gap: 4px;
        padding: 10px;
        border-radius: 6px;
        transition: background-color 0.3s ease;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        pointer-events: auto;
        position: relative;
        z-index: 1001;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .hero-section {
        height: 100vh;
    }

    .slide {
        background-attachment: scroll;
    }

    .slide-content .container {
        text-align: center;
        max-width: 100%;
    }

    .slide-content {
        padding-left: 20px;
        padding-right: 20px;
        justify-content: center;
    }

    .slider-controls {
        bottom: 25px;
        gap: 16px;
        padding: 10px 20px;
        border-radius: 50px;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    }

    .slider-btn {
        width: 42px;
        height: 42px;
    }

    .slider-btn i {
        font-size: 1rem;
    }

    .dot {
        width: 12px;
        height: 12px;
    }

    .dot::before {
        width: 5px;
        height: 5px;
    }

    .dot.active::before {
        width: 6px;
        height: 6px;
    }

    .slider-btn i {
        font-size: 1rem;
    }

    .practice-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Better spacing for landscape mobile and small tablets */
    @media (max-width: 768px) and (min-width: 481px) and (orientation: landscape) {
        .practice-grid {
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
        }
        
        .practice-item {
            padding: 20px 12px;
            gap: 15px;
        }
        
        .practice-item .icon {
            width: 50px;
            height: 50px;
        }
        
        .practice-item h3 {
            font-size: clamp(0.9rem, 2.2vw, 1rem);
            margin: 10px 0 8px;
            text-align: center;
        }
        
        .practice-item p {
            font-size: clamp(0.75rem, 1.8vw, 0.85rem);
            line-height: 1.3;
            text-align: center;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        /* Footer optimization for landscape mobile */
        .footer {
            padding: 45px 30px 35px;
        }
        
        .footer-grid {
            grid-template-columns: 1fr 1fr; /* Changed from 3 columns to 2 for better fit */
            gap: 35px;
            text-align: left;
        }
        
        .footer-about {
            text-align: left;
            align-items: flex-start;
        }
        
        .footer-links {
            text-align: left;
            align-items: flex-start;
            width: 100%;
            box-sizing: border-box;
            overflow: hidden;
        }
        
        .footer-links ul {
            width: 100%;
            padding: 0;
            margin: 0;
        }
        
        .footer-links ul li {
            width: 100%;
            margin-bottom: 8px;
        }
        
        .footer-links ul li a {
            display: block;
            width: 100%;
            box-sizing: border-box;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        .social-links {
            justify-content: flex-start;
        }
    }

    .practice-item {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border-radius: 20px;
        padding: 30px 20px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        transition: all 0.3s ease;
        cursor: pointer;
        position: relative;
    }

    .practice-item:hover {
        background: rgba(255, 255, 255, 0.15);
        border-color: rgba(255, 255, 255, 0.3);
        transform: translateY(-2px);
    }

    .practice-item:active {
        transform: translateY(0);
        background: rgba(255, 255, 255, 0.08);
    }

    .practice-item .icon {
        width: 70px;
        height: 70px;
        flex-shrink: 0;
        margin: 0 auto;
        transition: transform 0.3s ease;
    }

    .practice-item:hover .icon {
        transform: scale(1.1);
    }

    .practice-item h3 {
        margin: 15px 0 12px;
        font-size: clamp(1rem, 2.5vw, 1.2rem);
        line-height: 1.2;
        transition: color 0.3s ease;
        text-align: center;
        color: #ffffff;
        font-weight: 600;
    }

    .practice-item:hover h3 {
        color: #ffffff;
    }

    .practice-item p {
        color: rgba(255, 255, 255, 0.9);
        line-height: 1.5;
        text-align: center;
        font-size: clamp(0.85rem, 2vw, 0.95rem);
        margin: 0;
        max-width: 100%;
    }

    /* Add a subtle indicator that items are interactive */
    .practice-item::before {
        content: '';
        position: absolute;
        bottom: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: 30px;
        height: 2px;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 1px;
        opacity: 0.5;
    }

    .footer {
        padding: 50px 20px 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-about {
        align-items: center;
        text-align: center;
        gap: 25px;
    }

    .footer-about img {
        width: clamp(180px, 40vw, 220px);
        height: auto;
        max-height: 90px;
    }

    .footer-about p {
        max-width: 100%;
        text-align: center;
        line-height: 1.6;
    }

    .footer-links {
        text-align: center;
        align-items: center;
    }

    .footer-links h4 {
        margin-bottom: 20px;
        font-size: 1.2rem;
    }

    .footer-links ul {
        gap: 15px;
        align-items: center;
    }

    .footer-links ul li a {
        padding: 8px 12px;
        font-size: 1rem;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .footer-links ul li a:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: none;
    }

    .social-icons {
        margin-top: 30px;
        align-items: center;
    }

    .social-icons h4 {
        margin-bottom: 20px;
        font-size: 1.2rem;
    }

    .social-links {
        justify-content: center;
        gap: 15px;
    }

    .social-icons a {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    /* Team Section Mobile Improvements */
    .team {
        padding: 60px 0;
    }

    .team h2 {
        font-size: clamp(1.6rem, 4vw, 2.2rem);
        margin-bottom: 15px;
    }

    .team > .container > p {
        font-size: clamp(1rem, 2.5vw, 1.1rem);
        margin-bottom: 40px;
        line-height: 1.6;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .team-member {
        max-width: 400px;
        margin: 0 auto;
    }

    .team-member img {
        height: 250px;
    }

    .team-member .info {
        padding: 20px;
    }

    .team-member h3 {
        font-size: clamp(1.1rem, 2.5vw, 1.3rem);
        margin-bottom: 8px;
    }

    .team-member .title {
        font-size: clamp(0.9rem, 2vw, 1rem);
        margin-bottom: 12px;
        font-weight: 600;
        color: #897336;
    }

    .team-member p:not(.title) {
        font-size: clamp(0.85rem, 2vw, 0.95rem);
        line-height: 1.6;
    }
}

/* Tablet and Small Mobile Styles */
@media (max-width: 480px) {
    .slide-content {
        padding-left: 15px;
        padding-right: 15px;
        text-align: center;
    }

    .slider-controls {
        bottom: 20px;
        padding: 8px 16px;
        gap: 12px;
        border-radius: 40px;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.6) 100%);
        border: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }

    .slider-btn {
        width: 38px;
        height: 38px;
        border: 1px solid rgba(255, 255, 255, 0.25);
    }

    .slider-btn i {
        font-size: 0.9rem;
    }

    .dot {
        width: 10px;
        height: 10px;
        border: 1px solid rgba(255, 255, 255, 0.4);
    }

    .dot::before {
        width: 4px;
        height: 4px;
    }

    .dot.active::before {
        width: 5px;
        height: 5px;
    }

    /* Single column on very small screens */
    .practice-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }

    .practice-item {
        padding: 25px 15px;
        gap: 18px;
    }

    .practice-item .icon {
        width: 60px;
        height: 60px;
    }

    .practice-item h3 {
        font-size: clamp(0.95rem, 3vw, 1.1rem);
        margin: 12px 0 10px;
        text-align: center;
    }

    .practice-item p {
        font-size: clamp(0.8rem, 2.2vw, 0.9rem);
        line-height: 1.4;
        text-align: center;
    }

    .excellence h2 {
        font-size: 1.8rem;
    }

    .excellence p {
        font-size: 1rem;
    }

    .team-member h3 {
        font-size: 1.1rem;
    }

    .contact-info h2 {
        font-size: 2rem;
    }

    .contact-details {
        padding: 30px;
    }

    .form-header h3 {
        font-size: 1.8rem;
    }

    /* Footer styles for very small screens */
    .footer {
        padding: 35px 12px 25px;
    }

    .footer-grid {
        gap: 30px;
    }

    .footer-about img {
        width: clamp(140px, 30vw, 180px);
        max-height: 70px;
    }

    .footer-about p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .footer-links {
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .footer-links h4 {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .footer-links ul {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .footer-links ul li {
        width: 100%;
        margin-bottom: 8px;
    }

    .footer-links ul li a {
        font-size: 0.85rem;
        padding: 5px 8px;
        display: block;
        width: 100%;
        box-sizing: border-box;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .social-icons h4 {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .social-links {
        gap: 10px;
    }

    .social-icons a {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }

    /* Footer mobile optimization for small screens */
    .footer {
        padding: 40px 15px 30px;
    }

    .footer-grid {
        gap: 35px;
    }

    .footer-about img {
        width: clamp(160px, 35vw, 200px);
        max-height: 80px;
    }

    .footer-about p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .footer-links {
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .footer-links h4 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .footer-links ul {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .footer-links ul li {
        width: 100%;
        margin-bottom: 10px;
    }

    .footer-links ul li a {
        font-size: 0.9rem;
        padding: 6px 10px;
        display: block;
        width: 100%;
        box-sizing: border-box;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .social-icons h4 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .social-links {
        gap: 12px;
    }

    .social-icons a {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    /* Team Section Compact Mobile */
    .team {
        padding: 50px 0;
    }

    .team h2 {
        font-size: clamp(1.5rem, 4.5vw, 2rem);
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .team-member {
        max-width: 350px;
        margin: 0 auto;
    }

    .team-member img {
        height: 220px;
    }

    .team-member .info {
        padding: 18px;
    }

    .team-member h3 {
        font-size: clamp(1rem, 3vw, 1.2rem);
        margin-bottom: 6px;
    }

    .team-member .title {
        font-size: clamp(0.85rem, 2.2vw, 0.95rem);
        margin-bottom: 10px;
    }

    .team-member p:not(.title) {
        font-size: clamp(0.8rem, 2.2vw, 0.9rem);
        line-height: 1.5;
    }

    /* FAQ Section Mobile */
    .faq-section {
        padding: 60px 0;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .faq-item {
        padding: 20px;
    }

    .faq-item h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .faq-item p {
        font-size: 0.95rem;
    }

    /* Testimonials Section Mobile */
    .testimonials-section {
        padding: 60px 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 60px;
    }

    .testimonial-item {
        padding: 25px;
    }

    .testimonial-item blockquote {
        font-size: 1rem;
    }

    .testimonials-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        margin-top: 50px;
        padding: 40px 0;
    }

    .stat-item h3 {
        font-size: 2.5rem;
    }

    .stat-item p {
        font-size: 1rem;
    }
}

/* Extra Small Mobile Styles */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }

    .practice-grid {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }

    .practice-item {
        padding: 20px 12px;
        border-radius: 15px;
        gap: 15px;
    }

    .practice-item .icon {
        width: 55px;
        height: 55px;
    }

    .practice-item h3 {
        font-size: clamp(0.9rem, 3.5vw, 1rem);
        margin: 10px 0 8px;
        text-align: center;
    }

    .practice-item p {
        font-size: clamp(0.75rem, 2.5vw, 0.85rem);
        line-height: 1.3;
        text-align: center;
    }

    /* Ultra Compact Team Section */
    .team {
        padding: 40px 0;
    }

    .team h2 {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
        margin-bottom: 12px;
    }

    .team > .container > p {
        font-size: clamp(0.9rem, 2.8vw, 1rem);
        margin-bottom: 30px;
        line-height: 1.5;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .team-member {
        max-width: 280px;
        margin: 0 auto;
        border-radius: 10px;
    }

    .team-member img {
        height: 180px;
    }

    .team-member .info {
        padding: 12px;
    }

    .team-member h3 {
        font-size: clamp(0.9rem, 3.5vw, 1rem);
        margin-bottom: 4px;
        text-align: center;
        line-height: 1.2;
    }

    .team-member .title {
        font-size: clamp(0.75rem, 2.5vw, 0.85rem);
        margin-bottom: 6px;
        text-align: center;
        font-weight: 600;
        color: #897336;
    }

    .team-member p:not(.title) {
        font-size: clamp(0.7rem, 2.2vw, 0.8rem);
        line-height: 1.3;
        text-align: center;
    }

    .contact-details {
        padding: 25px;
    }

    .contact-form-container {
        padding: 30px 20px;
    }

    /* Ultra-compact footer for very small screens */
    .footer {
        padding: 35px 12px 25px;
    }

    .footer-grid {
        gap: 30px;
    }

    .footer-about img {
        width: clamp(140px, 30vw, 180px);
        max-height: 70px;
    }

    .footer-about p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .footer-links h4 {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .footer-links ul li a {
        font-size: 0.85rem;
        padding: 5px 8px;
    }

    .social-icons h4 {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .social-links {
        gap: 10px;
    }

    .social-icons a {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
}

body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Alexandria', sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

main {
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    /* Smooth fade in/fade out transition: 1.2s duration as requested (1-1.5s range) */
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Enable fixed background on larger screens */
@media (min-width: 769px) {
    .slide {
        background-attachment: fixed;
    }
}

/* Mobile-optimized images for better performance */
@media (max-width: 768px) {
    .slide {
        background-attachment: scroll;
    }
    
    /* Use smaller mobile images for better performance */
    .slide[style*="images/1.webp"] {
        background-image: url('images/sliders/slider-1-mobile.webp') !important;
    }
    
    .slide[style*="slider-2.webp"] {
        background-image: url('images/sliders/slider-2-mobile.webp') !important;
    }
    
    .slide[style*="slider-3.webp"] {
        background-image: url('images/sliders/slider-3-mobile.webp') !important;
    }
    
    .slide[style*="slider-4.webp"] {
        background-image: url('images/sliders/slider-4-mobile.webp') !important;
    }
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

/* Enhanced slide transition states for smooth fade in/out */
.slide:not(.active) .slide-content .container {
    opacity: 0;
    transform: translateY(20px);
}

.slide.active .slide-content .container {
    opacity: 1;
    transform: translateY(0);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.3));
    z-index: var(--z-overlay);
}

.slide-content {
    position: relative;
    z-index: var(--z-content);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: clamp(20px, 5vw, 80px);
    padding-right: clamp(20px, 5vw, 80px);
}

.slide-content .container {
    max-width: clamp(700px, 70vw, 1200px);
    width: 100%;
    color: white;
    text-align: left;
    /* Smooth text content transitions to match slide timing */
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ensure text elements have consistent transitions */
.slide-content h1, 
.slide-content h2, 
.slide-content p, 
.slide-content .btn {
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hero Section - Fluid Responsive Typography */
.slide-content h1 {
    font-family: 'Alexandria', serif;
    /* Fluid typography: min-size, preferred-size, max-size */
    font-size: clamp(1.75rem, 5vw, 4rem);
    margin-bottom: 20px;
    max-width: clamp(600px, 65vw, 1000px);
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content h2 {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    margin-bottom: 10px;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    max-width: clamp(500px, 60vw, 900px);
}

.slide-content p {
    font-size: clamp(1rem, 2.2vw, 1.4rem);
    max-width: clamp(600px, 65vw, 1000px);
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Button responsive sizing */
.btn {
    background-color: #b99a6a;
    color: white;
    padding: clamp(12px, 2.2vw, 18px) clamp(24px, 4.5vw, 40px);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    transition: background-color 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(185, 154, 106, 0.3);
    margin-top: 10px;
}

/* Slider Controls - Gentle & Subtle Design */
.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: var(--z-slider-nav);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
    backdrop-filter: blur(25px);
    padding: 12px 24px;
    border-radius: 60px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-controls:hover {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateX(-50%) translateY(-1px);
}

.btn {
    background-color: #b99a6a;
    color: white;
    padding: clamp(10px, 2vw, 15px) clamp(20px, 4vw, 30px);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    font-size: clamp(0.85rem, 1.8vw, 1rem);
    transition: background-color 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(185, 154, 106, 0.3);
}

.btn:hover {
    background-color: #a38558;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(185, 154, 106, 0.4);
}

/* Gentle Slider Navigation Buttons */
.slider-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

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

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

.slider-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.slider-btn:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.slider-btn:active {
    transform: scale(1.02);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.slider-btn i {
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.slider-btn:hover i {
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.slider-dots {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Gentle & Subtle Slider Dots */
.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.dot:hover::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.dot.active {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 3px 10px rgba(255, 255, 255, 0.3),
                0 1px 6px rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
}

.dot.active::before {
    background: rgba(0, 0, 0, 0.7);
    width: 7px;
    height: 7px;
    opacity: 1;
    box-shadow: none;
}

.dot.active:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.4),
                0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Why Choose Us Section with Video Background */
.why-us {
    background-color: #1a1a1a;
    background-image: url('images/2.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 60px 0;
    position: relative;
    margin: 0;
    overflow: hidden;
}

.why-us-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
}

.why-us-video.loaded {
    opacity: 1;
}

/* Disable video on mobile devices for performance */
@media (max-width: 768px) {
    .why-us-video {
        display: none !important;
    }
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    .why-us-video {
        display: none !important;
    }
    
    .why-us-video.loaded {
        opacity: 0;
    }
}

/* Video overlay for better text readability - dark overlay on bottom */
.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.45) 100%);
    z-index: 1;
}
 
.why-us>.container {
    position: relative;
    z-index: 2;
    /* Desktop: 80px-100px left padding */
    padding-left: clamp(80px, 8vw, 100px);
    padding-right: 20px;
}

.why-us h2 {
    font-family: 'Alexandria', serif;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 700;
    text-align: left;
    margin-bottom: 10px;
    line-height: 1.2;
    color: white;
    width: 100%;
}

.why-us>.container>p {
    text-align: left;
    margin: 0 0 10px;
    font-size: clamp(1.1rem, 3vw, 1.875rem);
    font-weight: 100;
    line-height: 1.8;
    color: #FFFFFF;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 0px;
}

.feature h3 {
    font-family: 'Alexandria', serif;
    font-size: clamp(1.2rem, 3vw, 1.7rem);
    font-weight: 900;
    margin-bottom: 12px;
    color: white;
    text-align: left;
}

.feature p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    line-height: 1.8;
    color: #FFFFFF;
    margin-top: 3px;
    margin-bottom: 3px;
    text-align: left;
    font-weight: 200;
}

/* Why-us Responsive Text Alignment & Spacing */
@media (max-width: 1024px) and (min-width: 769px) {
    /* Tablet: 40px-60px left padding */
    .why-us>.container {
        padding-left: clamp(40px, 6vw, 60px);
        padding-right: 20px;
    }
}

@media (max-width: 768px) {
    /* Mobile: 20px-24px left padding */
    .why-us>.container {
        padding-left: clamp(20px, 4vw, 24px);
        padding-right: 15px;
    }
}

/* Practice Areas Section */
.practice-areas {
    padding: 80px 0;
    background: #252525 url('images/3.webp') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
}

.practice-areas h2 {
    font-family: 'Alexandria', serif;
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    color: white;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
    line-height: 1.2;
}

.practice-areas > .container > p {
    color: #d8d8d8;
    margin-bottom: 50px;
    font-size: clamp(1rem, 2.2vw, 1.1rem);
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
    max-width: 1600px;
    margin: 0 auto;
}

.practice-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.practice-item .icon {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
}

.practice-item .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.practice-item h3 {
    font-family: 'Alexandria', serif;
    margin: 5px 0 10px;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
}

.practice-item p {
    color: #d8d8d8;
    line-height: 1.6;
    text-align: justify;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* Excellence Section */
.excellence {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('images/4.webp') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 100px 0;
}

.excellence h2 {
    font-family: 'Alexandria', serif;
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    margin-bottom: 20px;
}

.excellence p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: clamp(1rem, 2.2vw, 1.1rem);
    line-height: 1.6;
}

/* Team Section */
.team {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
}

.team h2 {
    font-family: 'Alexandria', serif;
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    color: #333;
    margin-bottom: 10px;
}

.team>.container>p {
    color: #666;
    margin-bottom: 50px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: left;
}

.team-member {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    border-color: #897336;
}

.team-member img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.02);
}

.team-member .info {
    padding: 25px;
    position: relative;
}

.team-member h3 {
    margin: 0 0 5px;
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    color: #333;
}

.team-member .title {
    color: #666;
    font-size: clamp(0.8rem, 1.8vw, 0.9rem);
    margin-bottom: 15px;
}

.team-member p {
    font-size: clamp(0.8rem, 1.8vw, 0.9rem);
    line-height: 1.5;
    color: #555;
}

.blurred {
    filter: blur(5px);
}

/* Testimonials Section */
.testimonials-section {
    background: #ffffff;
    padding: 100px 0;
}

.testimonials-section h2 {
    color: #2c2c2c;
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    margin-bottom: 15px;
    font-weight: 700;
    text-align: center;
}

.testimonials-section > .container > p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 60px;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.testimonial-item {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(137, 115, 54, 0.1);
    position: relative;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(137, 115, 54, 0.15);
    border-color: rgba(137, 115, 54, 0.2);
}

.testimonial-content {
    margin-bottom: 20px;
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 15px;
    color: #ffa500;
    font-size: 1.1rem;
}

.testimonial-item blockquote {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
    margin: 0;
    font-style: italic;
    position: relative;
}

.testimonial-item blockquote::before {
    content: '"';
    font-size: 3rem;
    color: #897336;
    position: absolute;
    top: -10px;
    left: -10px;
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-info h4 {
    color: #2c2c2c;
    font-size: 1.1rem;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.author-info p {
    color: #897336;
    font-size: 0.95rem;
    margin: 0;
    font-weight: 500;
}

.testimonials-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 60px;
    padding: 60px 0;
    border-top: 1px solid rgba(137, 115, 54, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    color: #897336;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-item p {
    color: #666;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0;
}

.faq-section h2 {
    color: #2c2c2c;
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    margin-bottom: 15px;
    font-weight: 700;
    text-align: center;
}

.faq-section > .container > p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 60px;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.faq-item {
    background: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #897336;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(137, 115, 54, 0.15);
}

.faq-item h3 {
    color: #2c2c2c;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.faq-item p {
    color: #555;
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

/* Footer */
.footer {
    background-color: #897336;
    color: #FFFFFF;
    padding: 60px 15%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.footer-about {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-about img {
    width: 250px;
    height: 100px;
    margin-bottom: 0px;
    padding: 0px;
    object-fit: contain;
}

.footer-about .subtitle {
    font-family: 'Alexandria', sans-serif;
    font-weight: 300;
    font-size: clamp(0.8rem, 1.5vw, 0.875rem);
    line-height: 1.4;
    color: #FFFFFF;
    letter-spacing: 1px;
    margin-bottom: 0px;
}

.footer-about p {
    font-family: 'Alexandria', sans-serif;
    font-weight: 300;
    font-size: clamp(0.8rem, 1.5vw, 0.875rem);
    line-height: 1.5;
    margin: 0px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links h4,
.social-icons h4 {
    font-family: 'Alexandria', sans-serif;
    font-weight: 700;
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: #FFFFFF;
    margin-bottom: 15px;
    margin-top: 0;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links ul li {
    margin-bottom: 0;
}

.footer-links ul li a {
    font-family: 'Alexandria', sans-serif;
    font-weight: 400;
    font-size: clamp(0.8rem, 1.5vw, 0.875rem);
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 5px 0;
}

.footer-links ul li a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.social-icons {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-icons h4 {
    margin-bottom: 10px;
}

.social-icons .social-links {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    align-items: center;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(38px, 5vw, 45px);
    height: clamp(38px, 5vw, 45px);
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    color: #FFFFFF;
    text-decoration: none;
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    transition: all 0.3s ease;
    position: relative;
}

.social-icons a:hover {
    background-color: #FFFFFF;
    color: #897336;
    transform: translateY(-3px);
    border-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-icons a i {
    transition: all 0.3s ease;
}

/* Contact Form Section - Updated to match designer guidelines */
.contact-form {
    /* Section Padding - Desktop: 80px top/bottom, 60px left/right */
    padding: 80px 60px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

/* Form Container - Left Side */
.contact-form-container {
    background: #ffffff;
    /* Form Block Padding - Top/Bottom: 32px–40px, Left/Right: 32px–40px */
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    border: 1px solid #f0f0f0;
}

.form-header {
    margin-bottom: 32px;
}

/* Main Heading - "First Session Free" */
.form-header h2 {
    font-family: 'Alexandria', sans-serif;
    /* Font: Alexandria - Weight: Bold / 700 - Size: Desktop 32px–36px */
    font-weight: 700;
    font-size: clamp(24px, 4vw, 36px);
    color: #2c2c2c;
    margin-bottom: 16px;
    line-height: 1.2;
}

/* Intro Paragraph */
.form-header p {
    font-family: 'Alexandria', sans-serif;
    /* Font: Alexandria - Weight: Regular / 400 - Size: Desktop 16px–18px - Line-height: 1.5–1.6 */
    font-weight: 400;
    font-size: clamp(14px, 2vw, 18px);
    line-height: 1.6;
    color: #555555;
    margin: 0;
}

/* Form Fields */
.contact-form-fields {
    position: relative;
    z-index: 2;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    /* Between input fields (vertically): 20px–24px */
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

/* Form Labels */
.form-group label {
    font-family: 'Alexandria', sans-serif;
    /* Font: Alexandria - Weight: Medium / 500 - Size: 14px–15px - Letter spacing: +1% */
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.01em;
    color: #333333;
    /* Between label & input: 8px */
    margin-bottom: 8px;
}

/* Input Fields */
.form-group input,
.form-group select,
.form-group textarea {
    font-family: 'Alexandria', sans-serif;
    font-weight: 400;
    font-size: 14px;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #ffffff;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #897336;
    box-shadow: 0 0 0 3px rgba(137, 115, 54, 0.1);
}

/* Input Placeholder Text */
.form-group input::placeholder,
.form-group textarea::placeholder {
    /* Font: Alexandria - Weight: Regular / 400 - Size: 14px - Color: Medium gray (#888888) */
    font-family: 'Alexandria', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #888888;
}

/* Full width message field */
.form-group:last-of-type {
    /* Between form and buttons: 32px */
    margin-bottom: 32px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Submit Button */
.submit-btn {
    /* Buttons - Font: Alexandria - Weight: Bold / 700 - Size: 14px–16px - Letter spacing: +1–2% - Text transform: Uppercase */
    font-family: 'Alexandria', sans-serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    /* Internal padding: 12px top/bottom × 24px left/right */
    padding: 12px 24px;
    background: linear-gradient(135deg, #897336 0%, #b99a6a 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(137, 115, 54, 0.2);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #b99a6a 0%, #897336 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(137, 115, 54, 0.3);
}

.submit-btn i {
    font-size: 14px;
}

/* Right Side - Contact Info */
.contact-info {
    padding: 20px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 400px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* Push down the contact info so WhatsApp button aligns with SEND MESSAGE button */
    margin-bottom: 120px;
}

/* Contact Info Text */
.contact-item h3 {
    font-family: 'Alexandria', sans-serif;
    /* Font: Alexandria - Weight: Medium / 500 - Size: 14px–15px - Line-height: 1.5 */
    font-weight: 500;
    font-size: 15px;
    line-height: 1.5;
    color: #333333;
    margin: 0;
    display: flex;
    align-items: center;
    /* Gap between icon and text: 12px */
    gap: 12px;
}

.contact-item h3 i {
    color: #897336;
    font-size: 16px;
}

.phone-number {
    font-family: 'Alexandria', sans-serif;
    font-weight: 700;
    font-size: 18px;
    margin: 0;
}

.phone-number a {
    color: #897336;
    text-decoration: none;
}

.phone-number a:hover {
    color: #b99a6a;
}

/* WhatsApp Button */
.whatsapp-link {
    /* Spacing above 'Call us…' and WhatsApp button: 20px–24px */
    margin-top: 24px;
    display: inline-flex;
    align-items: center;
    /* Gap between icon and text: 12px */
    gap: 12px;
    /* Buttons - Font: Alexandria - Weight: Bold / 700 - Size: 14px–16px - Letter spacing: +1–2% - Text transform: Uppercase */
    font-family: 'Alexandria', sans-serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    /* Internal padding: 12px top/bottom × 24px left/right */
    padding: 12px 24px;
    /* Brand colors as shown in screenshot */
    background: linear-gradient(135deg, #897336 0%, #b99a6a 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(137, 115, 54, 0.2);
    /* Prevent stretching - button should be its natural width */
    width: fit-content;
    align-self: flex-start;
}

.whatsapp-link:hover {
    background: linear-gradient(135deg, #b99a6a 0%, #897336 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(137, 115, 54, 0.3);
    color: #ffffff;
}

.whatsapp-link i {
    font-size: 16px;
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    .contact-form {
        /* Tablet: 60px top/bottom, 40px sides */
        padding: 60px 40px;
    }
    
    .form-header h2 {
        /* Size: Tablet 28px */
        font-size: 28px;
    }
    
    .form-header p {
        /* Size: Tablet 15px */
        font-size: 15px;
    }
    
    .contact-content {
        gap: 40px;
    }
    
    /* Footer tablet optimization */
    .footer {
        padding: 45px 30px 35px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        text-align: left;
    }
    
    .footer-about {
        grid-column: 1 / -1; /* Span full width on first row */
        text-align: center;
        margin-bottom: 20px;
    }
    
    .footer-links {
        text-align: left;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .footer-links ul {
        width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .footer-links ul li {
        width: 100%;
        margin-bottom: 8px;
    }
    
    .footer-links ul li a {
        display: block;
        width: 100%;
        box-sizing: border-box;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .social-links {
        justify-content: center;
        flex-wrap: nowrap;
        gap: 8px;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .contact-form {
        /* Mobile: 40px top/bottom, 20px sides */
        padding: 40px 20px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-header h2 {
        /* Size: Mobile 24px */
        font-size: 24px;
    }
    
    .form-header p {
        /* Size: Mobile 14px */
        font-size: 14px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 20px;
    }
    
    .contact-form-container {
        padding: 32px 24px;
    }
    
    /* Reduce spacing for contact info on mobile */
    .contact-methods {
        margin-top: 20px; /* Reduced from 400px to bring contact info closer to form */
    }
    
    .contact-item {
        margin-bottom: 20px; /* Reduced from 120px for better mobile spacing */
    }
}

.contact-item h3 {
    font-family: 'Alexandria', serif;
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    color: #2c2c2c;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-item h3 i {
    color: #897336;
    font-size: 1.1rem;
}

.contact-item p {
    color: #666;
    margin-bottom: 15px;
}

.business-hours {
    background: rgba(137, 115, 54, 0.05);
    border-radius: 8px;
    padding: 20px;
    margin-top: 15px;
}

.business-hours p {
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c2c2c;
}

.business-hours ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.business-hours li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(137, 115, 54, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.business-hours li:last-child {
    border-bottom: none;
}

.business-hours .closed {
    color: #666;
    font-style: italic;
}

.business-hours time {
    font-weight: 500;
    color: #897336;
}

.phone-number a {
    color: #897336;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.phone-number a:hover {
    color: #a38558;
    text-decoration: underline;
}

.phone-number {
    font-family: 'Alexandria', serif;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 700;
    color: #897336;
    margin: 0;
    letter-spacing: 1px;
}

.contact-description {
    background: rgba(137, 115, 54, 0.05);
    padding: 25px;
    border-radius: 12px;
    border-left: 3px solid #897336;
}

.contact-description p {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
    margin: 0;
}

/* Old duplicate styles removed - Contact form styling is now handled by the updated .contact-form section above */

/* Mobile social links fix - prevent wrapping */
@media (max-width: 768px) {
    .social-links {
        flex-wrap: nowrap;
        gap: 6px;
        justify-content: center;
    }
}

/* Extra Small Mobile Styles */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }

    /* Existing ultra-small styles */
    .practice-grid {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }

    .practice-item {
        padding: 15px 10px;
        border-radius: 15px;
    }

    .practice-item .icon {
        width: 45px;
        height: 45px;
    }

    .practice-item h3 {
        font-size: 0.9rem;
        margin: 8px 0 5px;
    }
}

/* Large Screen Optimizations */
@media (min-width: 1200px) {
    /* Optimize slider text layout for large screens */
    .slide-content {
        padding-left: clamp(60px, 8vw, 120px);
        padding-right: clamp(60px, 8vw, 120px);
    }
    
    .slide-content .container {
        max-width: clamp(800px, 60vw, 1200px);
    }
    
    .slide-content h1 {
        font-size: clamp(2.5rem, 4.5vw, 4rem);
        max-width: clamp(700px, 55vw, 1000px);
        line-height: 1.15;
        margin-bottom: 25px;
    }
    
    .slide-content h2 {
        font-size: clamp(1.1rem, 2vw, 1.4rem);
        max-width: clamp(600px, 50vw, 900px);
        margin-bottom: 15px;
    }
    
    .slide-content p {
        font-size: clamp(1.1rem, 1.8vw, 1.4rem);
        max-width: clamp(650px, 55vw, 1000px);
        margin-bottom: 35px;
        line-height: 1.65;
    }
    
    .btn {
        padding: clamp(14px, 2vw, 18px) clamp(28px, 4vw, 40px);
        font-size: clamp(0.95rem, 1.5vw, 1.1rem);
        margin-top: 15px;
    }
}

/* Ultra-wide Screen Optimizations */
@media (min-width: 1600px) {
    .slide-content {
        padding-left: clamp(80px, 10vw, 150px);
        padding-right: clamp(80px, 10vw, 150px);
    }
    
    .slide-content .container {
        max-width: 1200px; /* Fixed max width on ultra-wide */
    }
    
    .slide-content h1 {
        max-width: 1000px;
        font-size: clamp(3rem, 3.5vw, 4rem);
    }
    
    .slide-content h2 {
        max-width: 900px;
        font-size: clamp(1.2rem, 1.5vw, 1.4rem);
    }
    
    .slide-content p {
        max-width: 1000px;
        font-size: clamp(1.2rem, 1.3vw, 1.4rem);
    }
}

/* Contact Form Message Styles */
.form-message {
    margin-top: 20px;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer Credit */
.footer-credit {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
}

.footer-credit p {
    font-family: 'Alexandria', sans-serif;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-weight: 400;
}

.footer-credit a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
    position: relative;
}

.footer-credit a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #897336, #b99a6a);
    transition: width 0.3s ease;
}

.footer-credit a:hover {
    color: #ffffff;
    text-decoration: none;
    border-bottom-color: rgba(255, 255, 255, 0.5);
}

.footer-credit a:hover::after {
    width: 100%;
}

/* Mobile Footer Credit */
@media (max-width: 768px) {
    .footer-credit {
        padding: 15px 0;
        margin-top: 30px;
    }
    
    .footer-credit p {
        font-size: 0.8rem;
    }
}