:root {
    --primary-color: #f57c20;
    --secondary-color: #6897a3;
    --dark: #1a1a1a;
    --light: #f8f9fa;
    --gray: #6c757d;
    --white: #ffffff;
    --accent: #2d3748;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    padding: 10rem 0 8rem;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /* background-color: rgba(0, 0, 0, 0.4); Adjust opacity here */
    background: #040128;
    opacity: 0.6;
    z-index: 1;
}

.hero>* {
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    animation: slideInUp 1s ease-out;
}

.hero p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: slideInUp 1s ease-out 0.2s both;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    animation: slideInUp 1s ease-out 0.4s both;
}

.hero-cta:hover {
    background: #e66a0a;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(245, 124, 32, 0.3);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

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

/* Modern Counter Section */
.stats {
    background: var(--white);
    padding: 6rem 0;
    position: relative;
    /* margin-top: -4rem; */
    z-index: 10;
}

.stats-container {
    background: var(--white);
    border-radius: 24px;
    padding: 4rem 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0;
}

.stat-item {
    text-align: center;
    padding: 3rem 2rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background: rgba(0, 0, 0, 0.1);
}

.stat-item:hover {
    transform: translateY(-8px);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-item:nth-child(1) .stat-icon {
    background: rgba(245, 124, 32, 0.1);
    color: var(--primary-color);
}

.stat-item:nth-child(2) .stat-icon {
    background: rgba(104, 151, 163, 0.1);
    color: var(--secondary-color);
}

.stat-item:nth-child(3) .stat-icon {
    background: rgba(45, 55, 72, 0.1);
    color: var(--accent);
}

.stat-item:nth-child(4) .stat-icon {
    background: rgba(245, 124, 32, 0.1);
    color: var(--primary-color);
}

.stat-item:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
}

.counter-wrapper {
    margin-bottom: 1rem;
}

.counter {
    font-size: 4rem;
    font-weight: 900;
    display: block;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--dark), var(--gray));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.counter-suffix {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.stat-description {
    font-size: 0.9rem;
    color: rgba(108, 117, 125, 0.8);
    font-weight: 400;
}

/* Mission Section */
.mission {
    padding: 8rem 0;
    background: var(--light);
}

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

.mission-text h2 {
    font-size: 3.5rem;
    color: var(--dark);
    margin-bottom: 2rem;
    font-weight: 800;
    line-height: 1.1;
    position: relative;
}

.mission-text h2::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 80px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 3px;
}

.mission-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.mission-visual {
    background: var(--secondary-color);
    height: 500px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.mission-visual img {
    width: 16rem;
}


.mission-visual::after {
    content: "";
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

/* Services Section */
.services {
    padding: 8rem 0;
    background: var(--white);
}

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

.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: var(--gray);
    margin-bottom: 5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(245, 124, 32, 0.03),
            transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

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

.service-card:hover i {
    color: var(--primary-color);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    display: block;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
    font-weight: 700;
}

.service-card p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Why Choose Us */
.why-choose {
    padding: 8rem 0;

    background: #000;
    color: var(--white);
}

.why-choose .section-title {
    color: var(--white);
}

.why-choose .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.feature-card {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    background: var(--primary-color);
    transform: translateY(-8px);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    color: var(--white);
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    background: var(--white);
    color: var(--primary-color);
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.feature-card:hover p {
    color: var(--white);
}

/* What We Do */
.what-we-do {
    padding: 8rem 0;
    background: #383838;
    background: var(--accent);
    color: var(--white);
}

.what-we-do .section-title {
    color: var(--primary-color);
}

.what-we-do .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.process-timeline {
    margin-top: 5rem;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-number {
    width: 80px;
    height: 80px;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 2rem;
    margin-right: 3rem;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.timeline-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.timeline-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

/* Team Section */
.team {
    padding: 8rem 0;
    background: var(--light);
}

.team .section-title {
    color: var(--dark);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.team-member {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 2px solid rgba(0, 0, 0, 0.05);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.member-image {
    height: 280px;
    background: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.member-image::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.1));
}

.member-info {
    padding: 2rem;
    text-align: center;
}

.member-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-weight: 700;
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.member-description {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.6;
}

/* CTA Section */
.cta {
    padding: 8rem 0;
    background: var(--dark);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.cta p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: #e66a0a;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(245, 124, 32, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .mission-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .container {
        padding: 0 1rem;
    }

    .timeline-item {
        flex-direction: column;
        text-align: center;
    }

    .timeline-number {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }

    .section-title {
        font-size: 2.5rem;
    }

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

    .stats-container {
        padding: 3rem 1.5rem;
    }
}

/* Advanced animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card i {
    color: var(--secondary-color);
}