/* Import Poppins and Old English Text MT Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Old+English+Text+MT&display=swap');

html {
    scroll-behavior: smooth; /* Enables smooth scrolling for anchor links */
}

body {
  font-family: Poppins; /* Change this to your desired font for the rest of the text */
  margin: 0;
  padding: 0;
  background-color: #ffffff;
}

/* Header */
header {
  background-color: #550d0b;
  color: white;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  position: flex;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  align-items: center;
  width: 100%;
}

.logo img {
  height: 80px;
  margin-right: 15px;
}

.header-text h1 {
  font-family: "Old English Text MT", serif; /* Set Old English Text MT for the header title */
  font-size: 2em;
  margin: 0;
}

.header-text p {
  font-size: 12px;
  margin: 0;
}

nav {
  margin-left: auto;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 18px;
  font-weight: bold;
  font-size: 1.15rem;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  position: relative;
  outline: none;
}

nav a:hover,
nav a:focus {
  background: #FFD700;
  color: #550d0b;
}

nav a.active {
  background: #FFD700;
  color: #550d0b;
  box-shadow: 0 2px 8px #ffd70033;
}
/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none; /* Hidden by default, shown in media queries */
    background: none;
    border: none;
    color: white;
    font-size: 2.2em; /* Slightly larger icon */
    cursor: pointer;
    padding: 5px 10px;
    z-index: 101; /* Ensure it's above everything when active */
}

/* --- Banner Section (Carousel) --- */
.banner {
    position: relative;
    height: 553px; /* Fixed height for the banner area */
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out; /* Smooth fade effect */
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-item.active {
    opacity: 1;
}

.banner-content {
    background-color: rgba(85, 13, 11, 0.75); /* Dark red semi-transparent background */
    color: #fff;
    padding: 3rem; /* Use relative units for padding */
    max-width: 900px;
    text-align: center;
    border-radius: 15px; /* More rounded corners */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3); /* Stronger shadow */
    border: 2px solid #FFD700; /* Golden border */
    transform: scale(0.95); /* Slightly scale down content */
    transition: transform 0.5s ease-in-out; /* Add transition for content */
}

.carousel-item.active .banner-content {
    transform: scale(1); /* Scale up when active */
}

.banner-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: #FFD700; /* Golden yellow */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.banner-content h1 {
    font-size: 3.8rem; /* Larger main heading */
    margin-bottom: 2rem;
    font-weight: 900; /* Extra bold */
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.banner-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.banner-content ul li {
    font-size: 1.4rem; /* Larger font size */
    margin-bottom: 8px; /* More spacing */
    color: #f0f0f0; /* Slightly off-white */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(85, 13, 11, 0.6); /* Semi-transparent dark red */
    border: none;
    color: white;
    font-size: 35px; /* Larger buttons */
    padding: 15px 20px; /* More padding */
    cursor: pointer;
    z-index: 10;
    border-radius: 50%; /* Circular buttons */
    user-select: none;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.carousel-btn.left {
    left: 20px;
}

.carousel-btn.right {
    right: 20px;
}

.carousel-btn:hover {
    background-color: rgba(85, 13, 11, 0.9); /* Darker on hover */
    transform: translateY(-50%) scale(1.1); /* Slight enlarge on hover */
}

/* --- Enrollment Section --- */
.enrollment {
    background: linear-gradient(90deg, #FFD700 0%, #ffe066 100%); /* Golden gradient */
    padding: 40px 20px; /* Increased padding */
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.enrollment-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px; /* Space between flex items */
}

.enrollment-left {
    flex: 1;
    min-width: 300px; /* Minimum width before wrapping */
    text-align: left;
}

.enrollment-left h2 {
    font-size: 2.5em; /* Larger heading */
    color: #550d0b; /* Dark red */
    margin: 0 0 10px 0;
    font-weight: 700;
    letter-spacing: 1px;
}

.enrollment-left p {
    font-size: 1.3em; /* Larger paragraph */
    color: #333;
    margin: 0;
}

.enrollment-right {
    flex-shrink: 0;
}

.apply-btn {
    background-color: #550d0b; /* Dark red */
    color: white;
    padding: 20px 40px; /* Larger padding */
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px; /* More rounded corners */
    display: inline-block;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.1s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.apply-btn:hover {
    background-color: #ffb902; /* Golden yellow on hover */
    color: #550d0b; /* Dark red text on hover */
    transform: translateY(-3px) scale(1.03); /* Lift and slight enlarge */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* --- Offers Section --- */
.offers {
    background-color: #fcfcfc; /* Very light grey */
    padding: 60px 20px; /* Increased padding */
    text-align: center;
}

.offers h2 {
    font-size: 2.8rem; /* Larger heading */
    color: #550d0b; /* Dark red */
    margin-bottom: 40px; /* More spacing */
    font-weight: 700;
    letter-spacing: 1px;
    font-family: "Old English Text MT", serif, 'Times New Roman';
}

.offers-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px; /* More space between cards */
    max-width: 1200px;
    margin: 0 auto;
}

.offer-card {
    background-color: #550d0b; /* Dark red background */
    border: 2px solid #FFD700; /* Golden border */
    border-radius: 15px; /* More rounded corners */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Stronger shadow */
    padding: 30px; /* Increased padding */
    width: 380px; /* Increased width */
    text-align: left;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-8px); /* More pronounced lift */
    box-shadow: 0 12px 28px rgba(255, 215, 0, 0.4); /* Golden shadow on hover */
}

.offer-card h3 {
    font-size: 2em; /* Larger main heading */
    color: #FFD700; /* Golden yellow */
    margin-bottom: 20px; /* More spacing */
    font-weight: 700;
    letter-spacing: 0.8px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.5); /* Subtle golden underline */
    padding-bottom: 10px;
}

.offer-card h4 {
    font-size: 1.5em; /* Larger subheading */
    color: #f0f0f0; /* Slightly off-white */
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.offer-card ul {
    list-style-type: none; /* Remove default bullets */
    padding-left: 0;
    margin: 0;
}

.offer-card ul li {
    font-size: 1.1em; /* Larger list items */
    margin-bottom: 8px;
    color: #ffffff; /* White text */
    position: relative;
    padding-left: 25px; /* Space for custom bullet */
}

.offer-card ul li::before {
    content: "\f00c"; /* Font Awesome Checkmark icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #FFD700; /* Golden yellow checkmark */
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.9em;
}

/* --- About Us Section --- */
.about-us {
    background-color: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
}

.about-us-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px; /* Space between text and image */
}

.about-us-text {
    flex: 1;
    min-width: 300px; /* Minimum width */
    padding: 20px;
    text-align: left;
}

.about-us-text h2 {
    font-size: 2.8rem; /* Larger heading */
    color: #550d0b;
    margin-bottom: 20px;
    font-family: "Old English Text MT", serif, 'Times New Roman';
    letter-spacing: 1px;
}

.about-us-text p {
    font-size: 1.1em; /* Adjusted font size */
    line-height: 1.8;
    color: #555;
    text-align: justify;
    margin: 0; /* Remove horizontal margin from original */
}

.about-us-image {
    flex: 1;
    min-width: 300px; /* Minimum width */
    padding: 20px;
    text-align: center;
    /* margin-top: 120px; This margin caused layout issues, controlled by flex gap now */
}

.about-us-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px; /* More rounded */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Stronger shadow */
    border: 2px solid #FFD700; /* Golden border */
    transition: transform 0.3s ease;
}
.about-us-image img:hover {
    transform: scale(1.02); /* Slight zoom on hover */
}

/* --- Contact Us Section --- */
.contact-us {
    background-color: #ffffff; /* White background */
    padding: 60px 20px;
    text-align: center;
}

.get-in-touch {
    font-size: 2.8rem; /* Larger heading */
    color: #550d0b;
    margin-bottom: 40px;
    font-family: "Old English Text MT", serif, 'Times New Roman';
    letter-spacing: 1px;
}

.contact-container {
    display: flex;
    flex-direction: column; /* Stack sections vertically */
    align-items: center;
    gap: 40px; /* Space between social media and contact info */
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fcfcfc; /* Light background for container */
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.social-media {
    display: flex;
    flex-wrap: wrap; /* Allow icons to wrap */
    justify-content: center;
    gap: 30px; /* Space between icons */
    margin-top: 0; /* No top margin as parent has gap */
    width: 100%; /* Take full width of parent */
}

.social-media a {
    display: flex;
    flex-direction: column; /* Stack logo and text vertically */
    align-items: center;
    text-decoration: none;
    color: #555;
    gap: 8px; /* Space between logo and text */
    transition: color 0.2s;
}

.social-logo {
    width: 80px; /* Slightly smaller for better fit */
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-logo:hover {
    transform: scale(1.1); /* Slightly enlarge the logo on hover */
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4); /* Golden shadow on hover */
}

.social-media a span {
    font-size: 1.1em;
    font-weight: 600;
    white-space: nowrap; /* Prevent text wrapping */
}

.social-media a:hover span {
    color: #550d0b; /* Change text color on hover */
}

.divider {
    width: 80%; /* Adjust the width of the divider */
    border: 0;
    height: 2px; /* Thicker divider */
    background: linear-gradient(90deg, transparent, #FFD700, transparent); /* Golden gradient divider */
    margin: 30px 0; /* More space around divider */
}

.contact-info {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap */
    justify-content: center;
    gap: 40px; /* More space between contact detail boxes */
    width: 100%; /* Take full width of parent */
}

.contact-info div {
    text-align: center;
    flex: 1 1 280px; /* Allow items to grow/shrink, min-width 280px */
    background-color: #fff;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
}

.contact-info i {
    font-size: 3.5em; /* Larger icons */
    color: #550d0b; /* Dark red icon color */
    margin-bottom: 15px;
}

.contact-info p {
    font-size: 1em; /* Adjusted text size */
    color: #555;
    margin: 0;
    line-height: 1.5;
}

.contact-info p strong {
    font-size: 1.1em;
    color: #550d0b;
    display: block; /* Make strong text block level for better spacing */
    margin-bottom: 5px;
}

.contact-info a {
    color: #550d0b;
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px 20px 20px 20px;
    background-color: #550d0b;
    color: #FFD700;
    font-size: 1em;
    margin-top: 60px; /* Space above footer */
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    box-shadow: 0 -4px 15px rgba(85,13,11,0.2);
    letter-spacing: 1px;
}

/* Backdrop for Mobile Menu */
.backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99; /* Below navigation, above content */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.backdrop.is-visible {
    opacity: 1;
    visibility: visible;
}


/* For screens smaller than 1024px (Laptops, large tablets) */
@media (max-width: 1024px) {
    .header-text h1 {
        font-size: 1.8em;
    }
    .header-text p {
        font-size: 11px;
    }
    nav a {
        margin: 0 8px;
        font-size: 1rem;
        padding: 6px 10px;
    }

    .banner {
        height: 450px; /* Adjusted height for smaller screens */
    }
    .banner-content {
        padding: 2.5rem;
        max-width: 700px;
    }
    .banner-content h2 {
        font-size: 2em;
    }
    .banner-content h1 {
        font-size: 3em;
    }
    .banner-content ul li {
        font-size: 1.2em;
    }
    .carousel-btn {
        font-size: 30px;
        padding: 12px 18px;
    }

    .enrollment {
        padding: 30px 15px;
    }
    .enrollment-left h2 {
        font-size: 2em;
    }
    .enrollment-left p {
        font-size: 1.1em;
    }
    .apply-btn {
        padding: 15px 30px;
        font-size: 1.1em;
    }

    .offers {
        padding: 50px 15px;
    }
    .offers h2 {
        font-size: 2.5rem;
    }
    .offer-card {
        width: 350px;
        padding: 25px;
    }
    .offer-card h3 {
        font-size: 1.8em;
    }
    .offer-card h4 {
        font-size: 1.3em;
    }
    .offer-card ul li {
        font-size: 1em;
    }

    .about-us {
        padding: 50px 15px;
    }
    .about-us-container {
        gap: 20px;
    }
    .about-us-text h2 {
        font-size: 2.5em;
    }
    .about-us-text p {
        font-size: 1em;
    }
    .about-us-image {
        padding: 15px;
    }

    .contact-us {
        padding: 50px 15px;
    }
    .get-in-touch {
        font-size: 2.5rem;
    }
    .contact-container {
        padding: 25px;
    }
    .social-logo {
        width: 70px;
        height: 70px;
    }
    .social-media a span {
        font-size: 1em;
    }
    .contact-info div {
        flex: 1 1 250px;
        padding: 20px;
    }
    .contact-info i {
        font-size: 3em;
    }
    .contact-info p {
        font-size: 0.95em;
    }
    .contact-info p strong {
        font-size: 1.05em;
    }

    .footer {
        font-size: 0.9em;
        padding: 25px 15px 15px 15px;
    }
}

/* For screens smaller than 768px (Tablets & Mobile) */
@media (max-width: 768px) {
    header {
        flex-direction: row; /* Keep logo/text on one row, push toggle to right */
        justify-content: flex-start;
        padding: 10px 15px;
    }

    .header-container {
        flex-wrap: nowrap; /* Prevent header text from wrapping */
        justify-content: flex-start;
    }

    .logo img {
        height: 60px; /* Smaller logo */
    }

    .header-text {
        margin-right: auto; /* Allow text to take space before toggle */
        flex-shrink: 1; /* Allow text to shrink */
    }
    .header-text h1 {
        font-size: 1.5em; /* Smaller title */
    }
    .header-text p {
        font-size: 10px; /* Smaller address */
        white-space: normal; /* Allow address to wrap */
    }

    nav {
        display: none; /* Hide desktop navigation */
        flex-direction: column; /* Stack links vertically for mobile */
        position: fixed;
        top: 0;
        left: 0;
        width: 250px; /* Width of the off-canvas menu */
        height: 100%;
        background-color: #550d0b; /* Same as header */
        padding-top: 80px; /* Space for header if it's not transparent */
        box-shadow: 2px 0 10px rgba(0,0,0,0.2);
        z-index: 100; /* Ensure sidebar is above backdrop */
        transform: translateX(-100%); /* Initially hide it off-screen */
        transition: transform 0.3s ease-in-out;
        align-items: flex-start; /* Align links to the left */
        border-right: 3px solid #ffb902; /* Add border */
    }

    nav.is-open {
        transform: translateX(0); /* Slide in when open */
    }

    nav a {
        width: 100%; /* Full width links */
        padding: 12px 20px; /* Larger touch targets */
        margin: 5px 0;
        font-size: 1.1em;
        text-align: left;
    }
    nav a:hover,
    nav a:focus {
        transform: none; /* Remove hover transform for mobile menu links */
    }

    .mobile-menu-toggle {
        display: block; /* Show hamburger menu on smaller screens */
        margin-left: 20px; /* Space from header text */
    }

    .banner {
        height: 350px; /* Further adjusted height for mobile */
    }
    .banner-content {
        padding: 2rem 1.5rem;
        max-width: 90%;
    }
    .banner-content h2 {
        font-size: 1.8em;
    }
    .banner-content h1 {
        font-size: 2.5em;
    }
    .banner-content ul li {
        font-size: 1em;
    }
    .carousel-btn {
        font-size: 25px;
        padding: 10px 15px;
    }

    .enrollment {
        padding: 25px 10px;
    }
    .enrollment-content {
        flex-direction: row; /* Stack vertically */
        text-align: center;
        gap: 15px;
    }
    .enrollment-left {
        text-align: left;
    }
    .enrollment-left h2 {
        font-size: 1.8em;
    }
    .enrollment-left p {
        font-size: 1em;
    }
    .apply-btn {
        padding: 12px 25px;
        font-size: 1em;
    }

    .offers {
        padding: 40px 10px;
    }
    .offers h2 {
        font-size: 2.2rem;
        margin-bottom: 30px;
    }
    .offer-card {
        width: 100%; /* Full width on mobile */
        max-width: 350px; /* Max width for consistency */
        padding: 20px;
    }
    .offer-card h3 {
        font-size: 1.6em;
    }
    .offer-card h4 {
        font-size: 1.2em;
    }
    .offer-card ul li {
        font-size: 0.95em;
    }

    .about-us {
        padding: 40px 10px;
    }
    .about-us-container {
        flex-direction: column; /* Stack vertically */
        gap: 15px;
    }
    .about-us-text {
        padding: 10px;
        text-align: center;
    }
    .about-us-text h2 {
        font-size: 2.2em;
    }
    .about-us-text p {
        font-size: 0.95em;
        line-height: 1.7;
    }
    .about-us-image {
        padding: 10px;
    }

    .contact-us {
        padding: 40px 10px;
    }
    .get-in-touch {
        font-size: 2.2rem;
        margin-bottom: 30px;
    }
    .contact-container {
        padding: 20px;
        gap: 25px;
    }
    .social-media {
        gap: 20px;
    }
    .social-logo {
        width: 60px;
        height: 60px;
    }
    .social-media a span {
        font-size: 0.9em;
    }
    .divider {
        margin: 20px 0;
    }
    .contact-info {
        flex-direction: column; /* Stack contact info vertically */
        gap: 20px;
        margin-right: 15px;
    }
    .contact-info div {
        flex: 1 1 auto;
        width: 95%;
        padding: 15px;
        position: center;
        margin-left: 10px;
    }
    .contact-info i {
        font-size: 2.5em;
    }
    .contact-info p {
        font-size: 0.9em;
    }
    .contact-info p strong {
        font-size: 1em;
    }

    .footer {
        font-size: 0.8em;
        padding: 20px 10px 10px 10px;
        margin-top: 40px;
    }

    .mobile-nav {
        color: yellow;
    }
}


/* For screens smaller than 480px (Mobile Phones) */
@media (max-width: 480px) {
    
    header {
        padding: 8px 10px;
    }
    .logo img {
        height: 50px;
    }
    .header-text h1 {
        font-size: 1.3em;
    }
    .header-text p {
        font-size: 9px;
    }
    .mobile-menu-toggle {
        font-size: 2em;
    }
    nav {
        width: 220px;
        padding-top: 70px;
    }
    nav a {
        font-size: 1em;
        padding: 10px 15px;
    }

    .banner {
        height: 250px;
    }
    .banner-content {
        padding: 0.2rem 0.2rem;
    }
    .banner-content h2 {
        font-size: 1rem;
    }
    .banner-content h1 {
        font-size: 1rem;
    }
    .banner-content ul li {
        font-size: 0.7rem;
    }
    .carousel-btn {
        font-size: 10px;
        padding: 5px 8px;
    }

    .enrollment {
    background: linear-gradient(90deg, #FFD700 0%, #ffe066 100%); /* Golden gradient */
    padding: 20px 10px; /* Increased padding */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    }

    .enrollment-left h2 {
        text-align: center;
        font-size: 1.5em;
    }
    .enrollment-left p {
        text-align: center;
        font-size: 0.9em;
    }
    .enrollment-content{
        position: center;
    }

    .apply-btn {
        margin-left: 140px;
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .offers h2 {
        font-size: 1.8rem;
    }
    .offer-card {
        padding: 15px;
    }
    .offer-card h3 {
        font-size: 1.4em;
    }
    .offer-card h4 {
        font-size: 1.1em;
    }
    .offer-card ul li {
        font-size: 0.85em;
    }

    .about-us h2 {
        font-size: 1.8em;
    }
    .about-us p {
        font-size: .8rem;
        line-height: 2;
        text-align: left;
    }

    .about-us-image {
        margin-right: 15px;
        flex: 1;
        min-width: 10px; /* Minimum width */
        padding: 10px;
        text-align: center;
    /* margin-top: 120px; This margin caused layout issues, controlled by flex gap now */
    }
    .get-in-touch {
        font-size: 1.8rem;
    }
    .social-logo {
        width: 50px;
        height: 50px;
    }
    .social-media a span {
        font-size: 0.8em;
    }

    .contact-info {
        display: flex;
        flex-wrap: wrap; /* Allow items to wrap */
        justify-content: center;
        gap: 40px; /* More space between contact detail boxes */
        width: 80%; /* Take full width of parent */
        margin-right: 25px;
    }
    .contact-info i {
        font-size: 2em;
    }
    .contact-info p {
        font-size: 0.8em;
    }
    .contact-info p strong {
        font-size: 0.9em;
    }

    .footer {
        font-size: 0.75em;
    }
}

@media (max-width: 375px) {


    header {
        padding: 8px 10px;
    }
    .logo img {
        height: 50px;
    }
    .header-text h1 {
        font-size: 1.3em;
    }
    .header-text p {
        font-size: 9px;
    }
    .mobile-menu-toggle {
        font-size: 2em;
    }
    nav {
        width: 220px;
        padding-top: 70px;
    }
    nav a {
        font-size: 1em;
        padding: 10px 15px;
    }

    .banner {
        height: 250px;
    }
    .banner-content {
        padding: 0.2rem 0.2rem;
    }
    .banner-content h2 {
        font-size: 1rem;
    }
    .banner-content h1 {
        font-size: 1rem;
    }
    .banner-content ul li {
        font-size: 0.7rem;
    }
    .carousel-btn {
        font-size: 10px;
        padding: 5px 8px;
    }

    .enrollment-left h2 {
        font-size: 1.5em;
    }

    .enrollment-left p {
        font-size: 0.9em;
        position: center;
    }
    .apply-btn {
        margin-left: 120px;
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .offers h2 {
        font-size: 1.8rem;
    }
    .offer-card {
        padding: 15px;
    }
    .offer-card h3 {
        font-size: 1.4em;
    }
    .offer-card h4 {
        font-size: 1.1em;
    }
    .offer-card ul li {
        font-size: 0.85em;
    }

    .about-us h2 {
        font-size: 1.8em;
    }
    .about-us p {
        font-size: .8rem;
        line-height: 2;
        text-align: left;
    }

    .about-us-image {
        margin-right: 15px;
        flex: 1;
        min-width: 10px; /* Minimum width */
        padding: 10px;
        text-align: center;
    /* margin-top: 120px; This margin caused layout issues, controlled by flex gap now */
    }

    .get-in-touch {
        font-size: 1.8rem;
    }
    .social-logo {
        width: 50px;
        height: 50px;
    }
    .social-media a span {
        font-size: 0.8em;
    }

    .contact-info {
        display: flex;
        flex-wrap: wrap; /* Allow items to wrap */
        justify-content: center;
        gap: 40px; /* More space between contact detail boxes */
        width: 80%; /* Take full width of parent */
        margin-right: 25px;
    }
    .contact-info i {
        font-size: 2em;
    }
    .contact-info p {
        font-size: 0.8em;
    }
    .contact-info p strong {
        font-size: 0.9em;
    }

    .footer {
        font-size: 0.75em;
    }
}

@media (max-width: 320px) {


    header {
        padding: 8px 10px;
    }
    .logo img {
        height: 50px;
    }
    .header-text h1 {
        font-size: 1.3em;
    }
    .header-text p {
        font-size: 9px;
    }
    .mobile-menu-toggle {
        font-size: 2em;
    }
    nav {
        width: 220px;
        padding-top: 70px;
    }
    nav a {
        font-size: 1em;
        padding: 10px 15px;
    }

    .banner {
        height: 250px;
    }
    .banner-content {
        padding: 0.2rem 0.2rem;
    }
    .banner-content h2 {
        font-size: 1rem;
    }
    .banner-content h1 {
        font-size: 1rem;
    }
    .banner-content ul li {
        font-size: 0.7rem;
    }
    .carousel-btn {
        font-size: 10px;
        padding: 5px 8px;
    }

    .enrollment-left h2 {
        font-size: 1.5em;
    }

    .enrollment-left p {
        font-size: 0.9em;
        position: center;
    }
    .apply-btn {
        margin-left: 85px;
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .offers h2 {
        font-size: 1.8rem;
    }
    .offer-card {
        padding: 15px;
    }
    .offer-card h3 {
        font-size: 1.4em;
    }
    .offer-card h4 {
        font-size: 1.1em;
    }
    .offer-card ul li {
        font-size: 0.85em;
    }

    .about-us h2 {
        font-size: 1.8em;
    }
    .about-us p {
        font-size: .8rem;
        line-height: 2;
        text-align: left;
    }

    .about-us-image {
        margin-right: 15px;
        flex: 1;
        min-width: 10px; /* Minimum width */
        padding: 10px;
        text-align: center;
    /* margin-top: 120px; This margin caused layout issues, controlled by flex gap now */
    }

    .get-in-touch {
        font-size: 1.8rem;
    }
    .social-logo {
        width: 50px;
        height: 50px;
    }
    .social-media a span {
        font-size: 0.8em;
    }

    .contact-info {
        display: flex;
        flex-wrap: wrap; /* Allow items to wrap */
        justify-content: center;
        gap: 40px; /* More space between contact detail boxes */
        width: 80%; /* Take full width of parent */
        margin-right: 25px;
    }
    .contact-info i {
        font-size: 2em;
    }
    .contact-info p {
        font-size: 0.8em;
    }
    .contact-info p strong {
        font-size: 0.9em;
    }

    .footer {
        font-size: 0.75em;
    }
}

/* Burger Menu Styles */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background: #ffb902;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 250px;
  height: 100vh;
  background: #550d0b !important;
  background-image: none !important;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 80px;
  transition: right 0.3s ease;
  z-index: 1000;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav a {
  color: #FFD700;
  text-decoration: none;
  padding: 15px 20px;
  font-size: 1.1em;
  width: 100%;
  transition: background 0.3s;
}

.mobile-nav a:hover {
  background: #FFD700;
  color: #550d0b;
}

/* Backdrop for mobile menu */
.backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

.backdrop.active {
    display: block;
}

/* Desktop Navigation - visible by default */
.desktop-nav {
    display: flex;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .mobile-nav {
        display: flex;
    }
}

/* Burger menu animation when active */
.burger-menu.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}


