/* COMPLETE FINAL OnlineJain.org - All Corrections */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1B3B6F;
    --dark-blue: #0F2744;
    --navy-blue: #152A4D;
    --golden-yellow: #FFC107;
    --bright-yellow: #FFD54F;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --text-light: #e0e0e0;
    --black: #000000;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--white);
    background: var(--primary-blue);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Banner */
.top-banner {
    background: var(--dark-blue);
    text-align: center;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 500;
}

.highlight-yellow {
    color: var(--golden-yellow);
    font-weight: 700;
}

/* Header */
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    background: var(--primary-blue);
    padding: 50px 0 60px;
    position: relative;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    align-items: start;
}

.program-sidebar h3 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 30px;
    text-align: center;
}

.program-icons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.program-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.icon-circle {
    width: 55px;
    height: 55px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.program-icon-item p {
    font-size: 12px;
    line-height: 1.3;
    color: var(--white);
}

.hero-content-area {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--golden-yellow);
}

.program-list {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--white);
}

.btn-enroll {
    background: var(--golden-yellow);
    color: var(--dark-blue);
    border: none;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.4);
}

.btn-enroll:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.6);
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--white);
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.float-btn:hover {
    transform: scale(1.1);
}

.phone-btn {
    background: var(--dark-blue);
}

.whatsapp-btn {
    background: #25D366;
}

/* Stats Section */
.stats-section {
    background: var(--navy-blue);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
}

.stat-box {
    text-align: center;
    padding: 30px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s;
}

.stat-box:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 3rem;
    color: var(--golden-yellow);
    margin-bottom: 15px;
}

.stat-box h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--golden-yellow);
}

.stat-box p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-light);
}

/* Alumni Section */
.alumni-section {
    background: var(--light-gray);
    padding: 60px 0;
    text-align: center;
}

.alumni-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--black);
}

.section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #666;
}

.alumni-logos {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.alumni-logo {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.alumni-logo img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
}

.company-text {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

/* Dreams Section */
.dreams-section {
    background: var(--white);
    padding: 80px 0;
}

.dreams-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.dreams-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--black);
}

.dreams-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--black);
}

.dreams-list {
    list-style: none;
    margin-bottom: 30px;
}

.dreams-list li {
    padding: 12px 0;
    color: var(--black);
    font-size: 16px;
    display: flex;
    align-items: start;
    gap: 15px;
}

.dreams-list li i {
    color: var(--golden-yellow);
    font-size: 20px;
    margin-top: 2px;
}

.btn-apply-yellow {
    background: var(--golden-yellow);
    color: var(--black);
    border: none;
    padding: 15px 50px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-apply-yellow:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.6);
}

.certificate-frame {
    background: var(--primary-blue);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.certificate-frame img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Different Section */
.different-section {
    background: var(--primary-blue);
    padding: 80px 0;
    text-align: center;
}

.different-section h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--golden-yellow);
}

.different-section .section-subtitle {
    color: var(--text-light);
    margin-bottom: 50px;
}

.different-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.different-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 15px;
    transition: all 0.3s;
}

.different-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.different-icon {
    font-size: 3.5rem;
    color: var(--golden-yellow);
    margin-bottom: 20px;
}

.different-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
}

.different-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-light);
}

/* Programs Section */
.programs-section {
    background: var(--light-gray);
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--primary-blue);
}

.program-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.tab-btn {
    padding: 15px 40px;
    background: transparent;
    border: 2px solid var(--golden-yellow);
    color: var(--black);
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active {
    background: var(--golden-yellow);
    color: var(--black);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.program-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.program-card:hover {
    border-color: var(--golden-yellow);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.program-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.program-header i {
    font-size: 2.5rem;
    color: var(--golden-yellow);
}

.program-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.program-desc {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.program-features {
    list-style: none;
    margin-bottom: 25px;
}

.program-features li {
    padding: 10px 0;
    color: #333;
    border-bottom: 1px solid #eee;
}

.program-features li i {
    color: var(--golden-yellow);
    margin-right: 10px;
}

.btn-enquire {
    background: var(--golden-yellow);
    color: var(--black);
    padding: 12px 30px;
    border-radius: 25px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    font-size: 16px;
}

.btn-enquire:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
}

/* CTA Section */
.cta-section {
    background: var(--dark-blue);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--golden-yellow);
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: var(--text-light);
}

.btn-cta {
    background: var(--golden-yellow);
    color: var(--dark-blue);
    border: none;
    padding: 18px 60px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.6);
}

/* Registration Form Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-container {
    background: white;
    border-radius: 15px;
    max-width: 600px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #666;
    z-index: 1;
}

.modal-close:hover {
    color: #000;
}

.modal-content {
    padding: 40px 40px 30px;
}

.modal-content h2 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 14px;
}

.required {
    color: red;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    color: #333;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--golden-yellow);
}

.checkbox-group {
    display: flex;
    align-items: start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
}

.checkbox-group label {
    font-size: 12px;
    color: #666;
    font-weight: 400;
    line-height: 1.5;
}

.form-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.btn-enquire-form {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-enquire-form:hover {
    background: var(--primary-blue);
    color: white;
}

.btn-apply-form {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-apply-form:hover {
    background: var(--dark-blue);
}

/* Footer */
.footer {
    background: var(--navy-blue);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-col p {
    line-height: 1.8;
    color: var(--text-light);
    font-size: 14px;
}

.footer-col h4 {
    color: var(--golden-yellow);
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--golden-yellow);
}

.contact-info li {
    color: var(--text-light);
}

.contact-info li i {
    color: var(--golden-yellow);
    margin-right: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
    font-size: 14px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--golden-yellow);
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
    }
    
    .program-sidebar {
        display: none;
    }
    
    .hero-content-area {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .different-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .alumni-logos {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .dreams-wrapper {
        grid-template-columns: 1fr;
    }
    
    .different-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .program-list {
        font-size: 16px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .alumni-logos {
        grid-template-columns: 1fr;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .floating-buttons {
        right: 15px;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
    
    .form-buttons {
        grid-template-columns: 1fr;
    }
}

/* Header Navigation Updates */
.btn-enquire-nav {
    background: var(--golden-yellow) !important;
    color: var(--black) !important;
    font-weight: 700;
    border-radius: 25px;
}

.btn-enquire-nav:hover {
    background: var(--bright-yellow) !important;
}

.has-dropdown a {
    color: var(--white) !important;
}

.has-dropdown a:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

.icon-link {
    font-size: 18px;
    padding: 10px 15px !important;
}

/* Better Header Alignment */


/* Soft Rounded Corners for Buttons */
.btn-programs,
.btn-apply-nav,
.btn-enquire-nav,
.btn-enroll,
.btn-apply-yellow,
.btn-cta,
.btn-enquire {
    border-radius: 25px;
}

/* Alumni Logo Cards - Better Styling */
.alumni-logo {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    transition: all 0.3s;
}

.alumni-logo:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.alumni-logo img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(30%);
}

.alumni-logo:hover img {
    filter: grayscale(0%);
}

.company-text {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    text-align: center;
}

/* Who We Are Section */
.who-we-are-section {
    background: var(--primary-blue);
    padding: 80px 0;
    text-align: center;
}

.who-we-are-section h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--golden-yellow);
}

.who-we-are-section .section-subtitle {
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 1.2rem;
}

.who-content {
    max-width: 1000px;
    margin: 0 auto;
}

.who-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: left;
}

.who-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.who-highlight-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 25px;
    border-radius: 15px;
    transition: all 0.3s;
    text-align: center;
}

.who-highlight-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.who-icon {
    font-size: 3rem;
    color: var(--golden-yellow);
    margin-bottom: 20px;
}

.who-highlight-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
}

.who-highlight-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 0;
}

/* Responsive Updates for Who We Are */
@media (max-width: 992px) {
    .who-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .who-highlights {
        grid-template-columns: 1fr;
    }
    
    .btn-enquire-nav {
        display: none;
    }
}
/* COMPLETELY REWRITTEN HEADER - PROPER ALIGNMENT */
.container-fluid {
    max-width: 100%;
    padding: 0 40px;
}

.header {
    background: var(--primary-blue);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    height: 45px;
    width: auto;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

.nav-btn,
.nav-link,
.nav-icon {
    text-decoration: none;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-programs {
    background: var(--golden-yellow);
    color: var(--black);
    font-weight: 800;
}

.btn-apply {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-enquire {
    background: var(--golden-yellow);
    color: var(--black);
    font-weight: 700;
}

.nav-link {
    color: var(--white);
    padding: 12px 20px;
}

.nav-icon {
    color: var(--white);
    font-size: 18px;
    padding: 12px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover,
.nav-link:hover,
.nav-icon:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
}
/* LOGO CAROUSEL - ANIMATED */
.alumni-section {
    background: var(--light-gray);
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
}

.logo-carousel {
    overflow: hidden;
    padding: 30px 0;
    position: relative;
    margin-bottom: 20px;
}

.logo-track {
    display: flex;
    animation: scroll 30s linear infinite;
}

.logo-carousel.reverse .logo-track {
    animation: scroll-reverse 30s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-reverse {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.logo-item {
    flex-shrink: 0;
    width: 200px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 30px;
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.logo-item img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(20%);
    transition: all 0.3s;
}

.logo-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.logo-carousel:hover .logo-track {
    animation-play-state: paused;
}
