/* Import Google Fonts - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

a {
    text-decoration: none;
    color: #333;
}

/* Header Styles */
.header {
    background: white !important;
    color: #333;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    position: relative;
    /* For mobile menu positioning */
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.nav-menu a:hover {
    color: #0014a2;
    font-weight: 600;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #333;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(90deg, #0f045d, #0014a2);
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 80px;
    position: relative;
}

.hero-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-btn:hover {
    transform: translateY(-3px);
}

/* Categories Section */
.categories {
    padding: 5rem 2rem;
    background: #007fff17;
    overflow: hidden;
    margin-top: 0;
    position: relative;
}

/* Ensure no gaps between sections */
section {
    margin: 0;
    padding: 0;
}

section+section {
    margin-top: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.2rem;
    color: #666;
}

/* Slider Styles */
.categories-slider {
    position: relative;
    margin: 0 auto;
    max-width: 1200px;
    overflow: hidden;
}

.categories-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 1.5rem;
    padding: 0 1rem;
}

.category-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: 280px;
    height: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.category-card:hover {
    transform: translateY(-10px);
}

.category-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    object-fit: contain;
}

.category-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 600;
}

.category-card p {
    color: #666;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Slider Navigation */
.slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    gap: 1rem;
}

.slider-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slider-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.slider-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
    margin: 0 2rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #667eea;
    transform: scale(1.2);
}

/* About Section */
.about {
    padding: 5rem 2rem;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.about-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #667eea;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Courses Section */
.courses {
    padding: 5rem 2rem;
    background: #007fff17;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.course-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
}

.course-image {
    height: 200px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-content {
    padding: 1.5rem;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.course-content h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #333;
}

/* Features Section */
.features {
    padding: 5rem 2rem;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
}

/* Career Achievements Showcase Section */
.career-achievements {
    padding: 5rem 2rem;
    background: #007fff17;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.achievement-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achievement-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.achievement-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 2rem;
    background: #007fff17;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 4rem;
    color: #fff;
    position: absolute;
    top: -10px;
    left: 20px;
}

.testimonial-content {
    margin-bottom: 1.5rem;
    font-style: italic;
    color: #666;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    color: #333;
    margin-bottom: 0.25rem;
}

.author-info p {
    color: #666;
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    padding: 5rem 2rem;
    background: linear-gradient(90deg, #0f045d, #0014a2);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: white;
    color: #333;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #0014a2;
}

.footer-section p,
.footer-section a {
    color: #666;
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
}

.footer-section a:hover {
    color: #667eea;
}

/* Footer Logo */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-logo h3 {
    font-size: 1.8rem;
    color: #667eea;
    margin: 0;
}

/* Company Description */
.footer-section:first-child p {
    line-height: 1.8;
    font-size: 0.95rem;
    color: #666;
}

/* Social Links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #667eea;
    transform: translateX(5px);
}

.social-links i {
    width: 20px;
    text-align: center;
}

/* Contact Info */
.contact-info p {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.contact-info i {
    color: #0014a2;
    width: 20px;
    text-align: center;
    margin-top: 0.2rem;
}

.contact-info a {
    color: #666;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #667eea;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.4rem;
    border-top: 1px solid #ddd;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        border-radius: 0 0 15px 15px;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 0.5rem 0;
        width: 100%;
    }

    .nav-menu a {
        width: 100%;
        justify-content: center;
        padding: 1rem;
        border-radius: 8px;
        min-height: 48px;
        transition: all 0.3s ease;
    }

    .nav-menu a:hover {
        background: rgba(0, 20, 162, 0.1);
        color: #0014a2;
    }

    .mobile-menu-btn {
        display: block;
        padding: 10px;
        min-width: 44px;
        min-height: 44px;
    }

    .hero-content h2 {
        font-size: 2.5rem;
        padding: 0 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        gap: 2rem;
        text-align: center;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.2rem;
        padding: 0 1rem;
    }

    .section-title h2 {
        font-size: 2rem;
        padding: 0 1rem;
    }

    /* Career Achievements responsive */
    .achievements-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
        padding: 0 1rem;
    }

    .achievement-item img {
        height: 150px;
    }

    /* Footer responsive */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .footer-section {
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .contact-info p {
        justify-content: center;
    }

    /* Improve touch targets */
    .cta-btn {
        min-height: 44px;
        padding: 12px 24px;
        font-size: 1.1rem;
    }

    /* Better mobile spacing */
    .container {
        padding: 0 1rem;
    }

    .category-card {
        margin: 0 0.5rem;
        min-height: 280px;
        padding: 1.5rem;
    }

    /* Improve carousel responsiveness */
    .categories-carousel {
        margin: 0 -0.5rem;
    }

    .owl-nav {
        display: none;
    }

    .owl-dots {
        margin-top: 1rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 2rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        border-radius: 0 0 15px 15px;
    }

    .nav-menu.active li {
        margin: 0.5rem 0;
        width: 100%;
    }

    .nav-menu.active a {
        font-size: 1.2rem;
        padding: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .nav-menu.active a:hover {
        background: rgba(0, 20, 162, 0.1);
        color: #0014a2;
    }
}

/* Responsive Slider */
@media (max-width: 768px) {
    .categories-slider {
        max-width: 100%;
    }

    .category-card {
        width: 250px;
        height: 250px;
    }

    .slider-nav {
        margin-top: 2rem;
    }

    .slider-dots {
        margin: 0 1rem;
    }

    /* Additional mobile improvements */
    .hero-content {
        padding: 0 1rem;
    }

    .section-title {
        padding: 0 1rem;
    }

    .about-text {
        padding: 0 1rem;
    }

    .courses-grid {
        padding: 0 1rem;
    }

    .features-grid {
        padding: 0 1rem;
    }

    .achievements-grid {
        padding: 0 1rem;
    }

    .testimonials-grid {
        padding: 0 1rem;
    }
}

/* Testimonials CTA Button */
.testimonials-cta {
    text-align: center;
    margin-top: 3rem;
}

.testimonials-cta .cta-btn {
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.testimonials-cta .cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.testimonials-cta .cta-btn i {
    font-size: 1rem;
}

/* WhatsApp Floating Icon */
.whatsapp-float {
    position: fixed;
    bottom: 80px;
    right: 19px;
    width: 55px;
    height: 55px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    line-height: 60px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #128c7e;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    font-size: 32px;
}

/* Pulse animation for WhatsApp icon */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8);
    }

    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Responsive WhatsApp icon */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
        line-height: 55px;
    }

    .whatsapp-float i {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
        font-size: 25px;
        line-height: 50px;
    }

    .whatsapp-float i {
        font-size: 25px;
    }

    /* Enhanced mobile styles for very small screens */
    .hero-content h2 {
        font-size: 1.8rem;
        padding: 0 0.5rem;
    }

    .hero-content p {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .section-title h2 {
        font-size: 1.6rem;
        padding: 0 0.5rem;
    }

    .section-title p {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .container {
        padding: 0 0.5rem;
    }

    .category-card {
        margin: 0 0.25rem;
        padding: 1rem;
    }

    .category-card h3 {
        font-size: 1.1rem;
    }

    .category-card p {
        font-size: 0.9rem;
    }

    /* Better mobile navigation */
    .nav-container {
        padding: 0 0.5rem;
    }

    .logo img {
        height: 40px;
    }

    /* Mobile menu improvements */
    .nav-menu.active {
        padding: 1.5rem;
    }

    .nav-menu.active a {
        font-size: 1.1rem;
        padding: 10px 0;
    }

    /* Button improvements for small screens */
    .cta-btn {
        padding: 10px 20px;
        font-size: 1rem;
        min-height: 48px;
    }

    /* Additional mobile improvements */
    .hero {
        height: 350px;
        margin-top: 60px;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .section-title p {
        font-size: 1rem;
    }
}

/* Enhanced Mobile Menu */
.nav-menu.active {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile menu button active state */
.mobile-menu-btn.active {
    background: rgba(0, 20, 162, 0.1);
    color: #0014a2;
}

.mobile-menu-btn.active i {
    transform: rotate(90deg);
    transition: transform 0.3s ease;
}

/* Ensure mobile menu is properly positioned */
@media (max-width: 768px) {
    .nav-container {
        position: relative;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        border-radius: 0 0 15px 15px;
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 0.5rem 0;
        width: 100%;
    }

    .nav-menu a {
        width: 100%;
        justify-content: center;
        padding: 1rem;
        border-radius: 8px;
        min-height: 48px;
        transition: all 0.3s ease;
    }

    .nav-menu a:hover {
        background: rgba(0, 20, 162, 0.1);
        color: #0014a2;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Additional mobile layout improvements */
    .hero {
        height: 400px;
        margin-top: 70px;
    }

    .courses-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .achievements-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.5rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Touch-friendly improvements */
button,
a,
input,
select,
textarea {
    min-height: 44px;
    min-width: 44px;
}

/* Better mobile touch targets */
.cta-btn,
.course-card,
.category-card {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* Improve mobile scrolling */
@media (max-width: 768px) {
    .categories-carousel {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }

    .owl-stage {
        display: flex;
        align-items: stretch;
    }

    .owl-item {
        display: flex;
        height: auto;
    }
}

/* Prevent text overflow */
h1,
h2,
h3,
h4,
h5,
h6,
p {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Better image handling */
img {
    max-width: 100%;
    height: auto;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading state */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: none;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-size: 1.2rem;
}

.scroll-to-top:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}




/* write by gulshan Arya */


.tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab {
    padding: 10px 20px;
    border: none;
    background-color: #e0e0e0;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.tab.active,
.tab:hover {
    background-color: #0056b3;
    color: white;
}

.cards {
    position: relative;
}

.program-card {
    display: none;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
    animation: fadeIn 0.3s ease;
}

.program-card.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.image-section {
    flex: 1;
    background-color: #ffe6f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.image-section img {
    max-width: 100%;
    border-radius: 10px;
}

.social-icons {
    position: absolute;
    left: 20px;
    top: 20px;
    display: flex;
    gap: 10px;
}

.content-section {
    flex: 2;
    padding: 20px;
    text-align: left;
}

.badge {
    display: inline-block;
    background-color: #ffd700;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 12px;
    margin-bottom: 10px;
}

h2 {
    margin: 10px 0;
}

ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

ul li {
    margin-bottom: 5px;
}

.companies {
    margin: 15px 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.companies span {
    background-color: #eee;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.details {
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
    font-size: 14px;
    color: #777;
}

.buttons {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.btn.primary {
    background-color: #0056b3;
    color: white;
}

.btn:hover {
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
    .program-card {
        flex-direction: column;
    }
}


/* for form data  */




form input,
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

form button {
    width: 100%;
    padding: 10px;
    background-color: #0284c7;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

form button:hover {
    background-color: #0369a1;
}

#status {
    text-align: center;
    margin-top: 10px;
    color: green;
}


/* for modal  */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, rgba(67, 206, 162, 0.25) 0%, rgba(24, 90, 157, 0.25) 100%);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Modal Content */
.modal-content {
    position: relative;
    background: linear-gradient(135deg, #1a047f 0%, #3380ec 100%);

    border-radius: 22px;
    padding: 10px;
    /* box-shadow: 0 4px 10px rgba(0,0,0,0.25), 0 0 0 8px #fff; */
    /* border: 4px solid #ffffff; */
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.3s;
}

.modal-content {
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
}

.modal-photo {
    max-width: 480px;
    border-radius: 16px;
    cursor: pointer;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
}



/* Close Button */
.close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    background: transparent;
    border: none;
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 0 2px 8px #0002;
    cursor: pointer;
}

/* Modal Form Styles - Clean & Modern */
.modal-form {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(white);

    padding: 10px 20px;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18), 0 0 0 8px #fff;
    border: 3px solid #fff;
    z-index: 10000;
    min-width: 340px;
    max-width: 95vw;
    width: 400px;
}

.modal-form form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #185a9d;
    text-align: center;
}

.modal-form input {
    padding: 13px 12px;
    border-radius: 8px;
    border: 1.5px solid #b3c2e1;
    font-size: 1.05rem;
    background: #f7fafd;
    transition: border-color 0.2s;
}

.modal-form input:focus {
    border-color: #185a9d;
    outline: none;
}

.modal-form button {
    padding: 13px;
    border-radius: 8px;
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    color: #fff;
    border: none;
    font-size: 1.08rem;
    cursor: pointer;
    font-weight: 600;
    margin-top: 10px;
    box-shadow: none;
    transition: none;
}

/* Error message style for modal form */
.modal-form .error-msg {
    display: block;
    color: #e53935;
    font-size: 13px;
    margin-top: 2px;
    font-weight: 500;
    min-height: 18px;
    letter-spacing: 0.2px;
}

.error-message {
    color: red;
    font-size: 0.9rem;
    margin-top: 4px;
    margin-bottom: 10px;
}

#status {
    margin-top: 10px;
    font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 600px) {

    .modal-content,
    .modal-form {
        max-width: 90%;
        padding: 15px;
    }

    .close-btn {
        top: 10px;
        right: 15px;
        font-size: 20px;
    }

    .modal-form h3 {
        font-size: 1.2em;
    }

    .modal-photo {
        max-height: 300px;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 10px;
    box-sizing: border-box;
}

.modal-content {
    background-color: #fff;
    border-radius: 10px;
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

.modal-elevated {
    border: 1px solid #ddd;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
}

/* Make image responsive */
.modal-photo {
    width: 100%;
    height: auto;
    display: block;
}

/* Form styling */
.modal-form {
    background-color: #fff;
    padding: 20px;
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
}

.modal-form form {
    display: flex;
    flex-direction: column;
}

.modal-form h3 {
    margin-bottom: 15px;
    font-size: 1.5em;
}

.modal-form input {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1em;
}

.modal-form button {
    padding: 12px;
    background-color: #007bff;
    color: #fff;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-form button:hover {
    background-color: #0056b3;
}

.error-message {
    color: red;
    font-size: 0.9em;
    margin-bottom: 5px;
}

#status {
    margin-top: 10px;
    font-size: 0.95em;
    color: green;
}

/* Responsive adjustments */
@media (max-width: 600px) {

    .modal-content,
    .modal-form {
        max-width: 90%;
        padding: 15px;
    }

    .close-btn {
        top: 8px;
        right: 12px;
        font-size: 20px;
    }

    .modal-form h3 {
        font-size: 1.2em;
    }
}