:root {
            --primary-color: #1e5a8e;
            --secondary-color: #d4a574;
            --accent-color: #f8f9fa;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333;
        }

        /* Loading Screen */
        .loading-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: white;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
        }

        .loading-screen.hide {
            opacity: 0;
            visibility: hidden;
        }

/* Prevent page scroll while loading screen is active */
html.no-scroll,
body.no-scroll {
    overflow: hidden;
    touch-action: none;
}

        .loading-svg {
            width: 80%;
            max-width: 800px;
            height: auto;
        }

        .drawing-text {
            font-size: 72px;
            font-weight: 700;
            fill: none;
            stroke: #3A7176;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
            letter-spacing: 2px;
            animation: drawStroke 3s alternate infinite;
        }

        @keyframes drawStroke {
            0% {
                fill: transparent;
                stroke:#83643C;
                stroke-width: 3;
                stroke-dasharray: 0 32%;
                stroke-dashoffset: 25%;
            }
            50% {
                fill: transparent;
                stroke:#83643C;
                stroke-width: 3;
            }
            80%,100% {
                fill: #3B7277;
                stroke: transparent;
                stroke-width: 0;
                stroke-dasharray: 32% 0;
                stroke-dashoffset: -25%;
            }
        }

                /* Small-screen loader: stack words and increase size */
        @media (max-width: 600px) {
            .loading-svg {
                width: 95%;
                max-width: none;
                height: auto;
            }

            .drawing-text {
                font-size: 120px;
                stroke-width: 4;
                letter-spacing: 3px;
                font-weight: 800;
                
            }

        }

        /* Navbar Styling */
        .navbar {
            background-color: var(--primary-color) !important;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        .navbar-brand {
            font-weight: 700;
            font-size: 1.5rem;
            color: white !important;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .nav-link {
            color: rgba(255,255,255,0.8) !important;
            font-weight: 500;
            transition: color 0.3s;
        }

        .nav-link:hover {
            color: var(--secondary-color) !important;
        }

        /* Hero Section */
        .hero-section {
            background: linear-gradient(135deg, var(--primary-color) 0%, #2c6ba8 100%);
            color: white;
            padding: 80px 0;
            text-align: center;
            overflow-x: hidden;
            min-height: 70vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        @media (max-width: 768px) {
            .hero-section {
                padding: 40px 0;
                min-height: auto;
            }
        }

        .hero-content {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .hero-logo {
            height: 250px;
            width: auto;
            margin-bottom: 30px;
            animation: logoPulse 2s ease-in-out;
        }

        .hero-section h1 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 20px;
        }

        .hero-section p {
            font-size: 1.2rem;
            margin-bottom: 30px;
            opacity: 0.95;
        }

        @media (max-width: 768px) {
            .hero-logo {
                height: 200px;
            }
        }

        /* Image Gallery Section */
        .gallery-section {
            padding: 60px 0;
            background-color: var(--accent-color);
            overflow: hidden;
        }

        .gallery-section .col-md-6 {
            overflow: hidden;
        }

        .gallery-section img {
            width: 100%;
            max-width: 500px;
            height: auto;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s;
            margin: 0 auto;
            display: block;
        }

        .gallery-section img:hover {
            transform: translateY(-5px);
        }

        /* Content Section */
        .content-section {
            padding: 60px 0;
        }

        .section-title {
            color: var(--primary-color);
            font-weight: 700;
            font-size: 2rem;
            margin-bottom: 30px;
            border-bottom: 3px solid var(--secondary-color);
            padding-bottom: 15px;
            display: inline-block;
        }

        .subsection-title {
            color: var(--primary-color);
            font-weight: 700;
            font-size: 1.5rem;
            margin-top: 40px;
            margin-bottom: 20px;
        }

        .content-section p {
            margin-bottom: 15px;
            line-height: 1.8;
        }

        .content-section ul {
            margin-left: 20px;
            margin-bottom: 20px;
        }

        .content-section li {
            margin-bottom: 12px;
            line-height: 1.8;
        }

        /* Certification Levels */
        .cert-level {
            background-color: #f0f0f0;
            padding: 15px;
            margin: 10px 0;
            border-left: 4px solid var(--secondary-color);
            border-radius: 4px;
        }

        /* Footer */
        footer {
            background-color: var(--primary-color);
            color: white;
            padding: 40px 0;
            text-align: center;
            margin-top: 60px;
        }

        footer p {
            margin-bottom: 10px;
        }

        .footer-links {
            margin-top: 20px;
        }

        .footer-links a {
            color: var(--secondary-color);
            text-decoration: none;
            margin: 0 15px;
        }

        .footer-links a:hover {
            text-decoration: underline;
        }

        /* Logo emphasis */
        .navbar-brand .brand-text {
            font-weight: 800;
            font-size: 1.6rem;
            color: #fff;
            text-shadow: 0 2px 6px rgba(0,0,0,0.25);
        }

        /* Subtle pulsing highlight for attention (only on load, not continuous)
           We trigger via class if needed in future. */
        @keyframes logoPulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.04); }
            100% { transform: scale(1); }
        }

        /* Floating action buttons (WhatsApp + Phone) */
        .floating-actions {
            position: fixed;
            right: 16px;
            bottom: 20px;
            display: flex;
            flex-direction: column;
            gap: 12px;
            z-index: 99999;
            opacity: 0;
            transform: translateY(10px);
            pointer-events: none;
            transition: opacity .35s ease, transform .35s ease;
        }

        .floating-actions.show {
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }

        .floating-btn {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            box-shadow: 0 6px 18px rgba(0,0,0,0.18);
            transition: transform 0.15s ease, box-shadow 0.15s ease;
        }

        .floating-btn:active,
        .floating-btn:focus,
        .floating-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 24px rgba(0,0,0,0.22);
        }

        .floating-btn svg {
            width: 22px;
            height: 22px;
        }

        /* WhatsApp: rounded-square app-like style */
        .floating-btn.whatsapp { background: #25D366; border-radius: 12px; }
        .floating-btn.phone { background: var(--primary-color); }

        @media (max-width: 420px) {
            .floating-actions { right: 12px; bottom: 14px; }
            .floating-btn { width: 44px; height: 44px; }
            .floating-btn svg { width: 18px; height: 18px; }
        }

        /* Reduce modal / popup height and enable internal scrolling when needed */
        #courseModal .modal-dialog {
            max-width: 760px; /* keep modal reasonably wide on desktop */
        }
        #courseModal .modal-content {
            max-height: 90vh; /* limit modal height to 70% of viewport */
            overflow-y: auto; /* scroll inside modal if content is taller */
        }

        @media (max-width: 576px) {
            #courseModal .modal-content {
                max-height: 90vh; /* allow more height on very small screens */
            }
        }

        /* Make the hero CTA match the hero background colors */
        .hero-section .btn {
            background: linear-gradient(135deg, var(--primary-color) 0%, #022c55 100%) !important;
            border-color: rgba(0,0,0,0.08) !important;
            color: #ffffff !important;
            box-shadow: 0 8px 20px rgba(30,90,142,0.18);
        }
        .hero-section .btn:hover,
        .hero-section .btn:focus {
            filter: brightness(0.95);
        }



