@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
:root{
    --primary_color: black;
    --secondary_color: #0167b1;
    --alternate_color: #09acec;
    --white_color: white;
    --card-gap: 2vw;
    --border-radius: 0.7vw;
}
*{
    font-weight: 500;
}
body, html{
    width: 100%;
    overflow-x: hidden;
    position: relative;
}
.main_container{
    background-color: var(--white_color);
}
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    background: var(--primary_color);
    z-index: 1000;
    transform: translateY(0);
    transition: transform 0.8s ease-in-out;
}

#logoContainer {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.logo img {
    height: 15vh;
    object-fit: contain;
}

#brighterText, #tomorrowText {
    transform: translateY(0);
    transition: transform 0.8s ease;
}

.loading-content {
    gap: 0.2vw; /* Reduced initial gap */
    transition: gap 0.5s ease;
}

.loading-content h1 {
    opacity: 0;
    transform: translateY(50px);
    font-weight: 300;
    transition: all 0.8s ease;
}

/* Animation states */
.text-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.text-bold {
    font-weight: 600 !important;
}

.spread-apart {
    gap: 3vw !important;
}
.logo_big{
    object-fit: contain;
}
.menu_extend{
    background: none;
    border: 0.2vw solid var(--secondary_color);
    outline: none;
    padding: 0.5vh 0.52vw;
    border-radius: 70%;
}
.nav_contents {
    position: relative;
}

.nav_contents .nav_links {
    position: relative;
    padding: 0.7vh 1vw;
    z-index: 2;
}

.capsule-ring {
    position: absolute;
    border-radius: 50px;
    pointer-events: none;
    transition: all 0.3s ease;
    border: 0.2vw solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(45deg, var(--secondary_color), var(--alternate_color)) border-box;
}
.active-link {
    color: var(--secondary_color);
}
.primary_button{
    background: linear-gradient(45deg, var(--secondary_color), var(--alternate_color));
    width: fit-content;
    position: relative;
    overflow: hidden;
    outline: none;
    transition: all 0.3s ease;
    background: var(--primary_color);
}
.login_button{
    width: 100%;
}
.particle {
    position: absolute;
    background: linear-gradient(45deg, var(--secondary_color), var(--alternate_color));
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--secondary_color), var(--alternate_color));
    opacity: 0.4;
    transform: scale(0);
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}
.hero_image{
    object-fit: contain;
    max-height: 60vh;
    max-width: 40vw;
}
.rise-animation {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.rise-active {
    opacity: 1;
    transform: translateY(0);
}

.destination-track {
    display: flex;
    gap: 1vw;
    padding: 2vh 2vw;
    will-change: transform;
}

.destination-item {
    flex-shrink: 0;
    height: 25vh;
}

.destination-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* about_us_section */
.gradient_text {
    background: linear-gradient(45deg, var(--secondary_color), var(--alternate_color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.gradient_bg {
    background: linear-gradient(45deg, var(--secondary_color), var(--alternate_color));
}
.icon_box {
    padding: 1vh 1.2vw;
    border-radius: 8px;
}
.video_container {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.about_video{
    height: 50vh;
}

/* study_abroad */
.countries_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.country_card {
    position: relative;
    height: 30vh;
    max-height: 50vh;
    overflow: hidden;
}

.card_image {
    position: relative;
}

.card_image img {
    object-fit: cover;
}

.gradient_overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(1, 103, 177, 0.9) 50%,
        rgba(1, 103, 177, 0) 100%
    );
}   
.card_content {
    position: absolute;
    top: 5vh;
    bottom: 0;
    left: 0;
    padding: 2vh 2vw;
    transform: translateY(60%);
    transition: all 0.3s ease;
    z-index: 2;
}
.card_content h2 {
    transform: translateY(0);
    transition: transform 0.3s ease;
}
.card_content h4 {
    margin-top: 1rem;
    opacity: 0;
    transition: all 0.3s ease;
    line-height: 1.4;
}
.country_card:hover .card_content {
    transform: translateY(7vh);
}
.country_card:hover .card_content h2 {
    transform: translateY(-10px);
}
.country_card:hover .card_content h4 {
    opacity: 1;
}

/* worldmap */
.map_container {
    position: relative;
    height: 60vh;
    max-height: 60vh;
}
.world_map {
    border-radius: var(--border_radius_m);
    background: var(--primary_color_light);
}

/* test carousel */
.test_preperation {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.test-track {
    display: flex;
    gap: 4vw;
    width: max-content;
    height: 100%;
}

.test-item {
    flex: 0 0 auto;
    padding: 0vh 1vw;
    transition: transform 0.3s ease;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

.test-item img {
    width: 20vw;  
    height: 23vh;
    object-fit: contain;
}

.test-item:hover {
    transform: scale(1.1);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.university-track {
    display: flex;
    gap: 2vw;
    width: max-content;
    height: 100%;
}

.university-item {
    flex: 0 0 auto;
    padding: 0vh 1vw;
    transition: transform 0.3s ease;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}
.university-item img {
    width: 20vw;  
    height: 23vh;
    object-fit: contain;
}
.university-item:hover {
    transform: scale(1.1);
}

/* contact section */
.contact_us_form {
    background: var(--white);
}

.form_group input,
.form_group select {
    padding: 2vh 1.5vw;
    border: 0.2vw solid #ddd;
    font-size: 0.8vw;
    border-radius: var(--border_radius_s);
    transition: border-color 0.3s ease;
}

.form_group input:focus,
.form_group select:focus {
    border-color: var(--primary_color);
    outline: none;
}


/* footer */
.footer {
    background: var(--secondary_color);
    color: var(--white_color);
    padding: 5vh 5vw;
}

.footer_info {
    flex: 0 0 30%;
}

.footer_logo{
    height: 10vh;
    object-fit: contain;
    margin-bottom: 3vh;
}

.footer_links {
    flex: 0 0 65%;
}

.footer_links_row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 4vh;
}

.footer_section h3 {
    margin-bottom: 1vh;
}

.footer_section h3.bold {
    font-weight: 700;
    margin-bottom: 2vh;
}

.copyright {
    margin: 3vh auto 0;
    padding-top: 2vh;
    border-top: 1px solid rgba(255,255,255,0.3);
    text-align: center;
}

.copyright h3 {
    font-weight: 300;
}
.footer_section h3.normal a {
    position: relative;
    color: var(--white_color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer_section h3.normal a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--alternate_color);
    transition: width 0.3s ease;
}

.footer_section h3.normal a:hover {
    color: var(--alternate_color);
    transform: translateX(5px);
}

.footer_section h3.normal a:hover::after {
    width: 100%;
}


/* about_us */
.about_hero {
       position: relative;
}

.goal_item i, .mission_item i {
    padding: 1vh;
    border-radius: 50%;
    background: rgba(1, 103, 177, 0.1);
    transition: all 0.3s ease;
}

.goal_item:hover i, .mission_item:hover i {
    transform: scale(1.1);
    background: var(--secondary_color);
    color: var(--white_color);
}
.accreditation_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4vw;
    padding: 2vh;
}

.accreditation_grid img {
    object-fit: contain;
    transition: transform 0.3s ease;
}

.accreditation_grid img:hover {
    transform: scale(1.1);
}
/* Team Section */
.team_grid {
    columns: 4;
    column-gap: 2vw;
}
.team_card {
    break-inside: avoid;
    position: relative;
    border-radius: 1vw;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-height: 40vh;
}

.team_card:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(5deg) scale(1.05);
    box-shadow: 0 25px 35px rgba(0, 0, 0, 0.2);
}

.team_image {
    position: relative;
}

.team_image img {
    height: auto;
    display: block;
    border-radius: 1vw;
    transition: transform 0.4s ease;
}

.team_card:hover .team_image img {
    transform: scale(1.1);
}

.team_image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 1vw;
}

.team_card:hover .team_image::after {
    opacity: 1;
}

.team_content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2vh;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    opacity: 0.9;
    transition: opacity 0.4s ease;
}

.team_card:hover .team_content {
    opacity: 1;
}
/* services */
/* Grid Layout */
.grid_4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

/* Service Cards */
.service_card {
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.6s ease;
}

.service_icon {
    border-radius: 1vw 1vw 0 0;
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.6s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
}

.hover-scale {
    transition: transform 0.5s ease;
}

.hover-scale:hover img {
    transform: scale(1.05);
}

/* Icon Box */
.icon_box {
    width: 2.5vw;
    height: 2.5vw;
    border-radius: 0.5vw;
}

/* 404 error page */

/* Animation for 404 number */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.page_404 {
    animation: float 6s ease-in-out infinite;
    font-size: 8vw;
}

/* test preparation */
.masonry_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.test_card {
    height: 35vh; /* Fixed height - Adjust as needed */
    border-radius: var(--border-radius);
    box-shadow: var(--primary-shadow);
    transition: transform 0.3s ease;
}

.test_card:hover {
    transform: translateY(-2.5vh);
}

.test_card_image_wrapper {
    position: relative;
    height: 30vh; /* Fixed image height - Adjust as needed */
}

.test_card_image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.test_card_overlay {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 30%, rgba(0, 0, 0, 0.9));
    backdrop-filter: blur(0.3vw); /* Optional */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.test_card:hover .test_card_overlay {
    opacity: 1;
}

.test_card_content {
    color: #f0f0f0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.test_card:hover .test_card_content {
    transform: translateY(0);
}

.test_card_title {
    margin-bottom: 1vh;
    font-weight: 700;
    text-transform: uppercase;
}

.test_card_description {
    margin-bottom: 1vh;
    opacity: 0.9;
    line-height: 1.4;
}

.test_card_tags {
    margin-bottom: 1.5vh;
}

.test_tag {
    background: rgba(0, 0, 0, 0.5);
    color: #f0f0f0;
    padding: 1vh 1vw;
    border-radius: 20px;
}

.explore_btn {
    display: inline-block;
    background: var(--secondary_color);
    color: white;
    padding: 1vh 1.5vw;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.explore_btn:hover {
    background: var(--alternate_color);
    transition: all 0.3s ease;
}

/* study_abroad page */
.bento_grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: repeat(2, 1fr);
}

.bento_card {
    position: relative;
    border-radius: 1.5vw;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.bento_card:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.bento_card.large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.bento_card.medium {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 30vh;
}

.bento_card.small {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 25vh;
}

.bento_bg {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    z-index: 1;
}

.bento_overlay {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0, 0, 0, 0.832));
    z-index: 2;
}

.bento_content {
    position: relative;
    z-index: 3;
    color: white;
    flex-grow: 1;
}

.bento_title {
    margin-bottom: 1vh;
    font-weight: 800;
}

.bento_description {
    opacity: 0.9;
    line-height: 1.4;
}

.bento_cta {
    color: white;
    font-weight: 700;
    transition: transform 0.3s ease;
    align-self: flex-start;
}

.bento_cta:hover {
    transform: translateX(10px);
}

.bento_cta svg {
    width: 1.2vw;
    height: 1.2vw;
}


/* contact page */
.contact_card {
    border-radius: 1vw;
    transition: all 0.3s ease;
}

.contact_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.form_group input,
.form_group select,
.form_group textarea {
    padding: 1.5vh 1vw;
    border: 1px solid #ddd;
    border-radius: 0.5vw;
    font-size: 1vw;
    transition: all 0.3s ease;
}

.form_group input:focus,
.form_group select:focus,
.form_group textarea:focus {
    border-color: var(--secondary_color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(1, 103, 177, 0.1);
}

.gradient_bg {
    background: linear-gradient(45deg, var(--secondary_color), var(--alternate_color));
}
.fullscreen-nav {
    position: fixed;
    top: 0;
    left: 0;
    background-color: black;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.7, 0, 0.3, 1);
}

.fullscreen-nav.active {
    opacity: 1;
    visibility: visible;
}

.nav-content {
    padding: 5vh 10vw;
}

.nav-header {
    display: flex;
}

.close-nav {
    width: 2vw;
    height: 4vh;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
}

.close-nav span {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: white;
    left: 0;
    transition: 0.3s;
}

.close-nav span:first-child {
    transform: rotate(45deg);
}

.close-nav span:last-child {
    transform: rotate(-45deg);
}

.nav-links {
    flex: 1;
    padding: 5vh 0;
    gap: 5vw;
}

.link-column {
    gap: 2vh;
}

.link-column h2 {
    color: var(--secondary_color);
    margin-bottom: 2vh;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 1.5vw;
    position: relative;
    display: flex;
    align-items: center;
    gap: 1vw;
    transition: color 0.3s;
}

.nav-link span {
    font-size: 1vw;
    color: #0167b1;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s;
}

.nav-link:hover {
    color: #0167b1;
}

.nav-link:hover span {
    opacity: 1;
    transform: translateX(0);
}

.nav-footer {
    align-items: flex-end;
    padding-top: 5vh;
    border-top: 0.2vw solid rgba(255,255,255,0.1);
}

.contact-info {
    gap: 1vh;
}

.contact-info p {
    color: #666;
}

.social-links {
    display: flex;
    gap: 1vw;
}

.social-links a {
    color: white;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #0167b1;
}

/* logins */
.login-form-wrapper {
    max-width: 35vw;
    padding: 3vw;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    background: white;
}

.alert {
    width: 100%;
}

.error-alert {
    background: #fde8e8;
    color: #dc2626;
    border: 0.15vw solid #fecaca;
}

.success-alert {
    background: #def7ec;
    color: #03543f;
    border: 0.15vw solid #bcf0da;
}

.form_group {
    position: relative;
}

.input-wrapper {
    position: relative;
    border: 0.2vw solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.input-wrapper:focus-within {
    border-color: var(--secondary_color);
}

.input-wrapper i {
    padding: 0 1vw;
    color: #6b7280;
}

.input-wrapper input {
    width: 100%;
    padding: 1.5vh 0;
    border: none;
    font-size: 1vw;
}

.input-wrapper input:focus {
    outline: none;
}

.password-toggle {
    cursor: pointer;
}

.error-message {
    color: #dc2626;
    margin-top: 0.5vh;
    display: block;
}

.team-upload-form-container {
    gap: 2vw;
}

/* team upload */
.team-actions button {
    padding: 0.5vh 1vw;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.edit-btn {
    background-color: #4CAF50;
    color: white;
}

.delete-btn {
    background-color: #f44336;
    color: white;
}

/* dashboard */
.stat-card {
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.member-card {
    cursor: pointer;
}

.member-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.action-button {
    transition: all 0.3s ease;
}

.update-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.delete-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.card-image {
    transition: all 0.3s ease;
}

.member-card:hover .card-image {
    transform: scale(1.05);
}

.preview-container {
    min-height: 20vh;
}

.preview-container img {
    max-width: 100%;
    max-height: 50vh;
    object-fit: contain;
}
.event-slide, .event-image {
    opacity: 0;
    display: none;
    transition: opacity 0.5s ease-in-out;
}

.event-slide.active, .event-image.active {
    opacity: 1;
    display: block;
}

/* events */
.event-container {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--white);
}

.event-image-container {
    position: relative;
    overflow: hidden;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    pointer-events: none;
}

.event-content {
    position: relative;
    z-index: 1;
}

.description-content {
    max-width: 800px;
}
.destination_hero_image{
    object-fit: cover;
    object-position: center;
    border-radius: 0.7vw;
}


/* inputs */
.note-editor {
    border-radius: 0.5vw !important;
    border: 0.1vw solid #ddd !important;
}

.note-toolbar {
    background: #f8f9fa !important;
    border-radius: 0.5vw 0.5vw 0 0 !important;
    padding: 0.8vw !important;
}

/* Button and icon sizing */
.note-btn {
    background: white !important;
    border: 0.1vw solid #ddd !important;
    min-width: 2.5vw !important;
    min-height: 2.5vw !important;
    margin: 0.2vw !important;
    font-size: 0.8vw;
}

.note-btn i {
    font-size: 0.8vw !important;
    line-height: 1 !important;
}

/* Editor area */
.note-editing-area {
    background: white !important;
    min-height: 5vw !important;
    font-size: 1vw !important;
    padding: 1vh 1vw;
}

.note-editable {
    line-height: 1.5 !important;
}

/* Dropdown menus */
.note-dropdown-menu {
    min-width: 15vw !important;
    font-size: 0.8vw !important;
}

.note-dropdown-item {
    padding: 0.5vw 1vw !important;
}

/* Modal windows */
.note-modal-title {
    font-size: 1.2vw !important;
}

.note-modal-header {
    padding: 1vw !important;
}

.note-modal-content {
    border-radius: 0.5vw !important;
}

/* Popover */
.note-popover {
    font-size: 1vw !important;
}

/* Status bar */
.note-status-output {
    font-size: 0.9vw !important;
    padding: 0.5vw !important;
}

/* universities */
.masonry-grid {
    columns: 3;
    column-gap: 1vw;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    max-width: 23vw;
}

.university-card {
    transition: all 0.3s ease;
}

.university-card:hover {
    transform: translateY(-5px);
}

.university-image img {
    transition: all 0.3s ease;
}

.university-card:hover .university-image img {
    transform: scale(1.05);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}
.shadow {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.shadow:hover {
    transform: scale(1.02);
}

.relative {
    position: relative;
}
.course{
    gap: 5vw;
}
.accreditation-carousel-container {
    width: 100%;
    position: relative;
}

.accreditation-track {
    display: flex;
    gap: 5vw;
}

.accreditation-item {
    flex: 0 0 auto;
    max-width: 20vw;
}

.accreditation-item img {
    width: 100%;
    height: 25vh;
    object-fit: contain;
}


/* university search bar */
.search-container {
    max-width: 100%;
}

.search-input-container {
    position: relative;
}

.search-input-container input {
    border: 0.1vw solid #ddd;
    font-size: 1vw;
    padding: 1.5vh 0.5vw;
}

.search-input-container input:focus {
    outline: none;
    border-color: var(--primary_color);
    box-shadow: 0 0 0 2px rgba(var(--primary_color_rgb), 0.1);
}
.search-loader {
    position: absolute;
    right: 1vw;
    top: 50%;
    transform: translateY(-50%);
}

.spinner {
    width: 1.5vw;
    height: 3vh;
    border: 0.1vw solid #f3f3f3;
    border-top: 0.1vw solid var(--primary_color);
    border-radius: 100%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.search-input-container {
    position: relative;
}

@media (max-width: 999px) {
    .search-input-container input {
        font-size: 2.5vw;
        padding: 1.5vh 2vw;
    }
    .search-container {
        margin-top: 2vh;
    }
    .search-loader {
        right: 2vw;
    }
    .test_page_info{
        flex-direction: column;
        gap: 5vw;
    }
    .university_page_image{
        display: none;
    }
    .masonry-grid {
        columns: 2;
        margin-top: 2.5vh;
    }
    
    .masonry-item {
        max-width: none;
    }
    .note-editing-area{
        font-size: 2.6vw !important
    }
    .note-btn i {
        font-size: 2.2vw !important;
        line-height: 1 !important;
    }
    .grid_3 {
        gap: 5vw;
        grid-template-columns: repeat(2, 1fr);
    }
    .event-card:nth-of-type(3), .team-dash-card:nth-of-type(3){
        display: none;
    }
    .team-upload-form-container{
        flex-direction: column-reverse;
    }
    .login-form-wrapper {
        max-width: 100vw;
        padding: 15vh 7vw;
    }
    .link-column {
        gap: 2vh;
        width: 100%;
        justify-content: center;
        align-items: center;
    }
    .nav-link{
        font-size: 4vw;
    }
    .menu_extend{
        padding: 1vh 1.5vw;
    }
    .capsule-ring, .nav_links, .contact_section_link, .hide_column, .link-column h2{
        display: none;
    }
    .menu_extend i{
        font-size: 4vw;
    }
    .hero_section{
        flex-direction: column-reverse;
        overflow: hidden;
        padding: 2vh 7%;
    }
    .hero_section_contents h2 {
        margin-top: 0vh;
    }
    .navbar{
        height: 7vh;
    }
    .primary_button {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .destination-item {
        height: 25vh;
    }
    .about_us_section, .service_detail_card_alt{
        flex-direction: column-reverse;
    }
    .section_header {
        margin-bottom: 2.5vh;
    }
    .country_card{
        height: 20vh;
    }
    .map_container{
        height: 40vh;
    }
    .test-item img{
        height: 10vh;
    }
    .university-item img{
        width: 25vw;
        height: 10vh;
    }
    .section_header{
        margin-bottom: 0vh;
    }
    .form_group input, .form_group select {
        font-size: 2vw;
    }
    .footer_content , .service_detail_card, .contact_contents{
        flex-direction: column;
    }

    .footer_links_row {
        grid-template-columns: repeat(2, 1fr);
        gap: 4vh 2vw;
    }
    .footer_section:nth-child(3) {
        grid-column: 1 / -1;
    }
    .footer{
        margin-top: 5vh;
    }
    .team_grid {
        columns: 2;
    }
    .grid_4col{
        grid-template-columns: repeat(2, 1fr);
    }
    .masonry_grid{
        grid-template-columns: repeat(2, 1fr);
        gap: 7vw;
    }
    .icon_box{
        height: auto;
        width: auto;
    }
    .point_item{
        gap: 2vw;
    }
    .page_404{
        font-size: 15vw;
    }
    .test_card{
        height: 20vh;
    }
    .test_card_overlay{
        backdrop-filter: blur(0.17vw);
    }
    .test_card_tags{
        display: none;
    }
    .explore_btn{
        padding: 1vh 5vw;
        border-radius: 2vw;
    }
    .test_card_content{
        padding: 2vh 1.5vw;
    }
    .bento_grid{
        grid-template-columns: 1fr 0.8fr;
        grid-template-rows: repeat(2, 1fr);
    }
    .bento_header{
        margin-bottom: 0vh;
    }
    .contact_container {
        flex-direction: column;
    }
    
    .contact_cards {
        flex-direction: column;
    }
    
    .form_group input,
    .form_group select {
        font-size: 2.5vw;
    }
    
    .icon_box {
        width: 8vw !important;
        height: 8vw !important;
    }
    .close-nav{
        width: 8vw;
    }
}
@media (max-width: 699px) {
    .hero_image{
        max-height: 50vh;
        max-width: 100%;
    }
    .search-input-container input {
        font-size: 3vw;
    }
    .search-loader {
        right: 4vw;
    }
    .masonry-grid {
        columns: 1;
    }
    .note-editing-area{
        font-size: 3.6vw !important;
        min-height: 15vh !important;
    }
    .note-btn i {
        font-size: 3.3vw !important;
        line-height: 1 !important;
    }
    .grid_3 {
        grid-template-columns: repeat(1, 1fr);
    }
    .close-nav{
        width: 12vw;
    }
    .nav-link{
        font-size: 7vw;
    }
    .footer_links_row {
        grid-template-columns: 1fr;
        gap: 3vh;
    }
    .countries_grid {
        grid-template-columns: auto;
    }
    .menu_extend i{
        font-size: 6vw;
    }
    .hero_section_contents>h2 {
        margin-top: 2.5vh;
    }
    .hero_section {
        padding: 7vh 7%;
    }
    .destination-item {
        width: 100%;
        height: 20vh;
    }
    .loading-content h1{
        font-size: 4.5vw;
    }
    .logo img{
        height: 5vh;
    }
    .loading-content{
        gap: 0;
    }
    .about_video, .map_container {
        height: 30vh;
    }
    .test-item img{
        width: 30vw;
        height: 7vh;
    }
    .university-item img{
        width: 30vw;
        height: 15vh;
    }
    .form_group input, .form_group select {
        font-size: 3.4vw;
        padding: 2vh 4vw;
    }
    .goals_w_mission {
        flex-direction: column;
        gap: 5vh;
    }
    .team_grid {
        columns: 1;
    }
    .mission_list, .goal_item{
        gap: 5vw;
    }
    .page_404{
        font-size: 20vw;
    }
    .masonry_grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .test_card {
        height: 25vh;
    }
    .test_card_content {
        padding: 2vh 3.5vw;
    }
    .bento_card{
        min-height: 30vh;
    }
    .bento_grid{
        gap: 2vh;
    }
    .bento_grid{
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .form_group input,
    .form_group select {
        font-size: 3.5vw;
    }
    .member-card{
        display: none;
    }
    .member-card:nth-of-type(1){
        display: block;
    }
}

/* generalized button animation */
.scroll-animate {
    opacity: 0;
    transform: translateY(20px);
    will-change: transform, opacity;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-0 { transition-delay: 0s; }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; } 
.delay-4 { transition-delay: 0.8s; }
.delay-5 { transition-delay: 1s; }
.delay-6 { transition-delay: 1.2s; }
.delay-7 { transition-delay: 1.4s; }