/* ===================================
   CSS Variables
   =================================== */
:root {
    --primary: #2C3E50;
    --accent: #EA580C;
    --accent-dark: #C2410C;
    --light-gray: #F5F5F5;
    --medium-gray: #9CA3AF;
    --dark-gray: #374151;
    --white: #FFFFFF;
    --text-dark: #1F2937;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ===================================
   Container & Layout
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--medium-gray);
}

/* ===================================
   Navigation
   =================================== */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: -5px;
}

.logo span {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 500;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    color: var(--primary);
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    transition: all 0.3s ease;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: 25px;
    font-weight: 800;
}

.hero-text .highlight {
    color: var(--accent);
    display: block;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 35px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image img {
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.02);
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(234, 88, 12, 0.3);
}

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

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

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* ===================================
   Stats Section
   =================================== */
.stats {
    background: var(--primary);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-box {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ===================================
   Services Grid
   =================================== */
.services-preview {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    border: 2px solid var(--light-gray);
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.arrow-link {
    color: var(--accent);
    font-weight: 600;
    display: inline-block;
}

.arrow-link:hover {
    transform: translateX(5px);
}

/* ===================================
   About Section
   =================================== */
.about {
    background: var(--light-gray);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.lead {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

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

.feature h4 {
    color: var(--primary);
    margin-bottom: 5px;
}

.feature p {
    color: var(--dark-gray);
    font-size: 0.95rem;
}

/* ===================================
   Testimonials
   =================================== */
.testimonials {
    background: var(--white);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial {
    background: var(--light-gray);
    padding: 35px;
    border-radius: 12px;
    position: relative;
}

.quote {
    font-size: 4rem;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 15px;
    opacity: 0.3;
}

.testimonial p {
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.author strong {
    display: block;
    color: var(--primary);
    margin-bottom: 5px;
}

.author span {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

/* ===================================
   CTA Section
   =================================== */
.cta {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.95;
}

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

.cta .btn-primary:hover {
    background: var(--light-gray);
    transform: translateY(-3px);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.footer-col h4 {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--medium-gray);
}

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

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

/* ===================================
   Animations
   =================================== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.fade-in {
    animation: fadeIn 0.8s ease-out 0.2s backwards;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 968px) {
    .hero-content,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}
