/* Color Variables */
:root {
    --primary-blue: #00AEEF;
    --secondary-green: #8DC63F;
    --accent-yellow: #FBB040;
    --dark-text: #333;
    --light-bg: #f8f9fa;
}

body {
    background-color: var(--light-bg);
    color: var(--dark-text);
    overflow-x: hidden;
}

/* Header & Nav */
.top-bar {
    background: var(--primary-blue);
    color: white;
    font-size: 14px;
    padding: 8px 0;
}

.navbar {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.navbar-brand img {
    height: 70px;
    transition: transform 0.3s;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 600;
    color: var(--dark-text) !important;
    margin: 0 10px;
}

.nav-link:hover {
    color: var(--primary-blue) !important;
}



/*hero*/

/* Hero Section */
.hero-section {
    min-height: 85vh; /* Larger interactive height on desktop */
    background: url('../img/banner.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.7); /* Slightly darker to ensure maximum readability of white text */
    width: 100%;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

/* Responsive Typography */
.hero-title {
    font-size: 2.5rem; /* Desktop size */
    font-weight: 800;
    line-height: 1.25;
}

.hero-lead {
    font-size: 1rem; /* Desktop size */
    max-width: 800px; /* Keeps the line length optimal for reading */
    line-height: 1.6;
}

.typed-word {
    color: var(--accent-yellow, #FBB040);
    border-right: 3px solid var(--secondary-green, #8DC63F);
    padding-right: 5px;
    animation: blink 0.7s infinite;
    display: inline-block;
}

/* Typing cursor blinking */
@keyframes blink {
    0%, 100% { border-color: transparent; }
    50% { border-color: var(--secondary-green, #8DC63F); }
}

/* Button Responsiveness Layout (Pill styling) */
.hero-btns-container .btn {
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
}

.hero-btns-container .btn:hover {
    transform: translateY(-3px);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Tablets / Medium Devices (992px and down) */
@media (max-width: 991.98px) {
    .hero-section, .hero-overlay {
        min-height: 70vh; /* Scaled down heights so page looks balanced */
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-lead {
        font-size: 1.1rem;
        max-width: 90%;
    }
}

/* Mobile Devices (768px and down) */
@media (max-width: 767.98px) {
    .hero-section, .hero-overlay {
        min-height: auto; /* Fallback to natural height with padding on mobile to prevent overflow */
        padding: 2px 0; /* Creates breathing room top/bottom */
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-lead {
        font-size: 1rem;
        margin-top: 15px !important;
        margin-bottom: 25px !important;
    }
}

/* Extra Small Phones (576px and down) */
@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.85rem;
    }
    /* Buttons become block-style full width on tiny screens */
    .hero-btns-container {
        width: 100%;
        max-width: 290px;
        margin: 0 auto;
    }
    .hero-btns-container .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
        width: 100%;
    }
}

/*hero*/


/* Custom Buttons */
.btn-m-primary {
    background: var(--primary-blue);
    border: none;
    padding: 12px 30px;
    color: white;
    font-weight: bold;
    border-radius: 50px;
}

.btn-m-secondary {
    background: var(--secondary-green);
    border: none;
    padding: 12px 30px;
    color: white;
    font-weight: bold;
    border-radius: 50px;
}

/*counter*/
/* Counters Section Custom Styles */
.backdrop-blur {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.counter-card {
    height: 100%;
}

.counter-card:hover {
    transform: translateY(-8px);
    background-color: rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.counter-icon-box {
    width: 65px;
    height: 65px;
    transition: transform 0.4s ease;
}

.counter-card:hover .counter-icon-box {
    transform: rotateY(360deg);
}

.fw-extrabold {
    font-weight: 800 !important;
}

.tracking-wider {
    letter-spacing: 1px;
}
/*counter*/
/* About Section Utilities */
.tracking-wider {
    letter-spacing: 2px;
}

.border-start {
    border-left: 5px solid !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0,0,0,.1) !important;
}



/* Notifications Styling */
#notifications .bg-primary-subtle {
    background-color: rgba(0, 174, 239, 0.1) !important;
}
#notifications .text-primary {
    color: var(--primary-blue) !important;
}
#notifications .bg-success-subtle {
    background-color: rgba(141, 198, 63, 0.1) !important;
}
#notifications .text-success {
    color: var(--secondary-green) !important;
}
#notifications .bg-warning-subtle {
    background-color: rgba(251, 176, 64, 0.1) !important;
}
#notifications .text-warning {
    color: var(--accent-yellow) !important;
}

.notification-item {
    transition: transform 0.2s ease-in-out;
}
.notification-item:hover {
    transform: translateX(5px);
}

.btn-link {
    transition: color 0.3s;
}
.btn-link:hover {
    color: var(--primary-blue) !important;
}


.btn-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}
.btn-social:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    opacity: 0.9;
}





/* Footer */
footer {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-col h4 {
    color: var(--accent-yellow);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-green);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    margin-top: 40px;
    font-size: 14px;
    color: #bbb;
}


