/* =====================================================
   IMPLANT Aria DENT ALL - Main Stylesheet
   Professional Dental Clinic Website
   ===================================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
    /* Green Palette */
    --green-darkest: #0D3B1E;
    --green-dark: #1B5E20;
    --green-primary: #2E7D32;
    --green-medium: #43A047;
    --green-light: #81C784;
    --green-lighter: #A5D6A7;
    --green-pale: #C8E6C9;
    --green-lightest: #E8F5E9;
    
    /* Neutrals */
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #EEEEEE;
    --gray-300: #E0E0E0;
    --gray-400: #BDBDBD;
    --gray-500: #9E9E9E;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;
    
    /* Accent */
    --gold: #D4AF37;
    --gold-light: #E8C547;
    
    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.15);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 9999px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul, ol {
    list-style: none;
}

/* Restore bullet/number markers for body-copy lists inside page content
   (nav/footer/UI lists above intentionally stay marker-less since they
   are not wrapped in .container) */
.container ul,
.container ol {
    padding-left: 1.5rem;
}

.container ul {
    list-style: disc;
}

.container ol {
    list-style: decimal;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--green-darkest);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    margin-bottom: var(--space-md);
}

.text-accent {
    color: var(--green-primary);
}

/* =====================================================
   HEADER & NAVIGATION
   ===================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-lg);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-md) var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--green-primary), var(--green-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--green-darkest);
    line-height: 1.1;
}

.logo-text span {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--gray-600);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--gray-700);
    position: relative;
    padding: var(--space-sm) 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--green-primary);
    transition: var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--green-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, var(--green-primary), var(--green-medium));
    color: var(--white);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--green-dark), var(--green-primary));
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--green-dark);
    transition: var(--transition-base);
}

/* =====================================================
   SERVICII DROPDOWN
   ===================================================== */

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex !important;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
}

.nav-dropdown-arrow {
    font-size: 0.7rem;
    line-height: 1;
    display: inline-block;
    margin-left: 2px;
    transition: transform 0.25s ease;
}

.nav-dropdown.open .nav-dropdown-arrow {
    transform: rotate(180deg);
}

/* ── Shell: invisible positioned wrapper — the actual hover target ── */
.dropdown-shell {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 12px;
    pointer-events: none;
    z-index: 9000;
}

.nav-dropdown.open .dropdown-shell {
    pointer-events: auto;
}

/* ── Dropdown panel — always in DOM, animated in/out ── */
.dropdown-menu {
    transform: translateY(-10px);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    padding: 0.5rem 0;
    min-width: 235px;
    border-top: 3px solid var(--green-primary);
    /* Hidden state */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    /* Animate out: opacity+transform, then hide visibility */
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
}

/* ── Shown via JS .open ── */
.nav-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    /* Animate in: show visibility immediately, then fade+slide */
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0s;
}

/* ── Shown via hover on pointer devices ── */
@media (hover: hover) and (pointer: fine) {
    /* ::before extends the toggle's hit area 12px downward,
       bridging the gap so nav-dropdown:hover stays active
       as the mouse moves from the toggle into the shell */
    .nav-dropdown-toggle::before {
        content: '';
        position: absolute;
        top: 100%;
        left: -20px;
        right: -20px;
        height: 12px;
    }
    /* Shell becomes interactive while nav-dropdown is hovered */
    .nav-dropdown:hover .dropdown-shell {
        pointer-events: auto;
    }
    .nav-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0s;
    }
    .nav-dropdown:hover .nav-dropdown-arrow {
        transform: rotate(180deg);
    }
}

.dropdown-menu a {
    display: block;
    padding: 0.55rem 1.25rem;
    color: var(--gray-700);
    font-size: 0.9rem;
    font-weight: 400;
    border-left: 3px solid transparent;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease,
                padding-left 0.15s ease;
}

.dropdown-menu a:hover {
    background: var(--green-lightest);
    color: var(--green-primary);
    border-left-color: var(--green-primary);
    padding-left: 1.5rem;
}

.dropdown-divider {
    height: 1px;
    background: var(--gray-200, #e0e0e0);
    margin: 0.35rem 0;
}

/* ── Mobile: accordion slide-down ── */
@media (max-width: 768px) {
    .nav-dropdown {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }
    /* Center the Servicii toggle like other nav links */
    .nav-dropdown .nav-dropdown-toggle {
        width: 100%;
        justify-content: center;
    }
    .dropdown-shell {
        position: static;
        transform: none;
        left: auto;
        padding-top: 0;
        width: 100%;
        pointer-events: auto;
        z-index: auto;
    }
    .dropdown-menu {
        /* Reset desktop absolute positioning */
        position: static;
        left: auto;
        top: auto;
        transform: none !important;
        box-shadow: none;
        border-radius: var(--radius-md);
        border-top: none;
        border-left: none;
        border-top: 2px solid var(--green-primary);
        margin: 0;
        min-width: unset;
        width: 100%;
        background: var(--green-lightest);
        text-align: center;
        /* Accordion animation */
        max-height: 0;
        overflow: hidden;
        padding: 0;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: max-height 0.35s ease, opacity 0.28s ease,
                    padding 0.28s ease, visibility 0s linear 0.35s;
    }
    .nav-dropdown.open .dropdown-menu {
        max-height: 700px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        padding: 0.35rem 0;
        transition: max-height 0.35s ease, opacity 0.28s ease,
                    padding 0.28s ease, visibility 0s linear 0s;
        transform: none !important;
    }
    .dropdown-menu a {
        padding: 0.55rem 1rem;
        font-size: 0.9rem;
        border-left: none;
        white-space: normal;
        text-align: center;
        justify-content: center;
    }
    .dropdown-menu a:hover {
        border-left: none;
        padding-left: 1rem;
    }
    .dropdown-divider {
        margin: 0.25rem auto;
        width: 60%;
    }
}

/* =====================================================
   HERO CAROUSEL
   ===================================================== */

.hero {
    margin-top: 82px;
    position: relative;
    height: 600px;
    overflow: hidden;
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Placeholder for images */
.carousel-slide .placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--green-pale) 0%, var(--green-lightest) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-dark);
    font-size: 1.2rem;
}

.carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(13, 59, 30, 0.85) 0%,
        rgba(13, 59, 30, 0.6) 40%,
        rgba(13, 59, 30, 0.3) 100%
    );
}

.carousel-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 0 var(--space-4xl);
    max-width: 1400px;
    margin: 0 auto;
}

.carousel-text {
    max-width: 600px;
    color: var(--white);
    animation: fadeInUp 0.8s ease;
}

.carousel-text h1 {
    color: var(--white);
    margin-bottom: var(--space-lg);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.carousel-text p {
    font-size: 1.25rem;
    margin-bottom: var(--space-xl);
    opacity: 0.95;
}

.carousel-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-sm);
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition-base);
    border: 2px solid transparent;
}

.carousel-dot.active,
.carousel-dot:hover {
    background: var(--white);
    transform: scale(1.2);
}

.carousel-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 var(--space-lg);
    pointer-events: none;
    z-index: 10;
}

.carousel-arrow {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    pointer-events: auto;
    transition: var(--transition-base);
    border: 1px solid rgba(255,255,255,0.3);
}

.carousel-arrow:hover {
    background: var(--white);
    color: var(--green-dark);
}

/* =====================================================
   BUTTONS
   ===================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-base);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--green-primary), var(--green-medium));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--green-dark);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: var(--green-lightest);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--green-dark);
}

.btn-outline-green {
    background: transparent;
    color: var(--green-primary);
    border: 2px solid var(--green-primary);
}

.btn-outline-green:hover {
    background: var(--green-primary);
    color: var(--white);
}

/* =====================================================
   SECTIONS
   ===================================================== */

.section {
    padding: var(--space-xl) var(--space-xl);
}

.blog-article .section {
    padding: var(--space-xl) var(--space-xl);
}

/* Article featured image (between hero and content) */
.article-hero-image {
    padding: 2.5rem var(--space-xl);
    background: var(--white);
}

.article-hero-image .container {
    max-width: 960px;
}

.article-hero-image img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: 0 24px 60px rgba(0,0,0,0.12);
    display: block;
}

@media (max-width: 768px) {
    .article-hero-image {
        padding: 1.5rem var(--space-md);
    }
    .article-hero-image img {
        max-height: 260px;
        border-radius: var(--radius-lg);
    }
}

.blog-article .article-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-xl);
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 50px rgba(0,0,0,0.04);
}

.blog-article h1,
.blog-article h2,
.blog-article h3,
.blog-article h4,
.blog-article h5 {
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-xl);
}

.blog-article h1 {
    margin-top: 0;
}

.blog-article p,
.blog-article ul,
.blog-article ol,
.blog-article blockquote {
    margin-bottom: var(--space-xl);
    line-height: 1.95;
}

.blog-article ul,
.blog-article ol {
    padding-left: 1.4rem;
}

.blog-article ul li,
.blog-article ol li {
    margin-bottom: 0.85rem;
}

.blog-article strong,
.blog-article b {
    color: var(--green-dark);
}

.section-light {
    background: var(--green-lightest);
}

.section-dark {
    background: var(--green-darkest);
    color: var(--white);
}

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

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-header h2 {
    margin-bottom: var(--space-md);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.section-dark .section-header h2 {
    color: var(--white);
}

.section-dark .section-header p {
    color: var(--green-lighter);
}

.info-panel {
    background: var(--white);
    border: 2px solid var(--green-light);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 18px 45px rgba(46, 125, 50, 0.08);
    max-width: 960px;
    margin: 0 auto;
}

.info-panel .section-header h2 {
    color: var(--green-dark);
}

.info-panel p {
    color: var(--green-darkest);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.info-panel p:last-child {
    margin-bottom: 0;
}

.widget-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.widget-card {
    background: var(--white);
    border: 1px solid var(--green-light);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 18px 40px rgba(46, 125, 50, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.widget-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px rgba(46, 125, 50, 0.14);
}

.widget-card h3 {
    color: var(--green-dark);
    margin-bottom: 1rem;
    font-size: 1.35rem;
}

.widget-card p {
    color: var(--green-darkest);
    line-height: 1.8;
    margin-bottom: 1.75rem;
    flex-grow: 1;
}

.widget-card .btn {
    align-self: flex-start;
}

@media (max-width: 1024px) {
    .widget-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
}

@media (max-width: 680px) {
    .widget-grid {
        grid-template-columns: 1fr;
    }
}

.split-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.split-left p {
    color: var(--green-darkest);
    line-height: 1.85;
    margin-bottom: 1.6rem;
}

.split-left strong {
    display: block;
    color: var(--green-dark);
    margin-bottom: 0.5rem;
}

.split-right {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.split-image {
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(46, 125, 50, 0.08);
}

.split-image-large {
    grid-column: 1 / -1;
}

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

.split-note {
    max-width: 860px;
    margin: 2rem auto 0;
    text-align: center;
    color: var(--green-darkest);
    font-size: 1.05rem;
    line-height: 1.8;
}

.split-button-wrap {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.btn-green {
    background: var(--green-pale);
    color: var(--green-darkest);
    border: 1px solid var(--green-light);
    border-radius: 999px;
    padding: 0.95rem 2rem;
    font-weight: 600;
    transition: transform 0.25s ease, background 0.25s ease;
}

.btn-green:hover,
.btn-green:focus {
    background: var(--green-light);
    transform: translateY(-1px);
}

.button-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.button-grid .btn {
    min-width: 180px;
}

.contact-support-text {
    max-width: 880px;
    margin: 2rem auto 0;
    color: var(--green-darkest);
    line-height: 1.85;
}

.contact-support-text p {
    margin-bottom: 1.35rem;
}

.faq-accordion {
    margin-top: 1.5rem;
}

.faq-accordion details {
    border: 1px solid var(--green-light);
    border-radius: 18px;
    background: var(--white);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 14px 35px rgba(46, 125, 50, 0.07);
}

.faq-accordion summary {
    padding: 1.3rem 1.5rem;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--green-dark);
    list-style: none;
    position: relative;
}

.faq-accordion summary::-webkit-details-marker {
    display: none;
}

.faq-accordion summary::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--green-dark);
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.25s ease;
}

.faq-accordion details[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem 0;
    color: var(--green-darkest);
    line-height: 1.85;
    border-top: 0 solid transparent;
    background: #fbfff9;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-top 0.35s ease;
}

.faq-accordion details[open] .faq-answer {
    max-height: 999px;
    padding: 1.5rem 1.5rem 1.75rem;
    border-top: 1px solid var(--green-light);
}

.faq-answer p {
    margin: 0;
}

@media (max-width: 680px) {
    .button-grid {
        flex-direction: column;
        align-items: stretch;
    }
    .button-grid .btn {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 900px) {
    .split-columns {
        grid-template-columns: 1fr;
    }
    .split-image-large {
        grid-column: auto;
    }
}

@media (max-width: 680px) {
    .split-note {
        font-size: 1rem;
    }
}

.trustindex-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 1.5rem;
}

#trustindex-widget {
    width: 100%;
    max-width: 100%;
}

#trustindex-widget,
#trustindex-widget > div {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Section Divider */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.section-divider::before,
.section-divider::after {
    content: '';
    width: 60px;
    height: 2px;
    background: var(--green-light);
}

.section-divider span {
    color: var(--green-primary);
    font-size: 1.5rem;
}

/* =====================================================
   SERVICES GRID (Homepage)
   ===================================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    border: 1px solid var(--gray-200);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--green-light);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    background: linear-gradient(135deg, var(--green-lightest), var(--green-pale));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    transition: var(--transition-base);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--green-primary), var(--green-medium));
    color: var(--white);
}

.service-card h4 {
    margin-bottom: var(--space-sm);
}

.service-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
}

.service-card .btn {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.9rem;
}

/* =====================================================
   WHY CHOOSE US
   ===================================================== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
}

.feature-item {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

.feature-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--green-pale);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--green-dark);
}

.feature-content h4 {
    margin-bottom: var(--space-xs);
    font-size: 1.1rem;
}

.feature-content p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin: 0;
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */

.testimonials-slider {
    display: flex;
    gap: var(--space-xl);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: var(--space-md);
    scrollbar-width: none;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    min-width: 350px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    scroll-snap-align: start;
    border: 1px solid var(--gray-200);
}

.testimonial-stars {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
}

.testimonial-text {
    font-style: italic;
    color: var(--gray-700);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: var(--green-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--green-dark);
}

.testimonial-info h5 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.testimonial-info span {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* =====================================================
   MAP & CONTACT SECTION
   ===================================================== */

.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.contact-info h3 {
    margin-bottom: var(--space-lg);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--green-pale);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--green-dark);
}

.contact-item-content h5 {
    font-size: 0.9rem;
    color: var(--gray-500);
    font-weight: 500;
    margin-bottom: 4px;
}

.contact-item-content p {
    margin: 0;
    font-weight: 500;
}

.contact-item-content a {
    color: var(--green-primary);
    font-weight: 600;
}

.contact-item-content a:hover {
    color: var(--green-dark);
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* =====================================================
   ABOUT PAGE STYLES
   ===================================================== */

.page-hero {
    margin-top: 82px;
    padding: var(--space-4xl) var(--space-xl);
    background: linear-gradient(135deg, var(--green-darkest), var(--green-dark));
    color: var(--white);
    text-align: center;
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: var(--space-md);
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-story-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-story-image img,
.about-story-image .placeholder {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-story-content h2 {
    margin-bottom: var(--space-lg);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.value-card {
    text-align: center;
    padding: var(--space-xl);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.value-card h4 {
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.value-card p {
    color: var(--green-lighter);
    font-size: 0.95rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4/3;
}

.gallery-item img,
.gallery-item .placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* =====================================================
   SERVICES PAGE STYLES
   ===================================================== */

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.service-list-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    border: 1px solid var(--gray-200);
}

.service-list-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--green-light);
}

.service-list-image {
    height: 200px;
    background: var(--green-pale);
    position: relative;
}

.service-list-image img,
.service-list-image .placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-list-content {
    padding: var(--space-xl);
}

.service-list-content h3 {
    margin-bottom: var(--space-sm);
}

.service-list-content p {
    color: var(--gray-600);
    margin-bottom: var(--space-lg);
}

/* Individual Service Page */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: var(--space-3xl);
}

.service-main h2 {
    margin-bottom: var(--space-lg);
}

.service-main p {
    font-size: 1.05rem;
    line-height: 1.8;
}

.service-benefits {
    margin: var(--space-xl) 0;
}

.service-benefits h4 {
    margin-bottom: var(--space-md);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--gray-200);
}

.benefit-item:last-child {
    border-bottom: none;
}

.benefit-check {
    width: 30px;
    height: 30px;
    min-width: 30px;
    background: var(--green-lightest);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-primary);
}

.service-sidebar {
    position: sticky;
    top: 120px;
}

.service-info-card {
    background: var(--green-lightest);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.service-info-card h4 {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--green-light);
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--green-pale);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--gray-600);
}

.info-value {
    font-weight: 600;
    color: var(--green-dark);
}

.service-cta-card {
    background: linear-gradient(135deg, var(--green-dark), var(--green-primary));
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    color: var(--white);
    text-align: center;
}

.service-cta-card h4 {
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.service-cta-card p {
    opacity: 0.9;
    margin-bottom: var(--space-lg);
}

/* =====================================================
   PRICING PAGE STYLES
   ===================================================== */

.pricing-section h3 {
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--green-light);
}

.pricing-table {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-3xl);
}

.pricing-row {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: var(--space-lg) var(--space-xl);
    border-bottom: 1px solid var(--gray-200);
    align-items: center;
}

.pricing-row:last-child {
    border-bottom: none;
}

.pricing-row:hover {
    background: var(--green-lightest);
}

.pricing-service h5 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.pricing-service p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin: 0;
}

.pricing-amount {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--green-dark);
}

.pricing-note {
    background: var(--green-lightest);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.pricing-note-icon {
    font-size: 1.5rem;
    color: var(--green-primary);
}

.pricing-note p {
    margin: 0;
    color: var(--gray-700);
}

/* =====================================================
   APPOINTMENT PAGE STYLES
   ===================================================== */

.appointment-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
}

.appointment-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-lg);
}

.appointment-form-card h3 {
    margin-bottom: var(--space-xl);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 500;
    color: var(--gray-700);
}

.form-group label .required {
    color: #dc3545;
}

.form-control {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-base);
}

.form-control:focus {
    outline: none;
    border-color: var(--green-primary);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.form-control::placeholder {
    color: var(--gray-400);
}

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

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23757575' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    cursor: pointer;
}

.radio-group {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-sm);
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.95rem 1rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    background: var(--white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}

.radio-option input {
    accent-color: var(--green-primary);
}

.radio-option:hover {
    border-color: var(--green-primary);
    box-shadow: 0 6px 18px rgba(46, 125, 50, 0.08);
}

.radio-option input:focus-visible + span,
.radio-option input:checked + span {
    color: var(--green-dark);
    font-weight: 600;
}

@media (max-width: 680px) {
    .radio-group {
        grid-template-columns: 1fr;
    }
}

.appointment-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.info-card {
    background: var(--green-lightest);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.info-card h4 {
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.quick-contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    transition: var(--transition-base);
}

.quick-contact-item:last-child {
    margin-bottom: 0;
}

.quick-contact-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.quick-contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--white);
}

.quick-contact-icon.phone {
    background: var(--green-primary);
}

.quick-contact-icon.whatsapp {
    background: #25D366;
}

.quick-contact-icon.email {
    background: var(--green-dark);
}

.quick-contact-content span {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.quick-contact-content strong {
    color: var(--green-dark);
}

/* =====================================================
   CONTACT PAGE STYLES
   ===================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.contact-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: var(--transition-base);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--green-light);
}

.contact-card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--space-lg);
    background: var(--green-lightest);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--green-primary);
}

.contact-card h4 {
    margin-bottom: var(--space-sm);
}

.contact-card p {
    color: var(--gray-600);
    margin: 0;
}

.contact-card a {
    color: var(--green-primary);
    font-weight: 600;
}

.contact-card a:hover {
    color: var(--green-dark);
}

.full-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    height: 450px;
}

.full-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* =====================================================
   FOOTER
   ===================================================== */

.footer {
    background: var(--green-darkest);
    color: var(--white);
    padding: var(--space-4xl) var(--space-xl) var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    max-width: 1200px;
    margin: 0 auto var(--space-3xl);
}

.footer-brand .logo-text {
    color: var(--white);
    font-size: 1.6rem;
    margin-bottom: var(--space-md);
}

.footer-brand p {
    color: var(--green-lighter);
    font-size: 0.95rem;
    margin-bottom: var(--space-lg);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.footer-social a:hover {
    background: var(--green-primary);
    transform: translateY(-3px);
}

.footer-column h5 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
    font-family: var(--font-display);
}

.footer-column ul li {
    margin-bottom: var(--space-sm);
}

.footer-column a {
    color: var(--green-lighter);
    font-size: 0.95rem;
    transition: var(--transition-base);
}

.footer-column a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-bottom p {
    color: var(--green-lighter);
    font-size: 0.9rem;
    margin: 0;
}

/* =====================================================
   WHATSAPP FLOATING BUTTON
   ===================================================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition-base);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* =====================================================
   ANIMATIONS
   ===================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease;
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */

@media (max-width: 1024px) {
    .contact-section,
    .about-story,
    .service-detail,
    .appointment-section {
        grid-template-columns: 1fr;
    }
    
    .values-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 82px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: var(--space-xl);
        gap: var(--space-md);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-base);
        max-height: calc(100vh - 82px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero {
        height: 500px;
    }
    
    .carousel-content {
        padding: 0 var(--space-xl);
    }
    
    .carousel-text {
        max-width: 100%;
    }
    
    .carousel-arrows {
        display: none;
    }
    
    .section {
        padding: var(--space-3xl) var(--space-lg);
    }
    
    .values-grid,
    .gallery-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        margin-bottom: var(--space-xl);
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-card {
        min-width: 280px;
    }
    
    .pricing-row {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    .pricing-amount {
        text-align: left;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: var(--space-md);
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .carousel-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-md); }
.mb-2 { margin-bottom: var(--space-xl); }
.mb-3 { margin-bottom: var(--space-2xl); }

/* Placeholder Styles */
.placeholder {
    background: linear-gradient(135deg, var(--green-pale), var(--green-lightest));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-dark);
    font-size: 0.9rem;
    text-align: center;
    padding: var(--space-md);
}

/* =====================================================
   ADD THIS TO YOUR style.css FILE
   (Add at the end of your existing style.css)
   ===================================================== */

/* Remove the dark overlay - images show in original colors */
.carousel-overlay {
    display: none !important;
}

/* Text box with semi-transparent background for readability */
.carousel-text-clear {
    background: rgba(255, 255, 255, 0.92);
    padding: 2.5rem 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-width: 650px;
}

.carousel-text-clear h1 {
    color: var(--green-darkest) !important;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-shadow: none;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.carousel-text-clear p {
    color: var(--gray-700) !important;
    font-size: 1.1rem;
    opacity: 1;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.carousel-text-clear .btn-outline {
    background: transparent;
    color: var(--green-dark);
    border: 2px solid var(--green-dark);
}

.carousel-text-clear .btn-outline:hover {
    background: var(--green-dark);
    color: white;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .carousel-text-clear {
        padding: 1.5rem 2rem;
        margin: 0 1rem;
        max-width: calc(100% - 2rem);
    }
    
    .carousel-text-clear h1 {
        font-size: 1.5rem;
    }
    
    .carousel-text-clear p {
        font-size: 1rem;
    }
}

/* =====================================================
   ADD THIS TO YOUR style.css FILE
   (Add at the end of your existing style.css)
   ===================================================== */

/* =====================================================
   NEW SVG LOGO STYLING
   ===================================================== */

.logo-icon-svg {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon-svg svg {
    width: 45px;
    height: 56px;
}

/* Hide the old emoji logo if present */
.logo-icon {
    display: none;
}

/* =====================================================
   MOBILE CAROUSEL FIX
   Add this to the END of your style.css file
   (Replace any previous mobile carousel styles)
   ===================================================== */

/* =====================================================
   SVG LOGO STYLING
   ===================================================== */

.logo-icon-svg {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon-svg svg {
    width: 45px;
    height: 56px;
}

.logo-icon {
    display: none;
}

/* =====================================================
   CAROUSEL - CLEAR IMAGES (NO OVERLAY)
   ===================================================== */

.carousel-overlay {
    display: none !important;
}

.carousel-text-clear {
    background: rgba(255, 255, 255, 0.92);
    padding: 2.5rem 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-width: 650px;
}

.carousel-text-clear h1 {
    color: var(--green-darkest) !important;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-shadow: none;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.carousel-text-clear p {
    color: var(--gray-700) !important;
    font-size: 1.1rem;
    opacity: 1;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.carousel-text-clear .btn-outline {
    background: transparent;
    color: var(--green-dark);
    border: 2px solid var(--green-dark);
}

.carousel-text-clear .btn-outline:hover {
    background: var(--green-dark);
    color: white;
}

/* =====================================================
   MOBILE RESPONSIVE FIXES (IMPORTANT!)
   ===================================================== */

@media (max-width: 768px) {
    /* Make hero MUCH taller on mobile */
    .hero {
        height: 85vh;
        min-height: 600px;
        max-height: 800px;
    }
    
    /* Ensure carousel fills the hero */
    .carousel,
    .carousel-slides,
    .carousel-slide {
        height: 100%;
    }
    
    /* Make images cover the area properly */
    .carousel-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }
    
    /* Reposition content to bottom */
    .carousel-content {
        align-items: flex-end;
        padding: 0 1rem 2rem 1rem;
    }
    
    /* Smaller, more compact text box */
    .carousel-text-clear {
        padding: 1.25rem 1.5rem;
        max-width: 100%;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 12px;
    }
    
    .carousel-text-clear h1 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
        line-height: 1.25;
    }
    
    .carousel-text-clear p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }
    
    /* Smaller buttons on mobile */
    .carousel-buttons {
        gap: 0.5rem;
    }
    
    .carousel-text-clear .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
        width: 100%;
    }
    
    /* Move carousel dots above text box */
    .carousel-nav {
        bottom: auto;
        top: 1rem;
    }
    
    /* Logo adjustments */
    .logo-icon-svg svg {
        width: 38px;
        height: 47px;
    }
}

/* Extra small phones */
@media (max-width: 380px) {
    .hero {
        height: 80vh;
        min-height: 550px;
    }
    
    .carousel-text-clear {
        padding: 1rem 1.25rem;
    }
    
    .carousel-text-clear h1 {
        font-size: 1.15rem;
    }
    
    .carousel-text-clear p {
        font-size: 0.85rem;
    }
    
    .logo-icon-svg svg {
        width: 32px;
        height: 40px;
    }
}

/* =====================================================
   CERTIFICATES GALLERY - Add to style.css
   ===================================================== */

.certificates-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.cert-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.cert-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center;
    border-bottom: 3px solid var(--green-primary);
}

.cert-caption {
    padding: 1rem;
    font-size: 0.9rem;
    color: var(--gray-700);
    text-align: center;
    font-weight: 500;
    line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .certificates-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .cert-item img {
        height: 160px;
    }
    
    .cert-caption {
        padding: 0.75rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .certificates-gallery {
        grid-template-columns: 1fr;
    }
    
    .cert-item img {
        height: 200px;
    }
}

