/* =====================================================
   GOOGLE FONT
===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Poppins:wght@400;500;600;700;800&display=swap');


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

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: "Poppins", sans-serif;
    color: #0A2C52;
    background: #f8f5ef;
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

button,
input,
textarea {
    font-family: inherit;
}

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}


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

.navbar {
    position: fixed;
    top: 18px;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 20px;
}

.nav-container {
    min-height: 72px;
    padding: 0 22px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    background: rgba(255, 249, 239, 0.90);

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

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

    box-shadow:
        0 12px 35px rgba(10, 44, 82, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);

    transition: 0.3s ease;
}

.nav-container:hover {
    box-shadow:
        0 16px 40px rgba(10, 44, 82, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}


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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-symbol {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #0A2C52;
    color: #DDCEBB;

    font-size: 15px;
    font-weight: 800;
    letter-spacing: -1px;

    box-shadow:
        0 5px 15px rgba(10, 44, 82, 0.20);
}

.logo-text {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #0A2C52;
}


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

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.nav-links a {
    position: relative;

    color: #0A2C52;

    font-size: 14px;
    font-weight: 500;

    padding: 8px 10px;
    border-radius: 8px;

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

.nav-links a:hover {
    color: #0A2C52 !important;
    background: #DDCEBB;
}

.nav-links a.active {
    color: #0A2C52;
    background: transparent;
}

.nav-links a::after {
    content: "";

    position: absolute;
    left: 50%;
    bottom: 2px;

    width: 0;
    height: 2px;

    background: #0A2C52;

    border-radius: 10px;

    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 70%;
}


/* =====================================================
   NAV BUTTON
===================================================== */

.nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 11px 18px;

    background: #0A2C52;
    color: #fff;

    border-radius: 12px;

    font-size: 13px;
    font-weight: 600;

    box-shadow:
        0 7px 18px rgba(10, 44, 82, 0.18);

    transition: 0.3s ease;
}

.nav-button span {
    font-size: 17px;
    transition: transform 0.3s ease;
}

.nav-button:hover {
    background: #0A2C52;
    color: #fff;

    transform: translateY(-2px);

    box-shadow:
        0 10px 24px rgba(10, 44, 82, 0.25);
}

.nav-button:hover span {
    transform: translateX(4px);
}


/* =====================================================
   HAMBURGER
===================================================== */

.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    border: 1px solid rgba(10, 44, 82, 0.12);
    border-radius: 12px;

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

    cursor: pointer;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 5px;

    transition: 0.3s ease;
}

.menu-toggle span {
    width: 21px;
    height: 2px;

    background: #0A2C52;

    border-radius: 10px;

    transition: 0.3s ease;
}

.menu-toggle:hover {
    background: #DDCEBB;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =====================================================
   HERO
   DARK BLUR / GLASS DESIGN
===================================================== */

.hero {
    position: relative;

    min-height: 100vh;

    padding: 150px 0 100px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(221, 206, 187, 0.18),
            transparent 28%
        ),
        radial-gradient(
            circle at 10% 80%,
            rgba(38, 93, 135, 0.30),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #061c35 0%,
            #0A2C52 50%,
            #123e68 100%
        );
}


/* =====================================================
   HERO BLURRED GLOW
===================================================== */

.hero::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    top: -180px;
    right: -100px;

    background: rgba(221, 206, 187, 0.14);

    border-radius: 50%;

    filter: blur(80px);

    pointer-events: none;
}

.hero::after {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    bottom: -180px;
    left: -120px;

    background: rgba(53, 119, 165, 0.22);

    border-radius: 50%;

    filter: blur(90px);

    pointer-events: none;
}


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

.hero-container {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns: 1.05fr 0.95fr;

    align-items: center;

    gap: 60px;
}


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

.small-title {
    margin-bottom: 8px;

    color: #DDCEBB;

    font-size: 16px;
    font-weight: 500;
}

.hero-content h1 {
    max-width: 650px;

    color: #ffffff;

    font-size: clamp(40px, 5vw, 60px);

    line-height: 1.08;

    font-weight: 800;

    letter-spacing: -2px;
}

.hero-content h1 span {
    color: #DDCEBB;
}

.hero-content h2 {
    margin-top: 14px;

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

    font-size: clamp(21px, 2.5vw, 29px);

    font-weight: 600;
}

.hero-description {
    max-width: 600px;

    margin-top: 20px;

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

    font-size: 15px;

    line-height: 1.9;
}


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

.hero-buttons {
    display: flex;
    align-items: center;

    gap: 15px;

    margin-top: 30px;
}

.primary-button,
.secondary-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 13px 21px;

    border-radius: 13px;

    font-size: 14px;
    font-weight: 600;

    transition: 0.3s ease;
}


/* Primary Button */

.primary-button {
    background: #DDCEBB;
    color: #0A2C52;

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

.primary-button:hover {
    background: #ffffff;
    color: #0A2C52;

    transform: translateY(-3px);

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


/* Secondary Button */

.secondary-button {
    border: 1px solid rgba(255, 255, 255, 0.28);

    color: #ffffff;

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

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

.secondary-button:hover {
    background: rgba(221, 206, 187, 0.18);

    border-color: #DDCEBB;

    color: #DDCEBB;

    transform: translateY(-3px);
}


/* Button Arrow */

.primary-button span,
.secondary-button span {
    transition: transform 0.3s ease;
}

.primary-button:hover span,
.secondary-button:hover span {
    transform: translateX(5px);
}


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

.hero-image {
    position: relative;

    min-height: 500px;

    display: flex;

    align-items: center;
    justify-content: center;
}


/* =====================================================
   HERO OUTER CIRCLE
===================================================== */

.hero-circle {
    position: absolute;

    width: 390px;
    height: 390px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(221, 206, 187, 0.35),
            rgba(221, 206, 187, 0.12) 55%,
            transparent 72%
        );

    border: 1px solid rgba(221, 206, 187, 0.35);

    box-shadow:
        0 0 60px rgba(221, 206, 187, 0.12),
        inset 0 0 40px rgba(255, 255, 255, 0.08);

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

    z-index: 0;
}


/* =====================================================
   HERO PROFILE IMAGE
   PERFECT CIRCLE
===================================================== */

.img-hero {
    position: relative;

    z-index: 2;

    width: 340px;
    height: 340px;

    object-fit: cover;

    border-radius: 50%;

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

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.30),
        0 0 0 1px rgba(221, 206, 187, 0.35);

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

.img-hero:hover {
    transform: scale(1.025);

    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.38),
        0 0 35px rgba(221, 206, 187, 0.15);
}


/* =====================================================
   HERO DOT PATTERN
===================================================== */

.dot-pattern {
    position: absolute;

    right: 20px;
    bottom: 45px;

    width: 100px;
    height: 100px;

    background-image:
        radial-gradient(
            #DDCEBB 1.4px,
            transparent 1.4px
        );

    background-size: 12px 12px;

    opacity: 0.35;

    z-index: 1;
}


/* =====================================================
   HERO GLASS DECORATIONS
===================================================== */

.hero-image::before {
    content: "";

    position: absolute;

    width: 110px;
    height: 110px;

    top: 25px;
    right: 35px;

    border-radius: 50%;

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

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

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

    z-index: 3;
}

.hero-image::after {
    content: "";

    position: absolute;

    width: 65px;
    height: 65px;

    bottom: 35px;
    left: 30px;

    border-radius: 50%;

    background: rgba(221, 206, 187, 0.13);

    filter: blur(3px);

    z-index: 3;
}


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

.about-section {
    padding: 110px 0;
    background: #fff;
}

.about-container {
    display: grid;

    grid-template-columns: 0.85fr 1.15fr;

    align-items: center;

    gap: 80px;
}

.about-image {
    position: relative;

    display: flex;

    justify-content: center;
    align-items: center;
}

.about-image::before {
    content: "";

    position: absolute;

    width: 360px;
    height: 360px;

    border-radius: 50%;

    background: #DDCEBB;

    z-index: 0;
}

.about-image img {
    position: relative;

    z-index: 1;

    width: 330px;
    height: 330px;

    object-fit: cover;

    border-radius: 50%;

    border: 10px solid #fff;

    box-shadow:
        0 20px 45px rgba(10, 44, 82, 0.15);
}


/* =====================================================
   SECTION LABEL
===================================================== */

.section-label {
    margin-bottom: 12px;

    color: #9b7653;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;
}


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

.about-content h2 {
    max-width: 650px;

    margin-bottom: 22px;

    color: #0A2C52;

    font-size: clamp(32px, 4vw, 48px);

    line-height: 1.2;
}

.about-content > p {
    margin-bottom: 15px;

    color: #69798a;

    font-size: 15px;

    line-height: 1.9;
}

.about-content strong {
    color: #0A2C52;
}


/* =====================================================
   STATISTICS
===================================================== */

.statistics {
    display: flex;

    flex-wrap: wrap;

    gap: 35px;

    margin-top: 30px;

    padding-top: 25px;

    border-top: 1px solid rgba(10, 44, 82, 0.08);
}

.stat {
    display: flex;

    align-items: center;

    gap: 10px;
}

.stat strong {
    color: #0A2C52;

    font-size: 28px;

    font-weight: 800;
}

.stat span {
    color: #788797;

    font-size: 11px;

    line-height: 1.4;
}

.signature {
    margin-top: 25px;

    font-family: "Great Vibes", cursive;

    color: #0A2C52;

    font-size: 32px;
}


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

.skills-section {
    padding: 110px 0;

    background: #f8f5ef;
}

.skills-box {
    padding: 55px;

    background: #fff;

    border: 1px solid rgba(10, 44, 82, 0.07);

    border-radius: 28px;

    box-shadow:
        0 15px 45px rgba(10, 44, 82, 0.07);
}

.skills-header {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 45px;
}

.skills-header h2 {
    color: #0A2C52;

    font-size: clamp(30px, 4vw, 44px);

    line-height: 1.2;
}

.skill-tabs {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;
}

.skill-tabs button {
    padding: 9px 15px;

    border: 1px solid rgba(10, 44, 82, 0.10);

    border-radius: 10px;

    background: #fff;

    color: #617284;

    font-size: 12px;

    font-weight: 500;

    cursor: pointer;

    transition: 0.3s ease;
}

.skill-tabs button:hover,
.skill-tabs button.active {
    background: #0A2C52;

    color: #fff;

    border-color: #0A2C52;
}


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

.skills-list {
    display: grid;

    grid-template-columns: repeat(6, 1fr);

    gap: 18px;
}

.skill-item {
    min-height: 145px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 13px;

    border: 1px solid rgba(10, 44, 82, 0.07);

    border-radius: 18px;

    background: #fff;

    transition: 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-5px);

    box-shadow:
        0 12px 25px rgba(10, 44, 82, 0.09);
}


/* =====================================================
   SKILL ICONS
===================================================== */

.skill-icon {
    width: 50px;
    height: 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    font-weight: 800;

    font-size: 20px;
}

.skill-icon.html {
    background: #fff1ec;
    color: #e34f26;
}

.skill-icon.css {
    background: #edf5ff;
    color: #1572b6;
}

.skill-icon.js {
    background: #fffbea;
    color: #d9a600;
}

.skill-icon.react {
    background: #eafaff;
    color: #149eca;
}

.skill-icon.bootstrap {
    background: #f5edff;
    color: #7952b3;
}

.skill-icon.github {
    background: #f2f2f2;
    color: #24292e;
}

.skill-icon svg {
    width: 28px;
    height: 28px;

    fill: currentColor;
}

.react-symbol {
    font-size: 27px;
}

.skill-name {
    color: #334b63;

    font-size: 13px;

    font-weight: 600;
}


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

.projects-section {
    padding: 110px 0;

    background: #fff;
}

.section-heading {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 45px;
}

.section-heading h2 {
    color: #0A2C52;

    font-size: clamp(32px, 4vw, 46px);

    line-height: 1.2;
}

.view-projects {
    color: #0A2C52;

    font-size: 13px;

    font-weight: 600;

    transition: 0.3s ease;
}

.view-projects:hover {
    color: #9b7653;

    transform: translateX(5px);
}


/* =====================================================
   PROJECT GRID
===================================================== */

.projects-grid {
    display: grid;

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

    gap: 24px;
}

.project-card {
    overflow: hidden;

    background: #fff;

    border: 1px solid rgba(10, 44, 82, 0.08);

    border-radius: 22px;

    box-shadow:
        0 10px 30px rgba(10, 44, 82, 0.06);

    transition: 0.35s ease;
}

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

    box-shadow:
        0 20px 45px rgba(10, 44, 82, 0.12);
}

.project-image {
    height: 230px;

    overflow: hidden;

    background: #f2eee7;
}

.project-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

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

.project-content {
    padding: 25px;
}

.project-content h3 {
    margin-bottom: 10px;

    color: #0A2C52;

    font-size: 21px;
}

.project-content p {
    color: #718091;

    font-size: 13px;

    line-height: 1.8;
}

.project-bottom {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 15px;

    margin-top: 22px;
}

.tags {
    display: flex;

    flex-wrap: wrap;

    gap: 6px;
}

.tags span {
    padding: 5px 9px;

    border-radius: 7px;

    background: #f4efe7;

    color: #66788b;

    font-size: 10px;

    font-weight: 600;
}

.project-arrow {
    width: 38px;
    height: 38px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #0A2C52;

    color: #fff;

    transition: 0.3s ease;
}

.project-arrow:hover {
    background: #9b7653;

    transform: translateX(4px);
}


/* =====================================================
   EXPERIENCE
===================================================== */

.experience-section {
    padding: 110px 0;

    background: #f8f5ef;
}

.simple-heading {
    justify-content: center;

    text-align: center;
}

.timeline {
    position: relative;

    max-width: 900px;

    margin: 60px auto 0;
}

.timeline::before {
    content: "";

    position: absolute;

    left: 50%;

    top: 0;
    bottom: 0;

    width: 2px;

    background: #DDCEBB;

    transform: translateX(-50%);
}

.timeline-item {
    position: relative;

    width: calc(50% - 45px);

    margin-bottom: 45px;

    padding: 25px;

    background: #fff;

    border: 1px solid rgba(10, 44, 82, 0.07);

    border-radius: 18px;

    box-shadow:
        0 10px 25px rgba(10, 44, 82, 0.05);
}

.timeline-item:nth-child(odd) {
    margin-right: auto;
}

.timeline-item:nth-child(even) {
    margin-left: auto;
}

.timeline-icon {
    position: absolute;

    top: 25px;

    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #0A2C52;

    color: #fff;

    font-size: 18px;

    box-shadow:
        0 5px 15px rgba(10, 44, 82, 0.15);
}

.timeline-item:nth-child(odd) .timeline-icon {
    right: -68px;
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -68px;
}

.timeline-item h3 {
    color: #0A2C52;

    font-size: 18px;
}

.timeline-item p {
    margin: 5px 0;

    color: #718091;

    font-size: 13px;
}

.timeline-item span {
    color: #9b7653;

    font-size: 11px;

    font-weight: 600;
}


/* =====================================================
   TESTIMONIAL
===================================================== */

.testimonial-section {
    padding: 100px 0;

    background: #fff;
}

.testimonial {
    max-width: 850px;

    margin: auto;

    padding: 55px;

    background: #f8f5ef;

    border-radius: 28px;

    text-align: center;

    border: 1px solid rgba(10, 44, 82, 0.07);
}

.quote {
    color: #DDCEBB;

    font-size: 80px;

    line-height: 0.7;
}

.testimonial-text p {
    margin: 25px auto;

    color: #637487;

    font-size: 17px;

    line-height: 1.9;
}

.testimonial-author {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 12px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;

    object-fit: cover;

    border-radius: 50%;
}

.testimonial-author div {
    display: flex;

    flex-direction: column;

    text-align: left;
}

.testimonial-author strong {
    color: #0A2C52;

    font-size: 12px;
}

.testimonial-author span {
    color: #8995a3;

    font-size: 11px;
}


/* =====================================================
   QUOTE SECTION
===================================================== */

.quote-section {
    padding: 110px 0;

    background:
        radial-gradient(
            circle at 20% 30%,
            rgba(221, 206, 187, 0.45),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #0A2C52,
            #123e68
        );
}

.quote-box {
    position: relative;

    max-width: 850px;

    margin: auto;

    padding: 65px 50px;

    text-align: center;

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

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

    border-radius: 30px;

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

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

    overflow: hidden;

    animation: quoteFloat 5s ease-in-out infinite;
}

.quote-box::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    top: -90px;
    left: -90px;

    border-radius: 50%;

    background: rgba(221, 206, 187, 0.18);

    animation:
        quoteGlow 4s ease-in-out infinite alternate;
}

.quote-box::after {
    content: "";

    position: absolute;

    width: 160px;
    height: 160px;

    right: -80px;
    bottom: -80px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);
}

.quote-small {
    position: relative;

    z-index: 2;

    color: #DDCEBB;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 3px;
}

.arabic-quote {
    position: relative;

    z-index: 2;

    margin-top: 25px;

    color: #fff;

    font-size: clamp(28px, 5vw, 44px);

    font-weight: 600;

    line-height: 1.8;

    text-shadow:
        0 4px 20px rgba(0, 0, 0, 0.15);
}

.quote-english {
    position: relative;

    z-index: 2;

    margin-top: 15px;

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

    font-size: 17px;

    font-style: italic;
}

.quote-source {
    position: relative;

    z-index: 2;

    display: block;

    margin-top: 10px;

    color: #DDCEBB;

    font-size: 12px;

    font-weight: 600;
}

.quote-line {
    position: relative;

    z-index: 2;

    width: 70px;

    height: 2px;

    margin: 25px auto;

    background: #DDCEBB;

    border-radius: 10px;
}

.personal-message {
    position: relative;

    z-index: 2;

    color: #fff;

    font-size: 18px;

    font-weight: 600;
}

.personal-message span {
    color: #DDCEBB;

    margin-left: 5px;
}


/* =====================================================
   QUOTE ANIMATION
===================================================== */

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

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

@keyframes quoteGlow {
    from {
        transform: scale(1);
        opacity: 0.6;
    }

    to {
        transform: scale(1.2);
        opacity: 1;
    }
}


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

.contact-section {
    padding: 110px 0;

    background: #fff;
}

.contact-container {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 80px;

    align-items: start;
}

.contact-content h2 {
    color: #0A2C52;

    font-size: clamp(34px, 4vw, 50px);

    line-height: 1.2;
}

.contact-content > p:not(.section-label) {
    margin-top: 18px;

    color: #718091;

    font-size: 14px;

    line-height: 1.9;
}


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

.contact-form {
    display: flex;

    flex-direction: column;

    gap: 15px;

    padding: 30px;

    background: #f8f5ef;

    border-radius: 22px;

    border: 1px solid rgba(10, 44, 82, 0.07);
}

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;

    padding: 14px 16px;

    border: 1px solid rgba(10, 44, 82, 0.10);

    border-radius: 11px;

    outline: none;

    background: #fff;

    color: #0A2C52;

    font-size: 13px;

    resize: vertical;

    transition: 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #0A2C52;

    box-shadow:
        0 0 0 3px rgba(10, 44, 82, 0.06);
}

.contact-form button {
    border: none;

    padding: 14px 20px;

    border-radius: 11px;

    background: #0A2C52;

    color: #fff;

    font-size: 13px;

    font-weight: 600;

    cursor: pointer;

    transition: 0.3s ease;
}

.contact-form button:hover {
    background: #0A2C52;

    transform: translateY(-2px);

    box-shadow:
        0 10px 22px rgba(10, 44, 82, 0.18);
}

.contact-form button span {
    margin-left: 8px;

    transition: 0.3s ease;
}

.contact-form button:hover span {
    margin-left: 13px;
}


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

.footer {
    padding-top: 70px;

    background: #0A2C52;

    color: #fff;
}

.footer-container {
    display: grid;

    grid-template-columns: 1.4fr 1fr 1.2fr;

    gap: 55px;

    padding-bottom: 55px;
}

.footer-logo {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: #fff;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 1px;
}

.footer-logo span {
    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #DDCEBB;

    color: #0A2C52;
}

.footer-about p,
.footer-connect p {
    max-width: 350px;

    margin-top: 18px;

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

    font-size: 13px;

    line-height: 1.8;
}

.footer h4 {
    margin-bottom: 18px;

    color: #fff;

    font-size: 14px;
}

.footer-columns {
    display: flex;

    gap: 50px;
}

.footer-columns div {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

.footer-columns a {
    color: rgba(255, 255, 255, 0.65);

    font-size: 12px;

    transition: 0.3s ease;
}

.footer-columns a:hover {
    color: #DDCEBB;

    transform: translateX(3px);
}

.footer-button {
    display: inline-flex;

    margin-top: 18px;

    padding: 10px 16px;

    border-radius: 10px;

    background: #DDCEBB;

    color: #0A2C52;

    font-size: 12px;

    font-weight: 700;

    transition: 0.3s ease;
}

.footer-button:hover {
    background: #fff;

    transform: translateY(-3px);
}


/* =====================================================
   SOCIAL LINKS
===================================================== */

.social-links {
    grid-column: 1 / -1;

    display: flex;

    justify-content: center;

    gap: 10px;

    padding-top: 25px;

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

.social-links a {
    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

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

    border-radius: 50%;

    color: #fff;

    font-size: 11px;

    font-weight: 600;

    transition: 0.3s ease;
}

.social-links a:hover {
    background: #DDCEBB;

    color: #0A2C52;

    transform: translateY(-4px);
}


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

.footer-bottom {
    padding: 20px;

    text-align: center;

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);

    font-size: 11px;
}


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

@media (max-width: 1000px) {

    .nav-links {
        gap: 12px;
    }

    .nav-button {
        display: none;
    }

    .hero-container {
        gap: 35px;
    }

    .hero-content h1 {
        font-size: clamp(38px, 5vw, 52px);
    }

    .hero-circle {
        width: 340px;
        height: 340px;
    }

    .img-hero {
        width: 300px;
        height: 300px;
    }

    .skills-list {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .contact-container {
        gap: 45px;
    }
}


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

@media (max-width: 768px) {

    .navbar {
        top: 10px;
        padding: 0 12px;
    }

    .nav-container {
        min-height: 64px;

        padding: 0 15px;

        border-radius: 18px;
    }

    .logo-text {
        font-size: 12px;
    }

    .logo-symbol {
        width: 38px;
        height: 38px;
    }

    .menu-toggle {
        display: flex;
    }


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

    .nav-links {
        position: absolute;

        top: calc(100% + 10px);

        left: 0;
        right: 0;

        width: 100%;

        padding: 15px;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 4px;

        background: rgba(255, 249, 239, 0.96);

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

        border-radius: 18px;

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

        box-shadow:
            0 15px 35px rgba(10, 44, 82, 0.13);

        opacity: 0;

        visibility: hidden;

        transform: translateY(-10px);

        transition: 0.3s ease;
    }

    .nav-links.show {
        opacity: 1;

        visibility: visible;

        transform: translateY(0);
    }

    .nav-links a {
        width: 100%;

        padding: 12px 14px;

        border-radius: 10px;

        font-size: 14px;
    }

    .nav-links a:hover {
        background: #DDCEBB !important;

        color: #0A2C52 !important;
    }

    .nav-links a.active {
        background: rgba(221, 206, 187, 0.45);

        color: #0A2C52;
    }

    .nav-links a::after {
        display: none;
    }


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

    .hero {
        padding-top: 125px;

        padding-bottom: 70px;

        min-height: 100vh;
    }

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

        text-align: center;

        gap: 20px;
    }

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 2;

        min-height: 390px;
    }

    .hero-content h1 {
        font-size: 45px;

        letter-spacing: -2px;
    }

    .hero-description {
        margin-left: auto;

        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;

        flex-wrap: wrap;
    }


    /* =================================================
       MOBILE HERO CIRCLE
    ================================================= */

    .hero-circle {
        width: 310px;

        height: 310px;
    }

    .img-hero {
        width: 275px;

        height: 275px;

        border-width: 9px;
    }

    .dot-pattern {
        right: 8%;

        bottom: 25px;
    }


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

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

        text-align: center;

        gap: 50px;
    }

    .about-image::before {
        width: 310px;

        height: 310px;
    }

    .about-image img {
        width: 285px;

        height: 285px;
    }

    .statistics {
        justify-content: center;
    }

    .signature {
        text-align: center;
    }


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

    .skills-header {
        flex-direction: column;

        align-items: flex-start;
    }

    .skills-box {
        padding: 35px 25px;
    }


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

    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        width: calc(100% - 55px);

        margin-left: 55px;

        margin-right: 0;
    }

    .timeline-item:nth-child(odd) .timeline-icon,
    .timeline-item:nth-child(even) .timeline-icon {
        left: -75px;

        right: auto;
    }


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

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

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


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

@media (max-width: 550px) {

    .container {
        width: min(94%, 1180px);
    }

    .logo-text {
        display: none;
    }


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

    .hero {
        padding-top: 115px;

        padding-bottom: 60px;
    }

    .hero-content h1 {
        font-size: 40px;

        letter-spacing: -1.5px;
    }

    .hero-content h2 {
        font-size: 22px;
    }

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


    /* =================================================
       BUTTONS
    ================================================= */

    .hero-buttons {
        flex-direction: column;

        width: 100%;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }


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

    .hero-image {
        min-height: 340px;
    }

    .hero-circle {
        width: 270px;

        height: 270px;
    }

    .img-hero {
        width: 240px;

        height: 240px;

        border-width: 8px;
    }

    .hero-image::before {
        width: 75px;

        height: 75px;

        right: 10px;

        top: 20px;
    }

    .hero-image::after {
        width: 45px;

        height: 45px;

        left: 10px;

        bottom: 20px;
    }

    .dot-pattern {
        right: 2%;

        bottom: 15px;

        width: 75px;

        height: 75px;
    }


    /* =================================================
       SECTIONS
    ================================================= */

    .about-section,
    .skills-section,
    .projects-section,
    .experience-section,
    .contact-section {
        padding: 75px 0;
    }


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

    .about-image::before {
        width: 270px;

        height: 270px;
    }

    .about-image img {
        width: 250px;

        height: 250px;
    }

    .statistics {
        flex-direction: column;

        align-items: center;

        gap: 20px;
    }


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

    .skills-list {
        grid-template-columns: repeat(2, 1fr);

        gap: 12px;
    }

    .skill-item {
        min-height: 125px;
    }

    .skill-icon {
        width: 45px;

        height: 45px;

        font-size: 18px;
    }


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

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

    .section-heading {
        flex-direction: column;

        align-items: flex-start;
    }


    /* =================================================
       TESTIMONIAL
    ================================================= */

    .testimonial {
        padding: 35px 22px;
    }

    .testimonial-text p {
        font-size: 14px;
    }


    /* =================================================
       QUOTE
    ================================================= */

    .quote-section {
        padding: 75px 0;
    }

    .quote-box {
        padding: 45px 20px;

        border-radius: 22px;
    }

    .arabic-quote {
        font-size: 29px;
    }

    .quote-english {
        font-size: 14px;
    }

    .personal-message {
        font-size: 15px;

        line-height: 2;
    }

    .personal-message span {
        display: block;

        margin-left: 0;
    }


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

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 20px;
    }


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

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

        gap: 35px;
    }

    .footer-columns {
        gap: 70px;
    }
}


/* =====================================================
   VERY SMALL DEVICES
===================================================== */

@media (max-width: 360px) {

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

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-circle {
        width: 240px;

        height: 240px;
    }

    .img-hero {
        width: 210px;

        height: 210px;
    }

    .hero-image {
        min-height: 300px;
    }

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


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

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }
}