/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
}

body {
    font-family: "Poppins", sans-serif;
    background: #ffffff;
}

/* MAIN HERO BACKGROUND */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(to right, #091133, #a7a7bd);
    overflow: hidden;
}

/* TOP SOLID BAR */
.hero-top-strip {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background: #0F193F;
    border-bottom: 2px solid rgba(0,0,30,0.4);
    z-index: 10;
}

/* INNER LAYOUT OF TOP BAR (LOGO + NAV) */
.top-bar {
    height: 100%;
    width: 100%;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* UTB HEADER (LOGO + TEXT) */
.utb-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.utb-logo {
    height: 60px;
    margin-right: 5px;
}

.utb-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    font-family: "Inter", sans-serif;
    line-height: 1.2;
}

.utb-english {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.7px;
}

/* TOP NAV LINKS + BUTTONS */
.top-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-family: "Inter", sans-serif;
}

.top-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    position: relative;
}

.top-nav a.active::after,
.top-nav a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 999px;
}

.top-nav a:hover {
    opacity: 0.9;
}

/* NAV BUTTONS */
.btn {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding: 7px 16px;
    border-radius: 6px;
    cursor: pointer;
    border: none;
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.12);
}

.btn-solid {
    background: #4b6fff;
    color: #ffffff;
}

.btn-solid:hover {
    background: #3e5dd1;
}

/* FADED BACKGROUND IMAGE */
.hero-bg-photo {
    position: absolute;
    top: 90px;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("landing-right.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    opacity: 0.22;
    filter: blur(1.5px);
    mix-blend-mode: overlay;

    z-index: 1;
    pointer-events: none;
}
/* =========================
      HERO MISSION STATEMENT
   ========================= */

.hero-mission {
    position: absolute;
    bottom: 60px;               /* adjust vertical height */
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    max-width: 900px;

    text-align: center;
    color: #ffffff;
    font-family: "Inter", sans-serif;
    z-index: 6;

    padding: 25px 30px;
    border-radius: 16px;

    background: rgba(255, 255, 255, 0.07); /* subtle glass look */
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.2);
}

/* Title */
.hero-mission h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Body text */
.hero-mission p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.95;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-mission {
        bottom: 30px;
        padding: 20px;
    }
    .hero-mission h2 {
        font-size: 20px;
    }
    .hero-mission p {
        font-size: 13px;
    }
}


/* =========================
      3 IMAGE GALLERY
   ========================= */
.gallery {
    position: absolute;
    z-index: 5;

    /* center the whole row in the hero */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
}

/* CARD BASE STYLE */
.gallery-card {
    width: 480px;
    height: 320px;
    border-radius: 32px;
    overflow: hidden;
    border: 6px solid #ffffff;
    box-shadow: 0 10px 24px rgba(0,0,0,0.20);
    background: #ffffff;

    /* fade-in animation base state */
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1.6s ease-out forwards;
}

/* CENTER CARD SLIGHTLY HIGHER (using margin) */
.center-card {
    margin-top: -25px;      /* lift center card */
    animation-delay: 1s;
}

/* LEFT & RIGHT CARDS SLIGHTLY LOWER (using margin) */
.side-card {
    margin-top: 15px;       /* push side cards down */
}

/* stagger animations for nicer effect */
.left-card {
    animation-delay: 0.2s;
}

.right-card {
    animation-delay: 0.6s;
}

/* FADE-IN ANIMATION */
@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* HOVER EFFECT (lift + bigger shadow) */
.gallery-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* CARD IMAGES */
.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* HERO TITLE TEXT */
.hero-title {
    position: absolute;
    top: 130px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;

    font-family: "Inter", sans-serif;
    font-size: 22px;
    font-weight: 500;
    color: white;
    line-height: 1.5;
    z-index: 6;
    width: 100%;

    opacity: 0;
    animation: titleFade 0.9s ease-out forwards;
    animation-delay: 0.1s;   /* title fades in before typing starts */
}

/* blinking cursor */
#typewriter::after {
    content: "|";
    margin-left: 5px;
    animation: blink 0.8s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

.hero-title span {
    font-size: 20px;
    font-weight: 300;
    opacity: 0.95;
}

@keyframes titleFade {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-25px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* =========================
      BOTTOM DARK FOOTER
   ========================= */

.site-footer {
    background: #0a042c;
    color: #f5f5f5;
    padding: 35px 60px 28px;
    font-family: "Inter", sans-serif;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.footer-col {
    flex: 1;
    font-size: 13px;
}

.footer-col-brand {
    flex: 1.3;
}

.footer-logo {
    max-width: 110px;
    height: auto;
    margin-bottom: 18px;
}

.footer-address p {
    margin-bottom: 4px;
}

.footer-col h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.footer-line {
    width: 70px;
    height: 2px;
    background: #8535ff; /* purple line */
    margin-bottom: 14px;
}

.footer-col p {
    margin-bottom: 4px;
}

/* RESPONSIVE FOOTER */
@media (max-width: 992px) {
    .footer-inner {
        flex-wrap: wrap;
        gap: 30px;
    }

    .footer-col,
    .footer-col-brand {
        flex: 1 1 100%;
    }

    .footer-logo {
        max-width: 220px;
    }
}

@media (max-width: 600px) {
    .site-footer {
        padding: 30px 22px 22px;
    }
}

/* =========================
      FEATURE CARDS (OPTION A)
   ========================= */

.hero-features {
    background: #b9bae4;
    padding: 70px 60px 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    font-family: "Inter", sans-serif;
}

.feature-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 20px 22px;
    max-width: 260px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    text-align: left;
}

.feature-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e5ebff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 8px;
}

.feature-card h3 {
    font-size: 16px;
    margin-bottom: 4px;
    color: #141b3f;
}

.feature-card p {
    font-size: 14px;
    line-height: 1.5;
    color: #4a4f6b;
}

/* =========================
      CTA SECTION (OPTION B)
   ========================= */

.hero-cta {
    background: #b9bae4;
    text-align: center;
    padding: 10px 20px 70px;
    font-family: "Inter", sans-serif;
}

.hero-cta h2 {
    font-size: 22px;
    color: #141b3f;
    margin-bottom: 8px;
}

.hero-cta p {
    font-size: 15px;
    color: #4a4f6b;
    margin-bottom: 22px;
}

.hero-cta-buttons {
    display: inline-flex;
    gap: 14px;
}

.cta-btn {
    padding: 10px 30px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}

.cta-primary {
    background: #233063;
    color: #ffffff;
}

.cta-outline {
    border: 1px solid #233063;
    color: #233063;
    background: transparent;
}
