/* WCS Technology WebGuru - Main Frontend Stylesheet */
:root {
    --primary-blue: #0d6efd;
    --primary-dark: #0a4da2;
    --accent-orange: #fd7e14;
    --dark-navy: #0b132b;
    --light-gray: #f8f9fa;
    --text-dark: #212529;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    background-color: #f4f6f9;
    overflow-x: hidden;
}

/* Top Header Bar */
.top-bar {
    background-color: var(--dark-navy);
    color: #ffffff;
    font-size: 0.875rem;
    padding: 8px 0;
}

.top-bar a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.3s;
}

.top-bar a:hover {
    color: var(--accent-orange);
}

/* Navbar */
.navbar-brand-custom {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.navbar-brand-custom img,
.navbar-brand-custom i {
    max-height: 45px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: #1c2541;
    font-size: 0.85rem;
    padding: 0.35rem 0.45rem !important;
    transition: all 0.3s ease;
}

.navbar-btn-group .btn {
    font-size: 0.82rem;
    padding: 0.4rem 0.85rem;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

@media (min-width: 992px) and (max-width: 1399px) {
    .navbar-brand-custom {
        font-size: 1.25rem;
    }
    .navbar-brand-custom img {
        max-height: 35px;
    }
    .navbar-nav .nav-link {
        font-size: 0.8rem;
        padding: 0.3rem 0.35rem !important;
    }
    .navbar-btn-group .btn {
        font-size: 0.75rem;
        padding: 0.35rem 0.65rem;
    }
}

.navbar-brand-custom span {
    color: var(--accent-orange);
}

.tagline-badge {
    font-size: 0.8rem;
    background-color: #fd7e14;
    color: #ffffff !important;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: inline-block;
    box-shadow: 0 2px 6px rgba(253, 126, 20, 0.3);
    margin-top: 2px;
}

.hero-tagline-glow {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffc107 !important;
    background: rgba(11, 19, 43, 0.85);
    padding: 8px 22px;
    border-radius: 30px;
    border: 2px solid #ffc107;
    display: inline-block;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* Floating Quick Inquiry Button */
.floating-inquiry-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1040;
    background: linear-gradient(135deg, #198754 0%, #20c997 100%);
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 8px 25px rgba(25, 135, 84, 0.5);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.floating-inquiry-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 30px rgba(25, 135, 84, 0.7);
    color: #ffffff !important;
}

body.modal-open .floating-inquiry-btn {
    display: none !important;
}

.hero-slider .carousel-item {
    height: 520px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
    background-color: #0b132b;
    position: relative;
}

.hero-slider .carousel-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(11, 19, 43, 0.98) 40%, rgba(11, 19, 43, 0.7) 65%, rgba(11, 19, 43, 0.2) 100%);
    display: flex;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-in-out;
}

.hero-content p {
    font-size: 1.25rem;
    color: #e2e8f0;
    margin-bottom: 1.5rem;
}

/* Mobile Responsiveness Improvements */
@media (max-width: 991.98px) {
    .hero-slider .carousel-item {
        height: auto;
        min-height: 480px;
        display: flex;
        align-items: stretch;
        background-size: cover !important;
        background-position: center center !important;
    }
    .hero-slider .carousel-overlay {
        position: relative;
        min-height: 480px;
        padding: 50px 0;
        width: 100%;
        background: linear-gradient(135deg, rgba(11, 19, 43, 0.92) 0%, rgba(13, 110, 253, 0.7) 100%) !important;
    }
    .hero-content h1 {
        font-size: 2.2rem !important;
    }
    .hero-tagline-glow {
        font-size: 1.1rem;
        padding: 6px 14px;
        margin-bottom: 0.75rem;
    }
    .hero-content p {
        font-size: 0.95rem !important;
        margin-bottom: 1rem;
    }
    .hero-content .btn-lg {
        font-size: 0.9rem;
        padding: 8px 18px;
    }
    .navbar-btn-group {
        flex-direction: column;
        align-items: stretch !important;
        width: 100%;
        margin-top: 12px;
        gap: 8px !important;
    }
    .navbar-btn-group .btn, 
    .navbar-btn-group a {
        width: 100% !important;
        justify-content: center;
        text-align: center;
        padding: 10px 15px !important;
    }
    .btn-lg {
        width: 100% !important;
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
        white-space: normal !important;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand-custom {
        font-size: 1.15rem;
        gap: 6px;
    }
    .navbar-brand-custom img {
        max-height: 32px;
    }
    .tagline-badge {
        font-size: 0.65rem;
        padding: 2px 6px;
        display: inline-block !important;
    }
    .floating-inquiry-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px;
        border-radius: 50%;
        width: 52px;
        height: 52px;
        justify-content: center;
        box-shadow: 0 4px 15px rgba(25, 135, 84, 0.6);
    }
    .floating-inquiry-btn span {
        display: none;
    }
    .floating-inquiry-btn i {
        font-size: 1.2rem;
    }
    .modal-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .modal-footer .btn {
        width: 100% !important;
        margin: 0 !important;
        justify-content: center;
        display: inline-flex;
    }
}

/* Cards & Grid */
.custom-card {
    background: #ffffff;
    border: none;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Counter Cards */
.counter-box {
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: var(--card-shadow);
    border-bottom: 4px solid var(--primary-blue);
}

.counter-box h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
}

/* Ticker Announcement */
.ticker-wrap {
    background: #fff;
    border-left: 5px solid var(--accent-orange);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 10px 15px;
}

/* Course Badge */
.course-badge {
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--primary-blue);
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
}

/* Footer */
.main-footer {
    background-color: var(--dark-navy);
    color: #a0aec0;
    padding-top: 60px;
    padding-bottom: 30px;
}

.main-footer h5 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 20px;
}

.main-footer a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.2s;
}

.main-footer a:hover {
    color: var(--accent-orange);
}

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

/* Print CSS for Marksheets & Certificates */
@media print {
    .no-print, header, footer, .top-bar, .navbar, .btn {
        display: none !important;
    }
    body {
        background: #fff !important;
        color: #000 !important;
    }
    .print-container {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
    }
}
