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

:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #eff6ff;
    --secondary: #0284c7;

    --text-dark: #0f172a;
    --text-muted: #475569;
    --text-light: #64748b;

    --bg-light: #f8fafc;
    --bg-white: #ffffff;

    --border-color: #e2e8f0;
    --border-light: #f1f5f9;

    --success: #10b981;

    --navbar-height: 75px;

    --container-width: 1140px;
    --footer-width: 1250px;

    --shadow-sm: 0 4px 15px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 45px rgba(15, 23, 42, 0.10);
}


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

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    background-color: #fafafa;

    color: var(--text-dark);

    overflow-x: hidden;

    padding-top: var(--navbar-height);

    line-height: 1.5;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    height: auto;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
}

ul,
ol {
    list-style: none;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    height: var(--navbar-height);

    z-index: 99999;

    background: rgba(255, 255, 255, 0.60);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.70);

    box-shadow:
        0 8px 30px rgba(40, 50, 90, 0.08);

    box-sizing: border-box;
}


/* =========================================================
   NAV CONTAINER
========================================================= */

.nav-container {
    width: 100%;

    max-width: 1200px;

    height: 100%;

    margin: 0 auto;

    padding: 0 25px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    position: relative;
}


/* =========================================================
   LOGO
========================================================= */

.logo {
    display: flex;

    align-items: center;

    text-decoration: none;

    flex-shrink: 0;

    position: relative;

    z-index: 100001;
}

.logo img {
    height: 44px;

    width: auto;

    max-width: 180px;

    object-fit: contain;

    border-radius: 8px;

    display: block;
}


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

.nav-links {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 4px;

    list-style: none;

    margin: 0;

    padding: 6px;

    background: rgba(255, 255, 255, 0.35);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    border: 1px solid rgba(255, 255, 255, 0.60);

    border-radius: 18px;

    box-shadow:
        0 8px 25px rgba(40, 50, 90, 0.07),
        inset 0 1px 1px rgba(255, 255, 255, 0.80);

    position: relative;
}

.nav-links li {
    list-style: none;
}


/* =========================================================
   NAV LINKS
========================================================= */

.nav-links a {
    display: flex;

    align-items: center;

    justify-content: center;

    color: #536078;

    text-decoration: none;

    padding: 10px 13px;

    min-height: 40px;

    font-size: 14px;

    font-weight: 700;

    white-space: nowrap;

    border-radius: 12px;

    border: 1px solid transparent;

    transition:
        color 0.3s ease,
        background 0.3s ease,
        border 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/* =========================================================
   NAV HOVER
========================================================= */

.nav-links a:hover {
    color: var(--primary);

    background: rgba(255, 255, 255, 0.60);

    border-color: rgba(255, 255, 255, 0.75);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-shadow:
        0 5px 15px rgba(70, 80, 120, 0.10),
        inset 0 1px 1px rgba(255, 255, 255, 0.90);

    transform: translateY(-1px);
}


/* =========================================================
   ACTIVE NAV
========================================================= */

.nav-links a.active {
    color: var(--primary);

    background: rgba(255, 255, 255, 0.65);

    border-color: rgba(255, 255, 255, 0.80);

    box-shadow:
        0 5px 15px rgba(70, 80, 120, 0.10),
        inset 0 1px 2px rgba(255, 255, 255, 0.90);
}


/* =========================================================
   NAV CTA
========================================================= */

.nav-links .nav-cta {
    color: #17213b !important;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.90),
            rgba(240, 243, 255, 0.70)
        ) !important;

    border: 1px solid rgba(255, 255, 255, 0.90) !important;

    border-radius: 13px;

    box-shadow:
        0 6px 18px rgba(99, 91, 255, 0.16),
        inset 0 1px 2px rgba(255, 255, 255, 1);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav-links .nav-cta:hover {
    color: #17213b !important;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.98),
            rgba(238, 241, 255, 0.90)
        ) !important;

    transform: translateY(-2px);

    box-shadow:
        0 8px 22px rgba(99, 91, 255, 0.22),
        inset 0 1px 2px rgba(255, 255, 255, 1);
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-btn {
    display: none;

    width: 44px;

    height: 44px;

    flex-shrink: 0;

    align-items: center;

    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.75);

    border-radius: 13px;

    background: rgba(255, 255, 255, 0.75);

    color: #17213b;

    font-size: 21px;

    cursor: pointer;

    position: relative;

    z-index: 100001;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    box-shadow:
        0 8px 20px rgba(40, 50, 90, 0.10);

    transition:
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.menu-btn:hover {
    background: rgba(255, 255, 255, 0.95);

    transform: translateY(-1px);

    box-shadow:
        0 10px 25px rgba(40, 50, 90, 0.13);
}


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

.hero-section {
    position: relative;

    width: 100%;

    min-height: calc(100vh - var(--navbar-height));

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(59, 130, 246, 0.12) 0%,
            transparent 40%
        ),
        radial-gradient(
            circle at 10% 80%,
            rgba(147, 197, 253, 0.15) 0%,
            transparent 40%
        ),
        #f8fafc;

    padding: 90px 24px;

    display: flex;

    justify-content: center;

    align-items: center;

    border-bottom: 1px solid var(--border-color);

    overflow: hidden;
}


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

.hero-wrapper {
    max-width: var(--container-width);

    width: 100%;

    display: grid;

    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

    gap: 60px;

    align-items: center;

    position: relative;

    z-index: 2;
}


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

.hero-content {
    min-width: 0;
}


/* =========================================================
   STATUS PILL
========================================================= */

.status-pill {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    background-color: #ffffff;

    border: 1px solid var(--border-color);

    padding: 8px 18px;

    border-radius: 30px;

    font-size: 0.875rem;

    font-weight: 600;

    color: var(--primary);

    box-shadow:
        0 4px 15px rgba(37, 99, 235, 0.08);

    margin-bottom: 24px;

    animation:
        fadeInDown 0.8s ease-out;
}


/* =========================================================
   STATUS DOT
========================================================= */

.status-dot-wrapper {
    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 10px;

    height: 10px;
}

.status-dot {
    width: 8px;

    height: 8px;

    background-color: var(--success);

    border-radius: 50%;

    position: relative;

    z-index: 2;
}

.status-ping {
    position: absolute;

    width: 12px;

    height: 12px;

    background-color: var(--success);

    border-radius: 50%;

    opacity: 0.75;

    animation:
        pulse 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}


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

.hero-headline {
    font-size: clamp(2.5rem, 5vw, 3.25rem);

    font-weight: 800;

    line-height: 1.15;

    letter-spacing: -0.02em;

    color: var(--text-dark);

    margin-bottom: 20px;

    animation:
        fadeInUp 0.8s ease-out 0.2s both;
}

.gradient-text {
    background:
        linear-gradient(
            135deg,
            #2563eb 0%,
            #0284c7 100%
        );

    background-clip: text;

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

    display: inline-block;
}


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

.hero-description {
    font-size: 1.125rem;

    line-height: 1.6;

    color: var(--text-muted);

    margin-bottom: 36px;

    max-width: 480px;

    animation:
        fadeInUp 0.8s ease-out 0.4s both;
}


/* =========================================================
   BUTTON GROUP
========================================================= */

.button-group {
    display: flex;

    gap: 16px;

    align-items: center;

    flex-wrap: wrap;

    animation:
        fadeInUp 0.8s ease-out 0.6s both;
}


/* =========================================================
   MAIN BUTTON
========================================================= */

.btn-main {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    background-color: var(--primary);

    color: #ffffff;

    padding: 14px 28px;

    min-height: 48px;

    border-radius: 10px;

    text-decoration: none;

    font-weight: 600;

    font-size: 0.95rem;

    border: 1px solid var(--primary);

    transition:
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.btn-main:hover {
    background-color: var(--primary-hover);

    transform: translateY(-3px);

    box-shadow:
        0 8px 22px rgba(37, 99, 235, 0.25);
}


/* =========================================================
   OUTLINE BUTTON
========================================================= */

.btn-outline {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    background-color: #ffffff;

    color: #334155;

    border: 1px solid #cbd5e1;

    padding: 14px 28px;

    min-height: 48px;

    border-radius: 10px;

    text-decoration: none;

    font-weight: 600;

    font-size: 0.95rem;

    transition:
        background 0.3s ease,
        border 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.btn-outline:hover {
    background-color: #f8fafc;

    border-color: var(--primary);

    color: var(--primary);

    transform: translateY(-3px);
}


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

.showcase-container {
    position: relative;

    min-width: 0;

    animation:
        float 6s ease-in-out infinite;
}


/* =========================================================
   MAIN CARD
========================================================= */

.main-card {
    width: 100%;

    background: rgba(255, 255, 255, 0.85);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(226, 232, 240, 0.8);

    border-radius: 20px;

    padding: 32px;

    box-shadow:
        0 20px 40px -15px rgba(37, 99, 235, 0.08);
}


/* =========================================================
   CARD HEADING
========================================================= */

.card-heading {
    font-size: 1.1rem;

    font-weight: 700;

    color: var(--text-dark);

    margin-bottom: 20px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 15px;
}


/* =========================================================
   BADGE
========================================================= */

.badge-tag {
    background: var(--primary-light);

    color: var(--primary);

    font-size: 0.75rem;

    font-weight: 700;

    padding: 4px 12px;

    border-radius: 20px;

    border: 1px solid rgba(37, 99, 235, 0.2);

    white-space: nowrap;
}


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

.skills-list {
    display: flex;

    flex-direction: column;

    gap: 12px;
}


/* =========================================================
   SKILL ROW
========================================================= */

.skill-row {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    padding: 12px 16px;

    background: #ffffff;

    border: 1px solid var(--border-light);

    border-radius: 12px;

    transition:
        border 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.skill-row:hover {
    border-color: #93c5fd;

    transform: translateX(6px);

    box-shadow:
        0 5px 15px rgba(37, 99, 235, 0.06);
}


/* =========================================================
   SKILL INFO
========================================================= */

.skill-info {
    display: flex;

    align-items: center;

    gap: 12px;

    min-width: 0;
}

.skill-bullet {
    width: 10px;

    height: 10px;

    flex-shrink: 0;

    background: #3b82f6;

    border-radius: 3px;

    box-shadow:
        0 0 8px rgba(59, 130, 246, 0.5);
}

.skill-title {
    font-weight: 600;

    font-size: 0.9rem;

    color: #1e293b;
}

.skill-level {
    font-size: 0.8rem;

    color: #64748b;

    font-weight: 500;

    white-space: nowrap;
}


/* =========================================================
   FLOATING PILL
========================================================= */

.floating-pill {
    position: absolute;

    bottom: -20px;

    right: -20px;

    background: #ffffff;

    border: 1px solid var(--border-color);

    padding: 14px 20px;

    border-radius: 16px;

    box-shadow:
        0 12px 30px rgba(15, 23, 42, 0.08);

    display: flex;

    align-items: center;

    gap: 12px;

    animation:
        floatSlow 4s ease-in-out infinite alternate;

    z-index: 3;
}

.pill-icon {
    background: #dcfce7;

    color: #16a34a;

    width: 38px;

    height: 38px;

    flex-shrink: 0;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-weight: 800;
}


/* =========================================================
   GENERAL SECTION
========================================================= */

.section {
    width: 100%;

    max-width: var(--container-width);

    padding: 90px 24px;

    margin: 0 auto;
}

.section-bordered {
    border-top: 1px solid var(--border-color);
}


/* =========================================================
   SECTION TITLE
========================================================= */

.section-title-wrap {
    text-align: center;

    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;

    font-size: 0.85rem;

    font-weight: 700;

    color: var(--primary);

    text-transform: uppercase;

    letter-spacing: 1px;
}

.section-heading {
    font-size: 2.25rem;

    font-weight: 800;

    color: var(--text-dark);

    margin-top: 8px;

    line-height: 1.2;
}


/* =========================================================
   STATS
========================================================= */

.stats-container {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(200px, 1fr));

    gap: 20px;

    background: #ffffff;

    border: 1px solid var(--border-color);

    border-radius: 18px;

    padding: 30px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.03);
}

.stat-box {
    text-align: center;

    padding: 5px;
}

.stat-num {
    font-size: 2.25rem;

    font-weight: 800;

    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;

    color: var(--text-muted);

    font-weight: 600;

    margin-top: 4px;
}


/* =========================================================
   SKILL CARDS
========================================================= */

.skill-card {
    background: #ffffff;

    border: 1px solid var(--border-color);

    padding: 20px;

    border-radius: 16px;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.01);
}

.skill-bar-header {
    display: flex;

    justify-content: space-between;

    gap: 15px;

    font-weight: 700;

    font-size: 0.95rem;

    margin-bottom: 10px;
}

.progress-bar-bg {
    width: 100%;

    height: 8px;

    background: #e2e8f0;

    border-radius: 10px;

    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;

    background:
        linear-gradient(
            90deg,
            #2563eb,
            #0284c7
        );

    border-radius: 10px;
}


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

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;
}

.service-card {
    background: #ffffff;

    padding: 32px;

    border-radius: 16px;

    border: 1px solid var(--border-color);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 12px 30px rgba(37, 99, 235, 0.08);

    border-color: #93c5fd;
}

.service-icon {
    font-size: 1.8rem;

    color: var(--primary);

    margin-bottom: 20px;
}

.service-title {
    font-size: 1.2rem;

    font-weight: 700;

    margin-bottom: 12px;
}

.service-desc {
    color: var(--text-muted);

    line-height: 1.6;

    font-size: 0.95rem;
}


/* =========================================================
   TIMELINE
========================================================= */

.timeline {
    position: relative;

    width: 100%;

    max-width: 800px;

    margin: 0 auto;

    padding-left: 30px;

    border-left: 2px solid var(--border-color);
}

.timeline-item {
    position: relative;

    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;

    left: -39px;

    top: 4px;

    width: 16px;

    height: 16px;

    background: var(--primary);

    border-radius: 50%;

    border: 3px solid #ffffff;

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.2);
}

.timeline-date {
    font-size: 0.85rem;

    font-weight: 700;

    color: var(--primary);

    margin-bottom: 4px;
}

.timeline-title {
    font-size: 1.15rem;

    font-weight: 700;

    margin-bottom: 6px;
}

.timeline-company {
    font-size: 0.9rem;

    font-weight: 600;

    color: var(--text-dark);

    margin-bottom: 10px;
}

.timeline-body {
    color: var(--text-muted);

    font-size: 0.95rem;

    line-height: 1.6;
}


/* =========================================================
   FILTER
========================================================= */

.filter-container {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 12px;

    margin-bottom: 30px;

    flex-wrap: wrap;
}

.filter-btn {
    background: #ffffff;

    border: 1px solid var(--border-color);

    padding: 8px 18px;

    border-radius: 20px;

    font-size: 0.875rem;

    font-weight: 600;

    color: var(--text-muted);

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border 0.3s ease,
        transform 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);

    color: #ffffff;

    border-color: var(--primary);

    transform: translateY(-1px);
}


/* =========================================================
   PROJECTS
========================================================= */

.projects-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 28px;
}

.project-card {
    background: #ffffff;

    border-radius: 16px;

    border: 1px solid var(--border-color);

    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.06);
}


/* =========================================================
   PROJECT PREVIEW
========================================================= */

.project-preview {
    position: relative;

    width: 100%;

    height: 190px;

    overflow: hidden;

    background: #e2e8f0;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #94a3b8;

    font-size: 3rem;
}

.project-preview img {
    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.4s ease;
}

.project-card:hover .project-preview img {
    transform: scale(1.05);
}


/* =========================================================
   PROJECT INFO
========================================================= */

.project-info {
    padding: 24px;
}

.project-meta {
    display: flex;

    gap: 8px;

    flex-wrap: wrap;

    margin-bottom: 12px;
}

.meta-tag {
    background: #f1f5f9;

    color: var(--text-muted);

    font-size: 0.75rem;

    font-weight: 600;

    padding: 4px 10px;

    border-radius: 6px;
}

.project-name {
    font-size: 1.25rem;

    font-weight: 700;

    margin-bottom: 8px;
}

.project-desc {
    color: var(--text-muted);

    font-size: 0.9rem;

    line-height: 1.5;

    margin-bottom: 16px;
}

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

    text-decoration: none;

    font-weight: 700;

    font-size: 0.9rem;

    display: inline-flex;

    align-items: center;

    gap: 6px;
}

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

.project-link i {
    font-size: 0.75rem;
}


/* =========================================================
   FAQ
========================================================= */

.faq-item {
    background: #ffffff;

    border: 1px solid var(--border-color);

    border-radius: 12px;

    margin-bottom: 16px;

    overflow: hidden;

    transition:
        border 0.3s ease,
        box-shadow 0.3s ease;
}

.faq-item.active {
    border-color: #bfdbfe;

    box-shadow:
        0 8px 25px rgba(37, 99, 235, 0.05);
}

.faq-header {
    padding: 20px;

    font-weight: 700;

    cursor: pointer;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    color: var(--text-dark);

    user-select: none;
}

.faq-header i,
.faq-header .faq-icon {
    flex-shrink: 0;

    transition:
        transform 0.3s ease;
}

.faq-body {
    display: none;

    padding:
        0 20px 20px;

    color: #555;

    line-height: 1.6;

    font-size: 0.95rem;
}

.faq-item.active .faq-body {
    display: block;
}

.faq-item.active .faq-header i,
.faq-item.active .faq-icon {
    transform: rotate(180deg);
}


/* =========================================================
   FORM
========================================================= */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    font-size: 0.875rem;

    font-weight: 600;

    margin-bottom: 8px;

    color: var(--text-dark);
}

.form-input {
    width: 100%;

    min-height: 46px;

    padding: 12px 16px;

    border: 1px solid var(--border-color);

    border-radius: 8px;

    font-family: inherit;

    font-size: 0.95rem;

    color: var(--text-dark);

    background: #ffffff;

    outline: none;

    transition:
        border 0.3s ease,
        box-shadow 0.3s ease;
}

.form-input:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.10);
}

textarea.form-input {
    min-height: 120px;

    resize: vertical;
}


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

footer.site-footer {
    position: relative;

    overflow: hidden;

    isolation: isolate;

    padding: 80px 7% 25px;

    color: #ffffff;

    background-image:
        radial-gradient(
            rgba(255, 255, 255, 0.13) 1px,
            transparent 1px
        ),
        linear-gradient(
            135deg,
            #0069c9,
            #008fe8 45%,
            #0056a8
        );

    background-size:
        30px 30px,
        auto;
}


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

.site-footer::before {
    content: "";

    position: absolute;

    width: 430px;

    height: 430px;

    top: -230px;

    left: -130px;

    background: rgba(0, 238, 255, 0.35);

    border-radius: 50%;

    filter: blur(55px);

    z-index: -1;

    animation:
        footerBlob1 8s ease-in-out infinite;
}

.site-footer::after {
    content: "";

    position: absolute;

    width: 400px;

    height: 400px;

    right: -160px;

    bottom: -190px;

    background: rgba(255, 255, 255, 0.18);

    border-radius: 50%;

    filter: blur(60px);

    z-index: -1;

    animation:
        footerBlob2 10s ease-in-out infinite;
}


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

.footer-grid {
    max-width: var(--footer-width);

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        1.5fr 1fr 1fr 1fr;

    gap: 25px;

    position: relative;

    z-index: 2;
}


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

.footer-card {
    position: relative;

    padding: 28px;

    border-radius: 24px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.19),
            rgba(255, 255, 255, 0.06)
        );

    border: 1px solid rgba(255, 255, 255, 0.28);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.12),
        inset 0 1px 1px rgba(255, 255, 255, 0.35);

    transition:
        transform 0.4s ease,
        background 0.4s ease,
        box-shadow 0.4s ease;
}

.footer-card:hover {
    transform: translateY(-10px);

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.25),
            rgba(255, 255, 255, 0.09)
        );

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.18),
        0 0 25px rgba(255, 255, 255, 0.12);
}


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

.footer-brand img {
    height: 52px;

    width: auto;

    max-width: 200px;

    padding: 5px;

    margin-bottom: 15px;

    background: rgba(255, 255, 255, 0.95);

    border-radius: 12px;

    object-fit: contain;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.15);

    transition:
        transform 0.4s ease;
}

.footer-brand img:hover {
    transform:
        translateY(-5px)
        rotate(-2deg)
        scale(1.05);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.82);

    line-height: 1.8;

    max-width: 330px;

    margin-top: 5px;

    font-size: 14px;
}


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

.site-footer h3 {
    margin-bottom: 22px;

    font-size: 17px;

    color: #ffffff;

    position: relative;
}

.site-footer h3::after {
    content: "";

    display: block;

    width: 32px;

    height: 3px;

    margin-top: 9px;

    border-radius: 20px;

    background: #ffffff;

    transition:
        width 0.4s ease;
}

.footer-card:hover h3::after {
    width: 62px;
}


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

.site-footer ul {
    list-style: none;

    padding: 0;

    margin: 0;
}

.site-footer li {
    margin-bottom: 13px;
}

.site-footer li a {
    color: rgba(255, 255, 255, 0.78);

    text-decoration: none;

    font-size: 14px;

    transition:
        color 0.3s ease,
        padding 0.3s ease;
}

.site-footer li a:hover {
    color: #ffffff;

    padding-left: 7px;
}


/* =========================================================
   SOCIALS
========================================================= */

.socials {
    display: flex;

    gap: 12px;

    margin-top: 22px;

    flex-wrap: wrap;
}

.socials a {
    width: 43px;

    height: 43px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 14px;

    color: #ffffff;

    background: rgba(255, 255, 255, 0.12);

    border: 1px solid rgba(255, 255, 255, 0.25);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.25);

    transition:
        transform 0.4s ease,
        background 0.4s ease,
        color 0.4s ease,
        box-shadow 0.4s ease;
}

.socials a:hover {
    transform:
        translateY(-7px)
        rotate(5deg);

    background: #ffffff;

    color: #0074c8;

    box-shadow:
        0 12px 25px rgba(0, 0, 0, 0.20);
}


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

.footer-cta {
    max-width: var(--footer-width);

    margin: 45px auto 0;

    padding: 32px 38px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    border-radius: 25px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.22),
            rgba(255, 255, 255, 0.07)
        );

    border: 1px solid rgba(255, 255, 255, 0.30);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.15),
        inset 0 1px 1px rgba(255, 255, 255, 0.40);

    position: relative;

    overflow: hidden;
}

.footer-cta h2 {
    margin: 0 0 8px;

    font-size: 26px;

    color: #ffffff;

    line-height: 1.3;
}

.footer-cta p {
    margin: 0;

    color: rgba(255, 255, 255, 0.78);

    font-size: 14px;
}

.footer-cta a {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 14px 24px;

    min-height: 48px;

    border-radius: 50px;

    background: #ffffff;

    color: #0069c9 !important;

    font-weight: 700;

    white-space: nowrap;

    text-decoration: none;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.18);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.footer-cta a:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.25);
}


/* =========================================================
   COPYRIGHT
========================================================= */

.copyright {
    max-width: var(--footer-width);

    margin: 38px auto 0;

    padding-top: 22px;

    border-top:
        1px solid rgba(255, 255, 255, 0.20);

    text-align: center;

    color: rgba(255, 255, 255, 0.78);

    font-size: 13px;

    position: relative;

    z-index: 2;
}

.copyright strong {
    color: #ffffff;
}


/* =========================================================
   REVEAL ANIMATION
========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(40px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.show {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes pulse {

    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}


@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}


@keyframes floatSlow {

    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-8px);
    }
}


@keyframes fadeInUp {

    from {
        opacity: 0;

        transform: translateY(20px);
    }

    to {
        opacity: 1;

        transform: translateY(0);
    }
}


@keyframes fadeInDown {

    from {
        opacity: 0;

        transform: translateY(-15px);
    }

    to {
        opacity: 1;

        transform: translateY(0);
    }
}


@keyframes orbOne {

    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(120px, 80px);
    }
}


@keyframes orbTwo {

    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(-100px, 80px);
    }
}


@keyframes orbThree {

    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(80px, -80px);
    }
}


@keyframes dashboardFloat {

    0%,
    100% {
        transform:
            perspective(1000px)
            rotateY(-7deg)
            rotateX(4deg)
            translateY(0);
    }

    50% {
        transform:
            perspective(1000px)
            rotateY(-7deg)
            rotateX(4deg)
            translateY(-12px);
    }
}


@keyframes deviceFloat {

    0%,
    100% {
        transform:
            rotateY(-15deg)
            rotateX(8deg)
            rotateZ(-2deg)
            translateY(0);
    }

    50% {
        transform:
            rotateY(-15deg)
            rotateX(8deg)
            rotateZ(-2deg)
            translateY(-12px);
    }
}


@keyframes floatOne {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}


@keyframes floatTwo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(12px);
    }
}


@keyframes graphMove {

    from {
        transform:
            rotate(-5deg)
            translateY(5px);
    }

    to {
        transform:
            rotate(-2deg)
            translateY(-5px);
    }
}


@keyframes livePulse {

    0%,
    100% {
        box-shadow:
            0 0 0 4px rgba(0, 201, 139, 0.10);
    }

    50% {
        box-shadow:
            0 0 0 9px rgba(0, 201, 139, 0.02);
    }
}


@keyframes footerBlob1 {

    0%,
    100% {
        transform:
            translate(0, 0)
            scale(1);
    }

    50% {
        transform:
            translate(50px, 40px)
            scale(1.1);
    }
}


@keyframes footerBlob2 {

    0%,
    100% {
        transform:
            translate(0, 0)
            scale(1);
    }

    50% {
        transform:
            translate(-40px, -30px)
            scale(1.08);
    }
}


/* =========================================================
   LAPTOP
========================================================= */

@media (max-width: 1100px) {

    .nav-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .nav-links {
        gap: 2px;
    }

    .nav-links a {
        padding: 9px 8px;

        font-size: 12px;
    }

    .logo img {
        height: 42px;
    }


    /* HERO */

    .hero-wrapper {
        gap: 40px;
    }

    .hero-headline {
        font-size: clamp(2.3rem, 5vw, 3rem);
    }


    /* SERVICES */

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


    /* PROJECTS */

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


    /* FOOTER */

    .footer-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   TABLET / MOBILE NAVIGATION
========================================================= */

@media (max-width: 900px) {

    :root {
        --navbar-height: 70px;
    }

    body {
        padding-top: 70px;
    }

    .navbar {
        height: 70px;
    }

    .nav-container {
        height: 70px;

        padding:
            0 18px;
    }

    .logo img {
        height: 40px;

        max-width: 160px;
    }


    /* HAMBURGER */

    .menu-btn {
        display: flex;
    }


    /* HIDE DESKTOP NAV */

    .nav-links {
        display: none !important;

        position: absolute;

        top: calc(100% + 10px);

        left: 12px;

        right: 12px;

        width: auto;

        flex-direction: column;

        align-items: stretch;

        justify-content: flex-start;

        gap: 4px;

        padding: 10px;

        margin: 0;

        background:
            rgba(255, 255, 255, 0.94);

        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);

        border:
            1px solid rgba(255, 255, 255, 0.95);

        border-radius: 20px;

        box-shadow:
            0 20px 50px rgba(30, 50, 80, 0.18),
            inset 0 1px 2px rgba(255, 255, 255, 1);

        opacity: 0;

        transform:
            translateY(-10px)
            scale(0.98);

        pointer-events: none;

        transition:
            opacity 0.25s ease,
            transform 0.25s ease;

        z-index: 100000;
    }


    /* OPEN MENU */

    .nav-links.show {
        display: flex !important;

        opacity: 1;

        transform:
            translateY(0)
            scale(1);

        pointer-events: auto;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        width: 100%;

        min-height: 46px;

        justify-content: flex-start;

        padding: 13px 16px;

        font-size: 15px;

        border-radius: 13px;
    }

    .nav-links a:hover {
        transform: none;

        background:
            rgba(8, 120, 255, 0.08);

        color: #0878ff;
    }

    .nav-links .nav-cta {
        justify-content: center;

        margin-top: 5px;
    }


    /* HERO */

    .hero-section {
        min-height: auto;

        padding:
            75px 24px 85px;
    }

    .hero-wrapper {
        grid-template-columns: 1fr;

        gap: 55px;

        text-align: center;
    }

    .hero-description {
        margin-left: auto;

        margin-right: auto;
    }

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

    .showcase-container {
        width: 100%;

        max-width: 650px;

        margin: 0 auto;
    }


    /* SECTIONS */

    .section {
        padding:
            75px 24px;
    }


    /* TIMELINE */

    .timeline {
        max-width: 700px;
    }


    /* FOOTER CTA */

    .footer-cta {
        padding:
            30px;
    }
}


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

@media (max-width: 700px) {

    .cursor-glow {
        display: none;
    }

    .orb {
        filter: blur(45px);
    }


    /* HERO */

    .hero-section {
        padding:
            60px 18px 75px;
    }

    .hero-wrapper {
        gap: 45px;
    }

    .status-pill {
        font-size: 0.78rem;

        padding:
            7px 14px;

        margin-bottom: 20px;
    }

    .hero-headline {
        font-size:
            clamp(2.1rem, 10vw, 3rem);

        line-height: 1.12;

        letter-spacing: -0.025em;

        margin-bottom: 18px;
    }

    .hero-description {
        font-size: 0.95rem;

        line-height: 1.7;

        margin-bottom: 28px;
    }


    /* BUTTONS */

    .button-group {
        width: 100%;

        flex-direction: column;

        align-items: stretch;

        gap: 12px;
    }

    .btn-main,
    .btn-outline {
        width: 100%;

        min-height: 50px;

        padding:
            14px 20px;
    }


    /* SHOWCASE */

    .showcase-container {
        width: 100%;
    }

    .main-card {
        padding: 22px;

        border-radius: 18px;
    }

    .card-heading {
        font-size: 1rem;
    }

    .skill-row {
        padding:
            11px 12px;

        gap: 10px;
    }

    .skill-title {
        font-size: 0.82rem;
    }

    .skill-level {
        font-size: 0.72rem;
    }

    .floating-pill {
        bottom: -15px;

        right: 5px;

        padding:
            10px 14px;

        gap: 9px;
    }

    .pill-icon {
        width: 32px;

        height: 32px;

        font-size: 0.85rem;
    }


    /* SECTIONS */

    .section {
        padding:
            65px 18px;
    }

    .section-title-wrap {
        margin-bottom: 35px;
    }

    .section-tag {
        font-size: 0.75rem;
    }

    .section-heading {
        font-size:
            clamp(1.8rem, 8vw, 2.35rem);

        line-height: 1.2;
    }


    /* STATS */

    .stats-container {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 12px;

        padding: 20px;
    }

    .stat-box {
        padding: 8px 4px;
    }

    .stat-num {
        font-size: 1.7rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }


    /* SERVICES */

    .services-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .service-card {
        padding: 25px;
    }

    .service-icon {
        font-size: 1.6rem;

        margin-bottom: 15px;
    }

    .service-title {
        font-size: 1.1rem;
    }

    .service-desc {
        font-size: 0.9rem;
    }


    /* PROJECTS */

    .projects-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .project-preview {
        height: 200px;
    }

    .project-info {
        padding: 20px;
    }


    /* FILTER */

    .filter-container {
        gap: 8px;

        margin-bottom: 25px;
    }

    .filter-btn {
        padding:
            7px 13px;

        font-size: 0.78rem;
    }


    /* TIMELINE */

    .timeline {
        padding-left: 22px;
    }

    .timeline-dot {
        left: -31px;

        width: 14px;

        height: 14px;
    }

    .timeline-title {
        font-size: 1.05rem;
    }

    .timeline-body {
        font-size: 0.88rem;
    }


    /* FAQ */

    .faq-header {
        padding:
            17px;

        font-size: 0.9rem;

        gap: 15px;
    }

    .faq-body {
        padding:
            0 17px 17px;

        font-size: 0.88rem;
    }


    /* FORM */

    .form-group {
        margin-bottom: 16px;
    }

    .form-input {
        font-size: 0.9rem;
    }


    /* FOOTER */

    footer.site-footer {
        padding:
            65px 18px 20px;
    }

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

        gap: 18px;
    }

    .footer-card {
        padding: 24px;

        border-radius: 20px;
    }

    .footer-brand p {
        max-width: 100%;

        font-size: 13px;
    }

    .footer-cta {
        flex-direction: column;

        align-items: stretch;

        gap: 20px;

        padding: 25px;

        margin-top: 30px;

        border-radius: 20px;
    }

    .footer-cta h2 {
        font-size: 21px;
    }

    .footer-cta p {
        font-size: 13px;
    }

    .footer-cta a {
        width: 100%;
    }

    .copyright {
        margin-top: 28px;

        padding-top: 18px;

        font-size: 11px;
    }
}


/* =========================================================
   SMALL PHONE
========================================================= */

@media (max-width: 480px) {

    .nav-container {
        padding:
            0 13px;
    }

    .logo img {
        height: 37px;

        max-width: 145px;
    }

    .menu-btn {
        width: 41px;

        height: 41px;

        font-size: 19px;
    }


    /* MOBILE NAV */

    .nav-links {
        left: 8px;

        right: 8px;

        border-radius: 17px;

        padding: 8px;
    }

    .nav-links a {
        min-height: 44px;

        padding:
            11px 13px;

        font-size: 14px;
    }


    /* HERO */

    .hero-section {
        padding:
            50px 14px 65px;
    }

    .hero-headline {
        font-size:
            clamp(2rem, 11vw, 2.65rem);
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .status-pill {
        max-width: 100%;

        white-space: normal;

        justify-content: center;
    }


    /* SHOWCASE */

    .main-card {
        padding: 17px;

        border-radius: 16px;
    }

    .card-heading {
        flex-wrap: wrap;

        font-size: 0.9rem;
    }

    .badge-tag {
        font-size: 0.68rem;

        padding:
            4px 9px;
    }

    .skills-list {
        gap: 8px;
    }

    .skill-row {
        padding:
            10px;

        border-radius: 10px;
    }

    .skill-info {
        gap: 8px;
    }

    .skill-title {
        font-size: 0.76rem;
    }

    .skill-level {
        font-size: 0.65rem;
    }

    .floating-pill {
        position: relative;

        bottom: auto;

        right: auto;

        width: max-content;

        max-width: 90%;

        margin:
            12px auto 0;

        animation: none;
    }


    /* STATS */

    .stats-container {
        grid-template-columns: 1fr;

        padding: 15px;
    }

    .stat-num {
        font-size: 1.8rem;
    }


    /* SECTION */

    .section {
        padding:
            55px 14px;
    }

    .section-heading {
        font-size:
            clamp(1.7rem, 9vw, 2.2rem);
    }


    /* SERVICES */

    .service-card {
        padding: 22px;
    }


    /* PROJECT */

    .project-preview {
        height: 180px;
    }

    .project-info {
        padding: 18px;
    }

    .project-name {
        font-size: 1.1rem;
    }


    /* TIMELINE */

    .timeline {
        padding-left: 19px;
    }

    .timeline-dot {
        left: -28px;
    }


    /* FOOTER */

    footer.site-footer {
        padding:
            55px 14px 18px;
    }

    .footer-card {
        padding: 21px;
    }

    .footer-cta {
        padding: 22px;
    }

    .footer-cta h2 {
        font-size: 20px;
    }
}


/* =========================================================
   VERY SMALL PHONE
========================================================= */

@media (max-width: 360px) {

    .logo img {
        height: 34px;

        max-width: 130px;
    }

    .menu-btn {
        width: 38px;

        height: 38px;
    }

    .hero-section {
        padding:
            45px 12px 55px;
    }

    .hero-headline {
        font-size:
            1.9rem;
    }

    .hero-description {
        font-size:
            0.86rem;
    }

    .main-card {
        padding: 14px;
    }

    .skill-row {
        padding: 9px;
    }

    .skill-title {
        font-size: 0.72rem;
    }

    .skill-level {
        font-size: 0.6rem;
    }

    .section {
        padding:
            50px 12px;
    }

    .service-card {
        padding: 20px;
    }

    .filter-btn {
        padding:
            6px 10px;

        font-size: 0.72rem;
    }

    .footer-card {
        padding: 19px;
    }
}


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

@media (max-width: 900px) and (orientation: landscape) {

    .hero-section {
        padding:
            55px 25px 65px;
    }

    .hero-wrapper {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr);

        text-align: left;

        gap: 35px;
    }

    .hero-description {
        margin-left: 0;

        margin-right: 0;
    }

    .button-group {
        justify-content: flex-start;
    }

    .showcase-container {
        max-width: none;
    }
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

:focus-visible {
    outline:
        3px solid rgba(37, 99, 235, 0.35);

    outline-offset: 3px;
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;
    }
}
/* =========================================================
   EXTRA MOBILE RESPONSIVE FIX
   Optimized for 320px - 480px screens
========================================================= */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

* {
    max-width: 100%;
}


/* ---------------------------------------------------------
   CONTACT SECTION
--------------------------------------------------------- */

#contact {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}


/* Contact main white box */
#contact > div:not(.section-title-wrap) {
    width: 100% !important;
    max-width: 100% !important;

    display: grid !important;

    grid-template-columns: minmax(0, 1fr) !important;

    gap: 25px !important;

    padding: 22px !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    box-sizing: border-box !important;

    overflow: hidden !important;
}


/* Contact left side */
#contact > div:not(.section-title-wrap) > div {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}


/* Contact heading */
#contact h3 {
    max-width: 100%;
    font-size: 1.35rem !important;
    line-height: 1.3 !important;
}


/* Contact paragraph */
#contact p {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
}


/* Contact information boxes */
#contact > div:not(.section-title-wrap) > div > div {
    max-width: 100%;
    box-sizing: border-box;
}


/* Email / response / location rows */
#contact .form-group {
    width: 100%;
    max-width: 100%;
}


/* Form */
#contact form {
    width: 100% !important;
    max-width: 100% !important;

    min-width: 0 !important;

    padding: 0 !important;

    margin: 0 !important;

    box-sizing: border-box !important;
}


/* Inputs */
#contact .form-input {
    width: 100% !important;
    max-width: 100% !important;

    min-width: 0 !important;

    box-sizing: border-box !important;

    font-size: 0.88rem;
}


/* Textarea */
#contact textarea.form-input {
    width: 100% !important;
    max-width: 100% !important;
}


/* Select */
#contact select.form-input {
    width: 100% !important;
    max-width: 100% !important;
}


/* Social icons */
#contact a {
    flex-shrink: 0;
}


/* ---------------------------------------------------------
   480px AND BELOW
--------------------------------------------------------- */

@media (max-width: 480px) {

    body {
        width: 100%;
        overflow-x: hidden;
    }

    .navbar {
        width: 100%;
    }

    .nav-container {
        width: 100%;
        padding-left: 13px;
        padding-right: 13px;
    }


    /* CONTACT */

    #contact {
        padding-left: 14px !important;
        padding-right: 14px !important;

        border-radius: 16px !important;
    }

    #contact > div:not(.section-title-wrap) {
        padding: 18px !important;

        gap: 24px !important;

        border-radius: 16px !important;
    }


    #contact .section-title-wrap {
        margin-bottom: 28px;
    }

    #contact .section-heading {
        font-size: 1.65rem !important;
        line-height: 1.2;
    }


    /* Contact information */

    #contact > div:not(.section-title-wrap) > div > div {
        gap: 10px !important;
    }


    /* Email / response / location */

    #contact > div:not(.section-title-wrap) > div > div > div {
        min-width: 0;
    }


    #contact > div:not(.section-title-wrap) > div > div > div:last-child {
        overflow-wrap: anywhere;
    }


    /* FORM */

    #contact form {
        width: 100% !important;
    }

    #contact .form-group {
        margin-bottom: 15px;
    }

    #contact label {
        font-size: 0.82rem;
    }

    #contact .form-input {
        min-height: 45px;

        padding: 11px 12px;

        font-size: 0.85rem;

        border-radius: 8px;
    }

    #contact textarea.form-input {
        min-height: 110px;
    }

    #contact .btn-main {
        width: 100% !important;
        min-height: 48px;
        padding: 12px 15px;
    }
}


/* ---------------------------------------------------------
   VERY SMALL PHONE - 360px
--------------------------------------------------------- */

@media (max-width: 360px) {

    .nav-container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .logo img {
        height: 34px;
        max-width: 125px;
    }

    .menu-btn {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }


    /* HERO */

    .hero-section {
        width: 100%;
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero-wrapper {
        width: 100%;
    }


    /* CONTACT */

    #contact {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    #contact > div:not(.section-title-wrap) {
        padding: 15px !important;
        gap: 22px !important;
    }

    #contact .section-heading {
        font-size: 1.5rem !important;
    }

    #contact h3 {
        font-size: 1.2rem !important;
    }

    #contact p {
        font-size: 0.86rem !important;
        line-height: 1.6 !important;
    }


    /* CONTACT INFO BOXES */

    #contact > div:not(.section-title-wrap) > div > div {
        padding: 10px 11px !important;

        gap: 10px !important;

        border-radius: 10px !important;
    }


    #contact > div:not(.section-title-wrap) > div > div > div:first-child {
        width: 34px !important;
        height: 34px !important;

        min-width: 34px !important;

        font-size: 0.9rem !important;
    }


    #contact > div:not(.section-title-wrap) > div > div > div:last-child {
        min-width: 0 !important;
    }


    #contact > div:not(.section-title-wrap) > div > div > div:last-child > div {
        overflow-wrap: anywhere;
    }


    /* FORM */

    #contact .form-input {
        min-height: 43px;

        padding: 10px;

        font-size: 0.82rem;
    }

    #contact textarea.form-input {
        min-height: 105px;
    }
}
.contact-container {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.05);

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;

    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 900px) {

    .contact-container {
        grid-template-columns: 1fr;
        padding: 25px;
        gap: 30px;
    }
}

@media (max-width: 480px) {

    .contact-container {
        grid-template-columns: 1fr;
        padding: 18px;
        gap: 24px;
        border-radius: 16px;
    }
}

@media (max-width: 360px) {

    .contact-container {
        padding: 15px;
        gap: 22px;
    }
}

@media (max-width: 768px) {

    /* Prevent horizontal overflow */
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Main contact section */
    .contact-section,
    .section.contact-section {
        width: 100%;
        max-width: 100%;
        padding: 45px 16px !important;
        margin: 0 !important;
        overflow: hidden;
    }

    /* Main container */
    .contact-section .container,
    .section.contact-section .container {
        width: 100%;
        max-width: 100%;
        padding: 0 !important;
        margin: 0 auto;
    }

    /* Contact grid - make everything vertical */
    .contact-section .contact-grid,
    .contact-section .contact-container,
    .contact-section .contact-wrapper {
        display: flex !important;
        flex-direction: column !important;
        width: 100%;
        gap: 30px !important;
    }

    /* Left / information side */
    .contact-section .contact-info,
    .contact-section .contact-details {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    /* Right / form side */
    .contact-section .contact-form,
    .contact-section .form-wrapper,
    .contact-section form {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
    }

    /* =====================================================
       CONNECT ON PROFESSIONAL PLATFORMS
       ===================================================== */

    .contact-section .social-section,
    .contact-section .social-connect,
    .contact-section .professional-platforms {
        width: 100%;
        max-width: 100%;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
        margin-top: 25px;
        margin-bottom: 25px;
        box-sizing: border-box;
    }

    /* Heading */
    .contact-section .social-section h3,
    .contact-section .social-connect h3,
    .contact-section .professional-platforms h3 {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1.25 !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
    }

    /* Social icons row */
    .contact-section .social-icons,
    .contact-section .social-links {
        width: 100%;
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 12px !important;
        position: static !important;
        margin: 0 !important;
    }

    /* Individual social icon */
    .contact-section .social-icons a,
    .contact-section .social-links a {
        position: static !important;
        flex: 0 0 auto;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }

    /* =====================================================
       RESPONSE TIME / LOCATION CARDS
       ===================================================== */

    .contact-section .info-card,
    .contact-section .contact-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* =====================================================
       FORM
       ===================================================== */

    .contact-section form {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }

    .contact-section .form-group {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    .contact-section input,
    .contact-section textarea,
    .contact-section select {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .contact-section textarea {
        min-height: 130px;
        resize: vertical;
    }

    /* Form buttons */
    .contact-section button,
    .contact-section .btn {
        max-width: 100%;
        box-sizing: border-box;
    }
}


/* =========================================================
   EXTRA SMALL MOBILE - 320px to 480px
   ========================================================= */

@media (max-width: 480px) {

    .contact-section,
    .section.contact-section {
        padding: 35px 14px !important;
    }

    .contact-section h2 {
        font-size: 28px !important;
        line-height: 1.2 !important;
    }

    .contact-section h3 {
        font-size: 20px !important;
        line-height: 1.3 !important;
    }

    .contact-section p {
        font-size: 14px;
        line-height: 1.6;
    }

    .contact-section .info-card,
    .contact-section .contact-card {
        padding: 18px !important;
    }

    .contact-section input,
    .contact-section textarea,
    .contact-section select {
        font-size: 15px !important;
        padding: 12px 14px !important;
    }

    .contact-section .social-icons,
    .contact-section .social-links {
        gap: 10px !important;
    }
}


/* =========================================================
   VERY SMALL SCREEN - 320px
   ========================================================= */

@media (max-width: 350px) {

    .contact-section,
    .section.contact-section {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .contact-section h2 {
        font-size: 25px !important;
    }

    .contact-section h3 {
        font-size: 18px !important;
    }

    .contact-section .info-card,
    .contact-section .contact-card {
        padding: 15px !important;
    }
}