/* =========================================
   1. HERO SECTION
   ========================================= */
.header-wrapper {
    position: relative;
    overflow: visible;
}

.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 0 80px;
    gap: 50px;
    position: relative;
}

.bg-shape {
    position: absolute;
    top: -150px;
    right: -150px;
    width: 700px;
    height: 700px;
    background: var(--col-yellow-bg);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.5;
    pointer-events: none;
}

.hero-text {
    flex: 1;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-text p {
    margin-bottom: 35px;
    max-width: 90%;
    font-size: 1.1rem;
}

.highlight-text {
    color: var(--col-blue-light);
}

.hero-stats {
    margin-top: 40px;
    display: flex;
    gap: 40px;
}

.stat strong {
    display: block;
    font-size: 1.5rem;
    color: var(--col-orange);
}

.stat span {
    font-size: 0.9rem;
    color: #777;
}

.hero-img {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    z-index: 1;
}

.hero-img img {
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius);
    box-shadow: 20px 20px 0px var(--col-blue-light);
}

/* Hero Responsive */
@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 20px;
        gap: 40px;
    }

    .hero-text {
        order: 1;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-img {
        order: 2;
        justify-content: center;
        width: 100%;
    }

    .hero-img img {
        max-width: 90%;
        box-shadow: 10px 10px 0px var(--col-blue-light);
    }

    .bg-shape {
        width: 300px;
        height: 300px;
        right: -80px;
        top: -50px;
        opacity: 0.4;
    }
}

/* =========================================
   2. PRICING SECTION
   ========================================= */
.price-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    border: 1px solid #eee;
    transition: 0.3s;
}

.price-card:hover {
    transform: translateY(-10px);
}

.price-card.popular {
    border: 2px solid var(--col-orange);
    transform: scale(1.05);
    z-index: 2;
}

.badge-popular {
    background: var(--col-orange);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.price-num {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--col-blue-dark);
    margin: 20px 0;
}

.price-num span {
    font-size: 1rem;
    font-weight: 400;
    color: #999;
}

.features-list {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
    padding-left: 10px;
}

.features-list li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.features-list li::before {
    content: "✓";
    color: var(--col-blue-light);
    font-weight: bold;
    margin-right: 10px;
}

@media (max-width: 768px) {
    .price-card.popular {
        transform: scale(1);
    }

    .price-card.popular:hover {
        transform: translateY(-10px);
    }
}

/* =========================================
   3. SERVICES SECTION
   ========================================= */
.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: 0.3s;
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--col-blue-light);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--col-yellow-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--col-blue-dark);
    transition: 0.4s;
}

.service-card:hover .service-icon {
    background: var(--col-blue-dark);
    color: white;
    transform: rotate(10deg);
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

.service-link {
    color: var(--col-orange);
    font-weight: 600;
}

/* =========================================
   4. REVIEWS SECTION
   ========================================= */

/* =========================================
   5. WHY CHOOSE US
   ========================================= */
.wcu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.wcu-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.wcu-icon {
    width: 60px;
    height: 60px;
    background: var(--col-blue-light);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* =========================================
   6. GALLERY
   ========================================= */
/* =========================================
   6. GALLERY (MOSAIC UPGRADE)
   ========================================= */
.gallery-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 Columns */
    grid-template-rows: 250px 250px;       /* 2 Rows fixed height */
    gap: 15px;
}

.g-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
    font-weight: bolder;
}

.g-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Make the first item span 2 columns and 2 rows (Big Square) */
.g-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

/* Hover Effects */
.g-item:hover img {
    transform: scale(1.1); /* Zoom in effect */
}

.g-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 95, 115, 0.9), transparent); /* Teal Gradient */
    color: white;
    opacity: 1;
    transform: translateY(20px);
      transform: translateY(0);
    transition: 0.3s;
}

.g-item:hover .g-overlay {
    opacity: 1;
    transform: translateY(0);
}

.g-overlay h4 { color: var(--col-yellow-bright); margin-bottom: 2px; font-size: 1.1rem; font-weight: bolder; }
.g-overlay p { font-size: 0.85rem; color: rgba(255,255,255,0.9); }

/* Responsive Mosaic */
@media (max-width: 768px) {
    .gallery-mosaic {
        grid-template-columns: 1fr 1fr; /* 2 Columns on mobile */
        grid-template-rows: auto;
    }
    .g-item.large {
        grid-column: span 2; /* Spans full width on mobile */
        height: 300px;
    }
    .g-item { height: 200px; } /* Standard height for small items */
}
/* =========================================
   7. DOCTOR SECTION
   ========================================= */
.doctor-wrapper {
    display: flex;
    gap: 50px;
    align-items: center;
}

.doctor-img {
    flex: 1;
}

.doctor-img img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: -20px 20px 0 var(--col-orange);
}

.doctor-bio {
    flex: 1;
}

.doctor-bio h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.doctor-bio h4 {
    color: var(--col-orange);
    margin-bottom: 20px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .doctor-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .doctor-img {
        order: 1;
        margin-bottom: 30px;
    }

    .doctor-bio {
        order: 2;
    }
}

/* =========================================
   8. FAQ SECTION
   ========================================= */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

details {
    background: white;
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    cursor: pointer;
    transition: 0.3s;
    border-left: 5px solid transparent;
}

details:hover {
    border-left-color: var(--col-orange);
}

details[open] {
    border-left-color: var(--col-blue-light);
}

summary {
    font-weight: 600;
    color: var(--col-blue-dark);
    list-style: none;
    position: relative;
    padding-right: 30px;
}

summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.5rem;
    color: var(--col-orange);
    line-height: 1;
}

details[open] summary::after {
    content: '-';
    color: var(--col-blue-light);
}

details p {
    margin-top: 15px;
    color: var(--text-light);
    border-top: 1px solid #eee;
    padding-top: 15px;
}

/* =========================================
   9. CONTACT SECTION
   ========================================= */
.contact-wrapper {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.contact-form {
    flex: 1.5;
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--col-blue-light);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
    }

    .contact-info,
    .contact-form {
        width: 100%;
    }

    .info-item {
        justify-content: center;
        text-align: left;
    }
}

/* =========================================
   4. SERVICES SECTION (UPDATED)
   ========================================= */
.service-card {
    background: white; 
    padding: 40px 30px; 
    border-radius: var(--radius);
    box-shadow: var(--shadow); 
    transition: 0.3s; 
    border: 1px solid #eee;
    
    /* FIX HEIGHT ISSUE */
    height: 100%; /* Makes card fill the grid cell height */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card:hover { 
    transform: translateY(-5px); 
    border-color: var(--col-blue-light); 
}

.service-icon {
    width: 70px; 
    height: 70px; 
    background: var(--col-yellow-light); 
    border-radius: 50%;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-bottom: 30px; /* INCREASED SPACING */
    color: var(--col-blue-dark); 
    transition: 0.4s;
}

.service-card:hover .service-icon { 
    background: var(--col-blue-dark); 
    color: white; 
    transform: rotate(10deg); 
}

.service-icon svg { width: 32px; height: 32px; }

.service-card h3 { 
    font-size: 1.35rem; 
    margin-bottom: 20px; /* INCREASED SPACING */
}

.service-card p { 
    font-size: 0.95rem; 
    margin-bottom: 30px; /* INCREASED SPACING */
    line-height: 1.7;
    flex-grow: 1; /* Pushes the link to the bottom */
}

.service-link { 
    color: var(--col-orange); 
    font-weight: 600; 
    margin-top: auto; /* Aligns link to bottom of card */
    display: inline-block;
}

/* --- Updates to Pricing Cards --- */
.plan-desc {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 20px;
    min-height: 40px; /* Aligns buttons even if text length varies */
}

.features-list .disabled {
    opacity: 0.5;
    text-decoration: line-through;
}

.features-list .disabled::before {
    content: "✕"; /* Change checkmark to X */
    color: #ccc;
}

/* --- New Pricing Extras Section --- */
.pricing-extras {
    margin-top: 60px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid #eee;
}

.pricing-extras h3 { margin-bottom: 10px; font-size: 1.5rem; }

.procedures-table {
    margin-top: 25px;
    border-top: 2px solid var(--col-yellow-bg);
}

.proc-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    font-size: 1rem;
    color: var(--col-blue-dark);
}

.proc-price {
    font-weight: 700;
    color: var(--col-orange);
}

/* Insurance Box */
.insurance-note {
    background-color: var(--col-yellow-light);
    padding: 30px;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.insurance-note h4 {
    color: var(--col-blue-dark);
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

/* Responsive Extras */
@media (max-width: 768px) {
    .pricing-extras {
        grid-template-columns: 1fr; /* Stack on mobile */
        padding: 25px;
    }
}

/* =========================================
   5. REVIEWS SECTION (EQUAL HEIGHT FIX)
   ========================================= */
/* =========================================
   5. REVIEWS SECTION (EQUAL HEIGHT FIXED)
   ========================================= */

/* =========================================
   5. REVIEWS SECTION (EQUAL HEIGHT FIXED)
   ========================================= */

/* 1. Force the grid columns to stretch to the same height */
#reviews .grid {
    align-items: stretch !important; 
}

/* 2. Make the card fill that height and organize content */
.review-card {
    background: #fafafa;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    
    /* CRITICAL FLEX SETTINGS */
    height: 100%;             /* Fills the grid cell height */
    display: flex;            /* Enables flexbox layout */
    flex-direction: column;   /* Stacks content vertically */
    justify-content: flex-start; 
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.avatar {
    width: 50px; height: 50px;
    background-color: var(--col-blue-dark); color: white;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 700; margin-right: 15px;
    flex-shrink: 0;
}

.reviewer-info h4 { font-size: 1.1rem; margin-bottom: 4px; font-weight: 600; }
.stars { color: var(--col-yellow-bright); font-size: 1rem; }

/* 3. The Paragraph expands to push the footer down */
.review-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 25px;
    
    /* This makes the text area grow to fill empty space */
    flex-grow: 1; 
}

/* 4. Ensure the badge stays at the bottom */
.google-badge {
    margin-top: auto; 
    font-size: 0.85rem;
    color: #888;
    display: flex;
    align-items: center;
    font-weight: 500;
    border-top: 1px solid #e0e0e0;
    padding-top: 15px;
}

.google-icon {
    width: 18px;
    height: 18px;
    display: block;
    margin-right: 8px;
}

/* =========================================
   WHY CHOOSE US (WCU) STYLES
   ========================================= */
/* =========================================
   PREMIUM "DARK TEAL" WCU SECTION
   ========================================= */

/* =========================================
   FIXED: PREMIUM "DARK TEAL" WCU SECTION
   ========================================= */

.wcu-section-dark {
    /* CHANGED: Using direct Hex code to ensure color shows up */
    background-color: #006d5b; 
    color: #ffffff;
    padding: 120px 5%;
    position: relative;
    overflow: hidden;
}

/* Abstract Background Pattern */
.wcu-bg-pattern {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    /* Subtle radial gradient for depth */
    background-image: radial-gradient(circle at 10% 10%, rgba(255,255,255,0.05) 0%, transparent 20%);
    pointer-events: none;
}

.wcu-header {
    max-width: 600px;
    margin-bottom: 80px;
    position: relative; z-index: 2;
}

.wcu-pill {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    color: #a7ffeb; /* Bright Mint text */
    border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.wcu-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.1;
    color: #ffffff;
}

.wcu-header p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

/* --- GRID LAYOUT --- */
.wcu-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
    position: relative; z-index: 2;
}

/* --- GLASS CARD DESIGN --- */
.wcu-card-dark {
    /* Glass Effect */
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 16px;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

.wcu-card-dark:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Icon Design */
.wcu-icon-dark {
    width: 60px; height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 30px;
    color: #a7ffeb; /* Bright Mint Icon */
}
.wcu-icon-dark svg { width: 28px; height: 28px; }

/* Text Design */
.wcu-card-dark h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    font-weight: 500;
    color: #ffffff;
}

.wcu-card-dark p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
}

/* --- STATS ROW --- */
.stats-row {
    display: flex;
    gap: 80px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 60px;
    position: relative; z-index: 2;
}

.stat-box { display: flex; flex-direction: column; }

.s-num {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 5px;
}

.s-lbl {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .wcu-section-dark { padding: 80px 5%; }
    .wcu-header h2 { font-size: 2.5rem; }
    .stats-row { flex-direction: column; gap: 40px; }
    .wcu-card-dark { padding: 30px 20px; }
}
.footer-col p{
    color: #fff;
}
.footer-bottom p{
    color: #fff;
}
/* --- SOCIAL ICONS STYLING --- */
.social-links {
    display: flex;
    gap: 20px;            /* Space between icons */
    margin-top: 20px;
}

.social-links a {
    color: rgba(255, 255, 255, 0.8); /* White color (matching footer text) */
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The Icon Itself */
.social-links svg {
    width: 24px;         /* Icon Size */
    height: 24px;
    fill: currentColor;  /* Forces SVG to use the text color defined above */
}

/* Hover Effect */
.social-links a:hover {
    color: var(--col-orange);    /* Changes icon color to Orange */
    transform: translateY(-3px); /* Floats up slightly */
}