/* ============================================
   INSTANT GROWTH CREDFIN - STYLES
   A Professional Finance Solutions Website
   ============================================ */

/* CSS Variables */
:root {
    /* Primary Colors */
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;
    
    /* Gold Accent */
    --gold-300: #fcd34d;
    --gold-400: #fbbf24;
    --gold-500: #d4a017;
    --gold-600: #ca8a04;
    
    /* Neutral Colors */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Semantic Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', serif;
    
    /* Spacing */
    --section-padding: 100px;
    --container-max: 1280px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-base: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-base: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: #ffffff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--gold-500) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-tag {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-600);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-desc {
    font-size: 18px;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 60px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-base);
    transition: var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-800) 100%);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary-600);
    color: var(--primary-600);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-600);
    color: white;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

.btn-icon {
    width: 18px;
    height: 18px;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
}

.logo-icon {
    width: 40px;
    height: 40px;
    color: var(--primary-600);
}

.logo-accent {
    color: var(--gold-500);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-600);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-600);
    transition: var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-600);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-cta {
    padding: 10px 20px;
    font-size: 14px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    transition: var(--transition-base);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, var(--primary-50) 0%, #ffffff 50%, var(--primary-50) 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 160, 23, 0.1) 0%, transparent 50%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-700);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--gray-500);
    margin-top: 4px;
}

.hero-image {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    padding: 40px;
}

.hero-chart {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 30px;
    position: relative;
}

.chart-svg {
    width: 100%;
    height: auto;
}

.chart-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 2s ease forwards 0.5s;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

.floating-card svg {
    width: 24px;
    height: 24px;
    color: var(--primary-600);
}

.floating-card span {
    font-weight: 600;
    color: var(--gray-800);
}

.card-1 {
    top: 20px;
    left: 0;
    animation-delay: 0s;
}

.card-1 span {
    color: var(--success);
}

.card-2 {
    bottom: 40px;
    right: -20px;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: var(--section-padding) 0;
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-shape {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-100) 0%, var(--primary-200) 100%);
    border-radius: var(--radius-xl);
    z-index: 0;
}

.about-illustration {
    position: relative;
    z-index: 1;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.about-illustration svg {
    width: 100%;
    height: auto;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-600) 100%);
    color: white;
    padding: 20px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.exp-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.exp-text {
    font-size: 13px;
    opacity: 0.9;
}

.about-text {
    font-size: 16px;
    color: var(--gray-600);
    margin-bottom: 16px;
}

.about-features {
    margin: 32px 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.about-feature svg {
    width: 24px;
    height: 24px;
    color: var(--success);
    flex-shrink: 0;
}

.about-feature span {
    font-weight: 500;
    color: var(--gray-700);
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */
.why-choose {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.benefit-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-base);
    transition: var(--transition-base);
    border: 1px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-100);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 100%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.benefit-card:hover .benefit-icon {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
}

.benefit-icon svg {
    width: 36px;
    height: 36px;
    color: var(--primary-600);
    transition: var(--transition-base);
}

.benefit-card:hover .benefit-icon svg {
    color: white;
}

.benefit-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.benefit-desc {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: var(--section-padding) 0;
    background: white;
}

.service-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 50px;
}

.service-tab {
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-600);
    background: var(--gray-100);
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

.service-tab:hover {
    color: var(--primary-600);
    background: var(--primary-50);
}

.service-tab.active {
    color: white;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.service-category {
    display: none;
}

.service-category.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-600) 0%, var(--gold-500) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-base);
}

.service-card:hover {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--primary-600);
}

.service-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary-600);
    transition: var(--transition-base);
}

.service-card:hover .service-icon svg {
    color: white;
}

.service-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-600);
}

.service-link svg {
    width: 16px;
    height: 16px;
    transition: var(--transition-base);
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-800) 100%);
    color: white;
}

.testimonials .section-tag {
    color: var(--gold-400);
}

.testimonials .section-title {
    color: white;
}

.testimonials .section-desc {
    color: rgba(255, 255, 255, 0.7);
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    flex: 0 0 100%;
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: var(--radius-xl);
    text-align: center;
}

.testimonial-rating {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 24px;
}

.testimonial-rating svg {
    width: 24px;
    height: 24px;
    color: var(--gold-500);
}

.testimonial-text {
    font-size: 18px;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 32px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--primary-100);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar svg {
    width: 32px;
    height: 32px;
    color: var(--primary-600);
}

.author-info {
    text-align: left;
}

.author-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
}

.author-title {
    font-size: 14px;
    color: var(--gray-500);
}

.testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}

.slider-btn {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.slider-btn:hover {
    background: white;
}

.slider-btn svg {
    width: 24px;
    height: 24px;
    color: white;
    transition: var(--transition-base);
}

.slider-btn:hover svg {
    color: var(--primary-600);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    transition: var(--transition-base);
    cursor: pointer;
}

.slider-dot.active {
    width: 30px;
    background: var(--gold-500);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.faq-question {
    width: 100%;
    padding: 24px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-800);
    text-align: left;
    transition: var(--transition-base);
}

.faq-question:hover {
    color: var(--primary-600);
}

.faq-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-600);
    flex-shrink: 0;
    transition: var(--transition-base);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 30px 24px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: var(--section-padding) 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-text {
    font-size: 16px;
    color: var(--gray-600);
    margin-bottom: 40px;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary-600);
}

.contact-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.contact-item a,
.contact-item p {
    font-size: 16px;
    color: var(--gray-800);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--primary-600);
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--gray-50);
    border-radius: var(--radius-base);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
}

.badge svg {
    width: 20px;
    height: 20px;
    color: var(--success);
}

.contact-form-wrapper {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-100);
    position: relative;
}

.form-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-base);
    font-size: 15px;
    color: var(--gray-800);
    transition: var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    text-align: center;
    font-size: 14px;
    color: var(--gray-500);
    margin-top: 20px;
}

.form-note a {
    color: var(--primary-600);
    font-weight: 600;
}

.form-success {
    position: absolute;
    inset: 0;
    background: white;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-xl);
    text-align: center;
    padding: 40px;
}

.form-success.show {
    display: flex;
    animation: fadeIn 0.4s ease;
}

.form-success svg {
    width: 80px;
    height: 80px;
    color: var(--success);
    margin-bottom: 24px;
}

.form-success h3 {
    font-size: 28px;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.form-success p {
    font-size: 16px;
    color: var(--gray-600);
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary-900) 100%);
}

.newsletter-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.newsletter-content > p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
}

.newsletter-form {
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px;
}

.newsletter-fields {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.newsletter-form .form-group {
    margin-bottom: 0;
}

.newsletter-form input[type="text"],
.newsletter-form input[type="email"],
.newsletter-form input[type="date"] {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-base);
    font-size: 15px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
    text-align: left;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--primary-600);
}

.form-checkbox label {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.5;
}

.newsletter-success {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    background: var(--success);
    border-radius: var(--radius-base);
    color: white;
    margin-top: 20px;
}

.newsletter-success.show {
    display: flex;
    animation: fadeIn 0.4s ease;
}

.newsletter-success svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.newsletter-success p {
    font-size: 15px;
    font-weight: 500;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--gray-900);
    color: white;
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    color: white;
}

.footer-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-base);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.social-link:hover {
    background: var(--primary-600);
}

.social-link svg {
    width: 20px;
    height: 20px;
    color: white;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    color: white;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: white;
    padding-left: 4px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--primary-400);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact a:hover {
    color: white;
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-base);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    color: white;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    :root {
        --section-padding: 80px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        gap: 0;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-links.show {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid var(--gray-100);
    }
    
    .header-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtitle {
        margin: 0 auto 32px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        display: none;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-image {
        order: 2;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .navbar {
        height: 70px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .service-tabs {
        gap: 8px;
    }
    
    .service-tab {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 30px 20px;
    }
    
    .newsletter-fields {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-lg {
        width: 100%;
    }
    
    .trust-badges {
        flex-direction: column;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
    
    .newsletter-form {
        padding: 20px;
    }
}

/* Animations on Scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Print Styles */
@media print {
    .header,
    .hero-wave,
    .back-to-top,
    .newsletter {
        display: none;
    }
    
    body {
        font-size: 12pt;
        color: black;
    }
    
    a {
        text-decoration: underline;
    }
}

   /* Modal styling */
        .modal {
            display: none; /* Hidden by default */
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0,0,0,0.6);
        }

        .modal-content {
            background-color: #fff;
            margin: 10% auto;
            padding: 20px 30px;
            border-radius: 8px;
            width: 90%;
            max-width: 600px;
            position: relative;
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
            animation: fadeIn 0.3s;
        }

        @keyframes fadeIn {
            from {opacity: 0; transform: translateY(-50px);}
            to {opacity: 1; transform: translateY(0);}
        }

        /* Close button */
        .close-btn {
            position: absolute;
            top: 10px;
            right: 15px;
            font-size: 24px;
            color: #333;
            cursor: pointer;
        }

        .modal h2 {
            margin-top: 0;
        }

        .modal p {
            line-height: 1.6;
        }

        .modal a {
            color: #007bff;
            text-decoration: none;
        }

        .modal a:hover {
            text-decoration: underline;
        }