/* =========================================
   RESET
========================================= */

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


html {
    scroll-behavior: smooth;
}


body {
    font-family: "Inter", sans-serif;
    background: #f8fafc;
    color: #172033;
    line-height: 1.7;
    min-height: 100vh;
}


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


a {
    color: inherit;
    text-decoration: none;
}


button {
    font-family: inherit;
}


/* =========================================
   GLOBAL
========================================= */

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}


.narrow-container {
    max-width: 820px;
}


.eyebrow {
    color: #1769aa;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 14px;
}


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


.section-heading.left {
    margin-left: 0;
    text-align: left;
}


.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.04em;
}


.section-heading p {
    color: #667085;
    font-size: 1rem;
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 21px;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 700;
    transition: 0.25s ease;
    cursor: pointer;
}


.btn-primary {
    background: #1769aa;
    color: white;
    box-shadow: 0 10px 25px rgba(23, 105, 170, 0.18);
}


.btn-primary:hover {
    background: #12598f;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(23, 105, 170, 0.24);
}


.btn-secondary {
    background: white;
    color: #1769aa;
    border: 1px solid #d7e3ef;
}


.btn-secondary:hover {
    border-color: #1769aa;
    transform: translateY(-2px);
}


/* =========================================
   HEADER
========================================= */

.site-header {
    width: 100%;
    background: rgba(248, 250, 252, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e8edf3;
    position: sticky;
    top: 0;
    z-index: 1000;
}


.navbar {
    width: min(1120px, calc(100% - 40px));
    height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}


.logo span {
    color: #1769aa;
}


.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}


.nav-links a {
    color: #5d6878;
    font-size: 0.88rem;
    font-weight: 600;
    position: relative;
    padding: 6px 0;
    transition: 0.2s ease;
}


.nav-links a:hover,
.nav-links a.active {
    color: #1769aa;
}


.nav-links a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background: #1769aa;
    border-radius: 10px;
}


.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #172033;
    font-size: 1.4rem;
    cursor: pointer;
}


.mobile-menu {
    display: none;
}


/* =========================================
   HERO
========================================= */

.hero {
    padding: 95px 0 100px;
    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(23, 105, 170, 0.10),
            transparent 30%
        ),
        #f8fafc;
}


.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 80px;
}


.hero-content h1 {
    max-width: 720px;
    font-size: clamp(3rem, 6vw, 5.2rem);
    line-height: 1.02;
    letter-spacing: -0.06em;
    margin-bottom: 26px;
}


.hero-content h1 span {
    display: block;
    color: #1769aa;
}


.hero-text {
    max-width: 660px;
    color: #667085;
    font-size: 1.03rem;
    margin-bottom: 12px;
}


.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}


.social-links {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}


.social-links a {
    width: 39px;
    height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dce5ee;
    border-radius: 50%;
    color: #657386;
    background: white;
    transition: 0.25s ease;
}


.social-links a:hover {
    color: white;
    background: #1769aa;
    border-color: #1769aa;
    transform: translateY(-3px);
}


/* =========================================
   HERO IMAGE
========================================= */

.hero-image-wrapper {
    position: relative;
    width: min(420px, 100%);
    margin: 0 auto;
}


.hero-image {
    aspect-ratio: 1 / 1;
    border-radius: 28px;
    overflow: hidden;
    background: #e7eef5;
    box-shadow: 0 25px 60px rgba(27, 57, 84, 0.13);
}


.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 15px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e4eaf0;
    border-radius: 13px;
    box-shadow: 0 15px 35px rgba(28, 52, 76, 0.13);
}


.floating-card i {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #e8f3fb;
    color: #1769aa;
    display: flex;
    align-items: center;
    justify-content: center;
}


.floating-card strong,
.floating-card span {
    display: block;
}


.floating-card strong {
    font-size: 0.77rem;
}


.floating-card span {
    font-size: 0.68rem;
    color: #7a8696;
}


.floating-card-one {
    left: -35px;
    bottom: 50px;
}


.floating-card-two {
    right: -35px;
    top: 45px;
}


/* =========================================
   INTRO
========================================= */

.intro-section {
    padding: 100px 0;
    background: white;
}


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


.feature-card {
    background: #f8fafc;
    border: 1px solid #e5ebf1;
    padding: 30px;
    border-radius: 18px;
    transition: 0.3s ease;
}


.feature-card:hover {
    transform: translateY(-5px);
    border-color: #cbddea;
    box-shadow: 0 18px 35px rgba(24, 51, 77, 0.07);
}


.feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #e9f3fa;
    color: #1769aa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 22px;
}


.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}


.feature-card p {
    color: #6b7686;
    font-size: 0.9rem;
}


/* =========================================
   PAGE HERO
========================================= */

.page-hero {
    padding: 100px 0 80px;
    background:
        radial-gradient(
            circle at 85% 30%,
            rgba(23, 105, 170, 0.09),
            transparent 30%
        ),
        #f8fafc;
}


.page-hero h1 {
    font-size: clamp(2.7rem, 5vw, 4.4rem);
    line-height: 1.08;
    letter-spacing: -0.055em;
    margin-bottom: 22px;
}


.page-hero p:not(.eyebrow) {
    color: #667085;
    font-size: 1.05rem;
    max-width: 680px;
}


/* =========================================
   ABOUT
========================================= */

.about-section {
    padding: 100px 0;
    background: white;
}


.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 75px;
    align-items: center;
}


.about-image {
    border-radius: 24px;
    overflow: hidden;
    background: #e9eff5;
}


.about-image img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}


.about-content p {
    color: #606d7d;
    margin-bottom: 20px;
}


.about-content strong {
    color: #263448;
}


.about-note {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #f0f7fc;
    border: 1px solid #dcecf7;
    border-radius: 14px;
    margin: 30px 0;
}


.about-note i {
    color: #1769aa;
    font-size: 1.2rem;
    margin-top: 4px;
}


.about-note p {
    margin: 0;
    color: #526579;
    font-size: 0.92rem;
}


/* =========================================
   WORK
========================================= */

.work-section {
    padding: 95px 0;
    background: white;
}


.alternate-section {
    background: #f5f8fb;
}


.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}


.work-card {
    display: flex;
    gap: 20px;
    padding: 27px;
    border: 1px solid #e1e8ef;
    border-radius: 17px;
    background: white;
    transition: 0.3s ease;
}


.work-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(29, 56, 80, 0.07);
    border-color: #cddce8;
}


.work-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    background: #eaf3fa;
    color: #1769aa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.work-card-content {
    flex: 1;
}


.work-category {
    display: inline-block;
    color: #1769aa;
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin-bottom: 7px;
}


.work-card h3 {
    font-size: 1.18rem;
    margin-bottom: 8px;
}


.work-card p {
    color: #687587;
    font-size: 0.88rem;
    margin-bottom: 15px;
}


.project-status {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 6px;
    background: #f1f4f7;
    color: #697688;
    font-size: 0.68rem;
    font-weight: 600;
}


.project-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 30px;
    border-radius: 22px;
    background: white;
    border: 1px solid #e0e8ef;
}


.project-placeholder {
    min-height: 290px;
    border: 2px dashed #cbd9e5;
    border-radius: 15px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #8a98a8;
    text-align: center;
    padding: 30px;
}


.project-placeholder i {
    font-size: 2rem;
    color: #1769aa;
}


.project-placeholder span {
    font-size: 0.8rem;
}


.project-feature-content h3 {
    font-size: 1.7rem;
    margin-bottom: 15px;
}


.project-feature-content p {
    color: #667085;
    margin-bottom: 15px;
}


.closing-section {
    padding: 0 0 95px;
    background: white;
}


.closing-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
    border-radius: 17px;
    background: #edf6fc;
    border: 1px solid #d7eaf6;
}


.closing-card > i {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1769aa;
    color: white;
}


.closing-card h3 {
    font-size: 1rem;
    margin-bottom: 3px;
}


.closing-card p {
    color: #647488;
    font-size: 0.84rem;
}


/* =========================================
   SKILLS
========================================= */

.skills-section {
    padding: 100px 0;
    background: white;
}


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


.skill-group {
    padding: 32px;
    border-radius: 18px;
    border: 1px solid #e1e8ef;
    background: white;
}


.skill-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #eaf3fa;
    color: #1769aa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}


.skill-group h2 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}


.skill-group > p {
    color: #697587;
    font-size: 0.86rem;
    margin-bottom: 22px;
}


.skill-group ul {
    list-style: none;
}


.skill-group li {
    position: relative;
    padding: 8px 0 8px 20px;
    border-top: 1px solid #edf0f3;
    color: #4d5a6a;
    font-size: 0.86rem;
}


.skill-group li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #1769aa;
    font-weight: 800;
}


.learning-tag {
    display: inline-block;
    margin-left: 5px;
    padding: 2px 6px;
    background: #edf4f8;
    color: #557187;
    border-radius: 4px;
    font-size: 0.62rem;
    font-weight: 700;
}


.skills-note {
    margin-top: 30px;
    display: flex;
    gap: 18px;
    padding: 25px;
    background: #f0f7fc;
    border: 1px solid #dcecf7;
    border-radius: 16px;
}


.skills-note > i {
    color: #1769aa;
    font-size: 1.3rem;
    margin-top: 3px;
}


.skills-note h3 {
    margin-bottom: 4px;
    font-size: 1rem;
}


.skills-note p {
    color: #647488;
    font-size: 0.87rem;
}


/* =========================================
   SERVICES
========================================= */

.services-section {
    padding: 100px 0;
    background: white;
}


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


.service-card {
    position: relative;
    padding: 35px;
    border: 1px solid #e1e8ef;
    border-radius: 18px;
    background: white;
    transition: 0.3s ease;
}


.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(27, 54, 78, 0.07);
}


.service-number {
    position: absolute;
    top: 25px;
    right: 28px;
    color: #dbe5ed;
    font-size: 1.5rem;
    font-weight: 800;
}


.service-card > i {
    color: #1769aa;
    font-size: 1.3rem;
    margin-bottom: 22px;
}


.service-card h2 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}


.service-card p {
    color: #697587;
    font-size: 0.88rem;
    margin-bottom: 20px;
}


.service-card ul {
    list-style: none;
}


.service-card li {
    color: #526071;
    font-size: 0.82rem;
    padding: 5px 0;
}


.service-card li::before {
    content: "•";
    color: #1769aa;
    margin-right: 8px;
}


.service-disclaimer {
    display: flex;
    gap: 13px;
    margin-top: 30px;
    padding: 20px;
    background: #f7f9fb;
    border: 1px solid #e5ebf0;
    border-radius: 14px;
}


.service-disclaimer i {
    color: #1769aa;
    margin-top: 5px;
}


.service-disclaimer p {
    color: #667085;
    font-size: 0.84rem;
}


/* =========================================
   CONTACT
========================================= */

.contact-section {
    padding: 100px 0;
    background: white;
}


.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 70px;
    align-items: start;
}


.contact-label {
    color: #1769aa;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}


.contact-intro h2 {
    font-size: clamp(2.2rem, 4vw, 3.3rem);
    line-height: 1.1;
    letter-spacing: -0.045em;
    margin: 12px 0 20px;
}


.contact-intro > p {
    color: #687587;
    max-width: 620px;
    margin-bottom: 15px;
}


.contact-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
}


.contact-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px;
    border: 1px solid #e3e9ef;
    border-radius: 12px;
    transition: 0.25s ease;
}


.contact-link:hover {
    border-color: #c7d9e7;
    transform: translateX(3px);
}


.contact-link > i {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eaf3fa;
    color: #1769aa;
    display: flex;
    align-items: center;
    justify-content: center;
}


.contact-link span,
.contact-link strong {
    display: block;
}


.contact-link span {
    font-size: 0.68rem;
    color: #8490a0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}


.contact-link strong {
    font-size: 0.87rem;
    color: #354154;
}


.contact-card {
    padding: 40px;
    border-radius: 20px;
    background: #f3f8fc;
    border: 1px solid #dcebf5;
}


.contact-card-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: #1769aa;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}


.contact-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}


.contact-card p {
    color: #667085;
    font-size: 0.9rem;
    margin-bottom: 25px;
}


.contact-email-button {
    width: 100%;
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
    padding: 28px 0;
    background: #172033;
    color: #c5ced9;
}


.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}


.footer-content p {
    font-size: 0.75rem;
}


/* =========================================
   SCROLL ANIMATION
========================================= */

.feature-card,
.work-card,
.skill-group,
.service-card,
.project-feature,
.contact-card,
.about-content {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}


.feature-card.visible,
.work-card.visible,
.skill-group.visible,
.service-card.visible,
.project-feature.visible,
.contact-card.visible,
.about-content.visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .nav-links {
        display: none;
    }


    .menu-toggle {
        display: block;
    }


    .mobile-menu {
        display: flex;
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-top: 0 solid #e5ebf1;
    }


    .mobile-menu.show {
        max-height: 400px;
        border-top-width: 1px;
    }


    .mobile-menu a {
        padding: 13px 20px;
        color: #5d6878;
        font-size: 0.9rem;
        font-weight: 600;
        border-bottom: 1px solid #edf0f3;
    }


    .mobile-menu a.active {
        color: #1769aa;
        background: #f3f8fc;
    }


    .hero-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }


    .hero-content {
        text-align: center;
    }


    .hero-content h1,
    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }


    .hero-buttons,
    .social-links {
        justify-content: center;
    }


    .hero-image-wrapper {
        width: min(390px, 80%);
    }


    .feature-grid,
    .skills-grid {
        grid-template-columns: 1fr;
    }


    .about-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }


    .about-image {
        max-width: 500px;
    }


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


    .project-feature {
        grid-template-columns: 1fr;
    }


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

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .container,
    .navbar {
        width: min(100% - 28px, 1120px);
    }


    .navbar {
        height: 68px;
    }


    .hero {
        padding: 65px 0 75px;
    }


    .hero-content h1 {
        font-size: clamp(2.6rem, 13vw, 4rem);
    }


    .hero-text {
        font-size: 0.92rem;
    }


    .hero-image-wrapper {
        width: 78%;
    }


    .floating-card {
        padding: 10px;
    }


    .floating-card-one {
        left: -20px;
        bottom: 20px;
    }


    .floating-card-two {
        right: -20px;
        top: 20px;
    }


    .floating-card strong {
        font-size: 0.68rem;
    }


    .floating-card span {
        font-size: 0.59rem;
    }


    .floating-card i {
        width: 29px;
        height: 29px;
        font-size: 0.75rem;
    }


    .intro-section,
    .about-section,
    .work-section,
    .skills-section,
    .services-section,
    .contact-section {
        padding: 75px 0;
    }


    .page-hero {
        padding: 70px 0 55px;
    }


    .page-hero h1 {
        font-size: 2.6rem;
    }


    .section-heading {
        margin-bottom: 35px;
    }


    .feature-card,
    .work-card,
    .skill-group,
    .service-card {
        padding: 24px;
    }


    .work-card {
        flex-direction: column;
    }


    .project-feature {
        padding: 20px;
    }


    .project-placeholder {
        min-height: 220px;
    }


    .contact-card {
        padding: 28px;
    }


    .footer-content {
        flex-direction: column;
        text-align: center;
    }

}