/* =========================================
   CSS Variables & Theme Setup
   ========================================= */
:root {
    /* Colors - Light Mode with Deep Blue and Orange */
    --color-primary: #0A2540;      /* Deep Blue */
    --color-primary-light: #1A3E6D;
    --color-accent: #FF6B00;       /* Vibrant Orange */
    --color-accent-hover: #E65A00;
    
    --color-bg-main: #F8FAFC;      /* Off-white fresh background */
    --color-bg-alt: #FFFFFF;       /* Pure white for cards */
    
    --color-text-main: #1E293B;    /* Dark slate for readable text */
    --color-text-muted: #64748B;
    
    /* Typography */
    --font-family: 'Outfit', sans-serif;
    
    /* Spacing & Layout */
    --container-max-width: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Borders & Shadows */
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 24px;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-accent: 0 10px 25px -5px rgba(255, 107, 0, 0.4);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================
   Reset & Base Styles
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg-main);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section-padding {
    padding: var(--spacing-xl) 0;
}

.text-center {
    text-align: center;
}

.text-accent {
    color: var(--color-accent);
}

.bg-light {
    background-color: var(--color-bg-alt);
}

.hidden {
    display: none !important;
}

/* =========================================
   Typography
   ========================================= */
h1, h2, h3, h4 {
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    font-weight: 800;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-muted);
    font-size: 1.125rem;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-accent);
    color: white;
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(255, 107, 0, 0.5);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

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

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* Pulse Animation for CTA */
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7); }
    70% { transform: scale(1.02); box-shadow: 0 0 0 15px rgba(255, 107, 0, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 107, 0, 0); }
}

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

.nav-cta .cta-icon {
    display: none;
}

/* =========================================
   Navigation
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
}

.logo-accent {
    color: var(--color-accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 600;
    color: var(--color-text-main);
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--color-accent);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    min-height: 100vh;
    padding-top: 100px; /* Offset for navbar */
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-bg-main) 0%, #E2E8F0 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(10,37,64,0.05) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 1rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: var(--spacing-md);
}

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

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--border-radius-lg);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-md);
}

.hero-badge {
    position: absolute;
    top: 15%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.badge-right {
    top: 82%;
    left: auto;
    right: 10%;
    animation-delay: -3s;
}

.badge-icon {
    font-size: 2rem;
    background: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

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

/* =========================================
   Services Section
   ========================================= */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.section-header {
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: var(--color-bg-alt);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    border: 1px solid rgba(0,0,0,0.02);
}

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

.card-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
}

/* =========================================
   Benefits Section
   ========================================= */
.benefits-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.benefits-list {
    margin-top: var(--spacing-md);
}

.benefits-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: var(--spacing-md);
}

.check-icon {
    background: var(--color-accent);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: bold;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(45deg, #CBD5E1, #94A3B8);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    box-shadow: var(--shadow-lg);
}

/* =========================================
   Contact & Lead Form Section
   ========================================= */
.contact-section {
    background-color: var(--color-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-section h2 {
    color: white;
}

.contact-section p {
    color: #CBD5E1;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.contact-details {
    margin-top: var(--spacing-md);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: var(--spacing-sm);
    font-size: 1.125rem;
}

.detail-icon {
    font-size: 1.5rem;
}

.glass-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.glass-form h3 {
    color: white;
    margin-bottom: var(--spacing-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #E2E8F0;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.3);
}

.form-success {
    margin-top: 1rem;
    padding: 1rem;
    background-color: rgba(34, 197, 94, 0.2);
    border: 1px solid #22c55e;
    color: #4ade80;
    border-radius: var(--border-radius-sm);
    text-align: center;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: #051322;
    color: white;
    padding-top: var(--spacing-xl);
}

.footer h4 {
    color: white;
}

.footer p {
    color: #94A3B8;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: #94A3B8;
    transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    padding: var(--spacing-md) 0;
    margin-top: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* =========================================
   Animations (Intersection Observer)
   ========================================= */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-bottom {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.is-visible {
    opacity: 1;
    transform: translate(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 992px) {
    .benefits-layout,
    .contact-container {
        grid-template-columns: 1fr;
    }
}



@media (max-width: 768px) {
    .hero-badge {
        display: none; /* Hide floating badges on phone screens */
    }
    
    .nav-links {
        display: none; /* simple mobile nav - can expand with hamburger if needed */
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .section-padding {
        padding: var(--spacing-lg) 0;
    }
    
    .nav-cta {
        padding: 0.6rem 1rem;
        border-radius: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-cta .cta-text {
        display: none;
    }
    
    .nav-cta .cta-icon {
        display: inline-block;
        font-size: 1.2rem;
    }
}

/* =========================================
   Before/After Slider
   ========================================= */
.img-comp-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.img-comp-img {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    top: 0;
    left: 0;
}

.img-comp-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.img-comp-slider {
    position: absolute;
    z-index: 9;
    cursor: ew-resize;
    width: 40px;
    height: 40px;
    background-color: var(--color-accent);
    opacity: 0.9;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: var(--shadow-md);
    display: flex;
    justify-content: center;
    align-items: center;
}
.img-comp-slider::before,
.img-comp-slider::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}
.img-comp-slider::before {
    border-right: 8px solid white;
    margin-right: 4px;
}
.img-comp-slider::after {
    border-left: 8px solid white;
    margin-left: 4px;
}
