:root {
    /* Updated Branding Colors based on Logo */
    --primary-color: #6a1b9a; /* Deep Purple */
    --secondary-color: #1565c0; /* Strong Blue */
    --accent-color: #f3e5f5; /* Light Lavender/Purple background */
    --text-color: #333;
    --white: #fff;
    --gradient-bg: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden; /* Prevent horizontal scroll from animations */
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Animation Classes */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* Header & Navigation */
header {
    background: var(--white);
    color: var(--text-color);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 50px;
    display: flex;
    align-items: center;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 35px; /* Slimmer logo */
    vertical-align: middle;
}

.nav-links {
    display: flex;
    gap: 20px;
    transition: all 0.3s ease-in-out;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
    position: absolute;
    bottom: -5px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        order: 1; /* Move hamburger to the left */
    }

    .logo {
        order: 2; /* Move logo to the right/center */
        margin-left: auto; /* Push logo to the right */
    }

    .nav-links {
        order: 3;
        position: absolute;
        top: 50px;
        left: 0; /* Ensure it starts from left */
        right: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 999;
        transition: max-height 0.4s ease-in-out;
    }

    .nav-links.active {
        max-height: 300px; /* Adjust based on content */
        padding: 20px 0;
    }

    .nav-links a {
        padding: 15px 0;
        width: 100%;
        text-align: center;
        display: block;
        color: var(--text-color);
        opacity: 0;
        transform: translateY(-20px);
        transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s;
        position: relative; /* Needed for ::after */
        overflow: hidden; /* Contain the underline if needed */
    }
    
    .nav-links.active a {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.4s ease, transform 0.4s ease, color 0.2s;
    }

    /* Staggered Delay for Menu Items */
    .nav-links.active a:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active a:nth-child(2) { transition-delay: 0.2s; }
    .nav-links.active a:nth-child(3) { transition-delay: 0.3s; }
    .nav-links.active a:nth-child(4) { transition-delay: 0.4s; }
    .nav-links.active a:nth-child(5) { transition-delay: 0.5s; }

    .nav-links a:hover {
        background-color: transparent; /* Removed background fill */
        color: var(--primary-color);
        padding-left: 0; /* Removed slide */
        letter-spacing: 0; /* Removed spacing change */
    }

    /* Modern Underline Effect */
    .nav-links a::after {
        content: '';
        display: block;
        position: absolute;
        bottom: 10px; /* Adjust vertical position */
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background-color: var(--secondary-color);
        transition: width 0.3s ease-out;
    }

    .nav-links a:hover::after {
        width: 50px; /* Width of the underline on hover */
    }
    
    /* Hamburger Animation */
    .hamburger {
        transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* Bouncy transition */
    }

    .hamburger:hover:not(.active) span:nth-child(1) {
        transform: translateY(-2px);
        width: 100%; /* Ensure full width */
    }

    .hamburger:hover:not(.active) span:nth-child(2) {
        transform: scaleX(0.8); /* Shrink middle line */
    }

    .hamburger:hover:not(.active) span:nth-child(3) {
        transform: translateY(2px);
        width: 100%;
    }

    .hamburger:hover span {
        background-color: var(--secondary-color);
        box-shadow: 0 0 8px rgba(21, 101, 192, 0.6); /* Glow effect */
    }

    .hamburger.active {
        transform: rotate(90deg); /* Rotate container */
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
        background-color: var(--secondary-color); /* Change color on active */
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px); /* Slide out */
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg);
        background-color: var(--secondary-color); /* Change color on active */
    }
}

/* Hero Slider */
.hero-slider {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
    color: var(--white);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    margin-bottom: 2rem;
    height: 600px; /* Fixed height for slider */
    background: var(--gradient-bg); /* Fallback */
}

.slider-container {
    height: 100%;
    position: relative;
}

.slide {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-align: center;
    padding: 0 20px;
    animation: fade 1.5s;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-size: cover !important; /* Ensure image covers the slide */
    background-position: center !important; /* Center the image */
    background-repeat: no-repeat !important;
}

.slide.active {
    display: flex;
}

.slide h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInDown 1s ease-out;
}

.slide p {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

/* Slider Controls */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.2);
    border: none;
    z-index: 10;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Dots */
.slider-dots {
    text-align: center;
    position: absolute;
    bottom: 30px; /* Moved down from 80px */
    width: 100%;
    z-index: 10;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active.dot, .dot:hover {
    background-color: var(--white);
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .hero-slider {
        height: 500px;
        clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    }
    .slide h2 {
        font-size: 2rem;
    }
    .slide p {
        font-size: 1rem;
    }
}

.btn {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-color);
    padding: 12px 25px;
    border-radius: 50px; /* Rounded pill shape */
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    background-color: var(--accent-color);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    margin-right: 10px;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Keyframes */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* Sections */
.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    border: none;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* Softer shadow */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s;
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--primary-color);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--accent-color);
    transition: height 0.4s ease;
    z-index: 0;
}

.card:hover::before {
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.card h3, .card p {
    position: relative;
    z-index: 1;
}

/* About Page Styling */
.about-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.about-content .lead-text {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-content p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
}

.quote-box {
    border-left: 4px solid var(--secondary-color);
    padding: 15px 20px;
    background: #f9f9f9;
    font-style: italic;
    font-size: 1.1rem;
    color: #444;
    margin-top: 30px;
    border-radius: 0 10px 10px 0;
}

.about-visual {
    flex: 1;
    min-width: 300px;
}

.about-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    transform: rotate(2deg);
    transition: transform 0.3s;
}

.about-visual:hover .about-image {
    transform: rotate(0);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(26, 35, 126, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.card-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--primary-color);
}

.values-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.value-item {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s, background 0.3s, color 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 160px;
    text-align: center;
}

.value-item .icon {
    width: 40px;
    height: 40px;
    fill: var(--primary-color);
    margin-bottom: 15px;
    transition: fill 0.3s;
}

/* Courses Grid Layout */
.courses-grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.course-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

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

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

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

.course-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.course-content h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.course-tagline {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
    font-style: italic;
}

.course-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
}

.course-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.btn-sm {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.btn-sm:hover {
    background: var(--secondary-color);
}

/* Responsive Tweaks */
@media (max-width: 768px) {
    .about-wrapper {
        flex-direction: column;
    }
    
    .about-image {
        transform: rotate(0);
    }
    
    .courses-grid-layout {
        grid-template-columns: 1fr;
    }
}

/* Course Detail (Courses Page) */
.course-detail {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    margin-bottom: 60px;
    border-top: 5px solid var(--secondary-color);
}

.course-detail h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.course-detail .tagline {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
    font-style: italic;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    display: block;
}

.course-meta {
    margin: 30px 0;
    padding: 30px;
    background: linear-gradient(to right, var(--accent-color), #fff);
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
}

.benefits-list {
    list-style: none;
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.benefits-list li {
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
    font-size: 1.05rem;
}

.benefits-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    font-size: 1.1rem;
}

.facilitator {
    display: flex;
    align-items: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.facilitator img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 20px;
    object-fit: cover;
    background-color: #ddd;
}

.facilitator-info h4 {
    margin: 0;
    color: var(--primary-color);
}

.facilitator-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

/* Contact Page Styling */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
    align-items: stretch;
}

/* --- New Home Page Sections --- */

/* Video Section */
.video-section {
    background-color: var(--white);
    padding: 60px 0;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Mission & Vision Section */
.mission-vision-section {
    background-color: #f9f9f9;
    padding: 80px 0;
}

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

.mv-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
    border-top: 5px solid var(--primary-color);
}

.mv-card:hover {
    transform: translateY(-10px);
}

.mv-card .icon-box {
    width: 80px;
    height: 80px;
    background: rgba(26, 35, 126, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.mv-card .icon-box svg {
    width: 40px;
    height: 40px;
    fill: var(--primary-color);
}

.mv-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.mv-card p {
    color: #666;
    line-height: 1.6;
}

/* Gallery Section */
.gallery-section {
    background-color: var(--white);
    padding: 80px 0;
    overflow: hidden;
}

.gallery-slider {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0;
}

.gallery-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
}

.gallery-slide {
    min-width: 300px;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-slide:hover img {
    transform: scale(1.1);
}

.gallery-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none; /* Allow clicks to pass through to slides if needed, but buttons need pointer-events: auto */
}

.gallery-prev, .gallery-next {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: background 0.3s;
    margin: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-prev:hover, .gallery-next:hover {
    background: var(--primary-color);
    color: var(--white);
}

@media (max-width: 768px) {
    .gallery-slide {
        min-width: 250px;
        height: 250px;
    }
}

.contact-visual {
    flex: 1;
    min-width: 300px;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}

.contact-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.contact-details-box {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.contact-details-box h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.contact-details-box p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.contact-list {
    margin-bottom: 30px;
}

.contact-list-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.icon-box {
    width: 40px;
    height: 40px;
    background: rgba(26, 35, 126, 0.1); /* Primary color light */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.icon-box svg {
    width: 20px;
    height: 20px;
    fill: var(--primary-color);
}

.info-text {
    display: flex;
    flex-direction: column;
}

.info-text span {
    font-size: 0.85rem;
    color: #888;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.info-text a, .info-text p {
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    text-decoration: none;
    transition: color 0.3s;
}

.info-text a:hover {
    color: var(--secondary-color);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    margin-top: auto;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

.whatsapp-icon {
    width: 20px;
    height: 20px;
    fill: white;
}

/* Contact Form Styling */
.contact-form-container {
    flex: 1.5;
    min-width: 300px;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.form-header {
    margin-bottom: 30px;
}

.form-header h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.form-header p {
    color: #666;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
    background: #f9f9f9;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    background: var(--white);
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 64, 129, 0.1); /* Secondary color faint glow */
}

.btn-full {
    width: 100%;
    border: none;
    font-size: 1.1rem;
    padding: 16px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-full:hover {
    background: var(--secondary-color);
}

/* Responsive adjustments for Contact Page */
@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Footer */
footer {
    background: #1a1a1a; /* Sleek Dark Gray/Black */
    color: #e0e0e0;
    padding: 60px 0 20px;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
    text-align: left;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-section p {
    margin-bottom: 15px;
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-section ul li a {
    color: #e0e0e0;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

footer .icon {
    fill: var(--secondary-color); /* Make icons stand out in footer */
    width: 18px;
    height: 18px;
    margin-right: 15px;
    flex-shrink: 0;
}

/* Icons */
.icon {
    width: 24px;
    height: 24px;
    fill: var(--primary-color);
    vertical-align: middle;
    margin-right: 10px;
    display: inline-block;
}

.contact-item strong {
    display: inline-flex;
    align-items: center;
}

/* Global Responsive Refinements */

/* Tablet & Smaller Desktops (max-width: 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .section-title {
        font-size: 2rem;
    }

    .hero-slider {
        height: 500px; /* Reduce height on smaller screens */
    }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
    .section {
        padding: 3rem 0; /* Reduce vertical padding */
    }

    .hero-slider {
        height: 400px;
        clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
    }

    .slide h2 {
        font-size: 1.8rem; /* Smaller hero text */
    }

    .slide p {
        font-size: 1rem;
        padding: 0 10px;
    }

    .card-grid {
        grid-template-columns: 1fr; /* Stack cards vertically */
        gap: 20px;
    }

    .values-list {
        gap: 15px;
    }

    .value-item {
        width: calc(50% - 15px); /* Two columns on mobile */
        padding: 20px;
    }

    .course-detail {
        padding: 25px;
        margin-bottom: 40px;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-section {
        min-width: 100%; /* Full width footer sections */
    }
}

/* Small Mobile Devices (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .slide h2 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 100%; /* Full width buttons */
        margin-bottom: 10px;
        text-align: center;
    }

    .btn-secondary {
        margin-right: 0;
    }

    .value-item {
        width: 100%; /* Single column values on very small screens */
    }

    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-form {
        padding: 20px;
    }
}