body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #0A192F !important;
    /* Dark navy background */
    color: #ffffff;
    /* Default text white for readability */
}
.zsiq-float {
    background: red;
}
#zsiq_float{
background: red;
}

/* Header container */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    background-color: #0A192F;
    /* Dark header */
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Logo */
.logo img {
    height: 40px;
}

/* Search bar (default/desktop) */
.search-box {
    display: flex;
    align-items: center;
    background: #1C2A3A;
    /* Slightly lighter box for contrast */
    border-radius: 25px;
    padding: 5px 15px;
    width: 300px;
    max-width: 100%;
}

.search-box input {
    border: none;
    background: transparent;
    outline: none;
    flex: 1;
    padding: 5px;
    font-size: 14px;
    color: #ffffff;
}

.search-box input::placeholder {
    color: #cccccc;
}

.search-box button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #4da6ff;
}

/* Desktop auth buttons */
.auth-buttons {
    display: flex;
    align-items: center;
    border: 1px solid #4da6ff;
    border-radius: 6px;
    overflow: hidden;
}

/* All links inside */
.auth-buttons a {
    padding: 8px 18px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    border-right: 1px solid #4da6ff;
}

/* Remove border for last item */
.auth-buttons a:last-child {
    border-right: none;
}

/* Login button */
.auth-buttons .login {
    background: #4da6ff;
    color: #ffffff;
}

/* Sign up button */
.auth-buttons .signup {
    background: #ffffff;
    color: #0046ad;
}

/* Hover effect */
.auth-buttons a:hover {
    opacity: 0.85;
}

/* Mobile auth menu items */
.auth-menu a {
    display: block;
    width: 100%;
    padding: 12px;
    text-align: center;
    border-top: 1px solid #eee;
    text-decoration: none;
    font-weight: bold;
    color: #0046ad;
}

.auth-menu a:first-of-type {
    border-top: none;
}

.auth-menu a:hover {
    background: #f1f3f5;
}

/* Hamburger menu (hidden on desktop) */
.menu-toggle {
    display: none;
    font-size: 22px;
    cursor: pointer;
    background: none;
    border: none;
    color: #ffffff;
}

/* Mobile dropdown menu */
.auth-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 252px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
}

/* Show when toggled */
.auth-menu.show {
    max-height: 400px;
    opacity: 1;
}

/* Search box inside menu */
.auth-menu .search-box {
    width: calc(100% - 20px);
    margin: 10px;
    border-radius: 20px;
    padding: 5px 12px;
}

/* Desktop vs Mobile visibility */
.desktop-only {
    display: flex;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: flex;
    }

    .auth-buttons {
        display: none;
    }

    .menu-toggle {
        display: block;
    }
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 10% 1px 60px;
    background-color: #0A192F;
    color: #ffffff;
    min-height: 60vh;
    gap: 40px;
}

/* Left content */
.hero-content {
    max-width: 50%;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.3;
    color: #ffffff;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #cfd8dc;
}

/* CTA buttons */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.btn {
    padding: 12px 28px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
}

.btn.primary {
    background: #4da6ff;
    color: #ffffff;
}

.btn.primary:hover {
    background: #1e90ff;
}

.btn.secondary {
    background: transparent;
    border: 2px solid #4da6ff;
    color: #4da6ff;
}

.btn.secondary:hover {
    background: #4da6ff;
    color: #ffffff;
}

/* Right image */
.hero-image img {
    width: 400px;
    max-width: 100%;
    animation: float 3s ease-in-out infinite;
}

/* Floating animation for illustration */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ✅ Responsive (Tablet + Mobile) */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
        min-height: auto;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        margin-top: 30px;
    }

    .hero-image img {
        width: 280px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 26px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

/* ✅ Features Section */
.features {
    padding: 80px 10%;
    background: #f9f9f9;
    text-align: center;
}

.features h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #0A192F;
}

.features h2 span {
    color: #1e90ff;
}

.features .subtitle {
    font-size: 18px;
    color: #555;
    margin-bottom: 50px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 30px 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.feature-card img {
    width: 70px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0A192F;
}

.feature-card p {
    font-size: 15px;
    color: #555;
}

/* ✅ Responsive */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .features h2 {
        font-size: 28px;
    }

    .features .subtitle {
        font-size: 16px;
    }
}

/* ✅ Courses Section */
.top-courses {
    padding: 80px 10%;
    background: #f8fafc;
    text-align: center;
}

.top-courses h2 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #0A192F;
}

.top-courses .subtitle {
    font-size: 18px;
    color: #555;
    margin-bottom: 50px;
}

/* Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.course-card {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: left;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.course-card img.logo {
    height: 50px;
    margin-bottom: 15px;
}

.course-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0A192F;
}

.course-card p {
    font-size: 15px;
    color: #555;
    margin-bottom: 8px;
}

.course-meta {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.course-card a {
    display: inline-block;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: #1e90ff;
    transition: 0.3s;
}

.course-card a:hover {
    color: #005ecb;
}

/* ✅ Responsive */
@media (max-width: 992px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .courses-grid {
        grid-template-columns: 1fr;
    }
}

/* Filters */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    justify-content: center;
}

.filters select {
    padding: 10px 15px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    min-width: 150px;
    outline: none;
    transition: border 0.3s;
}

.filters select:focus {
    border-color: #1e90ff;
}

/* Show More Button */
#load-more {
    margin-top: 30px;
    display: none;
    /* hidden until needed */
}

.featured-universities {
    padding: 3% 10%;
    background-color: #0A192F;
    /* dark blue background */
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
}

.featured-universities h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.featured-universities .subtitle {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #a0aec0;
}

/* ✅ Testimonials Section */
.testimonials {
    background: #f9fafb;
    padding: 60px 20px;
    text-align: center;
}

.testimonials h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #222;
}

.testimonials .subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 40px;
}

.testimonials .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    justify-content: center;
}

.testimonials .testimonial-card {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonials .testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.testimonials .testimonial-card img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.testimonials .testimonial-card p {
    font-size: 1.5rem;
    color: #444;
    margin-bottom: 15px;
    line-height: 1.5;
}

.testimonials .testimonial-card h4 {
    font-size: 2.1rem;
    color: #111;
    margin: 5px 0;
}

.testimonials .testimonial-card span {
    font-size: 0.9rem;
    color: #777;
}

/* ✅ How It Works Section */
.how-it-works {
    background: #ffffff;
    padding: 60px 20px;
    text-align: center;
}

.how-it-works h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #222;
}

.how-it-works .subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 40px;
}

.how-it-works .steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.how-it-works .step-card {
    background: #f9fafb;
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.how-it-works .step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.how-it-works .step-number {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: #fff;
    background: #2563eb;
    /* Primary blue */
    border-radius: 50%;
    margin-bottom: 15px;
}

.how-it-works .step-card h3 {
    font-size: 1.2rem;
    color: #111;
    margin-bottom: 10px;
}

.how-it-works .step-card p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
}

/* ✅ Blog Section (Dark Style) */
.latest-blog {
    background: #0A192F;
    /* Deep navy background */
    padding: 60px 20px;
    color: #E5E7EB;
    /* Light gray text for readability */
}

.latest-blog h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 10px;
    color: #ffffff;
    /* White for heading */
}

.latest-blog .subtitle {
    text-align: center;
    font-size: 1rem;
    color: #9CA3AF;
    /* Muted gray */
    margin-bottom: 40px;
}

.latest-blog .blog-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.latest-blog .blog-item {
    text-align: left;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.latest-blog .blog-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.latest-blog .blog-item h3 a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.latest-blog .blog-item h3 a:hover {
    color: #38bdf8;
    /* Accent cyan on hover */
}

.latest-blog .blog-item p {
    font-size: 1rem;
    color: #d1d5db;
    /* Light gray */
    margin-bottom: 10px;
    line-height: 1.6;
}

.latest-blog .read-more {
    font-size: 0.95rem;
    font-weight: 500;
    color: #38bdf8;
    /* Cyan link */
    text-decoration: none;
}

.latest-blog .read-more:hover {
    text-decoration: underline;
}

.latest-blog .blog-footer {
    text-align: center;
    margin-top: 40px;
}

.latest-blog .btn.primary {
    background: #2563eb;
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.latest-blog .btn.primary:hover {
    background: #1e40af;
    /* Darker blue hover */
}

/* ✅ CTA Section */
.cta-section {
    background: linear-gradient(135deg, #2563eb, #1e3a8a);
    padding: 80px 20px;
    text-align: center;
    color: #fff;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-section .subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #e5e7eb;
}

.cta-section .cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.cta-section .btn.primary {
    background: #fff;
    color: #1e3a8a;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-section .btn.primary:hover {
    background: #f3f4f6;
}

.cta-section .btn.secondary {
    border: 2px solid #fff;
    color: #fff;
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-section .btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* FAQ Section */
.faq-section {
    background: #f9fafb;
    padding: 60px 20px;
}

.faq-section h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 10px;
    color: #222;
}

.faq-section .subtitle {
    text-align: center;
    font-size: 1rem;
    color: #666;
    margin-bottom: 40px;
}

.faq-section .faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-section .faq-item {
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 15px;
}

.faq-section .faq-question {
    width: 100%;
    text-align: left;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    color: #111;
    transition: color 0.3s ease;
}

.faq-section .faq-question:hover,
.faq-section .faq-item.active .faq-question {
    color: #2563eb;
}

/* 🔧 Use max-height animation instead of display:none */
.faq-section .faq-answer {
    overflow: hidden;
    max-height: 0;
    /* collapsed */
    transition: max-height 0.3s ease;
    padding: 0 15px;
    /* keep horizontal padding */
    color: #444;
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-section .faq-item.active .faq-answer {
    /* max-height is set inline via JS to the content height */
    padding-bottom: 15px;
    /* add bottom space only when open */
}

/* Universities Logos Section */
.universities-logos-section {
    background: #ffffff;
    padding: 50px 20px;
    text-align: center;
}

.universities-logos-section h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #222;
}

.universities-logos-section .subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 40px;
}

.universities-logos-section .logos-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

.universities-logos-section .logos-grid img {
    max-height: 60px;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.universities-logos-section .logos-grid img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.university-card {
    flex: 1 1 calc(25% - 20px);
    /* 4 per row on desktop */
    max-width: calc(25% - 20px);
    padding: 20px;
    border-radius: 12px;
    color: #fff;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Tablet */
@media (max-width: 1024px) {
    .university-card {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
        /* 2 per row */
    }
}

/* Mobile */
@media (max-width: 600px) {
    .university-card {
        flex: 1 1 100%;
        max-width: 100%;
        /* 1 per row */
    }
}

/* Footer Base */
.footer {
    background: #111827;
    /* dark slate */
    color: #f3f4f6;
    line-height: 1.6;
}

/* Headings */
.footer h4,
.footer h5 {
    color: #ffffff;
    font-weight: 600;
}

/* Links */
.footer a {
    color: #d1d5db;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #10b981;
    /* emerald accent */
}

/* List Reset */
.footer ul {
    padding-left: 0;
    list-style: none;
}

.footer ul li {
    margin-bottom: 8px;
}

/* Social Icons */
.footer i {
    font-size: 1.4rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.footer a:hover i {
    transform: translateY(-3px);
    color: #10b981;
}

/* WhatsApp Button */
.footer .btn-success {
    background-color: #10b981;
    border: none;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    transition: 0.3s;
}

.footer .btn-success:hover {
    background-color: #059669;
}

/* Bottom Bar */
.footer .border-top {
    border-color: #374151 !important;
    font-size: 0.85rem;
    color: #9ca3af;
}

/* Responsive */
@media (max-width: 768px) {
    .top-courses h2 {
        font-size: 20px !important;
        font-weight: 800;
        margin-bottom: 12px;
        color: #0A192F;
    }

    .footer {
        text-align: center;
    }

    .footer img {
        margin: 0 auto;
    }

    .footer .btn-success {
        margin-top: 10px;
    }

    .footer .row>div {
        margin-bottom: 20px;
    }
}