/* =========================================
   Global Smooth Scroll
   ========================================= */
html {
    scroll-behavior: smooth;
}

/* =========================================
   LAYOUT CSS - Shared Navbar & Footer Styles
   ========================================= */

/* CREATIVE GLASS NAVBAR CSS */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0; /* Increased padding slightly */
    background: transparent; /* Transparent initially */
    z-index: 2000;
    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.glass-nav.scrolled {
    padding: 15px 0; /* consistent padding on scroll */
    background: rgba(255, 255, 255, 0.98); /* White on scroll */
    box-shadow: 0 5px 30px rgba(0,0,0,0.05);
    border-bottom: none;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-creative img {
    height: 50px; /* Further Reduced Logo Size */
    width: auto;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-creative:hover img {
    transform: scale(1.05) rotate(-3deg);
}

/* Desktop Menu */
.nav-links-desktop {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase; /* Uppercase */
    letter-spacing: 1px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e67e22;
    transition: width 0.3s ease;
}

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

.nav-link:hover { color: #e67e22; }

/* Dropdown */
.dropdown-item { position: relative; }

.dropdown-trigger i {
    font-size: 10px;
    transition: transform 0.3s;
}

.dropdown-item:hover .dropdown-trigger i { transform: rotate(180deg); }

.dropdown-menu-creative {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: white;
    min-width: 240px;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dropdown-item:hover .dropdown-menu-creative {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(15px);
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    text-decoration: none;
    color: #2c3e50;
    border-radius: 10px;
    transition: background 0.2s;
    text-transform: none; /* Keep dropdown items normal case or as preferred */
}

.dropdown-link:hover { background: #fff5eb; }

.dropdown-link i {
    font-size: 18px;
    color: #e67e22;
    width: 35px;
    height: 35px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.dropdown-link div { display: flex; flex-direction: column; }
.dropdown-link strong { font-size: 14px; margin-bottom: 2px; }
.dropdown-link span { font-size: 11px; color: #7f8c8d; }

/* Actions & Pill Button */
.nav-actions { display: flex; align-items: center; gap: 20px; }

.btn-pill-creative {
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
    transition: all 0.3s ease;
}

.btn-pill-creative:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.4);
}

/* Creative Hamburger */
.menu-toggle-creative {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001; /* Above overlay */
}

.bar {
    width: 30px;
    height: 3px;
    background: #2c3e50;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle-creative.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle-creative.active .bar:nth-child(2) { opacity: 0; }
.menu-toggle-creative.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.menu-toggle-creative.active {
    position: fixed;
    top: 45px;
    right: 30px;
    z-index: 1100;
}

/* Mobile Overlay */
.mobile-overlay-creative {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-overlay-creative.active { opacity: 1; visibility: visible; }

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
}

.mobile-link {
    font-size: 28px;
    font-weight: 800;
    text-decoration: none;
    color: #2c3e50;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    text-transform: uppercase;
}

.mobile-overlay-creative.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(0.1s * var(--i));
}

.mobile-link:hover { color: #e67e22; transform: scale(1.1); }

@media (max-width: 900px) {
    .nav-links-desktop, .btn-pill-creative { display: none; }
    .menu-toggle-creative { display: flex; }
    .glass-nav { padding: 15px 0; background: transparent; }
    .nav-container { padding: 0 20px; }
    .logo-creative img { height: 40px; } /* Mobile logo size */
}

/* Page Spacing Utility */
.page-hero-spacing, .page-hero {
    padding-top: 160px !important; /* Ensure content clears navbar */
}

/* CREATIVE FOOTER CSS */
footer {
    background: #111;
    color: white;
    padding-top: 100px; /* Standard spacing for non-home pages */
    padding-bottom: 50px;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 5px; /* Minimal gap as requested */
    align-items: flex-start; /* Left align on desktop */
}

.footer-logo img {
    height: 80px; /* Balanced footer logo size */
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    line-height: 1.6;
    font-weight: 400;
    max-width: 280px; /* Prevent wide content on large screens */
    margin: 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-link:hover {
    background: #e67e22;
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 15px;
}

.footer-links a:hover { color: #e67e22; padding-left: 5px; }

.footer-bottom {
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 30px 0;
    margin-top: 60px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: #666;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr); /* 2 Column Grid for Tablet */
        gap: 50px;
        text-align: left;
    }
}

@media (max-width: 600px) {
    .footer-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
        text-align: center; /* Center align for mobile */
        align-items: center; /* Ensure flex children center */
    }
    .footer-brand { 
        align-items: center; /* Center align brand on mobile */
        border-bottom: 1px solid rgba(255,255,255,0.05); /* Subtle separator */
        padding-bottom: 20px;
        width: 100%;
    }
    .footer-links {
        align-items: center; /* Center align flex column links */
    }
    .footer-links li { width: 100%; }
    .footer-links a {
        padding: 5px 0;
        display: block;
        width: 100%;
    }
}

/* =========================================
   CREATIVE PAGE STYLES
   ========================================= */

/* Creative Hero Section */
.page-hero-creative {
    position: relative;
    padding: 180px 30px 100px; /* Space for navbar */
    background: linear-gradient(135deg, #fffcf5, #fff5e6); /* Light Creative Background */
    overflow: hidden;
    text-align: center;
    color: #2c3e50; /* Dark Text for Light Background */
}

.page-hero-creative::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(230, 126, 34, 0.05) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(26, 188, 156, 0.05) 0%, transparent 25%);
    pointer-events: none;
}

.page-hero-creative h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: none; /* Removed shadow for cleaner light look */
}

.page-hero-creative h1 span {
    background: linear-gradient(135deg, #e67e22, #d35400); /* Darker Orange Gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-hero-creative p {
    font-size: 20px;
    color: #7f8c8d; /* Muted Dark Text */
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400; /* Slightly bolder for readability */
}

/* Bento Grid System */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.bento-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
}

.bento-card:hover { transform: translateY(-5px); }
.bento-card.large { grid-column: span 2; background: linear-gradient(135deg, #e67e22, #d35400); color: white; }
.bento-card.large h3, .bento-card.large p { color: white; }

.bento-card h3 { font-size: 42px; font-weight: 800; color: #2c3e50; margin-bottom: 5px; }
.bento-card p { color: #7f8c8d; font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }

/* Video Section */
.video-section {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    margin-bottom: 80px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    background: #000;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 900px) {
    .page-hero-creative { padding: 140px 20px 80px; }
    .page-hero-creative h1 { font-size: 42px; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-card.large { grid-column: auto; }
    .contact-grid { grid-template-columns: 1fr; }
}

/* Creative Team Section */
.team-section h2 { 
    text-align: center; 
    font-size: 38px; 
    color: #2c3e50; 
    margin-bottom: 60px;
    font-weight: 800; 
}

.team-section h2 span { 
    background: linear-gradient(135deg, #e67e22, #d35400);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 0 20px;
}

.team-card-creative {
    background: #ffffff;
    border-radius: 24px;
    padding: 15px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    background-clip: padding-box;
    z-index: 1;
}

/* Gradient Border Trick */
.team-card-creative::after {
    position: absolute;
    top: -2px; bottom: -2px;
    left: -2px; right: -2px;
    background: linear-gradient(135deg, #e67e22, #d35400, #2c3e50);
    content: '';
    z-index: -1;
    border-radius: 26px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-card-creative:hover::after {
    opacity: 1;
}

.team-card-creative:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(230, 126, 34, 0.15);
}

.team-img-wrapper {
    width: 100%;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

.team-card-creative:hover .team-img-wrapper img {
    transform: scale(1.1);
}

.team-info h4 {
    font-size: 24px;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

.team-info p {
    color: #e67e22;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding-bottom: 10px;
}

.team-social a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.team-social a:hover {
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: white;
    transform: translateY(-3px) rotate(5deg);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
    border-color: transparent;
}

/* =========================================
   CREATIVE PET LISTING STYLES (MODERN REFRESH)
   ========================================= */

/* Pet Hero Variant */
.page-hero-creative-pets {
    position: relative;
    padding: 160px 30px 80px;
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    overflow: hidden;
    text-align: center;
    color: #2c3e50;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    margin-bottom: 60px;
}

.page-hero-creative-pets h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.page-hero-creative-pets h1 span {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-hero-creative-pets p {
    font-size: 20px;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

/* Modern Full-Background Card */
.pet-card-creative {
    position: relative;
    height: 450px; /* Taller for dramatic effect */
    border-radius: 35px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    background: #000; /* Fallback */
    display: block;
}

.pet-card-creative:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.pet-card-img-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.pet-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.pet-card-creative:hover .pet-card-img-wrapper img {
    transform: scale(1.1);
}

.pet-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    z-index: 2;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.pet-card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 3;
    border: 1px solid rgba(255,255,255,0.3);
}

.pet-card-info h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 5px;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.pet-card-info p {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 500;
}

.pet-card-btn {
    display: inline-block;
    padding: 12px 25px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.4);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    width: fit-content;
}

.pet-card-creative:hover .pet-card-btn {
    background: white;
    color: #2c3e50;
    border-color: white;
}

/* =========================================
   CREATIVE PET DETAILS (EQUAL HEIGHT BENTO)
   ========================================= */

/* Back Button Modern */
.back-btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    padding: 12px 25px;
    background: white;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.back-btn-modern:hover {
    transform: translateX(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    color: #e67e22;
}

.pet-details-layout {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Equal split */
    gap: 40px;
    margin-bottom: 60px;
    align-items: stretch; /* Stretch to equal height */
}

/* Left Column: Hero Image */
.detail-bento-hero {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    height: 100%; /* Fill the grid height */
    min-height: 600px; /* Ensure visual impact */
}

.detail-image-full {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Right Column: Flex Container for content */
.detail-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    height: 100%;
}

.detail-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card-glass {
    background: white;
    padding: 25px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.02);
    transition: transform 0.3s ease;
}
.stat-card-glass:hover { transform: translateY(-5px); }

.stat-card-glass.wide {
    grid-column: span 2;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
}
.stat-card-glass.wide h4 { color: white; }
.stat-card-glass.wide p { color: rgba(255,255,255,0.7); }

.stat-card-glass h4 { font-size: 24px; font-weight: 800; color: #2c3e50; margin-bottom: 5px; }
.stat-card-glass p { font-size: 12px; color: #7f8c8d; text-transform: uppercase; font-weight: 600; letter-spacing: 1px; }

.detail-story-card {
    background: white;
    padding: 40px;
    border-radius: 35px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    flex-grow: 1; /* Fill remaining space */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.detail-story-card h3 { font-size: 28px; margin-bottom: 20px; color: #2c3e50; }
.detail-story-card p { color: #636e72; line-height: 1.8; font-size: 16px; margin-bottom: 30px; }

.adopt-btn-large {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    text-align: center;
    border-radius: 25px;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    box-shadow: 0 15px 35px rgba(39, 174, 96, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.adopt-btn-large:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(39, 174, 96, 0.4); }
.adopt-btn-large:disabled { background: #ccc; cursor: not-allowed; box-shadow: none; }

@media (max-width: 968px) {
    .pet-details-layout { grid-template-columns: 1fr; }
    .detail-bento-hero { height: 500px; min-height: auto; }
}

/* =========================================
   QUIZ MODAL STYLES
   ========================================= */
.quiz-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.85); /* Darker backdrop */
    backdrop-filter: blur(15px); /* Stronger blur */
    z-index: 10000;
    display: flex;
    align-items: center; /* Center vertically */
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    padding: 20px; /* Prevent touching edges on mobile */
    overflow-y: auto; /* Allow backdrop scrolling if needed */
}

.quiz-modal.active {
    opacity: 1;
    pointer-events: all;
}

.quiz-container {
    background: white;
    width: 100%;
    max-width: 650px;
    border-radius: 40px;
    padding: 0; /* Remove padding from container to handle scroll internally */
    position: relative;
    box-shadow: 0 40px 80px rgba(0,0,0,0.4);
    text-align: center;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-height: 85vh; /* Keep height constraint */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: auto;
    /* User requested scrollbar not to overlap edges */
    padding: 10px 5px 10px 0; /* Right padding creates space for scrollbar track */
}

/* Close button - Modern Floating Style */
.quiz-close {
    position: absolute;
    top: 15px; /* Adjusted for padding */
    right: 15px;
    z-index: 20;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    backdrop-filter: blur(5px);
}

.quiz-close i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.quiz-close:hover {
    background: #FF6B6B;
    color: white;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

/* Steps scroll internally with Custom Scrollbar */
.quiz-step { 
    display: none; 
    padding: 30px; /* Uniform padding */
    overflow-y: auto; 
    max-height: 100%;
    /* Brand Orange Scrollbar */
    scrollbar-width: thin; 
    scrollbar-color: #e67e22 transparent;
    padding-right: 15px; /* Extra space for content vs scrollbar */
}

/* Webkit Scrollbar Styling */
.quiz-step::-webkit-scrollbar {
    width: 8px; /* Slightly wider for visibility */
}
.quiz-step::-webkit-scrollbar-track {
    background: transparent;
    margin: 10px 0; /* Margin top/bottom for track */
}
.quiz-step::-webkit-scrollbar-thumb {
    background-color: #e67e22; /* Brand Orange */
    border-radius: 10px;
    border: 2px solid white; /* Creates a floating effect */
}
.quiz-step::-webkit-scrollbar-thumb:hover {
    background-color: #d35400; /* Darker Orange */
}

.quiz-step.active { display: block; animation: fadeIn 0.6s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.quiz-header { margin-bottom: 30px; position: relative; } /* Reduced margin */
.step-badge {
    background: #e67e22;
    color: white;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
}

.quiz-header h2 { font-size: 32px; color: #2c3e50; margin-bottom: 10px; font-weight: 800; line-height: 1.1; }
.quiz-header p { color: #636e72; font-size: 16px; line-height: 1.6; max-width: 80%; margin: 0 auto; }

.quiz-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.quiz-option {
    background: #ffffff;
    border: 2px solid #f1f2f6;
    border-radius: 30px;
    padding: 30px 20px; /* Reduced padding */
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.quiz-option:hover {
    border-color: #e67e22;
    box-shadow: 0 20px 40px rgba(230, 126, 34, 0.15);
    transform: translateY(-8px);
}

.option-icon {
    font-size: 40px;
    color: #dfe6e9;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.quiz-option:hover .option-icon { color: #e67e22; transform: scale(1.1); }

.quiz-option h3 { font-size: 18px; font-weight: 700; color: #2c3e50; margin-bottom: 8px; }
.quiz-option p { font-size: 13px; color: #95a5a6; margin: 0; }

/* Loading State */
.quiz-loading { padding: 40px 0; }
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f1f2f6;
    border-top: 5px solid #e67e22;
    border-radius: 50%;
    margin: 0 auto 30px;
    animation: spin 1s linear infinite;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Creative Results Styling */
.match-results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
    perspective: 1000px; /* For 3D effect */
}

.match-card {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    text-align: left;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    display: flex;
    flex-direction: column;
}

.match-card:hover { 
    transform: translateY(-10px) rotateX(2deg);
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

.match-img { 
    height: 180px; 
    overflow: hidden; 
    position: relative;
}

.match-img img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.6s ease;
}

.match-card:hover .match-img img { transform: scale(1.05); }

.match-info { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.match-info h3 { font-size: 20px; font-weight: 800; color: #2c3e50; margin-bottom: 5px; }
.match-info p { font-size: 13px; color: #7f8c8d; font-weight: 500; margin-bottom: 15px; }

.match-btn {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    text-decoration: none;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s;
    border: none;
}
.match-btn:hover { 
    background: linear-gradient(135deg, #e67e22, #d35400); 
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(230, 126, 34, 0.3);
}

/* Footer Actions */
.quiz-footer-actions {
    display: flex;
    flex-direction: column; /* Stack vertically for emphasis */
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.btn-assistant-special {
    background: linear-gradient(135deg, #e67e22, #d35400); /* Brand Primary - Orange */
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    border: none;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(230, 126, 34, 0.3);
    transition: all 0.3s;
    width: 100%;
    justify-content: center;
    max-width: 350px;
}

.btn-assistant-special:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(230, 126, 34, 0.4);
} This replaces the purple color with the brand orange */

.btn-assistant-special .btn-icon {
    background: rgba(255,255,255,0.2);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.btn-plain-text {
    background: none;
    border: none;
    color: #95a5a6;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s;
    padding: 10px;
}
.btn-plain-text:hover { color: #2c3e50; text-decoration: underline; }
/* =========================================
   MODERN ADOPTION MODAL (Fullscreen)
   ========================================= */
.modal {
    display: none; 
    position: fixed; 
    z-index: 99999; /* Top level Z-index to cover navbar */
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: hidden; /* Prevent background scroll interaction */
    background-color: rgba(15, 23, 42, 0.85); /* Darker backdrop */
    backdrop-filter: blur(15px); /* Strong glass effect */
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal.show {
    display: flex; /* Flex to center or manage layout */
    justify-content: center;
    align-items: center; /* Center initially, or top align if long */
    opacity: 1;
}

/* Modal Content Container */
.modal-content {
    background: rgba(255, 255, 255, 0.95);
    margin: auto;
    padding: 0; /* Remove default padding, handle in inner */
    border: 1px solid rgba(255,255,255,0.2);
    width: 90%;
    max-width: 600px;
    border-radius: 30px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-height: 90vh; /* Don't actully fill screen height, leave margins */
    display: flex;
    flex-direction: column;
}

.modal.show .modal-content {
    transform: scale(1);
}

/* Internal Scroll Area for Form */
.modal-scroll-area {
    padding: 40px;
    overflow-y: auto;
    max-height: 100%;
    /* Custom Scrollbar - Internal */
    scrollbar-width: thin;
    scrollbar-color: #e67e22 #f1f5f9;
}

/* Webkit Scrollbar for Modal Only */
.modal-scroll-area::-webkit-scrollbar {
    width: 8px;
}
.modal-scroll-area::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}
.modal-scroll-area::-webkit-scrollbar-thumb {
    background-color: #e67e22; /* Brand Orange */
    border-radius: 4px;
    border: 2px solid #f1f5f9; /* Padding effect */
}

/* Close Button */
.close-modal-modern {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}
.close-modal-modern:hover {
    background: #FF6B6B;
    color: white;
    transform: rotate(90deg);
}

/* Modern Form Elements */
.modal-header h2 {
    font-size: 32px;
    color: #1e293b;
    margin-bottom: 10px;
    line-height: 1.2;
}
.modal-header p {
    color: #64748b;
    margin-bottom: 30px;
}

.form-group-modern {
    margin-bottom: 25px;
    position: relative;
}

.form-group-modern label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.form-group-modern input, 
.form-group-modern textarea {
    width: 100%;
    padding: 16px 20px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    font-size: 16px;
    color: #334155;
    transition: all 0.3s;
    font-family: inherit;
}

.form-group-modern input:focus,
.form-group-modern textarea:focus {
    outline: none;
    border-color: #e67e22; /* Orange Focus */
    background: white;
    box-shadow: 0 0 0 4px rgba(230, 126, 34, 0.1);
}

.submit-btn-modern {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(230, 126, 34, 0.3);
}

.submit-btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 30px rgba(230, 126, 34, 0.4);
}

/* Helper to Hide Body Scroll */
body.modal-open {
    overflow: hidden !important;
    padding-right: 8px; /* Prevent layout shift from scrollbar removal */
}

/* =========================================
   SMART TRACKER POPUP (SPLIT HERO - PREMIUM)
   ========================================= */
.ai-popup-bounce {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 320px;
    background: white;
    border-radius: 30px;
    box-shadow: 
        0 40px 100px rgba(0,0,0,0.25),
        0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    overflow: hidden;
    z-index: 10000;
    animation: popInElastic 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.popup-visual {
    width: 45%;
    background: linear-gradient(135deg, #fff5eb, #ffe0b2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.popup-visual img {
    width: 140%;
    transform: translateY(10px);
    transition: transform 0.5s ease;
    animation: floatMascot 4s ease-in-out infinite;
}

.popup-visual::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 70%);
}

.popup-content-wrapper {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    position: relative;
}

.popup-content-wrapper h4 {
    font-size: 22px;
    color: #2c3e50;
    margin: 0 0 10px;
    font-weight: 800;
}

.popup-content-wrapper p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 25px;
}

.popup-actions-hero {
    display: flex;
    gap: 10px;
}

.btn-primary-hero {
    background: #e67e22;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(230, 126, 34, 0.25);
    transition: all 0.3s;
    flex: 1;
}

.btn-primary-hero:hover {
    background: #d35400;
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(230, 126, 34, 0.35);
}

.btn-secondary-hero {
    background: #f1f5f9;
    color: #64748b;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary-hero:hover {
    background: #e2e8f0;
    color: #334155;
}

.close-hero {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    color: #cbd5e1;
    cursor: pointer;
    transition: color 0.3s;
}
.close-hero:hover { color: #e67e22; }

@keyframes popInElastic {
    0% { opacity: 0; transform: translate(-50%, -40%) scale(0.8); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes floatMascot {
    0%, 100% { transform: translateY(10px) rotate(0deg); }
    50% { transform: translateY(0px) rotate(2deg); }
}

/* =========================================
   ADOPTION WIZARD STYLES
   ========================================= */
.wizard-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    padding: 0 10px;
    position: relative;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.wizard-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 40px;
    right: 40px;
    height: 3px;
    background: #e2e8f0;
    z-index: 1;
}

.progress-step {
    width: 40px;
    height: 40px;
    background: white;
    border: 3px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #64748b;
    position: relative;
    z-index: 2;
    transition: all 0.3s;
    font-size: 14px;
}

.progress-step.active {
    border-color: #e67e22;
    color: #e67e22;
    background: #fff5eb;
    box-shadow: 0 0 0 4px rgba(230, 126, 34, 0.1);
}

.progress-step.completed {
    background: #e67e22;
    border-color: #e67e22;
    color: white;
}

.wizard-step {
    display: none;
    animation: slideUpFade 0.4s ease;
}

.wizard-step.active {
    display: block;
}

.wizard-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.btn-prev {
    background: transparent;
    border: 2px solid #e2e8f0;
    color: #64748b;
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-prev:hover {
    background: #f1f5f9;
    color: #334155;
    border-color: #cbd5e1;
}

.btn-next {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

.summary-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid #e2e8f0;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}
.summary-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.summary-item strong { color: #64748b; font-weight: 500; }
.summary-item span { color: #1e293b; font-weight: 700; }

.success-container {
    text-align: center;
    padding: 40px 20px;
}
.success-anim-icon {
    width: 100px;
    height: 100px;
    background: #dcfce7;
    color: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    margin: 0 auto 30px;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.next-steps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}
.step-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}
.step-card i {
    font-size: 24px;
    color: #e67e22;
    margin-bottom: 10px;
    display: block;
}
.step-card h4 { margin: 0 0 5px; font-size: 14px; color: #1e293b; }
.step-card p { margin: 0; font-size: 12px; color: #64748b; }

@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    80% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); }
}

/* =========================================
   CREATIVE PRELOADER & POPUP REDESIGN
   ========================================= */

/* =========================================
   PREMIUM SPLIT PRELOADER
   ========================================= */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none; /* Allows click through after animation if needed, but we remove it JS side anyway */
}

/* The Orange Background Panels */
.curtain-panel {
    position: absolute;
    top: 0;
    width: 50.5%; /* Overlap slightly to prevent middle line gap */
    height: 100%;
    background: #e67e22; /* Brand Orange */
    z-index: 1;
    transition: transform 1.2s cubic-bezier(0.8, 0, 0.1, 1);
}

.curtain-left { left: 0; transform-origin: left; }
.curtain-right { right: 0; transform-origin: right; }

/* Content Center */
.loader-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.loader-text {
    font-size: 18px;
    font-weight: 600;
    color: white; /* White text on Orange */
    letter-spacing: 1px;
    margin-bottom: 25px;
    opacity: 0.9;
    font-family: 'Outfit', 'Poppins', sans-serif;
}

/* Progress Bar */
.loader-progress-bar {
    width: 150px;
    height: 4px;
    background: rgba(255,255,255,0.2); /* Semi-transparent white track */
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: white; /* White fill */
    border-radius: 10px;
    animation: loadProgress 2.2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes loadProgress { 0% { width: 0%; } 100% { width: 100%; } }

/* Responsive Adjustments for Mobile */
@media (max-width: 768px) {
    .loader-logo {
        width: 40px !important; /* Even smaller on mobile */
        margin-bottom: 15px !important;
    }
    
    .loader-text {
        font-size: 14px; /* Scaled down text */
        letter-spacing: 0.5px;
        margin-bottom: 20px;
    }

    .loader-progress-bar {
        width: 120px; /* Smaller bar */
        height: 3px;
    }
}

/* === EXIT ANIMATIONS (Triggered by JS) === */
#preloader.loaded .curtain-left {
    transform: translateX(-100%);
}

#preloader.loaded .curtain-right {
    transform: translateX(100%);
}

#preloader.loaded .loader-content {
    opacity: 0;
    transform: scale(0.9);
}

/* =========================================
   MODERN GRID POPUP (Strict Brand Colors)
   ========================================= */

.ai-popup-bounce {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.ai-grid-card {
    display: grid;
    grid-template-columns: 280px 1fr; /* Fixed visual width, variable content */
    width: 750px;
    background: white;
    border-radius: 30px;
    box-shadow: 0 40px 100px rgba(30, 27, 75, 0.25); /* Navy shadow */
    overflow: hidden;
    animation: zoomInSmooth 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes zoomInSmooth { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* --- Left Column: Visual --- */
.col-visual {
    background: #1e1b4b; /* Brand Navy */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.visual-circle-bg {
    position: absolute;
    width: 200px;
    height: 200px;
    background: #e67e22; /* Brand Orange */
    border-radius: 50%;
    opacity: 0.15;
    transform: scale(1.5);
    animation: pulseBg 4s infinite alternate;
}

@keyframes pulseBg { from { transform: scale(1.5); } to { transform: scale(1.8); } }

.mascot-grid-img {
    width: 140%;
    transform: translateX(20px) translateY(10px) rotate(-10deg);
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ai-grid-card:hover .mascot-grid-img {
    transform: translateX(10px) translateY(5px) rotate(0deg) scale(1.05);
}

/* --- Right Column: Content --- */
.col-content {
    padding: 50px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Header */
.header-group { margin-bottom: 30px; }

.brand-pill {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #e67e22; /* Orange */
    letter-spacing: 1px;
    background: rgba(230, 126, 34, 0.1);
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 15px;
}

.header-group h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #1e1b4b; /* Navy */
    line-height: 1.1;
    margin: 0 0 15px;
    letter-spacing: -0.5px;
}

.prob-text {
    font-size: 15px;
    color: #64748b; /* Neutral Slate */
    line-height: 1.6;
}

/* Mini Grid Features */
.features-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 35px;
}

.f-item {
    background: #f8fafc;
    border-radius: 12px;
    padding: 15px 10px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: 0.3s;
}

.f-item:hover {
    border-color: #e67e22;
    transform: translateY(-2px);
}

.f-icon {
    font-size: 18px;
    color: #1e1b4b;
    margin-bottom: 8px;
}

.f-item span {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}

/* Actions */
.action-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-navy-solid {
    background: #1e1b4b;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    padding: 14px 30px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(30, 27, 75, 0.2);
}

.btn-navy-solid:hover {
    background: #e67e22; /* Switch to Orange on hover */
    box-shadow: 0 15px 30px rgba(230, 126, 34, 0.3);
    transform: translateY(-2px);
}

.btn-ghost-muted {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-weight: 600;
    cursor: pointer;
}
.btn-ghost-muted:hover { color: #1e1b4b; }

.close-minimal {
    position: absolute;
    top: 25px;
    right: 25px;
    background: transparent;
    border: none;
    font-size: 18px;
    color: #cbd5e1;
    cursor: pointer;
    transition: 0.3s;
}
.close-minimal:hover { color: #1e1b4b; transform: rotate(90deg); }

/* Mobile */
@media (max-width: 800px) {
    .ai-grid-card { width: 90%; grid-template-columns: 1fr; }
    .col-visual { height: 180px; }
    .mascot-grid-img { width: 150px; transform: translateY(20px); }
    .col-content { padding: 30px; text-align: center; }
    .features-mini-grid { gap: 10px; }
    .action-group { justify-content: center; }
}

/* == Modern Creative Footer == */
.custom-footer-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-copyright {
    font-size: 0.9rem;
    color: #94a3b8; /* Slate-400 */
    font-weight: 500;
}

.footer-credit {
    font-size: 0.85rem;
    color: #cbd5e1; /* Slate-300 */
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bidayalab-link {
    color: #e67e22; /* Brand Orange */
    font-weight: 800; /* Extra Bold */
    text-decoration: none;
    position: relative;
    padding: 2px 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
    background: rgba(230, 126, 34, 0.1);
    letter-spacing: 0.5px;
}

.bidayalab-link:hover {
    background: #e67e22;
    color: white;
    box-shadow: 0 0 15px rgba(230, 126, 34, 0.4);
    transform: translateY(-2px);
}

.bidayalab-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: white;
    transition: 0.3s;
}

.bidayalab-link:hover::before {
    width: 100%;
}

@media (max-width: 768px) {
    .custom-footer-layout {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}
