
/* =================================
   TAIWO JESULAYOMI LYDIA — PORTFOLIO
   Main Website Styles
================================= */

/* 1. Global Reset */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--background);
    color: var(--text-white);
    line-height: 1.6;
}
/* 2. Brand Colours */

:root {
    --background: #080D18;
    --surface: #101A2B;
    --primary-blue: #287BFF;
    --light-blue: #65A5FF;
    --text-white: #F5F7FA;
    --text-muted: #A8B3C7;
}
/* LIGHT MODE COLOURS */

body.light-mode {
    --background: #F5F7FA;
    --surface: #FFFFFF;
    --text-muted: #596579;
    --text-white: #101A2B;
    --primary-blue: #287BFF;
    --light-blue: #1558C0;
}

/* 3. General Layout */

section {
    padding: 100px 8%;
}

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

button {
    cursor: pointer;
}

/* 4. Selection Colour */

::selection {
    background-color: var(--primary-blue);
    color: white;
}


/* ==========================================
   NAVIGATION BAR
========================================== */

.navbar {
    width: 100%;
    min-height: 85px;
    padding: 15px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--background);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}




/* JTL MONOGRAM LOGO */
.logo {
    width: 90px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.logo-image {
    width: 90px;
    height: 70px;
    max-width: 90px;
    max-height: 70px;
    object-fit: contain;
    display: block;
}
/* NAVIGATION LINKS */
.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--light-blue);
}
/* NAVIGATION ACTIONS */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-contact {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    border: 1px solid var(--light-blue);
    border-radius: 6px;
    background: transparent;
    color: var(--light-blue);
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: 0.3s ease;
}

.nav-contact:hover {
    background: var(--light-blue);
    color: var(--background);
    transform: translateY(-2px);
}

/* CV MODAL CLOSE BUTTON */
#close-cv-footer {
    color: var(--light-blue);
}

/* CONTACT FORM SUBMISSION STATUS */
.form-submit-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

#form-status {
    display: none;
    font-size: 0.95rem;
    font-weight: 700;
}

#form-status.success {
    display: inline-block;
    color: #4ade80;
}

#form-status.error {
    display: inline-block;
    color: #ff6b6b;
}
@media (max-width: 600px) {
    .form-submit-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* LIGHT MODE - NAVIGATION CONTACT BUTTON */

body.light-mode .nav-contact {
    color: #101A2B;
}

body.light-mode .nav-contact:hover {
    color: #FFFFFF;
}

/* LIGHT MODE NAVIGATION LINKS */

body.light-mode .nav-links a {
    color: #465267;
}

body.light-mode .nav-links a:hover,
body.light-mode .nav-links a.active {
    color: var(--primary-blue);
}

/* NAVIGATION ACTIONS */

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* LIGHT/DARK MODE BUTTON */

.theme-toggle {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--surface);
    color: var(--text-white);
    border: 1px solid rgba(40, 123, 255, 0.3);
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    color: var(--light-blue);
    border-color: var(--primary-blue);
    transform: rotate(20deg);
}

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

.hero {
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 100px 8%;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 650px;
}

.hero-label {
    color: var(--light-blue);
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--primary-blue);
    border-radius: 50%;
    margin-right: 8px;
}

.hero h1 {
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.15;
    letter-spacing: -2px;
    margin-bottom: 22px;
    color: var(--text-white);
}

.highlight {
    color: var(--primary-blue);
}

.hero h2 {
    font-size: 17px;
    font-weight: 500;
    color: var(--light-blue);
    margin-bottom: 20px;
}

.hero-description {
    max-width: 540px;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 30px;
}

/* Hero Buttons */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 35px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    transition: 0.3s ease;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
}

.btn-primary:hover {
    background: #1265E8;
    transform: translateY(-3px);
}

.btn-secondary {
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
}

.btn-secondary:hover {
    border-color: var(--primary-blue);
    color: var(--light-blue);
}
/* LIGHT MODE - SECONDARY BUTTON */

body.light-mode .btn-secondary {
    color: #101A2B;
    border: 1px solid rgba(16, 26, 43, 0.25);
}

body.light-mode .btn-secondary:hover {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* Social Links */

.hero-socials {
    display: flex;
    align-items: center;
    gap: 22px;
}

.hero-socials span {
    color: #71809A;
    font-size: 10px;
    letter-spacing: 1.5px;
}

.hero-socials a {
    color: var(--text-muted);
    font-size: 13px;
}

.hero-socials a:hover {
    color: var(--primary-blue);
}

/* ==========================================
   HEADSHOT AREA
========================================== */

.hero-image-area {
    flex: 0 0 40%;
    max-width: 420px;
    position: relative;
}

.image-frame {
    width: 100%;
    aspect-ratio: 4 / 5;
    padding: 10px;
    border: 1px solid var(--primary-blue);
    border-radius: 12px;
    position: relative;
    z-index: 2;
    background: var(--surface);
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #142642, #0B1423);
    border-radius: 7px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--light-blue);
    letter-spacing: 2px;
    font-size: 13px;
}

.photo-placeholder small {
    color: var(--text-muted);
    font-size: 11px;
    letter-spacing: 0;
}

.hero-decoration {
    position: absolute;
    width: 180px;
    height: 180px;
    border: 2px solid rgba(40,123,255,0.35);
    border-radius: 50%;
    right: -65px;
    bottom: -55px;
    z-index: 1;
}

.floating-card {
    position: absolute;
    bottom: 35px;
    left: -65px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #142238;
    border: 1px solid rgba(40,123,255,0.35);
    border-radius: 9px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.floating-icon {
    color: var(--primary-blue);
    font-size: 25px;
}

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

.floating-card strong {
    font-size: 12px;
    color: white;
}

.floating-card small {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ==========================================
   RESPONSIVE DESIGN
========================================== */

@media (max-width: 1050px) {
    .navbar {
        padding: 15px 5%;
    }

    .nav-links {
        gap: 14px;
    }


    .nav-links a {
        font-size: 12px;
    }

    .hero {
        padding: 80px 6%;
        gap: 35px;
    }

    .floating-card {
        left: -25px;
    }
}

@media (max-width: 800px) {
    .navbar {
        flex-wrap: wrap;
        gap: 15px;
    }

    .nav-links {
        order: 3;
        width: 100%;
        overflow-x: auto;
        padding: 10px 0;
    }

    .hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 70px 7%;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-image-area {
        width: 75%;
        max-width: 380px;
        align-self: center;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 12px 6%;
    }

    .nav-contact {
        padding: 9px 12px;
    }

    .hero {
        padding: 55px 6%;
    }

    .hero h1 {
        font-size: 42px;
        letter-spacing: -1.5px;
    }

    .hero h2 {
        font-size: 15px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-image-area {
        width: 85%;
    }

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

/* =================================
   ABOUT ME SECTION
================================= */

.about {
    background-color: var(--background);
}

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

.section-heading h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 5px;
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-white);
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 18px;
    font-size: 1rem;
    line-height: 1.9;
}

.about-highlight {
    background-color: var(--surface);
    border: 1px solid rgba(40, 123, 255, 0.25);
    border-radius: 15px;
    padding: 35px;
}

.about-icon {
    display: inline-block;
    color: var(--light-blue);
    font-size: 2rem;
    margin-bottom: 15px;
}

.about-highlight h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.about-highlight p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* About Me Mobile Layout */

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-heading h2 {
        font-size: 2rem;
    }

    .about-highlight {
        padding: 25px;
    }
}

/* =================================
   SKILLS & TOOLS SECTION
================================= */

.skills {
    background-color: var(--surface);
}

.section-description {
    color: var(--text-muted);
    margin-top: 12px;
    max-width: 600px;
    font-size: 1rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.skill-card {
    background-color: var(--background);
    border: 1px solid rgba(40, 123, 255, 0.2);
    border-radius: 14px;
    padding: 30px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
}

.skill-card h3 {
    font-size: 1.2rem;
    margin-bottom: 22px;
    color: var(--text-white);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-tags span {
    background-color: rgba(40, 123, 255, 0.12);
    color: var(--light-blue);
    border: 1px solid rgba(40, 123, 255, 0.25);
    padding: 9px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
}

/* Skills Mobile Layout */

@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }

    .skill-card {
        padding: 25px;
    }
}

/* =================================
   PROFESSIONAL EXPERIENCE SECTION
================================= */

.experience {
    background-color: var(--background);
}

.experience-container {
    position: relative;
    margin-top: 45px;
    padding-left: 30px;
    border-left: 2px solid rgba(40, 123, 255, 0.4);
}

.experience-card {
    position: relative;
    background-color: var(--surface);
    border: 1px solid rgba(40, 123, 255, 0.2);
    border-radius: 14px;
    padding: 30px;
    margin-bottom: 30px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.experience-card::before {
    content: "";
    position: absolute;
    left: -39px;
    top: 35px;
    width: 14px;
    height: 14px;
    background-color: var(--primary-blue);
    border: 3px solid var(--background);
    border-radius: 50%;
}

.experience-card:hover {
    transform: translateX(5px);
    border-color: var(--primary-blue);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 22px;
}

.experience-header h3 {
    font-size: 1.3rem;
    color: var(--text-white);
    margin-bottom: 5px;
}

.experience-header h4 {
    color: var(--light-blue);
    font-size: 1rem;
    font-weight: 500;
}

.experience-date {
    color: var(--text-muted);
    font-size: 0.85rem;
    white-space: nowrap;
    background-color: rgba(40, 123, 255, 0.1);
    padding: 7px 12px;
    border-radius: 6px;
}

.experience-card ul {
    padding-left: 20px;
    margin-bottom: 22px;
}

.experience-card li {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 9px;
}

.experience-card li::marker {
    color: var(--primary-blue);
}

.experience-tools {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    padding-top: 15px;
    border-top: 1px solid rgba(168, 179, 199, 0.12);
}

.experience-tools strong {
    color: var(--light-blue);
}

/* Experience Mobile Layout */

@media (max-width: 768px) {
    .experience-container {
        padding-left: 22px;
    }

    .experience-card {
        padding: 22px;
    }

    .experience-card::before {
        left: -31px;
    }

    .experience-header {
        flex-direction: column;
        gap: 12px;
    }

    .experience-date {
        white-space: normal;
    }

    .experience-header h3 {
        font-size: 1.15rem;
    }
}

/* =================================
   EDUCATION SECTION
================================= */

.education {
    background-color: var(--background);
}


.education-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.education-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background-color: var(--surface);
    border: 1px solid rgba(101, 165, 255, 0.12);
    border-radius: 14px;
    padding: 25px;
    transition: 0.3s ease;
}

.education-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
}

.education-logo {
    width: 85px;
    height: 85px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 8px;
    background-color: white;
    padding: 5px;
}


.education-date {
    color: var(--light-blue);
    font-size: 13px;
    font-weight: 600;
}

.education-details h3 {
    font-size: 19px;
    margin: 12px 0 7px;
}

.education-details h4 {
    color: var(--light-blue);
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 15px;
}

.education-details p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
}

/* Mobile layout */

@media (max-width: 768px) {
    .education-container {
        grid-template-columns: 1fr;
    }
}

/* CERTIFICATIONS SECTION */

.certifications {
    background-color: var(--surface);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 35px;
}

.certification-card {
    background-color: var(--background);
    border: 1px solid rgba(101, 165, 255, 0.12);
    border-radius: 14px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    transition: 0.3s ease;
}

.certification-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
}

.certificate-preview {
    width: 100%;
    height: 190px;
    object-fit: contain;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 20px;
    cursor: pointer;
}

.certification-card h3 {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 8px;
}

.certification-card h4 {
    color: var(--light-blue);
    font-size: 14px;
    font-weight: 500;
}

/* RESPONSIVE CERTIFICATE GALLERY */

@media (max-width: 900px) {
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .certifications-grid {
        grid-template-columns: 1fr;
    }
}

/* CERTIFICATE FULL-SCREEN VIEWER */

.certificate-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.certificate-modal.active {
    display: flex;
}

.certificate-modal img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    background: none;
    border: none;
    color: white;
    font-size: 45px;
    cursor: pointer;
    transition: 0.3s ease;
}

.modal-close:hover {
    color: var(--light-blue);
    transform: scale(1.15);
}

@media (max-width: 600px) {
    .certificate-modal {
        padding: 15px;
    }

    .certificate-modal img {
        max-width: 100%;
        max-height: 85vh;
    }

    .modal-close {
        top: 10px;
        right: 18px;
        font-size: 38px;
    }
}
/* HAMBURGER MENU BUTTON */

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #F5F7FA;
    border-radius: 5px;
    transition: 0.3s ease;
}

@media (max-width: 900px) {

    .nav-actions {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-left: auto;
    }

    .theme-toggle {
        order: 1;
    }

    .menu-toggle {
        display: flex;
        order: 2;
        position: relative;
        z-index: 1002;
    }

    .menu-toggle span {
        background-color: var(--text-white);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(320px, 85vw);
        height: 100vh;
        background-color: var(--surface);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 25px;
        padding: 100px 30px 30px;
        z-index: 1001;
        transition: right 0.3s ease;
        overflow-y: auto;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-contact {
        display: none;
    }
}
/* PROJECTS SECTION */

.projects {
    padding: 100px 8%;
    background-color: var(--surface);
}

.projects .section-heading {
    margin-bottom: 50px;
}

.projects .section-heading p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 750px;
    margin-top: 15px;
}

/* PROJECT CARDS GRID */

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

/* INDIVIDUAL PROJECT CARDS */

.project-card {
    background-color: var(--background);
    border: 1px solid rgba(128, 128, 128, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-7px);
    border-color: var(--primary-blue);
    box-shadow: 0 10px 25px rgba(40, 123, 255, 0.12);
}


/* PROJECT IMAGE */

.project-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: var(--background);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}


/* PROJECT DETAILS */

.project-content {
    padding: 22px;
}

.project-content h3 {
    color: var(--text-white);
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.project-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 18px;
}

/* PROJECT TOOLS */

.project-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.project-tools span {
    background-color: var(--surface);
    color: var(--light-blue);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
}

/* PROJECT LINK */

.project-link {
    color: var(--light-blue);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
}

.project-link:hover {
    color: var(--primary-blue);
}

/* PROJECTS RESPONSIVE DESIGN */

@media (max-width: 1000px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .projects {
        padding: 70px 6%;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-image {
        height: 190px;
    }

    .project-content {
        padding: 18px;
    }
}

.project-category {
    color: var(--light-blue);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

/* CV PREVIEW MODAL */

.cv-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    padding: 30px 15px;
    overflow-y: auto;
}

.cv-modal-content {
    background: var(--background);
    width: 90%;
    max-width: 950px;
    min-height: 80vh;
    margin: 20px auto;
    border-radius: 12px;
    overflow: hidden;
}

.cv-modal-header,
.cv-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(128, 128, 128, 0.2);
}

.cv-modal-header h2 {
    color: var(--text-white);
    font-size: 1.3rem;
}

.cv-close {
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 2rem;
    cursor: pointer;
}

.cv-preview-area {
    width: 100%;
    height: 75vh;
    min-height: 500px;
    overflow: hidden;
    background: #252525;
    border-radius: 8px;
}

.cv-preview-area iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.cv-modal-footer {
    border-top: 1px solid rgba(128, 128, 128, 0.2);
    border-bottom: none;
    gap: 15px;
    flex-wrap: wrap;
}

@media (max-width: 600px) {
    .cv-modal-content {
        width: 100%;
        margin: 0 auto;
    }

    .cv-preview-area {
        min-height: 55vh;
        padding: 15px;
    }

    .cv-modal-footer {
        flex-direction: column;
    }

    .cv-modal-footer .btn {
        width: 100%;
        justify-content: center;
    }
}

/* CONTACT SECTION */

.contact {
    padding: 100px 8%;
    background-color: var(--background);
}

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

/* CONTACT INFORMATION */

.contact-info h3 {
    color: var(--text-white);
    font-size: 1.6rem;
    margin-bottom: 18px;
}

.contact-info > p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 35px;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 25px;
}

.contact-detail span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.contact-detail a {
    color: var(--light-blue);
    text-decoration: none;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.contact-detail a:hover {
    color: var(--primary-blue);
}

/* CONTACT FORM */

.contact-form-container {
    background-color: var(--surface);
    padding: 35px;
    border-radius: 12px;
    border: 1px solid rgba(128, 128, 128, 0.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.form-group label {
    color: var(--text-white);
    font-size: 0.9rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    background-color: var(--background);
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-radius: 6px;
    color: var(--text-white);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-blue);
}

.form-group textarea {
    resize: vertical;
}

.contact-form button {
    align-self: flex-start;
    cursor: pointer;
}

/* CONTACT RESPONSIVE DESIGN */

@media (max-width: 800px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-container {
        padding: 25px;
    }
}

@media (max-width: 600px) {
    .contact {
        padding: 70px 6%;
    }

    .contact-form-container {
        padding: 20px;
    }

    .contact-form button {
        width: 100%;
        justify-content: center;
    }
}

/* FOOTER */
.footer {
    background-color: var(--surface);
    padding: 55px 8% 20px;
    border-top: 1px solid rgba(128, 128, 128, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    padding-bottom: 40px;
}

/* FOOTER BRAND */
.footer-brand h3 {
    color: var(--text-white);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-brand h3 span {
    color: var(--primary-blue);
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.footer-brand small {
    color: var(--light-blue);
    font-size: 0.8rem;
}

/* FOOTER LINKS */
.footer-links,
.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-links a,
.footer-socials a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-socials a:hover {
    color: var(--light-blue);
}

/* FOOTER BOTTOM */
.footer-bottom {
    border-top: 1px solid rgba(128, 128, 128, 0.2);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* FOOTER RESPONSIVE DESIGN */
@media (max-width: 700px) {
    .footer {
        padding: 45px 6% 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-links,
    .footer-socials {
        gap: 15px;
    }
}



/* MOBILE NAVIGATION - LIGHT MODE */

@media (max-width: 900px) {

    body.light-mode .nav-links {
        background-color: #FFFFFF;
    }

    body.light-mode .nav-links a {
        color: #263247 !important;
    }

    body.light-mode .menu-toggle span {
        background-color: #101A2B;
    }

}
}
/* NEXALYTICS LOGO */

.nexalytics-logo {
    width: 180px;
    height: 180px;
    object-fit: contain;
    border-radius: 50%;
    display: block;
    margin: 0 auto 35px;
    align-self: center;
}
/* NEXALYTICS SECTION */

.nexalytics {
    padding: 100px 8%;
    background-color: var(--background);
}

/* CENTRED NEXALYTICS LOGO */

.nexalytics-logo-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}
.nexalytics-content .section-label {
    text-align: center;
    width: 100%;
    font-size: 1rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 20px;
    letter-spacing: 2px;
}
.nexalytics-logo {
    width: 180px;
    height: 180px;
    object-fit: contain;
    border-radius: 50%;
}

/* NEXALYTICS CONTENT */

.nexalytics-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}

.nexalytics-content .section-heading {
    margin-bottom: 30px;
}

.nexalytics-description h3 {
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: 18px;
}

.nexalytics-description p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.9;
    max-width: 850px;
}

/* NEXALYTICS MOBILE LAYOUT */

@media (max-width: 768px) {

    .nexalytics {
        padding: 70px 6%;
    }

    .nexalytics-logo {
        width: 145px;
        height: 145px;
    }

    .nexalytics-content .section-heading h2 {
        font-size: 2rem;
    }

    .nexalytics-description h3 {
        font-size: 1.25rem;
    }
}
/* NEXALYTICS BUTTON */

.nexalytics-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    padding: 14px 28px;
    background-color: var(--primary-blue);
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nexalytics-button:hover {
    background-color: var(--light-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(40, 123, 255, 0.25);
}

.nexalytics-button span {
    font-size: 1.2rem;
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    display: block;
    border-radius: inherit;
}
