@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
::-webkit-scrollbar {
    width: 10px; /* Scrollbar width */
}

/* Track (Scrollbar background) */
::-webkit-scrollbar-track {
    background: #1a1a1a; /* Dark background for contrast */
    border-radius: 10px;
}

/* Handle (Scroll thumb) */
::-webkit-scrollbar-thumb {
    background: #f4d35e; /* Yellow scroll handle */
    border-radius: 10px;
    transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #f6e27f; /* Slightly lighter yellow for hover effect */
    transform: scale(1.1); /* Slight enlargement */
}

/* Handle when active (clicked) */
::-webkit-scrollbar-thumb:active {
    background: #f1c93b; /* Darker yellow when clicked */
}
html {
    scroll-behavior: smooth;
    scrollbar-width: thin; /* Thin scrollbar */
    scrollbar-color: #ff6b6b #1a1a1a; /* Thumb color and track color */
}
body {
    background: linear-gradient(to bottom, 
        #0d1b2a 36%,   /* Dark navy takes the top 50% */
        #3b2e25 50%,   /* Soft brownish transition */
        #c8a989 70%,   /* Warm beige tone */
        #e3c9a8 75%,   /* Lighter beige */
        #3b2e25 100%   /* Slight return to soft brown */
    );
}

.flag-icon {
    display: inline-block;
    width: 1.5em;
    height: 1em;
    background-size: contain;
    background-position: 50%;
    background-repeat: no-repeat;
}




.nav-item::after {
    content: '';
    margin: auto;
    display: block;
    width: 0%;
    height: 2px;
    background-color: #f4d35e;
    opacity: 0;
    transition: 0.6s;
}
.nav-item:hover::after {
    width: 100%;
    opacity: 1;
}
p,a,h1,h2,h3,h4,h5,h6, ul li {
    color: #fff;

}
h1 {
    font-size: 4.4rem;
    font-weight: 400;
}
h2 {
    font-size: 3.2rem;
    font-weight: 400;
}
.above-title-center, .above-title-left {
    color: beige;
    text-transform: uppercase;
    border: 1px solid beige;
    padding: 1%;
    border-radius: 20px;
}
.above-title-center {
    text-align: center;
}
.above-title-left {
    text-align: left;
}
.cta-btn, .learn-btn {
    padding: 2%;
    border-radius: 20px;
    text-decoration: none;
    white-space: nowrap;
}
.cta-btn {
    color: #000;
    background-color: #f7be1b;
    box-shadow: 0px 4px 15px rgba(255, 215, 0, 0.4); /* Light gold glow */
    transition: 0.5s;
}
.cta-btn:hover {
    transform: scale(1.08);
    color: #000;
    text-decoration: none;
    transition: 0.5s;
}
.learn-btn:hover {
    color: #fff;
    text-decoration: none;
    transform: scale(1.08);
    transition: 0.5s;
}
.learn-btn {
    border: 1px solid #fff;
    margin-left: 1%;
    transition: 0.5s;
}
.counter {
    font-size: 4rem;
    font-weight: 800;
  }
  .countertitle {
    font-weight: 800;
  }
  .image-container {
    position: relative;
    width: 100%; /* Adjust to fit content */
    max-width: 500px; /* Adjust width based on the design */
}
#about {
    margin-top: 10%;
}
.about-above {
    width: 30%; padding: 2%;
}
.image-container {
    position: relative;
    width: 100%;
    max-width: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 500px;
}

.about-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    width: 70%;
    max-width: 300px;
    z-index: 2;
}

/* Prevent Overlapping and Ensure Proper Spacing */
@media (max-width: 768px) {
    .images-side {
        margin-top: 50vh !important; /* Ensures large gap from text */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .image-container {
        max-width: 350px;
    }

    .about-img {
        width: 80%;
        transform: translate(-50%, -50%);
    }

    .circle-bg {
        width: 90%;
    }

    #about .row {
        flex-direction: column-reverse; /* Moves images below text */
        text-align: center;
        flex-wrap: wrap;
        padding-bottom: 50px; /* Ensures space at bottom */
    }
}






/* Section Spacing */
#why-choose {
    padding: 80px 0;
    margin-top: 10%;
}

/* Section Title */
.section-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Container for Image & Cards */
.why-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 800px;
    margin: auto;
    margin-top: 20vh;
}

/* Background Circles */
.background-circles {
    position: absolute;
    width: 100%;
    max-width: 600px;
    z-index: -1;
}

/* Main Image */
.main-image {
    position: relative;
    z-index: 2;
}

.rounded-image {
    width: 100%;
    max-width: 320px;
    border-radius: 20px;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 20px;
    border-radius: 12px;
    width: 220px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
}

/* Floating Card Icons */
.floating-card img {
    width: 40px;
    margin-bottom: 10px;
}

/* Floating Card Positions */
.top-left {
    top: 10%;
    left: -10%;
}

.bottom-left {
    bottom: 10%;
    left: -5%;
}

.right {
    top: 30%;
    right: -10%;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .why-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .floating-card {
        position: relative;
        margin: 20px auto;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        width: 90%;
    }

    .top-left, .bottom-left, .right {
        position: relative;
        margin: 10px auto;
    }
}

.program {
    min-height: 550px;
    border-radius: 15px;
    display: flex;
    align-items: flex-end; /* Align content to bottom */
    justify-content: center;
}
.program1 {
    background-image: url("../images/undergraduate.png");

}
.program2 {
    background-image: url("../images/masters.png");

}
.program3 {
    background-image: url("../images/doctoral.png");

}
.program1, .program2, .program3 {
    background-position: center;
    background-size: cover;
}








/* General Section Styling */
#how-it-works {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Step Wrapper */
.step-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    gap: 5%;
}

/* Number Styling */
.step-number {
    font-size: 80px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.5) !important;
    width: 20%;
    text-align: center;
}

/* White Step Cards */
.step {
    background: white;
    border-radius: 15px;
    box-shadow: 0px 10px 20px rgba(255, 255, 255, 0.3), 
                0px 4px 8px rgba(255, 255, 255, 0.15);
    border: none;
    width: 80%;
    position: relative;
    z-index: 1;
}


/* Step Content Layout */
.step-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Icon Styling */
.icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.stats-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2%;
    border-radius: 20px;
    background-color: #fff;
    color: #000;
    width: 75%;
}
.fas {
    color: #000;
}
/* Testimonial Box */
.left-side-testimonial {
    border: 1px solid beige;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center; /* Centers content */
    position: relative; /* Needed for absolute positioning */
    padding: 30px;
}

/* Blockquote */
blockquote {
    font-size: 1.8rem;
    text-align: center;
    max-width: 80%;
    margin: 0 auto;
}

/* Navigation Arrows - Centered */
.testimonial-nav {
    position: absolute;
    left: 50%;
    bottom: 20px; /* Adjust if needed */
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

/* Navigation Buttons */
.nav-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 18px;
}
.next-btn {
    background-color: gold;
}
.prev-btn i{
    color: #fff;
}
.prev-btn {
    background-color: transparent;
    border: 1px solid #fff;
}


/* Accordion Button */
.accordion-button {
    font-size: 1.8rem;
    color: white; /* White text for dark background */
    background: transparent; /* No background */
    border: none;
}

/* Remove box shadow on focus */
.accordion-button:focus {
    box-shadow: none;
}

/* Accordion Item */
.accordion-item {
    background: transparent; /* Fully transparent */
    border: none; /* Remove default Bootstrap border */
    border-bottom: 1px solid rgba(255, 255, 255, 0.3); /* Light white border-bottom */
}

/* Accordion Body */
.accordion-body {
    font-size: 16px;
    color: white; /* Text remains white */
}

/* Ensure active button remains white */
.accordion-button:not(.collapsed) {
    color: white;
    background: transparent; /* No background on open state */
    box-shadow: none;
}

.send-form {
    color: #000;
    background-color: #f4d35e;
    box-shadow: 0px 4px 15px rgba(255, 215, 0, 0.4); /* Light gold glow */
    transition: 0.5s;
    padding: 3%;
    border: none;
    border-radius: 15px;
}
.send-form:hover {
    transform: scale(1.08);
    color: #000;
    text-decoration: none;
    transition: 0.5s;
}