/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: #2563eb;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: transparent;
    color: white;
}

.btn-outline {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-outline:hover {
    background: #2563eb;
    color: white;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo img {
    height: 50px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #2563eb;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #2563eb;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #000 0%, #000 100%);
    background-image: url('https://images.pexels.com/photos/1205651/pexels-photo-1205651.jpeg');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 170px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: #f9fafb;
}

.about-grid {
    margin-bottom: 4rem;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-item h3 {
    color: #2563eb;
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonials {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonials h3 {
    margin-bottom: 2rem;
    color: #1f2937;
}

.testimonials-slider {
    position: relative;
    margin-bottom: 2rem;
}

.testimonial {
    display: none;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.testimonial.active {
    display: block;
}

.testimonial-content p {
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #374151;
}

.testimonial-author strong {
    display: block;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: #6b7280;
    font-size: 0.875rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: #2563eb;
}

/* Courses Section */
.courses {
    background: white;
}

.course-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #e5e7eb;
    background: white;
    color: #6b7280;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    border-color: #2563eb;
    color: #2563eb;
    background: #eff6ff;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.course-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.course-image {
    height: 200px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}

.course-content {
    padding: 1.5rem;
}

.course-content h3 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.course-content p {
    margin-bottom: 1.5rem;
    color: #6b7280;
}

/* How to Start Section */
.how-to-start {
    background: #f9fafb;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.step h3 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.step p {
    color: #6b7280;
}

/* Blog Section */
/* Blog Section - Continued */
.blog {
    background: white;
}

.blog-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-tag {
    padding: 8px 16px;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.blog-category {
    background: #f3f4f6;
    color: #374151;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.blog-date {
    color: #9ca3af;
}

.blog-content h3 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.blog-content p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.blog-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.blog-link:hover {
    color: #1d4ed8;
}

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

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-section h5 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #d1d5db;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #2563eb;
}

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

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

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: #d1d5db;
}

.contact-info i {
    width: 20px;
    color: #2563eb;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 6px;
    background: #374151;
    color: white;
    border: 1px solid #4b5563;
}

.newsletter-form input::placeholder {
    color: #9ca3af;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #2563eb;
}

.newsletter-form button {
    padding: 10px 16px;
    font-size: 14px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding: 1.5rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #9ca3af;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /* Header Mobile */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        padding: 1rem;
    }

    .nav-menu.active {
        display: block;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 1rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    /* Hero Mobile */
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    /* Typography Mobile */
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }

    /* Sections Mobile */
    section {
        padding: 60px 0;
    }

    /* Course Filters Mobile */
    .course-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
    }

    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* Grid Mobile */
    .courses-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .btn-large {
        padding: 14px 24px;
        font-size: 16px;
    }

    .step {
        padding: 1.5rem;
    }

    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .course-card,
    .blog-card {
        margin: 0 10px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Focus States for Accessibility */
.btn:focus,
.nav-link:focus,
input:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #2563eb;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1d4ed8;
}
/* About Us */
/* Breadcrumb */
.breadcrumb {
    background: #f9fafb;
    padding: 1rem 0;
    margin-top: 30px;

}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.breadcrumb-nav a {
    color: #2563eb;
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    color: #9ca3af;
}

.breadcrumb-current {
    color: #6b7280;
}
 
/* Page Hero */
.page-all-hero {
    height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: -100px;
}

.all-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    background-image: url('img/hero.webp');
    background-size: cover;
    background-position: center;
}

.all-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(37, 99, 235, 0.8);
}

.all-hero-content {
    padding-top: 90px;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.all-hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.all-hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Section Styles */
/* Main Sections */
main {
    padding-top: 20px;
    padding-bottom: 50px;
}

section {
    padding: 80px 0;
    background-color: #ffffff;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
}

section:last-of-type {
    margin-bottom: 0;
}

/* Hero Section */
.hero-about {
    background-color: #eaf6ff; /* Lighter blue background */
    text-align: center;
    padding: 100px 0;
    margin-bottom: 30px;
    border-radius: 0; /* No border-radius for hero */
    box-shadow: none;
    border-bottom: 1px solid #dbe9f5;
}

.hero-about h2 {
    font-size: 3.5em;
    margin-bottom: 0.4em;
    color: #007bff; /* Primary blue */
}

.hero-about p {
    font-size: 1.3em;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
}

/* Specific Section Styling */
.our-story, .our-mission, .what-we-offer, .our-values {
    text-align: left;
}

.what-we-offer ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 2em;
    padding-top: 10px;
}

.what-we-offer ul li {
    margin-bottom: 10px;
    font-size: 1.1em;
    line-height: 1.5;
}

.what-we-offer .btn {
    display: inline-block;
    background-color: #007bff; /* Green for call to action */
    color: #ffffff !important; /* !important to override primary blue link color */
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 25px;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.what-we-offer .btn:hover {
    background-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.3);
}

/* Values Grid */
.our-values {
    background-color: #f0f8ff; /* Lighter blue for values section */
}

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

.value-item {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.value-item h4 {
    margin-bottom: 10px;
    color: #007bff;
}

.value-item p {
    font-size: 0.95em;
    color: #666;
}
/* faq*/
.faq-container {
    max-width: 900px;
    margin: 50px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.faq-container h2 {
    text-align: center;
    color: #0056b3; /* Primary blue for FAQ title */
    margin-bottom: 40px;
    font-size: 2.5em;
    font-weight: 600;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden; /* Important for max-height transition */
}

.faq-question {
    background-color: #f0f8ff; /* Light blue for question background */
    color: #333;
    padding: 18px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e6f2ff; /* Slightly darker on hover */
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    flex-grow: 1; /* Allows h3 to take available space */
}

.faq-question .icon {
    font-size: 1.8em;
    margin-left: 15px;
    transition: transform 0.3s ease;
    color: #0056b3; /* Blue plus icon */
}

/* Style for when the question is active/open */
.faq-item.active .faq-question {
    background-color: #007bff; /* Darker blue for active question */
    color: white;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.faq-item.active .faq-question .icon {
    transform: rotate(45deg); /* Rotates '+' to an 'x' */
    color: white;
}

.faq-answer {
    background-color: #ffffff;
    color: #555;
    padding: 0 25px; /* Initially no vertical padding */
    max-height: 0; /* Hidden by default */
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out; /* Smooth transition for expand/collapse */
    border-top: 1px solid #e0e0e0;
}

.faq-answer p {
    margin: 15px 0; /* Add some vertical spacing to paragraph within answer */
    font-size: 1.05em;
}

/* When active, show the answer with max-height and padding */
.faq-item.active .faq-answer {
    max-height: 300px; /* Adjust this value if your answers are very long */
    padding: 15px 25px;
}



/* Responsive adjustments */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }
    header p {
        font-size: 1em;
    }
    .faq-container {
        margin: 30px auto;
        padding: 20px;
    }
    .faq-container h2 {
        font-size: 2em;
    }
    .faq-question {
        padding: 15px 20px;
    }
    .faq-question h3 {
        font-size: 1em;
    }
    .faq-question .icon {
        font-size: 1.5em;
    }
    .faq-answer {
        padding: 0 20px;
    }
    .faq-item.active .faq-answer {
        padding: 10px 20px;
    }
}
/* Admission*/ 
.admission-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
}
/* Main Content */
main {
    flex: 1; /* Allows main to take up available space */
    padding: 40px 20px;
}

/* Section Titles */
h2 {
    text-align: center;
    color: #0056b3;
    margin-bottom: 30px;
    font-size: 2.2em;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #007bff;
    border-radius: 5px;
}


/* Form Styles */
#admissionForm {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    margin: 0 auto;
}

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

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

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
    outline: none;
}

.form-group textarea {
    resize: vertical; /* Allow vertical resizing */
    min-height: 100px;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #777;
    font-size: 0.9em;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 15px 20px;
    background-color: #007bff; /* Lighter Teal */
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
    background-color: #0056b3; /* Darker Teal on hover */
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Success Message */
#successMessage {
    text-align: center;
    max-width: 600px;
    margin: 50px auto 0;
}

.success-box {
    background-color: #e6f7ed; /* Light green background */
    border: 1px solid #6caff8; /* Medium sea green border */
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #007bff; /* Sea green text */
}

.success-box h3 {
    color: #0056b3;
    font-size: 2em;
    margin-bottom: 20px;
}

.success-box p {
    font-size: 1.1em;
    margin-bottom: 15px;
}

.success-box a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.success-box a:hover {
    text-decoration: underline;
}

/* Utility Class */
.hidden {
    display: none !important;
}
/* Responsive Adjustments */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.8em;
    }
    header p {
        font-size: 1em;
    }
    h2 {
        font-size: 1.8em;
    }
    #admissionForm {
        padding: 30px;
    }
    .success-box {
        padding: 30px;
    }
    .submit-btn {
        font-size: 1em;
        padding: 12px 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    header {
        padding: 0.8em 0;
    }
    header h1 {
        font-size: 1.5em;
    }
    header p {
        font-size: 0.9em;
    }
    h2 {
        font-size: 1.5em;
        margin-bottom: 20px;
    }
    #admissionForm, .success-box {
        margin: 0;
        border-radius: 0;
        box-shadow: none;
        padding: 20px 15px;
    }
    .form-group {
        margin-bottom: 18px;
    }
    .form-group label {
        font-size: 1em;
    }
    .form-group input, .form-group select, .form-group textarea {
        font-size: 0.95em;
        padding: 10px 12px;
    }
    .submit-btn {
        padding: 10px 15px;
    }
}
/*Blog*/
.blog-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}
/* Blog Post Specific Styles */
.blog-post {
    background-color: #fff;
    padding: 40px;
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.post-title {
    color: #007bff; /* Primary blue */
    font-size: 2.8rem;
    margin-bottom: 15px;
    text-align: center;
    line-height: 1.2;
}

.post-meta {
    text-align: center;
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.post-image {
    width: 100%;
    height: auto;
    max-height: 450px;
    border-radius: 8px;
    margin-bottom: 35px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content strong {
    color: #0056b3; /* Darker blue for emphasis */
    font-weight: 600;
}

/* Comments Section */
.comments-section {
    margin-top: 50px;
    padding: 40px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.comments-section h2 {
    color: #007bff; /* Primary blue */
    font-size: 2.2rem;
    margin-bottom: 30px;
    text-align: center;
}

.comment-form .form-group {
    margin-bottom: 25px;
}

.comment-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #555;
    font-size: 1rem;
}

.comment-form input[type="text"],
.comment-form textarea {
    width: calc(100% - 24px); /* Account for padding */
    padding: 12px;
    border: 1px solid #ccd;
    border-radius: 6px;
    font-size: 1rem;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.comment-form input[type="text"]:focus,
.comment-form textarea:focus {
    border-color: #007bff; /* Primary blue on focus */
    outline: none;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
}

.submit-comment-btn {
    display: block;
    width: 100%;
    max-width: 300px; /* Limit button width */
    margin: 0 auto;
    padding: 14px 25px;
    background-color: #007bff; /* Primary blue */
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1.15rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.submit-comment-btn:hover {
    background-color: #0056b3; /* Darker blue on hover */
    transform: translateY(-2px);
}

.comments-list-title {
    color: #0056b3; /* Darker blue */
    font-size: 1.8rem;
    margin-top: 50px;
    margin-bottom: 25px;
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.comments-list {
    margin-top: 20px;
}

.comment-item {
    background-color: #fefefe;
    padding: 18px 25px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.comment-author {
    font-weight: bold;
    color: #0056b3; /* Darker blue for author name */
    margin-bottom: 8px;
    font-size: 1rem;
}

.comment-author span {
    font-weight: normal;
    color: #888;
    font-size: 0.88rem;
    margin-left: 12px;
}

.comment-body {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.7;
}
/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    header h1 {
        font-size: 1.9rem;
    }

    header nav ul {
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
    }

    header nav ul li a {
        padding: 8px 15px;
        display: block;
    }

    .post-title {
        font-size: 2.2rem;
    }

    .post-meta {
        font-size: 0.85rem;
    }

    .blog-post, .comments-section {
        padding: 25px;
        margin-top: 25px;
    }

    .post-content {
        font-size: 1rem;
    }

    .comments-section h2 {
        font-size: 1.8rem;
    }

    .comment-form input[type="text"],
    .comment-form textarea,
    .submit-comment-btn {
        width: 100%;
        max-width: none;
    }

    .submit-comment-btn {
        padding: 12px 20px;
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    .post-title {
        font-size: 1.8rem;
    }

    .comments-section h2 {
        font-size: 1.6rem;
    }

    .comments-list-title {
        font-size: 1.5rem;
    }

    .comment-item {
        padding: 15px 18px;
    }

    .comment-author {
        font-size: 0.95rem;
    }

    .comment-author span {
        display: block;
        margin-left: 0;
        margin-top: 3px;
    }

    .comment-body {
        font-size: 0.95rem;
    }
}

/*Newsletter*/
.newsletter {
    padding-top: 50px;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
     
}
.newsletter-container {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    
    width: 90%;
    text-align: center;
   
   
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

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

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

input[type="text"],
input[type="email"],
input[type="date"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="date"]:focus {
    outline: none;
    border-color: #007bff;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    width: auto; /* Override full width for checkboxes */
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.btn {
    background-color: #007bff; /* Primary Blue */
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 20px;
    width: auto;
    align-self: center; /* Center the button in a flex container */
}

.btn:hover {
    background-color: #0056b3; /* Darker Blue on hover */
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #007bff; /* A neutral gray for secondary button */
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #007bff;
}

.success-message {
    color: #28a745; /* Green for success */
    font-weight: bold;
    margin-top: 20px;
    display: none; /* Hidden by default */
    text-align: center;
}

.unsubscribe-text {
    margin-top: 30px;
    font-size: 16px;
    color: #555;
}

/* Modal Styling */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.5); /* Black w/ opacity */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 30px;
    border: 1px solid #888;
    width: 90%; /* Could be more responsive */
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    position: relative;
    text-align: center;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 15px;
}

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

.modal h2 {
    margin-top: 0;
}

/* Ensure modal form elements behave correctly */
.modal-content form {
    gap: 10px;
}

.modal-content .btn {
    margin-top: 15px;
}

/* Adjustments for small screens */
@media (max-width: 600px) {
    .container {
        padding: 25px;
    }
    h1 {
        font-size: 1.8em;
    }
    .btn, .btn-secondary {
        font-size: 16px;
        padding: 10px 20px;
    }
    .modal-content {
        margin: 10% auto;
        padding: 20px;
    }
}
