/* ===== Reset & Base ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    font-family: 'Inter', sans-serif;
    color: #ffffff;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Subtle dark overlay for text readability */
.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.35) 0%,
            rgba(0, 0, 0, 0.15) 40%,
            rgba(0, 0, 0, 0.20) 70%,
            rgba(0, 0, 0, 0.50) 100%);
    z-index: 1;
}

/* ===== Header ===== */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    padding: 1.25rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;

    animation: headerSlideDown 0.8s ease-out both;
}

@keyframes headerSlideDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Company Name / Logo */
.header__brand {
    font-family: 'Times New Roman';
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    position: relative;
    display: inline-block;
}

/* Logo hover: float up + glow shadow */
.header__brand .header__logo {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.header__brand:hover .header__logo {
    transform: translateY(-4px);
    filter: brightness(0) invert(1) drop-shadow(0 6px 12px rgba(0, 0, 0, 0.6));
    -webkit-filter: brightness(0) invert(1) drop-shadow(0 6px 12px rgba(0, 0, 0, 0.6));
    opacity: 0.75;
}

.header__logo {
    height: 80px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    -webkit-filter: brightness(0) invert(1);
    opacity: 0.75;
}

/* Navigation */
.header__nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.header__link {
    font-family: 'Times New Roman';
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 0.5rem 1.15rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.header__link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

/* ===== Hero Content (Centered Text) ===== */
.hero__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    text-align: center;
    width: 90%;
    max-width: 800px;
}

.hero__title {
    font-family: 'Times New Roman';
    font-size: clamp(2.2rem, 5.5vw, 4.2rem);
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.1;
    white-space: normal;
    color: #ffffff;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s ease-out 0.3s both;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    display: inline-block;
}

.hero__subtitle {
    font-family: 'Times New Roman';
    font-style: italic;
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1.25rem;
    text-shadow: 0 1px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-end {
    position: absolute;
    bottom: 1.5rem;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 5;
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
    font-size: clamp(0.5rem, 1.5vw, 1rem);
    font-weight: 400;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 1px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.9s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .header {
        padding: 1rem 1.5rem;
    }

    .header__brand {
        font-size: 1.25rem;
    }

    .header__link {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .header {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
    }

    .header__nav {
        gap: 0.15rem;
    }
}


.offerings-section {
    width: 100%;
    position: relative;
    background-color: #fff0bd3e;
}

.offerings-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("images/cartographer.png");
    opacity: 0.25;
    /* ← adjust this: 0.0 invisible, 1.0 full */
    pointer-events: none;
    z-index: 0;
}

/* Keep all children above the texture */
.offerings-section>* {
    position: relative;
    z-index: 1;
}

.offerings-title {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    padding-top: 2rem;
}

.offerings-title .sub h3 {
    font-family: 'Times New Roman', Times, serif;
    font-weight: 700;
    font-style: italic;
    font-size: 1.4rem;
    color: #333;
}

.offerings-title .main h3 {
    font-family: 'Times New Roman', Times, serif;
    font-weight: 700;
    font-style: italic;
    font-size: 2.4rem;
    color: #333;
}

.offerings-scroll-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* Hide scrollbar for a cleaner look but keep functionality */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.offerings-scroll-wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.offerings-container {
    position: relative;
    width: 80%;
    /* Covers 80% of the screen width */
    margin: 0 auto;
    /* Centers the container */
    display: flex;
    justify-content: space-between;
    /* Evenly spaces the items */
    align-items: center;
    min-width: 800px;
    /* Ensures layout doesn't crush on small screens */
    height: 420px;
    padding-bottom: 5rem;
}

/* The Main Horizontal Line */
.timeline-line {
    position: absolute;
    top: calc(50% - 2.5rem);
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #333;
    transform: translateY(-50%);
    z-index: 0;
    border-radius: 2px;
}

/* Individual Item Wrapper */
.offering-item {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 18%;
    height: 100%;
    text-align: center;
}

.content-box h3 {
    color: #333;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 700;

}

/* The Dot on the main line */
.dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background-color: #333;
    border-radius: 50%;
    flex-shrink: 0;
    z-index: 2;
}

/* The vertical line shooting off the main line */
.connector-line {
    width: 2px;
    height: 50px;
    /* Length of the shoot-off */
    background-color: #333;
}

/* Offering icons — solid black */
.offering-icon {
    font-size: 3rem;
    color: #000000;
    filter: brightness(0);
    -webkit-filter: brightness(0);
    line-height: 1;
    margin-top: 1rem;
    margin-bottom: 0rem;
}

/* Offering descriptions */
.offering-desc {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Times New Roman', Times, serif;
    font-size: 0.8rem;
    color: #555;
    line-height: 1.4;
    width: 150px;
    text-align: center;
}

/* ===== About / Launch Section ===== */
.abt-launch {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Background image */
.abt-con-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Dark overlay */
.abt-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

/* About text — Times New Roman, bold italic */
.abt {
    position: relative;
    z-index: 2;
    width: 85%;
    max-width: 1200px;
    text-align: center;
    margin-bottom: 8rem;
    margin-top: 4rem;
}

.abt h3 {
    font-family: 'Times New Roman', Times, serif;
    font-weight: 700;
    font-style: italic;
    font-size: clamp(1.1rem, 3vw, 2rem);
    line-height: 1.6;
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

/* Launch banner */
.launch {
    position: relative;
    z-index: 2;
    width: 95%;
    max-width: 1200px;
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    justify-content: space-between;
    background: transparent;
    padding: 2.5rem 3rem;
}

/* Left side text */
.launch__left {
    flex: 0 0 45%;
}

.launch__title {
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
    font-size: clamp(2rem, 8vw, 3rem);
    /* Dynamically shrinks to fit */
    white-space: nowrap;
    /* Forces onto one line */
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.launch__subtitle {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* Right side form */
.launch__form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.launch__row {
    display: flex;
    gap: 0.85rem;
}

.launch__input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.753);
    border-radius: 8px;
    background: transparent;
    color: #ffffff;
    font-family: 'Times New Roman', Times, serif;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.launch__input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.launch__input:focus {
    border-color: rgba(255, 255, 255, 0.6);
}

.launch__input--full {
    width: 100%;
}

.launch__btn {
    width: 100%;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    background: #ffffff;
    color: #1a1a1a;
    font-family: 'Times New Roman', Times, serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.launch__btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

/* Responsive — abt-launch */
@media (max-width: 768px) {
    .launch {
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }

    .launch__left {
        flex: none;
        text-align: center;
    }

    /* Removed the .launch__row column direction so Name and Org stay side-by-side */
}

/* ===== Swipe Hint (Mobile Only) ===== */
.swipe-hint {
    display: none;
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
    font-size: 0.9rem;
    color: #666;
    padding: 0.5rem 0 1.5rem 0;
    position: relative;
    z-index: 2;
}

.swipe-hint span {
    display: inline-block;
    font-size: 3rem;
    /* Make the arrow much larger */
    animation: gentle-swipe 2s ease-in-out infinite;
}

@keyframes gentle-swipe {

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

    50% {
        transform: translateX(4px);
    }
}

@media (max-width: 768px) {
    .swipe-hint {
        display: block;
    }
}