* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-teal: #2c7873;
    --accent-coral: #e8927c;
    --soft-sage: #c8d5b9;
    --cream: #faf8f3;
    --dark-charcoal: #2d3436;
    --warm-white: #ffffff;
    --gold-accent: #d4af37;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--dark-charcoal);
    background: var(--cream);
}

/* Top Info Bar */
.top-bar {
    background: linear-gradient(135deg, var(--primary-teal) 0%, #1e6b66 50%, #2a7b75 100%);
    color: white;
    padding: 12px 0;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.top-bar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 30px;
    align-items: center;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-item a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-bar-item a:hover {
    color: var(--accent-coral);
}

.emergency-badge {
    background: var(--accent-coral);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Main Header */
.main-header {
    background: var(--warm-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 60px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 40px;
}

.logo-section {
    display: flex;
    align-items: center;
}

.logo img {
    height: 85px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.03);
}

.nav-center {
    display: flex;
    gap: 35px;
    list-style: none;
}

.nav-center a {
    text-decoration: none;
    color: var(--dark-charcoal);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-center a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-teal);
    transition: width 0.3s ease;
}

.nav-center a:hover {
    color: var(--primary-teal);
}

.nav-center a:hover::after {
    width: 100%;
}

/* Mega Menu Styles */
.nav-center li {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: linear-gradient(145deg, #ffffff 0%, #fdfcf7 100%);
    min-width: 600px;
    max-width: 700px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    padding: 35px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    border: 2px solid rgba(44, 120, 115, 0.12);
}

.mega-menu.mega-wide {
    min-width: 1000px;
}

.nav-center li:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.mega-menu-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(44, 120, 115, 0.15);
    position: relative;
}

.mega-menu-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--primary-teal);
}

.mega-menu-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-teal);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Services Mega Menu Grid */
.services-mega-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.service-mega-item {
    padding: 16px 18px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    background: transparent;
}

.service-mega-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--dark-charcoal);
    letter-spacing: 0.3px;
}

/* About Mega Menu - Single Column */
.about-mega-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.about-mega-item {
    padding: 16px 18px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    background: transparent;
}

.about-mega-title {
    font-weight: 600;
    font-size: 15px;
    color: var(--dark-charcoal);
    letter-spacing: 0.3px;
}

.mega-menu-cta {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px solid rgba(44, 120, 115, 0.1);
    text-align: center;
}

.mega-menu-cta-btn {
    background: linear-gradient(135deg, var(--primary-teal), #1e6b66);
    color: white !important;
    padding: 14px 32px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(44,120,115,0.25);
    letter-spacing: 0.5px;
}

.mega-menu-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(44,120,115,0.35);
    background: linear-gradient(135deg, #1e6b66, var(--primary-teal));
}

/* Location Dropdown - Simple */
.simple-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: linear-gradient(145deg, #ffffff 0%, #fdfcf7 100%);
    min-width: 300px;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    padding: 25px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    border: 2px solid rgba(44, 120, 115, 0.12);
}

.nav-center li:hover .simple-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.dropdown-item {
    padding: 12px 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
    border: 1px solid transparent;
}

.dropdown-item:hover {
    background: rgba(44, 120, 115, 0.06);
    border-color: rgba(44, 120, 115, 0.15);
}

.dropdown-content h4 {
    font-weight: 600;
    font-size: 14px;
    color: var(--dark-charcoal);
    margin: 0;
}

.header-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

/* Mobile Menu Toggle - Clean Hamburger */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 7px;
    cursor: pointer;
    padding: 16px;
    z-index: 1001;
    background: rgba(44, 120, 115, 0.08);
    border-radius: 12px;
    transition: background 0.3s ease;
    min-width: 56px;
    min-height: 56px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle:hover {
    background: rgba(44, 120, 115, 0.15);
}

.mobile-menu-toggle span {
    width: 32px;
    height: 4px;
    background: var(--primary-teal);
    border-radius: 2px;
    display: block;
    /* Remove all transitions and transforms */
}

/* Mobile Menu Close Button */
.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: rgba(44, 120, 115, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1003; /* Highest z-index */
}

.mobile-menu-close:hover {
    background: var(--primary-teal);
}

.mobile-menu-close:hover svg {
    stroke: white;
}

.btn-call {
    background: var(--primary-teal);
    color: white;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44, 120, 115, 0.3);
}

.btn-call:hover {
    background: #235f5b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 120, 115, 0.4);
}

.btn-appointment {
    background: white;
    color: var(--primary-teal);
    border: 2px solid var(--primary-teal);
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-appointment:hover {
    background: var(--primary-teal);
    color: white;
}

/* Hero Section - Reimagined */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--cream) 0%, #f5f3ed 100%);
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Left Content */
.hero-content {
    animation: fadeInLeft 0.8s ease;
}

.hero-badge {
    display: inline-block;
    background: var(--soft-sage);
    color: var(--primary-teal);
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 72px;
    font-weight: 600;
    color: var(--dark-charcoal);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-title .highlight {
    color: var(--primary-teal);
    font-style: italic;
}

.hero-subtitle {
    font-family: 'Dancing Script', cursive;
    font-size: 56px;
    color: var(--accent-coral);
    margin-bottom: 30px;
    font-weight: 600;
}

.hero-description {
    font-size: 18px;
    color: #5a6c7d;
    line-height: 1.8;
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-cta-group {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.btn-primary-hero {
    background: var(--primary-teal);
    color: white;
    padding: 18px 40px;
    border-radius: 35px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(44, 120, 115, 0.35);
    transition: all 0.4s ease;
}

.btn-primary-hero:hover {
    background: #235f5b;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(44, 120, 115, 0.45);
}

.btn-secondary-hero {
    background: white;
    color: var(--dark-charcoal);
    padding: 18px 40px;
    border: 2px solid #e0e0e0;
    border-radius: 35px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s ease;
}

.btn-secondary-hero:hover {
    border-color: var(--primary-teal);
    color: var(--primary-teal);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 50px;
    padding-top: 30px;
    border-top: 2px solid #e8e6e0;
}

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

.stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-teal);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #7a8a9e;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Right Image Section */
.hero-image-section {
    position: relative;
    animation: fadeInRight 0.8s ease;
}

.hero-main-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s ease;
}

.hero-main-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* Slideshow Container */
.hero-slideshow {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Slideshow Navigation Dots */
.hero-slide-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slide-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.slide-dot.active {
    background: white;
    width: 40px;
    border-radius: 6px;
}

.slide-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Slideshow Arrows */
.hero-slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 24px;
    color: var(--primary-teal);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-slide-arrow:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-slide-arrow.prev {
    left: 20px;
}

.hero-slide-arrow.next {
    right: 20px;
}

.floating-badge {
    position: absolute;
    background: white;
    padding: 25px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    animation: float 3s ease-in-out infinite;
}

.badge-rating {
    top: 40px;
    left: -30px;
    text-align: center;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
}

.badge-rating .stars {
    font-size: 24px;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.badge-rating .rating-number {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}

.badge-rating .rating-text {
    font-size: 12px;
    font-weight: 600;
    opacity: 0.95;
    letter-spacing: 0.5px;
}

.badge-rating .review-count {
    font-size: 11px;
    opacity: 0.85;
    margin-top: 3px;
}

.badge-phone {
    bottom: 40px;
    right: -30px;
    background: var(--primary-teal);
    color: white;
}

.badge-phone .phone-label {
    font-size: 12px;
    margin-bottom: 5px;
    opacity: 0.9;
}

.badge-phone .phone-number {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Decorative Elements */
.hero-decoration {
    position: absolute;
    z-index: 1;
    opacity: 0.5;
}

.decoration-1 {
    top: 10%;
    right: 5%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--soft-sage), transparent);
    border-radius: 50%;
}

.decoration-2 {
    bottom: 15%;
    left: 8%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--accent-coral), transparent);
    opacity: 0.3;
    border-radius: 50%;
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Mobile Responsive Design */
@media (max-width: 968px) {
    /* Hide specific top bar items on mobile, keep emergency badge */
    .top-bar .top-bar-left {
        display: none;
    }
    
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Mobile slide-out navigation with proper z-index */
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: white;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1002; /* Higher than hamburger menu */
        padding: 30px;
        overflow-y: auto;
    }
    
    /* Active state - slide in */
    nav.active {
        right: 0;
    }
    
    /* Show close button when menu is active */
    nav.active .mobile-menu-close {
        display: flex !important;
    }
    
    /* Mobile navigation list */
    .nav-center {
        flex-direction: column;
        gap: 0;
        margin-top: 50px;
    }
    
    .nav-center li {
        width: 100%;
        border-bottom: 1px solid rgba(44, 120, 115, 0.1);
    }
    
    .nav-center > li > a {
        display: block;
        padding: 20px 0;
        font-size: 15px;
        font-weight: 600;
        color: var(--dark-charcoal);
        transition: color 0.3s ease;
    }
    
    .nav-center > li > a:hover {
        color: var(--primary-teal);
    }
    
    /* Hide complex menus on mobile */
    .mega-menu,
    .simple-dropdown {
        display: none !important;
    }
    
    /* Mobile header layout with proper spacing */
    .header-actions {
        display: flex;
        align-items: center;
        gap: 16px;
        margin-right: 20px; /* Ensure space from screen edge */
    }
    
    /* Bigger phone section on mobile */
    .header-actions > div:first-child {
        padding: 14px 0 !important;
        gap: 3px !important;
        min-height: 56px;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }
    
    /* Hide divider on mobile */
    .header-actions > div:nth-child(2) {
        display: none !important;
    }
    
    .header-actions span {
        font-size: 9px !important;
        white-space: nowrap;
    }
    
    .header-actions a {
        font-size: 22px !important;
        white-space: nowrap;
    }
}

/* Office Section Responsive */
@media (max-width: 968px) {
    .office-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    
    .section {
        padding: 60px 30px !important;
    }
    
    .section-title h2 {
        font-size: 36px !important;
    }
}

@media (max-width: 768px) {
    /* Amenities banner responsive */
    .amenities-banner {
        padding: 80px 30px !important;
        background-attachment: scroll !important;
    }
    
    .amenities-banner h2 {
        font-size: 36px !important;
    }
    
    .amenities-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    /* Services grid responsive */
    .section > .container > div[style*="grid-template-columns: repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        max-width: 500px !important;
    }
    
    /* Office image height */
    .office-grid + div img {
        height: 350px !important;
    }
    
    /* Footer responsive */
    footer {
        padding: 60px 30px 30px !important;
    }
    
    footer > div > div[style*="grid-template-columns: 2fr 1fr 1fr 1.5fr"] {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
}

@media (max-width: 1200px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    /* Welcome Banner Responsive */
    .welcome-banner {
        height: auto !important;
        min-height: 600px !important;
        background-attachment: scroll !important;
        justify-content: center !important;
        padding: 80px 0 !important;
    }
    
    .welcome-banner div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    
    .welcome-banner .container > div {
        text-align: center !important;
        max-width: 100% !important;
    }
    
    .welcome-banner h2 {
        font-size: 44px !important;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta-group,
    .hero-stats {
        justify-content: center;
    }
    
    .hero-main-image {
        transform: none;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .floating-badge {
        display: none;
    }
    
    .hero-slideshow {
        height: 400px;
    }
    
    .hero-slide-arrow {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .hero-slide-arrow.prev {
        left: 10px;
    }
    
    .hero-slide-arrow.next {
        right: 10px;
    }
}

@media (max-width: 968px) {
    .header-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
        padding: 20px 30px;
    }
    
    .nav-center {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .header-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* Hide mega menus on mobile */
    .mega-menu,
    .simple-dropdown {
        display: none;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 40px;
    }
    
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
    }
    
    .top-bar-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 10px 30px;
    }
    
    .top-bar-left {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-slideshow {
        height: 350px;
    }
}

@media (max-width: 640px) {
    .hero-slideshow {
        height: 300px;
    }
    
    /* Welcome Banner Mobile */
    .welcome-banner {
        height: auto !important;
        min-height: 500px !important;
        background-attachment: scroll !important;
        justify-content: center !important;
        padding: 60px 0 !important;
    }
    
    .welcome-banner > div {
        padding: 0 30px !important;
    }
    
    .welcome-banner div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .welcome-banner .container > div {
        text-align: center !important;
        max-width: 100% !important;
    }
    
    .welcome-banner h2 {
        font-size: 36px !important;
    }
    
    .welcome-banner p {
        font-size: 16px !important;
    }
    
    /* Hide floating elements on mobile */
    .welcome-banner div[style*="animation: float"] {
        display: none !important;
    }
    
    .hero-slide-dots {
        bottom: 15px;
        gap: 8px;
    }
    
    .slide-dot {
        width: 8px;
        height: 8px;
    }
    
    .slide-dot.active {
        width: 30px;
    }
}

