@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

:root
{
    --bgBlue-color: #172d63;
    --bgBlack-color: black;
    --text-color: #fff;
    --hover-color: #2356ce;
    --textHover-color: #b6b6b6;
}

body {
    color: var(--bgBlack-color); 
    overflow-y: scroll;
    overflow-x: hidden;
}

/* Header -----------------------------------------------------------------------------*/
header {
    position: fixed;
    width: 100%;
    background-color: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 50px 15px 100px;
    transition: background-color 0.3s, padding 0.3s;
    z-index: 10;
}

header.sticky {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 50px 8px 100px;
}

/* Logo */
.logo-container {
    flex: 0 0 auto; /* This prevents the logo container from growing */
    margin-right: 50px;
}

.logo {
    width: 75px;
    height: auto;
    transition: width 0.3s;
}

header.sticky .logo {
    width: 55px;
}

/* Navigation */
.nav-container {
    display: flex;
    margin-right: 50px;
}

header ul {
    display: flex;
    white-space: nowrap;
    list-style: none;
    padding: 0; /* Remove default padding */
}

header ul li {
    margin-right: 80px; 
}

header ul li:last-child {
    margin-right: 0; 
}

header ul li a {
    color: var(--text-color);
    font-size: 17px;
    text-decoration: none;
    position: relative;
}

header ul li a:hover {
    color: var(--textHover-color);
    transition: color 0.2s;
}

header ul li a:after {
    content: "";
    position: absolute;
    background-color: transparent;
    height: 2px;
    width: 0;
    left: 0;
    bottom: -6px;
    transition: 0.2s;
}

header img {
    width: 15px;
    margin-right: 5px; 
    flex-shrink: 0;
}

header.sticky ul li a:after {
    background-color: var(--hover-color);
}

header ul li a:hover:after {
    width: 100%;
}

/* Contact */
.contact-container {
    display: flex;
    color: var(--text-color);
    font-size: 14px;
    text-decoration: none;
    transition: font-size 0.3s, line-height 0.3s;
    line-height: 25px;
    white-space: nowrap;
}

header.sticky .contact-container {
    font-size: 13px;
    line-height: 20px;
}

/* Home ------------------------------------------------------------------------*/
.homeSection .content
{
    background: linear-gradient(to bottom right, #001a59 25%, #3b66ca 140%); 
    /* For older browsers */
    background: -webkit-linear-gradient(top left, #001a59 25%, #3b66ca 140%);
    color: var(--text-color);
}

.homeSection .title
{
    font-size: 90px;
    font-weight: 600;
    text-align: left;
    padding: 300px 0 0 150px;
    position: relative;
    white-space: nowrap;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%; /* Ensures the hero wrapper takes full width */
}

/* Styling for hero image */
.hero-image {
    flex-shrink: 0; /* Prevents the image from shrinking */
    width: 1200px; 
}

.hero-image img {
    max-width: 100%; /* Ensure the image doesn't overflow its container */
    display: block; 
    position: relative; /* Position the image absolutely */
    top: 30px; /* Adjust top position as needed */
    right: 230px; /* Align the image to the right */
    overflow: hidden;
}

@media(max-width: 1880px)
{
    .hero-image {
        width: 1100px; 
    }

    .hero-image img {
        top: 50px; 
    }
}

@media(max-width: 1500px)
{
    .hero-image img {
        right: 300px; 
    }
}

.homeSection .text
{
    font-size: 30px;
    opacity: 50%;
    font-weight: 200;
    text-align: left;
    padding-left: 150px;
    position: relative;
    white-space: nowrap;
}

.scrollDown 
{
    display: flex;
    justify-content: left;
    align-items: center;
    position: relative; 
    padding: 130px 350px;
    z-index: 1;
}

.visually-hidden 
{
    position: absolute;
    overflow: hidden;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
}

.scrollDown a 
{
    position: relative;
    text-decoration: none;
    color: white;
}

@keyframes occasional-arrow-bounce 
{
    0% { transform: translateY(0); }
    79% { transform: translateY(0); }
    80% { transform: translateY(2px); }
    100% { transform: translateY(-4px); }
}

.scrollDown a:after 
{
    content: '\02193';
    font-size: 40px;
    position: absolute;
    top: 50%;
    margin-top: -25px;
    left: 50%;
    margin-left: -17px;
    animation: occasional-arrow-bounce 3s infinite 2s alternate ease-out;
}

.circle 
{
    height: 124px;
    width: 124px;
}

.background 
{
    fill: transparent;
    stroke: rgba(255, 255, 255, 0.1);
    transition: all 200ms ease;
}

.foreground 
{
    fill: transparent;
    stroke-dasharray: 377;
    stroke-dashoffset: 377;
    stroke: #fff;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
    transition: all 800ms ease;
}

.scrollDown a:hover .foreground 
{
    stroke-dashoffset: 0;
    transform: rotate(90deg);
}

@keyframes arrow-bounce 
{
    0% { transform: translateY(2px); }
    100% { transform: translateY(-4px); }
}

.scrollDown a:hover:after 
{
    animation: arrow-bounce 0.5s infinite alternate ease-out;
}

.link-container 
{
    width: 100%;
    position: relative;
    background-color: var(--bgBlack-color);
    display: flex;
    align-items: center;
    justify-content: center; /* Center align items horizontally */
    padding-top: 30px;
    padding-bottom: 100px;
}

.link-container a 
{
    font-size: 20px;
    font-weight: 300;
    display: flex;
    align-items: center;
    color: var(--text-color);
    text-decoration: none;
    max-height: 50px;
}

.link-container a:not(:last-child) 
{
    border-right: 1px solid #383838; 
    height: 50px;
}

.link-container a
{
    padding: 0 150px 0 150px;
}

.link-container img 
{
    width: 25px;
    margin-left: 40px; 
    flex-shrink: 0;
}


/* H1 Styling */
h1
{
    font-size: 60px;
    font-weight: 400;
    text-align: center;
    padding: 100px;
    position: relative;
}

@media (prefers-reduced-motion: no-preference) {
    .hidden {
        transition: all 1s;
        opacity: 0;
        transform: translateY(5%);
    }
}

.show
{
    opacity: 1;
    transform: translateY(0);
}




/* About -----------------------------------------------------------------------------*/
.aboutSection .content
{
    color: var(--text-color);
}

.grid-container 
{
    width: 95%;
    margin: 0 auto; 
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding-top: 80px;
}

.grid-item 
{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.grid-item img 
{
    width: 80px;
    margin-bottom: 20px;
}

.grid-item .title 
{
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.grid-item .text 
{
    font-size: 18px;
    font-weight: 200;
    text-align: center;
    max-width: 280px;
}

@media (max-width: 768px) 
{
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Diplomas -----------------------------------------------------------------------------*/
.diplomasSection {
    padding-top: 150px;
    padding-bottom: 100px;
}

.diplomas-wrapper {
    overflow: hidden;
    position: relative;
    background: #102c6d;
    padding: 80px 0;
}

.diplomas-container {
    display: flex;
    width: max-content;  /* Allows horizontal scrolling */
    transition: all 0.2s ease; /* Smooth transition when scrolling */
}

.diplomas-slide {
    display: flex;
}

.diplomas-slide img {
    width: 350px;
    margin: 0 50px;
}

/* Add slight adjustments to the visual styling of the wrapper */
.diplomas-wrapper:before,
.diplomas-wrapper:after {
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    content: "";
    z-index: 2;
}

.diplomas-wrapper:before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), black);
}

.diplomas-wrapper:after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), black);
}

/* Hide scrollbar but ensure scrolling still works */
.diplomas-wrapper::-webkit-scrollbar {
    display: none;
}





/* FAQ -----------------------------------------------------------------------------*/
.faqSection .content
{
    color: var(--text-color);
}

.topics-container
{
    max-width: 1500px;
    margin: 0 auto;
    padding-bottom: 300px;
}

.topic button
{
    background-color: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
    border:none;
    outline: none;
    font-size: 22px;
    color: var(--text-color);
    font-weight: 700;
    cursor: pointer;
}

.topicButton span
{
    margin-left: 50px;
}

.topic .questions-container
{
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.6s ease;
}

.question
{
    border-bottom: 1px solid #8a8a8a;
}

.question button
{
    width: 100%;
    background-color: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 15px;
    border: none;
    outline: none;
    font-size: 22px;
    color: var(--text-color);
    font-weight: 500;
    cursor: pointer;
}

.question p
{
    font-size: 22px;
    font-weight: 200;
    text-align: justify;
    max-height: 0;
    opacity: 0;
    line-height: 1.5;
    overflow: hidden;
    transition: all 0.6s ease;
}

.question a
{
    color: var(--text-color);
    text-decoration: underline 1px solid var(--hover-color);
    text-underline-offset: 5px;
}

.question img
{
    width: 20px;
    margin-left: 10px;
}

.d-arrow
{
    transition: transform 0.3s ease-in ;
}

.topic button .d-arrow.rotate
{
    transform: rotate(135deg);
}

.topic .questions-container.show
{
    max-height: 1000px; 
    opacity: 1;
    padding: 5px 15px 60px 80px;
}

.question button .d-arrow.rotate
{
    transform: rotate(180deg);
}

.question p.show
{
    max-height: 1000px; 
    opacity: 1;
    padding: 0px 15px 80px 15px;
}

/*icons*/
.plus {
    display: inline-block;
    width: 20px; 
    height: 20px;
    background-image: url('img/plus_icon.png');
    background-size: cover; 
    flex-shrink: 0;
}

.arrow {
    display: inline-block;
    width: 20px; 
    height: 20px;
    background-image: url('img/arrow_icon.png');
    background-size: cover; 
    flex-shrink: 0;
}


/* Contact -----------------------------------------------------------------------------*/
.contactSection .content 
{
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.contactSection .box 
{
    background: linear-gradient(to bottom right, #001a59 25%, #2f53a7 140%); 
    /* For older browsers */
    background: -webkit-linear-gradient(top left, #001a59 25%, #2f53a7 140%);
    width: 1600px;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 50px;
    margin: 100px;
    border-radius: 15px;
}

.contactSection .title 
{
    font-size: 60px;
    font-weight: 400;
    align-self: flex-start; 
}

.contactSection .contact-button 
{
    background: none;
    font-size: 20px;
    font-weight: 400;
    color: #fff;
    border: 2px solid #fff;
    padding: 15px 20px;
    cursor: pointer;
    position: relative;
    align-self: flex-end; 
    border-radius: 10px;
    text-decoration: none;
    box-shadow: inset 0 0 0 0 #fff;
    transition: ease-out 0.2s;
    
}

.contactSection .contact-button:hover
{
    box-shadow: inset 200px 0 0 0 #fff;
    color: #2f53a7;
}




/* Footer -----------------------------------------------------------------------------*/
footer {
    padding: 100px;
    position: relative;
    width: 100%;
}

footer .footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1600px;
    margin: 0 auto;
    border-top: 1px solid #383838; 
    padding-top: 40px; 
}

footer .logo img {
    width: 70px; 
}

footer .logo {
    opacity: 35%;
    padding-left: 20px;
    margin-right: 50px;
}

footer p
{
    color: #8a8a8a;
    line-height: 28px;
    font-weight: 300;
}

footer .copyright {
    padding-right: 20px;
    font-size: 15px;
    text-align: left;
}
