/* Universal Box Sizing */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Basic Body Styles */
body {
    font-family: 'Poppins', sans-serif; /* Using Poppins as per visual cue, replace with actual font if different */
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
    scroll-behavior: smooth;
}

/* Container for Centering Content */
main {
    max-width: 1200px;
   /* max-width: 100%; */
    margin: 0 auto;
    padding: 20px;
}




nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 1.8em;
    font-weight: bold;
    color: #4CAF50; /* Example green, adjust to match image */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    padding: 5px 0;
    transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    color: #FFC107; /* Example amber, adjust to match image */
    border-bottom: 2px solid #FFC107; /* Active state indicator */
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
}

.primary-btn {
    background-color: #FFC107; /* Amber from image */
    color: #fff;
    border: none;
}

.primary-btn:hover {
    background-color: #e0a800; /* Darker amber */
}

.secondary-btn {
    background-color: #FFC107; /* Amber from image */
    color: #fff;
    border: 1px solid #FFC107;
    margin:auto;
}

.secondary-btn:hover {
    background-color: #e0a800; /* Darker amber */
}

.learn-more-btn {
    background-color: #fff;
    color: #FFC107; /* Amber from image */
    border: 2px solid #FFC107;
    padding: 8px 20px;
    font-size: 0.9em;
}

.learn-more-btn:hover {
    background-color: #FFC107;
    color: #fff;
}

/* Hero Section - Home Page */
.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 20px;
    background-color: #e0f7fa; /* Light blue background */
    margin-bottom: 40px;
    border-radius: 10px;
    overflow: hidden; /* To contain image if it overflows */
}

.hero-content {
    flex: 1;
    max-width: 60%;
}

.hero-content h1 {
    font-size: 3.5em;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.hero-features {
    display: flex;
    gap: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #555;
}

.feature-item img {
    width: 40px; /* Adjust size of feature icons */
    height: 40px;
}

.hero-image {
    flex: 1;
    max-width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px; /* Match image border-radius */
}

/* Programs Section (Home Page) */
.programs-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 20px;
    margin-bottom: 40px;
}

.program-card {
    display: flex;
    align-items: center;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    gap: 20px;
}

.program-card.kids {
    background-color: #ffe0b2; /* Light orange */
}

.program-card.teens {
    background-color: #bbdefb; /* Light blue */
}

.program-card.adults {
    background-color: #c8e6c9; /* Light green */
}

.program-card.seniors {
    background-color: #f8bbd0; /* Light pink */
}

.program-text {
    flex: 2;
}

.program-text h2 {
    font-size: 1.2em;
    color: #777;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.program-text h3 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 10px;
}

.program-text p {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 15px;
}

.program-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.program-image img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Our Courses Section (Home Page) */
.our-courses-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 40px;
}

.our-courses-section h2 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 40px;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.course-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: #f0f0f0; /* Light grey */
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.course-item:hover {
    transform: translateY(-5px);
}

.course-item img {
    width: 70px; /* Icon size */
    height: 70px;
    margin-bottom: 15px;
}

.course-item p {
    font-size: 1.1em;
    font-weight: 600;
    color: #555;
    text-align: center;
}

/* Footer */
.main-footer {
    background-color: #1f2937; /* bg-gray-800 */
    color: white;
}

.footer-container {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 3rem; /* py-12 */
    padding-bottom: 3rem; /* py-12 */
    text-align: center;
}

.footer-links-container {
    margin-top: 1rem; /* mt-4 */
    display: flex;
    justify-content: center;
    gap: 1.5rem; /* gap-6 */
}

.footer-link {
    color: #9ca3af; /* text-gray-400 */
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

/* Page Hero Section (for Classes, Courses, Blog, About, Contact pages) */
.page-hero {
    text-align: center;
    padding: 60px 20px;
    background-color: #4A35A8; /* Light blue */
    margin-bottom: 40px;
    border-radius: 10px;
}

.page-hero h1 {
    font-size: 3em;
    color: #ffffff;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 1.1em;
    color: #FFC107;
    max-width: 800px;
    margin: 0 auto;
}

/* Classes Page Specific Styles */
.class-category {
    padding: 40px 20px;
    margin-bottom: 40px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.class-category h2 {
    text-align: center;
    font-size: 2.5em;
    color: #333;
    margin-bottom: 30px;
}

.class-details {
    display: flex;
    align-items: center;
    gap: 40px;
}

.class-details.reverse-layout {
    flex-direction: row-reverse;
}

.class-details img {
    flex: 1;
    max-width: 20%;
    height: auto;
    border-radius: 500px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.class-info {
    flex: 1.5;
}

.class-info h3 {
    font-size: 1.8em;
    color: #4a5568;
    margin-bottom: 15px;
}

.class-info p {
    font-size: 1.05em;
    color: #666;
    margin-bottom: 20px;
}

.class-info ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 25px;
    color: #555;
}

.class-info ul li {
    margin-bottom: 8px;
}

/* Courses Page Specific Styles */
.course-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.course-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-8px);
}


.course-card h3 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 15px;
}

.course-card p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95em;
}

.course-card ul {
    list-style: none; /* Remove default list style */
    padding: 0;
    margin-bottom: 20px;
    text-align: left; /* Align list items to left */
}

.course-card ul li {
    color: #555;
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
}

.course-card ul li::before {
    content: '✓'; /* Checkmark icon */
    color: #4CAF50; /* Green checkmark */
    position: absolute;
    left: 0;
    font-weight: bold;
}


/* Blog Page Specific Styles */
.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.blog-post-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-8px);
}

.blog-post-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin:auto;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    content: url('../images/blogico.png');
}

.post-content {
    padding: 20px;
}

.post-content h2 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
}

.post-content .post-meta {
    font-size: 0.85em;
    color: #888;
    margin-bottom: 15px;
}

.post-content p {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 20px;
}

/* About Page Specific Styles */
.our-story {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.our-story h2 {
    text-align: center;
    font-size: 2.5em;
    color: #333;
    margin-bottom: 30px;
}

.story-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.story-content img {
    flex: 1;
    max-width: 45%;
    border-radius: 8px;
    height: auto;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.story-content div {
    flex: 1.5;
}

.story-content p {
    font-size: 1.05em;
    color: #666;
    margin-bottom: 15px;
}

.our-mission-vision {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.mission, .vision {
    flex: 1;
    background-color: #f0f8ff; /* Lightest blue */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.mission h3, .vision h3 {
    font-size: 1.8em;
    color: #4CAF50;
    margin-bottom: 15px;
}

.mission p, .vision p {
    color: #666;
    font-size: 1em;
}

.our-team {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.our-team h2 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 40px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    background-color: #f8f8f8;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #FFC107;
}

.team-member h3 {
    font-size: 1.4em;
    color: #333;
    margin-bottom: 5px;
}

.team-member p:nth-of-type(1) { /* Role */
    font-weight: 600;
    color: #555;
    margin-bottom: 10px;
}

.team-member p:nth-of-type(2) { /* Description */
    font-size: 0.9em;
    color: #777;
}

/* Contact Page Specific Styles */
.contact-info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px;
    margin-bottom: 40px;
}

.contact-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 1.6em;
    color: #333;
    margin-bottom: 10px;
}

.contact-card p {
    color: #666;
    margin-bottom: 15px;
}

.contact-card .btn {
    margin-top: 10px;
    width: auto;
}

.contact-form-section {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.contact-form-section h2 {
    text-align: center;
    font-size: 2.5em;
    color: #333;
    margin-bottom: 30px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #555;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    font-family: inherit;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button[type="submit"] {
    width: auto;
    padding: 15px 40px;
    font-size: 1.1em;
    display: block;
    margin: 0 auto;
}

.faq-section {
    background-color: #f0f8ff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5em;
    color: #333;
    margin-bottom: 30px;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-item h3 {
    font-size: 1.4em;
    color: #4CAF50;
    margin-bottom: 10px;
    cursor: pointer; /* Indicate it's clickable for potential accordion functionality */
}

.faq-item p {
    color: #666;
    font-size: 1em;
    line-height: 1.8;
}


/* Responsive Design */
@media (max-width: 992px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
    }

    .hero-content, .hero-image {
        max-width: 100%;
    }

    .hero-content {
        margin-bottom: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .programs-section {
        grid-template-columns: 1fr;
    }

    .program-card {
        flex-direction: column;
        text-align: center;
    }

    .program-image {
        margin-top: 20px;
    }

    .program-card.teens .program-image,
    .program-card.seniors .program-image {
        order: -1; /* To place image above text for reversed layout on small screens */
    }

    .class-details, .story-content {
        flex-direction: column;
    }

    .class-details.reverse-layout {
        flex-direction: column;
    }

    .class-details img, .story-content img {
        max-width: 100%;
    }

    .our-mission-vision {
        flex-direction: column;
    }

    .team-grid, .course-grid, .blog-posts, .contact-info-section {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero-content h1 {
        font-size: 2.5em;
    }

    .hero-content p {
        font-size: 1em;
    }

    .hero-features {
        flex-direction: column;
        gap: 20px;
    }

    .page-hero h1 {
        font-size: 2.2em;
    }

    .class-category h2, .our-courses-section h2, .our-story h2, .our-team h2, .contact-form-section h2, .faq-section h2 {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .program-text h3 {
        font-size: 1.5em;
    }

    .course-item p {
        font-size: 1em;
    }

    .contact-form button[type="submit"] {
        padding: 12px 25px;
        font-size: 1em;
    }
}


/*--------------------EXTERNAL ADDED STYLE----------------*/

/*
    Custom Styles for Enhance Your English Speaking Skills Website
    --------------------------------------------------------------
    This file contains custom CSS rules that extend or override Tailwind CSS
    for specific elements and components, ensuring a consistent design system.
*/

/* --- Base Styles --- */

/* Apply Poppins font family to the entire body and set a light background color */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #fdfcff; /* Near-white background for clean readability */
}

/* --- Section Background Colors --- */

/* Specific background color for the hero section */
.hero-bg {
    background-color: #4A35A8; /* Deep purple as per "Vibrant Scholar" palette */
}

/* Specific background color for the courses section */
.courses-bg {
    background-color: #FEF3E4; /* Soft, complementary background for courses */
}

/* --- Navigation Styles --- */



/* --- Button Styles --- */

/* Primary Call-to-Action (CTA) button styling */
.btn-primary {
    background-color: #F8B400; /* Bright yellow background */
    color: #4A35A8; /* Deep purple text color */
    font-weight: 600; /* Semi-bold font */
    padding: 1rem 2rem; /* Comfortable padding */
    border-radius: 9999px; /* Fully rounded (pill shape) */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
}

/* Hover effects for the primary button: subtle lift and shadow */
.btn-primary:hover {
    transform: translateY(-2px); /* Moves button slightly up */
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05); /* Adds a subtle shadow */
}

/* Secondary Call-to-Action (CTA) button styling */
.btn-secondary {
    border: 2px solid #F8B400; /* Yellow border */
    color: #F8B400; /* Yellow text color */
    font-weight: 600; /* Semi-bold font */
    padding: 1rem 2rem; /* Comfortable padding */
    border-radius: 9999px; /* Fully rounded (pill shape) */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
}

/* Hover effects for the secondary button: fills with primary color */
.btn-secondary:hover {
    background-color: #F8B400; /* Fills with bright yellow */
    color: #4A35A8; /* Text color changes to deep purple */
}

/* --- Card Styles --- */

/* General styling for section cards (e.g., audience cards) */
.section-card {
    border-radius: 1.5rem; /* Rounded corners */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
}

/* Hover effects for section cards: subtle lift and shadow */
.section-card:hover {
    transform: translateY(-5px); /* Moves card slightly up */
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04); /* Adds a more pronounced shadow */
}

/* Styling for individual course cards */
.course-card {
    background-color: white; /* White background for course cards */
    border-radius: 1.5rem; /* Rounded corners */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06); /* Initial subtle shadow */
}

/* Hover effects for course cards: slight scale and increased shadow */
.course-card:hover {
    transform: scale(1.05); /* Slightly enlarges the card */
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05); /* Adds a more pronounced shadow */
}

/* --- Chart Container (if used in future) --- */
/*
    These styles are present in the original code, likely as a remnant or placeholder
    if Chart.js were to be used. Since the project notes state no charts are used,
    these are included for completeness but are effectively unused for this design.
*/
.chart-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    height: 300px; /* Base height */
    max-height: 400px;
}

/* Responsive adjustment for chart container height on medium screens and up */
@media (min-width: 768px) {
    .chart-container {
        height: 350px; /* Increased height on larger screens */
    }
}


/*External Files Code */

.course-icon-container {
    width: 8rem; /* w-16 */
    height: 8rem; /* h-16 */
    border-radius: 9999px; /* rounded-full */
    display: flex;
    align-items: center;
    justify-content: center;
    margin:auto;
}

.course-icon {
    font-size: 4rem;
}


.course-icon-container.bg-red-100 {
    background-color: #fee2e2;
}

.course-icon-container.bg-green-100 {
    background-color: #dcfce7;
}
.course-icon-container.bg-blue-100 {
    background-color: #dbeafe;
}
.course-icon-container.bg-yellow-100 {
    background-color: #fef9c3;
}

.course-icon-container.bg-indigo-100 {
    background-color: #e0e7ff;
}

.course-icon-container.bg-purple-100 {
    background-color: #ede9fe;
}


/* TOP HEADER STYLE CODE*/


/* TOP HEADER STYLE CODE end*/



.button {
  transition-duration: 0.4s;
}


.button3:hover {
  background-color: #199c9e;  
  color: white;
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

.button {

  float: left;
  color: #199c9e;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;

}

/* MENU CODE */
.vocoico {
    height:flex;
    width:flex;
    content: url('ico.png');
}

