﻿:root {
    --primary: #0a0e23;
    --secondary: #141a3a;
    --accent: #ff6f00;
    --accent-light: #ff8f33;
    --accent-dark: #e65c00;
    --text: #ffffff;
    --text-secondary: #b8c2d9;
    --card-bg: #1e2347;
    --gradient: linear-gradient(135deg, #ff6f00 0%, #ff3e00 100%);
}
body {
    margin: 0;
    font-family: var(--bs-body-font-family);
    font-size: var(--bs-body-font-size);
    font-weight: var(--bs-body-font-weight);
    line-height: var(--bs-body-line-height);
    color: var(--bs-body-color);
    text-align: var(--bs-body-text-align);
    background-color: var(--bs-body-bg);
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}


.containerAbt {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Simplified Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(10, 14, 35, 0.85), rgba(20, 26, 58, 0.9)), url('https://www.fortiss.org/fileadmin/_processed_/d/f/csm_fortiss_C4AI_AFML_ca074cd3b3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0;
    text-align: center;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
    text-align:justify;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero {
        padding: 100px 0;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 0;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent);
    display: block;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: 5px;
}



/* Mission Vision Values */
.mission-section {
    padding: 100px 0;
    background: var(--secondary);
    position: relative;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.mission-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 111, 0, 0.1);
}

    .mission-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(255, 111, 0, 0.2);
    }

    .mission-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--gradient);
    }

.mission-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.mission-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text);
}

.mission-text {
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: left;
    margin-left: 30px;
}

/* Our Story Section */
.story-section {
    padding: 100px 0;
    background: var(--primary);
    position: relative;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--text);
}

    .story-text h2::after {
        content: '';
        display: block;
        width: 80px;
        height: 4px;
        background: var(--gradient);
        margin-top: 10px;
    }

.story-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.story-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    background: var(--card-bg);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

    .story-visual::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--gradient);
        opacity: 0.1;
    }

    .story-visual i {
        font-size: 8rem;
        color: var(--accent);
        z-index: 2;
        position: relative;
    }

/* Timeline Section */
.timeline-section {
    padding: 100px 0;
    background: var(--secondary);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

    .section-title h2 {
        font-size: 3rem;
        margin-bottom: 20px;
        background: var(--gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

    .timeline::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 4px;
        background: var(--gradient);
        transform: translateX(-50%);
    }

.timeline-item {
    margin: 50px 0;
    position: relative;
}

.timeline-content {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    position: relative;
    width: calc(50% - 30px);
    border: 1px solid rgba(255, 111, 0, 0.1);
}

.timeline-item:nth-child(odd) .timeline-content {
    left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    left: calc(50% + 30px);
}

.timeline-date {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: var(--gradient);
    color: var(--text);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    z-index: 2;
}

.timeline-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--accent);
}

.timeline-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

.team-section {
    padding: 100px 0;
    background: var(--primary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 111, 0, 0.1);
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.member-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.member-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 5px;
}

.member-title {
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.member-short-bio {
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
    font-size: 0.95rem;
    display: block;
}

.member-full-bio {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--card-bg);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.4s ease;
    overflow-y: auto;
}

.learn-more-btn {
    background: var(--gradient);
    color: var(--text);
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

    .learn-more-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(255, 111, 0, 0.3);
    }

.close-bio-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    color: var(--accent);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
}

/* Hover Effects */
.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 111, 0, 0.2);
}

.team-member.active .member-full-bio {
    opacity: 1;
    transform: translateY(0);
}

.member-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

    .member-links a {
        color: var(--accent);
        font-size: 1.2rem;
        transition: all 0.3s ease;
    }

        .member-links a:hover {
            color: var(--accent-light);
            transform: scale(1.1);
        }

/* Publications styling */
.publications h4 {
    color: var(--accent);
    margin-bottom: 10px;
    font-size: 1rem;
}

.publications ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.publications li {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
}

    .publications li::before {
        content: '▸';
        color: var(--accent);
        position: absolute;
        left: 0;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .team-member {
        min-height: auto;
        padding: 20px;
    }

    .member-avatar {
        width: 120px;
        height: 120px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
/* Awards Section */
.awards-section {
    padding: 100px 0;
    background: var(--secondary);
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.award-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 111, 0, 0.1);
}

    .award-card:hover {
        transform: scale(1.05);
        box-shadow: 0 15px 30px rgba(255, 111, 0, 0.2);
    }

.award-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.award-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text);
}

.award-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Technologies Section */
.tech-section {
    padding: 100px 0;
    background: var(--primary);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.tech-item {
    text-align: center;
    transition: all 0.3s ease;
}

    .tech-item:hover {
        transform: translateY(-10px);
    }

.tech-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: var(--card-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent);
    border: 2px solid rgba(255, 111, 0, 0.2);
    transition: all 0.3s ease;
}

.tech-item:hover .tech-icon {
    background: var(--gradient);
    color: var(--text);
    transform: rotate(360deg);
}

.tech-name {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Contact CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--secondary);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-accent {
    background: var(--gradient);
    color: white;
    border: none;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .btn-accent:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(255, 111, 0, 0.4);
    }


.btn {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: var(--gradient);
    color: var(--text);
}

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(255, 111, 0, 0.4);
    }

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

    .btn-secondary:hover {
        background: var(--accent);
        color: var(--text);
    }


/* Responsive Design */




/* Loading animation */


/* Scroll progress indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient);
    z-index: 1001;
    transition: width 0.1s ease;
}
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}



@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design - Mobile First Approach */

/* Base mobile styles (applies to all screens) */
.containerAbt {
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Hero Section */
.hero {
    padding: 100px 0 60px;
    min-height: auto;
}

    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

.hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-number {
    font-size: 2rem;
}

/* Mission Section */
.mission-grid {
    grid-template-columns: 1fr;
    gap: 30px;
}

.mission-card {
    padding: 30px 20px;
}

/* Story Section */
.story-content {
    grid-template-columns: 1fr;
    gap: 30px;
}

.story-text h2 {
    font-size: 2rem;
}

.story-visual {
    height: 300px;
    order: -1; /* Moves visual above text on mobile */
}

    .story-visual i {
        font-size: 6rem;
    }

/* Team Section */
.team-grid {
    grid-template-columns: 1fr;
    gap: 30px;
}

.team-member {
    padding: 30px 20px;
}

.member-avatar {
    width: 100px;
    height: 100px;
    font-size: 2.5rem;
}

/* Awards Section */
.awards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
}

/* Timeline Section */
.timeline::before {
    left: 30px;
}

.timeline-content {
    width: calc(100% - 80px);
    left: 60px !important;
}

.timeline-date {
    left: 30px;
    transform: translateY(-50%);
}

/* CTA Section */
.cta-title {
    font-size: 2rem;
}

.cta-buttons {
    flex-direction: column;
    gap: 15px;
}

.btn {
    width: 100%;
    justify-content: center;
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .containerAbt {
        padding: 0 30px;
    }

    .hero {
        padding: 120px 0 80px;
    }

        .hero h1 {
            font-size: 3rem;
        }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .mission-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-buttons {
        flex-direction: row;
    }

    .btn {
        width: auto;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .hero {
        min-height: 100vh;
    }

    .hero-stats {
        grid-template-columns: repeat(4, 1fr);
    }

    .mission-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .story-content {
        grid-template-columns: 1fr 1fr;
    }

    .story-visual {
        order: 1; /* Restores original order on desktop */
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .awards-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .timeline::before {
        left: 50%;
    }

    .timeline-content {
        width: calc(50% - 30px);
    }

    .timeline-item:nth-child(odd) .timeline-content {
        left: 0;
    }

    .timeline-item:nth-child(even) .timeline-content {
        left: calc(50% + 30px);
    }

    .timeline-date {
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .containerAbt {
        max-width: 1200px;
        margin: 0 auto;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Special cases for very small screens */
@media (max-width: 400px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .stat-item {
        margin-bottom: 15px;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .story-text h2 {
        font-size: 1.8rem;
    }

    .member-name {
        font-size: 1.3rem;
    }

    .member-title {
        font-size: 1rem;
    }
}

/* Adjustments for landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 150vh;
        padding: 80px 0;
    }
}

/* Accessibility improvements for reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Print styles */
@media print {
    body {
        background: white;
        color: black;
    }

    .hero, .mission-section, .story-section,
    .team-section, .awards-section, .cta-section {
        padding: 30px 0;
        page-break-after: avoid;
    }

    .hero-stats, .mission-grid, .team-grid,
    .awards-grid {
        display: block;
    }

    .stat-item, .mission-card, .team-member,
    .award-card {
        margin-bottom: 20px;
        page-break-inside: avoid;
    }

    .btn {
        display: none;
    }
}