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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1a1a1a;
    background-color: #ffffff;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

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

@media (min-width: 1280px) {
    .container {
        max-width: 1600px;
    }
}

/* Buttons */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

@media (min-width: 768px) {
    .btn {
        padding: 1.125rem 2.5rem;
        font-size: 1.063rem;
    }
}

@media (min-width: 1024px) {
    .btn {
        padding: 1.25rem 3rem;
        font-size: 1.125rem;
    }
}

.btn-primary {
    background-color: #2563eb;
    color: white;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.btn-outline {
    border: 2px solid #2563eb;
    color: #2563eb;
    background-color: transparent;
}

.btn-outline:hover {
    background-color: #eff6ff;
}

.w-full {
    width: 100%;
}

/* Header */
.header {
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a1a;
}

@media (min-width: 768px) {
    .logo {
        font-size: 1.25rem;
    }
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.125rem;
}

@media (min-width: 768px) {
    .logo-icon {
        font-size: 1.25rem;
    }
}

.nav-desktop {
    display: none;
    gap: 1.5rem;
}

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

.nav-link {
    background: none;
    border: none;
    color: #4b5563;
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    color: #2563eb;
}

.header .btn-primary {
    display: none;
}

@media (min-width: 768px) {
    .header .btn-primary {
        display: inline-flex;
        padding: 0.625rem 1.5rem;
        font-size: 0.938rem;
    }
}

.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #1a1a1a;
}

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

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 0;
    border-top: 1px solid #e5e7eb;
}

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

.nav-link-mobile {
    background: none;
    border: none;
    color: #4b5563;
    cursor: pointer;
    font-size: 1rem;
    text-align: left;
    padding: 0.75rem 0;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-link-mobile:hover {
    color: #2563eb;
}

@media (min-width: 768px) {
    .nav-mobile {
        display: none !important;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 50%, #f0f9ff 100%);
    padding: 8rem 0 5rem;
}

@media (min-width: 768px) {
    .hero {
        padding: 5rem 0;
        min-height: 95vh;
    }
}

.hero-background {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    pointer-events: none;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 5%;
    left: 5%;
    width: 18rem;
    height: 18rem;
    background: #2563eb;
    border-radius: 50%;
    filter: blur(3rem);
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 18rem;
    height: 18rem;
    background: #60a5fa;
    border-radius: 50%;
    filter: blur(3rem);
}

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

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

.hero-badge {
    display: inline-block;
    background-color: #dbeafe;
    color: #1e40af;
    padding: 0.625rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.938rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
    .hero-badge {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
}

.hero-text h1 {
    font-size: 2.25rem;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    color: #1a1a1a;
}

@media (min-width: 640px) {
    .hero-text h1 {
        font-size: 3rem;
    }
}

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

@media (min-width: 1024px) {
    .hero-text h1 {
        font-size: 4.5rem;
    }
}

.hero-text p {
    font-size: 1.063rem;
    color: #4b5563;
    margin-bottom: 2rem;
    line-height: 1.8;
}

@media (min-width: 768px) {
    .hero-text p {
        font-size: 1.25rem;
        margin-bottom: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-text p {
        font-size: 1.375rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        gap: 1.25rem;
    }
}

@media (min-width: 768px) {
    .hero-buttons {
        margin-bottom: 3rem;
    }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding-top: 1.5rem;
    color: #1e40af;
}

@media (min-width: 640px) {
    .hero-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-stats {
        gap: 3rem;
    }
}

.stat {
    text-align: left;
    color: #2563eb;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2563eb;
    line-height: 1;
    margin-bottom: 0.625rem;
}

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

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

.stat-label {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.4;
}

@media (min-width: 640px) {
    .stat-label {
        font-size: 0.938rem;
    }
}

@media (min-width: 1024px) {
    .stat-label {
        font-size: 1rem;
    }
}

.hero-image {
    position: relative;
    display: none;
}

@media (min-width: 768px) {
    .hero-image {
        display: block;
    }
}

.hero-image img {
    width: 100%;
    height: 28rem;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1024px) {
    .hero-image img {
        height: 34rem;
    }
}

@media (min-width: 1280px) {
    .hero-image img {
        height: 38rem;
    }
}

.hero-card {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 20;
}

.hero-card-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
}

.hero-card-label {
    font-size: 0.875rem;
    color: #4b5563;
    margin-top: 0.5rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: #2563eb;
    font-size: 1.5rem;
    display: none;
}

@media (min-width: 768px) {
    .scroll-indicator {
        display: block;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* Services Section */
.services {
    padding: 4rem 0;
    background-color: #ffffff;
}

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

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

@media (min-width: 768px) {
    .section-header {
        margin-bottom: 4rem;
    }
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
    line-height: 1.3;
}

@media (min-width: 640px) {
    .section-header h2 {
        font-size: 2.5rem;
    }
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 3rem;
        margin-bottom: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .section-header h2 {
        font-size: 3.5rem;
    }
}

.section-header p {
    font-size: 1.063rem;
    color: #4b5563;
    max-width: 50rem;
    margin: 0 auto;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .section-header p {
        font-size: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .section-header p {
        font-size: 1.375rem;
    }
}

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

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

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

.service-card {
    padding: 2rem;
    border-radius: 0.75rem;
    background-color: #f3f4f6;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
}

@media (min-width: 768px) {
    .service-card {
        padding: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .service-card {
        padding: 3rem;
    }
}

.service-card i {
    font-size: 3rem;
    margin-bottom: 1.25rem;
    color: #4b5563;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .service-card i {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .service-card i {
        font-size: 4rem;
        margin-bottom: 1.5rem;
    }
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.875rem;
    color: #1a1a1a;
}

@media (min-width: 768px) {
    .service-card h3 {
        font-size: 1.375rem;
    }
}

@media (min-width: 1024px) {
    .service-card h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
}

.service-card p {
    font-size: 0.938rem;
    color: #4b5563;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .service-card p {
        font-size: 1rem;
    }
}

@media (min-width: 1024px) {
    .service-card p {
        font-size: 1.063rem;
        line-height: 1.7;
    }
}

.service-card.active {
    background-color: #2563eb;
    color: white;
    transform: scale(1.02);
    box-shadow: 0 20px 25px rgba(37, 99, 235, 0.3);
    border-color: #2563eb;
}

@media (min-width: 1024px) {
    .service-card.active {
        transform: scale(1.05);
    }
}

.service-card.active i {
    color: white;
}

.service-card.active h3 {
    color: white;
}

.service-card.active p {
    color: #dbeafe;
}

.service-card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.service-card.active:hover {
    transform: scale(1.02);
}

@media (min-width: 1024px) {
    .service-card.active:hover {
        transform: scale(1.05);
    }
}

/* Projects Section */
.projects {
    padding: 4rem 0;
    background-color: #f9fafb;
}

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

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

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

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

.project-card {
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
}

.project-card:hover {
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.project-image {
    position: relative;
    height: 12rem;
    overflow: hidden;
    background-color: #f3f4f6;
}

@media (min-width: 768px) {
    .project-image {
        height: 15rem;
    }
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-category {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background-color: #2563eb;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

@media (min-width: 768px) {
    .project-category {
        top: 1rem;
        right: 1rem;
    }
}

.project-info {
    padding: 1.25rem;
}

@media (min-width: 768px) {
    .project-info {
        padding: 1.5rem;
    }
}

.project-info h3 {
    font-size: 1.063rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

@media (min-width: 768px) {
    .project-info h3 {
        font-size: 1.125rem;
    }
}

.project-info p {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.5;
}

/* About Section */
.about {
    padding: 4rem 0;
    background-color: #ffffff;
}

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

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

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

.about-image {
    display: none;
}

@media (min-width: 768px) {
    .about-image {
        display: block;
    }
}

.about-image img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1024px) {
    .about-image img {
        height: 24rem;
    }
}

.about-text h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
    line-height: 1.3;
}

@media (min-width: 640px) {
    .about-text h2 {
        font-size: 2rem;
    }
}

@media (min-width: 768px) {
    .about-text h2 {
        font-size: 2.25rem;
    }
}

.about-text p {
    font-size: 0.938rem;
    color: #4b5563;
    margin-bottom: 1.75rem;
    line-height: 1.8;
}

@media (min-width: 768px) {
    .about-text p {
        font-size: 1.0625rem;
        margin-bottom: 2rem;
    }
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .about-features {
        gap: 1.5rem;
    }
}

.feature {
    display: flex;
    gap: 1rem;
}

.feature-icon {
    width: 2.75rem;
    height: 2.75rem;
    background-color: #dbeafe;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #2563eb;
    font-size: 1.375rem;
}

@media (min-width: 768px) {
    .feature-icon {
        width: 3rem;
        height: 3rem;
        font-size: 1.5rem;
    }
}

.feature-text h3 {
    font-size: 0.938rem;
    margin-bottom: 0.25rem;
    color: #1a1a1a;
}

@media (min-width: 768px) {
    .feature-text h3 {
        font-size: 1rem;
    }
}

.feature-text p {
    font-size: 0.813rem;
    color: #4b5563;
    margin: 0;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .feature-text p {
        font-size: 0.875rem;
    }
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

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

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
    .contact-info {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 768px) {
    .contact-info {
        gap: 2rem;
        margin-bottom: 3rem;
    }
}

.contact-card {
    background: white;
    padding: 1.75rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    text-align: center;
}

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

.contact-card i {
    font-size: 2.25rem;
    color: #2563eb;
    margin-bottom: 0.875rem;
}

@media (min-width: 768px) {
    .contact-card i {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
}

.contact-card h3 {
    font-size: 1.063rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

@media (min-width: 768px) {
    .contact-card h3 {
        font-size: 1.125rem;
    }
}

.contact-card p {
    color: #4b5563;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .contact-card p {
        font-size: 0.95rem;
    }
}

.contact-form-wrapper {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 1.75rem;
    max-width: 42rem;
    margin: 0 auto;
}

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

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

@media (min-width: 768px) {
    .contact-form {
        gap: 1.5rem;
    }
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.938rem;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .contact-form input,
    .contact-form textarea {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-form textarea {
    resize: none;
    min-height: 120px;
}

@media (min-width: 768px) {
    .contact-form textarea {
        min-height: 140px;
    }
}

/* Footer */
.footer {
    background-color: #111827;
    color: white;
    padding: 2.5rem 0 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer {
        padding: 3rem 0 1rem;
    }
}

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

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

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

.footer-section {
    text-align: center;
}

.footer-section h4 {
    font-size: 1.063rem;
    margin-bottom: 1rem;
    color: white;
}

@media (min-width: 768px) {
    .footer-section h4 {
        font-size: 1.125rem;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .footer-logo {
        font-size: 1.25rem;
    }
}

.footer-logo i {
    font-size: 1.375rem;
}

@media (min-width: 768px) {
    .footer-logo i {
        font-size: 1.5rem;
    }
}

.footer-section p {
    color: #9ca3af;
    font-size: 0.875rem;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .footer-section p {
        font-size: 0.95rem;
    }
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul button {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 0.875rem;
    transition: color 0.3s ease;
    text-align: center;
    width: 100%;
}

@media (min-width: 768px) {
    .footer-section ul button {
        font-size: 0.95rem;
    }
}

.footer-section ul button:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1.5rem;
    text-align: center;
    color: #9ca3af;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        padding-top: 2rem;
    }
}

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

    .section-header h2 {
        font-size: 1.75rem;
    }

    .about-text h2 {
        font-size: 1.75rem;
    }
}

/* Prevent horizontal scroll */
body {
    overflow-x: hidden;
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #2563eb;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1d4ed8;
}