/* ========================================
   ROOT VARIABLES
======================================== */
:root {
    --primary-color: #0c1e35;
    --secondary-color: #1a3a5c;
    --accent-color: #ffc107;
    --accent-hover: #ff9800;
    --text-dark: #1a1a2e;
    --text-light: #6c757d;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, #0c1e35 0%, #1a3a5c 100%);
    --gradient-accent: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-md: 0 5px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

/* ========================================
   BASE STYLES
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   PRELOADER
======================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
    color: var(--white);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255,255,255,0.2);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   TOP BAR
======================================== */
.top-bar {
    background: var(--primary-color);
    padding: 10px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.top-info span {
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-info i {
    color: var(--accent-color);
}

.top-social {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.top-social a {
    color: var(--white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.top-social a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

/* ========================================
   NAVIGATION
======================================== */
.navbar {
    background: var(--primary-color);
    padding: 15px 0;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(12, 30, 53, 0.98);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand i {
    color: var(--accent-color);
    font-size: 1.8rem;
}

.navbar-brand .text-warning {
    color: var(--accent-color) !important;
}

.nav-link {
    font-weight: 500;
    margin: 0 5px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.call-btn {
    background: var(--gradient-accent);
    border: none;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.call-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.5);
}

/* ========================================
   HERO SECTION
======================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: var(--gradient-primary);
    padding: 150px 0 100px;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero-main.jpg') center/cover no-repeat;
    opacity: 0.2;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-text {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 193, 7, 0.15);
    color: var(--accent-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #ffc107 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-weight: 500;
}

.feature-item i {
    color: var(--accent-color);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-primary {
    background: var(--gradient-accent);
    border: none;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.5);
    background: var(--gradient-accent);
}

.btn-outline-light {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
}

.pulse-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 193, 7, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); }
}

.hero-trust {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
}

.trust-item i {
    font-size: 2rem;
    color: var(--accent-color);
}

.trust-item strong {
    display: block;
    font-size: 1.2rem;
}

.trust-item span {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Hero Image */
.hero-image {
    position: relative;
    z-index: 2;
}

.hero-img-wrapper {
    position: relative;
    padding: 20px;
}

.hero-img-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: var(--accent-color);
    filter: blur(100px);
    opacity: 0.3;
    border-radius: 50%;
}

.hero-main-img {
    position: relative;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 15px 20px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    z-index: 3;
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    color: var(--accent-color);
    font-size: 1.5rem;
}

.card-1 {
    top: 10%;
    left: -20px;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: -30px;
    animation-delay: 1s;
}

.card-3 {
    bottom: 10%;
    left: 0;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 100px;
    fill: var(--white);
}

/* ========================================
   SECTION STYLES
======================================== */
.section-header {
    margin-bottom: 50px;
}

.section-badge {
    display: inline-block;
    background: rgba(255, 193, 7, 0.15);
    color: var(--accent-color);
    padding: 6px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    margin: 20px auto;
    border-radius: 2px;
}

/* ========================================
   SERVICES SECTION
======================================== */
.services-section {
    background: var(--light-bg);
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 30, 53, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-content {
    padding: 25px;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -60px auto 20px;
    position: relative;
    z-index: 2;
}

.service-icon i {
    color: var(--white);
    font-size: 1.5rem;
}

.service-content h4 {
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.service-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
    text-align: center;
}

.service-features {
    margin-bottom: 20px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.service-features i {
    color: var(--accent-color);
}

.service-btn {
    display: block;
    text-align: center;
    color: var(--accent-color);
    font-weight: 600;
    padding: 10px;
    border: 2px solid var(--accent-color);
    border-radius: 50px;
    transition: var(--transition);
}

.service-btn:hover {
    background: var(--accent-color);
    color: var(--white);
}

/* ========================================
   ABOUT SECTION
======================================== */
.about-section {
    background: var(--white);
}

.about-img-wrapper {
    position: relative;
    padding: 20px;
}

.about-main-img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.about-experience {
    position: absolute;
    bottom: 40px;
    right: -20px;
    background: var(--gradient-accent);
    color: var(--white);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.exp-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
}

.exp-text {
    font-size: 0.9rem;
    opacity: 0.9;
}

.about-shape {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 150px;
    height: 150px;
    background: var(--accent-color);
    opacity: 0.1;
    border-radius: 20px;
    z-index: -1;
}

.about-text {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    gap: 20px;
}

.about-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 193, 7, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    color: var(--accent-color);
    font-size: 1.3rem;
}

.feature-info h5 {
    font-weight: 600;
    margin-bottom: 5px;
}

.feature-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* ========================================
   STATS SECTION
======================================== */
.stats-section {
    background: var(--gradient-primary);
    position: relative;
}

.stats-wrapper {
    background: rgba(255,255,255,0.05);
    padding: 50px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

.stat-item {
    color: var(--white);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

/* ========================================
   CTA SECTION
======================================== */
.cta-section {
    background: var(--gradient-accent);
}

.cta-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.cta-title {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.cta-title i {
    color: var(--accent-color);
}

.cta-subtitle {
    color: var(--text-light);
    margin: 0;
}

.cta-section .btn-light {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    font-weight: 600;
}

.cta-section .btn-light:hover {
    background: var(--secondary-color);
    color: var(--white);
}

/* ========================================
   CONTACT SECTION
======================================== */
.contact-section {
    background: var(--light-bg);
}

.contact-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon i {
    color: var(--white);
    font-size: 1.8rem;
}

.contact-card h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--text-light);
    margin: 0;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.form-control {
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 12px 20px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

.map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* ========================================
   SCROLL TO TOP
======================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    color: var(--white);
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-section {
        padding: 120px 0 80px;
        text-align: center;
    }
    
    .hero-features,
    .hero-buttons,
    .hero-trust {
        justify-content: center;
    }
    
    .hero-image {
        margin-top: 50px;
    }
    
    .floating-card {
        display: none;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .top-bar {
        text-align: center;
    }
    
    .top-info {
        justify-content: center;
        margin-bottom: 10px;
    }
    
    .top-social {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .cta-wrapper {
        padding: 30px 20px;
        text-align: center;
    }
    
    .cta-section .text-lg-end {
        text-align: center !important;
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-lg {
        width: 100%;
    }
}