@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
    scrollbar-width: none;
}

body {
    background-color: #fdfdfd;
    color: #333;
    font-family: "Roboto", sans-serif;
    overflow-x: hidden;
    -ms-overflow-style: none;
}

body::-webkit-scrollbar {
    width: 0;
    height: 0;
}

section {
    scroll-margin-top: 96px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    padding: 0 20px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    height: 80px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
}

.navbar ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

.navbar a {
    color: #555;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.navbar a:hover,
.navbar a.active {
    color: #007bff;
}

.hero {
    display: flex;
    justify-content: center;
    padding: 160px 20px 80px;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    margin-bottom: 20px;
    color: #222;
    font-size: 48px;
    line-height: 1.2;
}

.hero-text h1 span,
.about-content h2 span,
.section-heading h2 span,
.services-header h2 span,
.contact-content h2 span {
    color: #007bff;
}

.hero-text p {
    margin-bottom: 30px;
    color: #666;
    font-size: 18px;
    line-height: 1.6;
}

.btn-group {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    border: 2px solid #007bff;
    background-color: #007bff;
    color: #fff;
}

.btn-primary:hover {
    border-color: #0056b3;
    background-color: #0056b3;
}

.btn-secondary {
    border: 2px solid #007bff;
    background-color: transparent;
    color: #007bff;
}

.btn-secondary:hover {
    background-color: #007bff;
    color: #fff;
}

.hero-image {
    display: flex;
    flex: 1;
    justify-content: center;
    perspective: 1000px;
}

.hero-image img {
    width: 400px;
    height: 400px;
    border: 8px solid #fff;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background-color: #e0e0e0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    object-fit: cover;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out, box-shadow 0.3s ease;
}

.hero-image img:hover {
    box-shadow: 0 30px 60px rgba(0, 123, 255, 0.3);
}

.about {
    padding: 100px 20px;
    background-color: #fff;
}

.about-container {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    flex: 1.5;
}

.about-content h2 {
    margin-bottom: 20px;
    color: #222;
    font-size: 36px;
}

.about-content p {
    margin-bottom: 20px;
    color: #666;
    font-size: 17px;
    line-height: 1.8;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.skill-tag {
    padding: 8px 16px;
    border: 1px solid #d0e2ff;
    border-radius: 50px;
    background-color: #eef6ff;
    color: #007bff;
    font-size: 14px;
    font-weight: 600;
}

.about-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    padding: 25px;
    border: 1px solid #007bff;
    border-radius: 30px 10px 30px 30px;
    background-color: #f8f9fa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.info-card h3 {
    margin-bottom: 10px;
    color: #333;
    font-size: 18px;
}

.info-card p {
    color: #777;
    font-size: 15px;
    line-height: 1.5;
}

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

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

::-webkit-scrollbar {
    width: 0;
    height: 0;
}

::-webkit-scrollbar-track,
::-webkit-scrollbar-thumb {
    background: transparent;
    box-shadow: none;
}

.mobile-nav {
    display: none;
}

.mobile-nav ul {
    display: flex;
    gap: 0;
    list-style: none;
}

.mobile-nav a {
    color: #555;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: #007bff;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 80px;
    }

    .navbar {
        display: none;
    }

    .mobile-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        z-index: 1000;
        width: 100%;
        height: 80px;
        background-color: #fff;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    }

    .mobile-nav ul {
        width: 100%;
        justify-content: space-around;
        align-items: center;
    }

    .mobile-nav a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        padding: 0 10px;
    }
    .header-container {
        height: auto;
        min-height: 80px;
        display: flex;
        justify-content: space-between;
        gap: 14px;
        padding: 14px 0;
    }

    .navbar ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px 22px;
    }

    .hero {
        padding-top: 190px;
    }

    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .btn-group {
        justify-content: center;
    }

    .hero-image img {
        width: 250px;
        height: 250px;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .skills-list {
        justify-content: center;
    }

    .about-info {
        width: 100%;
    }
}



/* Mobile social icons in header */
.social-links {
    display: none;
    gap: 12px;
    align-items: center;
}
.social-links .social-link {
    color: #555;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: background-color 0.2s ease, color 0.2s ease;
    text-decoration: none;
}
.social-links .social-link i {
    line-height: 1;
}
.social-links a:nth-child(1):hover {
    color: #fff;
    background-color: #007bff;
}

.social-links a:nth-child(2):hover {
    color: #fff;
    background-color: red;
}

.social-links a:nth-child(3):hover {
    color: #222;
    background-color: #fffc00;
}

/* show in header on small screens */
@media (max-width: 768px) {
    .social-links {
        display: flex;
        order: 2;
    }
    .header-container {
        align-items: center;
    }


}

/* Shared section styling */
.section-label {
    margin-bottom: 10px;
    color: #007bff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.section-heading {
    max-width: 680px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-heading h2,
.services-header h2,
.contact-content h2 {
    margin-bottom: 15px;
    color: #222;
    font-size: 36px;
    line-height: 1.2;
}

.section-heading p,
.services-header p,
.contact-content p {
    color: #666;
    font-size: 18px;
    line-height: 1.7;
}

.section-heading .section-label,
.services-header .section-label,
.contact-content .section-label {
    margin-bottom: 10px;
    color: #007bff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

/* Services */
.services {
    padding: 100px 20px;
    background-color: #f8fbff;
}

.services-container,
.projects-container,
.process-container,
.contact-container,
.footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.services-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 55px;
}

.services-header > p {
    max-width: 520px;
}

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

.service-card {
    position: relative;
    overflow: hidden;
    min-height: 250px;
    padding: 34px 28px;
    border: 1px solid #e4efff;
    border-radius: 18px;
    background-color: #fff;
    text-align: left;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card::after {
    content: "";
    position: absolute;
    right: -38px;
    bottom: -38px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background-color: #eef6ff;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #007bff;
    box-shadow: 0 18px 38px rgba(0, 123, 255, 0.12);
}

.service-card:hover::after {
    transform: scale(1.2);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 24px;
    border-radius: 16px;
    background-color: #eef6ff;
    color: #007bff;
    font-size: 0;
}

.service-icon::before {
    font-family: "Font Awesome 6 Free";
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
}

.service-card:nth-child(1) .service-icon::before {
    content: "\f121";
}

.service-card:nth-child(2) .service-icon::before {
    content: "\f53f";
}

.service-card:nth-child(3) .service-icon::before {
    content: "\f3cd";
}

.service-card:nth-child(4) .service-icon::before {
    content: "\f201";
}

.service-card:nth-child(5) .service-icon::before {
    content: "\f1e6";
}

.service-card:nth-child(6) .service-icon::before {
    content: "\f3ed";
}

.service-card h3 {
    position: relative;
    z-index: 1;
    margin-bottom: 14px;
    color: #222;
    font-size: 22px;
}

.service-card p {
    position: relative;
    z-index: 1;
    color: #666;
    font-size: 16px;
    line-height: 1.7;
}

/* Projects */
.projects {
    padding: 100px 20px;
    background-color: #fff;
}

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

.project-card {
    padding: 30px;
    border: 1px solid #e8edf5;
    border-radius: 18px;
    background-color: #fff;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: #007bff;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.08);
}

.project-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 26px;
    color: #007bff;
    font-size: 14px;
    font-weight: 700;
}

.project-topline i {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #eef6ff;
}

.project-card h3 {
    margin-bottom: 14px;
    color: #222;
    font-size: 22px;
}

.project-card p {
    margin-bottom: 24px;
    color: #666;
    font-size: 16px;
    line-height: 1.7;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-tags span {
    padding: 7px 12px;
    border-radius: 50px;
    background-color: #f2f6fb;
    color: #555;
    font-size: 13px;
    font-weight: 600;
}

/* Process */
.process {
    padding: 100px 20px;
    background-color: #f8f9fa;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.process-step {
    padding: 28px;
    border: 1px solid #e8edf5;
    border-radius: 18px;
    background-color: #fff;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.process-step:hover {
    transform: translateY(-6px);
    border-color: #007bff;
}

.process-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 22px;
    border-radius: 50%;
    background-color: #007bff;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.process-step h3 {
    margin-bottom: 12px;
    color: #222;
    font-size: 20px;
}

.process-step p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
}

/* Contact */
.contact {
    padding: 100px 20px;
    background-color: #fff;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-content {
    max-width: 540px;
}

.contact-list {
    display: grid;
    gap: 16px;
    margin-top: 34px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid #e4efff;
    border-radius: 16px;
    color: #333;
    text-decoration: none;
    transition: transform 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.contact-link:hover {
    transform: translateX(6px);
    border-color: #007bff;
    color: #007bff;
}

.contact-link i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #eef6ff;
    color: #007bff;
}

.contact-form {
    display: grid;
    gap: 18px;
    padding: 32px;
    border: 1px solid #e4efff;
    border-radius: 20px;
    background-color: #f8fbff;
}

.form-row {
    display: grid;
    gap: 8px;
}

.form-row label {
    color: #333;
    font-size: 14px;
    font-weight: 700;
}

.form-row input,
.form-row textarea {
    width: 100%;
    border: 1px solid #d9e8fb;
    border-radius: 12px;
    padding: 14px 15px;
    background-color: #fff;
    color: #333;
    font: inherit;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-row textarea {
    resize: vertical;
    min-height: 140px;
}

.form-row input:focus,
.form-row textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.12);
}

.contact-form .btn {
    width: fit-content;
    border: none;
    cursor: pointer;
}

.form-message {
    min-height: 22px;
    color: #007bff;
    font-size: 14px;
    font-weight: 600;
}

/* Footer */
.footer {
    padding: 70px 20px 30px;
    border-top: 1px solid #e8edf5;
    background-color: #f8f9fa;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.6fr 0.8fr 0.8fr;
    gap: 50px;
}

.footer-brand p {
    max-width: 420px;
    margin: 18px 0 24px;
    color: #666;
    line-height: 1.7;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    color: #007bff;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.footer-socials a:hover {
    transform: translateY(-3px);
    background-color: #007bff;
    color: #fff;
}

.footer-links {
    display: grid;
    gap: 12px;
    align-content: start;
}

.footer-links h3 {
    margin-bottom: 4px;
    color: #222;
    font-size: 18px;
}

.footer-links a,
.footer-bottom a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-bottom a:hover {
    color: #007bff;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 55px auto 0;
    padding-top: 24px;
    border-top: 1px solid #e1e7ef;
    color: #777;
    font-size: 14px;
}

/* Scroll reveal */
.js-enabled .reveal {
    opacity: 0;
    transform: translateY(42px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

.js-enabled .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.js-enabled .service-card.reveal.is-visible:hover {
    transform: translateY(-10px);
}

.js-enabled .project-card.reveal.is-visible:hover {
    transform: translateY(-8px);
}

.js-enabled .process-step.reveal.is-visible:hover {
    transform: translateY(-6px);
}

@media (max-width: 992px) {
    .services-header,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .services-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

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

    .process-steps,
    .contact-container {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .section-heading h2,
    .services-header h2,
    .contact-content h2 {
        font-size: 30px;
    }

    .section-heading,
    .services-header {
        margin-bottom: 38px;
        text-align: center;
    }

    .services-header > p,
    .contact-content {
        max-width: none;
    }

    .services-grid,
    .projects-grid,
    .process-steps,
    .contact-container,
    .footer-container {
        grid-template-columns: 1fr;
    }

    .services,
    .projects,
    .process,
    .contact {
        padding: 80px 20px;
    }

    .service-card,
    .project-card,
    .process-step,
    .contact-form {
        border-radius: 16px;
    }

    .footer {
        padding-bottom: 105px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .btn-group {
        flex-direction: column;
    }

    .btn,
    .contact-form .btn {
        width: 100%;
    }

    .mobile-nav a {
        padding: 0 6px;
        font-size: 13px;
    }

    .contact-form {
        padding: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .js-enabled .reveal {
        opacity: 1;
        transform: none;
    }
}
