/* style.css - Dribbble Earthy Overhaul */
:root {
  /* Dark Luxurious Theme */
  --bg-main: #141311;        /* Deep warm black */
  --bg-secondary: #1E1C1A;   /* Lighter charcoal for cards */
  --bg-dark: #F4EBE0;        /* Inverse: Cream for accents */
  --bg-darker: #E9DDCB;      /* Inverse: Darker cream */
  
  --primary: #C5A059;        /* Luxurious Bronze/Gold */
  --primary-hover: #D8B572;
  
  --text-main: #FFFFFF;      /* White text for better visibility */
  --text-light: #141311;     /* Dark text for light cards */
  --text-muted: #BBAFA0;     /* Lighter muted text */
  
  --border: #332F2B;
  
  --font-heading: 'Lora', serif;
  --font-body: 'Inter', sans-serif;
  
  --radius-lg: 32px;
  --radius: 16px; 
  --radius-pill: 50px;
}

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

body { 
  font-family: var(--font-body); 
  background: var(--bg-main); 
  color: var(--text-main); 
  line-height: 1.6; 
  font-size: 1.1rem;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 500; color: var(--text-main); }
a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
img, video { max-width: 100%; display: block; }

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

/* Dribbble Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    font-weight: 500;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}
.btn-primary { background: var(--primary); color: #141311 !important; font-weight: 600; }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(197, 160, 89, 0.2); }
.btn-dark { background: var(--bg-darker); color: #141311 !important; font-weight: 600; }
.btn-dark:hover { background: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text-main); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* Header */
header { 
  padding: 40px 0; 
  position: relative; 
  z-index: 100;
}
.nav { display: flex; justify-content: space-between; align-items: center; }
.logo { 
  font-size: 1.5rem; 
  font-family: var(--font-body);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
  white-space: nowrap;
}
.logo-icon {
    width: 28px;
    height: 28px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-icon::before {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--bg-main);
    border-radius: 50%;
}
.nav-links { display: flex; gap: 50px; align-items: center; }
.nav-links a { font-weight: 500; font-size: 1.05rem; color: var(--text-main); }
.nav-links a:hover { color: var(--primary); }
.nav-actions { display: flex; gap: 30px; align-items: center; }
.nav-actions a.signin { font-weight: 600; font-size: 1.05rem; }

/* Hero Section */
.hero { padding: 40px 0 80px; }
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.badge-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 30px;
    border: 1px solid var(--border);
}
.badge-dot { width: 6px; height: 6px; background: var(--primary); border-radius: 50%; }

.hero-left h1 { 
    font-size: 5.5rem; 
    line-height: 1.15; 
    margin-bottom: 30px; 
    letter-spacing: -1px;
}
.hero-left h1 em {
    font-style: italic;
    color: var(--primary);
    font-weight: 500;
}
.hero-left p { 
    font-size: 1.15rem; 
    color: var(--text-muted); 
    max-width: 550px;
    margin-bottom: 50px;
    line-height: 1.8;
}
.hero-actions { display: flex; gap: 20px; margin-bottom: 70px;}

.stats-row {
    display: flex;
    gap: 50px;
    border-top: 1px solid var(--border);
    padding-top: 30px;
}
.stat-item h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.5rem; margin-bottom: 4px; }
.stat-item p { font-size: 0.85rem; color: var(--text-muted); }

/* Hero Right Image */
.hero-image-wrapper {
    position: relative;
    height: 700px;
}
.hero-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}
.hero-sub-img {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 200px;
    height: 140px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 6px solid var(--bg-main);
}
.floating-badge {
    position: absolute;
    top: 40px;
    right: -20px;
    background: var(--bg-main);
    padding: 12px 20px;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.floating-badge-icon {
    width: 24px;
    height: 24px;
    background: var(--text-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 10px;
}
.floating-badge-text { font-size: 0.8rem; font-weight: 500; }
.floating-badge-sub { font-size: 0.7rem; color: var(--text-muted); display: block; }

/* Waiting Families Section */
.waiting-section {
    padding: 100px 0;
    border-top: 1px solid var(--border);
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}
.section-header h2 { font-size: 3rem; max-width: 500px; line-height: 1.1;}
.section-pretitle {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}
.browse-link {
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.family-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.family-card {
    position: relative;
    height: 380px;
}
.family-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}
.pill-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--bg-main);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 500;
}

/* Feature Cards (Dark Mode) */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 40px 0 100px;
}
.feature-dark {
    background: var(--bg-darker);
    color: var(--text-light);
    border-radius: var(--radius-lg);
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.feature-dark h2 { color: var(--text-light); font-size: 3rem; margin-bottom: 20px; }
.feature-dark p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 40px;}
.feature-dark h2 em { font-style: italic; color: var(--bg-main); }
.list-numbered { counter-reset: custom-counter; }
.list-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 30px;
}
.list-item::before {
    counter-increment: custom-counter;
    content: "0" counter(custom-counter);
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary);
    font-weight: 500;
}
.list-item h4 { color: var(--text-light); font-family: var(--font-body); font-weight: 500; font-size: 1.1rem; margin-bottom: 8px;}
.list-item p { font-size: 1rem; margin-bottom: 0; color: var(--text-muted);}

/* Green Card */
.feature-green {
    background: var(--bg-dark);
    color: var(--text-light);
    border-radius: var(--radius-lg);
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.feature-green h2 { color: var(--text-light); font-size: 2.5rem; max-width: 400px; }

/* Grid of icons */
.journey-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 60px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    margin-bottom: 40px;
}
.journey-item h4 { font-family: var(--font-body); font-size: 1rem; margin-bottom: 10px; }
.journey-item p { font-size: 0.9rem; color: var(--text-muted); }
.icon-box {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--bg-main);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 15px;
}

/* Forms */
.form-container {
    background: var(--bg-secondary);
    padding: 60px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border: 1px solid var(--border);
}
.form-group { margin-bottom: 25px; }
.form-group label { display: block; font-size: 0.95rem; font-weight: 500; margin-bottom: 8px; color: var(--text-muted);}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s;
    color: var(--text-main);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2);
}

/* Testimonials Grid */
.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    padding: 20px 0;
}
.testimonial-card {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 35px;
    border: 1px solid var(--border);
    transition: transform 0.3s, border-color 0.3s;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}
.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #C5A059, #8C703C);
    color: #141311;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.testimonial-meta h4 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    margin-bottom: 2px;
}
.testimonial-meta span {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.testimonial-body {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-main);
    margin-bottom: 20px;
}
.testimonial-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.testimonial-tag {
    font-size: 0.75rem;
    padding: 4px 10px;
    background: var(--bg-main);
    border-radius: var(--radius-pill);
    color: var(--primary);
    border: 1px solid rgba(197, 160, 89, 0.3);
}

/* Footer */
footer {
    padding: 80px 0;
    border-top: 1px solid var(--border);
    margin-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer-grid h4 { font-family: var(--font-body); font-size: 1rem; margin-bottom: 20px; font-weight: 500; }
.footer-grid a { display: block; color: var(--text-muted); font-size: 0.95rem; margin-bottom: 12px; }
.footer-grid a:hover { color: var(--primary); }
.disclaimer { margin-top: 60px; font-size: 0.8rem; color: var(--text-muted); }

/* Utility Grid */
.dual-img-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 40px;
    align-items: center;
}
.dual-img-card img { border-radius: var(--radius); }
.dual-img-text { padding: 40px; }
.dual-img-text h3 { font-size: 2.2rem; margin-bottom: 15px; }
.dual-img-text p { color: var(--text-muted); margin-bottom: 30px; }

/* Dropdown Navigation */
.nav-links .dropdown { position: relative; display: inline-block; }
.nav-links .dropdown > a { display: flex; align-items: center; gap: 4px; }
.nav-links .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-secondary);
    min-width: 200px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 0;
    z-index: 200;
}
.nav-links .dropdown:hover .dropdown-content { display: block; }
.nav-links .dropdown-content a {
    color: var(--text-main);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
}
.nav-links .dropdown-content a:hover { background-color: rgba(197, 160, 89, 0.1); color: var(--primary); }

/* Path Section */
.path-section {
    padding: 80px 0;
    background: var(--bg-main);
}
.path-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}
.path-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 60px;
    border: 1px solid var(--border);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.path-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}
.path-card h3 { font-size: 2.5rem; margin-bottom: 15px; }
.path-card p { color: var(--text-muted); margin-bottom: 30px; font-size: 1.1rem; }
.path-card a {
    align-self: flex-start;
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.path-card a:hover { color: var(--primary-hover); }

/* Page Headers */
.page-header {
    padding: 100px 0 60px;
    text-align: center;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}
.page-header h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}
.page-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Page Content */
.page-content {
    padding: 80px 0;
}
.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}
.text-block h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.text-block p {
    color: var(--text-muted);
    margin-bottom: 20px;
}
.text-block ul {
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-muted);
}
.text-block li {
    margin-bottom: 10px;
}

/* Info Sessions Banner */
.info-banner {
    background: var(--primary);
    color: var(--bg-main);
    padding: 60px;
    border-radius: var(--radius-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 60px 0;
}
.info-banner h2 {
    color: var(--bg-main);
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.info-banner p {
    font-size: 1.1rem;
    font-weight: 500;
}
.info-banner .btn {
    background: var(--bg-main);
    color: var(--primary) !important;
}

/* Full Page Hero Background */
.hero-bg {
    background-image: linear-gradient(rgba(20, 19, 17, 0.4), rgba(20, 19, 17, 0.8)), url('assets/images/photo_1_2026-08-24_03-51-45.jpg');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    margin-top: -120px;
    padding-top: 160px !important;
}
.hero-text-overlay {
    background: rgba(30, 28, 26, 0.65);
    padding: 60px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    max-width: 800px;
}
.hero-bg .hero-grid {
    grid-template-columns: 1fr;
}

/* Image Utilities for Pages */
.img-rounded {
    border-radius: var(--radius-lg);
    width: 100%;
    height: auto;
    object-fit: cover;
}
.img-h-400 {
    height: 400px;
}
.img-h-300 {
    height: 300px;
}

/* =========================================
   MULTI-LAYERED WALLPAPER REDESIGN
   ========================================= */

/* Wallpaper wrapper */
.page-wallpaper {
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
    min-height: 100vh;
}

/* Add a dark gradient over the body wallpaper so text is always readable */
.page-wallpaper::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(20, 19, 17, 0.4), rgba(20, 19, 17, 0.9));
    z-index: -1;
}

/* Glass-morphism containers to sit over wallpaper */
.glass-panel {
    background: rgba(20, 19, 17, 0.65);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

/* Animations */
@keyframes bubbly {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.02); }
    100% { transform: translateY(0) scale(1); }
}

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

.anim-bubbly {
    animation: bubbly 4s ease-in-out infinite;
}

.anim-float {
    animation: float 6s ease-in-out infinite;
}

.path-card, .family-card, .btn {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.path-card:hover, .family-card:hover, .btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

/* Media Gallery in Stories */
.media-gallery {
    column-count: 3;
    column-gap: 20px;
    margin-bottom: 60px;
}
.media-item {
    margin-bottom: 20px;
    break-inside: avoid;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.4s ease;
}
.media-item:hover {
    transform: scale(1.03);
    z-index: 10;
}
.media-item img, .media-item video {
    width: 100%;
    display: block;
    border-radius: var(--radius-lg);
}
.media-item-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(30, 28, 26, 0.7);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: var(--radius);
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}
.media-item:hover .media-item-label {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .media-gallery { column-count: 2; }
}
@media (max-width: 600px) {
    .media-gallery { column-count: 1; }
}



/* Success Stories Slideshow */
.slideshow-container { position: relative; width: 100vw; height: 90vh; margin-left: calc(-50vw + 50%); overflow: hidden; background: #000; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.5s ease-in-out; display: flex; align-items: center; justify-content: center; }
.slide.active { opacity: 1; z-index: 10; }
.slide img, .slide video { width: 100%; height: 100%; object-fit: cover; }
.slide-label { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,0.6); padding: 15px 30px; border-radius: 30px; color: #fff; font-size: 1.2rem; text-align: center; backdrop-filter: blur(5px); z-index: 20; }
