/* ====== IMPORT BASE STYLES ====== */
:root {
    --primary-blue: #2c3e50;
    --dark-blue: #1a252f;
    --light-blue: #3498db;
    --accent-gold: #f1c40f;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #6c757d;
    --text-dark: #343a40;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-heavy: 0 20px 50px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --transition-slow: all 0.8s ease;
    --border-radius: 15px;
    --border-radius-lg: 25px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-dark);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.section-title.animated {
    opacity: 1;
    transform: translateY(0);
}

.section-subtitle {
    text-align: center;
    color: var(--dark-gray);
    margin-bottom: 50px;
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ====== WHATSAPP FLOAT ====== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
    z-index: 100;
    animation: floatPulse 3s infinite ease-in-out;
    transition: var(--transition);
}

@keyframes floatPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
    }
    50% { 
        transform: scale(1.1);
        box-shadow: 0 10px 35px rgba(37, 211, 102, 0.6);
    }
}

.whatsapp-float:hover {
    animation: none;
    transform: scale(1.15);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.7);
}

/* ====== HEADER - MATCHING INDEX STYLE ====== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: var(--transition-slow);
    padding: 25px 0;
}

.header.scrolled {
    background-color: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 60px;
    width: auto;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
    position: relative;
    transition: var(--transition);
    font-size: 0.9rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-gold);
}

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

.btn-book {
    background-color: var(--accent-gold);
    color: var(--text-dark);
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-book:hover {
    background-color: #e0b30a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(241, 196, 15, 0.3);
}

.menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
    transition: var(--transition);
    background: none;
    border: none;
}

.header.scrolled .menu-btn {
    color: var(--text-dark);
}

/* ====== MOBILE MENU - FIXED VERSION ====== */
@media (max-width: 768px) {
    /* Menu button */
    .menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001;
        position: relative;
        padding: 0;
    }
    
    .menu-btn i {
        font-size: 1.8rem;
        color: var(--white);
        transition: var(--transition);
    }
    
    .header.scrolled .menu-btn i {
        color: var(--text-dark);
    }
    
    /* Navbar - FIXED POSITIONING */
    .navbar {
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        width: 85% !important;
        max-width: 300px !important;
        height: 100vh !important;
        background-color: var(--white) !important;
        flex-direction: column !important;
        padding: 100px 30px 30px !important;
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.2) !important;
        transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
        z-index: 1000 !important;
        gap: 0 !important;
        display: flex !important;
        overflow-y: auto !important;
        margin: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .navbar.mobile-open {
        left: 0 !important;
    }
    
    /* Nav links - VISIBLE */
    .navbar .nav-link {
        color: var(--text-dark) !important;
        padding: 15px 0 !important;
        border-bottom: 1px solid var(--medium-gray) !important;
        font-weight: 500 !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
        font-size: 1rem !important;
        width: 100% !important;
        text-align: left !important;
        transition: var(--transition) !important;
        display: block !important;
        margin: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .navbar .nav-link:hover,
    .navbar .nav-link.active {
        color: var(--primary-blue) !important;
        background-color: rgba(241, 196, 15, 0.1) !important;
        padding-left: 15px !important;
    }
    
    .navbar .btn-book {
        margin-top: 30px !important;
        align-self: stretch !important;
        text-align: center !important;
        padding: 15px !important;
        background-color: var(--accent-gold) !important;
        color: var(--text-dark) !important;
        border-radius: 8px !important;
        width: 100% !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        border: none !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Overlay when menu is open */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        pointer-events: none;
    }
    
    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden !important;
        position: fixed;
        width: 100%;
        height: 100%;
    }
}

/* ====== FOOTER - MATCHING INDEX STYLE ====== */
.footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 60px;
    width: auto;
}

.footer-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
}

.footer-logo-text span {
    color: var(--accent-gold);
}

.footer-about-text {
    margin: 15px 0;
    opacity: 0.8;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

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

.footer-social a:hover {
    background-color: var(--accent-gold);
    transform: translateY(-5px);
    color: var(--text-dark);
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: var(--white);
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--accent-gold);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    opacity: 0.8;
    transition: var(--transition);
    font-size: 0.95rem;
    color: var(--white);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-contact {
    margin-top: 10px;
}

.contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    align-items: flex-start;
}

.contact-item i {
    color: var(--accent-gold);
    font-size: 1rem;
    margin-top: 3px;
}

.contact-item a, 
.contact-item p {
    opacity: 0.8;
    transition: var(--transition);
    font-size: 0.95rem;
    color: var(--white);
    text-decoration: none;
}

.contact-item a:hover {
    opacity: 1;
    color: var(--accent-gold);
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-color: var(--dark-blue);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    opacity: 0.7;
    font-size: 0.9rem;
    color: var(--white);
}

.developer-credit {
    opacity: 0.8;
    font-size: 0.9rem;
    color: var(--white);
}

.developer-credit a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 600;
}

.developer-credit a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    opacity: 0.7;
    transition: var(--transition);
    font-size: 0.9rem;
    color: var(--white);
    text-decoration: none;
}

.footer-legal a:hover {
    opacity: 1;
    color: var(--accent-gold);
}

/* ====== SCROLL TO TOP BUTTON ====== */
.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 90px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: var(--accent-gold);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 20px rgba(241, 196, 15, 0.3);
}

/* ====== CLEAN HERO SECTION ====== */
.clean-hero {
    position: relative;
    height: 85vh;
    min-height: 650px;
    background: url('imgs/hero-section/2.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Changed from center to flex-start */
    overflow: hidden;
}

/* Responsive height adjustments */
@media (min-width: 1920px) {
    .clean-hero {
        height: 75vh;
        min-height: 700px;
    }
}

@media (max-width: 1200px) {
    .clean-hero {
        height: 80vh;
        min-height: 600px;
    }
}

@media (max-width: 768px) {
    .clean-hero {
        height: 70vh;
        min-height: 500px;
    }
}

@media (max-width: 480px) {
    .clean-hero {
        height: 60vh;
        min-height: 400px;
    }
}

/* ADD THIS: Top Gradient (like the bottom) */
.hero-gradient-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to bottom, 
        rgba(44, 62, 80, 0.9) 0%, 
        rgba(44, 62, 80, 0.6) 50%, 
        transparent 100%);
    z-index: 1;
}

.hero-gradient-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(44, 62, 80, 0.95) 0%, 
        rgba(44, 62, 80, 0.8) 50%, 
        transparent 100%);
    z-index: 1;
}

.hero-gradient-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, 
        rgba(44, 62, 80, 0.9) 0%, 
        rgba(44, 62, 80, 0.6) 50%, 
        transparent 100%);
    z-index: 1;
}

.hero-wipe {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%);
    animation: heroWipe 8s infinite linear;
    pointer-events: none;
    z-index: 2;
}

@keyframes heroWipe {
    0% { left: -100%; }
    100% { left: 100%; }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: left; /* Ensure text alignment is left */
    width: 100%;
    padding-left: 20px; /* Add left padding to move text from edge */
    padding-right: 20px;
}

@media (max-width: 768px) {
    .hero-content {
        padding-left: 30px; /* Reduce padding on mobile */
        padding-right: 30px;
        text-align: center; /* Center text on mobile for better readability */
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.hero-main-title {
    font-size: 5.5rem;
    margin-bottom: 80px;
    color: white;
    text-shadow: 3px 3px 15px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Changed from center to flex-start */
    gap: 5px;
    max-width: 80%; /* Limit width for better readability */
}

@media (max-width: 768px) {
    .hero-main-title {
        font-size: 3.5rem;
        margin-bottom: 50px;
        align-items: center; /* Center on mobile */
        text-align: center;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-main-title {
        font-size: 2.8rem;
        margin-bottom: 40px;
    }
}

.title-line {
    display: block;
    line-height: 1;
}

.highlight {
    color: #f1c40f;
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #f1c40f;
    transform: scaleX(0);
    transform-origin: left;
    animation: highlightGrow 1.5s ease forwards 0.5s;
}

@keyframes highlightGrow {
    to { transform: scaleX(1); }
}

.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: white;
    z-index: 3;
}

.mouse-wheel {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 15px;
    position: relative;
    animation: mouseFloat 2s infinite ease-in-out;
}

@keyframes mouseFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.wheel {
    width: 4px;
    height: 10px;
    background: #f1c40f;
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheelScroll 2s infinite;
}

@keyframes wheelScroll {
    0% { top: 10px; opacity: 1; }
    50% { top: 30px; opacity: 0.5; }
    100% { top: 10px; opacity: 1; }
}

.scroll-hint p {
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: hintPulse 2s infinite;
}

@keyframes hintPulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* ====== CLEAN STORY SECTION ====== */
.clean-story {
    padding: 100px 0;
    background: #f9f9f9;
}

@media (max-width: 768px) {
    .clean-story {
        padding: 60px 0;
    }
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 60px;
}

@media (max-width: 992px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

.story-image-box {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
    transform-style: preserve-3d;
}

.image-wrapper img {
    width: 100%;
    height: 650px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

@media (max-width: 768px) {
    .image-wrapper img {
        height: 500px;
    }
}

@media (max-width: 480px) {
    .image-wrapper img {
        height: 400px;
    }
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(44,62,80,0.1) 0%, rgba(241,196,15,0.1) 100%);
    pointer-events: none;
    z-index: 1;
}

.image-wipe {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        transparent 100%);
    animation: imageWipe 6s infinite linear;
    pointer-events: none;
    z-index: 2;
}

@keyframes imageWipe {
    0% { left: -100%; }
    100% { left: 100%; }
}

.story-content-box {
    padding: 30px;
}

@media (max-width: 992px) {
    .story-content-box {
        padding: 0;
    }
}

.content-inner {
    max-width: 500px;
    margin: 0 auto;
}

.story-title {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: #2c3e50;
    position: relative;
    padding-bottom: 15px;
}

.story-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #f1c40f;
}

.story-text {
    margin-bottom: 40px;
}

.story-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.story-text p.animated {
    opacity: 1;
    transform: translateY(0);
}

.story-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

@media (max-width: 768px) {
    .story-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.stat-item {
    background: white;
    padding: 25px 20px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 20px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s ease;
}

.stat-item.animated {
    opacity: 1;
    transform: scale(1);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f1c40f 0%, #e0b30a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.stat-content h4 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 5px;
    font-weight: 700;
}

.stat-content p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* ====== STATIC MISSION & VISION ====== */
.static-mission-vision {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .static-mission-vision {
        padding: 60px 0;
    }
}

.static-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('imgs/abt-bg.png') center/cover fixed;
    opacity: 0.7;
    z-index: 1;
}

.static-mission-vision .container {
    position: relative;
    z-index: 2;
}

.purpose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

@media (max-width: 992px) {
    .purpose-grid {
        grid-template-columns: 1fr;
        gap: 80px;
    }
}

.purpose-card {
    background: white;
    border-radius: 25px;
    padding: 70px 40px 40px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0,0,0,0.1);
    border: 1px solid rgba(241, 196, 15, 0.2);
    min-height: 450px;
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .purpose-card {
        padding: 60px 30px 30px;
        min-height: 400px;
    }
}

.card-icon-container {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.card-icon {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    animation: cardIconPulse 3s infinite ease-in-out;
}

@keyframes cardIconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.mission-card .card-icon {
    background: linear-gradient(135deg, #f1c40f 0%, #e0b30a 100%);
}

.vision-card .card-icon {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #2c3e50;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.card-title.animated {
    opacity: 1;
    transform: translateY(0);
}

.card-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
    flex: 1;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease 0.2s;
}

.card-text.animated {
    opacity: 1;
    transform: translateY(0);
}

.card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #2c3e50;
    font-weight: 500;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s ease;
}

.card-list li.animated {
    opacity: 1;
    transform: translateX(0);
}

.card-list i {
    color: #f1c40f;
    font-size: 1.1rem;
}

/* ====== CORE VALUES SECTION ====== */
.core-values-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

@media (max-width: 768px) {
    .core-values-section {
        padding: 60px 0;
    }
}

.values-container {
    margin-top: 60px;
}

.value-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 992px) {
    .value-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .value-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.value-item {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    border-top: 4px solid #f1c40f;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
}

.value-item.animated {
    opacity: 1;
    transform: translateY(0);
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.value-icon-box {
    margin-bottom: 25px;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    animation: valueIconFloat 3s infinite ease-in-out;
}

@keyframes valueIconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.value-content {
    flex: 1;
}

.value-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.value-desc {
    color: #666;
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
}

/* ====== FOUNDER SECTION ====== */
.founder-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
}

@media (max-width: 768px) {
    .founder-section {
        padding: 60px 0;
    }
}

.founder-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 60px;
}

@media (max-width: 992px) {
    .founder-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

.founder-image {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0,0,0,0.2);
}

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

@media (max-width: 768px) {
    .image-frame img {
        height: 500px;
    }
}

.image-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 70%);
    animation: shineRotate 6s infinite linear;
    pointer-events: none;
    z-index: 2;
}

@keyframes shineRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.founder-content {
    padding: 30px;
}

@media (max-width: 992px) {
    .founder-content {
        padding: 0;
    }
}

.founder-quote {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: white;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.quote-start, .quote-end {
    position: absolute;
    color: rgba(241, 196, 15, 0.5);
    font-size: 2.5rem;
}

.quote-start {
    top: 20px;
    left: 20px;
}

.quote-end {
    bottom: 20px;
    right: 20px;
}

.quote-text {
    font-size: 1.3rem;
    line-height: 1.8;
    font-style: italic;
    text-align: center;
    margin: 0 0 20px 0;
    position: relative;
    z-index: 2;
    color: white;
}

.quote-author {
    text-align: right;
    font-weight: 600;
    color: #f1c40f;
    margin: 0;
    position: relative;
    z-index: 2;
    font-size: 1.1rem;
}

.founder-info {
    padding: 20px;
}

.founder-name {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 5px;
}

.founder-title {
    color: #f1c40f;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.founder-highlights {
    margin-bottom: 30px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.highlight-item.animated {
    opacity: 1;
    transform: translateX(0);
}

.highlight-item i {
    color: #f1c40f;
    font-size: 1.8rem;
    margin-top: 5px;
    flex-shrink: 0;
}

.highlight-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #2c3e50;
}

.highlight-item p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

.founder-bio {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid #f1c40f;
}

/* ====== MODERN WHY CHOOSE US - COMPLETELY REDESIGNED ====== */
.modern-why-choose {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .modern-why-choose {
        padding: 60px 0;
    }
}

/* Features Grid Modern */
.features-grid-modern {
    margin-top: 80px;
    position: relative;
}

.features-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 992px) {
    .features-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .features-row {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* Feature Card Modern */
.feature-card-modern {
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.feature-card-modern.animated {
    opacity: 1;
    transform: translateY(0);
}

.feature-card-inner {
    background: white;
    border-radius: 25px;
    padding: 40px 35px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    border: 2px solid transparent;
    z-index: 2;
}

.feature-card-modern:hover .feature-card-inner {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
    border-color: #f1c40f;
}

/* Feature Icon Modern */
.feature-icon-modern {
    position: relative;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
}

.feature-icon-wrapper {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #f1c40f 0%, #e0b30a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    position: relative;
    z-index: 2;
    box-shadow: 0 15px 35px rgba(241, 196, 15, 0.25);
    transition: all 0.4s ease;
}

.feature-card-modern:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
}

.feature-pulse-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: rgba(241, 196, 15, 0.1);
    border-radius: 50%;
    animation: pulseEffect 2s infinite ease-in-out;
    z-index: 1;
}

@keyframes pulseEffect {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.2;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
}

/* Feature Content */
.feature-content {
    position: relative;
    text-align: center;
}

.feature-number {
    position: absolute;
    top: -20px;
    right: 0;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(44, 62, 80, 0.03);
    line-height: 1;
    z-index: 1;
    transition: all 0.4s ease;
}

.feature-card-modern:hover .feature-number {
    color: rgba(241, 196, 15, 0.05);
    transform: scale(1.1);
}

.feature-title-modern {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
    position: relative;
    z-index: 2;
    font-weight: 600;
    transition: all 0.4s ease;
}

.feature-card-modern:hover .feature-title-modern {
    color: #f1c40f;
}

.feature-desc-modern {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.feature-card-modern:hover .feature-desc-modern {
    color: #555;
}

/* Hover Line */
.feature-hover-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #f1c40f 0%, #e0b30a 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card-modern:hover .feature-hover-line {
    transform: scaleX(1);
}

/* Connector Line */
.features-connector-line {
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(241, 196, 15, 0.3) 25%,
        rgba(241, 196, 15, 0.6) 50%,
        rgba(241, 196, 15, 0.3) 75%,
        transparent 100%);
    z-index: 1;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: all 1.2s ease 0.5s;
}

.features-connector-line.animated {
    opacity: 1;
    transform: scaleX(1);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .features-row {
        gap: 30px;
    }
    
    .feature-card-inner {
        padding: 35px 30px;
    }
    
    .feature-icon-wrapper {
        width: 90px;
        height: 90px;
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .features-connector-line {
        display: none;
    }
    
    .feature-number {
        font-size: 4rem;
    }
    
    .feature-title-modern {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .features-row {
        gap: 25px;
    }
    
    .feature-card-inner {
        padding: 30px 25px;
        border-radius: 20px;
    }
    
    .feature-icon-wrapper {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .feature-pulse-effect {
        width: 100px;
        height: 100px;
    }
    
    .feature-number {
        font-size: 3.5rem;
    }
    
    .feature-title-modern {
        font-size: 1.3rem;
    }
    
    .feature-desc-modern {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .feature-card-inner {
        padding: 25px 20px;
    }
    
    .feature-icon-wrapper {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .feature-number {
        font-size: 3rem;
    }
    
    .feature-title-modern {
        font-size: 1.2rem;
    }
}

/* Add floating animation for feature cards */
.feature-card-modern:nth-child(odd) .feature-card-inner {
    animation: floatCard 6s ease-in-out infinite;
}

.feature-card-modern:nth-child(even) .feature-card-inner {
    animation: floatCard 6s ease-in-out infinite 1s;
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Shimmer effect on hover */
.feature-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        transparent 100%);
    transition: left 0.8s ease;
    z-index: 1;
    pointer-events: none;
}

.feature-card-modern:hover .feature-card-inner::before {
    left: 100%;
}

/* Add subtle pattern background */
.features-grid-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(241, 196, 15, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(44, 62, 80, 0.03) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

/* ====== MILESTONES SECTION ====== */
.milestones-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: white;
}

@media (max-width: 768px) {
    .milestones-section {
        padding: 60px 0;
    }
}

.milestones-section .section-title,
.milestones-section .section-subtitle {
    color: white;
}

.milestones-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
}

@media (max-width: 992px) {
    .milestones-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .milestones-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.milestone-item {
    text-align: center;
    opacity: 0;
    transform: scale(0.5);
}

.milestone-item.animated {
    opacity: 1;
    transform: scale(1);
}

.milestone-circle {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 30px;
}

@media (max-width: 480px) {
    .milestone-circle {
        width: 150px;
        height: 150px;
    }
}

.circle-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 8px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    border-top: 8px solid #f1c40f;
    border-right: 8px solid #f1c40f;
    animation: circleSpin 3s linear infinite;
}

@keyframes circleSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.circle-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.circle-content h3 {
    font-size: 3.5rem;
    color: white;
    margin: 0;
    display: inline-block;
    font-weight: 700;
}

@media (max-width: 480px) {
    .circle-content h3 {
        font-size: 2.8rem;
    }
}

.milestone-plus, .milestone-percent {
    color: #f1c40f;
    font-size: 2rem;
    font-weight: bold;
    margin-left: 5px;
    display: inline-block;
}

.milestone-info h4 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #f1c40f;
}

.milestone-info p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    margin: 0;
}

/* ====== STATIC CTA SECTION ====== */
.static-cta-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .static-cta-section {
        padding: 60px 0;
    }
}

.cta-static-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('imgs/gallery/13.png') center/cover fixed;
    z-index: 1;
}

.cta-light-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.88);
    z-index: 2;
}

.cta-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 25px;
    color: white;
    opacity: 0;
    transform: scale(0.8);
}

@media (max-width: 768px) {
    .cta-title {
        font-size: 2.2rem;
    }
}

.cta-title.animated {
    opacity: 1;
    transform: scale(1);
}

.cta-text {
    font-size: 1.3rem;
    margin: 0 auto 50px;
    opacity: 0.9;
    opacity: 0;
    transform: translateY(30px);
}

.cta-text.animated {
    opacity: 1;
    transform: translateY(0);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(30px);
}

.cta-buttons.animated {
    opacity: 1;
    transform: translateY(0);
}

.cta-btn {
    padding: 18px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 200px;
    justify-content: center;
}

@media (max-width: 768px) {
    .cta-btn {
        width: 100%;
        max-width: 300px;
    }
}

.cta-btn.primary {
    background: linear-gradient(135deg, #f1c40f 0%, #e0b30a 100%);
    color: #2c3e50;
    box-shadow: 0 15px 40px rgba(241, 196, 15, 0.4);
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    box-shadow: 0 15px 40px rgba(255,255,255,0.2);
}

.cta-btn.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.cta-btn.primary:hover {
    background: linear-gradient(135deg, #e0b30a 0%, #d4ab0a 100%);
}

.cta-btn.secondary:hover {
    background: white;
    color: #2c3e50;
}

.cta-btn.whatsapp:hover {
    background: linear-gradient(135deg, #128C7E 0%, #0e735c 100%);
}

.cta-features {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
}

.cta-features.animated {
    opacity: 1;
    transform: translateY(0);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
}

.feature-item i {
    color: #f1c40f;
    font-size: 1.3rem;
}

/* ====== ANIMATION UTILITIES ====== */
.animated-box {
    opacity: 0;
}

[data-animation="slide-left"].animated {
    animation: slideFromLeft 1s ease forwards;
}

[data-animation="slide-right"].animated {
    animation: slideFromRight 1s ease forwards;
}

[data-animation="slide-up"].animated {
    animation: slideFromUp 1s ease forwards;
}

[data-animation="fade-up"].animated {
    animation: fadeFromUp 1s ease forwards;
}

[data-animation="zoom-in"].animated {
    animation: zoomIn 1s ease forwards;
}

[data-animation="counter-pop"].animated {
    animation: counterPop 1s ease forwards;
}

.fade-in-text {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in-text.animated {
    opacity: 1;
    transform: translateY(0);
}

.pop-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s ease;
}

.pop-in.animated {
    opacity: 1;
    transform: scale(1);
}

@keyframes slideFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes counterPop {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(-180deg);
    }
    70% {
        transform: scale(1.2) rotate(0deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* ====== RESPONSIVE IMPROVEMENTS ====== */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-main-title {
        font-size: 4.5rem;
    }
    
    .purpose-card {
        min-height: 500px;
    }
}

@media (max-width: 992px) {
    .story-grid,
    .founder-grid {
        gap: 40px;
    }
    
    .value-row {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .hero-main-title {
        font-size: 3rem;
    }
    
    .purpose-card {
        min-height: 450px;
    }
    
    .milestones-grid {
        gap: 30px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-main-title {
        font-size: 2.5rem;
    }
    
    .story-title,
    .founder-name {
        font-size: 1.8rem;
    }
    
    .card-title,
    .value-title,
    .feature-title {
        font-size: 1.3rem;
    }
    
    .purpose-card {
        padding: 50px 25px 25px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-text {
        font-size: 1.1rem;
    }
}

/* ====== LOADING ANIMATION FOR IMAGES ====== */
img {
    transition: opacity 0.3s ease;
}

/* ====== PREVENT ZOOM ON MOBILE ====== */
@media (max-width: 768px) {
    input, select, textarea {
        font-size: 16px !important;
    }
}

/* ====== ENHANCE MOBILE TOUCH TARGETS ====== */
@media (max-width: 768px) {
    button, 
    .btn, 
    .cta-btn, 
    .nav-link, 
    .value-item, 
    .feature-card-modern {
        min-height: 44px !important;
        min-width: 44px !important;
    }
    
    .nav-link {
        display: flex !important;
        align-items: center !important;
        height: 44px !important;
    }
}

/* ====== HIDE COUNTERS ON MOBILE ====== */
@media (max-width: 768px) {
    .story-stats {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .story-stats {
        display: grid !important;
    }
}

/* ====== FIX FOUNDER QUOTE TEXT COLOR ====== */
.quote-text {
    color: #ffffff !important;
    opacity: 1 !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3) !important;
}

.quote-author {
    color: #f1c40f !important;
    opacity: 1 !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3) !important;
}

/* ====== FIX MISSION/VISION ICONS ====== */
.purpose-card {
    min-height: 480px !important;
    padding-top: 70px !important;
    overflow: visible !important;
}

.card-icon-container {
    position: absolute !important;
    top: -40px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 90px !important;
    height: 90px !important;
    z-index: 10 !important;
}

.card-icon {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 2rem !important;
}

/* Reduce icon pulse animation */
@keyframes cardIconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Smaller icons on mobile */
@media (max-width: 768px) {
    .purpose-card {
        min-height: 420px !important;
        padding-top: 60px !important;
        padding: 50px 25px 25px !important;
    }
    
    .card-icon-container {
        width: 70px !important;
        height: 70px !important;
        top: -30px !important;
    }
    
    .card-icon {
        font-size: 1.5rem !important;
        animation: cardIconPulse 4s infinite ease-in-out !important;
    }
}

/* Even smaller on very small screens */
@media (max-width: 480px) {
    .purpose-card {
        min-height: 380px !important;
        padding-top: 55px !important;
        padding: 45px 20px 20px !important;
    }
    
    .card-icon-container {
        width: 60px !important;
        height: 60px !important;
        top: -25px !important;
    }
    
    .card-icon {
        font-size: 1.3rem !important;
    }
}


/* ====== MODAL STYLES FOR ABOUT PAGE ====== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    animation: modalSlideUp 0.3s ease;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 2px solid var(--medium-gray);
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.8rem;
}

.close-modal {
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 30px;
}

.legal-content {
    font-family: 'Poppins', sans-serif;
}

.legal-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--medium-gray);
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-section h4 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-gold);
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.legal-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.legal-section a:hover {
    color: var(--accent-gold);
    text-decoration: underline;
}

/* ====== COOKIE CONSENT BANNER ====== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-blue);
    color: var(--white);
    padding: 20px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
    z-index: 9999;
    display: none;
    border-top: 3px solid var(--accent-gold);
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.cookie-content p {
    flex: 1;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    min-width: 300px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.9rem;
    min-width: 120px;
}

.cookie-btn.accept {
    background-color: var(--accent-gold);
    color: var(--text-dark);
}

.cookie-btn.accept:hover {
    background-color: #e0b30a;
    transform: translateY(-2px);
}

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

.cookie-btn.essential:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.cookie-btn.settings {
    background-color: var(--white);
    color: var(--primary-blue);
}

.cookie-btn.settings:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
}

/* Cookie Settings Modal */
.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

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

.cookie-modal .modal-content {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.cookie-modal h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--text-dark);
    text-align: center;
}

.cookie-option {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: var(--transition);
}

.cookie-option:hover {
    border-color: var(--primary-blue);
    background-color: #f8f9fa;
}

.cookie-option input[type="checkbox"] {
    margin-top: 5px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.cookie-option label {
    flex: 1;
    cursor: pointer;
}

.cookie-option label strong {
    display: block;
    margin-bottom: 5px;
    color: var(--text-dark);
    font-size: 1rem;
}

.cookie-option label span {
    display: block;
    font-size: 0.85rem;
    color: var(--dark-gray);
    line-height: 1.4;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.save-btn, .close-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    flex: 1;
    transition: var(--transition);
}

.save-btn {
    background-color: var(--primary-blue);
    color: var(--white);
}

.save-btn:hover {
    background-color: var(--dark-blue);
    transform: translateY(-2px);
}

.close-btn {
    background-color: var(--medium-gray);
    color: var(--text-dark);
}

.close-btn:hover {
    background-color: #dee2e6;
    transform: translateY(-2px);
}

/* ====== FIX FOOTER SPACING ====== */
@media (max-width: 768px) {
    /* Add spacing to footer columns on mobile */
    .footer-content {
        gap: 30px;
        padding: 0 5%;
    }
    
    .footer-col {
        padding-left: 2%;
        padding-right: 2%;
    }
    
    .footer-links {
        margin-left: 1.5%;
    }
    
    .footer-links li {
        margin-bottom: 12px;
    }
    
    .footer-links a {
        display: inline-block;
        padding: 3px 0;
        min-width: 100%;
    }
    
    .footer-title {
        padding-left: 1.5%;
    }
    
    .footer-contact {
        padding-left: 1.5%;
    }
    
    .contact-item {
        padding-left: 1%;
    }
    
    /* Fix footer bottom spacing */
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 0 5%;
    }
    
    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
        padding: 0 5%;
    }
    
    /* Cookie banner mobile responsiveness */
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-content p {
        min-width: auto;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        min-width: 100px;
        padding: 8px 15px;
    }
}

@media (max-width: 576px) {
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
    
    /* More spacing for very small screens */
    .footer-content {
        padding: 0 3%;
        gap: 25px;
    }
    
    .footer-col {
        padding-left: 3%;
        padding-right: 3%;
    }
    
    .footer-links {
        margin-left: 2%;
    }
    
    .footer-title {
        padding-left: 2%;
    }
    
    .footer-contact {
        padding-left: 2%;
    }
}

/* ====== KEYBOARD SHORTCUTS ====== */
@media (max-width: 768px) {
    /* Add margin to prevent content from being too close to edges */
    .footer-about {
        padding: 0 10px;
    }
}

/* Add animation for cookie messages */
@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(-20px); }
    10% { opacity: 1; transform: translateY(0); }
    90% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-20px); }
}


/* Add this to your about.css file */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    animation: modalSlideUp 0.3s ease;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 2px solid var(--medium-gray);
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.8rem;
}

.close-modal {
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 30px;
}