/* ============================================
   JAIN ONLINE - JAINCABS INSPIRED DESIGN
   Clean Blue & White Gradients, Black Fonts
   ============================================ */

/* === RESET & IMPORT CLEAN FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Roboto:wght@300;400;500;700;900&display=swap');

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

/* === COLOR VARIABLES === */
:root {
    --primary-blue: #2563eb;
    --light-blue: #60a5fa;
    --lighter-blue: #93c5fd;
    --extra-light-blue: #dbeafe;
    --white: #ffffff;
    --black: #000000;
    --dark-gray: #1f2937;
    --gray: #6b7280;
    --yellow: #fbbf24;
    --gradient-blue: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --gradient-light: linear-gradient(135deg, #ffffff 0%, #dbeafe 100%);
}

/* === GLOBAL STYLES === */
body {
    font-family: 'Poppins', sans-serif !important;
    background: var(--white) !important;
    color: var(--black) !important;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 700 !important;
    color: var(--black) !important;
}

/* === STICKY MARQUEE === */
.top-marquee {
    position: sticky !important;
    top: 0 !important;
    background: var(--gradient-blue) !important;
    z-index: 10000 !important;
    padding: 10px 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.marquee-content span {
    color: var(--white) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

/* === HEADER === */
.header {
    position: sticky !important;
    top: 40px !important;
    background: var(--white) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
    border-bottom: 1px solid #e5e7eb;
    z-index: 9999 !important;
}

.header-content {
    height: 70px;
}

.nav-btn,
.nav-link {
    color: var(--black) !important;
    font-weight: 500 !important;
}

.btn-programs {
    background: var(--yellow) !important;
    color: var(--black) !important;
    font-weight: 700 !important;
}

.btn-apply {
    background: var(--gradient-blue) !important;
    color: var(--white) !important;
    font-weight: 600 !important;
}

.nav-link:hover {
    color: var(--primary-blue) !important;
}

/* === HERO SECTION === */
.hero-section {
    margin-top: 110px !important;
    padding: 60px 0 80px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 50%, #dbeafe 100%) !important;
}

.hero-content h1 {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: var(--black) !important;
    line-height: 1.3 !important;
    margin-bottom: 20px !important;
}

.program-list {
    font-size: 1.1rem !important;
    color: var(--gray) !important;
    font-weight: 500 !important;
    margin-bottom: 30px !important;
}

/* Hero Buttons */
.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.btn-enroll {
    background: var(--gradient-blue) !important;
    color: var(--white) !important;
    font-weight: 600 !important;
    padding: 14px 32px !important;
    border-radius: 8px !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
    transition: all 0.3s !important;
}

.btn-enroll:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4) !important;
}

.btn-batch-closing {
    background: var(--yellow) !important;
    color: var(--black) !important;
    font-weight: 600 !important;
    padding: 14px 32px !important;
    border-radius: 8px !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3) !important;
    transition: all 0.3s !important;
}

.btn-batch-closing:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(251, 191, 36, 0.4) !important;
}

.scholarship-announcement {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: #dc2626 !important;
}

/* Hero Image - Remove box/shadow */
.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Sidebar - Our Leading Offerings */
.program-sidebar {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.program-sidebar h3 {
    color: var(--black) !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    margin-bottom: 20px;
}

.program-icon-item p {
    color: var(--black) !important;
    font-weight: 500 !important;
    font-size: 14px !important;
}

.icon-circle {
    background: var(--gradient-blue) !important;
    color: var(--white) !important;
}

/* === STATS SECTION === */
.stats-section {
    padding: 60px 0 !important;
    background: linear-gradient(180deg, #dbeafe 0%, #ffffff 100%) !important;
}

.stat-box {
    background: var(--white) !important;
    border-radius: 12px !important;
    padding: 30px 20px !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid #e5e7eb;
    transition: all 0.3s !important;
}

.stat-box:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15) !important;
}

.stat-icon {
    font-size: 2.5rem !important;
    color: var(--primary-blue) !important;
}

.stat-box h3 {
    font-size: 1.8rem !important;
    color: var(--black) !important;
    font-weight: 700 !important;
}

.stat-box p {
    font-size: 14px !important;
    color: var(--gray) !important;
}

/* === ALUMNI SECTION === */
.alumni-section {
    padding: 60px 0 !important;
    background: var(--white) !important;
}

.alumni-section h2 {
    font-size: 2.2rem !important;
    color: var(--black) !important;
    font-weight: 700 !important;
}

.section-subtitle {
    color: var(--gray) !important;
    font-size: 1.1rem !important;
}

.logo-item {
    background: var(--white) !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

.logo-item:hover {
    border-color: var(--primary-blue) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15) !important;
}

/* === WHO WE ARE SECTION === */
.who-we-are-section {
    padding: 80px 0 !important;
    background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%) !important;
}

.who-we-are-section h2 {
    font-size: 2.5rem !important;
    color: var(--black) !important;
    font-weight: 700 !important;
}

.who-we-are-section .section-subtitle {
    color: var(--gray) !important;
}

.who-content p {
    color: var(--dark-gray) !important;
    font-size: 1.05rem !important;
}

.who-highlight-card {
    background: var(--white) !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 30px 25px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.3s !important;
}

.who-highlight-card:hover {
    border-color: var(--primary-blue) !important;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.12) !important;
    transform: translateY(-3px) !important;
}

.who-icon {
    font-size: 2.5rem !important;
    color: var(--primary-blue) !important;
}

.who-highlight-card h3 {
    color: var(--black) !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
}

.who-highlight-card p {
    color: var(--gray) !important;
}

/* === DREAMS SECTION === */
.dreams-section {
    padding: 80px 0 !important;
    background: var(--white) !important;
}

.dreams-content h2 {
    font-size: 2.5rem !important;
    color: var(--black) !important;
    font-weight: 700 !important;
}

.dreams-list li {
    color: var(--dark-gray) !important;
    font-size: 1.05rem !important;
}

.dreams-list li i {
    color: var(--primary-blue) !important;
}

.btn-apply-yellow {
    background: var(--yellow) !important;
    color: var(--black) !important;
    font-weight: 600 !important;
    padding: 14px 40px !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3) !important;
}

.certificate-frame {
    background: linear-gradient(135deg, #f0f9ff 0%, #dbeafe 100%) !important;
    border-radius: 12px !important;
    padding: 30px !important;
    border: 1px solid #bfdbfe;
}

/* === DIFFERENT SECTION === */
.different-section {
    padding: 80px 0 !important;
    background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%) !important;
}

.different-section h2 {
    font-size: 2.5rem !important;
    color: var(--black) !important;
    font-weight: 700 !important;
}

.different-card {
    background: var(--white) !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 30px 25px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.3s !important;
}

.different-card:hover {
    border-color: var(--primary-blue) !important;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.12) !important;
    transform: translateY(-3px) !important;
}

.different-icon {
    font-size: 2.5rem !important;
    color: var(--primary-blue) !important;
}

.different-card h3 {
    color: var(--black) !important;
    font-weight: 700 !important;
}

.different-card p {
    color: var(--gray) !important;
}

/* === PROGRAMS SECTION === */
.programs-section {
    padding: 80px 0 !important;
    background: var(--white) !important;
}

.section-title {
    font-size: 2.5rem !important;
    color: var(--black) !important;
    font-weight: 700 !important;
}

.tab-btn {
    background: var(--white) !important;
    border: 2px solid var(--primary-blue) !important;
    color: var(--black) !important;
    font-weight: 600 !important;
    padding: 12px 30px !important;
    border-radius: 8px !important;
}

.tab-btn.active {
    background: var(--gradient-blue) !important;
    color: var(--white) !important;
}

.program-card {
    background: var(--white) !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 30px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.3s !important;
}

.program-card:hover {
    border-color: var(--primary-blue) !important;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.12) !important;
    transform: translateY(-3px) !important;
}

.program-header h3 {
    color: var(--black) !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
}

.program-desc {
    color: var(--gray) !important;
}

.program-features li {
    color: var(--dark-gray) !important;
}

.program-features li i {
    color: var(--primary-blue) !important;
}

.btn-enquire {
    background: var(--yellow) !important;
    color: var(--black) !important;
    font-weight: 600 !important;
    padding: 12px 30px !important;
    border-radius: 8px !important;
    box-shadow: 0 3px 10px rgba(251, 191, 36, 0.3) !important;
}

/* === CTA SECTION === */
.cta-section {
    padding: 80px 0 !important;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%) !important;
}

.cta-section h2 {
    font-size: 2.8rem !important;
    color: var(--black) !important;
    font-weight: 700 !important;
}

.cta-section p {
    color: var(--dark-gray) !important;
    font-size: 1.2rem !important;
}

.btn-cta {
    background: var(--gradient-blue) !important;
    color: var(--white) !important;
    font-weight: 700 !important;
    padding: 16px 50px !important;
    font-size: 1.2rem !important;
    border-radius: 8px !important;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4) !important;
}

/* === FOOTER === */
.footer {
    background: linear-gradient(180deg, #1e3a8a 0%, #1e40af 100%) !important;
    padding: 60px 0 20px !important;
}

.footer-col h4 {
    color: var(--white) !important;
    font-weight: 700 !important;
}

.footer-col p,
.footer-col ul li a {
    color: rgba(255, 255, 255, 0.85) !important;
}

.contact-info li {
    color: rgba(255, 255, 255, 0.85) !important;
}

.footer-bottom {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 1.8rem !important;
    }
    
    .section-title,
    .who-we-are-section h2,
    .different-section h2,
    .dreams-content h2,
    .cta-section h2 {
        font-size: 1.8rem !important;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn-enroll,
    .btn-batch-closing {
        width: 100%;
    }
}

/* === SPACING FIXES === */
.header-content {
    height: 60px !important;
    padding: 0 30px !important;
}

.hero-section {
    padding: 40px 0 60px !important;
}

.stats-section,
.alumni-section,
.who-we-are-section,
.dreams-section,
.different-section,
.programs-section {
    padding: 50px 0 !important;
}

/* === CTA SECTION - COMPLETE REDESIGN === */
.cta-section {
    padding: 0 !important;
    background: none !important;
    margin: 0 !important;
}

/* Top CTA Area */
.cta-content {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%) !important;
    padding: 60px 0 !important;
    text-align: center;
}

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

.cta-section p {
    color: var(--dark-gray) !important;
    font-size: 1.15rem !important;
    margin-bottom: 30px !important;
}

.btn-cta {
    background: var(--primary-blue) !important;
    color: var(--white) !important;
    font-weight: 600 !important;
    padding: 14px 45px !important;
    font-size: 1.1rem !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
}

.btn-cta:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4) !important;
}

/* === FOOTER - SEAMLESS BLEND === */
.footer {
    background: linear-gradient(180deg, #1e3a8a 0%, #1e40af 100%) !important;
    padding: 50px 0 20px !important;
    margin-top: 0 !important;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-col h4 {
    color: var(--white) !important;
    font-weight: 700 !important;
    font-size: 1.2rem !important;
    margin-bottom: 20px !important;
}

.footer-col p,
.footer-col ul li a {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 15px !important;
}

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

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

.footer-col ul li a {
    text-decoration: none;
    transition: all 0.3s;
}

.footer-col ul li a:hover {
    color: var(--yellow) !important;
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9) !important;
}

.contact-info li i {
    color: var(--yellow) !important;
    font-size: 18px;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px;
}

/* === SCROLL TO TOP BUTTON === */
.scroll-to-top {
    position: fixed !important;
    right: 25px !important;
    bottom: 100px !important;
    width: 50px !important;
    height: 50px !important;
    background: var(--primary-blue) !important;
    color: var(--white) !important;
    border: none !important;
    border-radius: 50% !important;
    font-size: 20px !important;
    cursor: pointer !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4) !important;
    transition: all 0.3s !important;
    z-index: 997 !important;
}

.scroll-to-top.visible {
    display: flex !important;
}

.scroll-to-top:hover {
    background: var(--light-blue) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.5) !important;
}

/* === FLOATING BUTTONS === */
.floating-buttons {
    position: fixed !important;
    right: 25px !important;
    bottom: 25px !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 12px !important;
    z-index: 998 !important;
}

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

.phone-btn {
    background: var(--primary-blue) !important;
}

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

.float-btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3) !important;
}

/* === REDUCE MARGINS BETWEEN SECTIONS === */
section {
    margin: 0 !important;
}

.container {
    padding: 0 20px;
}

/* === MOBILE RESPONSIVE === */
@media (max-width: 768px) {
    .header-content {
        height: 60px !important;
        padding: 0 15px !important;
    }
    
    .hero-section {
        padding: 30px 0 40px !important;
    }
    
    .stats-section,
    .alumni-section,
    .who-we-are-section,
    .dreams-section,
    .different-section,
    .programs-section {
        padding: 35px 0 !important;
    }
    
    .cta-content {
        padding: 40px 20px !important;
    }
    
    .cta-section h2 {
        font-size: 1.8rem !important;
    }
    
    .footer {
        padding: 40px 0 20px !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .scroll-to-top {
        right: 15px !important;
        bottom: 80px !important;
        width: 45px !important;
        height: 45px !important;
        font-size: 18px !important;
    }
    
    .floating-buttons {
        right: 15px !important;
        bottom: 20px !important;
        gap: 10px !important;
    }
    
    .float-btn {
        width: 45px !important;
        height: 45px !important;
        font-size: 20px !important;
    }
}

/* === FINAL FIXES - SPACING & BUTTON POSITIONS === */

/* Reduce header to hero spacing */
.hero-section {
    margin-top: 60px !important;
    padding: 20px 0 50px !important;
}

/* Header logo - larger for new design */
.logo img {
    height: 35px !important;
}

/* === FIXED FLOATING BUTTONS - PROPER STACKING === */
.scroll-to-top {
    position: fixed !important;
    right: 25px !important;
    bottom: 170px !important;
    width: 55px !important;
    height: 55px !important;
    background: var(--primary-blue) !important;
    color: var(--white) !important;
    border: none !important;
    border-radius: 50% !important;
    font-size: 22px !important;
    cursor: pointer !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4) !important;
    transition: all 0.3s !important;
    z-index: 997 !important;
}

.scroll-to-top.visible {
    display: flex !important;
}

.scroll-to-top:hover {
    background: var(--light-blue) !important;
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5) !important;
}

.floating-buttons {
    position: fixed !important;
    right: 25px !important;
    bottom: 25px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    z-index: 998 !important;
}

.float-btn {
    width: 55px !important;
    height: 55px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 24px !important;
    color: var(--white) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25) !important;
    transition: all 0.3s !important;
    text-decoration: none !important;
}

.phone-btn {
    background: #2563eb !important;
}

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

.float-btn:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35) !important;
}

/* Button Order from bottom to top:
   1. WhatsApp (bottom)
   2. Phone (above WhatsApp)
   3. Scroll to Top (above Phone) */

/* === MOBILE RESPONSIVE === */
@media (max-width: 768px) {
    .hero-section {
        margin-top: 60px !important;
        padding: 15px 0 40px !important;
    }
    
    .logo img {
        height: 32px !important;
    }
    
    .scroll-to-top {
        right: 20px !important;
        bottom: 160px !important;
        width: 50px !important;
        height: 50px !important;
        font-size: 20px !important;
    }
    
    .floating-buttons {
        right: 20px !important;
        bottom: 20px !important;
        gap: 12px !important;
    }
    
    .float-btn {
        width: 50px !important;
        height: 50px !important;
        font-size: 22px !important;
    }
}

/* Remove top spacing on mobile */
@media (max-width: 576px) {
    .hero-section {
        padding: 10px 0 30px !important;
    }
}
