* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,html {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, hsl(74, 81%, 96%), #d0d5dd);
    background-attachment: fixed;
    font-family: Arial, sans-serif;
}

.header {
    width: 100%;
    position: relative;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    overflow: hidden;
    border-radius: 10px;
}

.nav-links {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.nav-links ul {
    list-style: none;
}

.nav-links li {
    margin-bottom: 10px;
}
.nav-links a {
    text-decoration: none;
    color: #fff; /* Brighter text color for better contrast */
    font-weight: bold;
    padding: 10px;
    display: block;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); /* Adds slight shadow for readability */
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #007bff;
}

.text-box {
    width: 90%;
    color: #fff;
    position: absolute;
    top: 10%;
    left: 5%;
    text-align: left;
    z-index: 2;
}
.text-box img {
    width: 200px;
    margin-bottom: 20px;
    position: relative;
    display: block;
    filter: brightness(2); /* Brightens the logo */
    box-shadow: 0 0 15px rgba(232, 224, 224, 0.8); /* Adds a glowing effect */
    border-radius: 50px; /* Rounded corners for a smooth look */
    animation: logo-glow 3s infinite alternate; /* Subtle glow animation */
}

/* Logo Glow Animation */
@keyframes logo-glow {
    0% {
        box-shadow: 0 0 15px rgba(234, 57, 57, 1);
    }
    25% {
        box-shadow: 0 0 15px rgba(102, 222, 89, 1);
    }
    50%{
        box-shadow: 0 0 15px rgb(44, 53, 222)
    }
    75%{
        box-shadow: 0 0 15px rgb(231, 234, 53)
    }
    100% {
        box-shadow: 0 0 30px rgba(255, 255, 255, 1);
    }
}
.visit-btn {
    text-decoration: none;
    color: #fff;
    background: #3765d0;
    border: 2px solid #3765d0;
    padding: 12px 34px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s, transform 0.3s;
    border-radius: 5px;
    display: inline-block;
}

.visit-btn:hover {
    border-color: #e28a07;
    background: #6719c2;
    transform: scale(1.05);
}
.slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-bottom: 0; /* No margin below the slider */
    padding: 0; /* No extra padding */
}
.slider-wrapper {
    display: flex;
    transition: transform 1s ease-in-out;
    animation: slide 16s infinite;
    opacity: 50%;
}

.slide {
    flex: 0 0 100%;
}

.slide img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-100%);
    }

    45% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(-200%);
    }

    70% {
        transform: translateX(-200%);
    }

    75% {
        transform: translateX(-300%);
    }

    95% {
        transform: translateX(-300%);
    }

    100% {
        transform: translateX(0);
    }
}
/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        top: 10px;
        right: 10px;
    }

    .nav-links ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links a {
        font-size: 14px;
        padding: 8px;
    }

    .text-box img {
        width: 150px;
        margin-bottom: 10px;
    }

    .visit-btn {
        font-size: 14px;
        padding: 8px 20px;
    }

    .slider {
        height: 70vh;
    }

    .slide img {
        height: 70vh;
    }
}

@media (max-width: 480px) {
    .nav-links ul {
        flex-direction: column;
        align-items: center;
    }

    .text-box img {
        width: 120px;
    }

    .visit-btn {
        font-size: 12px;
        padding: 6px 15px;
    }

    .slider {
        height: 60vh;
    }

    .slide img {
        height: 60vh;
    }
}
/* Study Abroad Section */
.study-abroad-section {
    padding: 40px 20px;
    text-align: center;
    background: #f7f7f7;
}

.study-abroad-section .intro h1 {
    font-size: 2rem;
    color: #e0160b;
    margin-bottom: 10px;
}

.study-abroad-section .intro p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #444;
}

.cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.card h2 {
    font-size: 1.5rem;
    margin: 10px 0;
    color: #e0160b;
}

.card p {
    font-size: 1rem;
    color: #666;
}

.cta .btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: #e0160b;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.3s;
}

.cta .btn:hover {
    background: #161089;
}

/* Responsive Design */

/* For medium screens (tablets and up to 1024px) */
@media (max-width: 1024px) {
    .study-abroad-section .intro h1 {
        font-size: 1.8rem;
    }

    .study-abroad-section .intro p {
        font-size: 1.1rem;
    }

    .cards-container {
        gap: 15px;
    }

    .card {
        width: 280px; /* Slightly smaller cards */
    }
}

/* For small screens (phones 768px and under) */
@media (max-width: 768px) {
    .study-abroad-section {
        padding: 30px 15px;
    }

    .study-abroad-section .intro h1 {
        font-size: 1.6rem; /* Reduce heading size for small screens */
    }

    .study-abroad-section .intro p {
        font-size: 1rem; /* Adjust paragraph text size */
        margin-bottom: 15px;
    }

    .cards-container {
        flex-direction: column;
        align-items: center;
        gap: 10px; /* Reduce gap between cards */
    }

    .card {
        width: 90%; /* Make cards fill the screen width */
        padding: 15px; /* Adjust padding to fit smaller screens */
    }

    .card h2 {
        font-size: 1.3rem; /* Smaller title on small screens */
    }

    .card p {
        font-size: 0.9rem; /* Reduce text size */
    }

    .cta .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* For very small screens (up to 480px, typical phones in portrait) */
@media (max-width: 480px) {
    .study-abroad-section .intro h1 {
        font-size: 1.4rem; /* Further reduce heading size */
    }

    .study-abroad-section .intro p {
        font-size: 0.9rem; /* Adjust paragraph text size */
    }

    .card {
        width: 100%; /* Ensure cards take full width */
        padding: 10px;
    }

    .card h2 {
        font-size: 1.2rem; /* Make headings smaller */
    }

    .card p {
        font-size: 0.8rem; /* Reduce text size even further */
    }

    .cta .btn {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}
 /* General Section Styling */
.about-us-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    background-color: #f7f7f7;
    gap: 40px;
    flex-wrap: wrap;
}

.about-us-content {
    flex: 1;
    text-align: left;
    max-width: 600px;
}

.about-us-title h3 {
    font-size: 2rem;
    color: #e0160b;
    margin-bottom: 20px;
    font-weight: 700;
}

.about-us-description p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 20px;
}

.about-us-description button {
    padding: 12px 25px;
    background-color: #e0160b;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.about-us-description button:hover {
    background-color: #161089;
}

/* Image Styling */
.about-us-image {
    flex: 0 0 300px; /* Limiting width for large screens */
    max-width: 300px;
    margin-left: 20px;
}

.about-us-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .about-us-container {
        flex-direction: column;
        padding: 20px;
    }

    .about-us-content {
        text-align: center;
        max-width: 100%;
    }

    .about-us-title h3 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .about-us-description p {
        font-size: 1rem;
    }

    .about-us-image {
        margin-top: 20px;
        text-align: center;
        max-width: 100%;
    }

    .about-us-image img {
        width: 80%;
        margin: 0 auto;
    }

    .about-us-description button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Very Small Screens (Phones in Portrait) */
@media (max-width: 480px) {
    .about-us-title h3 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .about-us-description p {
        font-size: 0.95rem;
    }

    .about-us-image img {
        width: 90%;
    }

    .about-us-description button {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
}

/* Flag Navigation */
.flag-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #f03d3d;
    border-radius: 10px;
    margin-top: 10px;
    gap: 20px;
    flex-wrap: wrap;
}

/* Flag Link Styling */
.flag {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s;
}

.flag:hover {
    transform: translateY(-5px); /* Optional hover effect */
}

/* Flag Image Styling */
.flag img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #fff;
    object-fit: cover;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s;
}

.flag img:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4); /* Enhanced hover effect */
}

/* Flag Text Styling */
.flag span {
    margin-top: 8px;
    font-weight: bold;
}

/* Mobile and Tablet Responsive Styling */
@media (max-width: 768px) {
    .flag-nav {
        gap: 15px;
        padding: 15px;
    }

    .flag img {
        width: 50px;
        height: 50px;
    }

    .flag span {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .flag-nav {
        gap: 10px;
        padding: 10px;
    }

    .flag img {
        width: 40px;
        height: 40px;
    }

    .flag span {
        font-size: 0.85rem;
    }
}/* Contact and Enquiry Section */
.contact-enquire-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px auto;
    max-width: 1200px;
}

.use, .enquire-form {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex: 1;
    max-width: 48%;
}

.use h3, .enquire-form h2 {
    color: #4a90e2;
    margin-bottom: 20px;
}

.use p, .enquire-form label {
    font-size: 18px;
    color: #333;
}

.contact-info p {
    margin: 10px 0;
}

.contact-info a {
    color: #4a90e2;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #357abd;
}

.enquire-form form {
    display: flex;
    flex-direction: column;
}

.enquire-form label {
    margin-bottom: 5px;
    font-weight: bold;
}

.enquire-form input, .enquire-form textarea {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.enquire-form button {
    padding: 10px 20px;
    background-color: #4a90e2;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.enquire-form button:hover {
    background-color: #357abd;
}

.map-container {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .contact-enquire-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .use, .enquire-form {
        max-width: 80%;
        padding: 15px;
    }

    .use h3, .enquire-form h2 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .use p, .enquire-form label {
        font-size: 16px;
    }

    .contact-info p {
        font-size: 14px;
    }

    .contact-info a {
        font-size: 14px;
    }

    .enquire-form input, .enquire-form textarea {
        font-size: 14px;
    }

    .enquire-form button {
        font-size: 14px;
    }

    .map-container iframe {
        height: 250px;
    }
}

/* Further mobile responsiveness for small screens */
@media (max-width: 480px) {
    .use, .enquire-form {
        max-width: 90%;
    }

    .use h3, .enquire-form h2 {
        font-size: 20px;
    }

    .use p, .enquire-form label {
        font-size: 14px;
    }

    .contact-info p {
        font-size: 12px;
    }

    .contact-info a {
        font-size: 12px;
    }

    .enquire-form input, .enquire-form textarea {
        font-size: 12px;
    }

    .enquire-form button {
        font-size: 12px;
    }

    .map-container iframe {
        height: 200px;
    }
}


/* WhatsApp Icon */
.whatsapp-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    border-radius: 50%;
    background-color: #25D366;
    padding: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

.whatsapp-icon img {
    width: 50px;
    height: auto;
    display: block;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-60px);
    }

    60% {
        transform: translateY(-30px);
    }

    80% {
        transform: translateY(-15px);
    }
}

.bounce {
    animation: bounce 5s infinite;
}

/* Footer Styles */
footer {
    background-color: #34495e;
    color: #ecf0f1;
    padding: 40px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.social-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.social-icons a {
    color: #ecf0f1;
    font-size: 24px;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #e74c3c;
}

.footer-nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav ul li {
    margin: 0 15px;
}

.footer-nav ul li a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
    color: #e74c3c;
}

.footerbottom {
    background-color: #2c3e50;
    text-align: center;
    padding: 10px 0;
    color: #bdc3c7;
}

.footerbottom p {
    margin: 0;
    font-size: 14px;
}

.footerbottom .designer {
    color: #e74c3c;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-nav ul {
        flex-direction: column;
        align-items: center;
    }

    .footer-nav ul li {
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 0 10px;
    }

    .social-icons a {
        font-size: 20px;
        margin: 0 8px;
    }

    .footer-nav ul li {
        margin: 8px 0;
    }

    .footerbottom p {
        font-size: 12px;
    }
}