/* ==========================================
   RAYAN — PREMIUM DEVELOPER PORTFOLIO
   Existing HTML compatible
   Theme: Deep Green + Mint + Soft White
========================================== */

:root {
    --primary: #102a24;
    --primary-light: #193c33;
    --accent: #42d6a4;
    --accent-dark: #27b98a;
    --background: #f5f8f7;
    --surface: #ffffff;
    --surface-soft: #edf4f1;
    --text: #18332c;
    --muted: #71817b;
    --border: #e0e9e5;
    --shadow: 0 18px 55px rgba(16, 42, 36, 0.08);
    --shadow-hover: 0 25px 65px rgba(16, 42, 36, 0.13);
    --radius: 20px;
    --radius-small: 12px;
    --transition: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 95px;
}

body {
    font-family: "DM Sans", sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body::selection {
    background: var(--accent);
    color: var(--primary);
}

::selection {
    background: var(--accent);
    color: var(--primary);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1160px, calc(100% - 48px));
    margin-inline: auto;
}

section {
    position: relative;
}

/* ==========================================
   NAVIGATION
========================================== */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(245, 248, 247, 0.91);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(224, 233, 229, 0.8);
}

.nav-container {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -1px;
    flex-shrink: 0;
}

.logo-icon {
    color: var(--accent-dark);
    font-size: 23px;
    font-weight: 700;
}

.logo-dot {
    color: var(--accent-dark);
    margin-left: -8px;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 27px;
}

.nav-links a {
    position: relative;
    padding: 10px 0;
    color: #63746d;
    font-size: 13px;
    font-weight: 600;
    transition: color var(--transition);
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 3px;
    left: 0;
    width: 0;
    height: 2px;
    border-radius: 5px;
    background: var(--accent-dark);
    transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 19px;
    background: var(--primary);
    color: #fff;
    border: 1px solid var(--primary);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: background var(--transition),
                color var(--transition),
                transform var(--transition);
}

.nav-button span {
    color: var(--accent);
}

.nav-button:hover {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.nav-button:hover span {
    color: var(--primary);
}

/* ==========================================
   BUTTONS
========================================== */

.button {
    min-height: 51px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    transition: transform var(--transition),
                box-shadow var(--transition),
                background var(--transition),
                color var(--transition),
                border-color var(--transition);
}

.button span {
    font-size: 17px;
    transition: transform var(--transition);
}

.button:hover span {
    transform: translate(3px, -3px);
}

.button-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 7px 18px rgba(16, 42, 36, 0.12);
}

.button-primary span {
    color: var(--accent);
}

.button-primary:hover {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(66, 214, 164, 0.22);
}

.button-primary:hover span {
    color: var(--primary);
}

.button-outline {
    color: var(--primary);
    background: transparent;
    border-color: #ccd9d3;
}

.button-outline:hover {
    background: var(--surface);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* ==========================================
   HERO
========================================== */

.hero {
    padding: 100px 0 92px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 80% 35%, rgba(66, 214, 164, 0.12), transparent 36%),
        linear-gradient(180deg, #f8faf9 0%, #f2f7f4 100%);
}

.hero::before {
    content: "";
    position: absolute;
    top: 60px;
    left: -150px;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(66, 214, 164, 0.06);
    filter: blur(40px);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    gap: 70px;
}

.hero-content {
    animation: riseIn 0.8s ease both;
}

.eyebrow {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 13px;
    margin-bottom: 25px;
    border: 1px solid #dce9e3;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.7);
    color: var(--primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-dark);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(66, 214, 164, 0.14);
    animation: pulseDot 2s infinite;
}

.hero h1 {
    max-width: 650px;
    color: var(--primary);
    font-family: "Playfair Display", serif;
    font-size: clamp(45px, 5.2vw, 70px);
    font-weight: 600;
    letter-spacing: -2.5px;
    line-height: 1.13;
}

.hero h1 span,
.section-heading h2 span,
.contact-content h2 span {
    color: var(--accent-dark);
}

.hero-description {
    max-width: 520px;
    margin-top: 24px;
    color: #697b73;
    font-size: 15px;
    line-height: 1.95;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 32px;
}

.hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 34px;
    color: #77877f;
    font-size: 11px;
    font-weight: 600;
}

.meta-divider {
    width: 5px;
    height: 5px;
    background: var(--accent-dark);
    border-radius: 50%;
}

.hero-visual {
    position: relative;
    min-width: 0;
    padding: 32px 5px;
    animation: riseIn 0.9s 0.12s ease both;
}

.visual-glow {
    position: absolute;
    inset: 10% 0;
    background: rgba(66, 214, 164, 0.16);
    filter: blur(65px);
    border-radius: 50%;
}

.visual-card {
    position: relative;
    z-index: 1;
    max-width: 455px;
    margin-inline: auto;
    overflow: hidden;
    background: #102a24;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(16, 42, 36, 0.23);
    transform: perspective(1000px) rotateY(-3deg);
    transition: transform 0.5s ease;
}

.visual-card:hover {
    transform: perspective(1000px) rotateY(0);
}

.visual-topbar {
    min-height: 55px;
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 0 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.025);
    color: #8ca69a;
    font-size: 11px;
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dots span,
.preview-browser span {
    width: 8px;
    height: 8px;
    display: block;
    border-radius: 50%;
    background: #e28b85;
}

.window-dots span:nth-child(2),
.preview-browser span:nth-child(2) {
    background: #e9c36e;
}

.window-dots span:nth-child(3),
.preview-browser span:nth-child(3) {
    background: #65cda1;
}

.code-window {
    padding: 35px 30px 32px;
    color: #d8e7df;
    font-family: Consolas, Monaco, monospace;
    font-size: 13px;
    line-height: 2.8;
}

.code-window p {
    min-height: 25px;
}

.indent {
    padding-left: 24px;
}

.indent-2 {
    padding-left: 24px;
}

.indent-3 {
    padding-left: 48px;
}

.code-purple {
    color: #c7a5ff;
}

.code-yellow {
    color: #f3d58a;
}

.code-blue {
    color: #87c9ff;
}

.code-green {
    color: #77e0b0;
}

.visual-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
}

.visual-bottom > div:first-child {
    display: grid;
    gap: 5px;
}

.visual-label {
    color: #7b9b8d;
    font-size: 9px;
    letter-spacing: 1.5px;
}

.visual-bottom strong {
    color: #f1f8f4;
    font-size: 13px;
}

.laravel-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(66, 214, 164, 0.3);
    border-radius: 12px;
    color: var(--accent);
    font-size: 24px;
    font-weight: 800;
    background: rgba(66, 214, 164, 0.08);
}

.floating-card {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #e3ebe6;
    border-radius: 13px;
    box-shadow: 0 14px 35px rgba(16, 42, 36, 0.12);
    animation: floatCard 5s ease-in-out infinite;
}

.floating-top {
    top: 0;
    left: -23px;
}

.floating-bottom {
    right: -24px;
    bottom: 8px;
    animation-delay: -2.5s;
}

.floating-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #e9f8f0;
    color: #159d70;
    font-size: 20px;
}

.floating-card div {
    display: grid;
    gap: 2px;
}

.floating-card strong {
    color: var(--primary);
    font-size: 12px;
}

.floating-card small {
    color: var(--muted);
    font-size: 10px;
}

.visual-decoration {
    position: absolute;
    z-index: 0;
    color: var(--accent-dark);
    opacity: 0.7;
}

.decoration-one {
    top: 8px;
    right: 8px;
    font-size: 32px;
}

.decoration-two {
    left: 5px;
    bottom: 28px;
    font-size: 38px;
}

/* ==========================================
   TECHNOLOGY STRIP
========================================== */

.tech-strip {
    padding: 25px 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.tech-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.tech-strip-inner > span {
    color: #829189;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.tech-list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 13px;
}

.tech-list span {
    padding: 8px 13px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #64766e;
    font-size: 12px;
    font-weight: 700;
    transition: all var(--transition);
}

.tech-list span:hover {
    background: var(--surface-soft);
    border-color: var(--border);
    color: var(--primary);
    transform: translateY(-2px);
}

.tech-list .tech-highlight {
    background: #e7f8ef;
    border-color: #d0efdf;
    color: #17845f;
}

/* ==========================================
   COMMON SECTION STYLES
========================================== */

.section {
    padding: 100px 0;
}

.section-heading {
    margin-bottom: 45px;
}

.section-label {
    display: inline-block;
    margin-bottom: 17px;
    color: #198f68;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.section-heading h2,
.contact-content h2 {
    max-width: 700px;
    color: var(--primary);
    font-family: "Playfair Display", serif;
    font-size: clamp(34px, 4vw, 49px);
    font-weight: 600;
    letter-spacing: -1.3px;
    line-height: 1.24;
}

.section-heading > p {
    max-width: 590px;
    margin-top: 17px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

/* ==========================================
   ABOUT
========================================== */

.about-section {
    background: var(--surface);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 75px;
    align-items: start;
}

.about-intro {
    padding: 30px;
    background: #f5f9f6;
    border: 1px solid #e8efea;
    border-radius: var(--radius);
}

.about-intro .large-text {
    margin-bottom: 19px;
    color: var(--primary);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.8;
}

.about-intro > p:not(.large-text) {
    color: var(--muted);
    font-size: 13px;
    line-height: 2;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
}

.text-link span {
    color: var(--accent-dark);
    transition: transform var(--transition);
}

.text-link:hover span {
    transform: translate(4px, -4px);
}

.about-details {
    display: grid;
    gap: 0;
}

.detail-card {
    display: grid;
    grid-template-columns: 43px 1fr;
    gap: 20px;
    padding: 23px 0;
    border-bottom: 1px solid var(--border);
}

.detail-card:first-child {
    padding-top: 5px;
}

.detail-card:last-child {
    border-bottom: none;
}

.detail-number {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid #d7e9df;
    border-radius: 11px;
    background: #f0faf4;
    color: #178d64;
    font-size: 12px;
    font-weight: 800;
}

.detail-card h3 {
    margin-bottom: 5px;
    color: var(--primary);
    font-size: 15px;
}

.detail-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}

/* ==========================================
   SKILLS
========================================== */

.skills-section {
    background:
        radial-gradient(circle at 90% 5%, rgba(66, 214, 164, 0.09), transparent 25%),
        #f1f6f3;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.skill-card {
    position: relative;
    padding: 27px 25px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid #e3ece6;
    border-radius: 16px;
    transition: transform var(--transition),
                border-color var(--transition),
                box-shadow var(--transition);
}

.skill-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-dark);
    transition: width 0.4s ease;
}

.skill-card:hover {
    transform: translateY(-6px);
    border-color: #bfe8d2;
    box-shadow: var(--shadow);
}

.skill-card:hover::after {
    width: 100%;
}

.skill-icon {
    width: 47px;
    height: 47px;
    display: grid;
    place-items: center;
    margin-bottom: 21px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 800;
}

.html-icon {
    background: #fff0e7;
    color: #e76e36;
}

.css-icon {
    background: #eaf1ff;
    color: #3769ce;
}

.js-icon {
    background: #fff8db;
    color: #987300;
}

.php-icon {
    background: #eeebff;
    color: #6554b9;
}

.laravel-icon {
    background: #fff0ed;
    color: #df4a38;
}

.mysql-icon {
    background: #e8f6fb;
    color: #267c9c;
}

.skill-card h3 {
    margin-bottom: 9px;
    color: var(--primary);
    font-size: 17px;
}

.skill-card p {
    min-height: 49px;
    margin-bottom: 19px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
}

.skill-tag {
    display: inline-block;
    padding: 6px 10px;
    border: 1px solid #e1ebe4;
    border-radius: 7px;
    background: #f7faf8;
    color: #667970;
    font-size: 10px;
    font-weight: 700;
}

.featured-skill {
    border-color: #c0e9d4;
    background: linear-gradient(145deg, #fff 55%, #f0fbf5);
}

.featured-skill .skill-tag {
    background: #e6f8ee;
    border-color: #d1efdf;
    color: #16815c;
}

/* ==========================================
   PROJECTS
========================================== */

.projects-section {
    background: var(--surface);
}

.projects-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 42px;
}

.projects-heading .section-heading {
    margin-bottom: 0;
}

.projects-heading > .button {
    flex-shrink: 0;
    margin-bottom: 5px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.project-card {
    min-width: 0;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 17px;
    transition: transform var(--transition),
                box-shadow var(--transition),
                border-color var(--transition);
}

.project-card:hover {
    transform: translateY(-7px);
    border-color: #c9e7d6;
    box-shadow: var(--shadow-hover);
}

.project-preview {
    position: relative;
    height: 225px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--border);
}

.preview-converter {
    background: linear-gradient(145deg, #e4f6ee, #f3f8f5);
}

.preview-admin {
    background: linear-gradient(145deg, #e8eaf8, #f4f3fb);
}

.preview-laravel {
    background: linear-gradient(145deg, #f9e8e5, #fff4ed);
}

.preview-browser {
    height: 31px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 13px;
    background: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(16, 42, 36, 0.06);
}

.preview-browser span {
    width: 7px;
    height: 7px;
}

.preview-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.preview-symbol {
    width: 47px;
    height: 47px;
    display: grid;
    place-items: center;
    margin-bottom: 10px;
    border-radius: 14px;
    background: #d1f3e2;
    color: #13865e;
    font-size: 27px;
}

.preview-content strong {
    color: var(--primary);
    font-size: 15px;
}

.preview-content small {
    margin-top: 4px;
    color: #74877d;
    font-size: 10px;
}

.preview-button {
    margin-top: 13px;
    padding: 6px 13px;
    border-radius: 6px;
    background: var(--primary);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
}

.project-index {
    position: absolute;
    right: 14px;
    bottom: 12px;
    color: rgba(16, 42, 36, 0.22);
    font-size: 27px;
    font-weight: 800;
}

.admin-preview {
    flex: 1;
    display: flex;
    margin: 15px 15px 0;
    overflow: hidden;
    background: #fff;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 8px 22px rgba(31, 38, 90, 0.1);
}

.admin-sidebar {
    width: 42px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 17px;
    padding: 13px 0;
    background: #242846;
    color: #d5d8ed;
    font-size: 10px;
}

.admin-sidebar b {
    color: #fff;
    font-size: 15px;
}

.admin-main {
    flex: 1;
    padding: 14px 12px;
}

.admin-main > strong {
    color: #2d3048;
    font-size: 11px;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    margin: 13px 0;
}

.admin-stats div {
    height: 38px;
    border-radius: 5px;
    background: #eeeffa;
    border: 1px solid #e1e3f5;
}

.admin-table {
    display: grid;
    gap: 7px;
}

.admin-table span {
    height: 10px;
    border-radius: 3px;
    background: #f0f1f7;
}

.laravel-preview {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 17px;
    text-align: center;
}

.laravel-emblem {
    width: 51px;
    height: 51px;
    display: grid;
    place-items: center;
    margin-bottom: 10px;
    border: 1px solid #f1c7bf;
    border-radius: 15px;
    background: #fff;
    color: #d94d3e;
    font-size: 27px;
    font-weight: 800;
}

.laravel-preview strong {
    color: #3c2c2a;
    font-size: 13px;
}

.laravel-preview small {
    margin-top: 4px;
    color: #947872;
    font-size: 9px;
}

.laravel-lines {
    width: 65%;
    display: grid;
    gap: 5px;
    margin-top: 13px;
}

.laravel-lines span {
    height: 4px;
    border-radius: 4px;
    background: #efc7bf;
}

.laravel-lines span:nth-child(2) {
    width: 75%;
}

.laravel-lines span:nth-child(3) {
    width: 48%;
}

.project-info {
    padding: 25px 23px 24px;
}

.project-category {
    margin-bottom: 9px;
    color: #1b9369;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.project-info h3 {
    color: var(--primary);
    font-size: 18px;
    line-height: 1.5;
}

.project-info > p {
    min-height: 75px;
    margin-top: 10px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 17px;
}

.project-tags span {
    padding: 5px 8px;
    border: 1px solid #e5ece7;
    border-radius: 6px;
    background: #f7faf8;
    color: #687a71;
    font-size: 9px;
    font-weight: 700;
}

.project-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 21px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
}

.project-link span {
    color: #16976b;
    font-size: 17px;
    transition: transform var(--transition);
}

.project-link:hover span {
    transform: translate(3px, -3px);
}

/* ==========================================
   SERVICES
========================================== */

.services-section {
    background: #f1f6f3;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.service-card {
    position: relative;
    padding: 30px 27px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2ebe5;
    border-radius: 17px;
    transition: transform var(--transition),
                box-shadow var(--transition),
                border-color var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: #bfe6d0;
    box-shadow: var(--shadow);
}

.service-number {
    position: absolute;
    top: 20px;
    right: 22px;
    color: #dce8e1;
    font-size: 26px;
    font-weight: 800;
}

.service-icon {
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;
    margin-bottom: 25px;
    border: 1px solid #d6efdf;
    border-radius: 15px;
    background: #eff9f3;
    color: #178c63;
    font-size: 22px;
    font-weight: 800;
}

.service-card h3 {
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 17px;
}

.service-card p {
    min-height: 75px;
    margin-bottom: 23px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.95;
}

.service-card > a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
}

.service-card > a:hover {
    color: #168d64;
}

/* ==========================================
   CONTACT
========================================== */

.contact-section {
    padding: 100px 0;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 0% 100%, rgba(66, 214, 164, 0.11), transparent 35%),
        var(--primary);
}

.contact-section::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -140px;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(66, 214, 164, 0.12);
    border-radius: 50%;
    box-shadow:
        0 0 0 45px rgba(66, 214, 164, 0.025),
        0 0 0 90px rgba(66, 214, 164, 0.02);
    pointer-events: none;
}

.contact-grid {
    position: relative;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 80px;
}

.contact-content .section-label {
    color: var(--accent);
}

.contact-content h2 {
    color: #f6fbf8;
    font-size: clamp(36px, 4.2vw, 53px);
}

.contact-content h2 span {
    color: var(--accent);
}

.contact-content > p {
    max-width: 440px;
    margin-top: 21px;
    color: #afc4b9;
    font-size: 14px;
    line-height: 2;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 27px;
}

.contact-detail-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border: 1px solid rgba(66, 214, 164, 0.25);
    border-radius: 12px;
    background: rgba(66, 214, 164, 0.08);
    color: var(--accent);
    font-size: 20px;
}

.contact-detail > div {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.contact-detail small {
    color: #8fa99b;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.contact-detail strong {
    overflow-wrap: anywhere;
    color: #f0f7f2;
    font-size: 13px;
    font-weight: 600;
}

.contact-form-card {
    position: relative;
    padding: 35px;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.15);
}

.contact-form-card > h3 {
    color: var(--primary);
    font-family: "Playfair Display", serif;
    font-size: 28px;
    font-weight: 600;
}

.contact-form-card > p {
    margin-top: 5px;
    margin-bottom: 25px;
    color: var(--muted);
    font-size: 12px;
}

#contact-form {
    display: grid;
    gap: 17px;
}

.form-group {
    display: grid;
    gap: 7px;
}

.form-group label {
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
}

.form-group input,
.form-group textarea {
    width: 100%;
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid #dfe8e2;
    border-radius: 9px;
    outline: none;
    background: #f9fbfa;
    color: var(--primary);
    font-size: 12px;
    transition: border-color var(--transition),
                background var(--transition),
                box-shadow var(--transition);
}

.form-group input {
    min-height: 47px;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.8;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9aa9a1;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-dark);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(66, 214, 164, 0.12);
}

.form-group input:focus:invalid,
.form-group textarea:focus:invalid {
    border-color: #d88d8d;
}

.form-button {
    width: 100%;
    margin-top: 3px;
}

.form-button:disabled {
    cursor: wait;
    opacity: 0.7;
    transform: none;
}

.form-note {
    display: block;
    min-height: 18px;
    overflow-wrap: anywhere;
    color: #75877d;
    font-size: 11px;
    line-height: 1.7;
    text-align: center;
}

#form-status:not(:empty) {
    transition: color var(--transition);
}

/* ==========================================
   FOOTER
========================================== */

.footer {
    padding: 35px 0 0;
    background: #0b211c;
    color: #dce8e1;
}

.footer-main {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;
    padding-bottom: 30px;
}

.footer-logo {
    color: #fff;
}

.footer-main > p {
    color: #91a89c;
    font-size: 11px;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 19px;
}

.footer-links a,
.footer-bottom a {
    color: #a8bcb0;
    font-size: 11px;
    transition: color var(--transition);
}

.footer-links a:hover,
.footer-bottom a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 19px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-bottom span {
    color: #82988b;
    font-size: 10px;
}

/* ==========================================
   ACCESSIBILITY & MOTION
========================================== */

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--accent-dark);
    outline-offset: 4px;
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes pulseDot {
    0%, 100% {
        box-shadow: 0 0 0 4px rgba(66, 214, 164, 0.14);
    }

    50% {
        box-shadow: 0 0 0 7px rgba(66, 214, 164, 0.04);
    }
}

@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;
    }
}

/* ==========================================
   RESPONSIVE — TABLETS
========================================== */

@media (max-width: 1050px) {
    .nav-container {
        gap: 17px;
    }

    .nav-links {
        gap: 17px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .hero-grid {
        gap: 40px;
    }

    .floating-top {
        left: -8px;
    }

    .floating-bottom {
        right: -8px;
    }

    .about-grid {
        gap: 45px;
    }

    .contact-grid {
        gap: 45px;
    }

    .project-info {
        padding-inline: 18px;
    }

    .footer-main {
        grid-template-columns: auto 1fr;
    }

    .footer-links {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}

@media (max-width: 800px) {
    .container {
        width: min(100% - 36px, 650px);
    }

    .nav-container {
        min-height: auto;
        padding-top: 16px;
        padding-bottom: 12px;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .logo {
        font-size: 23px;
    }

    .nav-button {
        padding: 10px 14px;
        font-size: 12px;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        gap: 22px;
        overflow-x: auto;
        scrollbar-width: none;
        padding: 4px 0 2px;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-links a {
        flex-shrink: 0;
    }

    .hero {
        padding: 70px 0 65px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        max-width: 650px;
    }

    .hero h1 {
        max-width: 600px;
        font-size: clamp(43px, 8vw, 65px);
    }

    .hero-visual {
        width: 100%;
        max-width: 530px;
        margin: 0 auto;
    }

    .visual-card {
        transform: none;
    }

    .visual-card:hover {
        transform: none;
    }

    .tech-strip-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
    }

    .tech-list {
        justify-content: flex-start;
        gap: 5px;
    }

    .section {
        padding: 75px 0;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-intro {
        padding: 25px;
    }

    .skills-grid,
    .projects-grid,
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .projects-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .projects-heading > .button {
        margin-bottom: 0;
    }

    .contact-section {
        padding: 75px 0;
    }

    .contact-content {
        max-width: 600px;
    }

    .contact-form-card {
        width: 100%;
    }
}

/* ==========================================
   RESPONSIVE — MOBILE
========================================== */

@media (max-width: 540px) {
    .container {
        width: calc(100% - 32px);
    }

    .nav-container {
        gap: 10px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .nav-button {
        padding: 9px 11px;
        gap: 7px;
    }

    .hero {
        padding: 55px 0 52px;
    }

    .eyebrow {
        margin-bottom: 21px;
        font-size: 9px;
        letter-spacing: 1.2px;
    }

    .hero h1 {
        font-size: clamp(39px, 10vw, 51px);
        letter-spacing: -1.7px;
    }

    .hero-description {
        margin-top: 19px;
        font-size: 13px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-meta {
        align-items: flex-start;
        gap: 9px;
        font-size: 10px;
    }

    .hero-visual {
        padding: 25px 0;
    }

    .visual-card {
        border-radius: 15px;
    }

    .code-window {
        padding: 25px 17px;
        font-size: 11px;
    }

    .visual-topbar {
        padding-inline: 15px;
    }

    .visual-bottom {
        padding: 17px;
    }

    .visual-bottom strong {
        font-size: 11px;
    }

    .floating-card {
        gap: 8px;
        padding: 9px 10px;
    }

    .floating-top {
        left: -5px;
        top: 4px;
    }

    .floating-bottom {
        right: -5px;
        bottom: 0;
    }

    .floating-icon {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .floating-card strong {
        font-size: 10px;
    }

    .floating-card small {
        font-size: 9px;
    }

    .tech-list span {
        padding: 7px 9px;
        font-size: 10px;
    }

    .section {
        padding: 65px 0;
    }

    .section-heading {
        margin-bottom: 30px;
    }

    .section-heading h2,
    .contact-content h2 {
        font-size: 36px;
        letter-spacing: -0.8px;
    }

    .section-heading > p {
        font-size: 13px;
    }

    .about-intro {
        padding: 21px;
    }

    .about-intro .large-text {
        font-size: 17px;
    }

    .detail-card {
        grid-template-columns: 36px 1fr;
        gap: 14px;
        padding: 19px 0;
    }

    .detail-number {
        width: 35px;
        height: 35px;
    }

    .skills-grid,
    .projects-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .skill-card {
        padding: 23px;
    }

    .skill-card p {
        min-height: auto;
    }

    .project-preview {
        height: 225px;
    }

    .project-info {
        padding: 23px;
    }

    .project-info > p {
        min-height: auto;
    }

    .service-card {
        padding: 25px;
    }

    .service-card p {
        min-height: auto;
    }

    .contact-section {
        padding: 65px 0;
    }

    .contact-content h2 {
        font-size: 39px;
    }

    .contact-content > p {
        font-size: 13px;
    }

    .contact-form-card {
        padding: 23px 18px;
        border-radius: 15px;
    }

    .contact-form-card > h3 {
        font-size: 25px;
    }

    .form-group input {
        min-height: 46px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .footer-links {
        gap: 14px;
        grid-column: auto;
        justify-content: flex-start;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}

/* ==========================================
   EXTRA SMALL DEVICES
========================================== */

@media (max-width: 360px) {
    .container {
        width: calc(100% - 24px);
    }

    .logo {
        font-size: 21px;
    }

    .nav-button {
        padding: 8px 9px;
        font-size: 11px;
    }

    .nav-links {
        gap: 16px;
    }

    .hero h1 {
        font-size: 37px;
    }

    .floating-card {
        padding: 8px;
    }

    .floating-card small {
        display: none;
    }

    .section-heading h2,
    .contact-content h2 {
        font-size: 32px;
    }

    .contact-form-card {
        padding: 20px 14px;
    }
}
/* ==========================================
   RAYAN — DARK LUXURY OVERRIDE
   Paste at the VERY END of style.css
========================================== */

:root {
    --primary: #080d0c;
    --primary-light: #111b17;
    --accent: #d6b56d;
    --accent-dark: #b8964f;
    --background: #0a0e0d;
    --surface: #101715;
    --surface-soft: #151e19;
    --text: #f1eee5;
    --muted: #a5aaa2;
    --border: #29332c;
    --shadow: 0 22px 60px rgba(0, 0, 0, .34);
    --shadow-hover: 0 28px 75px rgba(0, 0, 0, .48);
}

html,
body {
    background: #0a0e0d;
    color: #f1eee5;
}

body {
    background-image:
        radial-gradient(ellipse at 15% 0%, rgba(35, 82, 60, .16), transparent 36%),
        radial-gradient(ellipse at 100% 50%, rgba(166, 126, 52, .055), transparent 32%);
}

/* NAVIGATION */

.navbar {
    background: rgba(8, 13, 12, .91);
    border-bottom: 1px solid rgba(214, 181, 109, .19);
}

.logo {
    color: #f5f0e4;
}

.logo-icon,
.logo-dot {
    color: #d6b56d;
}

.nav-links a {
    color: #a8b0a8;
}

.nav-links a:hover,
.nav-links a.active {
    color: #e0c681;
}

.nav-links a::after {
    background: #d6b56d;
}

.nav-button {
    background: #d6b56d;
    color: #10120e;
    border-color: #d6b56d;
}

.nav-button span {
    color: #10120e;
}

.nav-button:hover {
    background: #f0d99d;
    border-color: #f0d99d;
    color: #080d0c;
}

/* BUTTONS */

.button-primary {
    background: #d6b56d;
    border-color: #d6b56d;
    color: #10120e;
    box-shadow: 0 8px 25px rgba(214, 181, 109, .13);
}

.button-primary span {
    color: #10120e;
}

.button-primary:hover {
    background: #f0d99d;
    border-color: #f0d99d;
    color: #10120e;
    box-shadow: 0 12px 35px rgba(214, 181, 109, .2);
}

.button-outline {
    color: #e9dfc5;
    border-color: #66583a;
    background: rgba(255, 255, 255, .02);
}

.button-outline:hover {
    background: #17211b;
    border-color: #d6b56d;
    color: #f5e7bd;
}

/* HERO */

.hero {
    background:
        radial-gradient(ellipse at 76% 40%, rgba(36, 88, 61, .23), transparent 38%),
        radial-gradient(ellipse at 8% 95%, rgba(214, 181, 109, .06), transparent 35%),
        #0a0e0d;
}

.hero::before {
    background: rgba(40, 115, 76, .1);
}

.eyebrow {
    background: rgba(214, 181, 109, .055);
    border-color: rgba(214, 181, 109, .28);
    color: #e6d5aa;
}

.status-dot {
    background: #d6b56d;
    box-shadow: 0 0 0 4px rgba(214, 181, 109, .12);
}

.hero h1,
.section-heading h2,
.contact-content h2 {
    color: #f4f0e7;
}

.hero h1 span,
.section-heading h2 span,
.contact-content h2 span {
    color: #d6b56d;
}

.hero-description {
    color: #a7afa7;
}

.hero-meta {
    color: #a1aaa0;
}

.meta-divider {
    background: #d6b56d;
}

/* CODE CARD */

.visual-card {
    background: linear-gradient(145deg, #111b16, #080d0c);
    border-color: rgba(214, 181, 109, .24);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .52);
}

.visual-topbar {
    background: rgba(214, 181, 109, .035);
    border-bottom-color: rgba(214, 181, 109, .13);
}

.visual-bottom {
    background: rgba(214, 181, 109, .035);
    border-top-color: rgba(214, 181, 109, .13);
}

.visual-label {
    color: #b9a36f;
}

.visual-bottom strong {
    color: #f2ead8;
}

.laravel-mark {
    border-color: rgba(214, 181, 109, .4);
    background: rgba(214, 181, 109, .08);
    color: #e2c780;
}

.floating-card {
    background: #151c17;
    border-color: #3a3d2e;
    box-shadow: 0 16px 45px rgba(0, 0, 0, .4);
}

.floating-card strong {
    color: #f2eadb;
}

.floating-card small {
    color: #a3aaa0;
}

.floating-icon {
    background: rgba(214, 181, 109, .12);
    color: #e2c780;
}

.visual-decoration {
    color: #d6b56d;
}

/* TECHNOLOGY STRIP */

.tech-strip {
    background: #101715;
    border-color: #29332c;
}

.tech-strip-inner > span {
    color: #b3a57e;
}

.tech-list span {
    color: #c0c7bf;
}

.tech-list span:hover {
    background: #1b2720;
    border-color: #514a35;
    color: #f2e4be;
}

.tech-list .tech-highlight {
    background: rgba(214, 181, 109, .1);
    border-color: rgba(214, 181, 109, .3);
    color: #e2c780;
}

/* COMMON SECTIONS */

.section {
    background-color: #0a0e0d;
}

.section-label {
    color: #d6b56d;
}

.section-heading > p {
    color: #a3aca4;
}

/* ABOUT */

.about-section {
    background: #0c1210;
}

.about-intro {
    background: linear-gradient(145deg, #151e19, #101613);
    border-color: #303c32;
}

.about-intro .large-text {
    color: #f0eadc;
}

.about-intro > p:not(.large-text) {
    color: #a6afa6;
}

.text-link {
    color: #e6d9b9;
}

.text-link span {
    color: #d6b56d;
}

.detail-card {
    border-bottom-color: #2b352e;
}

.detail-number {
    background: rgba(214, 181, 109, .08);
    border-color: rgba(214, 181, 109, .25);
    color: #e0c47f;
}

.detail-card h3 {
    color: #f1ebdf;
}

.detail-card p {
    color: #a6afa6;
}

/* SKILLS */

.skills-section {
    background:
        radial-gradient(ellipse at 90% 0%, rgba(36, 88, 61, .13), transparent 35%),
        #0a0e0d;
}

.skill-card {
    background: linear-gradient(145deg, #141b17, #101512);
    border-color: #2a352d;
}

.skill-card:hover {
    border-color: rgba(214, 181, 109, .55);
}

.skill-card::after {
    background: #d6b56d;
}

.skill-card h3 {
    color: #f0eadc;
}

.skill-card p {
    color: #a6afa6;
}

.skill-tag {
    background: #1a241d;
    border-color: #344136;
    color: #c5c9be;
}

.featured-skill {
    background: linear-gradient(145deg, #18241c, #111713);
    border-color: rgba(214, 181, 109, .38);
}

.featured-skill .skill-tag {
    background: rgba(214, 181, 109, .1);
    border-color: rgba(214, 181, 109, .25);
    color: #e4ca8a;
}

/* ICONS */

.html-icon,
.css-icon,
.js-icon,
.php-icon,
.laravel-icon,
.mysql-icon {
    background: #202720;
    border: 1px solid #3a4437;
    color: #e0c37c;
}

/* PROJECTS */

.projects-section {
    background: #0c1210;
}

.project-card {
    background: #111815;
    border-color: #2a352e;
}

.project-card:hover {
    border-color: rgba(214, 181, 109, .5);
}

.preview-converter {
    background: linear-gradient(145deg, #182b21, #101a15);
}

.preview-admin {
    background: linear-gradient(145deg, #24251f, #151914);
}

.preview-laravel {
    background: linear-gradient(145deg, #30251a, #171711);
}

.preview-browser {
    background: rgba(8, 13, 12, .8);
    border-bottom-color: rgba(214, 181, 109, .13);
}

.preview-content strong,
.laravel-preview strong {
    color: #f1e7d0;
}

.preview-content small,
.laravel-preview small {
    color: #b4ad98;
}

.preview-symbol {
    background: rgba(214, 181, 109, .13);
    color: #e0c37c;
}

.preview-button {
    background: #d6b56d;
    color: #10120e;
}

.project-index {
    color: rgba(214, 181, 109, .45);
}

.project-category {
    color: #d6b56d;
}

.project-info h3 {
    color: #f0eadc;
}

.project-info > p {
    color: #a6afa6;
}

.project-tags span {
    background: #1a241d;
    border-color: #303c32;
    color: #c6c9be;
}

.project-link {
    border-top-color: #2b352e;
    color: #efe5cc;
}

.project-link span {
    color: #d6b56d;
}

.admin-preview {
    background: #e8e8ed;
}

.admin-sidebar {
    background: #20251f;
}

.admin-stats div {
    background: #ece9df;
    border-color: #d7d0bd;
}

.laravel-emblem {
    background: #1b211b;
    border-color: #9b7b42;
    color: #e0c37c;
}

.laravel-lines span {
    background: #9a8150;
}

/* SERVICES */

.services-section {
    background:
        radial-gradient(ellipse at 10% 100%, rgba(214, 181, 109, .05), transparent 32%),
        #101613;
}

.service-card {
    background: linear-gradient(145deg, #17201a, #111714);
    border-color: #303b32;
}

.service-card:hover {
    border-color: rgba(214, 181, 109, .48);
}

.service-number {
    color: rgba(214, 181, 109, .38);
}

.service-icon {
    background: rgba(214, 181, 109, .09);
    border-color: rgba(214, 181, 109, .26);
    color: #e0c37c;
}

.service-card h3 {
    color: #f0eadc;
}

.service-card p {
    color: #a6afa6;
}

.service-card > a {
    border-top-color: #303a32;
    color: #e6d8b6;
}

.service-card > a:hover {
    color: #d6b56d;
}

/* CONTACT */

.contact-section {
    background:
        radial-gradient(ellipse at 0% 100%, rgba(40, 103, 69, .2), transparent 38%),
        radial-gradient(ellipse at 100% 0%, rgba(214, 181, 109, .08), transparent 35%),
        #080d0c;
    border-top: 1px solid rgba(214, 181, 109, .17);
    border-bottom: 1px solid rgba(214, 181, 109, .17);
}

.contact-section::before {
    border-color: rgba(214, 181, 109, .1);
}

.contact-content .section-label {
    color: #d6b56d;
}

.contact-content h2 {
    color: #f4f0e7;
}

.contact-content > p {
    color: #adb7ad;
}

.contact-detail-icon {
    background: rgba(214, 181, 109, .08);
    border-color: rgba(214, 181, 109, .27);
    color: #e2c780;
}

.contact-detail small {
    color: #b9a77b;
}

.contact-detail strong {
    color: #f1eadb;
}

.contact-form-card {
    background: linear-gradient(145deg, #171f1a, #101512);
    border-color: rgba(214, 181, 109, .28);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .38);
}

.contact-form-card > h3 {
    color: #f1eadc;
}

.contact-form-card > p {
    color: #a6afa6;
}

.form-group label {
    color: #e6dbc0;
}

.form-group input,
.form-group textarea {
    background: #0c1210;
    border-color: #354037;
    color: #f4efe3;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #7f8b80;
}

.form-group input:focus,
.form-group textarea:focus {
    background: #101915;
    border-color: #d6b56d;
    box-shadow: 0 0 0 4px rgba(214, 181, 109, .1);
}

.form-group input:focus:invalid,
.form-group textarea:focus:invalid {
    border-color: #cf8989;
}

.form-note {
    color: #a8b1a7;
}

/* FOOTER */

.footer {
    background: #050908;
    border-top: 1px solid rgba(214, 181, 109, .18);
}

.footer-logo {
    color: #f1eadc;
}

.footer-main > p {
    color: #9da89e;
}

.footer-links a,
.footer-bottom a {
    color: #b0b6a8;
}

.footer-links a:hover,
.footer-bottom a:hover {
    color: #e0c37c;
}

.footer-bottom {
    border-top-color: #242e27;
}

.footer-bottom span {
    color: #89968b;
}

/* SELECTION, SCROLLBAR & FOCUS */

::selection {
    background: #d6b56d;
    color: #080d0c;
}

a:focus-visible,
button:focus-visible {
    outline-color: #d6b56d;
}

html {
    scrollbar-color: #77613b #080d0c;
}

@media (max-width: 800px) {
    .nav-links {
        border-top: 1px solid rgba(214, 181, 109, .12);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
/* ============================================
   RAYAN PORTFOLIO — MAROON LUXURY UPGRADE
   Paste at the END of style.css
============================================ */

:root {
    --primary: #210c12;
    --primary-light: #35121d;
    --accent: #d6b56d;
    --accent-dark: #b8964f;
    --background: #10090c;
    --surface: #1c1015;
    --surface-soft: #28151c;
    --text: #f5ece8;
    --muted: #b7a4a8;
    --border: #49252f;
}

/* MAIN BACKGROUND — BLACK + BURGUNDY GLOW */

html,
body {
    background-color: #10090c;
    color: #f5ece8;
}

body {
    background-image:
        radial-gradient(ellipse at 12% 5%, rgba(119, 29, 53, .32), transparent 32%),
        radial-gradient(ellipse at 90% 35%, rgba(92, 19, 40, .19), transparent 34%),
        radial-gradient(ellipse at 50% 100%, rgba(80, 22, 39, .13), transparent 40%);
}

/* NAVBAR */

.navbar {
    background: rgba(16, 9, 12, .92);
    border-bottom: 1px solid rgba(214, 181, 109, .23);
    backdrop-filter: blur(18px);
}

.logo,
.footer-logo {
    color: #fff1e9;
}

.logo-icon,
.logo-dot {
    color: #d6b56d;
}

.nav-links a {
    color: #c1afb3;
}

.nav-links a:hover,
.nav-links a.active {
    color: #e8c985;
}

.nav-links a::after {
    background: #d6b56d;
}

.nav-button {
    background: #76253c;
    color: #fff4ed;
    border-color: #9b4057;
    box-shadow: 0 5px 22px rgba(118, 37, 60, .25);
}

.nav-button span {
    color: #e6c783;
}

.nav-button:hover {
    background: #95334d;
    border-color: #d6b56d;
    color: #fff7f0;
}

/* BUTTONS */

.button-primary {
    background: linear-gradient(135deg, #8e3049, #641d34);
    border-color: #a54c60;
    color: #fff4ed;
    box-shadow: 0 8px 28px rgba(142, 48, 73, .22);
}

.button-primary span {
    color: #e9ca83;
}

.button-primary:hover {
    background: linear-gradient(135deg, #a43c57, #79243d);
    border-color: #d6b56d;
    color: #fff8f0;
    box-shadow: 0 12px 35px rgba(142, 48, 73, .3);
}

.button-outline {
    background: rgba(112, 34, 55, .12);
    border-color: #71404b;
    color: #f0dfe0;
}

.button-outline:hover {
    background: #391721;
    border-color: #d6b56d;
    color: #f5dca2;
}

/* HERO SECTION */

.hero {
    background:
        radial-gradient(ellipse at 80% 42%, rgba(113, 27, 52, .34), transparent 40%),
        radial-gradient(ellipse at 10% 95%, rgba(214, 181, 109, .075), transparent 30%),
        #10090c;
}

.hero h1,
.section-heading h2,
.contact-content h2 {
    color: #fff3eb;
}

.hero h1 span,
.section-heading h2 span,
.contact-content h2 span {
    background: linear-gradient(110deg, #f0d59a, #c17a83, #d6b56d);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description,
.hero-meta {
    color: #c0adb1;
}

.eyebrow {
    background: rgba(132, 41, 64, .17);
    border-color: rgba(214, 181, 109, .32);
    color: #ecd4ad;
}

.status-dot {
    background: #d6b56d;
    box-shadow: 0 0 0 4px rgba(214, 181, 109, .12);
}

.meta-divider {
    background: #d6b56d;
}

/* HERO CODE WINDOW */

.visual-glow {
    background: rgba(132, 31, 59, .28);
    filter: blur(50px);
}

.visual-card {
    background: linear-gradient(145deg, #29131c, #110b0e 78%);
    border-color: rgba(214, 181, 109, .3);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .55);
}

.visual-topbar,
.visual-bottom {
    background: rgba(130, 40, 62, .09);
    border-color: rgba(214, 181, 109, .16);
}

.visual-label {
    color: #d6b56d;
}

.visual-bottom strong {
    color: #f5e7d7;
}

.laravel-mark {
    background: rgba(132, 41, 64, .2);
    border-color: rgba(214, 181, 109, .42);
    color: #e9ca83;
}

.floating-card {
    background: linear-gradient(135deg, #301620, #1b0e13);
    border-color: rgba(214, 181, 109, .32);
    box-shadow: 0 16px 45px rgba(0, 0, 0, .4);
}

.floating-card strong {
    color: #fff0e6;
}

.floating-card small {
    color: #c0aab0;
}

.floating-icon {
    background: rgba(214, 181, 109, .13);
    color: #e6c783;
}

.visual-decoration {
    color: #d6b56d;
}

/* TECHNOLOGY STRIP */

.tech-strip {
    background: linear-gradient(90deg, #1a0d12, #28121a, #170b10);
    border-top: 1px solid #4a2730;
    border-bottom: 1px solid #4a2730;
}

.tech-strip-inner > span {
    color: #d6b56d;
}

.tech-list span {
    color: #d1bdc0;
    border-color: transparent;
}

.tech-list span:hover {
    background: #3a1923;
    border-color: #77404d;
    color: #f5dba3;
}

.tech-list .tech-highlight {
    background: rgba(132, 41, 64, .27);
    border-color: rgba(214, 181, 109, .3);
    color: #f0d293;
}

/* SECTION BACKGROUNDS */

.section {
    background-color: #10090c;
}

.section-label {
    color: #d6b56d;
}

.section-heading > p {
    color: #b9a6aa;
}

/* ABOUT SECTION */

.about-section {
    background:
        radial-gradient(ellipse at 100% 30%, rgba(111, 28, 52, .16), transparent 38%),
        #130b0f;
}

.about-intro {
    background: linear-gradient(145deg, #301620, #1b1015);
    border-color: #5a2c38;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .15);
}

.about-intro .large-text {
    color: #f7eae2;
}

.about-intro > p:not(.large-text) {
    color: #c1adb1;
}

.text-link {
    color: #f1dba9;
}

.text-link span {
    color: #d6b56d;
}

.detail-card {
    border-bottom-color: #48252f;
}

.detail-number {
    background: #32141f;
    border-color: #764050;
    color: #e4c681;
}

.detail-card h3 {
    color: #f7e9e2;
}

.detail-card p {
    color: #bda9ad;
}

/* SKILLS — BURGUNDY CARDS */

.skills-section {
    background:
        radial-gradient(ellipse at 80% 5%, rgba(116, 29, 54, .2), transparent 35%),
        #10090c;
}

.skill-card {
    background: linear-gradient(145deg, #28151c, #191015);
    border-color: #492630;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .16);
}

.skill-card:hover {
    background: linear-gradient(145deg, #381923, #211117);
    border-color: #b17b63;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .3);
}

.skill-card::after {
    background: linear-gradient(90deg, #8d3049, #d6b56d);
}

.skill-card h3 {
    color: #fff0e8;
}

.skill-card p {
    color: #bba8ac;
}

.skill-tag {
    background: #321821;
    border-color: #58303c;
    color: #ddc7c9;
}

.featured-skill {
    background: linear-gradient(145deg, #421b28, #25121a);
    border-color: rgba(214, 181, 109, .42);
}

.featured-skill .skill-tag {
    background: rgba(214, 181, 109, .1);
    border-color: rgba(214, 181, 109, .3);
    color: #f0d293;
}

.html-icon,
.css-icon,
.js-icon,
.php-icon,
.laravel-icon,
.mysql-icon {
    background: linear-gradient(145deg, #542131, #30151f);
    border: 1px solid #794252;
    color: #edcc87;
}

/* PROJECTS */

.projects-section {
    background:
        radial-gradient(ellipse at 0% 70%, rgba(108, 28, 51, .17), transparent 35%),
        #130b0f;
}

.project-card {
    background: linear-gradient(155deg, #211219, #171014);
    border-color: #46232e;
    box-shadow: 0 15px 38px rgba(0, 0, 0, .18);
}

.project-card:hover {
    border-color: rgba(214, 181, 109, .58);
    box-shadow: 0 25px 55px rgba(0, 0, 0, .36);
}

.preview-converter {
    background: radial-gradient(circle at 50% 50%, #6d263e, #27121a 78%);
}

.preview-admin {
    background: radial-gradient(circle at 50% 50%, #5a2835, #201117 78%);
}

.preview-laravel {
    background: radial-gradient(circle at 50% 50%, #70402d, #251319 78%);
}

.preview-browser {
    background: rgba(12, 7, 9, .7);
    border-bottom-color: rgba(214, 181, 109, .2);
}

.preview-content strong,
.laravel-preview strong {
    color: #fff0e7;
}

.preview-content small,
.laravel-preview small {
    color: #ddc4c4;
}

.preview-symbol {
    background: rgba(214, 181, 109, .14);
    color: #f0d293;
}

.preview-button {
    background: #d6b56d;
    color: #1a1010;
}

.project-index {
    color: rgba(240, 210, 147, .65);
}

.project-category {
    color: #d6b56d;
}

.project-info h3 {
    color: #f8eae2;
}

.project-info > p {
    color: #bba8ac;
}

.project-tags span {
    background: #301720;
    border-color: #54303b;
    color: #d9c5c8;
}

.project-link {
    border-top-color: #462630;
    color: #f1dfc6;
}

.project-link span {
    color: #d6b56d;
}

/* ADMIN PREVIEW */

.admin-preview {
    background: #e8e5e8;
}

.admin-sidebar {
    background: #361520;
}

.admin-stats div {
    background: #f4e9e8;
    border-color: #d8c1c5;
}

.laravel-emblem {
    background: #351722;
    border-color: #c49b5a;
    color: #edcc87;
}

.laravel-lines span {
    background: #b08b61;
}

/* SERVICES */

.services-section {
    background:
        radial-gradient(ellipse at 100% 100%, rgba(108, 28, 51, .18), transparent 35%),
        #1a0d12;
}

.service-card {
    background: linear-gradient(145deg, #2a151e, #1a1015);
    border-color: #4c2834;
}

.service-card:hover {
    background: linear-gradient(145deg, #381a26, #211117);
    border-color: rgba(214, 181, 109, .5);
}

.service-number {
    color: rgba(214, 181, 109, .55);
}

.service-icon {
    background: #391923;
    border-color: #74404c;
    color: #edcc87;
}

.service-card h3 {
    color: #f8e9e1;
}

.service-card p {
    color: #c0adb1;
}

.service-card > a {
    border-top-color: #4a2731;
    color: #ead5b4;
}

.service-card > a:hover {
    color: #f0d293;
}

/* CONTACT — SIGNATURE MAROON */

.contact-section {
    background:
        radial-gradient(ellipse at 5% 15%, rgba(128, 33, 59, .29), transparent 40%),
        radial-gradient(ellipse at 100% 100%, rgba(214, 181, 109, .09), transparent 32%),
        #0d080b;
    border-top: 1px solid rgba(214, 181, 109, .23);
    border-bottom: 1px solid rgba(214, 181, 109, .23);
}

.contact-section::before {
    border-color: rgba(214, 181, 109, .12);
}

.contact-content .section-label {
    color: #d6b56d;
}

.contact-content h2 {
    color: #fff0e8;
}

.contact-content > p {
    color: #c0adb1;
}

.contact-detail-icon {
    background: #351722;
    border-color: #71404b;
    color: #e9ca83;
}

.contact-detail small {
    color: #d6b56d;
}

.contact-detail strong {
    color: #f7e7df;
}

.contact-form-card {
    background: linear-gradient(145deg, #29151e, #180e13);
    border-color: rgba(214, 181, 109, .35);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .42);
}

.contact-form-card > h3 {
    color: #fff0e8;
}

.contact-form-card > p {
    color: #bba7ac;
}

.form-group label {
    color: #ead8d3;
}

.form-group input,
.form-group textarea {
    background: #130b0f;
    border-color: #58303b;
    color: #fff1e9;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #937d83;
}

.form-group input:focus,
.form-group textarea:focus {
    background: #1a0e14;
    border-color: #d6b56d;
    box-shadow: 0 0 0 4px rgba(214, 181, 109, .1);
}

.form-note {
    color: #bba8ac;
}

/* FOOTER */

.footer {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(105, 26, 49, .17), transparent 45%),
        #080608;
    border-top: 1px solid rgba(214, 181, 109, .22);
}

.footer-main > p {
    color: #ad9ba0;
}

.footer-links a,
.footer-bottom a {
    color: #c0adb1;
}

.footer-links a:hover,
.footer-bottom a:hover {
    color: #e9ca83;
}

.footer-bottom {
    border-top-color: #38202a;
}

.footer-bottom span {
    color: #97868c;
}

/* INTERACTION DETAILS */

::selection {
    background: #8d3049;
    color: #fff4ed;
}

a:focus-visible,
button:focus-visible {
    outline-color: #d6b56d;
}

html {
    scrollbar-color: #793248 #10090c;
}

@media (max-width: 800px) {
    .nav-links {
        background: #170c11;
        border-top: 1px solid rgba(214, 181, 109, .15);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

.profile-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

.profile-photo-frame {
    position: relative;
    width: min(100%, 390px);
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border: 1px solid #8c5362;
    border-radius: 190px 190px 24px 24px;
    background: #210c12;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
}

.profile-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
}

.profile-photo-label {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    background: rgba(25, 12, 17, 0.88);
    backdrop-filter: blur(12px);
    color: #fff;
}

.profile-photo-label strong,
.profile-photo-label small {
    display: block;
}

.profile-photo-label strong {
    font-size: 16px;
}

.profile-photo-label small {
    margin-top: 4px;
    color: #dfc5cc;
    font-size: 12px;
}

@media (max-width: 800px) {
    .profile-visual {
        width: 100%;
        margin: 20px auto 0;
    }

    .profile-photo-frame {
        width: min(82%, 340px);
    }
}

@media (max-width: 480px) {
    .profile-photo-frame {
        width: min(90%, 310px);
    }

    .profile-photo-label {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
}
