/* === CSS RESET & BASE === */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Fresh Mint Theme Colors */
  --bg: #f0faf5;
  --bg-card: #ffffff;
  --text: #1a1a2e;
  --text-muted: #4a5568;
  --accent: #10b981; /* Emerald */
  --accent-light: #d1fae5;
  --accent-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);

  /* Typography */
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Montserrat', sans-serif;

  /* Spacing */
  --section-padding: 60px;
  --card-padding: 32px;
  --gap: 24px;

  /* Effects */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-neon: 0 10px 20px -5px rgba(16, 185, 129, 0.3);
  --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.18);

  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  width: 100%;
  max-width: 100vw;
}

h1, h2, h3, h4, .display-font {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  object-fit: cover;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* === STRUCTURAL BASELINES === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

section {
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
}

/* === BACKGROUND TEXTURE (Glassmorphism Blobs) === */
.blob-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(209, 250, 229, 0) 70%);
    filter: blur(100px);
    border-radius: 50%;
    animation: move 20s infinite alternate;
}

.blob-1 { top: -10%; left: -10%; animation-delay: 0s; }
.blob-2 { bottom: -10%; right: -10%; background: radial-gradient(circle, rgba(5, 150, 105, 0.1) 0%, rgba(209, 250, 229, 0) 70%); animation-delay: -5s; }

@keyframes move {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 100px) scale(1.1); }
}

/* === NAVIGATION (Hidden Until Scroll) === */
.nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.5s ease;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-glass);
}

.nav-wrapper.visible {
    transform: translateY(0);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* === HERO SLIDER === */
.hero-slider {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.4));
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 3;
    color: #fff;
    max-width: 900px;
    padding: 0 20px;
}

.slide-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease forwards;
}

.slide h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.slide p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.hero-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 15px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: #fff;
    transform: scale(1.3);
}

@keyframes fadeInUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: var(--shadow-neon);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -10px rgba(16, 185, 129, 0.5);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,0.2), rgba(255,255,255,0));
    transform: rotate(45deg);
    transition: 0.5s;
    left: -150%;
}

.btn-primary:hover::after {
    left: 100%;
}

/* === SECTIONS === */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.section-header h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Editorial Style (Single Column Centered) */
.editorial-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.editorial-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Offset Grid Layout */
.offset-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.offset-item-left {
    transform: translateY(60px);
}

/* Cards & Glassmorphism */
.glass-card {
    background: var(--bg-card);
    padding: var(--card-padding);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-glass);
    transition: var(--transition);
}

.glass-card:hover {
    transform: perspective(1000px) rotateX(2deg) translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* === GALLERY MASONRY === */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 185, 129, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    color: #fff;
    padding: 20px;
    text-align: center;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* === TESTIMONIAL TICKER === */
.ticker-wrapper {
    overflow: hidden;
    white-space: nowrap;
    padding: 2rem 0;
}

.ticker-content {
    display: inline-flex;
    animation: ticker 40s linear infinite;
}

.testimonial-card {
    display: inline-block;
    width: 400px;
    margin: 0 20px;
    white-space: normal;
    background: #fff;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-glass);
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.testimonial-user img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* === STATS === */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 4rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* === SOCIAL FEED === */
.social-feed {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.social-card {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.social-card .icon {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #fff;
    font-size: 1.2rem;
    z-index: 2;
}

/* === QUIZ === */
.quiz-container {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glass);
}

.quiz-progress {
    height: 6px;
    background: var(--accent-light);
    border-radius: 3px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.quiz-bar {
    height: 100%;
    background: var(--accent);
    width: 0%;
    transition: width 0.3s ease;
}

.quiz-step {
    display: none;
}

.quiz-step.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.quiz-options {
    display: grid;
    gap: 15px;
    margin: 2rem 0;
}

.quiz-option {
    padding: 15px 20px;
    border: 2px solid #edf2f7;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 15px;
}

.quiz-option:hover, .quiz-option.selected {
    border-color: var(--accent);
    background: var(--accent-light);
}

.quiz-option input {
    display: none;
}

/* === FOOTER === */
.mega-footer {
    background: #fff;
    padding: 80px 0 30px 0;
    border-top: 1px solid var(--accent-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-muted);
}

.footer-col ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.footer-bottom {
    border-top: 1px solid #edf2f7;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    margin-bottom: 15px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-glass);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px 25px;
    max-height: 200px;
}

.faq-item.active .ph-plus {
    transform: rotate(45deg);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 40px;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 40px;
        gap: 20px;
        text-align: center;
        box-shadow: var(--shadow-glass);
        transform: translateX(100%);
        transition: var(--transition);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .offset-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .offset-item-left {
        transform: translateY(0);
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .social-feed {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .stats-grid, .gallery-grid, .social-feed, .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }
}
