/* Start custom CSS for html, class: .elementor-element-3a43084 *//* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif; /* Changed font to Poppins for a modern look */
}

body {
    background: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat fixed; /* Set new background image */
    color: #ffffff ; /* This color is for default body text, but elements like sections have their own colors */
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
header {
    background: linear-gradient(to right, #1a237e, #283593); /* Dark blue gradient */
    color: #ffffff;
    padding: 1rem 2rem;
    /* Removed 'top: 0;' and 'z-index: 1000;' if you want it to scroll off */
    /* If you DO want it fixed, uncomment these: */
    /* position: fixed; */
    /* top: 0; */
    /* width: 100%; */
    /* z-index: 1000; */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* More pronounced shadow */
}

.nav-container {
    max-width: 1200px; /* Keeps nav content centered */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2.2rem; /* Slightly larger logo */
    font-weight: 700;
    letter-spacing: -0.5px; /* Tighter letter spacing for impact */
    color: #8bc34a; /* Accent color for logo */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem; /* Increased gap for better spacing */
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.05rem;
    padding: 0.5rem 0; /* Added padding for clickable area */
    position: relative; /* For underline animation */
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #8bc34a; /* Accent color for underline */
    transition: width 0.3s ease-in-out;
}

nav ul li a:hover::after {
    width: 100%;
}

.search-icon {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.3rem; /* Slightly larger icon */
    cursor: pointer;
    transition: color 0.3s ease;
}

.search-icon:hover {
    color: #8bc34a;
}

.search-bar {
    display: none;
    position: absolute;
    top: 100%;
    right: 2rem;
    background: #ffffff;
    padding: 0.75rem 1rem; /* More padding */
    border-radius: 8px; /* Slightly more rounded */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform-origin: top right;
    animation: fadeInScale 0.3s ease-out forwards; /* Entrance animation */
}

.search-bar.active {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-bar form {
    display: flex;
    gap: 0.5rem;
}

.search-bar input {
    padding: 0.6rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 250px; /* Wider search input */
    font-size: 1rem;
    color: #333;
}

.search-bar input::placeholder {
    color: #999;
}

.search-bar button {
    padding: 0.6rem 1.2rem;
    background: #8bc34a;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-bar button:hover {
    background: #7cb342;
}

/* Hero Section */
.hero {
    height: 650px; /* Slightly taller hero */
    background: url('https://images.unsplash.com/photo-1543286386-713ed0081a11?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    overflow: hidden; /* Ensure parallax doesn't cause scrollbar */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Darker blue overlay for better text contrast */
    background: rgba(10, 15, 80, 0.85); /* Changed to darker blue */
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px; /* Wider content area */
    padding: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Subtle text shadow */
}

.hero-content h1 {
    font-size: 3.8rem; /* Larger hero heading */
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.35rem; /* Larger hero description */
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* Content Sections */
.section {
    padding: 4rem 2rem; /* More padding for sections */
    /* REMOVED: max-width: 1200px; */
    /* REMOVED: margin: 2.5rem auto; */
    background: #ffffff;
    border-radius: 12px; /* More rounded corners */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); /* Softer, larger shadow */
    margin-bottom: 2.5rem; /* Add bottom margin to separate sections */
}

/* Create an inner container for sections that should NOT be full-width */
.section-content-wrapper {
    max-width: 1200px; /* Max width for content inside the full-width section */
    margin: 0 auto; /* Center the content */
    padding: 0 2rem; /* Add horizontal padding for smaller screens if needed, though section padding covers this */
}


.section h2 {
    font-size: 2.5rem; /* Larger section titles */
    font-weight: 700;
    color: #1a237e; /* Darker blue for headings */
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 0.5rem;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px; /* Short underline */
    height: 4px;
    background-color: #8bc34a;
    border-radius: 2px;
}

.section .section-description {
    font-size: 1.15rem; /* Larger description text */
    color: #555;
    margin-bottom: 2.5rem; /* More space below description */
    text-align: center;
}

.section h3 {
    font-size: 1.8rem; /* Larger subheadings */
    font-weight: 600;
    color: #1a237e;
    margin: 2.5rem 0 1.5rem; /* Increased margin */
    border-bottom: 1px solid #eee; /* Subtle separator */
    padding-bottom: 0.5rem;
}

.job-grid,
.subject-grid,
.exam-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Corrected property name */
    gap: 2rem; /* Increased gap */
}

.card {
    background: #ffffff;
    border: 1px solid #e0e0e0; /* Softer border */
    border-radius: 10px;
    padding: 2rem; /* More padding */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* Initial subtle shadow */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover {
    transform: translateY(-8px); /* More pronounced lift */
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15); /* More prominent shadow on hover */
}

.card h3 {
    font-size: 1.5rem; /* Larger card titles */
    font-weight: 600;
    color: #1a237e;
    margin-bottom: 0.75rem;
    border-bottom: none; /* Remove border from card H3 */
    padding-bottom: 0; /* Remove padding from card H3 */
}

.card p {
    font-size: 1rem; /* Slightly larger card description */
    color: #666;
    margin-bottom: 1.5rem; /* More space below description */
    text-align: left;
}

.card a {
    color: #8bc34a;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.card a:hover {
    color: #689f38;
    text-decoration: underline;
}

.view-more {
    display: block;
    text-align: center;
    margin-top: 3rem; /* More space above button */
    padding: 1rem 2rem; /* Larger button */
    background: #1a237e; /* Primary blue for main CTA */
    color: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: fit-content; /* Make button fit content */
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.view-more:hover {
    background: #283593;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.view-more.small {
    /* For the smaller "View All" buttons within sections */
    background: #8bc34a;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    margin-top: 2rem;
    box-shadow: none;
}

.view-more.small:hover {
    background: #7cb342;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.subject-category,
.exam-category {
    margin-bottom: 3rem; /* Space between categories */
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0; /* Light separator between categories */
}

.subject-category:first-of-type,
.exam-category:first-of-type {
    border-top: none;
    padding-top: 0;
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(to right, #8bc34a, #689f38); /* Green gradient */
    color: #ffffff;
    padding: 5rem 2rem;
    text-align: center;
    /* REMOVED: max-width: 1200px; */
    /* REMOVED: margin: 2.5rem auto; */
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2.5rem; /* Add bottom margin to separate sections */
}

.cta-section h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff; /* Override section h2 color */
}

.cta-section h2::after {
    background-color: #ffffff; /* White underline for CTA */
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 700px; /* Keep paragraph width constrained for readability */
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: #1a237e; /* Dark blue button for contrast */
    color: #ffffff;
    border-radius: 50px; /* Pill-shaped button */
    font-size: 1.15rem;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background: #283593;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    background: linear-gradient(to right, #1a237e, #283593);
    color: #ffffff;
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px; /* Keeps footer content centered */
    margin: 0 auto;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #8bc34a;
}

.tagline {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

footer .social-links {
    margin-bottom: 2rem;
}

footer .social-links a {
    color: #ffffff;
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

footer .social-links a:hover {
    color: #8bc34a;
}

.footer-nav {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-nav li a {
    color: #ffffff;
    opacity: 0.9;
    font-size: 0.95rem;
    transition: opacity 0.3s ease;
}

.footer-nav li a:hover {
    opacity: 1;
    text-decoration: underline;
}

.copyright {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (min-width: 1024px) {
    /* Note: .section no longer has max-width here, so this will only affect its padding */
    .section {
        padding: 5rem 4rem;
        /* max-width is now handled by .section-content-wrapper for inner content */
    }

    .hero-content h1 {
        font-size: 4.5rem;
    }

    .job-grid,
    .subject-grid,
    .exam-grid {
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 500px;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .search-bar {
        right: 1rem;
        width: calc(100% - 2rem);
        justify-content: center;
    }

    .search-bar input {
        width: 100%;
    }

    .section h2 {
        font-size: 2rem;
    }

    .cta-section h2 {
        font-size: 2.2rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 1rem 1rem;
    }

    .logo {
        font-size: 1.6rem;
    }

    nav ul {
        gap: 0.8rem;
    }

    nav ul li a {
        font-size: 0.9rem;
    }

    .hero {
        height: 400px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .section {
        padding: 2.5rem 1rem; /* Adjust padding for smaller screens */
    }

    .section h2 {
        font-size: 1.8rem;
    }

    .section .section-description {
        font-size: 1rem;
    }

    .job-grid,
    .subject-grid,
    .exam-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .card {
        padding: 1.5rem;
    }

    .card h3 {
        font-size: 1.2rem;
    }

    .card p {
        font-size: 0.85rem;
    }

    .view-more {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }

    .cta-section {
        padding: 3rem 1rem; /* Adjust padding for smaller screens */
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .cta-section p {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    footer {
        padding: 2rem 1rem;
    }

    .footer-logo {
        font-size: 1.6rem;
    }

    footer .social-links a {
        font-size: 1.2rem;
        margin: 0 0.8rem;
    }

    .footer-nav {
        gap: 1rem;
    }

    .footer-nav li a {
        font-size: 0.85rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}/* End custom CSS */