:root {
    --primary: #003366; /* Main Dark Blue */
    --secondary: #f4f7f9;
    --accent: #ff9900;
    --text-main: #333333;
    --text-muted: #666666;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.05);
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 { font-weight: 700; color: var(--primary); }
.text-accent { color: var(--accent) !important; }

/* Top Bar & Footer - Consistent Dark Blue */
.bg-primary, 
footer, 
.top-bar {
    background-color: var(--primary) !important;
}

.top-bar small {
    color: rgba(255,255,255,0.9) !important;
}

/* Navbar */
.navbar { padding: 10px 0; transition: 0.3s; }
.nav-link { font-weight: 600; color: var(--primary) !important; margin: 0 15px; text-transform: uppercase; font-size: 0.9rem; }
.btn-nav { background: var(--primary); color: white !important; padding: 10px 20px; border-radius: 5px; transition: 0.3s; border: none; text-decoration: none; display: inline-block; }
.btn-nav:hover { background: var(--accent); transform: translateY(-2px); color: white !important; }

/* Logo Resizing */
.navbar-brand img {
    height: 70px; /* Resized as requested */
    width: auto;
    object-fit: contain;
}

/* Hero Sections */
.hero {
    background: linear-gradient(rgba(0,51,102,0.7), rgba(0,51,102,0.7)), url('https://images.unsplash.com/photo-1590611380053-da6447011f45?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    padding: 120px 0 100px;
    color: white;
}

.hero-small {
    background-color: var(--primary) !important;
    padding: 80px 0;
    color: var(--white) !important;
}

.hero-small h1, 
.hero-small .display-4, 
.hero-small p, 
.hero-small .lead {
    color: var(--white) !important;
}

/* Dropdown Menu - Open on Hover */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
    }
}

.dropdown-menu {
    border: none;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
}

.dropdown-item {
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 8px;
    transition: 0.3s;
    color: var(--primary);
}

.dropdown-item:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Service Boxes */
.service-box {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: 0.4s;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}
.service-box:hover { transform: translateY(-8px); border-color: var(--accent); }
.service-icon { font-size: 2.5rem; color: var(--accent); margin-bottom: 20px; }

/* WhatsApp Float */
.wa-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 1000;
    text-decoration: none;
}

.bg-secondary { background-color: var(--secondary) !important; }

/* Modern Stats Section - Dark Blue Theme */
.modern-stats-section {
    background: linear-gradient(135deg, #002244 0%, var(--primary) 100%);
    position: relative;
    overflow: hidden;
}

.modern-stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.modern-stats-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 153, 0, 0.05) 0%, transparent 70%);
}

.modern-stat-card {
    background: rgba(0, 51, 102, 0.85);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 153, 0, 0.2);
    text-align: center;
    height: 100%;
    opacity: 0;
    transform: translateY(30px);
    backdrop-filter: blur(10px);
}

.modern-stat-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.modern-stat-card.completed {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 153, 0, 0.4);
}

.modern-stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 153, 0, 0.6);
    background: rgba(0, 51, 102, 0.95);
}

.stat-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 153, 0, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
}

.modern-stat-card:hover .stat-glow {
    opacity: 1;
}

.stat-content {
    position: relative;
    z-index: 2;
}

.stat-icon-wrapper {
    margin-bottom: 25px;
}

.stat-icon {
    font-size: 3.5rem !important;
    color: var(--accent) !important;
    display: inline-block;
    transition: transform 0.5s ease;
    filter: drop-shadow(0 0 10px rgba(255, 153, 0, 0.3));
}

.modern-stat-card.animated .stat-icon {
    transform: scale(1.1);
}

.modern-stat-card.completed .stat-icon {
    transform: scale(1);
}

.stat-text {
    margin-bottom: 25px;
}

.stat-number {
    font-size: 3.8rem !important;
    font-weight: 800 !important;
    display: block;
    line-height: 1;
    margin-bottom: 10px;
    color: var(--accent) !important;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -1px;
    text-shadow: 0 0 20px rgba(255, 153, 0, 0.3);
}

.stat-label {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: #ffcc66 !important;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.stat-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), #ffcc66);
    border-radius: 3px;
    transition: width 2.5s ease-in-out;
    box-shadow: 0 0 10px rgba(255, 153, 0, 0.5);
}

.modern-stat-card.animated .stat-progress-fill {
    width: 100%;
}

/* Individual card accent colors */
.stat-card-1 .stat-progress-fill {
    background: linear-gradient(90deg, var(--accent), #ff9900);
}

.stat-card-2 .stat-progress-fill {
    background: linear-gradient(90deg, #ff9900, #ffcc66);
}

.stat-card-3 .stat-progress-fill {
    background: linear-gradient(90deg, #ffcc66, #ffdd99);
}

.stat-card-4 .stat-progress-fill {
    background: linear-gradient(90deg, #ffdd99, #ffeecc);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modern-stat-card {
        padding: 20px 20px;
    }
    
    .stat-number {
        font-size: 3rem !important;
    }
    
    .stat-icon {
        font-size: 2.8rem !important;
    }
    
    .stat-label {
        font-size: 1rem !important;
    }
    
    .modern-stats-section .display-5 {
        font-size: 2.5rem !important;
    }
}

/* Animation keyframes */
@keyframes statPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.modern-stat-card.animated {
    animation: statPulse 0.6s ease-out;
}

@keyframes glowPulse {
    0% { box-shadow: 0 0 20px rgba(255, 153, 0, 0.3); }
    50% { box-shadow: 0 0 30px rgba(255, 153, 0, 0.5); }
    100% { box-shadow: 0 0 20px rgba(255, 153, 0, 0.3); }
}

.modern-stat-card.completed {
    animation: glowPulse 2s infinite;
}

/* Remove old stats section styles if they exist */
.stats-section {
    display: none;
}

