


/* ================= GENERAL ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #222;
    background: #fff;
}

.container {
    width: 90%;
    max-width: 1150px;
    margin: auto;
}

a {
    text-decoration: none;
}

section {
    padding: 90px 0;
}


/* ================= HEADER ================= */

.header {
    background: #ffffff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 26px;
    font-weight: bold;
    color: #111827;
}

.logo span {
    color: #2563eb;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: #333;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #2563eb;
}

.nav-btn {
    background: #2563eb;
    color: #fff;
    padding: 11px 22px;
    border-radius: 6px;
    font-weight: bold;
}

.nav-btn:hover {
    background: #1d4ed8;
}


/* ================= HERO ================= */

.hero {
    min-height: 700px;
    display: flex;
    align-items: center;
    background: linear-gradient(
        135deg,
        #eff6ff,
        #ffffff
    );
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 70px;
    align-items: center;
}

.small-title,
.section-title {
    color: #2563eb;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: 60px;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #111827;
}

.hero h1 span {
    display: block;
    color: #2563eb;
}

.hero-description {
    font-size: 18px;
    color: #555;
    max-width: 600px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.3s;
}

.primary-btn {
    background: #2563eb;
    color: #fff;
}

.primary-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.secondary-btn {
    border: 2px solid #2563eb;
    color: #2563eb;
}

.secondary-btn:hover {
    background: #2563eb;
    color: #fff;
}


/* ================= HERO CARD ================= */

.hero-card {
    background: #fff;
    padding: 45px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.card-icon {
    font-size: 55px;
    margin-bottom: 20px;
}

.hero-card h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.hero-card p {
    color: #666;
    margin-bottom: 30px;
}

.stats {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #ddd;
    padding-top: 25px;
}

.stats div {
    text-align: center;
}

.stats strong {
    display: block;
    font-size: 24px;
    color: #2563eb;
}

.stats small {
    color: #777;
}


/* ================= ABOUT ================= */

.about {
    background: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.image-box {
    height: 420px;
    border-radius: 20px;
    background: linear-gradient(
        135deg,
        #2563eb,
        #60a5fa
    );
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
}

.about-text h2,
.section-heading h2 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.about-text h2 span,
.section-heading h2 span {
    color: #2563eb;
}

.about-text p {
    color: #666;
    margin-bottom: 20px;
}


/* ================= SERVICES ================= */

.services {
    background: #f8fafc;
}

.section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-heading > p:last-child {
    color: #666;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.06);
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.service-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
}

.service-card a {
    color: #2563eb;
    font-weight: bold;
}


/* ================= CTA ================= */

.cta {
    background: #2563eb;
    color: #fff;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta .section-title {
    color: #dbeafe;
}

.cta h2 {
    font-size: 40px;
    margin-bottom: 10px;
}

.cta p {
    color: #dbeafe;
}

.cta-btn {
    background: #fff;
    color: #2563eb;
}

.cta-btn:hover {
    background: #eff6ff;
}


/* ================= PORTFOLIO ================= */

.portfolio {
    background: #fff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.portfolio-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.portfolio-image {
    height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    font-weight: bold;
}

.portfolio-image.one {
    background: linear-gradient(
        135deg,
        #1e3a8a,
        #3b82f6
    );
}

.portfolio-image.two {
    background: linear-gradient(
        135deg,
        #312e81,
        #6366f1
    );
}

.portfolio-image.three {
    background: linear-gradient(
        135deg,
        #075985,
        #0ea5e9
    );
}

.portfolio-info {
    padding: 25px;
}

.portfolio-info p {
    color: #777;
}


/* ================= CONTACT ================= */

.contact {
    background: #f8fafc;
}

.contact-form {
    max-width: 850px;
    margin: auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    outline: none;
    font-size: 16px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #2563eb;
}

.contact-form textarea {
    resize: vertical;
}


/* ================= FOOTER ================= */

footer {
    background: #111827;
    color: #fff;
    padding-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
}

footer .logo {
    color: #fff;
    display: inline-block;
    margin-bottom: 15px;
}

.footer-content p {
    color: #cbd5e1;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links h4 {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cbd5e1;
}

.footer-links a:hover {
    color: #fff;
}

.copyright {
    border-top: 1px solid #374151;
    text-align: center;
    padding: 20px;
    color: #9ca3af;
}


/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {

    .nav-links {
        gap: 15px;
    }

    .hero h1 {
        font-size: 45px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content {
        gap: 40px;
    }
}


@media (max-width: 768px) {

    .header {
        position: relative;
    }

    .nav {
        flex-direction: column;
        gap: 20px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-btn {
        display: none;
    }

    .hero {
        padding: 70px 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-card {
        max-width: 500px;
        margin: auto;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-text {
        text-align: center;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        align-items: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 480px) {

    section {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 38px;
    }

    .about-text h2,
    .section-heading h2 {
        font-size: 32px;
    }

    .hero-card {
        padding: 30px 20px;
    }

    .stats strong {
        font-size: 20px;
    }
}


