/* DDC Micro 2025 - Black & Grey Theme */
/* Premium dark theme with sophisticated aesthetics */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Lexend:wght@100..900&family=Mona+Sans:ital,wght@0,200..900;1,200..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Oxanium:wght@200..800&family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

p {
    font-family: 'Montserrat'
}


:root {
    /* Primary Colors - Black & Grey Palette */
    --color-black: #000000;
    --color-dark-grey: #000000;
    --color-medium-grey: #050505;
    --color-grey: #222222;
    --color-light-grey: #444444;
    --color-silver: #888888;
    --color-platinum: #dddddd;
    --color-white: #ffffff;

    /* Accent Colors */
    --color-accent: #ff6200;
    --color-accent-hover: #ff8533;
    --color-accent-glow: rgba(255, 98, 0, 0.4);

    /* Gradients */
    --gradient-dark: linear-gradient(135deg, #000000 0%, #050505 50%, #000000 100%);
    --gradient-card: linear-gradient(145deg, #0a0a0a 0%, #050505 100%);
    --gradient-accent: linear-gradient(135deg, #ff6200 0%, #e65100 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 98, 0, 0.05) 0%, rgba(0, 0, 0, 0.2) 100%);

    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px var(--color-accent-glow);

    /* Typography */
    --font-primary: 'Montserrat', 'Inter', sans-serif;
    --font-display: 'Anton', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--color-black);
    color: var(--color-platinum);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 30px;
}

/* 
   HERO SECTION */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('plane.jpeg') center center / cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 98, 0, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 80% 50%, rgba(255, 98, 0, 0.1) 0%, transparent 60%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 1) 100%);
    pointer-events: none;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0.5;
    }

    50% {
        transform: translateY(-20px) translateX(10px);
        opacity: 1;
    }
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 50%;
    filter: blur(1px);
    box-shadow: 0 0 10px var(--color-accent-glow);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 20px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    background: var(--gradient-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-silver);
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.hero-title {
    margin-bottom: 20px;
}

.title-line {
    display: block;
    font-family: var(--font-display);
    font-size: 600%;
    font-weight: 400;
    color: white;
    line-height: 1;
    letter-spacing: 10px;
}

.title-year {
    display: block;
    font-family: var(--font-display);
    font-size: 500%;
    font-weight: 400;
    color: var(--color-accent);
    line-height: 1;
    margin-top: 0;
    letter-spacing: 5px;
}

.hero-tagline {
    font-size: 1.25rem;
    font-weight: 300;
    color: white;
    opacity: 90%;
    margin-top: 50px;
    margin-bottom: 50px;
    letter-spacing: 3px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
}

.stat-unit {
    font-size: 1.5rem;
    color: var(--color-accent);
    margin-left: 5px;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--color-light-grey);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--color-grey), transparent);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: transparent;
    border: 2px solid var(--color-accent);
    border-radius: 50px;
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all var(--transition-medium);
}

.hero-cta:hover {
    background: var(--color-accent);
    box-shadow: var(--shadow-glow);
    transform: translateY(-3px);
}

.hero-cta i {
    animation: bounce 2s ease infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(5px);
    }

    60% {
        transform: translateY(3px);
    }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    animation: scroll-pulse 2s ease infinite;
}

@keyframes scroll-pulse {
    0% {
        opacity: 1;
        height: 60px;
    }

    50% {
        opacity: 0.5;
        height: 30px;
    }

    100% {
        opacity: 1;
        height: 60px;
    }
}

/* ================================
   SECTION STYLES
================================ */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 15px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 400%;
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: 20px;
    letter-spacing: 3px;
    font-style: italic;
    color: #ff6200;
    text-shadow: 0 0 10px rgba(255, 98, 0, 0.3);
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    margin: 0 auto;
    border-radius: 2px;
}

/* ================================
   MISSION SECTION
================================ */
.mission-section {
    background: var(--color-dark-grey);
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.mission-text {
    padding-right: 20px;
}

.mission-lead {
    font-size: 1.3rem;
    font-weight: 400;
    color: white;
    opacity: 99%;
    margin-bottom: 20px;
    line-height: 1.8;
}

.mission-text p {
    color: var(--color-silver);
}

.mission-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.highlight-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: var(--gradient-card);
    border-radius: 15px;
    border: 1px solid var(--color-medium-grey);
    transition: all var(--transition-medium);
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.highlight-card::after {
    content: 'CLICK TO VIEW ›';
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 1px;
    opacity: 0.4;
    transition: opacity var(--transition-medium);
}

.highlight-card:hover::after {
    opacity: 1;
}

.highlight-card:hover {
    transform: scale(1.05);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-glow);
}

.highlight-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    border-radius: 12px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.highlight-card:hover .highlight-icon {
    transform: rotate(10deg);
}

.highlight-icon i {
    font-size: 1.3rem;
    color: var(--color-white);
}

.highlight-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 5px;
}

.highlight-card p {
    font-size: 0.9rem;
    color: var(--color-silver);
}

/* ================================
   DESIGN SECTION
================================ */
.design-section {
    background: var(--color-black);
    padding-bottom: 40px;
}

.design-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.design-card {
    position: relative;
    padding: 40px 30px;
    background: var(--gradient-card);
    border-radius: 20px;
    border: 1px solid var(--color-medium-grey);
    transition: all var(--transition-medium);
    overflow: hidden;
    cursor: pointer;
}

.design-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-medium);
}

.design-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-glow);
}

.design-card::after {
    content: 'CLICK TO VIEW!';
    position: absolute;
    bottom: 20px;
    right: 30px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 2px;
    opacity: 0.4;
    transition: opacity var(--transition-medium);
}

.design-card:hover::after {
    opacity: 1;
}

.design-card:hover::before {
    transform: scaleX(1);
}

.card-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    margin-bottom: 20px;
}

.card-content h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: #ff6200;
    margin-bottom: 15px;
    font-style: italic;
}

.card-content p {
    color: var(--color-silver);
    margin-bottom: 20px;
}

.card-features {
    list-style: none;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--color-platinum);
    font-size: 0.9rem;
}

.card-features i {
    color: var(--color-accent);
    font-size: 0.8rem;
}

/* ================================
   TIMELINE SECTION
================================ */
.timeline-section {
    background: var(--color-dark-grey);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 60px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-grey);
    opacity: 0.3;
}

.timeline-progress {
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-accent), var(--color-accent-hover));
    z-index: 1;
    transform-origin: top;
}

.timeline-item {
    position: relative;
    padding: 30px 0;
    padding-left: 40px;
}

.timeline-marker {
    position: absolute;
    left: -49px;
    top: 35px;
    width: 16px;
    height: 16px;
    background: var(--color-accent);
    border-radius: 50%;
    border: 4px solid var(--color-dark-grey);
    box-shadow: 0 0 20px var(--color-accent-glow);
}

.timeline-content {
    background: var(--gradient-card);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--color-medium-grey);
    transition: all var(--transition-medium);
}

.timeline-content:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-md);
}

.timeline-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--color-silver);
}

/* ===== Gallery Frame Section ===== */
.gallery-frame-section {
    width: 100%;
    background: #000;
    padding: 40px 5%;
}

.gallery-frame-container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    height: auto;
    border: 1px solid rgba(255, 98, 0, 0.2);
    border-radius: 15px;
    overflow: hidden;
    background: #000;
}

/* Left Navigation - 30% width */
.gallery-frame-nav {
    width: 300px;
    display: flex;
    flex-direction: column;
    background: #000;
    border-right: 1px solid rgba(255, 98, 0, 0.2);
}

/* 3 equal rows for gallery navigation items */
.gallery-nav-item {
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 20px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 98, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #000;
}

.gallery-nav-item:last-child {
    border-bottom: none;
}

.gallery-nav-item:hover {
    background: var(--color-accent);
    transform: scale(0.95);
    border-radius: 15px;
    margin: 5px;
    z-index: 1;
}

.gallery-nav-item.active {
    background: var(--color-accent);
    color: #fff;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.3);
}

.gallery-nav-item.active .gallery-nav-icon i,
.gallery-nav-item.active .gallery-nav-text h2,
.gallery-nav-item.active .gallery-nav-text p {
    color: #fff;
}

.gallery-nav-icon {
    font-size: 2rem;
    color: #000000;
    min-width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-nav-item.active .gallery-nav-icon {
    opacity: 1;
}

.gallery-nav-text h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 600;
}

.gallery-nav-text p {
    font-family: var(--font-display);
    font-size: 1rem;
    color: #ffd9d9;
    font-weight: bold;
}

/* Right Content Frame - 70% width */
.gallery-frame-content {
    width: 70%;
    background: #0f0f0f;
}

.gallery-frame-content iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #0f0f0f;
}

/* Gallery Responsive adjustments */
@media (max-width: 768px) {
    .gallery-frame-container {
        flex-direction: column;
        height: auto;
    }

    .gallery-frame-nav {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid rgba(136, 136, 136, 0.2);
    }

    .gallery-nav-item {
        flex: none;
        min-width: 140px;
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.05);
    }

    .gallery-nav-item:last-child {
        border-right: none;
    }

    .gallery-nav-item.active {
        border-left: none;
        border-bottom: 4px solid #888;
    }

    .gallery-nav-icon {
        min-width: auto;
        margin-bottom: 10px;
    }

    .gallery-frame-content {
        width: 100%;
        height: 450px;
    }
}


/* competition team */
.hero-section1 {
    padding: 60px 5% 20px 5%;
    text-align: center;
    background: #000;
}

.hero-text1 h1 {
    font-size: 2.5rem;
    color: #fff;
    letter-spacing: 6px;
    position: relative;
    display: inline-block;
}

.hero-text1 h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--color-accent);
}

/* ===== SAE-style Team Photo Layout ===== */
.team-photo {
    width: 100%;
    max-width: 95vw;
    margin: 0 auto;
    text-align: center;
    font-family: 'Trebuchet MS', sans-serif;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    background: #0a0a0a;
}

.ddc-team-member {
    width: 240px;
    margin: 20px;
    display: inline-block;
    vertical-align: top;
    animation: Slideup 0.5s ease-out forwards;
    text-align: center;
}

.ddc-team-member #pass {
    height: 250px;
    width: 200px;
    border-radius: 10px;
    object-fit: cover;
    filter: none;
    opacity: 1;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.ddc-team-member:hover #pass {
    transform: translateY(-5px);
}

.ddc-team-member .row1-data1 {
    width: 200px;
    margin: 15px auto 0;
    text-align: left;
    position: relative;
}

.ddc-team-member .row1-data1 span a i {
    color: #44a6ff !important;
    margin-left: 10px;
    font-size: 1.2rem;
    vertical-align: middle;
}

.ddc-team-member .separator1 {
    width: 100%;
    height: 3px;
    background: #ff6200;
    margin-top: 10px;
    margin-bottom: 10px;
    display: block;
}

.ddc-team-member .role {
    display: block;
    font-size: 0.9rem;
    font-family: 'Nunito Sans', sans-serif;
    color: #ffd9d9;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ddc-team-member .name {
    display: inline-block;
    color: #ff6200;
    font-size: 1.5rem;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.team-social-icon {
    margin-left: 10px;
    color: #fff;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.team-social-icon:hover {
    color: var(--color-accent);
    opacity: 1;
}

/* Specifications Section (Achievements) */
.achievements-section {
    background: #0a0a0a;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.achievement-card {
    background: var(--gradient-card);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #222;
    transition: all 0.4s ease;
}

.achievement-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-10px);
}

.achievement-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: #000;
}

.achievement-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 10px;
}

.achievement-label {
    color: var(--color-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

/* media-modal styling */
.media-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.media-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.modal-container {
    position: relative;
    width: 100%;
    max-width: 1100px;
    background: #111;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #222;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    z-index: 2;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--color-accent);
    transform: rotate(90deg);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-nav:hover {
    background: var(--color-accent);
}

.modal-nav.prev {
    left: 20px;
}

.modal-nav.next {
    right: 20px;
}

.modal-content {
    display: flex;
    flex-direction: column;
}

.media-scroller {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.media-scroller::-webkit-scrollbar {
    display: none;
}

.media-scroller img,
.media-scroller video {
    flex: 0 0 100%;
    width: 100%;
    height: 60vh;
    object-fit: contain;
    scroll-snap-align: center;
    background: #000;
}

.modal-caption {
    padding: 30px;
    background: #111;
    color: #fff;
    text-align: center;
    font-size: 1.1rem;
    border-top: 1px solid #222;
}

.scroll-instruction {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    pointer-events: none;
}

@media (max-width: 991px) {
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .design-grid {
        grid-template-columns: 1fr;
    }

    .mission-content {
        grid-template-columns: 1fr;
    }
}