body {
    font-family: 'Madefor Display', Helvetica, Arial, sans-serif;
}

/* Margin for all sections */
.custom-container {
    max-width: 1750px;
}

/* for navbars */
.navbar-expand-lg .navbar-nav .nav-link {
    margin-right: 30px;
}

.navbar-brand {
    font-size: 28px;
    color: black;
}

.navbars {
    padding-top: 20px;
}

.nav-link {
    font-size: 17px;
}

.nav-link.active {
    border-radius: 20px;
    padding: 5px 35px;
    border: 1px solid black;
    color: white !important;
    background-color: black;
}

.navbar-nav .nav-link {
    color: black;
    padding-right: 2.5rem;
}

.navbar-btn {
    border-radius: 20px;
    padding: 5px 30px;
    border: 1px solid black;
    color: white;
    background-color: black;
}

.logo-dot {
    display: inline-block;
    width: 30px;
    /* size of the dot */
    height: 30px;
    background-color: #000;
    /* dot color */
    border-radius: 50%;
    /* makes it circular */
    vertical-align: middle;
    /* align like an image */
}

.navbar-btn:hover {
    background-color: white;
    color: black;
    border-color: black;
    transition: all 0.3s ease;
}

.video-background {
  position: relative;
  width: 100%;
  height: 100vh; /* full viewport height */
  overflow: hidden;
}

.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  transform: translate(-50%, -50%);
  object-fit: cover; /* crop nicely */
}

.video-background .content {
  position: relative;
  z-index: 1; /* make sure text stays above video */
  color: white;
  text-align: center;
  padding-top: 20%;
}


/* Top sections */
.top-section {
    padding-top: 120px;
}

.top-section h1 {
    font-size: 112px;
    font-weight: lighter;
}

.top-section p {
    padding-top: 60px;
    font-size: 24px;
    padding-right: 900px;
    text-align: justify;
}

/* body section */

hr.bold-start-line {
    border: none;
    height: 3px;
    background: linear-gradient(to right,
            #000 0px,
            /* start color */
            #000 250px,
            /* bold part length */
            #a39f9f 50px,
            /* normal part begins */
            #ccc 100%
            /* continues full width */
        );
}

.body-section {
    margin-top: 100px;
}

.body-section p {
    font-size: 24px;
    text-align: justify;
}

.body-section h1 {
    font-size: 112px;
    font-weight: 400;
}

.left-border {
    /* Vertical line with bold top part */
    background: linear-gradient(to bottom,
            #000 0px,
            /* start color */
            #000 250px,
            /* bold part length */
            #a39f9f 50px,
            /* normal part begins */
            #ccc 100%
            /* continues full width */
        );

    background-repeat: no-repeat;
    background-position: left top;
    background-size: 2px 100%;
    /* 2px wide line, full height */
}

.chiac-asi {
    background-image: url(Images/abstract-1.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    /* Keeps image centered */
}

.chiac-asi2 {
    background-image: url(Images/BG-2.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    /* Keeps image centered */
}

.chiac-asi2-content {
    padding: 0px 200px 85px 200px;
}

.animated-heading {
    opacity: 0;
    transform: rotateX(160deg);
    /* start fully flipped down */
    transform-origin: bottom center;
    /* hinge at bottom */
    transition: transform 1s ease-out, opacity 1s ease-out;
}

.animated-heading.show {
    opacity: 1;
    transform: rotateX(0deg);
    /* upright */
}


/* PANEL SECTION */
section.panel {
    position: sticky;
    top: 0;
    height: 100vh;
    /* each section fills viewport */
    display: flex;
    font-size: 3rem;
    color: #000;
    z-index: 1;
    /* base stacking */
}

/* Different background colors */
.panel-1 {
    background: #fff;
    z-index: 1;
}

.panel-2 {
    background: #fff;
    z-index: 2;
}

.panel-3 {
    background: #fff;
    z-index: 3;
}
/* Border only around text block (not entire section) */
.border-left-panel {
  border-left: 2px solid gray;
  padding-left: 40px;
  height: 100%;   /* keeps line only in this column */
}

.border-right-panel {
  border-right: 2px solid gray;
  padding-right: 40px;
  height: 100%;
}








/* TECHNOLOGY PAGE */
.tech-section {
    padding-top: 200px;
}

.tech-class {
    background-image: url(Images/tech-bg.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 100vh;
}

.tech-section h1 {
    font-size: 112px;
    font-weight: lighter;
}

.tech-section p {
    font-size: 24px;
    text-align: justify;
    padding: 0px 100px;
}

.image-section {
    margin-top: 100px;
    margin-bottom: 100px;
    width: 85%;
    height: 700px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}





/* ABOUT PAGE */
.about-section {
    padding-top: 150px;
    padding-bottom: 150px;
}

.about-section h1 {
    font-size: 112px;
    font-weight: lighter;
}

.heritage {
    font-size: 112px;
    font-weight: lighter;
    padding: 40px 0px;
}

.about-section p {
    padding-top: 60px;
    font-size: 24px;
    padding-right: 900px;
    text-align: justify;
}

.founders {
    padding-left: 200px;
    text-align: justify;
}

.team-section {
    display: flex;
    gap: 20px;
    justify-content: right;
    padding: 50px 20px;
    margin-top: 50px;

}

.team-card {
    flex: 1;
    max-width: 400px;
    height: 600px;
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(to bottom, #828285 50%, #f8f8ff 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 20px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card-1 {
    flex: 1;
    max-width: 400px;
    height: 600px;
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(to bottom, #b9b9be 50%, #f8f8ff 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 20px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.team-card-1:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.team-card h4 {
    padding-top: 40px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 10px;
}

.team-card h2 {
    padding-top: 20px;
    font-size: 32px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 15px;
}

.team-card p {
    padding-top: 30px;
    font-size: 16px;
    line-height: 1.5;
    color: #fff;
}

.team-card-1 h4 {
    padding-top: 40px;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    margin-bottom: 10px;
}

.team-card-1 h2 {
    padding-top: 20px;
    font-size: 32px;
    font-weight: bold;
    color: #000;
    margin-bottom: 15px;
}

.team-card-1 p {
    padding-top: 30px;
    font-size: 16px;
    line-height: 1.5;
    color: #000;
}

/* Subtle glowing circle effect in bottom area */
.team-card::after {
    content: "";
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.7) 40%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}










/* CONTACT PAGE */
.contact-class {
    margin-top: 100px;
}

.contact-class h1 {
    font-size: 112px;
    font-weight: lighter;
}

.contact-class p {
    font-size: 24px;
}

.contact-section {
    display: flex;
    justify-content: flex-end;
    /* align form to right */
    padding: 50px 20px;
}

.contact-form {
    width: 100%;
    max-width: 1000px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-bottom: 25px;
}

.contact-form label {
    font-size: 14px;
    margin-bottom: 5px;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    border: 1px solid #333;
    border-radius: 4px;
    padding: 10px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #555;
}

.contact-form textarea {
    min-height: 100px;
    resize: vertical;
}

.btn-submit {
    margin-top: 20px;
    background: #1a1a1d;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    width: 250px;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #333;
}



.result-class h1 {
    font-size: 112px;
}

.result-class p {
    font-size: 20px;
}




/* footer */
.footer {
    bottom: 0;
    width: 100%;
}










/* Mobile Styles */
@media (max-width: 768px) {
    body {
        font-family: 'Madefor Display', Helvetica, Arial, sans-serif;
    }

    /* Reduce container width for mobile */
    .custom-container {
        max-width: 100%;
        padding: 0 15px;
    }

    /* Navbar adjustments */
    .navbar-expand-lg .navbar-nav .nav-link {
        margin-right: 0;
    }

    .navbar-brand {
        font-size: 18px;
    }

    .nav-link {
        font-size: 15px;
        padding-right: 0;
    }

    .navbar-btn {
        display: block;
        width: 100%;
        margin-top: 10px;
        padding: 8px 20px;
    }

    /* Top section adjustments */
    .top-section {
        padding-top: 80px;
        text-align: center;
    }

    .top-section h1 {
        font-size: 48px;
    }

    .top-section p {
        padding-top: 20px;
        font-size: 16px;
        padding-right: 0;
        padding-left: 0;
        text-align: center;
    }

    .body-section h1 {
        font-size: 48px;
    }

    .body-section p {
        padding-top: 20px;
        font-size: 16px;
        padding-right: 0;
        text-align: center;
    }

    /* Header background image still covers */
    .header-class {
        background-position: center;
        background-size: cover;
    }

    .chiac-asi2-content {
        padding: 0px 5px;
    }

    /* Technology section adjustments */
    .tech-section {
        padding-top: 80px;
        text-align: center;
    }

    .tech-section h1 {
        font-size: 48px;
    }

    .tech-section p {
        padding-top: 20px;
        font-size: 16px;
        padding-right: 0;
        text-align: center;
    }


    /* about section adjustments */
    .about-section {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .about-section h1 {
        font-size: 48px;
    }

    .about-section p {
        padding-top: 20px;
        font-size: 16px;
        padding-right: 0;
        padding-left: 0;
        text-align: center;
    }

    .heritage {
        font-size: 48px;
        font-weight: lighter;
        padding: 40px 0px;
    }

    .founders {
        padding-left: 0px;
        text-align: justify;
    }





    .team-section {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        padding: 30px 15px;
        margin-top: 30px;
        margin-bottom: 50px;
    }

    .team-card,
    .team-card-1 {
        max-width: 100%;
        height: auto;
        padding: 25px 20px;
    }

    .team-card h4,
    .team-card-1 h4 {
        font-size: 16px;
        padding-top: 20px;
    }

    .team-card h2,
    .team-card-1 h2 {
        font-size: 26px;
        padding-top: 10px;
    }

    .team-card p,
    .team-card-1 p {
        font-size: 14px;
        padding-top: 15px;
        color: black;
    }

    .team-card::after {
        width: 60px;
        height: 60px;
        bottom: 20px;
    }



    /* contact page */
    .contact-class h1 {
        font-size: 48px;
    }

    .contact-class p {
        padding-top: 20px;
        font-size: 16px;
        padding-right: 0;
        padding-left: 0;
        text-align: center;
    }

    .contact-section {
        justify-content: center;
        /* center on mobile */
        padding: 30px 15px;
    }

    .form-row {
        flex-direction: column;
        /* stack first/last name */
        gap: 0;
    }

    .btn-submit {
        font-size: 16px;
        padding: 14px;
    }

    .result-class h1 {
        font-size: 48px;
    }

    .result-class p {
        font-size: 16px;
    }
}

/* 💻 Small Desktops (769px – 1366px e.g. laptops) */
@media (min-width: 769px) and (max-width: 1366px) {
    .navbar-brand {
        font-size: 22px;
    }

    .nav-link {
        font-size: 16px;
        margin-right: 10px;
    }

    .top-section h1,
    .body-section h1,
    .tech-section h1,
    .about-section h1,
    .contact-class h1,
    .result-class h1 {
        font-size: 56px;
    }

    .top-section p,
    .body-section p,
    .tech-section p,
    .about-section p,
    .contact-class p,
    .result-class p {
        font-size: 18px;
    }

    .team-card,
    .team-card-1 {
        max-width: 90%;
    }
}

/* 🖥️ Mid/Large Desktops (1367px – 1600px) */
@media (min-width: 1367px) and (max-width: 1600px) {
    .navbar-brand {
        font-size: 24px;
    }

    .nav-link {
        font-size: 18px;
        margin-right: 15px;
    }

    .top-section h1,
    .body-section h1,
    .tech-section h1,
    .about-section h1,
    .contact-class h1,
    .result-class h1 {
        font-size: 64px;
    }

    .top-section p,
    .body-section p,
    .tech-section p,
    .about-section p,
    .contact-class p,
    .result-class p {
        font-size: 20px;
    }

    .team-card,
    .team-card-1 {
        max-width: 80%;
    }
}