/* =========================================
   HENAB DEVELOPER
   Premium Emerald Green Portfolio
   Emerald Green | White | Gold
========================================= */

/* COLOUR SYSTEM */

:root {
    --bg-dark: #062D24;
    --bg-card: #0B3D30;
    --bg-card-hover: #104B3A;
    --text-white: #FFFFFF;
    --text-muted: #D1D5DB;
    --gold: #D4AF37;
    --orange: #2E8B57;
    --border: rgba(255, 255, 255, 0.12);
    --gold-soft: rgba(212, 175, 55, 0.12);
    --green-glow: rgba(46, 139, 87, 0.2);
}

/* RESET */

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

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

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

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

::selection {
    background: var(--gold);
    color: var(--bg-dark);
}

/* =========================================
   HEADER
========================================= */

.header {
    width: 100%;
    background: rgba(6, 45, 36, 0.97);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
}

.navbar {
    max-width: 1200px;
    min-height: 82px;
    margin: auto;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

/* BRAND LOGO */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: 1px;
    white-space: nowrap;
}

.logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-text {
    color: var(--text-white);
    font-weight: 700;
    white-space: nowrap;
}

.logo span,
.logo-text span {
    color: var(--gold);
}

/* NAVIGATION */

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    font-weight: 600;
    color: #E5EDE9;
    transition: color 0.3s ease;
}

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

.nav-links .contact-link {
    display: inline-block;
    padding: 10px 19px;
    border: 1px solid var(--gold);
    border-radius: 5px;
    color: var(--gold);
    transition: all 0.3s ease;
}

.nav-links .contact-link:hover {
    background: var(--gold);
    color: var(--bg-dark);
}

/* MOBILE MENU BUTTON */

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 28px;
    cursor: pointer;
}

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

.hero {
    width: 100%;
    max-width: none;
    min-height: 650px;
    margin: 0;
    padding: 80px 30px;

    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 65px;

    position: relative;
    isolation: isolate;
    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(6, 45, 36, 0.97) 0%,
            rgba(6, 45, 36, 0.88) 48%,
            rgba(6, 45, 36, 0.62) 100%
        ),
        url("images/workspace.jpg") center / cover no-repeat;

    box-shadow: inset 0 0 100px rgba(212, 175, 55, 0.06);
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 2;
}

.hero-intro {
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: clamp(38px, 5vw, 65px);
    line-height: 1.13;
    letter-spacing: -2px;
    margin-bottom: 25px;
}

.hero h1 span,
.hero-name {
    color: var(--gold);
}

.hero-role {
    color: #9BD6B5;
    font-size: 0.65em;
    letter-spacing: 1px;
}

.hero-tagline {
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.3;
    margin: 20px 0;
    color: var(--text-white);
    font-weight: 700;
}

.hero-description {
    max-width: 510px;
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 32px;
}

/* HERO BUTTONS */

.hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 13px 23px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gold);
    color: var(--bg-dark);
    border: 1px solid var(--gold);
}

.btn-primary:hover {
    background: #E7C85A;
    border-color: #E7C85A;
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(212, 175, 55, 0.2);
}

.btn-secondary {
    background: rgba(6, 45, 36, 0.4);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-3px);
}

/* HERO PHOTO AREA */

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    isolation: isolate;
    min-width: 0;
}

.hero-image::before {
    content: "";
    position: absolute;
    width: 85%;
    height: 75%;
    background: rgba(46, 139, 87, 0.3);
    filter: blur(80px);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.photo-placeholder {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 4 / 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(
        145deg,
        rgba(212, 175, 55, 0.12),
        rgba(46, 139, 87, 0.1)
    );
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 12px;
    padding: 25px;
}

.photo-placeholder span {
    color: var(--gold);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 3px;
}

.photo-placeholder p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 10px;
}

/* PROFILE PHOTO */

.profile-photo {
    width: 100%;
    max-width: 380px;
    height: 460px;
    object-fit: cover;
    object-position: center top;
    border: 3px solid var(--gold);
    border-radius: 24px;

    box-shadow:
        0 0 15px rgba(212, 175, 55, 0.2),
        0 0 35px rgba(46, 139, 87, 0.25);

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

.profile-photo:hover {
    transform: translateY(-5px);

    box-shadow:
        0 0 22px rgba(212, 175, 55, 0.35),
        0 0 45px rgba(46, 139, 87, 0.3);
}

/* HERO ENTRANCE ANIMATIONS */

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: heroFadeIn 2s ease-out both;
}

.hero-image {
    animation: heroFadeIn 2.5s ease-out 0.6s both;
}

/* =========================================
   SHARED SECTION HEADINGS
========================================= */

.section-heading {
    max-width: 750px;
    margin: 0 auto 50px;
    text-align: center;
}

.section-subtitle,
.section-tag {
    display: inline-block;
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.section-heading h2 {
    font-size: clamp(30px, 5vw, 44px);
    line-height: 1.3;
    margin-bottom: 18px;
    color: var(--text-white);
}

.section-heading h2 span {
    color: var(--gold);
}

.section-heading > p:last-child,
.section-heading p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
}

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

.projects-section {
    padding: 90px 7%;
    background: var(--bg-card);
    color: var(--text-white);
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    max-width: 1250px;
    margin: 0 auto;
}

/* Keep project cards aligned consistently across the expanded portfolio */
.projects-container .project-card {
    display: flex;
    flex-direction: column;
}

.projects-container .project-info {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.projects-container .project-actions {
    margin-top: auto;
}

.project-card {
    min-width: 0;
    background: #0D342A;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.3s ease,
                border-color 0.3s ease,
                box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-7px);
    border-color: var(--gold);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* WEBSITE BROWSER BAR */

.browser-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px;
    background: #08271F;
    border-bottom: 1px solid var(--border);
}

.browser-dots {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}

.browser-dots span {
    width: 8px;
    height: 8px;
    display: block;
    border-radius: 50%;
    background: #2E8B57;
}

.browser-dots span:nth-child(2) {
    background: var(--gold);
}

.browser-dots span:nth-child(3) {
    background: #A0B6AC;
}

.browser-address {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: center;
    color: #D1D5DB;
    font-size: 11px;
}

/* WEBSITE PREVIEWS */

.project-preview {
    height: 230px;
    background: #F5F5F5;
    overflow: hidden;
    position: relative;
}

.project-preview iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #FFFFFF;
}

.preview-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 20px;
    text-align: center;
    color: #111111;
    background: linear-gradient(135deg, #FFFFFF, #E8F0EC);
}

.preview-placeholder p {
    font-size: 25px;
    font-weight: 800;
    color: #8C7220;
}

.preview-placeholder span {
    font-size: 13px;
    color: #555555;
}

/* PROJECT DESCRIPTIONS */

.project-info {
    padding: 25px 22px 28px;
}

.project-info h3 {
    font-size: 21px;
    margin-bottom: 13px;
    color: var(--text-white);
}

.project-info p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 22px;
}

.project-link {
    display: inline-block;
    color: var(--gold);
    font-size: 14px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #A8E0BE;
}

/* PROJECT TECHNOLOGY BADGES */

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0;
}

.project-tags span {
    display: inline-block;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gold);
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.project-tags span:hover {
    color: var(--bg-dark);
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-2px);
}

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

.about-section {
    padding: 100px 7%;
    background: var(--bg-dark);
    color: var(--text-white);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
    gap: 70px;
}

.about-subtitle {
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.about-content h2 {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.3;
    margin-bottom: 25px;
}

.about-content h2 span {
    color: var(--gold);
    display: block;
}

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

.about-button {
    display: inline-block;
    margin-top: 15px;
    padding: 14px 25px;
    background: var(--gold);
    color: var(--bg-dark);
    font-size: 14px;
    font-weight: 700;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.about-button:hover {
    background: #E7C85A;
    transform: translateY(-3px);
}

/* ABOUT HIGHLIGHT CARD */

.about-highlight {
    padding: 55px 30px;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 14px;
    position: relative;
    overflow: hidden;
}

.about-highlight::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--gold),
        #2E8B57
    );
}

.about-icon {
    width: 110px;
    height: 110px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    font-size: 35px;
    font-weight: 800;
    letter-spacing: -2px;
}

.about-highlight h3 {
    font-size: 21px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.about-highlight > p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 2;
}

/* =========================================
   SERVICES SECTION
========================================= */

.services-section {
    padding: 100px 7%;
    background: var(--bg-card);
    color: var(--text-white);
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.service-card {
    padding: 40px 30px;
    background: #0D342A;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: transform 0.3s ease,
                border-color 0.3s ease,
                box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    border-color: var(--gold);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.service-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-soft);
    border: 1px solid var(--gold);
    border-radius: 10px;
    color: var(--gold);
    font-size: 20px;
    font-weight: 800;
}

.service-card h3 {
    margin-bottom: 18px;
    color: var(--text-white);
    font-size: 20px;
    line-height: 1.5;
}

.service-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.9;
}

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

.skills-section {
    padding: 100px 7%;
    background: var(--bg-dark);
    color: var(--text-white);
}

.skills-header {
    max-width: 750px;
    margin: 0 auto 55px;
    text-align: center;
}

.skills-header h2 {
    margin-bottom: 20px;
    font-size: 38px;
    font-weight: 800;
    color: var(--text-white);
}

.skills-header h2 span {
    color: var(--gold);
}

.skills-header p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
}

.skills-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.skill-card {
    padding: 35px 25px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease,
                border-color 0.3s ease,
                box-shadow 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-7px);
    border-color: var(--gold);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.skill-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-soft);
    border: 1px solid var(--gold);
    border-radius: 12px;
    color: var(--gold);
    font-size: 18px;
    font-weight: 800;
}

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

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

/* =========================================
   WHY WORK WITH ME
========================================= */

.why-work {
    padding: 80px 20px;
    background: var(--bg-dark);
    color: var(--text-white);
}

.why-work .container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.why-work-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.why-card {
    background: var(--bg-card);
    padding: 30px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 16px;
    transition: transform 0.3s ease,
                border-color 0.3s ease,
                box-shadow 0.3s ease;
}

.why-card:hover {
    transform: translateY(-7px);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
}

.why-icon {
    font-size: 35px;
    margin-bottom: 18px;
}

.why-card h3 {
    color: var(--gold);
    font-size: 21px;
    margin-bottom: 14px;
}

.why-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

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

.contact-section {
    padding: 100px 7%;
    background: var(--bg-card);
    color: var(--text-white);
}

.contact-header {
    max-width: 750px;
    margin: 0 auto 60px;
    text-align: center;
}

.contact-header h2 {
    margin-bottom: 20px;
    font-size: 38px;
    font-weight: 800;
}

.contact-header h2 span {
    color: var(--gold);
}

.contact-header p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    align-items: start;
}

.contact-info,
.contact-form-container {
    min-width: 0;
    padding: 35px;
    background: #0D342A;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
}

.contact-info h3,
.contact-form-container h3 {
    margin-bottom: 25px;
    color: var(--text-white);
    font-size: 24px;
}

.contact-info > p {
    margin-bottom: 30px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.9;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 25px;
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-soft);
    border: 1px solid var(--gold);
    border-radius: 10px;
    color: var(--gold);
    font-size: 20px;
    font-weight: 800;
}

.contact-item h4 {
    margin-bottom: 5px;
    color: var(--gold);
    font-size: 16px;
}

.contact-item p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

/* CONTACT BUTTONS */

.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.contact-btn {
    display: inline-block;
    padding: 13px 20px;
    border-radius: 7px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.3s ease,
                background 0.3s ease;
}

.email-btn {
    background: var(--gold);
    color: var(--bg-dark);
}

.email-btn:hover {
    background: #E7C85A;
    transform: translateY(-3px);
}

.whatsapp-btn {
    background: #218C58;
    color: #FFFFFF;
}

.whatsapp-btn:hover {
    background: #176C42;
    transform: translateY(-3px);
}

/* CONTACT FORM */

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

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

.form-group label {
    color: #E5EDE9;
    font-size: 14px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 15px;
    background: #062D24;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 7px;
    outline: none;
    color: var(--text-white);
    font-size: 14px;
    transition: border-color 0.3s ease,
                box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #A7B9B0;
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.contact-submit {
    padding: 15px 20px;
    background: var(--gold);
    border: none;
    border-radius: 7px;
    color: var(--bg-dark);
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.3s ease,
                transform 0.3s ease;
}

.contact-submit:hover {
    background: #E7C85A;
    transform: translateY(-3px);
}

.contact-submit:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
}

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

.social-links {
    text-align: center;
    margin: 30px auto;
    padding: 20px;
}

.social-links h3 {
    color: var(--gold);
    font-size: 22px;
    margin-bottom: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 8px;
    padding: 12px 20px;
    color: var(--gold);
    font-size: 16px;
    font-weight: 600;
    border: 1px solid var(--gold);
    border-radius: 8px;
    background: var(--bg-card);
    transition: all 0.3s ease;
}

.social-links a svg {
    width: 22px;
    height: 22px;
}

.social-links a:hover {
    color: var(--bg-dark);
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.15);
}

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

.footer {
    background: #04251D;
    padding: 45px 20px 25px;
    text-align: center;
    border-top: 2px solid var(--gold);
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
}

.footer h3 {
    color: var(--gold);
    font-size: 25px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.footer h3 span {
    color: #A8E0BE;
}

.footer-content > p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px;
    margin: 25px 0;
}

.footer-links a {
    color: var(--text-white);
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-line {
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin: 25px 0;
}

.footer .footer-copyright {
    color: #A7B9B0;
    font-size: 13px;
    margin-bottom: 8px;
}

.footer .footer-credit {
    color: #A7B9B0;
    font-size: 12px;
    margin-bottom: 0;
}

.footer-credit span {
    color: var(--gold);
}

/* =========================================
   FLOATING WHATSAPP BUTTON
========================================= */

.floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 25px;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #25D366;
    color: #FFFFFF;
    border: 2px solid var(--gold);
    border-radius: 50%;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.25),
        0 0 15px rgba(37, 211, 102, 0.2);
    z-index: 9999;
    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.floating-whatsapp:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.3),
        0 0 22px rgba(37, 211, 102, 0.35);
}

.floating-whatsapp svg {
    display: block;
    width: 30px;
    height: 30px;
}

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

@media (max-width: 1000px) {

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

@media (max-width: 900px) {

    .navbar {
        padding: 15px 22px;
    }

    .nav-links {
        gap: 18px;
    }

    .hero {
        gap: 35px;
        padding: 65px 25px;
    }

    .hero h1 {
        font-size: 46px;
    }

    .logo {
        font-size: 19px;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .about-highlight {
        max-width: 500px;
        width: 100%;
        margin: 0 auto;
    }

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

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

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

@media (max-width: 650px) {

    .navbar {
        min-height: 72px;
        padding: 14px 18px;
        position: relative;
    }

    .logo {
        font-size: 17px;
        gap: 6px;
    }

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

    .menu-toggle {
        display: block;
        flex-shrink: 0;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #062D24;
        border-bottom: 1px solid var(--border);
        padding: 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-links.active {
        display: flex;
    }

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

    .nav-links a {
        display: block;
        padding: 12px 8px;
    }

    .nav-links .contact-link {
        text-align: center;
        margin-top: 8px;
    }

    /* HERO */

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 45px;
        padding: 65px 22px;
        background:
            linear-gradient(
                180deg,
                rgba(6, 45, 36, 0.94) 0%,
                rgba(6, 45, 36, 0.88) 100%
            ),
            url("images/workspace.jpg") center / cover no-repeat;
    }

    .hero-content {
        text-align: center;
        margin: auto;
    }

    .hero-intro {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .hero h1 {
        font-size: clamp(36px, 10vw, 48px);
        letter-spacing: -1px;
    }

    .hero-tagline {
        font-size: clamp(23px, 6vw, 30px);
    }

    .hero-description {
        font-size: 15px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .btn {
        padding: 12px 17px;
    }

    .profile-photo {
        max-width: 300px;
        height: 360px;
    }

    .photo-placeholder {
        max-width: 310px;
    }

    /* PROJECTS */

    .projects-section {
        padding: 65px 6%;
    }

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

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

    .project-preview {
        height: 240px;
    }

    .project-info {
        padding: 22px 18px 25px;
    }

    .project-tags {
        gap: 6px;
        margin: 14px 0;
    }

    .project-tags span {
        padding: 6px 10px;
        font-size: 11px;
    }

    /* ABOUT */

    .about-section {
        padding: 70px 6%;
    }

    .about-content h2 {
        font-size: 32px;
    }

    .about-highlight {
        padding: 45px 20px;
    }

    /* SERVICES */

    .services-section {
        padding: 70px 6%;
    }

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

    .service-card {
        padding: 30px 24px;
    }

    /* SKILLS */

    .skills-section {
        padding: 70px 6%;
    }

    .skills-header h2 {
        font-size: 30px;
    }

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

    .skill-card {
        padding: 30px 24px;
    }

    /* WHY WORK WITH ME */

    .why-work {
        padding: 60px 18px;
    }

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

    .why-card {
        padding: 25px;
    }

    /* CONTACT */

    .contact-section {
        padding: 70px 6%;
    }

    .contact-header h2 {
        font-size: 30px;
    }

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

    .contact-info h3,
    .contact-form-container h3 {
        font-size: 21px;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .contact-btn {
        width: 100%;
    }

    /* FOOTER */

    .footer {
        padding: 35px 15px 20px;
    }

    .footer h3 {
        font-size: 22px;
    }

    .footer-links {
        gap: 15px;
    }

    /* SOCIAL LINKS */

    .social-links {
        padding: 15px 5px;
    }

    .social-links h3 {
        font-size: 20px;
    }

    .social-links a {
        padding: 10px 14px;
        font-size: 14px;
    }

    /* WHATSAPP */

    .floating-whatsapp {
        width: 54px;
        height: 54px;
        right: 15px;
        bottom: 18px;
    }

    .floating-whatsapp svg {
        width: 27px;
        height: 27px;
    }
}

/* SMALL PHONES */

@media (max-width: 480px) {

    .profile-photo {
        max-width: 260px;
        height: 320px;
        border-radius: 18px;
    }

    .section-heading h2 {
        font-size: 27px;
    }

    .why-card h3 {
        font-size: 19px;
    }

    .social-links {
        padding: 15px 5px;
    }

    .social-links a {
        padding: 10px 14px;
        font-size: 14px;
    }
}

@media (max-width: 360px) {

    .logo {
        font-size: 15px;
        gap: 5px;
    }

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

    .hero h1 {
        font-size: 34px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        text-align: center;
    }
}

/* ACCESSIBILITY: RESPECT REDUCED MOTION */

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

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =========================================
   HENAB DEVELOPER
   LIGHT BODY + WHITE CARDS THEME
   Safe colour overrides — original CSS preserved
========================================= */

/* MAIN BODY */
body {
    background: #F5F3ED;
    color: #17352C;
}

/* KEEP HERO DARK */
.hero {
    background:
        linear-gradient(
            90deg,
            rgba(6, 45, 36, 0.97) 0%,
            rgba(6, 45, 36, 0.88) 48%,
            rgba(6, 45, 36, 0.62) 100%
        ),
        url("images/workspace.jpg") center / cover no-repeat;
}

/* SECTION BACKGROUNDS */
.projects-section,
.services-section,
.contact-section {
    background: #EAE7DE;
    color: #17352C;
}

.about-section,
.skills-section,
.why-work {
    background: #F5F3ED;
    color: #17352C;
}

/* SECTION HEADINGS */
.section-heading h2,
.skills-header h2,
.contact-header h2,
.about-content h2 {
    color: #064E3B;
}

.section-heading > p:last-child,
.section-heading p,
.skills-header p,
.contact-header p,
.about-text {
    color: #52645B;
}

/* WHITE CARDS */
.project-card,
.service-card,
.skill-card,
.why-card,
.about-highlight,
.contact-info,
.contact-form-container {
    background: #FFFFFF;
    color: #17352C;
    border: 1px solid rgba(6, 78, 59, 0.15);
}

/* CARD HEADINGS */
.project-info h3,
.service-card h3,
.skill-card h3,
.contact-info h3,
.contact-form-container h3,
.about-highlight h3 {
    color: #064E3B;
}

/* CARD PARAGRAPHS */
.project-info p,
.service-card p,
.skill-card p,
.why-card p,
.about-highlight > p,
.contact-info > p,
.contact-item p {
    color: #52645B;
}

/* KEEP GOLD AND GREEN ACCENTS */
.project-link,
.why-card h3,
.contact-item h4 {
    color: #9A7610;
}

.project-tags span,
.service-icon,
.skill-icon,
.contact-icon {
    background-color: #F8F2DD;
}

/* CONTACT FORM FIELDS */
.form-group label {
    color: #17352C;
}

.form-group input,
.form-group textarea {
    background: #F9F8F4;
    color: #17352C;
    border: 1px solid #C8D2CB;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #68786F;
}

/* PROJECT PREVIEW FRAME */
.browser-bar {
    background: #064E3B;
}

/* FOOTER — MATCH HERO */
.footer {
    background: #062D24;
}

/* KEEP MOBILE NAVIGATION DARK */
@media (max-width: 650px) {
    .nav-links {
        background: #062D24;
    }

    .hero {
        background:
            linear-gradient(
                180deg,
                rgba(6, 45, 36, 0.94) 0%,
                rgba(6, 45, 36, 0.88) 100%
            ),
            url("images/workspace.jpg") center / cover no-repeat;
    }
}

/* FIX: MAKE "I'M" VISIBLE IN THE HERO SECTION */

.hero h1 {
    color: #FFFFFF;
}

.hero h1 span,
.hero-name {
    color: #D4AF37 !important;
}


/* =========================================
   HENAB DEVELOPER
   PREMIUM SCROLL REVEAL ANIMATIONS
========================================= */

/* Initial reveal state — activated by JavaScript */

.reveal-item {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(0.2, 0.65, 0.3, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

/* Visible state */

.reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Slightly different entrance for selected elements */

.reveal-left {
    transform: translateX(-35px);
}

.reveal-right {
    transform: translateX(35px);
}

.reveal-left.is-visible,
.reveal-right.is-visible {
    transform: translateX(0);
}

/* Keep animation smooth on smaller screens */

@media (max-width: 650px) {
    .reveal-item {
        transform: translateY(22px);
        transition-duration: 0.65s;
    }

    .reveal-item.is-visible {
        transform: translateY(0);
    }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    .reveal-item,
    .reveal-item.is-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


/* =========================================
   UPGRADE 2
   PREMIUM PROJECT SHOWCASE
========================================= */

.project-card {
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border: 1px solid rgba(6, 78, 59, 0.15);
    box-shadow: 0 8px 25px rgba(6, 45, 36, 0.06);
}

.project-card:hover {
    transform: translateY(-9px);
    border-color: var(--gold);
    box-shadow: 0 18px 40px rgba(6, 45, 36, 0.13);
}

/* PROJECT LABELS */

.project-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 15px 18px;
    background: #FFFFFF;
}

.project-label > span:first-child {
    color: #9A7610;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.project-category {
    color: #52645B;
    background: #F1F5F2;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
}

/* PROJECT PREVIEW */

.project-preview {
    height: 245px;
    border-top: 1px solid #E5EAE6;
    border-bottom: 1px solid #E5EAE6;
}

.project-preview iframe {
    transition: transform 0.4s ease;
}

/* PROJECT INFORMATION */

.project-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 25px 22px 28px;
}

.project-info h3 {
    color: #064E3B;
    font-size: 22px;
    margin-bottom: 12px;
}

.project-info p {
    color: #52645B;
    font-size: 14px;
    line-height: 1.9;
}

/* TECHNOLOGY BADGES */

.project-tags {
    margin: 15px 0 22px;
}

.project-tags span {
    color: #176C42;
    background: #EFF7F1;
    border: 1px solid #D4E6D9;
    font-size: 11px;
    font-weight: 700;
    padding: 7px 11px;
}

.project-tags span:hover {
    color: #FFFFFF;
    background: #064E3B;
    border-color: #064E3B;
}

/* PROJECT ACTIONS */

.project-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 5px;
}

.project-link {
    display: inline-block;
    padding: 11px 15px;
    color: #062D24;
    background: var(--gold);
    border: 1px solid var(--gold);
    border-radius: 5px;
    font-size: 12px;
    font-weight: 800;
    transition: all 0.3s ease;
}

.project-link:hover {
    color: #062D24;
    background: #E7C85A;
    transform: translateY(-3px);
}

.project-preview-link {
    display: inline-block;
    padding: 11px 14px;
    color: #064E3B;
    border: 1px solid #B8CFC1;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.project-preview-link:hover {
    color: #FFFFFF;
    background: #064E3B;
    border-color: #064E3B;
    transform: translateY(-3px);
}

/* MOBILE PROJECT SHOWCASE */

@media (max-width: 650px) {

    .project-label {
        padding: 13px 15px;
    }

    .project-preview {
        height: 230px;
    }

    .project-info {
        padding: 22px 18px 25px;
    }

    .project-info h3 {
        font-size: 20px;
    }

    .project-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .project-link,
    .project-preview-link {
        width: 100%;
        text-align: center;
        padding: 13px;
    }

}


/* =================================
   PRICING SECTION
================================= */

.pricing-section {
    background: #F5F3ED;
    padding: 90px 6%;
}

.pricing-container {
    max-width: 1200px;
    margin: 45px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    align-items: stretch;
}

.pricing-card {
    background: #FFFFFF;
    padding: 35px 28px;
    border-radius: 14px;
    border: 1px solid rgba(6, 45, 36, 0.10);
    box-shadow: 0 8px 25px rgba(6, 45, 36, 0.07);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(6, 45, 36, 0.13);
}

.pricing-label {
    color: #B18B19;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.pricing-card h3 {
    color: #062D24;
    font-size: 23px;
    margin-bottom: 12px;
}

.pricing-description {
    color: #68766F;
    font-size: 14px;
    line-height: 1.8;
    min-height: 75px;
}

.pricing-amount {
    margin: 25px 0;
    padding: 20px 0;
    border-top: 1px solid #E8E8E8;
    border-bottom: 1px solid #E8E8E8;
}

.pricing-amount span {
    color: #68766F;
    font-size: 13px;
}

.pricing-amount h2 {
    color: #0B4A39;
    font-size: 30px;
    margin-top: 8px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    flex-grow: 1;
}

.pricing-features li {
    color: #40564D;
    font-size: 14px;
    line-height: 1.8;
    padding: 9px 0;
    border-bottom: 1px solid #F0F0F0;
}

.pricing-button {
    display: block;
    text-align: center;
    background: #062D24;
    color: #FFFFFF;
    padding: 14px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.pricing-button:hover {
    background: #D4AF37;
    color: #062D24;
}

.featured-pricing {
    border: 2px solid #D4AF37;
    transform: translateY(-10px);
}

.featured-pricing:hover {
    transform: translateY(-17px);
}

.pricing-note {
    max-width: 850px;
    margin: 35px auto 0;
    text-align: center;
    color: #68766F;
    font-size: 13px;
    line-height: 1.8;
}

/* PRICING MOBILE RESPONSIVENESS */

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

    .featured-pricing {
        transform: none;
    }

    .featured-pricing:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 600px) {
    .pricing-section {
        padding: 65px 5%;
    }

    .pricing-container {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .pricing-card {
        padding: 28px 22px;
    }

    .pricing-description {
        min-height: auto;
    }

    .pricing-amount h2 {
        font-size: 27px;
    }
}


/* FLOATING WHATSAPP BUTTON IMPROVEMENT */

.floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    background: #25D366;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.22);
    z-index: 9999;
    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    color: #FFFFFF;
}

.floating-whatsapp svg {
    width: 30px;
    height: 30px;
}

@media (max-width: 600px) {
    .floating-whatsapp {
        width: 54px;
        height: 54px;
        right: 16px;
        bottom: 18px;
    }
}


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

.contact-form-container {
    background: #FFFFFF;
    padding: 35px;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(6, 45, 36, 0.08);
}

.contact-form-container h3 {
    color: #062D24;
    margin-bottom: 10px;
}

.form-intro {
    color: #68766F;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 25px;
}

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

.contact-form label {
    display: block;
    color: #17352C;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 9px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    display: block;
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #D9E1DC;
    border-radius: 7px;
    background: #FAFCFA;
    color: #17352C;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease,
                box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #0B4A39;
    box-shadow: 0 0 0 3px rgba(11, 74, 57, 0.10);
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form select {
    cursor: pointer;
}

.contact-submit {
    width: 100%;
    padding: 16px 20px;
    background: #062D24;
    color: #FFFFFF;
    border: none;
    border-radius: 7px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease,
                transform 0.3s ease;
}

.contact-submit:hover {
    background: #0B4A39;
    transform: translateY(-2px);
}

.contact-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* CONTACT FORM MOBILE */

@media (max-width: 600px) {

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

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        font-size: 16px;
    }

    .contact-submit {
        padding: 15px;
    }

}


/* =================================
   TOP SOCIAL BAR
================================= */

.top-info-bar {
    background: #062D24;
    padding: 9px 5%;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.top-info-content {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
}

.follow-text {
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
}

.top-social-links {
    display: flex;
    align-items: center;
    gap: 13px;
}

.top-social-links a {
    color: #D4AF37;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.top-social-links a svg {
    width: 19px;
    height: 19px;
}

.top-social-links a:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .top-info-bar {
        padding: 8px 4%;
    }

    .top-info-content {
        gap: 12px;
    }
}


/* =========================================
   HENAB DEVELOPER
   PREMIUM NAVIGATION REFINEMENT
========================================= */

/* MAIN HEADER */

.header {
    background: rgba(6, 45, 36, 0.98);
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* NAVIGATION CONTAINER */

.navbar {
    min-height: 86px;
    gap: 20px;
}

/* BRAND LOGO */

.logo {
    gap: 11px;
    font-size: 21px;
    letter-spacing: 1.2px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-img {
    width: 50px;
    height: 50px;
}

.logo-text {
    letter-spacing: 1px;
}

/* NAVIGATION LINKS */

.nav-links {
    gap: 25px;
}

.nav-links a {
    position: relative;
    font-size: 13px;
    letter-spacing: 0.2px;
    transition: color 0.3s ease;
}

/* GOLD HOVER UNDERLINE */

.nav-links li:not(:last-child) a:not(.contact-link)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-links li:not(:last-child) a:not(.contact-link):hover::after {
    width: 100%;
}

/* CONTACT BUTTON */

.nav-links .contact-link {
    padding: 11px 20px;
    border: 1px solid var(--gold);
    border-radius: 5px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.nav-links .contact-link:hover {
    background: var(--gold);
    color: #062D24;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.18);
    transform: translateY(-2px);
}

/* TABLET NAVIGATION */

@media (min-width: 651px) and (max-width: 900px) {

    .navbar {
        padding: 15px 20px;
        gap: 12px;
    }

    .logo {
        font-size: 17px;
        gap: 7px;
    }

    .logo-img {
        width: 42px;
        height: 42px;
    }

    .nav-links {
        gap: 14px;
    }

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

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

/* MOBILE NAVIGATION */

@media (max-width: 650px) {

    .navbar {
        min-height: 74px;
        padding: 12px 18px;
    }

    .logo {
        font-size: 17px;
        gap: 7px;
    }

    .logo-img {
        width: 40px;
        height: 40px;
    }

    .menu-toggle {
        font-size: 29px;
        padding: 5px;
        border-radius: 5px;
        transition: color 0.3s ease,
                    background 0.3s ease;
    }

    .menu-toggle:hover {
        color: var(--gold);
        background: rgba(212, 175, 55, 0.08);
    }

    .nav-links {
        padding: 15px 20px 22px;
        background: #062D24;
        box-shadow: 0 12px 20px rgba(0, 0, 0, 0.16);
        border-top: 1px solid rgba(212, 175, 55, 0.15);
    }

    .nav-links li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        padding: 13px 8px;
        font-size: 14px;
    }

    .nav-links .contact-link {
        margin-top: 12px;
        padding: 12px 18px;
    }
}

/* =================================
   MOBILE OVERFLOW PROTECTION
================================= */

.hero-content,
.hero-image,
.about-container,
.about-content,
.about-image,
.project-card,
.project-info,
.service-card,
.skill-card,
.why-card,
.pricing-card,
.contact-info,
.contact-form-container {
    min-width: 0;
}

img,
video,
iframe {
    max-width: 100%;
}

/* =================================
   MOBILE TOUCH-FRIENDLY ELEMENTS
================================= */

@media (max-width: 650px) {

    .nav-links a,
    .top-social-links a,
    .social-links a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    button,
    .btn,
    .contact-btn,
    .pricing-btn {
        min-height: 44px;
    }

}

/* =================================
   TABLET LAYOUT REFINEMENT
================================= */

@media (min-width: 601px) and (max-width: 900px) {

    .pricing-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

}

@media (min-width: 601px) and (max-width: 700px) {

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

}

/* COMPACT TOP SOCIAL BAR */

.top-info-bar {
    padding: 3px 5%;
}

.top-info-content {
    min-height: 20px;
    gap: 10px;
}

.top-social-links {
    gap: 10px;
}

.top-social-links a svg {
    width: 16px;
    height: 16px;
}

.follow-text {
    font-size: 11px;
}

@media (max-width: 600px) {
    .top-info-bar {
        padding: 2px 4%;
    }

    .top-info-content {
        min-height: 23px;
    }
}


/* =========================================
   PREMIUM HENAB DEVELOPER FOOTER
========================================= */

.footer {
    background: #041F19;
    color: #ffffff;
    padding: 65px 6% 0;
    border-top: 2px solid #D4AF37;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 45px;
}

/* BRAND */

.footer-brand {
    max-width: 340px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.footer-logo strong {
    color: #D4AF37;
}

.footer-brand > p {
    color: #C7D4CE;
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 22px;
}

/* SOCIAL ICONS ONLY */

.footer-socials {
    display: flex;
    align-items: center;
    gap: 13px;
}

.footer-socials a {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(212, 175, 55, 0.65);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D4AF37;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-socials a svg {
    width: 19px;
    height: 19px;
}

.footer-socials a:hover {
    background: #D4AF37;
    color: #041F19;
    transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

/* FOOTER COLUMNS */

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
}

.footer-column h3 {
    color: #D4AF37;
    font-size: 16px;
    margin-bottom: 8px;
    position: relative;
}

.footer-column h3::after {
    content: "";
    display: block;
    width: 30px;
    height: 2px;
    background: #D4AF37;
    margin-top: 9px;
}

.footer-column > a {
    color: #C7D4CE;
    text-decoration: none;
    font-size: 13px;
    transition: 0.3s ease;
}

.footer-column > a:hover {
    color: #D4AF37;
    padding-left: 5px;
}

.footer-contact p {
    color: #C7D4CE;
    font-size: 13px;
    line-height: 1.8;
    margin-top: 5px;
}

/* COPYRIGHT BAR */

.footer-bottom {
    max-width: 1200px;
    margin: auto;
    padding: 22px 0;
    border-top: 1px solid rgba(212, 175, 55, 0.25);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-bottom p {
    color: #AABBB2;
    font-size: 12px;
}

.footer-bottom span {
    color: #D4AF37;
}

/* TABLET */

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px;
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .footer {
        padding: 45px 6% 0;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 32px 20px;
        padding-bottom: 35px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }

    .footer-logo {
        font-size: 16px;
    }

    .footer-logo img {
        width: 43px;
        height: 43px;
    }

    .footer-column h3 {
        font-size: 14px;
    }

    .footer-column > a,
    .footer-contact p {
        font-size: 12px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 9px;
    }
}

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

    .footer-brand {
        grid-column: auto;
    }
}


/* =====================================
   HENAB PROMOTIONAL TOP BAR
===================================== */

.top-info-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.promo-rotator {
    flex: 1;
    min-width: 0;
}

.promo-message {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    animation: promoFade 5s infinite;
}

.promo-message strong {
    color: #D4AF37;
    font-size: 17px;
    font-weight: 900;
}

.promo-message span {
    color: #fff;
    font-size: 13px;
}

.promo-message a {
    color: #D4AF37;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
}

.promo-message a:hover {
    color: #fff;
}

@keyframes promoFade {
    0% { opacity: 0; }
    12% { opacity: 1; }
    78% { opacity: 1; }
    100% { opacity: 0; }
}

.top-social-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .top-info-content {
        gap: 8px;
    }

    .promo-message {
        gap: 5px;
    }

    .promo-message strong {
        font-size: 13px;
    }

    .promo-message span {
        font-size: 10px;
    }

    .promo-message a {
        font-size: 10px;
    }

    .top-social-links {
        gap: 7px;
    }

    .follow-text {
        font-size: 10px;
    }

    .top-social-links svg {
        width: 17px;
        height: 17px;
    }
}


/* =========================================
   PORTFOLIO SHARING OPTIONS
========================================= */

.portfolio-share {
    margin-top: 28px;
    max-width: 560px;
}

.portfolio-share-title {
    margin-bottom: 12px;
    color: #E8D58A;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.portfolio-share-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.share-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 9px 13px;
    border: 1px solid rgba(212, 175, 55, 0.55);
    border-radius: 6px;
    background: rgba(6, 45, 36, 0.72);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease,
                border-color 0.25s ease, transform 0.25s ease;
}

.share-option span {
    color: var(--gold);
    font-size: 16px;
    font-weight: 800;
}

.share-option:hover,
.share-option:focus-visible {
    color: #062D24;
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-2px);
    outline: none;
}

.share-option:hover span,
.share-option:focus-visible span {
    color: #062D24;
}

.share-feedback {
    min-height: 20px;
    margin-top: 8px;
    color: #F3D979;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.share-feedback.is-visible {
    opacity: 1;
}

@media (max-width: 650px) {
    .portfolio-share {
        margin: 25px auto 0;
        text-align: center;
    }

    .portfolio-share-actions {
        justify-content: center;
    }

    .share-option {
        flex: 1 1 calc(50% - 9px);
        max-width: 170px;
    }
}

@media (max-width: 360px) {
    .share-option {
        flex-basis: 100%;
        max-width: 100%;
    }
}
