
/* =================================
   1. GLOBAL SETTINGS
================================= */

:root {
    --navy: #07152f;
    --navy-light: #102344;
    --blue: #1768d5;
    --electric: #2684ff;
    --gold: #e8b94d;
    --white: #ffffff;
    --light: #f5f8fd;
    --text: #26354d;
    --muted: #718096;
    --border: #e4eaf2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    width: 100%;
    display: block;
}

button, input, textarea {
    font: inherit;
}

.container {
    width: 88%;
    max-width: 1200px;
    margin: auto;
}

.section {
    padding: 100px 0;
}

.section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 55px;
}

.section-label {
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}

.section-heading h2 {
    font-size: 40px;
    color: var(--navy);
    margin: 12px 0;
}

.section-heading h2 span {
    color: var(--blue);
}

.section-heading > p {
    color: var(--muted);
}


/* =================================
   2. NAVIGATION
================================= */

.header {
    background: var(--navy);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.navbar {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo span {
    color: var(--gold);
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 28px;
}

.nav-links a {
    color: #e0e8f6;
    font-size: 14px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-button {
    color: var(--navy);
    background: var(--gold);
    padding: 11px 22px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 13px;
    transition: 0.3s;
}

.nav-button:hover {
    background: white;
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    color: white;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
}


/* =================================
   3. HERO SECTION
================================= */

.hero {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    background: var(--navy);
    color: white;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 450px;
    height: 450px;
    right: 10%;
    top: 10%;
    background: rgba(38,132,255,0.12);
    filter: blur(100px);
    border-radius: 50%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 65px;
    padding-top: 70px;
    padding-bottom: 80px;
    position: relative;
    z-index: 2;
}

.availability {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    letter-spacing: 2px;
    color: #b9c8e1;
    margin-bottom: 30px;
}

.status-dot {
    height: 8px;
    width: 8px;
    background: #4bd59b;
    border-radius: 50%;
}

.hero-intro {
    color: var(--gold);
    font-size: 20px;
}

.hero-content h1 {
    font-size: clamp(48px, 6vw, 76px);
    letter-spacing: -3px;
    margin: 5px 0 15px;
}

.hero-content h1 span {
    color: var(--gold);
}

.hero-content h2 {
    font-size: 23px;
    font-weight: 500;
    color: #d9e6f8;
    margin-bottom: 22px;
}

.hero-content h2 span {
    color: var(--electric);
}

.hero-description {
    max-width: 560px;
    color: #bdcbe0;
    font-size: 16px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 24px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    transition: 0.3s;
}

.btn-primary {
    background: var(--blue);
    color: white;
}

.btn-primary:hover {
    background: var(--electric);
    transform: translateY(-3px);
}

.btn-outline {
    border: 1px solid #8297b7;
    color: white;
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 35px;
}

.social-links a,
.contact-socials a {
    width: 40px;
    height: 40px;
    border: 1px solid #435574;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--blue);
    border-color: var(--blue);
    transform: translateY(-3px);
}


/* HERO IMAGE */

.hero-visual {
    position: relative;
    padding: 20px;
}

.image-frame {
    border: 1px solid rgba(232,185,77,0.6);
    border-radius: 170px 170px 15px 15px;
    overflow: hidden;
    max-width: 380px;
    height: 460px;
    margin: auto;
    position: relative;
    background: var(--navy-light);
}

.profile-image {
    height: 100%;
    object-fit: cover;
    filter: saturate(0.85);
}

.image-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(7,21,47,0.85);
    color: var(--gold);
    padding: 15px;
    font-size: 11px;
    text-align: center;
    letter-spacing: 2px;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: var(--navy);
    padding: 14px 17px;
    border-radius: 8px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.2);
    font-size: 12px;
    font-weight: 700;
}

.floating-card i {
    color: var(--blue);
    font-size: 20px;
}

.card-one {
    top: 25%;
    left: -20px;
}

.card-two {
    bottom: 20%;
    right: -30px;
}

.hero-bottom {
    position: absolute;
    bottom: 20px;
    left: 6%;
    color: #a6b7d0;
    font-size: 10px;
    letter-spacing: 2px;
    display: flex;
    gap: 12px;
}


/* =================================
   4. ABOUT SECTION
================================= */

.about {
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: 70px;
}

.about-image {
    position: relative;
}

.about-image img {
    height: 480px;
    object-fit: cover;
    border-radius: 10px;
}

.experience-tag {
    position: absolute;
    bottom: 25px;
    right: -20px;
    background: var(--navy);
    color: white;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 5px;
    font-size: 12px;
}

.experience-tag i {
    color: var(--gold);
    font-size: 20px;
}

.about-content h3 {
    font-size: 30px;
    color: var(--navy);
    margin-bottom: 22px;
}

.about-content h3 span {
    color: var(--blue);
}

.about-content p {
    color: var(--muted);
    margin-bottom: 18px;
}

.about-content .btn {
    margin-top: 12px;
}


/* =================================
   5. SKILLS SECTION
================================= */

.skills {
    background: var(--light);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.skill-card {
    background: white;
    padding: 30px 23px;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: 0.3s;
}

.skill-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 30px rgba(7,21,47,0.08);
    border-color: var(--blue);
}

.skill-icon {
    width: 55px;
    height: 55px;
    background: #eaf2ff;
    color: var(--blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    margin-bottom: 20px;
}

.skill-card h3 {
    font-size: 17px;
    color: var(--navy);
    margin-bottom: 12px;
}

.skill-card p {
    font-size: 13px;
    color: var(--muted);
}


/* =================================
   6. PROJECTS SECTION
================================= */

.projects {
    background: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.project-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 9px;
    overflow: hidden;
    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(7,21,47,0.1);
}

.project-image {
    height: 230px;
    position: relative;
    overflow: hidden;
    background: #eaf0fa;
}

.project-image img {
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.project-card:hover .project-image img {
    transform: scale(1.06);
}

.project-category {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--navy);
    color: var(--gold);
    padding: 7px 11px;
    border-radius: 3px;
    font-size: 9px;
    letter-spacing: 1px;
    font-weight: 700;
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    color: var(--navy);
    font-size: 20px;
    margin-bottom: 12px;
}

.project-content p {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 18px;
}

.project-tags {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.project-tags span {
    font-size: 10px;
    background: #edf3ff;
    color: #2458a0;
    padding: 6px 9px;
    border-radius: 3px;
}

.project-link {
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    gap: 10px;
    align-items: center;
}


/* =================================
   7. SERVICES SECTION
================================= */

.services {
    background: var(--navy);
}

.services .section-heading h2 {
    color: white;
}

.services .section-heading > p {
    color: #bac9df;
}

.services .section-label {
    color: var(--gold);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-item {
    padding: 30px 22px;
    background: var(--navy-light);
    border: 1px solid #263c5d;
    border-radius: 8px;
    transition: 0.3s;
}

.service-item:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.service-item > i {
    color: var(--gold);
    font-size: 30px;
    margin-bottom: 20px;
}

.service-item h3 {
    color: white;
    font-size: 17px;
    margin-bottom: 12px;
}

.service-item p {
    color: #bac9df;
    font-size: 13px;
}


/* =================================
   8. CALL TO ACTION
================================= */

.cta-section {
    padding: 85px 0;
    text-align: center;
    background:
        linear-gradient(
            110deg,
            #0d2d60,
            #1768d5
        );
}

.cta-content h2 {
    color: white;
    font-size: 42px;
    margin: 15px 0;
}

.cta-content h2 span {
    color: var(--gold);
}

.cta-content p {
    color: #e0eaff;
    max-width: 600px;
    margin: 0 auto 28px;
}

.btn-gold {
    background: var(--gold);
    color: var(--navy);
}

.btn-gold:hover {
    background: white;
    transform: translateY(-3px);
}


/* =================================
   9. CONTACT SECTION
================================= */

.contact {
    background: var(--light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 35px;
    max-width: 1050px;
    margin: auto;
}

.contact-info {
    background: var(--navy);
    color: white;
    padding: 40px 30px;
    border-radius: 10px;
}

.contact-info h3 {
    font-size: 25px;
    margin-bottom: 15px;
    color: var(--gold);
}

.contact-info > p {
    color: #bdcbe0;
    margin-bottom: 35px;
}

.contact-detail {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 28px;
}

.contact-detail > i {
    width: 42px;
    height: 42px;
    background: #16365f;
    color: var(--gold);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
}

.contact-detail strong {
    font-size: 13px;
}

.contact-detail p {
    font-size: 12px;
    color: #bdcbe0;
}

.contact-socials {
    display: flex;
    gap: 12px;
    margin-top: 35px;
}

.contact-socials a:hover {
    background: var(--blue);
    border-color: var(--blue);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: white;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(7,21,47,0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 5px;
    outline: none;
    background: #fbfcff;
    color: var(--navy);
    font-size: 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--blue);
    background: white;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    background: var(--blue);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: var(--navy);
}

.contact-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.contact-form button i {
    margin-left: 10px;
}

.hidden-field {
    display: none !important;
}

#formStatus {
    font-size: 13px;
    font-weight: 600;
    min-height: 20px;
}


/* =================================
   10. FOOTER
================================= */

.footer {
    background: #040e20;
    color: white;
    padding: 55px 0 20px;
    text-align: center;
}

.footer-container > p {
    color: #aab9d0;
    margin: 18px 0 25px;
    font-size: 13px;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin: 30px 0;
}

.footer-links a {
    color: #c4d1e5;
    font-size: 13px;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid #20304a;
    padding-top: 20px;
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #9caec8;
}

.footer-bottom a {
    color: var(--gold);
}


/* =================================
   11. RESPONSIVE DESIGN
================================= */

@media (max-width: 1000px) {

    .nav-links {
        gap: 15px;
    }

    .skills-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-container {
        gap: 30px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 768px) {

    .container {
        width: 90%;
    }

    .section {
        padding: 75px 0;
    }

    .navbar {
        min-height: 70px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-button {
        display: none;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 25px;
        background: var(--navy-light);
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .hero {
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 65px;
    }

    .hero-content h1 {
        font-size: 48px;
        letter-spacing: -2px;
    }

    .hero-content h2 {
        font-size: 20px;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .social-links {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 25px;
    }

    .image-frame {
        height: 390px;
        max-width: 320px;
    }

    .card-one {
        left: 0;
    }

    .card-two {
        right: 0;
    }

    .hero-bottom {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .about-image {
        max-width: 450px;
        margin: auto;
    }

    .about-content {
        text-align: center;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 32px;
    }

}

@media (max-width: 500px) {

    .section-heading h2 {
        font-size: 32px;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .skills-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 22px;
    }

    .about-image img {
        height: 370px;
    }

    .experience-tag {
        right: -5px;
    }

    .floating-card {
        font-size: 10px;
        padding: 10px;
    }

    .footer-bottom {
        justify-content: center;
        flex-direction: column;
    }

}
