:root {
    --primary: #1a3a5c;
    --primary-light: #2a5a8c;
    --accent: #4caf50;
    --accent-dark: #388e3c;
    --light-bg: #f0f4f8;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Preloader */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    height: 90px;
    margin-bottom: 2rem;
    animation: floatLogo 3s ease-in-out infinite;
}

.preloader-bar {
    width: 220px;
    height: 5px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader-progress {
    height: 100%;
    width: 0%;
    background: var(--accent);
    border-radius: 10px;
    transition: width 0.2s ease;
}

.preloader-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-top: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    overflow-x: hidden;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: rgb(26, 58, 92);
    padding: 0.8rem 0;
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.header-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    color: var(--accent);
    font-size: 1.6rem;
    text-decoration: none;
    transition: color 0.3s;
}

.header-logo:hover {
    color: var(--accent-dark);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.header-nav a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

.header-nav a:hover {
    color: #fff;
}

.nav-cta {
    background: var(--accent);
    color: #fff !important;
    border-radius: 50px;
    padding: 0.5rem 1.5rem !important;
    margin-left: 0.5rem;
    transition: background 0.3s;
}

.nav-cta:hover {
    background: var(--accent-dark);
}

/* Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Menu */
@media (max-width: 991px) {
    .menu-toggle {
        display: flex;
    }

    .header-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgb(26, 58, 92);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    .header-nav.open {
        display: flex;
    }

    .header-nav a {
        padding: 0.75rem 1.5rem;
        width: 100%;
    }

    .nav-cta {
        margin: 0.5rem 1.5rem;
        text-align: center;
        display: block;
        border-radius: 50px;
    }
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('../images/hero-bg.png') center/cover;
    opacity: 0.15;
    pointer-events: none;
}

.hero-content {
    position: relative;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.hero h1 span {
    color: var(--accent);
}

.hero p.lead {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.85);
    max-width: 500px;
}

.hero-logo {
    max-width: 420px;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
    animation: floatLogo 4s ease-in-out infinite;
}

@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.btn-call {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-call:hover {
    background: var(--accent-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.btn-outline-light-custom {
    border: 2px solid rgba(255,255,255,0.5);
    color: #fff;
    padding: 1rem 2.5rem;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline-light-custom:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    color: #fff;
}

/* Sections */
section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: #777;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
    margin: 1rem auto 0;
}

/* About */
.about-section {
    background: var(--light-bg);
}

.about-img {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.about-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-feature {
    display: flex;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.about-feature .icon-box {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
}

/* Services */
.service-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.service-card .card-img-wrapper {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.service-card .card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

.service-card .card-img-wrapper .overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(26,58,92,0.8));
}

.service-card .card-img-wrapper .service-icon {
    position: absolute;
    bottom: 15px;
    left: 20px;
    width: 55px;
    height: 55px;
    background: var(--accent);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(76,175,80,0.4);
}

.service-card .card-body {
    padding: 1.5rem;
}

.service-card h5 {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

/* Stats Banner */
.stats-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.stats-banner::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
}

.stat-item {
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 1;
}

.stat-item .stat-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
}

.stat-item p {
    font-size: 1rem;
    opacity: 0.8;
}

/* Region */
.region-section {
    background: var(--light-bg);
}

.region-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 500;
    color: var(--primary);
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    margin: 0.3rem;
    font-size: 0.95rem;
}

.region-badge i {
    color: var(--accent);
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
    padding: 5rem 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('../images/cta-bg.png') center/cover;
    opacity: 0.1;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
}

.cta-section p {
    font-size: 1.2rem;
    opacity: 0.9;
    position: relative;
}

.btn-call-white {
    background: #fff;
    color: var(--accent-dark);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.btn-call-white:hover {
    background: #f0f0f0;
    color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Footer */
footer {
    background: var(--primary);
    color: rgba(255,255,255,0.7);
    padding: 3rem 0 1.5rem;
}

footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--accent);
}

footer .footer-logo {
    height: 70px;
    margin-bottom: 1rem;
}

footer hr {
    border-color: rgba(255,255,255,0.15);
}

/* Floating Call Button */
.floating-call {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    text-decoration: none;
    box-shadow: 0 5px 25px rgba(76,175,80,0.5);
    z-index: 1000;
    transition: all 0.3s;
    animation: pulse 2s infinite;
}

.floating-call:hover {
    background: var(--accent-dark);
    color: #fff;
    transform: scale(1.1);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(76,175,80,0.5); }
    70% { box-shadow: 0 0 0 15px rgba(76,175,80,0); }
    100% { box-shadow: 0 0 0 0 rgba(76,175,80,0); }
}

/* Scroll Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.4rem; }
    .hero-logo { max-width: 300px; margin-top: 2rem; }
    .section-title { font-size: 1.8rem; }
}

@media (max-width: 576px) {
    .hero { min-height: auto; padding: 8rem 0 4rem; }
    .hero h1 { font-size: 2rem; }
    .hero-logo { max-width: 250px; }
    section { padding: 4rem 0; }
    .btn-call, .btn-outline-light-custom, .btn-call-white {
        padding: 0.8rem 1.8rem;
        font-size: 1rem;
    }
}
