/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
}

/* Header */
header {
    background-color: #000;
    padding: 1rem 2rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 150px; /* Placeholder width */
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: transform 0.3s ease-in-out; /* Add transition for smooth effect */
}

nav ul li a:hover {
    color: #A1FD02; /* Change text color on hover */
    transform: scale(1.15); /* Slightly increased Zoom in effect */
}

/* Hamburger Menu */
.hamburger-menu {
    display: none; /* Hidden by default on desktop */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.hamburger-menu div {
    width: 30px;
    height: 3px;
    background-color: white;
    border-radius: 5px;
    transition: all 0.3s linear;
}



.hero-image-left {
    position: absolute;
    top: 60%;
    left: 10%;
    transform: translateY(-50%);
    width: 100px; /* Adjust as needed */
}

.hero-image-right {
    position: absolute;
    top: 25%;
    right: 10%;
    transform: translateY(-50%);
    width: 100px; /* Adjust as needed */
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.hero p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons .btn-primary {
    background-color: black;
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    margin-right: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-buttons .btn-primary:hover {
    background-color: #A1FD02; /* Change to green on hover */
    color: #000; /* Change text to black on hover */
    transform: translateY(-2px); /* Lift effect */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn-secondary {
    background-color: #fff;
    color: #000;
    padding: 1rem 2rem;
    border: 1px solid #000;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-buttons .btn-secondary:hover {
    background-color: #000; /* Change to black on hover */
    color: #fff; /* Change text to white on hover */
    transform: translateY(-2px); /* Lift effect */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.hero-buttons .btn-secondary {
    background-color: #fff; /* White background */
    color: #000; /* Black text */
    padding: 1rem 2rem;
    border: 1px solid #000; /* Black border */
    border-radius: 25px; /* Rounded rectangle */
    cursor: pointer;
}

/* Students Work Section */
.students-work {
    text-align: center;
    padding: 2rem 2rem;
    background-color: #f8f9fa;
}

.students-work h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6rem;
}

.logos img {
    height: 40px; /* Placeholder height */
}



/* University Partners Section */
.university-partners {
    text-align: center;
    padding: 4rem 2rem;
    position: relative; /* Needed for absolute positioning of the overlay */
}

.university-partners h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.fade-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, white 0%, transparent 25%, transparent 75%, white 100%);
    pointer-events: none; /* Allow interaction with elements beneath */
}

.university-logos-rows-container {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Space between rows */
}

.university-logo-row {
    white-space: nowrap;
    overflow: hidden;
    display: flex;
}

.university-logos-group {
    display: inline-block;
    flex-shrink: 0;
    /* Duplicate content for seamless loop */
    display: flex;
    align-items: center;
}

.university-logo-row img {
    height: 60px; /* Slightly larger logos */
    margin: 0 3rem; /* More space out the logos */
    vertical-align: middle;
}

.scroll-right .university-logos-group {
    animation: scrollRight 15s linear infinite;
}

.scroll-left .university-logos-group {
    animation: scrollLeft 15s linear infinite;
}

@keyframes scrollRight {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes scrollLeft {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0%);
    }
}

/* Gateway Section */
.gateway {
    display: flex;
    padding: 4rem 2rem;
    align-items: center;
}

.gateway-content {
    flex: 1;
    text-align: center;
}

.gateway-content h2 {
    font-family: 'Poppins'; /* Added font-family */
    font-weight: 700; /* Changed font-weight */
    font-size: 48px; /* Changed font-size */
    line-height: 100%; /* Added line-height */
    text-transform: capitalize; /* Added text-transform */
    margin-bottom: 1rem; /* Kept existing property */
}

.gateway-content > p {
    font-family: 'Poppins';
    font-weight: 400;
    font-size: 20px;
    line-height: 175%;
    text-transform: capitalize;
    color: #666;
    margin-bottom: 2rem;
}

.gateway-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature {
    text-align: center;
}

.feature img {
    width: 99px;
    height: 99px;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.feature p {
    color: #666;
}

.gateway-experts {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.expert {
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #ddd;
    width: 90%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.expert img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 1.5rem;
}

.expert-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.verified-icon {
    background-color: #7ed321;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-left: 0.5rem;
}

.separator {
    border: none;
    border-top: 1px solid #ddd;
    margin: 0.5rem 0;
}

.expert-info p {
    color: #666;
    margin-bottom: 0.25rem;
}

.expert-info .counselled, .expert-info .placements {
    display: inline-block;
    margin-right: 0.5rem;
}

/* Journey Section */
.journey {
    padding: 4rem 2rem;
}

.journey h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.journey-steps {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 1rem; /* For scrollbar */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    z-index: 1;
    transition: transform 0.5s ease-in-out;
}
.journey-steps::-webkit-scrollbar {
    display: none;
}
.journey-steps .step {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    min-width: 470px;
    height: 250px;
    border-radius: 30px;
    background-color: #f5f5f5;
    justify-content: space-between;
    align-items: center;
}

.journey-steps .step .step-number {
    font-family: "Inter", sans-serif;
    font-weight: 800;
    font-size: 200px;
    line-height: 1;
    background: linear-gradient(180deg, #A1FD02 0%, rgba(161, 253, 2, 0.25) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: 1;
    order: 2; /* Number on the right */
}

.journey-steps .step .step-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 0;
    z-index: 2;
    width: 60%;
    order: 1;
    text-align: center;
}

.journey-steps .step .step-content h3 {
    font-family: "Inter", sans-serif;
    font-weight: 800;
    font-size: 24px;
    line-height: 1;
    text-transform: capitalize;
}

.journey-steps .step .step-content p {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    text-transform: capitalize;
}


.journey-carousel,
.guides-carousel {
    position: relative;
    overflow: hidden;
    z-index: 1; /* Added to bring carousel to front */
}

.prev-btn,
.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    font-size: 2rem;
    cursor: pointer;
    z-index: 3;
    color: #000;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    opacity: 1; /* Always visible on desktop */
    transition: opacity 0.3s ease-in-out;
}

/* Removed the mouseenter/mouseleave opacity changes from here */

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}



/* Testimonials Section */
.testimonials {
    text-align: center;
    padding: 2rem 2rem; /* Reduced vertical padding */
    background-color: #F2F2F2;
    max-width: 75%; /* Set max-width to 75% */
    margin: 0 auto; /* Center the block */
}

.testimonials h2 {
    font-family: 'Poppins';
    font-weight: 700;
    font-size: 32px;
    line-height: 175%;
    text-transform: capitalize;
    margin-bottom: 1rem;
}

.testimonials > p {
    font-family: 'Poppins';
    font-weight: 400;
    font-size: 18px;
    line-height: 175%;
    text-transform: capitalize;
    color: #666;
    margin-bottom: 2rem;
}

.testimonial-card {
    display: flex; /* Changed to flex for row layout */
    flex-direction: row; /* Arrange items in a row */
    align-items: center; /* Vertically center content */
    background-color: transparent; /* Removed white background */
    padding: 0; /* Removed padding */
    border-radius: 0; /* Removed border-radius */
    width: 600px;
    margin: 0 auto 2rem auto; /* Center the card */
    text-align: left; /* Align text within the card to the left */
    min-height: 100px; /* Set a minimum height */
}

.testimonial-left-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align items to the start of the flex container */
    margin-right: 1rem; /* Space between left block and testimonial content */
}

.student-image img {
    width: 280px;
    height: 230px;
    border-radius: 40px;
}

.student-info {
    text-align: center;
}

.testimonial-left-block h4 {
    font-family: 'Poppins';
    font-weight: 700;
    font-size: 16px;
    line-height: 175%;
    text-transform: capitalize;
    color: #101010;
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
}

.testimonial-left-block span {
    font-family: 'Poppins';
    font-weight: 400;
    font-size: 12px;
    line-height: 175%;
    text-transform: capitalize;
    color: #101010;
}

.testimonial-content {
    flex: 1; /* Allow testimonial content to take remaining space */
    text-align: right; /* Align testimonial text to the right */
    padding-top: 1rem; /* Adjust as needed to align with image */
    margin-left: 1rem; /* Move the testimonial text slightly right */
}

.testimonial-content p {
    font-family: 'Poppins';
    font-weight: 400;
    font-style: italic;
    font-size: 16px;
    line-height: 175%;
    text-transform: capitalize;
    margin-bottom: 0.5rem;
}

#testimonial-switcher {
    display: inline-flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    border: 1px solid #ccc;
    padding: 3px;
    border-radius: 20px;
}

#testimonial-switcher button {
    background-color: #e0e0e0;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#testimonial-switcher button:not(.active):hover {
    background-color: #c0c0c0; /* Slightly darker grey on hover for non-active buttons */
    transform: scale(1.05);
}

#testimonial-switcher button.active {
    background-color: #7ed321;
    color: #fff;
}

/* Test Prep Section */
.test-prep {
    padding: 4rem 0;
    text-align: center; /* Center the inline-block child */
}

.test-prep h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.test-tabs {
    text-align: center;
    margin-bottom: 2rem;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 25px;
    display: inline-block;
}

.test-tabs button {
    background-color: transparent;
    border: 1px solid #ccc;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    margin: 0 0.5rem;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.test-tabs button:not(.active):hover {
    background-color: #f0f0f0; /* Light background on hover */
    border-color: #a1fd02; /* Green border on hover */
    color: #333; /* Darker text for contrast */
    transform: scale(1.05);
}

.test-tabs button.active {
    background-color: #7ed321;
    color: #fff;
    border-color: #7ed321;
}

.test-prep-block {
    background-color: #F2F2F2;
    padding: 4rem 2rem;
    width: 55%; /* Slightly decreased width */
    margin: 0 auto;
    border-radius: 15px;
}

.test-pane {
    display: none; /* Hidden by default */
}

.test-pane.active {
    display: flex; /* Shown when active */
    align-items: center;
}

.ielts-content {
    flex: 1;
}

.ielts-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem; /* Increased gap */
    margin-top: -20px;
}

.ielts-content p {
    color: #666;
    margin-bottom: 1rem;
}

.ielts-image {
    flex: 1;
    text-align: right;
}

.ielts-image img {
    max-width: 100%;
    height: auto;
    width: 300px; /* Slightly increased width */
    height: 350px;
}

/* Awards Section */
.awards {
    text-align: center;
    padding: 4rem 2rem;
}

.awards h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.awards p {
    color: #666;
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

.award-image img {
    max-width: 200px;
    height: auto;
}

/* Recognized By Section */
.recognized-by {
    text-align: center;
    padding: 4rem 2rem;
    position: relative; /* Needed for the fade overlay */
}

.recognized-by h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.publication-logos {
    width: 80%;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    white-space: nowrap;
}

.publication-logos-track {
    display: flex;
    animation: scrollRecognized 20s linear infinite;
}

@keyframes scrollRecognized {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.publication-logos img {
    max-height: 50px;
    max-width: 150px;
    height: auto; /* Maintain aspect ratio */
    width: auto; /* Maintain aspect ratio */
    margin: 0 2rem; /* Add some space between logos */
}


/* FAQ Section */
.faq {
    padding: 4rem 2rem;
}

.faq h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.faq-tabs {
    text-align: center;
    margin-bottom: 2rem;
}

.faq-tabs button {
    background-color: transparent;
    border: 1px solid #ccc;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    margin: 0 0.5rem;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.faq-tabs button:not(.active):hover {
    background-color: #f0f0f0; /* Light background on hover */
    border-color: #a1fd02; /* Green border on hover */
    color: #333; /* Darker text for contrast */
    transform: scale(1.05);
}

.faq-tabs button.active {
    background-color: #7ed321;
    color: #fff;
    border-color: #7ed321;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #ccc;
    padding: 1rem 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question span {
    font-size: 1.5rem;
}

.faq-question p {
    font-weight: bold;
}

.faq-answer {
    display: none; /* Hidden by default */
    padding-top: 1rem;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Contact Section */
.contact {
    text-align: center;
    padding: 2rem 2rem 1rem 2rem; /* Reduced top padding */
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background-color: #000;
    color: #fff;
    padding: 4rem 2rem 1rem 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.footer-column {
    flex: 1;
    margin-right: 2rem;
}

.footer-column .logo img {
    width: 150px;
    margin-bottom: 1rem;
}

.footer-column p {
    color: #ccc;
    margin-bottom: 1rem;
}

.social-icons a {
    margin-right: 1rem;
}

.social-icons img {
    width: 24px;
    height: 24px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    text-decoration: none;
    color: #ccc;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 1rem;
}

.footer-bottom a {
    text-decoration: none;
    color: #ccc;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Modal */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 30px; /* Increased padding */
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3); /* Added shadow */
}

.modal-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem; /* Increased margin */
    color: #333;
    text-align: center;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-content form input,
.modal-content form textarea {
    padding: 0.8rem; /* Increased padding */
    border: 1px solid #ddd; /* Lighter border */
    border-radius: 8px; /* More rounded corners */
    font-size: 1rem; /* Consistent font size */
    background-color: #f9f9f9; /* Slightly off-white background */
}

.modal-content form textarea {
    resize: vertical; /* Allow vertical resizing */
    min-height: 100px; /* Minimum height for textarea */
}

.modal-content form button.btn-primary {
    background-color: #7ed321;
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.1rem;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

.modal-content form button.btn-primary:hover {
    background-color: #6bbd1e;
}

/* Fullscreen Popup */
.fullscreen-popup {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1001; /* Above other modals */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
}

.fullscreen-popup.active {
    display: flex;
}

.popup-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 10px;
    position: relative;
    width: 90%;
    max-width: 900px; /* Adjust as needed */
    display: flex;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.close-popup {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-popup:hover,
.close-popup:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.popup-body {
    display: flex;
    width: 100%;
}

.popup-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 20px;
}

.popup-image img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.popup-form-container {
    flex: 1;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.popup-form-container h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
}

.popup-form-container p {
    color: #666;
    margin-bottom: 1.5rem;
}

.popup-form-container form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popup-form-container input[type="text"],
.popup-form-container input[type="email"],
.popup-form-container input[type="tel"],
.popup-form-container select {
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.popup-form-container button.btn-primary {
    background-color: #7ed321;
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.popup-form-container button.btn-primary:hover {
    background-color: #6bbd1e;
}

/* Guides Section */
.guides-section {
    padding: 2rem 5%;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: #333;
}

    /* Guides Section */
    .guides-container {
        display: flex;
        justify-content: center;
        gap: 2rem;
        flex-wrap: wrap;
        position: relative;
    }

    .guides-container::-webkit-scrollbar {
        display: none; /* Hide scrollbar for a cleaner look */
    }
    .guides-container {
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }

    .guide-card { /* Apply user-specified dimensions */
        flex: 0 0 393px; /* Match user-specified width */
        width: 393px; /* User-specified width */
        height: 391px; /* User-specified height */
        border-radius: 20px; /* User-specified border-radius */
        opacity: 1; /* User-specified opacity */
        padding: 1.5rem; /* Default padding, adjust if needed */
        overflow: hidden; /* Hide overflowing content if height is too small */
        margin-right: 1.5rem; /* Space between cards */
    }

.guide-card {
    background-color: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 10px;
    width: 300px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.guide-card img {
    height: 40px;
    margin-bottom: 1rem;
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.guide-card-content h3 {
    font-size: 1.2rem;
    color: #333;
    margin-top: 0;
}

.guide-card-content p {
    font-size: 0.9rem;
    font-weight: normal;
    color: #666;
    margin-bottom: 1rem;
}

.guide-card-content span {
    font-size: 0.9rem;
    color: #777;
    display: block;
    margin-bottom: 1.5rem;
    min-height: 40px;
}

.guide-card-content a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease, transform 0.3s ease;
}

.guide-card-content a:hover {
    color: #A1FD02; /* Change to green on hover */
    text-decoration: none; /* Remove underline on hover */
    transform: scale(1.05); /* Slight zoom in effect */
}

/* Guides Carousel */
.guides-carousel {
    position: relative;
    overflow: hidden;
}

.guides-prev-btn,
.guides-next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    font-size: 2rem;
    cursor: pointer;
    z-index: 3;
    color: #000;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    opacity: 1; /* Always visible on desktop */
    transition: opacity 0.3s ease-in-out;
}

.guides-prev-btn {
    left: 20px;
}

.guides-next-btn {
    right: 20px;
}

/* Contact Section Map */
.contact-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.contact-map {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 2rem;
}

/* Footer Address */
.footer-address {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Stats Bar Section */
.stats-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 1rem 5%;
    background-color: #fff;
    /* Removed border-top as per user's request */
    border-bottom: 1px solid #eee;
}

.stat-item {
    display: flex; /* Keep flex to align number and label */
    flex-direction: column; /* Stack number and label vertically */
    align-items: center; /* Center content horizontally */
    text-align: center; /* Center text */
    gap: 5px; /* Small gap between number and label */
}

.stat-number {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
    color: #000;
}

.stat-label {
    margin: 0;
    color: #666;
}

.hero-divider {
  border: none;
  border-top: 1px solid #E5E5E5 !important;
  margin: 36px 0 28px 0; /* adjust if needed */
  width: 100%;
  display: block !important;
  height: 1px !important;
}

.counselling-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: black;
    color: white !important;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 15px;
}

.counselling-button:hover {
    background-color: #A1FD02; /* Green background on hover */
    color: #000 !important; /* Black text on hover */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}



.ielts-content h3 img {
    width: 112px;
    height: 41px;
    vertical-align: middle;
    margin-right: 10px;
}

.contact .btn-primary {
    background-color: #A1FD02;
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
    margin-top: 1rem; /* Add some space below the h2 */
}

.contact .btn-primary:hover {
    background-color: #8cd302; /* Slightly darker on hover */
}

.map-block {
    background-color: #F2F2F2;
    padding: 2rem;
    width: 60%;
    margin: 2rem auto 0 auto;
    border-radius: 15px;
}

.map-block iframe {
    width: 100%;
    height: 450px; /* Use the height from the iframe attribute */
    border: 0;
    border-radius: 10px;
}
.download-button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.download-button:hover {
    background-color: rgba(161, 253, 2, 0.2); /* Light green background on hover */
    transform: translateY(-2px) scale(1.05); /* Slight lift and zoom */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.country-buttons .country-btn {
    background-color: rgba(0, 0, 0, 0.2);
    color: #fff;
    border: 1px solid #fff;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    margin: 0 5px;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.country-buttons .country-btn:hover {
    background-color: rgba(0, 0, 0, 0.6); /* Darker background on hover */
    transform: scale(1.05); /* Slight zoom in effect */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* --- Responsive Styles --- */

@media (max-width: 768px) {
    /* Header */
    .hamburger-menu {
        display: flex; /* Show the hamburger menu on mobile */
    }

    nav {
        flex-direction: row; /* Keep nav items in a row */
        justify-content: space-between; /* Space between logo and hamburger */
    }

    nav ul {
        position: fixed;
        right: -100%; /* Start off-screen */
        top: 0;
        flex-direction: column;
        background-color: rgba(161, 253, 2, 0.6); /* More transparent theme green */
        backdrop-filter: blur(10px); /* Apply blur to content behind the menu */
        -webkit-backdrop-filter: blur(10px); /* For Safari */
        width: 60%;
        height: 100vh;
        padding-top: 5rem;
        transition: right 0.3s ease-in-out;
        z-index: 10; /* Ensure menu is on top */
    }

    nav ul.nav-active {
        right: 0; /* Slide in from the right */
    }

    nav ul li {
        margin-left: 0;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    nav ul li a {
        color: #000; /* BLACK TEXT for visibility on green background */
    }

    /* Hero Section */
    .hero-image-left,
    .hero-image-right {
        display: none; /* Hide decorative images on mobile */
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    /* Logos Section */
    .mobile.logos {
        display: flex;
        overflow: hidden;
        white-space: nowrap;
    }
    .mobile .student-work-logos-group {
        display: flex;
        align-items: center;
        gap: 4rem;
        animation: scrollRight 10s linear infinite;
    }

    .mobile.logos img {
        height: 30px;
    }

    /* Gateway Section */
    .gateway-features {
        flex-direction: column;
    }

    /* Testimonials Section */
    .testimonials {
        max-width: 95%;
    }

    .testimonial-card {
        flex-direction: column;
        width: 100%;
    }

    /* Test Prep Section */
    .test-prep-block {
        width: 95%;
        padding: 2rem 1rem;
    }

    .test-pane.active {
        flex-direction: column;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .guides-section {
        padding-left: 0;
        padding-right: 0;
    }

    /* Journey Section & Guides Section on Mobile */
    .journey-carousel, .guides-carousel {
        overflow-x: auto;
        text-align: left; /* Added to override parent text-align */
    }

    .journey-steps {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 1.5rem;
        -webkit-overflow-scrolling: touch;
        gap: 1.5rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .guides-container {
        overflow-x: auto;
        padding-bottom: 1.5rem;
        -webkit-overflow-scrolling: touch;
        padding-left: 0rem;
        padding-right: 0rem;
        white-space: nowrap;
        flex-wrap: nowrap !important;
        scroll-snap-type: x mandatory;
    }

    .journey-steps::-webkit-scrollbar, .guides-container::-webkit-scrollbar {
        display: none;
    }
    .journey-steps, .guides-container {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .journey-steps .step {
        flex: 0 0 350px; /* Shrink width */
        width: 350px; /* Shrink width */
        height: 348px; /* Shrink height proportionally */
        border-radius: 20px;
        opacity: 1;
        overflow: hidden;
    }
    
    .guides-container .guide-card,
    .guides-container .guide-card-layout-1,
    .guides-container .guide-card-layout-2,
    .guides-container .guide-card-layout-3 {
        display: inline-block !important;
        width: 100%;
        height: 415px;
        border-radius: 20px;
        opacity: 1;
        overflow: hidden;
        margin-right: 1.5rem;
        scroll-snap-align: start;
    }

    .prev-btn,
    .next-btn {
        display: none; /* Hide navigation buttons on mobile */
    }

    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.7); /* Semi-transparent white for frost */
        backdrop-filter: blur(5px); /* Blur effect */
        -webkit-backdrop-filter: blur(5px); /* For Safari */
        z-index: 9; /* Below the menu (z-index: 10) */
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}