/* CSS Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0A2845;
    --accent: #AF4D58;
    --orange: #D68F41;
    --cream: #F4EFE9;
    --header-bg: #eaeaea;
    --pure-white: #FFFFFF;
    --grey: #666666;
    --gradient-1: linear-gradient(135deg, #0A2845 0%, #AF4D58 100%);
    --gradient-2: linear-gradient(135deg, #AF4D58 0%, #D68F41 100%);
    --gradient-3: linear-gradient(135deg, #0A2845 0%, #AF4D58 50%, #D68F41 100%);
    --gradient-soft: linear-gradient(135deg, rgba(10, 40, 69, 0.05) 0%, rgba(175, 77, 88, 0.05) 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--cream);
    color: var(--primary);
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Cursor Trail Effect - Hide on mobile */
.vd-about-cursor-trail {
    position: fixed;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(175, 77, 88, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: all 0.1s ease;
    display: none;
}

@media (min-width: 1024px) {
    .vd-about-cursor-trail {
        display: block;
    }
}

/* Noise Texture */
.vd-about-noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.02;
    z-index: 1;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIj48ZmlsdGVyIGlkPSJhIj48ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iLjc1IiBudW1PY3RhdmVzPSIxMCIvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbHRlcj0idXJsKCNhKSIgb3BhY2l0eT0iMSIvPjwvc3ZnPg==');
}

/* Hero Section with Simple Animation */
.vd-about-hero {
    height: 95vh;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(10, 40, 69, 0.9) 0%, rgba(175, 77, 88, 0.8) 100%), url('../images/hero/Activities.webp') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.vd-about-hero-content {
    position: relative;
    text-align: center;
    z-index: 2;
    max-width: 900px;
    width: 85%;
    padding: 0 0px;
}

.vd-about-hero-tag {
    font-size: 15px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 25px;
    margin-top: 0px !important;
    color: var(--orange);
    opacity: 0;
    transform: translateY(60px);
    animation: heroFadeInUp 1s ease-out 0.5s forwards;
}

.vd-about-hero-title {
    font-size: clamp(40px, 7vw, 90px);
    font-weight: 100;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--pure-white);
    opacity: 0;
    transform: translateY(60px);
    animation: heroFadeInUp 1s ease-out 0.7s forwards;
}

.vd-about-hero-title strong {
    font-weight: 700;
    color: var(--orange);
}

.vd-about-hero-subtitle {
    font-size: clamp(17px, 2.5vw, 24px);
    font-weight: 200;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 1.5px;
    opacity: 0;
    transform: translateY(60px);
    animation: heroFadeInUp 1s ease-out 0.9s forwards;
}

.vd-about-hero-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(60px);
    animation: heroFadeInUp 1s ease-out 1.1s forwards;
}

.vd-about-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vd-about-hero-btn-primary {
    background: var(--gradient-2);
    color: var(--pure-white);
    border: 2px solid transparent;
}

.vd-about-hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(175, 77, 88, 0.4);
}

.vd-about-hero-btn-outline {
    background: transparent;
    color: var(--pure-white);
    border: 2px solid var(--pure-white);
}

.vd-about-hero-btn-outline:hover {
    background: var(--pure-white);
    color: var(--primary);
}

/* Hero-specific animation to avoid conflicts */
@keyframes heroFadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section with Vision & Mission */
.about-section {
    padding: 80px 0;
    background: var(--pure-white);
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

.section-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 200;
    color: var(--primary);
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.section-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--grey);
    line-height: 1.6;
}

.vision-mission-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 60px;
}

.vm-card {
    background: var(--gradient-soft);
    padding: 60px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-2);
}

.vm-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(175, 77, 88, 0.1) 0%, transparent 70%);
    transition: all 0.6s ease;
    transform: scale(0);
}

.vm-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.vm-card:hover::after {
    transform: scale(2);
}

.vm-icon {
    font-size: 48px;
    color: var(--accent);
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.vm-card:hover .vm-icon {
    transform: scale(1.1);
    color: var(--orange);
}

.vm-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.vm-text {
    font-size: 18px;
    color: var(--grey);
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

/* Journey Timeline */
.journey-section {
    padding: 120px 0;
    background: var(--gradient-soft);
    position: relative;
}

.timeline {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-1);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding: 50px 0;
    transition: all 0.3s ease;
}

.timeline-content {
    width: 45%;
    padding: 40px;
    background: var(--pure-white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 30px;
    width: 0;
    height: 0;
    border: 15px solid transparent;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -30px;
    border-left-color: var(--pure-white);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -30px;
    border-right-color: var(--pure-white);
}

.timeline-content:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 60px;
    width: 24px;
    height: 24px;
    background: var(--gradient-2);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 6px var(--cream), 0 0 0 12px rgba(175, 77, 88, 0.2);
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    transform: translateX(-50%) scale(1.2);
    box-shadow: 0 0 0 6px var(--cream), 0 0 0 18px rgba(175, 77, 88, 0.3);
}

.timeline-year {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 15px;
    position: relative;
}

.timeline-year::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-2);
    border-radius: 2px;
}

.timeline-title {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.timeline-text {
    color: var(--grey);
    line-height: 1.7;
    font-size: 16px;
}

/* Responsive Design */

/* Large Desktop (1920px+) */
@media (min-width: 1920px) {
    .vd-about-hero-content {
        max-width: 1200px;
    }
    
    .vision-mission-container {
        max-width: 1600px;
        padding: 0 80px;
        gap: 80px;
    }
    
    .timeline {
        max-width: 1400px;
        padding: 0 80px;
    }
    
    .vm-card {
        padding: 80px;
    }
    
    .timeline-content {
        padding: 50px;
    }
}

/* Desktop (1440px - 1919px) */
@media (max-width: 1919px) and (min-width: 1440px) {
    .vision-mission-container {
        padding: 0 70px;
        gap: 70px;
    }
    
    .timeline {
        padding: 0 70px;
    }
    
    .vm-card {
        padding: 70px;
    }
}

/* Large Laptop (1200px - 1439px) */
@media (max-width: 1439px) and (min-width: 1200px) {
    .vision-mission-container {
        padding: 0 50px;
        gap: 50px;
    }
    
    .timeline {
        padding: 0 50px;
    }
    
    .vm-card {
        padding: 50px;
    }
    
    .timeline-content {
        padding: 35px;
    }
}

/* Standard Laptop/Small Desktop (1024px - 1199px) */
@media (max-width: 1199px) and (min-width: 1024px) {
    .timeline::before {
        display: none;
    }
    
    .timeline-content {
        width: 100%;
        margin-left: 0 !important;
    }
    
    .timeline-content::before {
        display: none;
    }
    
    .timeline-dot {
        display: none;
    }
    
    .vision-mission-container {
        padding: 0 40px;
        gap: 40px;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
    
    .timeline {
        padding: 0 40px;
    }
    
    .vm-card {
        padding: 45px;
    }
    
    .timeline-content {
        padding: 35px;
    }
}

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
    .timeline::before {
        display: none;
    }
    
    .timeline-content {
        width: 100%;
        margin-left: 0 !important;
    }
    
    .timeline-content::before {
        display: none;
    }
    
    .timeline-dot {
        display: none;
    }
    
    .vision-mission-container {
        padding: 0 30px;
        gap: 40px;
        grid-template-columns: 1fr;
    }
    
    .timeline {
        padding: 0 30px;
    }
    
    .vm-card {
        padding: 40px;
    }
    
    .timeline-content {
        padding: 30px;
    }
    
    .about-section,
    .journey-section {
        padding: 100px 0;
    }
}

/* Large Mobile/Small Tablet (480px - 767px) */
@media (max-width: 767px) and (min-width: 480px) {
    .about-section,
    .journey-section {
        padding: 80px 0;
    }
    
    .section-header {
        margin-bottom: 60px;
        padding: 0 25px;
    }
    
    .section-title {
        font-size: 36px;
        margin-bottom: 15px;
    }
    
    .section-subtitle {
        font-size: 17px;
    }
    
    .vd-about-hero {
        height: 90vh;
    }
    
    .vd-about-hero-content {
        width: 90%;
    }
    
    .vd-about-hero-title {
        font-size: 38px;
        margin-bottom: 20px;
    }
    
    .vd-about-hero-subtitle {
        font-size: 18px;
        margin-bottom: 35px;
    }
    
    .vd-about-hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 18px;
    }
    
    .vd-about-hero-btn {
        width: 100%;
        justify-content: center;
        padding: 16px 35px;
        font-size: 14px;
    }
    
    .vision-mission-container {
        padding: 0 25px;
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .timeline {
        padding: 0 25px;
    }
    
    .vm-card {
        padding: 45px 35px;
        border-radius: 16px;
    }
    
    .timeline-content {
        padding: 35px 25px;
        border-radius: 16px;
    }
    
    .timeline-year {
        font-size: 26px;
    }
    
    .timeline-title {
        font-size: 22px;
    }
    
    .vm-title {
        font-size: 26px;
    }
    
    .vm-text {
        font-size: 17px;
        line-height: 1.7;
    }
    
    .timeline-text {
        font-size: 16px;
        line-height: 1.7;
    }
    
    .vm-icon {
        font-size: 44px;
        margin-bottom: 25px;
    }
}

/* Small Mobile (320px - 479px) */
@media (max-width: 479px) {
    .vd-about-hero {
        height: 85vh;
    }
    
    .vd-about-hero-content {
        width: 95%;
        padding: 0 15px;
    }
    
    .vd-about-hero-title {
        font-size: 28px;
        line-height: 1.2;
    }
    
    .vd-about-hero-tag {
        font-size: 12px;
        letter-spacing: 3px;
        margin-bottom: 20px;
    }
    
    .vd-about-hero-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
        letter-spacing: 1px;
    }
    
    .vd-about-hero-buttons {
        gap: 15px;
    }
    
    .vd-about-hero-btn {
        padding: 14px 30px;
        font-size: 13px;
        border-radius: 25px;
    }
    
    .about-section,
    .journey-section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 50px;
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .section-subtitle {
        font-size: 15px;
    }
    
    .vm-card {
        padding: 30px 20px;
        border-radius: 12px;
    }
    
    .timeline-content {
        padding: 25px 20px;
        border-radius: 12px;
    }
    
    .vm-title {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .vm-text {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .vm-icon {
        font-size: 36px;
        margin-bottom: 20px;
    }
    
    .timeline-year {
        font-size: 22px;
        margin-bottom: 12px;
    }
    
    .timeline-title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .timeline-text {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .vision-mission-container {
        padding: 0 15px;
        gap: 25px;
    }
    
    .timeline {
        padding: 0 15px;
    }
}

/* Extra Small Mobile (up to 319px) */
@media (max-width: 319px) {
    .vd-about-hero {
        height: 80vh;
    }
    
    .vd-about-hero-content {
        width: 98%;
        padding: 0 10px;
    }
    
    .vd-about-hero-title {
        font-size: 24px;
    }
    
    .vd-about-hero-tag {
        font-size: 11px;
        letter-spacing: 2px;
    }
    
    .vd-about-hero-subtitle {
        font-size: 14px;
        line-height: 1.4;
    }
    
    .vd-about-hero-btn {
        padding: 12px 25px;
        font-size: 12px;
    }
    
    .section-header {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-subtitle {
        font-size: 14px;
    }
    
    .vision-mission-container {
        padding: 0 10px;
        gap: 20px;
    }
    
    .timeline {
        padding: 0 10px;
    }
    
    .vm-card {
        padding: 25px 15px;
    }
    
    .timeline-content {
        padding: 20px 15px;
    }
    
    .vm-title {
        font-size: 20px;
    }
    
    .vm-text {
        font-size: 14px;
    }
    
    .vm-icon {
        font-size: 32px;
    }
    
    .timeline-year {
        font-size: 20px;
    }
    
    .timeline-title {
        font-size: 16px;
    }
    
    .timeline-text {
        font-size: 13px;
    }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .vd-about-hero {
        height: 100vh;
    }
    
    .vd-about-hero-content {
        transform: scale(0.9);
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .vd-about-noise {
        opacity: 0.015;
    }
    
    .timeline::before {
        width: 2px;
    }
}

/* Container queries support for modern browsers */
@supports (container-type: inline-size) {
    .vision-mission-container {
        container-type: inline-size;
    }
    
    @container (max-width: 600px) {
        .vm-card {
            padding: 35px 25px;
        }
        
        .vm-title {
            font-size: 22px;
        }
        
        .vm-text {
            font-size: 15px;
        }
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Selection */
::selection {
    background: var(--accent);
    color: var(--pure-white);
}

/* Prevent horizontal scroll */
body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Enhanced focus states for accessibility */
.vd-about-hero-btn:focus,
.vm-card:focus {
    outline: 2px solid var(--orange);
    outline-offset: 4px;
}

/* Print styles */
@media print {
    .vd-about-cursor-trail,
    .vd-about-noise {
        display: none;
    }
    
    .vd-about-hero {
        height: auto;
        min-height: 50vh;
    }
    
    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
    }
}

/* Enhanced animations */
@media (prefers-reduced-motion: reduce) {
    .vd-about-hero-tag,
    .vd-about-hero-title,
    .vd-about-hero-subtitle,
    .vd-about-hero-buttons {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* Dark mode support (if needed in future) */
@media (prefers-color-scheme: dark) {
    :root {
        --cream: #1a1a1a;
        --pure-white: #ffffff;
        --grey: #cccccc;
    }
}