/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-gray);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--black);
}

h1 {
    font-size: var(--text-5xl);
}

h2 {
    font-size: var(--text-4xl);
}

h3 {
    font-size: var(--text-3xl);
}

h4 {
    font-size: var(--text-2xl);
}

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

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

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-align: center;
    font-family: var(--font-primary);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange-dark) 100%);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

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

.logo {
    height: 50px;
    width: auto;
}

.nav {
    display: none;
    gap: var(--space-lg);
}

.nav a {
    font-weight: 500;
    color: var(--dark-gray);
    transition: color var(--transition-fast);
}

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

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-blue);
}

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

    .mobile-menu-btn {
        display: none;
    }
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    margin-top: 70px;
}

.hero-content {
    display: grid;
    gap: var(--space-xl);
    align-items: center;
}

.hero-text h1 {
    margin-bottom: var(--space-md);
    color: var(--primary-blue);
}

.hero-text .subtitle {
    font-size: var(--text-xl);
    color: var(--gray);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

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

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

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

/* Section Styles */
.section {
    padding: var(--space-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-header h2 {
    margin-bottom: var(--space-sm);
    color: var(--primary-blue);
}

.section-header p {
    font-size: var(--text-lg);
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    gap: var(--space-lg);
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid var(--light-gray);
}

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

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue-light) 0%, var(--primary-blue) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    font-size: 1.5rem;
    color: var(--white);
}

.card h3 {
    margin-bottom: var(--space-sm);
    color: var(--primary-blue);
}

.card p {
    color: var(--gray);
    line-height: 1.7;
}

/* Testimonials */
.testimonial {
    background: var(--off-white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    position: relative;
}

.testimonial-text {
    font-size: var(--text-lg);
    font-style: italic;
    margin-bottom: var(--space-md);
    color: var(--dark-gray);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
}

.testimonial-info h4 {
    font-size: var(--text-base);
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    font-size: var(--text-sm);
    color: var(--gray);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: var(--space-3xl) 0;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: var(--space-md);
}

.cta-section p {
    font-size: var(--text-xl);
    margin-bottom: var(--space-xl);
    opacity: 0.95;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: var(--space-2xl) 0 var(--space-md);
}

.footer-content {
    display: grid;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: var(--space-md);
    font-size: var(--text-lg);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    transition: color var(--transition-fast);
}

.footer-section a:hover {
    color: var(--accent-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-blue);
}

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

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