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

:root {
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.top-bar-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.top-bar-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.top-bar-link:hover {
    color: #bfdbfe;
}

.top-bar-link .icon {
    width: 1rem;
    height: 1rem;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .logo {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

.logo-img {
    height: 3rem;
    width: auto;
    object-fit: contain;
}

.logo-tagline {
    font-size: 0.75rem;
    color: var(--text-gray);
    line-height: 1.2;
    font-weight: 500;
    margin: 0;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .logo-tagline {
        font-size: 0.7rem;
        white-space: normal;
    }
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn .icon {
    width: 1.5rem;
    height: 1.5rem;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
}

.nav-mobile.active {
    display: flex;
}

.nav-mobile .nav-link {
    padding: 0.5rem 0;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.5;
}

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

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

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

.btn-white:hover {
    background-color: #f3f4f6;
}

.btn-outline-white {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

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

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

.arrow {
    margin-left: 0.5rem;
}

/* ============================================
   BADGE
   ============================================ */
.badge {
    display: inline-block;
    background-color: rgba(30, 64, 175, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-badge {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    overflow: hidden;
    padding: 5rem 0;
}

@media (min-width: 768px) {
    .hero {
        padding: 8rem 0;
    }
}

.hero-background {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    overflow: hidden;
}

.hero-background::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,50 Q25,30 50,50 T100,50 L100,100 L0,100 Z' fill='white'/%3E%3C/svg%3E") no-repeat;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-description {
    font-size: 1.25rem;
    color: #bfdbfe;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.hero-stat-number {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: #bfdbfe;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-2xl);
}

.hero-badge-card {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background-color: white;
    color: var(--primary-color);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-xl);
}

.hero-badge-number {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.hero-badge-label {
    font-size: 0.875rem;
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-description {
    font-size: 1.25rem;
    color: var(--text-gray);
    max-width: 48rem;
    margin: 0 auto;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 5rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: var(--shadow-xl);
}

.service-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.service-icon {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    width: 3rem;
    height: 3rem;
    background-color: white;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.service-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.service-content {
    padding: 1.5rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.service-description {
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.service-link:hover {
    color: var(--primary-dark);
}

.additional-services {
    margin-top: 5rem;
}

.additional-services-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.additional-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 64rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .additional-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.additional-service-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.additional-service-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(30, 64, 175, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.additional-service-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.additional-service-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.additional-service-description {
    font-size: 0.875rem;
    color: var(--text-gray);
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.steps-container {
    max-width: 75rem;
    margin: 0 auto;
}

.step {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .step {
        grid-template-columns: 1fr 1fr;
    }
}

.step-reverse {
    direction: rtl;
}

.step-reverse > * {
    direction: ltr;
}

@media (min-width: 768px) {
    .step-reverse .step-content {
        order: 2;
    }
    
    .step-reverse .step-image {
        order: 1;
    }
}

.step-number {
    font-size: 3.75rem;
    font-weight: 700;
    color: rgba(30, 64, 175, 0.1);
    margin-bottom: 1rem;
    line-height: 1;
}

.step-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.step-description {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.step-image {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.step-image img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 0;
}

.stats-header {
    text-align: center;
    margin-bottom: 3rem;
}

.stats-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stats-subtitle {
    color: #bfdbfe;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

.stat-number {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .stat-number {
        font-size: 3rem;
    }
}

.stat-label {
    color: #bfdbfe;
    font-size: 0.875rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: 5rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
}

.about-description {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-dark);
}

.feature-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.about-image {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.about-badge-card {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 18rem;
}

.about-badge-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.about-badge-icon svg {
    width: 2rem;
    height: 2rem;
}

.about-badge-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.about-badge-label {
    font-size: 0.875rem;
    color: var(--text-gray);
}

.about-decoration {
    position: absolute;
    top: -1.5rem;
    right: -1.5rem;
    width: 8rem;
    height: 8rem;
    background-color: #bfdbfe;
    border-radius: 0.5rem;
    z-index: -1;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 75rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-form-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
}

@media (min-width: 640px) {
    .contact-form-card {
        padding: 2rem;
    }
}

.contact-form-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 8rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary-color);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.contact-info-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-info-text {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info-text:hover {
    color: var(--primary-color);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 2.5rem;
    width: auto;
    object-fit: contain;
}


.footer-tagline {
    font-size: 0.875rem;
    color: #bfdbfe;
    margin-bottom: 1rem;
}

.footer-description {
    font-size: 0.875rem;
    color: #bfdbfe;
}

.footer-column-title {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #bfdbfe;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #3b82f6;
    padding-top: 2rem;
    text-align: center;
    color: #bfdbfe;
    font-size: 0.875rem;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.875rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
}
