﻿:root {
    --primary-color: #2563eb;
    --secondary-color: #0f172a;
    --accent-color: #f59e0b;
    --light-color: #f8fafc;
    --dark-color: #0f172a;
    --success-color: #10b981;
    --gray-color: #64748b;
    --light-gray: #e2e8f0;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #334155;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%), url('https://images.unsplash.com/photo-1581091226033-d5c48150dbaa?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1740&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3);
        z-index: 1;
    }

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 100%;
    padding: 0 15px;
}

.hero-section h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 1.2rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero-section p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    max-width: 700px;
    margin: 0 auto 1.8rem;
    color: rgba(255, 255, 255, 0.9);
    padding: 0 10px;
}

.slogan {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.4rem, 3.5vw, 1.8rem);
    font-weight: 600;
    color: var(--accent-color);
    margin: 1.2rem 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
    padding: 0 10px;
}

.btn-accent {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    transition: var(--transition);
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    white-space: normal;
    width: auto;
    display: inline-block;
}

    .btn-accent:hover {
        background-color: #d97706;
        border-color: #d97706;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
    }

.btn-outline-accent {
    border-color: var(--accent-color);
    color: var(--accent-color);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    transition: var(--transition);
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    background-color: transparent;
    white-space: normal;
    width: auto;
    display: inline-block;
}

    .btn-outline-accent:hover {
        background-color: var(--accent-color);
        color: white;
    }

.section {
    padding: 70px 0;
}

.section-title {
    position: relative;
    text-align: center;
    margin-bottom: 50px;
    padding: 0 15px;
}

    .section-title h2 {
        display: inline-block;
        font-size: clamp(1.8rem, 4vw, 2.5rem);
        position: relative;
        padding-bottom: 12px;
    }

        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background-color: var(--accent-color);
            border-radius: 2px;
        }

.service-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    padding: 25px 20px;
    margin-bottom: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    }

.service-icon {
    width: 65px;
    height: 65px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 26px;
    color: var(--primary-color);
    font-weight: bold;
    flex-shrink: 0;
}

.service-card h3 {
    font-size: clamp(1.3rem, 3vw, 1.5rem);
    margin-bottom: 12px;
    color: var(--secondary-color);
}

.service-card p {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    margin-bottom: 0;
    flex-grow: 1;
}

.trust-item {
    text-align: center;
    padding: 22px 15px;
    border-radius: var(--border-radius);
    background: white;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    margin-bottom: 20px;
    height: 100%;
}

    .trust-item:hover {
        transform: translateY(-5px);
    }

.trust-icon {
    font-size: clamp(2rem, 5vw, 2.5rem);
    color: var(--accent-color);
    margin-bottom: 12px;
    font-weight: bold;
    display: block;
}

.about-content {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    margin-top: 25px;
    height: 100%;
}

.about-short {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(245, 158, 11, 0.05) 100%);
    padding: 50px 0;
    text-align: center;
}

    .about-short h2 {
        font-size: clamp(1.8rem, 4vw, 2.3rem);
    }

    .about-short p {
        max-width: 800px;
        margin: 20px auto 0;
        font-size: clamp(1rem, 2.5vw, 1.2rem);
        font-style: italic;
        color: var(--secondary-color);
        padding: 0 15px;
    }

.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
    padding: 60px 0;
}

    .cta-section h2 {
        color: white;
        font-size: clamp(2rem, 5vw, 2.8rem);
        margin-bottom: 15px;
    }

    .cta-section p {
        font-size: clamp(1rem, 2.5vw, 1.25rem);
        max-width: 700px;
        margin: 0 auto 25px;
        color: rgba(255, 255, 255, 0.9);
        padding: 0 15px;
    }

.footer {
    background-color: var(--secondary-color);
    color: rgba(255, 255, 255, 0.85);
    padding: 50px 0 25px;
}

    .footer h3 {
        color: white;
        font-size: clamp(1.5rem, 3.5vw, 1.8rem);
        margin-bottom: 20px;
        position: relative;
        padding-bottom: 8px;
    }

        .footer h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 35px;
            height: 2.5px;
            background-color: var(--accent-color);
        }

.footer-links {
    list-style: none;
    padding: 0;
}

    .footer-links li {
        margin-bottom: 10px;
    }

    .footer-links a {
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        transition: var(--transition);
        font-size: clamp(0.9rem, 2vw, 1.05rem);
        display: inline-block;
    }

        .footer-links a:hover {
            color: var(--accent-color);
            padding-left: 4px;
        }

.copyright {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 18px 0;
    margin-top: 30px;
    text-align: center;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
}

/* Navbar Styles - Simple, Solid, Always Visible */
.navbar {
    padding: 12px 0;
    background-color: white !important; /* Always white background */
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

    .navbar.scrolled {
        padding: 8px 0;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
    }

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(1.4rem, 3.5vw, 1.8rem);
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

    .navbar-brand span {
        color: var(--accent-color);
        display: inline-block;
    }

.nav-link {
    font-weight: 500;
    margin: 0 5px;
    color: var(--secondary-color) !important;
    transition: var(--transition);
    position: relative;
    padding: 5px 0 !important;
    font-size: clamp(0.9rem, 2vw, 1rem);
    white-space: nowrap;
}

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background-color: var(--accent-color);
        transition: var(--transition);
    }

    .nav-link.active::after,
    .nav-link:hover::after {
        width: 100%;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--primary-color) !important;
    }

.phone-btn {
    background-color: var(--accent-color);
    color: white !important;
    font-weight: 600;
    border-radius: 50px;
    padding: 8px 20px !important;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.4);
    font-size: clamp(0.9rem, 2vw, 1rem);
    white-space: normal;
    width: auto;
}

    .phone-btn:hover {
        background-color: #d97706;
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(245, 158, 11, 0.5);
    }

/* Hamburger icon - Always visible with dark color */
.navbar-toggler {
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    padding: 0.5rem 0.75rem !important;
    border-radius: 4px;
    transition: var(--transition);
}

    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25) !important;
        outline: none !important;
    }

/* Use Bootstrap's default hamburger icon (dark) */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    height: 25px;
    width: 25px;
    background-size: 100%;
}

/* Mobile menu adjustments */
@media (max-width: 991px) {
    .navbar-nav {
        margin-top: 15px;
        padding-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    .navbar-collapse {
        max-height: 70vh;
        overflow-y: auto;
        background-color: rgba(15, 23, 42, 0.97);
        padding: 20px;
        border-radius: 12px;
        margin-top: 15px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    }

        .navbar-collapse .nav-link {
            color: rgba(255, 255, 255, 0.95) !important;
            font-weight: 500;
            padding: 10px 0 !important;
            font-size: 1.15rem !important;
            width: 100%;
            text-align: center;
            border-radius: 6px;
            transition: var(--transition);
            position: relative;
        }

            .navbar-collapse .nav-link:hover,
            .navbar-collapse .nav-link:focus {
                color: white !important;
                background-color: rgba(255, 255, 255, 0.15) !important;
                transform: translateX(5px);
            }

            .navbar-collapse .nav-link.active {
                color: white !important;
                background-color: var(--accent-color) !important;
                position: relative;
                transform: translateX(0);
                font-weight: 600 !important;
            }

                .navbar-collapse .nav-link.active::after {
                    display: none;
                }

        .navbar-collapse .phone-btn {
            background-color: var(--accent-color) !important;
            color: white !important;
            border-color: var(--accent-color) !important;
            width: 100%;
            padding: 14px !important;
            font-size: 1.2rem !important;
            margin-top: 15px !important;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }

            .navbar-collapse .phone-btn:hover {
                background-color: #d97706 !important;
                transform: translateY(-2px);
                box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
            }

    .navbar-nav .nav-item {
        margin-bottom: 8px;
        width: 100%;
    }
}

/* Critical Mobile Hero Section Fix */
@media (max-width: 767px) {
    .hero-section {
        min-height: 100vh;
        height: 100vh;
        padding: 0;
        padding-top: 65px; /* Account for navbar height */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-content {
        padding: 0 20px;
        width: 100%;
        max-width: 100%;
    }

    .hero-section h1 {
        font-size: clamp(1.9rem, 7vw, 2.5rem);
        margin-bottom: 1rem;
    }

    .hero-section p {
        font-size: clamp(0.95rem, 4vw, 1.1rem);
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }

    .slogan {
        font-size: clamp(1.3rem, 5vw, 1.7rem);
        margin: 1rem 0;
    }

    .btn-container {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .btn-accent,
    .btn-outline-accent {
        display: block;
        width: 100%;
        margin: 8px 0 !important;
        padding: 12px 20px;
        font-size: clamp(0.95rem, 3vw, 1.05rem);
    }

    .btn-outline-light {
        border-color: white;
        color: white !important;
    }

        .btn-outline-light:hover {
            background-color: white;
            color: var(--primary-color) !important;
        }

    .section {
        padding: 50px 0;
    }

    .section-title {
        margin-bottom: 35px;
    }

        .section-title h2 {
            font-size: 1.9rem;
        }

    .about-content {
        padding: 25px;
    }

    .cta-section {
        padding: 50px 0;
    }

        .cta-section h2 {
            font-size: 2.1rem;
        }

    .footer h3 {
        font-size: 1.6rem;
    }

    .service-card {
        padding: 22px 15px;
    }

    .trust-item {
        padding: 18px 12px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding-top: 60px;
    }

        .hero-section h1 {
            font-size: 2.1rem;
        }

    .section-title h2 {
        font-size: 1.75rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .service-card h3 {
        font-size: 1.35rem;
    }

    .trust-icon {
        font-size: 2.2rem;
    }

    .navbar-brand {
        font-size: 1.5rem;
    }

    .nav-link {
        margin: 0 3px;
        font-size: 0.95rem;
    }

    .footer .col-12 {
        margin-bottom: 25px;
    }

    .copyright {
        font-size: 0.9rem;
        padding: 15px 0;
    }
}

/* Prevent horizontal scrolling */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Active state visual indicator */
.nav-link.active {
    font-weight: 600 !important;
}

/* Spacer for fixed navbar */
.navbar-spacer {
    height: 70px;
    width: 100%;
}

@media (max-width: 767px) {
    .navbar-spacer {
        height: 65px;
    }
}
