
/* index.html */
/* Smooth fade-in for hero text */
        .hero h1, .hero h2 {
            animation: fadeIn 1.2s ease forwards;
            opacity: 0;
        }

        .hero h2 { animation-delay: 0.2s; }
        .hero h1 { animation-delay: 0.5s; }

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


/* project.html */
/* Page Header */
        .page-header {
            min-height: 450px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            background-size: cover;
            background-position: center;
            text-align: center;
            border-bottom: 2px solid var(--border-color);
            padding: 0 20px;
        }

        .page-header h1 {
            font-size: 4.2rem;
            font-weight: 800;
            color: white;
            margin-bottom: 10px;
            text-shadow: 3px 3px 8px rgba(0,0,0,1);
            animation: fadeInDown 1s ease forwards;
        }

        .page-header p {
            font-size: 1.5rem;
            font-weight: 700;
            color: #ff8a00;
            text-shadow: 2px 2px 6px rgba(0,0,0,0.85);
            animation: fadeInUp 1.2s ease forwards;
        }

        /* Fade animations */
        @keyframes fadeInDown {
            from { opacity: 0; transform: translateY(-25px); }
            to { opacity: 1; transform: translateY(0); }
        }

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

        /* Section boxes */
        .info-box {
            background-color: white;
            padding: 40px;
            border-radius: 12px;
            border: 1px solid var(--border-color);
            box-shadow: 0 6px 20px rgba(0,0,0,0.05);
            margin-bottom: 40px;
        }

        /* Two-card row */
        .flex-row {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
            margin-bottom: 40px;
        }

        .flex-row .card {
            flex: 1;
            min-width: 300px;
            background-color: var(--bg-main);
        }

        /* Conclusion box */
        .conclusion-box {
            text-align: center;
            max-width: 800px;
            margin: 0 auto 60px auto;
            padding: 30px;
            border: 2px dashed var(--border-color);
            border-radius: 10px;
            background-color: white;
        }


/* ftc.html */
/* Blue + Grey FTC Theme */
        :root {
            --ftc-blue: #0066cc;
            --ftc-grey: #f4f4f4;
        }

        /* Hero Section */
        .ftc-hero {
            padding: 70px 20px;
            text-align: center;
            background-color: var(--ftc-grey);
            border-bottom: 1px solid var(--border-color);
        }

        .ftc-hero h1 {
            font-size: 3.8rem;
            font-weight: 800;
            color: var(--text-heading);
            margin-bottom: 10px;
            letter-spacing: -1px;
        }

        .ftc-hero p {
    		font-size: 1.6rem;
    		font-weight: 700;
    		color: var(--ftc-blue); /* now blue */
    		text-shadow: 2px 2px 6px rgba(0,0,0,0.85);
	}



        /* Cards */
        .ftc-card {
            background-color: #fafafa;
            border-radius: 10px;
            padding: 30px;
            border: 1px solid #eae1d8;
            border-top: 5px solid var(--ftc-blue);
            box-shadow: 0 6px 20px rgba(0,0,0,0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .ftc-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 12px 28px rgba(0,0,0,0.12);
        }

        .ftc-card h3 {
            color: var(--text-heading);
            margin-bottom: 12px;
        }

        .ftc-card p {
            color: var(--text-body);
            line-height: 1.7;
        }

        /* Intro Card */
        .ftc-intro {
            max-width: 900px;
            margin: 0 auto 50px auto;
            text-align: center;
        }

        /* Fullscreen Trap Overlay */
        #trap-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background-color: black;
            z-index: 999999;
            justify-content: center;
            align-items: center;
        }

        #trap-overlay img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

	/* HERO SECTION WITH FTC LOGO BACKGROUND */
.ftc-hero {
    padding: 70px 20px;
    text-align: center;
    background: url("assets/images/ttc.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

/* Dark overlay for readability */
.ftc-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.35);
    z-index: 1;
}

.ftc-hero .container {
    position: relative;
    z-index: 2;
}

.ftc-hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 10px;
    letter-spacing: -1px;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.9);
}

.ftc-hero p {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ff8a00;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.85);
}

.ftc-hero .container p {
    color: #0066cc !important;
}


/* about.html */
/* Hero Section */
        .about-hero {
            padding: 70px 20px;
            text-align: center;
            background-color: var(--bg-main);
            border-bottom: 1px solid var(--border-color);
        }

        .about-hero h1 {
            font-size: 3.8rem;
            font-weight: 800;
            color: var(--text-heading);
            margin-bottom: 10px;
            letter-spacing: -1px;
        }

        .about-hero p {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--accent-orange);
        }

        /* About Card */
        .about-card {
            max-width: 900px;
            margin: 50px auto;
            padding: 35px;
            background-color: white;
            border-radius: 12px;
            border: 1px solid var(--border-color);
            box-shadow: 0 6px 20px rgba(0,0,0,0.05);
        }

        .about-card h2 {
            text-align: center;
            font-size: 2rem;
            margin-bottom: 25px;
            color: var(--text-heading);
        }

        .about-card img {
            width: 100%;
            border-radius: 10px;
            border: 1px solid var(--border-color);
            margin-bottom: 25px;
        }

        .about-card p {
            font-size: 1.1rem;
            line-height: 1.8;
            color: var(--text-body);
        }

        /* Fullscreen Trap Overlay */
        #trap-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background-color: black;
            z-index: 999999;
            justify-content: center;
            align-items: center;
        }

        #trap-overlay img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }


/* about.html */
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-25px); }
    to   { opacity: 1; transform: translateY(0); }
}

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


/* members.html */
/* HERO */
        .page-header {
            min-height: 450px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            background-size: cover;
            background-position: center;
            text-align: center;
            border-bottom: 2px solid var(--border-color);
            padding: 0 20px;
        }

        .page-header h1 {
            font-size: 4.2rem;
            font-weight: 800;
            color: white;
            margin-bottom: 10px;
            text-shadow: 3px 3px 8px rgba(0,0,0,1);
        }

        .page-header p {
            font-size: 1.4rem;
            font-weight: 700;
            color: #ff8a00;
            text-shadow: 2px 2px 6px rgba(0,0,0,0.85);
        }

        /* TEAM CARDS */
        .member-card {
            background-color: var(--bg-white);
            padding: 35px 25px;
            border-radius: 12px;
            text-align: center;
            border: 1px solid var(--border-color);
            box-shadow: 0 10px 30px rgba(0,0,0,0.03);
            transition: transform var(--transition-speed), box-shadow var(--transition-speed);
        }

        .member-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 15px 35px rgba(230, 126, 34, 0.15);
        }

        .member-card img {
            width: 110px;
            height: 110px;
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 15px;
            border: 3px solid var(--accent-orange);
        }

        .member-card h3 {
            margin-bottom: 10px;
            color: var(--text-heading);
        }

        .member-card p {
            font-style: italic;
            font-size: 0.95rem;
            color: var(--text-body);
            line-height: 1.6;
        }

	.member-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.member-card.visible {
    opacity: 1;
    transform: translateY(0);
}


/* robot.html */
/* Page Header */
        .page-header {
            min-height: 450px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            background-size: cover;
            background-position: center;
            text-align: center;
            border-bottom: 2px solid var(--border-color);
            padding: 0 20px;
        }

        .page-header h1 {
            font-size: 4.2rem;
            font-weight: 800;
            color: white;
            margin-bottom: 10px;
            text-shadow: 3px 3px 8px rgba(0,0,0,1);
            animation: fadeInDown 1s ease forwards;
        }

        .page-header p {
            font-size: 1.5rem;
            font-weight: 700;
            color: #ff8a00;
            text-shadow: 2px 2px 6px rgba(0,0,0,0.85);
            animation: fadeInUp 1.2s ease forwards;
        }

        /* Fade animations */
        @keyframes fadeInDown {
            from { opacity: 0; transform: translateY(-25px); }
            to { opacity: 1; transform: translateY(0); }
        }

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

        /* Info box */
        .info-box {
            background-color: white;
            padding: 40px;
            border-radius: 12px;
            border: 1px solid var(--border-color);
            box-shadow: 0 6px 20px rgba(0,0,0,0.05);
            margin-bottom: 40px;
            text-align: center;
        }

        /* Image section */
        .image-section {
            text-align: center;
            margin-bottom: 50px;
        }

        .image-section img {
            max-width: 100%;
            border-radius: 10px;
            border: 1px solid var(--border-color);
            box-shadow: 0 6px 20px rgba(0,0,0,0.1);
        }

        /* Two-card row */
        .flex-row {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
            margin-bottom: 60px;
        }

        .flex-row .card {
            flex: 1;
            min-width: 300px;
            background-color: var(--bg-main);
        }


/* journey.html */
/* Timeline Wrapper */
        .timeline {
            position: relative;
            max-width: 900px;
            margin: 0 auto;
            padding: 40px 0;
        }

        /* Gradient Vertical Line */
        .timeline::after {
            content: '';
            position: absolute;
            width: 4px;
            background: linear-gradient(to bottom, #ff8a00, #eae1d8, #7bb3ff);
            top: 0;
            bottom: 0;
            left: 50%;
            margin-left: -2px;
            opacity: 0.9;
        }

        /* Timeline Containers */
        .timeline-container {
            padding: 10px 40px;
            position: relative;
            width: 50%;
            box-sizing: border-box;
        }

        .timeline-container.left { left: 0; }
        .timeline-container.right { left: 50%; }

        /* Timeline Dots */
        .timeline-container::after {
            content: '';
            position: absolute;
            width: 20px;
            height: 20px;
            right: -12px;
            background-color: white;
            border: 4px solid var(--text-heading, #333);
            top: 20px;
            border-radius: 50%;
            z-index: 1;
        }

        .timeline-container.right::after { left: -12px; }

        /* Timeline Content */
        .timeline-content {
            padding: 20px 30px;
            background-color: white;
            border-radius: 8px;
            border: 1px solid #eae1d8;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);

            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s ease;
        }

        .timeline-content.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Alternating background gradients */
        .timeline-container:nth-child(odd) .timeline-content {
            background: linear-gradient(to bottom right, #ffffff, #fff7ef);
        }

        .timeline-container:nth-child(even) .timeline-content {
            background: linear-gradient(to bottom right, #ffffff, #eef4ff);
        }

        /* Images inside timeline */
        .timeline-content img {
            width: 100%;
            border-radius: 6px;
            margin-bottom: 15px;
            border: 1px solid #eae1d8;
        }

        /* Location Tag */
        .location-tag {
            display: inline-block;
            background: #f4f1ee;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 700;
            margin-bottom: 12px;
            color: var(--text-heading, #333);
        }

        /* Mobile Responsive */
        @media screen and (max-width: 600px) {
            .timeline::after { left: 31px; }
            .timeline-container { width: 100%; padding-left: 70px; padding-right: 25px; }
            .timeline-container.right { left: 0; }
            .timeline-container.left::after,
            .timeline-container.right::after { left: 21px; }
        }
