/* -------------------------------------------------------------------------- */
/* 1. VARIABLES                               */
/* -------------------------------------------------------------------------- */
:root {
    /* Main Brand Colors */
    --primary-color: #0d6efd;       /* Bright Blue */
    --primary-dark: #0a58ca;        /* Darker Blue */
    --secondary-color: #ffc107;     /* Bright Yellow/Orange */
    --text-dark: #212529;
    --text-muted: #6c757d;
    --light-bg: #f8f9fa;
    
    /* Functional Colors */
    --success-color: #198754;
    --danger-color: #dc3545;
    --info-color: #0dcaf0;
    
    /* Fonts */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Spacing & Borders */
    --border-radius-sm: 5px;
    --border-radius-md: 10px;
    --border-radius-lg: 20px;
}

/* -------------------------------------------------------------------------- */
/* 2. GLOBAL RESET                              */
/* -------------------------------------------------------------------------- */
body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}
h1 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #ffffff;
}
h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    padding-left: 0;
    list-style: none;
}

/* Section Padding */
.section-padding {
    padding: 60px 0;
}

/* -------------------------------------------------------------------------- */
/* 3. HEADER & TOP BAR                             */
/* -------------------------------------------------------------------------- */
.top-bar {
    background: #111;
    color: #ddd;
    font-size: 14px;
    padding: 8px 0;
}

.top-bar a {
    color: #ddd;
}

.top-bar a:hover {
    color: var(--secondary-color);
}

.track-btn {
    background: var(--primary-color);
    color: #fff !important;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.main-header {
    background: #fff;
    transition: all 0.3s;
}

.navbar-brand img {
    max-height: 50px;
}

.nav-link {
    color: #333 !important;
    font-weight: 600;
    padding: 10px 15px !important;
    font-family: var(--font-heading);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

.dropdown-menu {
    border-top: 3px solid var(--primary-color);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.dropdown-item {
    padding: 10px 20px;
    font-weight: 500;
}

.dropdown-item:hover {
    background: var(--light-bg);
    color: var(--primary-color);
    padding-left: 25px; /* Slide effect */
    transition: 0.3s;
}

/* CTA Button in Header */
.btn-main {
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
    padding: 8px 25px;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.4);
    transition: all 0.3s;
}

.btn-main:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
}

/* Pulse Animation for Call Button */
.pulse-effect {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(13, 110, 253, 0); }
    100% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0); }
}

/* -------------------------------------------------------------------------- */
/* 4. HERO SECTION                              */
/* -------------------------------------------------------------------------- */
.hero-section {
    background: url('../assets/images/hero-bg.jpg') center/cover no-repeat;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px; /* Offset for header */
}

/* If no image exists, fallback gradient */
.hero-section {
    background-color: #333; 
}

/* Colorful Overlay */
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(11, 35, 65, 0.9) 0%, rgba(13, 110, 253, 0.8) 100%);
    z-index: 0;
}

.hero-text h1 {
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Hero Feature Tags */
.feature-tag {
    background: rgba(255,255,255,0.15);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
}

/* -------------------------------------------------------------------------- */
/* 5. CUSTOM UTILITIES                            */
/* -------------------------------------------------------------------------- */
/* Light Backgrounds for Icons */
.bg-primary-light { background-color: rgba(13, 110, 253, 0.1); }
.bg-secondary-light { background-color: rgba(255, 193, 7, 0.1); }
.bg-success-light { background-color: rgba(25, 135, 84, 0.1); }
.bg-danger-light { background-color: rgba(220, 53, 69, 0.1); }
.bg-warning-light { background-color: rgba(255, 193, 7, 0.15); }
.bg-info-light { background-color: rgba(13, 202, 240, 0.1); }

/* Hover Effects */
.hover-up {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-up:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

/* Text Highlight */
.text-highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

/* Separator Line */
.separator-line {
    border-radius: 2px;
}

/* -------------------------------------------------------------------------- */
/* 6. SERVICES CARDS                            */
/* -------------------------------------------------------------------------- */
.service-card {
    transition: all 0.3s;
}

.service-card .icon-box {
    transition: all 0.4s;
}

.service-card:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
}

.read-more {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* -------------------------------------------------------------------------- */
/* 7. LEAD FORM                                 */
/* -------------------------------------------------------------------------- */
.lead-form .input-group-text {
    width: 45px;
    justify-content: center;
}

.lead-form .form-control:focus, 
.lead-form .form-select:focus {
    box-shadow: none;
    border-color: var(--primary-color);
    background: #fff;
}

/* -------------------------------------------------------------------------- */
/* 8. FOOTER                                    */
/* -------------------------------------------------------------------------- */
.footer-newsletter {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
}

.main-footer {
    background: #1a1a1a;
    color: #bbb;
}

.footer-logo {
    background: #fff;
    padding: 5px;
    border-radius: 4px;
}

.footer-links a {
    color: #bbb;
    padding: 5px 0;
    display: block;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 8px;
}

.social-icon {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    transition: 0.3s;
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    color: #fff;
}

/* -------------------------------------------------------------------------- */
/* 9. STICKY BUTTONS                               */
/* -------------------------------------------------------------------------- */
.whatsapp-sticky {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background: #25d366;
    color: #fff;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: 0.3s;
}

.whatsapp-sticky:hover {
    transform: scale(1.1);
    color: #fff;
}

.scroll-top-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 5px;
    cursor: pointer;
    display: none; /* JS will toggle this */
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.scroll-top-btn:hover {
    background: var(--primary-dark);
}

/* -------------------------------------------------------------------------- */
/* 10. RESPONSIVE                                 */
/* -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .navbar-collapse {
        background: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        border-top: 1px solid #eee;
    }
    
    .hero-section {
        text-align: center;
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 50px;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-features {
        justify-content: center;
    }

    .d-flex.gap-3 {
        justify-content: center;
    }
}