/* Root Variables */
:root {
    --dark-slate: #1a1d23;
    --emerald: #1e4d40;
    --gold-accent: #c5a059;
    --light-bg: #f9f7f2;
    --white: #ffffff;
    --emerald-light: #2a6b5a;
    --emerald-dark: #163529;
    --gold-light: #d4b574;
    --gold-dark: #a68944;
    --success-color: #2a6b5a;
    --warning-color: #c5a059;
    --danger-color: #c85a54;
    --gradient-primary: linear-gradient(135deg, #1e4d40 0%, #2a6b5a 100%);
    --gradient-secondary: linear-gradient(135deg, #c5a059 0%, #d4b574 100%);
    --gradient-hero: linear-gradient(135deg, #1a1d23 0%, #1e4d40 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    padding: 0rem 0;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    background: white !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-toggler {
    border-color: var(--gold-accent);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(197, 160, 89, 0.25);
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem !important;
    color: var(--dark-slate) !important;
}

.nav-link:hover {
    transform: translateY(-2px);
}

.nav-link:not(.dropdown-toggle)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold-accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:not(.dropdown-toggle):hover::after {
    width: 80%;
}

.nav-link.btn {
    border-radius: 25px;
    padding: 0.5rem 1.5rem !important;
    background: var(--gradient-secondary) !important;
    color: var(--dark-slate) !important;
    border: none;
}

.nav-link.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero-section {
    background: var(--gradient-hero);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.animate-fade-in {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: white;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.hero-image-container {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Partner Cards */
.partner-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
}

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.partner-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

.agent-codes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.agent-codes .badge {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--emerald);
}

.service-card.featured {
    background: var(--gradient-primary);
    color: white;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1rem;
}

.service-card.featured .service-icon {
    background: rgba(255, 255, 255, 0.2);
}

.service-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.service-card ul li:last-child {
    border-bottom: none;
}

/* Background Gradient Section */
.bg-gradient {
    background: var(--gradient-hero);
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--dark-slate);
    margin: 0 auto;
}

/* Document Card */
.document-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.doc-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.doc-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.doc-item i {
    font-size: 1.5rem;
    color: var(--emerald);
    min-width: 30px;
}

/* Quote Card */
.quote-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
}

.form-control,
.form-select {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--emerald);
    box-shadow: 0 0 0 0.2rem rgba(30, 77, 64, 0.25);
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

/* Buttons */
.btn {
    border-radius: 10px;
    padding: 0.5rem .5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--gradient-secondary);
    color: var(--dark-slate);
    border: none;
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #d4b574 0%, #a68944 100%);
    color: var(--dark-slate);
}

.btn-light {
    background: white;
    color: var(--dark-slate);
    border: 2px solid var(--gold-accent);
}

.btn-light:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-accent);
    color: var(--dark-slate);
}

.btn-outline-light {
    border: 2px solid var(--gold-accent);
    color: white;
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--gradient-secondary);
    color: var(--dark-slate);
    border-color: var(--gold-accent);
}

/* Contact Section */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--gold-accent);
    min-width: 30px;
    margin-top: 0.25rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: white;
    color: var(--emerald);
    transform: translateY(-3px);
}

.qr-payment {
    margin-top: 2rem;
}

.qr-placeholder {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
}

.qr-placeholder i {
    font-size: 4rem;
    color: white;
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    padding: 0rem 0;
    z-index: 1000;
}

.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    font-size: 0.75rem;
    padding: 0.5rem;
    transition: all 0.3s ease;
    flex: 1;
}

.mobile-bottom-nav .nav-item i {
    font-size: 1.3rem;
    margin-bottom: 0rem;
}

.mobile-bottom-nav .nav-item.active,
.mobile-bottom-nav .nav-item:hover {
    color: var(--emerald);
    transform: translateY(-2px);
}

.mobile-bottom-nav .nav-item.active i,
.mobile-bottom-nav .nav-item:hover i {
    color: var(--emerald);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
    color: white;
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-section {
        padding-top: 100px;
        padding-bottom: 3rem;
    }

    .hero-section .min-vh-100 {
        min-height: auto !important;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    .display-3 {
        font-size: 2.5rem;
    }

    body {
        padding-bottom: 70px;
    }
}

@media (max-width: 767px) {
    .display-3 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1rem;
    }

    .partner-card,
    .service-card,
    .feature-card {
        margin-bottom: 1rem;
    }

    .quote-card {
        padding: 1.5rem;
    }

    .stat-item {
        margin-bottom: 1rem;
    }
}

/* Animations */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.btn-primary:active {
    animation: pulse 0.3s ease;
}

/* Smooth Scrolling Offset for Fixed Nav */
section {
    scroll-margin-top: 80px;
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

/* Utility Classes */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-custom {
    box-shadow: var(--shadow-lg);
}

/* Print Styles */
@media print {

    .navbar,
    .mobile-bottom-nav,
    .whatsapp-float {
        display: none !important;
    }
}