/* Import Google Fonts - Poppins for headings, Open Sans for body */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&family=Poppins:wght@400;600;700&display=swap');

body {
    font-family: 'Open Sans', sans-serif; /* Use Open Sans for body */
    margin: 0;
    padding: 0;
    background: #e9eff5;
    color: #333;
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden; /* Prevent horizontal scroll from animations */
}

/* Base styles for fade-in animation */
section {
    /*opacity: 0;*/
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section.fade-in {
    opacity: 1;
    transform: translateY(0);
}

header {
    background: linear-gradient(to right, #001f3f, #003366);
    color: white;
    padding: 1rem 2rem;
    /*display: flex;*/
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Stronger shadow */
    position: relative;
    z-index: 1000; /* Ensure header is on top */
    transition: all 0.3s ease;
}

/* Sticky Header Style */
.sticky-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(to right, #001f3f, #003366);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.35); /* Even stronger shadow for sticky */
    animation: slideDown 0.4s ease-out forwards; /* Smoother animation */
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

header .logo {
    font-family: 'Poppins', sans-serif; /* Use Poppins for logo */
    font-size: 2rem; /* Larger logo */
    font-weight: 700; /* Bolder */
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

nav a {
    color: white;
    margin-left: 1.8rem; /* More space */
    text-decoration: none;
    font-weight: 500; /* Bolder nav links */
    position: relative;
    transition: color 0.3s ease, transform 0.2s ease, text-shadow 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px; /* Thicker underline */
    background: #ffc107;
    bottom: -8px; /* Further down */
    left: 50%; /* Center the underline */
    transform: translateX(-50%);
    transition: width 0.3s ease-out;
    border-radius: 2px;
}

nav a:hover {
    color: #ffda6a; /* Lighter amber on hover */
    transform: translateY(-3px); /* More pronounced lift */
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

nav a:hover::after {
    width: 100%;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* More spacing */
}

.hero {
    background: linear-gradient(135deg, #4a90e2, #357ABD);
    color: white;
  /*  padding: 5rem 2rem;*/ /* Even more vertical padding */
    text-align: center;
    border-bottom-left-radius: 60% 25%; /* More pronounced curve */
    border-bottom-right-radius: 60% 25%;
   /* margin-bottom: 2.5rem;*/
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3); /* Stronger shadow */
    position: relative;
    overflow: hidden;
}

/* Hero background animation */
.hero::before {
   /* content: '';*/
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: skewY(-5deg);
    transform-origin: bottom left;
    animation: heroOverlay 10s infinite alternate;
}

@keyframes heroOverlay {
    0% { transform: skewY(-5deg) translateX(0); }
    100% { transform: skewY(5deg) translateX(10%); }
}


.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem; /* Larger heading */
    margin-bottom: 1.2rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4); /* Stronger text shadow */
    animation: fadeInDown 1s ease-out;
}

.hero p {
    font-size: 1.3rem; /* Larger paragraph */
    max-width: 800px;
    margin: 0 auto 2.5rem auto;
    animation: fadeInUp 1s ease-out 0.3s forwards; /* Delayed animation */
    opacity: 0; /* Start hidden for animation */
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}


.hero button {
    background-color: #001f3f;
    color: white;
    padding: 18px 35px; /* Larger buttons */
    border: none;
    border-radius: 35px; /* More rounded */
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    margin: 0 15px; /* More margin */
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3); /* Stronger shadow */
    animation: zoomIn 1s ease-out 0.6s forwards; /* Delayed animation */
    opacity: 0;
}

.hero button:nth-child(2) {
    animation-delay: 0.8s; /* Stagger animation */
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.hero-buttons button:hover {
    background-color: #004080; /* Darker blue on hover */
    transform: translateY(-5px) scale(1.05); /* More pronounced lift and scale */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

section {
    padding: 2rem 1.5rem; /* Even more generous padding */
    background: white;
    margin: 2rem auto;
    border-radius: 12px; /* More rounded corners */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* Softer, much larger shadow */
    max-width: 1100px; /* Wider sections */
    position: relative;
    overflow: hidden;
}

section h2 {
    font-family: 'Poppins', sans-serif;
    color: #001f3f;
    font-size: 3rem; /* Larger heading */
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 15px; /* More space for underline */
}

section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px; /* Wider underline */
    height: 5px; /* Thicker underline */
    background: linear-gradient(to right, #ff8c00, #ffa500); /* Gradient underline */
    border-radius: 3px;
}

/* About Section Specifics */
#about p {
    text-align: center; /* Center align about text */
    max-width: 900px; /* Wider paragraph */
    margin: 0 auto;
    font-size: 1.15rem; /* Slightly larger font */
    line-height: 1.8;
}

/* Courses Section Specifics */
.course-filters { /* New style for filter buttons */
    text-align: center;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.course-filter-btn {
    background-color: #e0e0e0;
    color: #333;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.course-filter-btn:hover {
    background-color: #d0d0d0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.course-filter-btn.active {
    background-color: #007bff;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
    transform: translateY(-2px);
}


.course-list h3 {
    font-family: 'Poppins', sans-serif;
    color: #003366;
    font-size: 2rem; /* Larger heading */
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    border-bottom: 3px solid #ff8c00; /* Thicker border */
    padding-bottom: 8px;
   /* display: inline-block;*/
}

.course-list ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Larger min-width */
    gap: 25px; /* More gap */
}

.course-item { /* Renamed from li for filtering */
    background-color: #fcfcfc; /* Whiter background */
    padding: 20px 25px; /* More padding */
    border-left: 6px solid #007bff; /* Thicker accent */
    border-radius: 8px; /* More rounded */
    font-size: 1.15rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1); /* Softer shadow */
}

.course-item:hover {
    transform: translateY(-8px); /* More pronounced lift */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: #ffa500; /* Change border color on hover */
}

.course-item a {
    text-decoration: none;
    color: #001f3f;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    display: block; /* Make the whole area clickable */
}

.course-item a:hover {
    color: #ff8c00;
}

.button-link button {
    display: block;
    margin: 3rem auto 0 auto;
    background-color: #ff8c00;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 35px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.button-link button:hover {
    background-color: #e67e00;
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

/* Testimonials Section Specifics */
.testimonial-carousel {
    position: relative;
    max-width: 800px; /* Wider carousel */
    margin: 0 auto;
    overflow: hidden;
    padding: 30px; /* More padding for controls */
}

.carousel-container {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Smoother transition */
}

.testimonial-item {
    min-width: 80%;
    box-sizing: border-box;
    background-color: #fcfcfc;
    border: 1px solid #eee;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15); /* Stronger shadow */
}

.testimonial-item p {
    font-size: 1.3rem; /* Larger text */
    font-style: italic;
    color: #444;
    margin-bottom: 20px;
    line-height: 1.7;
}

.testimonial-item cite {
    display: block;
    font-weight: 700;
    color: #001f3f;
    margin-top: 15px;
    font-size: 1.1rem;
}

.carousel-controls {
    text-align: center;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.carousel-controls button {
    background-color: #001f3f;
    color: white;
    border: none;
    padding: 12px 25px; /* Larger buttons */
    margin: 0; /* Remove margin for gap */
    border-radius: 8px; /* More rounded */
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.carousel-controls button:hover {
    background-color: #003366;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Pagination Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.dot.active {
    background-color: #007bff;
    transform: scale(1.2);
}

.dot:hover {
    background-color: #999;
}


/* FAQ Section Specifics */
.accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); /* Softer shadow */
}

.accordion-header {
    background-color: #007bff;
    color: white;
    padding: 18px 25px; /* More padding */
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    font-size: 1.2rem; /* Larger font */
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, border-radius 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px; /* Initially rounded */
}

.accordion-header::after {
    content: '+';
    font-size: 1.8rem; /* Larger icon */
    font-weight: normal;
    transition: transform 0.3s ease;
}

.accordion-header.active {
    background-color: #0056b3;
    border-bottom-left-radius: 0; /* Remove bottom radius when open */
    border-bottom-right-radius: 0;
}

.accordion-header.active::after {
    content: '-';
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 25px;
    background-color: #fcfcfc;
    max-height: 0; /* Controlled by JS for smooth animation */
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
    border-top: 1px solid #eee;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.accordion-content.show {
    padding: 20px 25px; /* More padding when open */
}


/* Contact Section Specifics */
form {
    max-width: 700px; /* Wider form */
    margin: 0 auto 3rem auto;
    display: flex;
    flex-direction: column;
    gap: 20px; /* More gap */
    padding: 30px; /* More padding */
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    padding: 14px; /* More padding */
    font-size: 1.05rem; /* Slightly larger font */
    border-radius: 6px; /* Slightly more rounded */
    border: 1px solid #ccc;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.3); /* Stronger shadow on focus */
    outline: none;
}

textarea {
    resize: vertical;
    min-height: 120px; /* Min height for textarea */
}

form button[type="submit"] {
    background-color: #007bff;
    color: white;
    padding: 15px 25px; /* More padding */
    border: none;
    border-radius: 8px;
    font-size: 1.2rem; /* Larger font */
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

form button[type="submit"]:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Form validation error messages */
.error-message {
    color: #dc3545; /* Red color for errors */
    font-size: 0.9rem;
    margin-top: -10px; /* Pull it closer to the input */
    margin-bottom: 10px;
}

input.invalid, textarea.invalid {
    border-color: #dc3545; /* Red border for invalid fields */
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.25);
}


.contact-info {
    text-align: center;
    margin-top: 3rem;
    font-size: 1.15rem;
}

.contact-info p {
    margin-bottom: 12px;
}

.contact-info a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
    font-weight: 600;
}

.contact-info a:hover {
    color: #0056b3;
    transform: translateY(-2px);
    text-decoration: underline;
}

/* Course Details Page Specifics (No direct changes, but general section styling applies) */
.course-meta {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 1.2rem;
}

.course-meta p {
    margin: 0.8rem 0;
    font-weight: bold;
    color: #003366;
}

.course-features {
    list-style: none;
    padding: 0;
    margin: 2.5rem auto;
    max-width: 700px;
}

.course-features li {
    background-color: #f0f8ff;
    margin-bottom: 12px;
    padding: 15px 25px; /* More padding */
    border-left: 5px solid #007bff; /* Thicker accent */
    border-radius: 6px;
    font-size: 1.05rem;
    color: #333;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.3s ease;
}

.course-features li:hover {
    transform: translateX(8px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    background-color: #e6f2ff; /* Lighter blue on hover */
}

.enroll-button-container {
    text-align: center;
    margin-top: 4rem;
}

.enroll-button-container button {
    background-color: #28a745;
    color: white;
    padding: 18px 35px;
    border: none;
    border-radius: 35px;
    font-size: 1.3rem; /* Larger font */
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.enroll-button-container button:hover {
    background-color: #218838;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* New Section for Special Offers */
#special-offers {
    background: linear-gradient(to right, #fdfd96, #ffe082);
    padding: 4rem 2.5rem;
    text-align: center;
    margin: 2rem auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    max-width: 1100px;
    position: relative;
    overflow: hidden;
    /* Add a subtle textured background */
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgeG1sbnM9Imh0dHA6Ly93d3cuc2Nvb3BzY29ub3UuaW8vaW1hZ2VzL3NvbWUtcG9saWdvbi5zdmciPjxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PGcgZmlsbD0iIzAwMDAwMCINCnBhY2tHcm91cHM9InNvbWUtcG9saWdvbiI+PHBhdGggZD0iTTAgMjAuMDAwMDI3M0wwIDIwLjAwMDAyNzMgTDAgMjAuMDAwMDI3MyBMNy45MTg1NzE3OSA1Ljc2MjA0Nzk4TDIwIDI1Ljc2MjA0Nzk4TDM1Ljk5MDI5NTMgMTUuNDUyNzU5OTJMNDAuMDAwMDI3MyAyMC4wMDAwMjc3TDIwIDQwLjAwMDAyNzcgTDAgMjAuMDAwMDI3MyBMNTAgMjAuMDAwMDI3NyIgZmlsbC1vcGFjaXR5PSIwLjAxIiAvPjwvZz48L2c+PC9zdmc+');
    background-size: 20px 20px;
}

#special-offers h2 {
    font-family: 'Poppins', sans-serif;
    color: #a0522d;
    font-size: 3rem;
    margin-bottom: 2.5rem;
    position: relative;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

#special-offers h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 90px;
    height: 5px;
    background: #a0522d;
    border-radius: 3px;
}

.offer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 35px; /* More gap */
    margin-top: 3rem;
}

.offer-card {
    background: white;
    border-radius: 15px; /* More rounded */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); /* Stronger shadow */
    padding: 35px; /* More padding */
    flex: 1;
    min-width: 300px; /* Slightly larger min-width */
    max-width: 480px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
    border: 3px solid #a0522d; /* Thicker border */
    position: relative;
    overflow: hidden;
}

.offer-card::before { /* Decorative element */
    content: '✨';
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 2rem;
    opacity: 0.2;
}
.offer-card::after { /* Decorative element */
    content: '🎉';
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-size: 2rem;
    opacity: 0.2;
}


.offer-card:hover {
    transform: translateY(-12px) scale(1.02); /* More pronounced lift and slight scale */
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
    border-color: #ff8c00; /* Change border color on hover */
}

.offer-card h3 {
    font-family: 'Poppins', sans-serif;
    color: #001f3f;
    font-size: 2rem; /* Larger heading */
    margin-bottom: 18px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

.offer-card p {
    color: #555;
    font-size: 1.15rem;
    margin-bottom: 25px;
    line-height: 1.7;
}

.offer-card .price {
    font-size: 1.8rem; /* Larger price */
    font-weight: bold;
    color: #e67e00;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.offer-card button {
    background: #e67e00;
    color: white;
    padding: 15px 30px; /* More padding */
    border: none;
    border-radius: 35px;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.offer-card button:hover {
    background: #ff8c00;
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 2rem; /* More padding */
    background: linear-gradient(to right, #001f3f, #003366);
    color: white;
    margin-top: 3rem;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2); /* Shadow on top */
}

footer p {
    margin: 8px 0;
    font-size: 1rem;
}

footer a {
    color: #ffc107;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
    font-weight: 600;
}

footer a:hover {
    color: white;
    transform: translateY(-2px);
    text-decoration: underline;
}


/* Floating WhatsApp Icon */
.whatsapp-icon {
    position: fixed;
    bottom: 25px; /* Slightly more space */
    right: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px; /* Slightly larger icon */
    height: 55px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    font-size: 28px; /* Larger icon */
    text-decoration: none;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.4); /* Stronger shadow */
    z-index: 1010; /* Ensure it's above back-to-top and chat bubble */
    transition: transform 0.2s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-icon:hover {
    background-color: #128C7E;
    transform: scale(1.15) rotate(5deg); /* More pronounced hover effect */
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.5);
}


/* New Chat Bubble and Pop-up Styles */
.chat-bubble-container {
    position: fixed;
    bottom: 150px; /* Adjusted position, above back-to-top */
    right: 25px;
    z-index: 1005; /* Between WhatsApp and back-to-top */
}

.chat-bubble-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px; /* Slightly larger icon */
    height: 55px;
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    font-size: 28px; /* Larger icon */
    border: none;
    cursor: pointer;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.4);
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.chat-bubble-icon:hover {
    background-color: #0056b3;
    transform: scale(1.15) rotate(-5deg); /* More pronounced hover effect */
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.5);
}

.chat-popup {
    display: none;
    position: absolute;
    bottom: 65px; /* Position above the chat icon */
    right: 0;
    background-color: white;
    border-radius: 10px; /* More rounded */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25); /* Stronger shadow */
    padding: 20px; /* More padding */
    width: 250px; /* Wider popup */
    box-sizing: border-box;
    transform-origin: bottom right;
    animation: fadeInScale 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; /* Bouncier animation */
}

.chat-popup.show {
    display: block;
}

.chat-option {
    display: flex;
    align-items: center;
    padding: 12px 15px; /* More padding */
    margin-bottom: 10px;
    border-radius: 8px; /* More rounded */
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
    color: white;
    font-weight: 600;
}

.chat-option:last-of-type {
    margin-bottom: 0;
}

.chat-option i { /* For Font Awesome icons if used */
    margin-right: 10px;
    font-size: 1.2rem;
}

.chat-option:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.whatsapp-option {
    background-color: #25D366;
}
.whatsapp-option:hover {
    background-color: #128C7E;
}

.email-option {
    background-color: #dc3545;
}
.email-option:hover {
    background-color: #c82333;
}

.close-chat-popup {
    position: absolute;
    top: 8px; /* Adjusted position */
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5rem; /* Larger close button */
    color: #666;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.close-chat-popup:hover {
    color: #333;
    transform: rotate(90deg);
}

/* Keyframe for bounce effect */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.7) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}


/* Media Queries for Responsiveness (Refined) */
@media (max-width: 992px) { /* Tablet size */
    header {
        padding: 1rem 1.5rem;
    }
    nav a {
        margin-left: 1rem;
        font-size: 0.95rem;
    }
    .hero {
        padding: 4rem 1.5rem;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .hero-buttons button {
        padding: 15px 25px;
        font-size: 1rem;
    }
    section {
        padding: 3rem 1.5rem;
        margin: 1.5rem auto;
    }
    section h2 {
        font-size: 2.5rem;
    }
    .offer-card {
        min-width: 250px;
        padding: 30px;
    }
    .testimonial-item {
        padding: 30px;
    }
    .testimonial-item p {
        font-size: 1.1rem;
    }
    .accordion-header {
        font-size: 1.1rem;
        padding: 15px 20px;
    }
}


@media (max-width: 768px) { /* Mobile */
    header {
        flex-direction: column;
       /* text-align: center;*/
        padding: 1rem;
    }
    header .logo {
        margin-bottom: 1rem;
        font-size: 1.4rem;
    }
    nav {
        width: 100%;
        justify-content: center;
        gap: 10px;
    }
    nav a {
        margin: 0 0.5rem;
        font-size: 0.9rem;
    }
    nav a::after {
        height: 2px;
        bottom: -5px;
    }
    .hero {
        padding: 3rem 1rem;
        border-bottom-left-radius: 50% 15%;
        border-bottom-right-radius: 50% 15%;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    .hero-buttons button {
        display: block;
        width: 90%;
        margin: 10px auto;
        padding: 12px 20px;
        font-size: 1rem;
    }
    section {
        padding: 2rem 1rem;
        margin: 1rem auto;
        border-radius: 8px;
    }
    section h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    section h2::after {
        width: 60px;
        height: 4px;
    }
    #about p {
        font-size: 1rem;
    }
    .course-filters {
        flex-direction: column; /* Stack filters on mobile */
        align-items: center;
        gap: 10px;
    }
    .course-filter-btn {
        width: 80%; /* Make filter buttons wider */
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .course-item {
        padding: 15px 20px;
        font-size: 1rem;
    }
    .button-link button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    .testimonial-carousel {
        padding: 15px;
    }
    .testimonial-item {
        padding: 20px;
    }
    .testimonial-item p {
        font-size: 1rem;
    }
    .carousel-controls button {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    .carousel-dots {
        margin-top: 15px;
    }
    .dot {
        width: 10px;
        height: 10px;
    }
    .accordion-header {
        font-size: 1rem;
        padding: 12px 15px;
    }
    .accordion-header::after {
        font-size: 1.2rem;
    }
    .accordion-content {
        padding: 15px 15px;
    }
    form {
        padding: 20px;
        gap: 10px;
    }
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
        padding: 10px;
        font-size: 0.95rem;
    }
    form button[type="submit"] {
        padding: 10px 18px;
        font-size: 1rem;
    }
    .contact-info {
        font-size: 1rem;
    }
    .offer-card {
        padding: 25px;
        max-width: 90%;
    }
    .offer-card h3 {
        font-size: 1.5rem;
    }
    .offer-card p {
        font-size: 1rem;
    }
    .offer-card .price {
        font-size: 1.3rem;
    }
    .offer-card button {
        padding: 10px 20px;
        font-size: 1rem;
    }
    footer {
        padding: 1rem;
    }

    /* Adjust floating buttons for smaller screens */
    .whatsapp-icon,
    .chat-bubble-container,
    #backToTopBtn {
        width: 48px; /* Consistent size */
        height: 48px;
        font-size: 22px;
    }

    .whatsapp-icon {
        bottom: 15px;
        right: 15px;
    }
    #backToTopBtn {
        bottom: 70px; /* 15px + 48px (icon height) + 7px (spacing) = 70px */
        right: 15px;
    }
    .chat-bubble-container {
        bottom: 125px; /* 70px + 48px (icon height) + 7px (spacing) = 125px */
        right: 15px;
    }
    .chat-popup {
        width: 200px;
        padding: 12px;
        bottom: 55px; /* Adjust relative to smaller chat bubble icon */
    }
    .chat-option {
        font-size: 0.9rem;
        padding: 10px;
    }
}

@media (max-width: 480px) { /* Extra Small Screens */
    .hero h1 {
        font-size: 1.8rem;
    }
    .hero p {
        font-size: 0.9rem;
    }
    section h2 {
        font-size: 1.8rem;
    }
    .course-item {
        padding: 10px 15px;
    }
    .offer-card {
        padding: 20px;
    }
}
/* --- FAQ Section Styles --- */
.faq-container {
    max-width: 900px;
    margin: 3rem auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
    padding-bottom: 15px;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 15px 0;
    background-color: #f9f9f9; /* Slightly different background for question */
    border-radius: 5px;
    padding-left: 15px;
    padding-right: 15px;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.15rem;
    color: #001f3f; /* Dark blue from header */
    font-weight: 600;
}

.faq-toggle-icon {
    font-size: 1.8rem; /* Larger icon */
    font-weight: bold;
    color: #007bff; /* Accent color */
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(45deg); /* Rotate to form an 'X' or minus sign */
}

.faq-answer {
    max-height: 0; /* Initially hidden */
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out; /* Smooth transition */
    padding-left: 15px; /* Aligns with question text */
    padding-right: 15px;
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust as needed based on content */
    padding-top: 10px; /* Add padding when active */
    padding-bottom: 10px;
}

.faq-answer p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
}

/* Responsive adjustments for FAQ */
@media (max-width: 768px) {
    .faq-container {
        margin: 2rem 1rem;
        padding: 15px;
    }

    .faq-question h3 {
        font-size: 1rem;
    }
    .faq-toggle-icon {
        font-size: 1.5rem;
    }
    .faq-answer p {
        font-size: 0.95rem;
    }
}
/* --- Our Courses Section Enhancements --- */

/* Base style for the courses section itself */
#courses {
    padding: 4rem 2rem; /* More generous padding */
    background-color: #f8fbfd; /* Very light background for contrast */
    text-align: center;
}

#courses h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem; /* Slightly larger heading */
    color: #001f3f; /* Dark navy color */
    margin-bottom: 3rem; /* More space below heading */
    position: relative;
    display: inline-block; /* To apply bottom border under text only */
}

/* Subtle line under the heading */
#courses h2::after {
    content: '';
    display: block;
    width: 60px; /* Short underline */
    height: 4px;
    background-color: #007bff; /* Accent color */
    margin: 10px auto 0;
    border-radius: 2px;
}


/* Styling for the course list container (if it's a grid/flex container) */
.course-list ul { /* Assuming your courses are <li> elements within a <ul> with class "course-list" */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid columns */
    gap: 30px; /* Increased gap between cards */
    list-style: none; /* Remove bullet points */
    padding: 0;
    margin: 0 auto;
    max-width: 1200px; /* Limit overall width */
}

/* Styling for individual course cards (assuming each <li> is a card) */
.course-list li {
    background-color: #ffffff;
    border-radius: 12px; /* Softer rounded corners */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* More prominent, softer shadow */
    overflow: hidden; /* Ensures border-radius applies to content */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effect */
    padding: 30px; /* Generous internal padding */
    text-align: left; /* Align text within card */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes button to bottom */
}

/* Hover effect for course cards */
.course-list li:hover {
    transform: translateY(-8px); /* Lift effect */
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15); /* Stronger shadow on hover */
}

/* Styling for course titles within cards */
.course-list li h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem; /* Slightly larger title */
    color: #003366; /* Darker blue for titles */
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.3;
}

/* Styling for course descriptions/text */
.course-list li p {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px; /* Space before button */
    flex-grow: 1; /* Allows text to take up available space */
}

/* Styling for buttons within course cards (e.g., "Learn More" or "Enroll") */
.course-list li button,
.course-list li a.button { /* Assuming buttons or links styled as buttons */
    display: inline-block;
    background-color: #007bff; /* Primary accent color */
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px; /* Rounded button corners */
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none; /* For anchor tags */
    transition: background-color 0.3s ease, transform 0.2s ease;
    align-self: flex-start; /* Align button to the left within the card */
}

.course-list li button:hover,
.course-list li a.button:hover {
    background-color: #0056b3; /* Darker shade on hover */
    transform: translateY(-2px); /* Slight lift on hover */
}

/* Optional: Badges for new courses, popular, etc. */
.course-list li .course-badge {
    background-color: #28a745; /* Example green for a "New" badge */
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
    position: absolute; /* Position relative to the card */
    top: 15px;
    right: 15px;
    z-index: 1;
}

/* Responsive adjustments for course section */
@media (max-width: 768px) {
    #courses {
        padding: 3rem 1rem;
    }
    #courses h2 {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }
    .course-list ul {
        grid-template-columns: 1fr; /* Single column on small screens */
        gap: 20px;
    }
    .course-list li {
        padding: 25px;
    }
    .course-list li h3 {
        font-size: 1.4rem;
    }
    .course-list li p {
        font-size: 0.95rem;
    }
    .course-list li button,
    .course-list li a.button {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}
 /* Process Section */
  section.process {
    background: #f0f5ff;
    padding: 80px 20px;
  }
  section.process h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 50px;
    color: #357ABD;
    font-weight: 700;
  }
  .process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
  }
  .step {
    background: white;
    border-radius: 14px;
    padding: 30px 25px;
    max-width: 280px;
    box-shadow: 0 5px 12px rgb(0 0 0 / 0.08);
    text-align: center;
    transition: box-shadow 0.3s ease;
  }
  .step:hover {
    box-shadow: 0 10px 20px rgb(0 0 0 / 0.15);
  }
  .step-icon {
    font-size: 40px;
    color: #357ABD;
    margin-bottom: 20px;
  }
  .step-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #2a5298;
  }
  .step-desc {
    color: #555;
    font-size: 1rem;
    line-height: 1.5;
  }

  /* Testimonials Section */
  section.testimonials {
    padding: 80px 20px 60px;
    background: white;
  }
  section.testimonials h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 50px;
    font-weight: 700;
    color: #357ABD;
  }
  .testimonials-slider {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
  }
  .testimonial {
    background: #e6f0ff;
    border-radius: 14px;
    padding: 30px 40px;
    box-shadow: 0 6px 15px rgb(0 0 0 / 0.1);
    font-style: italic;
    color: #444;
  }
  .testimonial-author {
    margin-top: 20px;
    font-weight: 700;
    font-size: 1rem;
    color: #357ABD;
    text-align: right;
  }
  .whatsapp-float {
    position: fixed;
    top: 70%;
    right: 20px;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

/* Optional hover effect */
.whatsapp-float:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 14px rgba(0,0,0,0.3);
}



.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #1ebe57;
}
.back-button {
  display: inline-block;
  margin-bottom: 20px;
  font-weight: 600;
  color: #1abc9c;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
  cursor: pointer;
}

.back-button:hover {
  color: #159a80;
  text-decoration: underline;
}
/* Hide the nav menu and show hamburger on small screens */
.nav-toggle {
  display: none;
 /* background: none;*/
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #1d3557;
}

@media (max-width: 768px) {
  nav.nav-menu {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    /*top: 60px;  /* adjust depending on your header height */
        right: 220px;
        width: 150px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 10px 0;
    z-index: 100;
  }

  nav.nav-menu a {
    padding: 10px 20px;
    color: #111212;
    text-decoration: none;
    display: block;
	font-weight:500px;
  }

  nav.nav-menu a:hover {
    background-color: #2a9d8f;
    color: white;
  }

  .nav-toggle {
    display: block;
  }
  
  /* When nav-menu active, show it */
  nav.nav-menu.active {
    display: flex;
  }
}
@media (max-width: 768px) {
  .logo-img {
    /*display: none;*/
  }
   

/* Parent nav container to allow positioning */
.nav-menu {
  display: flex;
  flex-wrap: wrap;
 /* align-items: center;*/
  gap: 5px;
  position: relative; /* Required for positioning dropdown relative to it */
  z-index: 100;
}

/* Dropdown container */
.dropdown {
  position: relative;
}

/* Button that triggers dropdown */
.dropbtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Dropdown content (initially hidden) */
.dropdown-content {
  position: absolute;
  top: 100%; /* Push below the nav bar */
  left: 0;
  transform: translateX(150px); /* ✅ shift it visually without breaking structure */
  background-color: white;
  min-width: 220px;
  display: none;
  flex-direction: column;
  z-index: 1001;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* Each dropdown item */
.dropdown-content a {
  color: green;
  padding: 12px 20px;
  text-decoration: none;
  display: block;
  font-weight: 500;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Hover effect */
.dropdown-content a:hover {
  background-color: #f0f0f0;
  color: #e67e00;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: flex;
}
 

.dropdown-content.show-dropdown {
  display: flex;
}
}


/* Parent nav container to allow positioning */
.nav-menu {
  display: flex;
  flex-wrap: wrap;
 /* align-items: center;*/
  gap: 5px;
  position: relative; /* Required for positioning dropdown relative to it */
  z-index: 100;
}

/* Dropdown container */
.dropdown {
  position: relative;
}

/* Button that triggers dropdown */
.dropbtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Dropdown content (initially hidden) */
.dropdown-content {
  position: absolute;
  top: 100%; /* Push below the nav bar */
  left: 0;
  background-color: white;
  min-width: 220px;
  display: none;
  flex-direction: column;
  z-index: 1001;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* Each dropdown item */
.dropdown-content a {
  color: black;
  padding: 6px 0px;
  text-decoration: none;
  display: block;
  font-weight: 500;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Hover effect */
.dropdown-content a:hover {
  background-color: #f0f0f0;
  color: green;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: flex;
}
 

.dropdown-content.show-dropdown {
  display: flex;
}