/* QuoteNexus Website Styles - Matching Brand Logo */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* CSS Custom Properties */
:root {
    /* Primary Brand Colors from Logo */
    --brand-blue: #1e3a8a;
    --brand-blue-light: #3b82f6;
    --brand-blue-dark: #1e40af;
    --brand-white: #ffffff;
    
    /* Extended Color Palette */
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-200: #bfdbfe;
    --blue-300: #93c5fd;
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-800: #1e40af;
    --blue-900: #1e3a8a;
    
    /* Neutral Colors */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Text Colors */
    --text-primary: var(--gray-900);
    --text-secondary: var(--gray-600);
    --text-muted: var(--gray-500);
    --text-light: var(--gray-400);
    
    /* Background Colors */
    --bg-primary: var(--brand-white);
    --bg-secondary: var(--gray-50);
    --bg-tertiary: var(--blue-50);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-light) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-400) 100%);
    --gradient-accent: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-300) 100%);
    --gradient-hero: linear-gradient(135deg, var(--brand-blue) 0%, var(--blue-600) 50%, var(--blue-500) 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
    
    /* Glass Effects */
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px rgba(30, 58, 138, 0.1);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-brand: 0 20px 40px rgba(30, 58, 138, 0.15);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
    
    /* Z-index Scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1040;
    --z-popover: 1050;
    --z-tooltip: 1060;
    --z-toast: 1070;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    font-size: 16px;
    font-weight: 400;
    overflow-x: hidden;
}

/* Typography */
.font-display {
    font-family: 'Poppins', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-brand {
    color: var(--brand-blue);
}

.text-muted {
    color: var(--text-muted);
}

/* Layout Components */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
    .container { padding: 0 2rem; }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    transition: all var(--transition-base);
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    padding: 0.75rem 0;
}

.navbar-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--brand-blue);
    transition: all var(--transition-base);
}

.navbar-brand:hover {
    color: var(--brand-blue-light);
    transform: scale(1.05);
}

.navbar-logo {
    width: 40px;
    height: 40px;
    margin-right: 0.75rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all var(--transition-base);
}

.navbar-logo::before {
    content: '♥';
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-brand:hover .navbar-logo {
    transform: rotate(5deg) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.navbar-menu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    padding: 1rem 0;
}

.navbar-item {
    margin: 0;
}

.navbar-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-base);
    position: relative;
}

.navbar-link:hover {
    color: var(--brand-blue);
    background: var(--blue-50);
}

.navbar-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all var(--transition-base);
    transform: translateX(-50%);
}

.navbar-link:hover::after {
    width: 80%;
}

.navbar-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-primary);
    font-size: 1.5rem;
    transition: all var(--transition-base);
}

.navbar-toggle:hover {
    color: var(--brand-blue);
    transform: scale(1.1);
}

@media (min-width: 768px) {
    .navbar-menu {
        display: flex;
        flex-direction: row;
        position: static;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
    }
    
    .navbar-item {
        margin: 0 0.5rem;
    }
    
    .navbar-link {
        padding: 0.5rem 1rem;
        background: transparent;
    }
    
    .navbar-link:hover {
        background: transparent;
    }
    
    .navbar-toggle {
        display: none;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--gradient-hero);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 5rem;
}

/* .hero::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 1000 1000"><defs><radialGradient id="heart1" cx="30%" cy="30%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient><radialGradient id="heart2" cx="70%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.08"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><path d="M200,300 C200,250 250,200 300,200 C350,200 400,250 400,300 C400,400 300,500 300,500 C300,500 200,400 200,300 Z" fill="url(%23heart1)"/><path d="M600,400 C600,350 650,300 700,300 C750,300 800,350 800,400 C800,500 700,600 700,600 C700,600 600,500 600,400 Z" fill="url(%23heart2)"/></svg>');
    opacity: 0.3;
    animation: heroFloat 20s ease-in-out infinite;
} */

.hero::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 1200 800"><defs><linearGradient id="heroGrad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.08"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0.02"/></linearGradient></defs><g fill="url(%23heroGrad)"><circle cx="150" cy="150" r="80" opacity="0.6"><animate attributeName="cy" values="150;120;150" dur="8s" repeatCount="indefinite"/></circle><circle cx="350" cy="300" r="60" opacity="0.4"><animate attributeName="cx" values="350;380;350" dur="10s" repeatCount="indefinite"/></circle><circle cx="600" cy="200" r="100" opacity="0.5"><animate attributeName="r" values="100;120;100" dur="12s" repeatCount="indefinite"/></circle><circle cx="900" cy="400" r="70" opacity="0.3"><animate attributeName="cy" values="400;370;400" dur="9s" repeatCount="indefinite"/></circle><circle cx="1050" cy="250" r="90" opacity="0.4"><animate attributeName="cx" values="1050;1020;1050" dur="11s" repeatCount="indefinite"/></circle><path d="M100,500 Q200,450 300,500 T500,500" stroke="%23ffffff" stroke-width="2" fill="none" opacity="0.2"><animate attributeName="d" values="M100,500 Q200,450 300,500 T500,500;M100,500 Q200,480 300,500 T500,500;M100,500 Q200,450 300,500 T500,500" dur="15s" repeatCount="indefinite"/></path><path d="M700,600 Q800,550 900,600 T1100,600" stroke="%23ffffff" stroke-width="2" fill="none" opacity="0.2"><animate attributeName="d" values="M700,600 Q800,550 900,600 T1100,600;M700,600 Q800,580 900,600 T1100,600;M700,600 Q800,550 900,600 T1100,600" dur="18s" repeatCount="indefinite"/></path><polygon points="200,650 250,600 300,650 250,700" opacity="0.3"><animateTransform attributeName="transform" type="rotate" values="0 250 650;360 250 650" dur="20s" repeatCount="indefinite"/></polygon><polygon points="800,150 850,100 900,150 850,200" opacity="0.25"><animateTransform attributeName="transform" type="rotate" values="0 850 150;-360 850 150" dur="25s" repeatCount="indefinite"/></polygon><rect x="450" y="100" width="60" height="60" rx="10" opacity="0.3" transform="rotate(45 480 130)"><animateTransform attributeName="transform" type="rotate" values="45 480 130;405 480 130" dur="16s" repeatCount="indefinite"/></rect></g></svg>') center/cover no-repeat;
    opacity: 0.6;
    animation: heroFloat 25s ease-in-out infinite;
}

.hero::after {
    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 1200 800"><defs><radialGradient id="shield1" cx="30%" cy="40%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.12"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient><radialGradient id="shield2" cx="70%" cy="60%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.08"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><g><path d="M200,300 L200,250 Q200,200 250,200 L350,200 Q400,200 400,250 L400,350 Q350,400 300,400 Q250,400 200,350 Z" fill="url(%23shield1)" opacity="0.6"><animateTransform attributeName="transform" type="scale" values="1;1.1;1" dur="14s" repeatCount="indefinite"/></path><path d="M800,500 L800,450 Q800,400 850,400 L950,400 Q1000,400 1000,450 L1000,550 Q950,600 900,600 Q850,600 800,550 Z" fill="url(%23shield2)" opacity="0.4"><animateTransform attributeName="transform" type="scale" values="1;0.9;1" dur="16s" repeatCount="indefinite"/></path><circle cx="150" cy="600" r="3" fill="%23ffffff" opacity="0.8"><animate attributeName="opacity" values="0.8;0.3;0.8" dur="3s" repeatCount="indefinite"/></circle><circle cx="1050" cy="150" r="2" fill="%23ffffff" opacity="0.6"><animate attributeName="opacity" values="0.6;0.2;0.6" dur="4s" repeatCount="indefinite"/></circle><circle cx="500" cy="700" r="2.5" fill="%23ffffff" opacity="0.7"><animate attributeName="opacity" values="0.7;0.2;0.7" dur="5s" repeatCount="indefinite"/></circle><circle cx="950" cy="300" r="3" fill="%23ffffff" opacity="0.5"><animate attributeName="opacity" values="0.5;0.1;0.5" dur="6s" repeatCount="indefinite"/></circle></g></svg>') center/cover no-repeat;
    opacity: 0.4;
    animation: heroFloat 30s ease-in-out infinite reverse;
}
@keyframes heroFloat {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg); 
        opacity: 0.6;
    }
    25% { 
        transform: translateY(-15px) translateX(10px) rotate(1deg); 
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-25px) translateX(-5px) rotate(-0.5deg); 
        opacity: 0.7;
    }
    75% { 
        transform: translateY(-10px) translateX(-15px) rotate(0.8deg); 
        opacity: 0.9;
    }
}
/* @keyframes heroFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.3;
    }
    50% { 
        transform: translateY(-30px) rotate(180deg); 
        opacity: 0.5;
    }
} */

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    animation: slideInUp 1s ease-out 0.2s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--radius-full);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    text-align: center;
    min-width: 200px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    /* border: 2px solid transparent; */
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-slow);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: var(--gradient-secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-2xl);
    color: white;
    text-decoration: none;
    border-color: transparent;
}

.btn-secondary {
    background: white;
    color: var(--brand-blue);
    border: 2px solid white;
}

.btn-secondary:hover {
    background: var(--blue-50);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    color: var(--brand-blue);
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    color: var(--brand-blue);
    border: 2px solid var(--brand-blue);
}

.btn-outline:hover {
    background: var(--brand-blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

/* Cards */
.card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.card-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.card-service {
    text-align: center;
    height: 100%;
    padding: 2.5rem 2rem;
}

.card-service:hover {
    transform: translateY(-15px) scale(1.02);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: all var(--transition-base);
    position: relative;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: var(--gradient-secondary);
    border-radius: var(--radius-full);
    z-index: -1;
    opacity: 0;
    transition: all var(--transition-base);
}

.card-service:hover .service-icon {
    transform: scale(1.1) rotate(10deg);
}

.card-service:hover .service-icon::before {
    opacity: 1;
    transform: scale(1.2);
}

/* Sections */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-bg-light {
    background: var(--bg-secondary);
}

.section-bg-brand {
    background: linear-gradient(135deg, var(--blue-50) 0%, var(--blue-100) 100%);
}

/* Grid System */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 1024px) {
    .grid-cols-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-cols-2,
    .grid-cols-3 { grid-template-columns: 1fr; }
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
    letter-spacing: 0.025em;
}

.form-input,
.form-select {
    width: 100%;
    padding: 1.25rem 1.5rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-family: inherit;
    font-weight: 500;
    background: white;
    transition: all var(--transition-base);
    outline: none;
    color: var(--text-primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.form-input::placeholder,
.form-select::placeholder {
    color: var(--text-light);
    font-weight: 400;
}

.form-input:focus,
.form-select:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.12), 0 4px 12px rgba(30, 58, 138, 0.08);
    transform: translateY(-2px);
    background: var(--blue-50);
}

.form-floating {
    position: relative;
}

.form-floating .form-input {
    padding-top: 1.75rem;
    padding-bottom: 0.75rem;
    height: auto;
}

.form-floating .form-label {
    position: absolute;
    top: 1.25rem;
    left: 1.5rem;
    background: white;
    padding: 0 0.5rem;
    font-size: 1rem;
    color: var(--text-muted);
    transition: all var(--transition-fast);
    pointer-events: none;
    font-weight: 500;
    margin-bottom: 0;
    z-index: 2;
}

.form-floating .form-input:focus + .form-label,
.form-floating .form-input:not(:placeholder-shown) + .form-label,
.form-floating .form-input.has-value + .form-label {
    top: -0.5rem;
    font-size: 0.8rem;
    color: var(--brand-blue);
    font-weight: 600;
    background: white;
    border-radius: 4px;
}

.form-floating .form-input:focus + .form-label {
    color: var(--brand-blue-light);
}

.form-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12) !important;
    background: rgba(239, 68, 68, 0.02) !important;
}

.form-success {
    border-color: #22c55e !important;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12) !important;
    background: rgba(34, 197, 94, 0.02) !important;
}

.invalid-feedback {
    display: none;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #ef4444;
    font-weight: 500;
}

.form-error + .invalid-feedback {
    display: block;
}
  .disclaimer-group {
            margin-top: 30px;
            margin-bottom: 30px;
            padding: 20px;
            background: #f8f9fa;
            border-radius: 8px;
            border-left: 4px solid #667eea;
        }
.disclaimer-link {
            color: #667eea;
            text-decoration: underline;
            font-weight: 600;
        }

        .disclaimer-link:hover {
            color: #764ba2;
            text-decoration: none;
        }
        .checkbox-wrapper {
            display: flex;
            align-items: flex-start;
            gap: 12px;
        }

        .checkbox-input {
            margin-top: 3px;
            width: 18px;
            height: 18px;
            accent-color: #667eea;
        }

        .disclaimer-text {
            font-size: 0.85rem;
            line-height: 1.5;
            color: #555;
        }

        .disclaimer-invalid {
            color: #e74c3c;
            font-size: 0.875rem;
            margin-top: 8px;
            display: none;
        }
/* Footer */
.footer {
    background: var(--gradient-hero);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
}

.footer::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 1000 1000"><defs><radialGradient id="footerHeart" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.05"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><path d="M100,200 C100,150 150,100 200,100 C250,100 300,150 300,200 C300,300 200,400 200,400 C200,400 100,300 100,200 Z" fill="url(%23footerHeart)"/><path d="M700,600 C700,550 750,500 800,500 C850,500 900,550 900,600 C900,700 800,800 800,800 C800,800 700,700 700,600 Z" fill="url(%23footerHeart)"/></svg>');
    opacity: 0.3;
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all var(--transition-base);
    position: relative;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px) scale(1.1);
    color: white;
    box-shadow: var(--shadow-xl);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }

.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-full);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-base);
    opacity: 0;
    visibility: hidden;
    z-index: var(--z-fixed);
    box-shadow: var(--shadow-lg);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-2xl);
}

/* Loading Spinner */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity var(--transition-slow);
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--gray-200);
    border-top: 4px solid var(--brand-blue);
    border-radius: var(--radius-full);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    box-shadow: var(--shadow-brand);
    z-index: var(--z-fixed);
    transition: all var(--transition-base);
    display: none;
    font-family: 'Poppins', sans-serif;
}

.floating-cta:hover {
    transform: translateX(-50%) translateY(-3px);
    color: white;
    text-decoration: none;
    box-shadow: var(--shadow-2xl);
}

@media (max-width: 768px) {
    .floating-cta {
        display: flex;
        align-items: center;
        opacity: 0;
        visibility: hidden;
    }
    
    .floating-cta.show {
        opacity: 1;
        visibility: visible;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInLeft 1s ease-out forwards;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 1s ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Pulse Animation */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Quote Form Specific Styles */
.quote-form {
    background: white;
    border-radius: var(--radius-2xl);
    padding: 3rem;
    box-shadow: var(--shadow-2xl);
    border: 1px solid var(--gray-100);
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.quote-form::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.quote-form:hover::before {
    opacity: 1;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* About Section Specific */
.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(30, 58, 138, 0.1);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(30, 58, 138, 0.2);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(30, 58, 138, 0.15);
    border-color: rgba(30, 58, 138, 0.3);
    box-shadow: var(--shadow-brand);
}

.stat-icon {
    font-size: 3.5rem;
    color: var(--brand-blue);
    margin-bottom: 1.25rem;
    display: block;
    transition: all var(--transition-base);
}

.stat-item:hover .stat-icon {
    color: var(--brand-blue-light);
    transform: scale(1.1) rotate(5deg);
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--brand-blue);
    display: block;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 0.5rem;
    transition: all var(--transition-base);
}

.stat-item:hover .stat-number {
    color: var(--brand-blue-dark);
    transform: scale(1.05);
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-base);
}

.stat-item:hover .stat-label {
    color: var(--brand-blue);
}

/* Privacy Policy Styles */
.privacy-content {
    background: white;
    border-radius: var(--radius-2xl);
    padding: 3rem;
    box-shadow: 0px 0px 0px 2px rgba(0, 0, 0, 0.1), 0 1px 2px 0px rgba(0, 0, 0, 0.05);
    line-height: 1.8;
    /* max-width: 800px; */
    margin: 0 auto;
}

.privacy-content h1 {
    color: var(--brand-blue);
    margin-bottom: 2rem;
    text-align: center;
}

.privacy-content h2 {
    color: var(--text-primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    border-bottom: 2px solid var(--blue-100);
    padding-bottom: 0.5rem;
}

.privacy-content h3 {
    color: var(--text-secondary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.privacy-content p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.privacy-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.privacy-content li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .section {
        padding: 4rem 0;
    }
    
    .hero {
        padding-top: 4rem;
    }
    
    .quote-form {
        padding: 2rem;
    }
    
    .privacy-content {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        min-width: 180px;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .navbar-logo {
        width: 32px;
        height: 32px;
        margin-right: 0.5rem;
    }
    
    .navbar-logo::before {
        font-size: 1.25rem;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .quote-form {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .privacy-content {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .scroll-top,
    .floating-cta,
    .loading {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
        background: white !important;
        color: var(--text-primary) !important;
    }
    
    .hero-title,
    .section-title {
        color: var(--brand-blue) !important;
        -webkit-text-fill-color: var(--brand-blue) !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid var(--gray-200) !important;
    }
    
    .footer {
        background: white !important;
        color: var(--text-primary) !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
        --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
        --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
        --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
        --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
        --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    }
    
    .btn {
        border-width: 3px;
    }
    
    .form-input,
    .form-select {
        border-width: 3px;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero::before {
        animation: none;
    }
    
    .loading-spinner {
        animation: none;
        border-top-color: var(--brand-blue);
    }
}