
/* =========================
   GLOBAL STYLES
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    scroll-padding-top: 85px;
}

body {
    font-family: "Times New Roman", Times, serif;
    background: #f7f8fc;
    color: #252b3a;
    line-height: 1.7;
    font-size: 17px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.section {
    padding: 90px 8%;
    scroll-margin-top: 70px;
}

.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    color: #5366d8;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-heading h2 {
    font-size: 40px;
    color: #17213b;
    line-height: 1.2;
}

.heading-line {
    width: 65px;
    height: 4px;
    background: #5366d8;
    border-radius: 10px;
    margin: 17px auto;
}

.section-intro {
    max-width: 650px;
    margin: 15px auto 0;
    color: #697386;
}


/* =========================
   NAVIGATION BAR
========================= */

.navbar {
    width: 100%;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 18px rgba(20, 30, 60, 0.08);
}

.nav-container {
    max-width: 1400px;
    margin: auto;
    padding: 15px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 30px;
    font-weight: bold;
    color: #17213b;
}

.logo span {
    color: #5366d8;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    color: #35405a;
    font-size: 17px;
    font-weight: bold;
    transition: 0.3s ease;
}

.nav-links a:hover {
    color: #5366d8;
}

.menu-toggle {
    display: none;
    border: none;
    background: none;
    color: #17213b;
    font-size: 28px;
    cursor: pointer;
}


/* =========================
   HERO SECTION
========================= */

.hero {
    min-height: 620px;
    padding: 100px 8%;
    display: flex;
    align-items: center;
    background: linear-gradient(130deg, #17213b, #293b68 60%, #4656a2);
    color: #ffffff;
}

.hero-content {
    max-width: 950px;
}

.hero-tag {
    display: inline-block;
    color: #dce2ff;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 3px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    padding: 8px 18px;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: 58px;
    line-height: 1.2;
    margin-bottom: 15px;
}

.hero h1 span {
    color: #c7d0ff;
}

.hero h2 {
    font-size: 28px;
    font-weight: normal;
    margin-bottom: 20px;
    color: #e6eaff;
}

.hero-description {
    max-width: 780px;
    font-size: 19px;
    color: #e0e5f5;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 35px;
}

.btn {
    display: inline-block;
    padding: 13px 25px;
    border-radius: 7px;
    font-size: 17px;
    font-weight: bold;
    transition: 0.3s ease;
}

.btn-white {
    background: #ffffff;
    color: #24345e;
    border: 2px solid #ffffff;
}

.btn-white:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-3px);
}

.hero-details {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 40px;
    color: #e0e5f5;
    font-size: 16px;
}


/* =========================
   ABOUT SECTION
========================= */

.about-section {
    background: #ffffff;
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 55px;
    align-items: center;
}

.about-text h3 {
    font-size: 27px;
    color: #26365f;
    margin-bottom: 18px;
}

.about-text p {
    color: #596477;
    margin-bottom: 17px;
    text-align: justify;
    font-size: 18px;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.highlight-card {
    padding: 28px 15px;
    text-align: center;
    background: #f1f3ff;
    border: 1px solid #e3e7ff;
    border-radius: 12px;
    transition: 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(50, 70, 140, 0.1);
}

.highlight-card h3 {
    color: #5366d8;
    font-size: 25px;
    margin-bottom: 5px;
}

.highlight-card p {
    color: #58627a;
    font-size: 16px;
}


/* =========================
   SKILLS SECTION
========================= */

.skills-section {
    background: #f2f4fb;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 23px;
}

.skill-card {
    background: #ffffff;
    padding: 27px;
    border-radius: 12px;
    border: 1px solid #e8eaf2;
    box-shadow: 0 5px 18px rgba(30, 45, 90, 0.04);
    transition: 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(30, 45, 90, 0.09);
}

.skill-card h3 {
    font-size: 22px;
    color: #26365f;
    margin-bottom: 17px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.skill-tags span {
    background: #eef0ff;
    color: #3d4f9c;
    padding: 7px 12px;
    border-radius: 5px;
    font-size: 15px;
    border: 1px solid #e0e4ff;
}


/* =========================
   PROJECTS SECTION
========================= */

.projects-section {
    background: #ffffff;
}

.featured-project {
    max-width: 1150px;
    margin: 0 auto 70px;
    background: #f6f7ff;
    border: 1px solid #e4e7fa;
    border-radius: 18px;
    padding: 35px;
    box-shadow: 0 12px 35px rgba(30, 45, 90, 0.07);
}

.featured-project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
}

.project-label {
    color: #5366d8;
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: bold;
}

.featured-project-header h3 {
    color: #1d2b4d;
    font-size: 32px;
    margin: 8px 0 10px;
}

.featured-project-header p {
    color: #626d83;
    max-width: 760px;
    font-size: 18px;
}

.project-live-btn {
    flex-shrink: 0;
    display: inline-block;
    padding: 13px 20px;
    border-radius: 7px;
    background: #5366d8;
    color: #ffffff;
    font-weight: bold;
    transition: 0.3s ease;
}

.project-live-btn:hover {
    background: #3549b5;
    transform: translateY(-3px);
}


/* EMPLOY EASE IMAGE GALLERY */

.employease-gallery {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: 210px 210px;
    gap: 15px;
    margin: 30px 0;
}

.employease-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #e5e8f5;
    border: 1px solid #dce1f1;
}

.employease-image.main-screenshot {
    grid-row: span 2;
}

.employease-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.employease-image:hover img {
    transform: scale(1.04);
}

.employease-image span {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px 15px;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    background: linear-gradient(transparent, rgba(15, 25, 55, 0.9));
}


/* EMPLOY EASE DESCRIPTION */

.featured-project-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    margin-top: 30px;
}

.featured-project-details h4 {
    font-size: 23px;
    color: #26365f;
    margin-bottom: 12px;
}

.featured-project-details p,
.featured-project-details li {
    color: #596477;
    font-size: 17px;
    line-height: 1.8;
}

.featured-project-details ul {
    padding-left: 22px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid #e1e5f3;
}

.project-tech span {
    padding: 8px 15px;
    background: #e8ebff;
    color: #3d4f9c;
    border-radius: 5px;
    font-size: 15px;
    font-weight: bold;
}


/* CLIENT WEBSITE PROJECTS */

.client-projects-heading {
    text-align: center;
    margin: 65px 0 30px;
}

.client-projects-heading h3 {
    font-size: 30px;
    color: #1d2b4d;
}

.client-projects-heading p {
    color: #697386;
    margin-top: 8px;
}

.client-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.client-project-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e7e9f1;
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(30, 45, 90, 0.05);
    transition: 0.3s ease;
}

.client-project-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 14px 28px rgba(30, 45, 90, 0.12);
}

.client-project-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #edf0f8;
}

.client-project-info {
    padding: 18px 20px;
}

.client-project-info h4 {
    color: #24345e;
    font-size: 22px;
    margin-bottom: 5px;
}

.client-project-info span {
    color: #5366d8;
    font-size: 16px;
}


/* =========================
   EXPERIENCE SECTION
========================= */

.experience-section {
    background: #f2f4fb;
}

.timeline {
    max-width: 950px;
    margin: auto;
    position: relative;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 190px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: #cbd2f5;
}

.timeline-item {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 45px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: 183px;
    top: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #5366d8;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 2px #5366d8;
}

.timeline-date {
    color: #5366d8;
    font-size: 16px;
    font-weight: bold;
    text-align: right;
}

.timeline-content {
    background: #ffffff;
    padding: 25px 28px;
    border-radius: 10px;
    box-shadow: 0 5px 18px rgba(30, 45, 90, 0.05);
}

.timeline-content h3 {
    color: #24345e;
    font-size: 24px;
}

.timeline-content h4 {
    color: #5366d8;
    font-size: 20px;
    margin-top: 3px;
}

.company-detail {
    color: #818a9d;
    margin: 5px 0 15px;
    font-style: italic;
}

.timeline-content ul {
    padding-left: 22px;
}

.timeline-content li {
    color: #596477;
    margin-bottom: 8px;
    font-size: 17px;
}


/* =========================
   EDUCATION SECTION
========================= */

.education-section {
    background: #ffffff;
}

.education-card {
    max-width: 750px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 35px;
    background: #f2f4ff;
    border: 1px solid #e3e7ff;
    border-radius: 12px;
}

.education-icon {
    font-size: 45px;
}

.education-card h3 {
    color: #24345e;
    font-size: 25px;
}

.education-card h4 {
    color: #5366d8;
    font-size: 20px;
    margin: 5px 0;
}

.education-card p {
    color: #626d83;
    font-size: 17px;
}


/* =========================
   CONTACT SECTION
========================= */

.contact-section {
    background: #f2f4fb;
}

.contact-grid {
    max-width: 1050px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.contact-card {
    text-align: center;
    background: #ffffff;
    border: 1px solid #e7e9f1;
    padding: 28px 15px;
    border-radius: 12px;
    transition: 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(30, 45, 90, 0.09);
}

.contact-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    background: #e9ecff;
    color: #5366d8;
    font-size: 23px;
    font-weight: bold;
    border-radius: 50%;
    margin-bottom: 12px;
}

.contact-card h3 {
    color: #24345e;
    font-size: 21px;
    margin-bottom: 5px;
}

.contact-card p {
    color: #697386;
    font-size: 16px;
    overflow-wrap: anywhere;
}


/* =========================
   CONTACT FORM
========================= */

.contact-form-container {
    max-width: 800px;
    margin: 50px auto 0;
    padding: 35px 40px;
    background: #ffffff;
    border: 1px solid #e7e9f1;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(30, 45, 90, 0.06);
}

.contact-form-heading {
    text-align: center;
    margin-bottom: 30px;
}

.contact-form-heading h3 {
    font-size: 27px;
    color: #24345e;
    margin-bottom: 8px;
}

.contact-form-heading p {
    color: #697386;
    font-size: 17px;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #26365f;
    font-size: 17px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px 15px;
    font-family: "Times New Roman", Times, serif;
    font-size: 16px;
    color: #252b3a;
    background: #fafbff;
    border: 1px solid #dce1ef;
    border-radius: 7px;
    outline: none;
    transition: 0.3s ease;
}

.form-group input {
    height: 48px;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #5366d8;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(83, 102, 216, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #929bad;
}

.form-group:last-of-type {
    grid-column: 1 / -1;
}

.btn-primary {
    grid-column: 1 / -1;
    justify-self: center;
    min-width: 180px;
    padding: 13px 28px;
    background: #5366d8;
    color: #ffffff;
    border: 2px solid #5366d8;
    border-radius: 7px;
    font-family: "Times New Roman", Times, serif;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-primary:hover {
    background: #3549b5;
    border-color: #3549b5;
    transform: translateY(-3px);
}

/* CONTACT FORM - MOBILE */

@media (max-width: 550px) {

    .contact-form-container {
        padding: 25px 18px;
        margin-top: 35px;
    }

    .contact-form {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .form-group:last-of-type,
    .btn-primary {
        grid-column: 1;
    }

    .btn-primary {
        width: 100%;
    }

}

/* =========================
   FOOTER
========================= */

.footer {
    background: #17213b;
    color: #e0e5f5;
    padding: 25px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.footer a {
    color: #ffffff;
    font-weight: bold;
}

.footer a:hover {
    color: #c7d0ff;
}


/* =========================
   RESPONSIVE DESIGN
========================= */

@media (max-width: 1100px) {
    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 15px;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 850px) {
    .section {
        padding: 70px 6%;
    }

    .nav-container {
        padding: 13px 6%;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 20px 6%;
        background: #ffffff;
        box-shadow: 0 8px 15px rgba(20, 30, 60, 0.08);
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .nav-links.active {
        display: flex;
    }

    .hero {
        padding: 80px 6%;
        min-height: auto;
    }

    .hero h1 {
        font-size: 46px;
    }

    .hero h2 {
        font-size: 24px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .employease-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 200px);
    }

    .employease-image.main-screenshot {
        grid-row: auto;
    }

    .featured-project-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .client-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline::before {
        left: 8px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 12px;
        padding-left: 35px;
    }

    .timeline-item::before {
        left: 1px;
    }

    .timeline-date {
        text-align: left;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 550px) {
    body {
        font-size: 16px;
    }

    .section {
        padding: 60px 5%;
    }

    .section-heading h2 {
        font-size: 32px;
    }

    .hero {
        padding: 65px 5%;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero h2 {
        font-size: 21px;
    }

    .hero-description {
        font-size: 17px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        text-align: center;
    }

    .hero-details {
        flex-direction: column;
        gap: 10px;
    }

    .about-highlights {
        grid-template-columns: 1fr 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .featured-project {
        padding: 20px;
    }

    .featured-project-header h3 {
        font-size: 26px;
    }

    .employease-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 210px);
    }

    .featured-project-details {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .client-projects-grid {
        grid-template-columns: 1fr;
    }

    .client-project-card img {
        height: 210px;
    }

    .education-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer {
        flex-direction: column;
        text-align: center;
    }
}
