/* style.css (All styling in this single external CSS file) */

/* General Body Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
    color: #333;
    background-color: #f8faff; /* Light background for a clean look */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    color: #004d99; /* Deep blue for headings */
    margin-bottom: 15px;
    line-height: 1.2;
}

h1 {
    font-size: 3em;
}

h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
}

a {
    color: #007bff; /* Standard link blue */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
}

p {
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    background-color: #ff6f61; /* Vibrant coral for main buttons */
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #e65c50;
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    background-color: #007bff; /* Blue for secondary buttons */
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.btn-small {
    display: inline-block;
    background-color: #28a745; /* Green for small buttons */
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-small:hover {
    background-color: #218838;
}

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

.section-spacing {
    padding: 80px 0;
}

/* Header & Navigation */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo span {
    font-size: 1.8em;
    font-weight: bold;
    color: #004d99;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: #333;
    font-weight: 600;
    font-size: 1.1em;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: #ff6f61;
    left: 0;
    bottom: 0;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Burger Menu */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(rgba(0, 77, 153, 0.7), rgba(0, 77, 153, 0.7)), url('https://via.placeholder.com/1920x800/004d99/ffffff?text=Study+Abroad') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 150px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60vh; /* Responsive height */
    min-height: 400px;
}

.hero-content h1 {
    color: white;
    font-size: 4em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.5em;
    margin-bottom: 30px;
}

/* About Us Preview */
.about-preview .container {
    text-align: center;
    padding: 0 10%;
}

/* Services Preview */
.services-preview {
    background-color: #e6f0ff; /* Light blue background for services */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.service-card h3 {
    color: #ff6f61;
    margin-bottom: 15px;
    font-size: 1.8em;
}

.service-card p {
    font-size: 1em;
    color: #555;
    margin-bottom: 20px;
}

/* Testimonials */
.testimonials {
    background-color: #f0f8ff;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    font-style: italic;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.testimonial-card p {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #444;
}

.testimonial-card h4 {
    color: #004d99;
    margin-bottom: 5px;
}

.testimonial-card span {
    font-size: 0.9em;
    color: #777;
}

/* Page Banners (About, Services, Contact) */
.page-banner {
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-attachment: fixed; /* Parallax effect */
}

.about-banner {
    background-image: linear-gradient(rgba(0, 77, 153, 0.6), rgba(0, 77, 153, 0.6)), url('https://via.placeholder.com/1920x600/007bff/ffffff?text=About+Us');
}

.services-banner {
    background-image: linear-gradient(rgba(255, 111, 97, 0.6), rgba(255, 111, 97, 0.6)), url('https://via.placeholder.com/1920x600/ff6f61/ffffff?text=Our+Services');
}

.contact-banner {
    background-image: linear-gradient(rgba(40, 167, 69, 0.6), rgba(40, 167, 69, 0.6)), url('https://via.placeholder.com/1920x600/28a745/ffffff?text=Contact+Us');
}

.banner-content h1 {
    font-size: 3.5em;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* About Page Specifics */
.mission, .team-background {
    background-color: white;
    padding: 60px 0;
}

.mission .container, .team-background .container {
    max-width: 900px;
    text-align: center;
}

.mission h2, .team-background h2 {
    color: #004d99;
    margin-bottom: 30px;
}

/* Services Page Specifics */
.detailed-services {
    background-color: #f8faff;
}

.services-grid-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.service-detail-card {
    background-color: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-detail-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.service-detail-card h3 {
    color: #ff6f61;
    font-size: 2em;
    margin-bottom: 20px;
    border-bottom: 2px solid #ff6f61;
    padding-bottom: 10px;
}

.service-detail-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.service-detail-card ul li {
    background-color: #e6f7ff;
    padding: 12px 15px;
    margin-bottom: 10px;
    border-left: 4px solid #007bff;
    border-radius: 5px;
    font-size: 1.05em;
    color: #333;
}

.service-detail-card ul li strong {
    color: #004d99;
}

.price-placeholder {
    font-weight: bold;
    color: #004d99;
    font-size: 1.2em;
    text-align: center;
    margin-top: 25px;
}

/* Contact Page Specifics */
.contact-form-section {
    background-color: #f0f8ff;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: calc(100% - 20px);
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
    outline: none;
}

.form-group textarea {
    resize: vertical;
}

.error-message {
    color: #dc3545; /* Red for error messages */
    font-size: 0.9em;
    margin-top: 5px;
    display: none; /* Hidden by default, shown by JS */
}

.form-message {
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    display: none; /* Hidden by default */
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #badbcc;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.contact-info-section {
    background-color: white;
    padding: 60px 0;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.info-card {
    background-color: #e6f0ff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    background-color: #dbeaff;
}

.info-card h3 {
    color: #004d99;
    margin-bottom: 15px;
}

.info-card p {
    font-size: 1.1em;
    color: #555;
}

.info-card a {
    font-weight: 600;
}

/* Floating WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #1da851;
}

.whatsapp-btn img {
    width: 35px;
    height: 35px;
}

/* Footer */
footer {
    background-color: #004d99; /* Dark blue footer */
    color: white;
    padding: 60px 0 20px;
    font-size: 0.95em;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h3 {
    color: #ff6f61;
    margin-bottom: 20px;
    font-size: 1.4em;
}

.footer-col p, .footer-col ul {
    margin-bottom: 10px;
    color: #e0eaff;
}

.footer-col a {
    color: #e0eaff;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links img {
    width: 35px;
    height: 35px;
    filter: invert(100%); /* Make social icons white */
    transition: transform 0.3s ease;
}

.social-links img:hover {
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    color: #cce0ff;
}

/* Animations (applied via JS) */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

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

.scroll-animation {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animation.active {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries for Responsiveness */

/* Tablet and Smaller Screens */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3em;
    }

    .hero-content p {
        font-size: 1.2em;
    }

    .service-card, .testimonial-card, .service-detail-card, .info-card {
        padding: 25px;
    }

    .services-grid, .testimonial-grid, .services-grid-detailed, .contact-info-grid, .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Mobile Screens */
@media (max-width: 768px) {
    nav {
        padding: 15px 15px;
    }

    .nav-links {
        position: fixed;
        right: 0;
        top: 70px; /* Adjust based on header height */
        background-color: #004d99; /* Blue background for mobile menu */
        height: calc(100vh - 70px);
        width: 60%;
        flex-direction: column;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        z-index: 998;
        padding-top: 40px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }

    .nav-links li {
        margin: 25px 0;
        opacity: 0; /* Hidden initially, reveal with JS */
    }

    .nav-links a {
        color: white;
        font-size: 1.3em;
    }

    .nav-links a::after {
        background: #ff6f61; /* Coral highlight for mobile links */
    }

    .nav-active {
        transform: translateX(0%);
    }

    .burger {
        display: block;
        z-index: 1001;
    }

    .burger.toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger.toggle .line2 {
        opacity: 0;
    }

    .burger.toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Hero Banner Adjustment */
    .hero-banner {
        padding: 100px 15px;
        height: auto;
        min-height: 350px;
    }

    .hero-content h1 {
        font-size: 2.5em;
    }

    .hero-content p {
        font-size: 1.1em;
    }

    h2 {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .section-spacing {
        padding: 60px 0;
    }

    .about-preview .container {
        padding: 0 5%;
    }

    .service-card, .testimonial-card, .service-detail-card, .info-card {
        padding: 20px;
    }

    .services-grid, .testimonial-grid, .services-grid-detailed, .contact-info-grid, .footer-content {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 30px;
    }

    .footer-col {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Even Smaller Mobile Screens (e.g., iPhone 5/SE) */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2em;
    }

    .hero-content p {
        font-size: 1em;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    h2 {
        font-size: 1.8em;
    }

    .logo span {
        font-size: 1.5em;
    }

    .whatsapp-btn {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-btn img {
        width: 30px;
        height: 30px;
    }
}