/* =========================================
   GLOBAL STYLES
========================================= */

:root {
    --bg-color: #0b1120;
    --secondary-bg: #111827;
    --card-bg: rgba(255, 255, 255, 0.05);
    --primary-color: #00d8ff;
    --secondary-color: #7c3aed;
    --text-color: #ffffff;
    --text-light: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.08);
    --transition: 0.4s ease;
    --navbar-bg: rgba(11, 17, 32, 0.7);
    --navbar-scroll-bg: rgba(11, 17, 32, 0.92);
    --navbar-bg-filled: rgb(11, 17, 32);
    --grid-color: rgba(255, 255, 255, 0.03);

    /* =========================================
    UI SYSTEM VARIABLES
    ========================================= */

    /* GLASS BACKGROUND */

    --glass-bg: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.06),
        rgba(255, 255, 255, 0.02)
    );

    /* CARD BORDER */

    --card-border: 1px solid
        color-mix(in srgb, var(--primary-color) 18%, transparent);

    /* CARD SHADOW */

    --card-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.03),
        0 20px 40px rgba(0, 0, 0, 0.3);

    /* CARD HOVER SHADOW */

    --card-hover-shadow:
        0 20px 45px rgba(0, 0, 0, 0.4),
        0 0 35px color-mix(in srgb, var(--primary-color) 25%, transparent);

    /* CARD GLOW */

    --card-glow: color-mix(in srgb, var(--primary-color) 18%, transparent);
}

/* =========================================
   LIGHT MODE VARIABLES
========================================= */

body.light-mode {
    --bg-color: #f8fafc;
    --secondary-bg: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.75);
    --light-shadow: 0 10px 35px rgba(15, 23, 42, 0.26);
    --text-color: #0f172a;
    --text-light: #475569;
    --border-color: rgba(15, 23, 42, 0.08);
    --navbar-bg: rgba(255, 255, 255, 0.75);
    --navbar-scroll-bg: rgba(255, 255, 255, 0.95);
    --navbar-bg-filled: rgb(255, 255, 255);
    --grid-color: rgba(15, 23, 42, 0.035);

    /* LIGHT MODE CARD SHADOW */

    --card-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.4),
        0 20px 45px rgba(15, 23, 42, 0.08);

    /* LIGHT MODE HOVER */

    --card-hover-shadow:
        0 20px 45px rgba(15, 23, 42, 0.12),
        0 0 35px color-mix(in srgb, var(--primary-color) 28%, transparent);
}

/* =========================================
   THEME TRANSITIONS
========================================= */

body,
.main-navbar,
.glass-card,
.about-card,
.skill-card,
.project-card,
.contact-info,
.contact-form-box,
.main-footer {
    transition:
        background 0.4s ease,
        color 0.4s ease,
        border-color 0.4s ease;
}

body.light-mode .main-footer {
    background: rgba(255, 255, 255, 0.45);

    backdrop-filter: blur(10px);
}

body.light-mode .form-group input,
body.light-mode .form-group textarea {
    background: rgba(255, 255, 255, 1);
}

.contact-item h4 {
    overflow-wrap: anywhere;
}

section[id] {
    scroll-margin-top: 30px;
}
/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

/* =========================================
   TYPOGRAPHY
========================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
}

section {
    padding: 80px 0;
}

/* =========================================
   PRELOADER
========================================= */

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #0b1120;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    transition: 0.6s ease;
}

/* =========================================
   LOADER
========================================= */

.loader {
    width: 70px;
    height: 70px;
    border: 4px solid rgba(255, 255, 255, 0.08);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: loaderRotate 1s linear infinite;
    box-shadow: 0 10px 30px
        color-mix(in srgb, var(--primary-color) 35%, transparent);
}

/* =========================================
   THEME SETTINGS WRAPPER
========================================= */

.theme-settings {
    position: fixed;
    top: 90px;
    right: 30;
    /* transform: translateY(-50%); */
    z-index: 99999;
}

/* =========================================
   SETTINGS BUTTON
========================================= */

.settings-toggle {
    width: 55px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 18px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: 0.4s ease;
}

.settings-toggle:hover {
    transform: rotate(90deg);
}

.settings-toggle i {
    font-size: 20px;

    color: var(--primary-color);
}

/* =========================================
   THEME PANEL
========================================= */

.theme-panel {
    position: fixed;
    top: 150px;
    right: 30px;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 15px;
    padding: 18px 12px;
    border-radius: 20px;
    background: var(--glass-bg);
    border: var(--card-border);
    backdrop-filter: blur(12px);
    box-shadow: var(--card-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(0.95);
    transition: 0.35s ease;
    z-index: 99999;
}

/* ACTIVE PANEL */

.theme-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.settings-toggle.active i {
    animation: spinGear 2s linear infinite;
}

@keyframes spinGear {
    100% {
        transform: rotate(360deg);
    }
}

/* =========================================
   COLOR BUTTON
========================================= */

.theme-color {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s ease;
    border: 2px solid transparent;
}

.theme-color:hover {
    transform: scale(1.15);
}

/* ACTIVE */

.theme-color.active {
    border-color: var(--text-color);
    transform: scale(1.15);
}

/* COLORS */

.cyan {
    background: #00d8ff;
}

/* .purple {
    background: #7c3aed;
} */

/* .green {
    background: #22c55e;
}

.red {
    background: #ef4444;
}

.orange {
    background: #f97316;
}

.pink {
    background: #ec4899;
} */

/* .yellow {
    background: #ffde23;
} */

/* NEW PREMIUM COLORS */

.blue {
    background: #3b82f6;
}

.teal {
    background: #14b8a6;
}

.indigo {
    background: #6366f1;
}

.gold {
    background: #f59e0b;
}

.rose {
    background: #f43f5e;
}

.lime {
    background: #84cc16;
}

.sky {
    background: #0ea5e9;
}

.violet {
    background: #8b5cf6;
}

/* =========================================
   THEME MODE BUTTON
========================================= */

.theme-mode {
    width: 38px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: 0.3s ease;
}

.theme-mode:hover {
    transform: scale(1.1);
}

.theme-mode i {
    color: var(--text-color);
    font-size: 16px;
}

/* =========================================
   ROTATE ANIMATION
========================================= */

@keyframes loaderRotate {
    100% {
        transform: rotate(360deg);
    }
}

/* =========================================
   HIDE PRELOADER
========================================= */

.preloader.hide {
    opacity: 0;
    visibility: hidden;
}

/* =========================================
   CONTAINER
========================================= */

.custom-container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
}

/* =========================================
   GRID BACKGROUND
========================================= */

.grid-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image:
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
}

/* =========================================
   NAVBAR
========================================= */

.main-navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    padding: 20px 0;
    background: var(--navbar-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: 0.4s ease;
}

/* NAVBAR SCROLL EFFECT */

.main-navbar.scrolled {
    padding: 12px 0;
    background: var(--navbar-scroll-bg);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.navbar-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-color);
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary-color);
}

/* =========================================
   NAV LINKS
========================================= */

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    position: relative;
    font-size: 15px;
    letter-spacing: 0.5px;
    color: var(--text-light);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: -6px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* ACTIVE NAV LINK */

.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    width: 100%;
}

/* =========================================
   THEME TOGGLE
========================================= */

.navbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-toggle {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: 0.4s ease;
}

.theme-toggle:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
}

.theme-toggle i {
    font-size: 18px;
    color: var(--text-color);
}

/* =========================================
   MOBILE MENU
========================================= */

.menu-toggle {
    width: 45px;
    height: 45px;
    display: none;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.menu-toggle i {
    font-size: 18px;
    color: var(--text-color);
}

/* =========================================
   HERO SECTION
========================================= */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero-content {
    max-width: 700px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.hero-content h1 {
    font-size: 76px;
    line-height: 1;
    margin-bottom: 25px;
    font-weight: 800;
    letter-spacing: -2px;
    position: relative;
}

.hero-content h1::before {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    background: color-mix(in srgb, var(--primary-color) 18%, transparent);
    filter: blur(100px);
    z-index: -1;
    top: -50px;
    left: -50px;
}

.hero-content h1 span {
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--secondary-color)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 600px;
    margin-bottom: 35px;
}

.typing-text {
    font-size: 28px;

    font-weight: 600;

    margin-bottom: 25px;

    color: var(--text-light);
}

#typed {
    color: var(--primary-color);

    font-weight: 700;
}

/* =========================================
   HERO BUTTONS
========================================= */

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.primary-btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 12px;
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--secondary-color)
    );
    color: #fff;
    font-weight: 600;
    transition: var(--transition);
}

.primary-btn:hover {
    transform: translateY(-5px);
    color: #fff;
    box-shadow: 0 10px 30px
        color-mix(in srgb, var(--primary-color) 35%, transparent);
}

.secondary-btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    transition: var(--transition);
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
}

/* =========================================
   HERO SOCIAL
========================================= */

.hero-social {
    display: flex;
    gap: 20px;
}

.hero-social a {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 14px;
    background: color-mix(in srgb, var(--primary-color) 20%, var(--card-bg));
    color: var(--text-color);
    transition: var(--transition);
}

.hero-social a:hover {
    transform: translateY(-5px) scale(1.08);
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--secondary-color)
    );
    box-shadow: 0 10px 30px
        color-mix(in srgb, var(--primary-color) 35%, transparent);
}

/* =========================================
   GLASS CARD
========================================= */

.glass-card {
    background: var(--glass-bg);
    border: var(--card-border);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: var(--card-shadow);
}

/* =========================================
   HERO BOX
========================================= */

.hero-box {
    padding: 40px;
    overflow: hidden;
    position: relative;
    background: var(--glass-bg);
    box-shadow: var(--card-shadow);
}

/* =========================================
   CODE HEADER
========================================= */

.code-header {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.code-header span {
    width: 14px;
    height: 14px;
    border-radius: 50%;
}

.code-header span:nth-child(1) {
    background: #ff5f56;
}

.code-header span:nth-child(2) {
    background: #ffbd2e;
}

.code-header span:nth-child(3) {
    background: #27c93f;
}

/* =========================================
   CODE BLOCK
========================================= */

.hero-box pre {
    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: break-word;
    margin: 0;
    text-align: left;
}

.hero-box code {
    color: var(--primary-color);
    text-shadow: 0 0 12px
        color-mix(in srgb, var(--primary-color) 35%, transparent);
    font-size: 15px;
    line-height: 2;
    font-family: monospace;
}
.hero-image {
    animation: floatImage 4s ease-in-out infinite;
}

@keyframes floatImage {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.primary-btn,
.secondary-btn {
    min-width: 170px;
    text-align: center;
}

/* =========================================
   BLUR EFFECTS
========================================= */

.blur-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
}

.blur-1 {
    width: 300px;
    height: 300px;
    background: #00d9ff3b;
    top: 10%;
    left: 10%;
}

.blur-2 {
    width: 300px;
    height: 300px;
    background: #7c3aed42;
    bottom: 10%;
    right: 10%;
}

/* =========================================
   ABOUT SECTION
========================================= */

.about-section {
    position: relative;
    overflow: hidden;
}
.about-section .row {
    align-items: center;
}

/* =========================================
   SECTION TAG
========================================= */

.section-tag {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 30px;
    background: color-mix(in srgb, var(--primary-color) 18%, transparent);
    border: var(--card-border);
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

/* =========================================
   ABOUT CONTENT
========================================= */

.about-content {
    max-width: 580px;
}

.about-content h2 {
    font-size: 68px;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 30px;
}

.about-content p {
    font-size: 18px;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 540px;
}

/* =========================================
   ABOUT BUTTONS
========================================= */

.about-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* =========================================
   ABOUT CARDS
========================================= */

.about-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    align-items: start;
    padding-left: 30px;
}

/* =========================================
   CARD DESIGN
========================================= */

.about-card {
    position: relative;
    min-height: 320px;
    padding: 40px 35px;
    border-radius: 24px;
    overflow: hidden;
    transition: 0.4s ease;
    background: var(--glass-bg);
    border: var(--card-border);
    backdrop-filter: blur(14px);
    box-shadow: var(--card-shadow);
}

/* =========================================
   STAGGER EFFECT
========================================= */

.about-card:nth-child(2) {
    margin-top: 60px;
}
/* .about-card:nth-child(3) {
    margin-top: -90px;
} */

.about-card:nth-child(4) {
    margin-top: -60px;
}

/* =========================================
   HOVER EFFECT
========================================= */

.about-card:hover {
    transform: translateY(-10px) scale(1.02);
    border: 1px solid color-mix(in srgb, var(--primary-color) 18%, transparent);
    box-shadow: var(--card-hover-shadow);
}

/* =========================================
   GLOW EFFECT
========================================= */

.about-card::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--primary-color) 18%, transparent);
    top: -50px;
    right: -50px;
    filter: blur(50px);
}

/* =========================================
   NUMBER
========================================= */

.about-card h3 {
    font-size: 58px;
    margin-bottom: 10px;
    line-height: 1;
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--secondary-color)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================================
   TITLE
========================================= */

.about-card h4 {
    font-size: 24px;
    margin-bottom: 15px;
    line-height: 1.3;
}

/* =========================================
   TEXT
========================================= */

.about-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 15px;
}

.about-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 15px;
}

/* =========================================
   FLOATING ANIMATION
========================================= */
/* 
.about-card:nth-child(1) {
    animation: floatingCard 4s ease-in-out infinite;
}

.about-card:nth-child(2) {
    animation: floatingCard 5s ease-in-out infinite;
}

.about-card:nth-child(3) {
    animation: floatingCard 6s ease-in-out infinite;
}

.about-card:nth-child(4) {
    animation: floatingCard 7s ease-in-out infinite;
} */

/* @keyframes floatingCard {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0px);
    }
} */

.card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--glass-bg), var(--glass-bg));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

/* =========================================
   SKILLS SECTION
========================================= */

.skills-section {
    position: relative;
}

/* =========================================
   SECTION HEADING
========================================= */

.section-heading {
    max-width: 750px;
    margin: auto auto 70px;
}

.section-heading h2 {
    font-size: clamp(36px, 5vw, 64px);
    margin: 25px 0 20px;
    line-height: 1.1;
    letter-spacing: -2px;
}

.section-heading p {
    color: var(--text-light);
    font-size: 18px;
    line-height: 1.8;
}

/* =========================================
   SKILLS GRID
========================================= */

.skills-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* =========================================
   SKILL CARD
========================================= */

.skill-card {
    padding: 35px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    background: var(--glass-bg);
    border: var(--card-border);
    box-shadow: var(--card-shadow);
}

.skill-card:hover {
    transform: translateY(-10px);
    border: var(--card-border);
    box-shadow: var(--card-hover-shadow);
}

/* =========================================
   TOP AREA
========================================= */

.skill-top {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 35px;
}

/* =========================================
   ICON
========================================= */

.skill-icon {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(
        135deg,
        rgba(0, 216, 255, 0.15),
        rgba(124, 58, 237, 0.15)
    );
}

.skill-icon i {
    font-size: 26px;
    color: var(--primary-color);
}

/* =========================================
   TITLE
========================================= */

.skill-top h3 {
    font-size: 28px;
}

/* =========================================
   SKILL ITEM
========================================= */

.skill-item {
    margin-bottom: 28px;
}

/* =========================================
   INFO
========================================= */

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 500;
}

/* =========================================
   BAR
========================================= */

.skill-bar {
    width: 100%;
    height: 10px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

/* =========================================
   PROGRESS
========================================= */

.skill-progress {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--secondary-color)
    );
    position: relative;
}

/* =========================================
   PROJECTS SECTION
========================================= */

.projects-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* =========================================
   PROJECT CARD
========================================= */

.project-card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    overflow: hidden;
    border-radius: 28px;
    position: relative;
    transition: var(--transition);
    background: var(--glass-bg);
    border: var(--card-border);
    box-shadow: var(--card-shadow);
}

.project-card:hover {
    transform: translateY(-10px);
    border: var(--card-border);
    box-shadow: var(--card-hover-shadow);
}

/* =========================================
   IMAGE
========================================= */

.project-image {
    position: relative;
    overflow: hidden;
    min-height: 420px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.06);
}

/* =========================================
   OVERLAY
========================================= */

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

/* =========================================
   CONTENT
========================================= */

.project-content {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* =========================================
   CATEGORY
========================================= */

.project-category {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

/* =========================================
   TITLE
========================================= */

.project-content h3 {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 22px;
}

/* =========================================
   DESCRIPTION
========================================= */

.project-content p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 30px;
    font-size: 17px;
}

/* =========================================
   TECH STACK
========================================= */

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 35px;
}

.project-tech span {
    padding: 10px 18px;
    border-radius: 30px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-light);
}

/* =========================================
   BUTTONS
========================================= */

.project-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* =========================================
   CONTACT SECTION
========================================= */

.contact-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: start;
}

/* =========================================
   CONTACT INFO
========================================= */

.contact-info {
    padding: 45px;
    border-radius: 28px;
    background: var(--glass-bg);
    border: var(--card-border);
    box-shadow: var(--card-shadow);
}

.contact-info h3 {
    font-size: 38px;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 40px;
    font-size: 17px;
}

/* =========================================
   CONTACT ITEM
========================================= */

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
}

/* =========================================
   ICON
========================================= */

.contact-icon {
    width: 65px;
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 18px;
    background: linear-gradient(
        135deg,
        rgba(0, 216, 255, 0.15),
        rgba(124, 58, 237, 0.15)
    );
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

/* =========================================
   TEXT
========================================= */

.contact-item span {
    display: block;
    color: var(--text-light);
    margin-bottom: 5px;
    font-size: 14px;
}

.contact-item h4 {
    font-size: 20px;
}

/* =========================================
   SOCIAL
========================================= */

.contact-social {
    display: flex;
    gap: 18px;
    margin-top: 40px;
}

.contact-social a {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 14px;
    background: color-mix(in srgb, var(--primary-color) 20%, var(--card-bg));
    color: var(--text-color);
    transition: var(--transition);
}

.contact-social a:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--secondary-color)
    );
}

/* =========================================
   CONTACT FORM
========================================= */

.contact-form-box {
    padding: 45px;
    border-radius: 28px;
    background: var(--glass-bg);
    border: var(--card-border);
    box-shadow: var(--card-shadow);
}

/* =========================================
   FORM GROUP
========================================= */

.form-group {
    margin-bottom: 25px;
}

/* =========================================
   INPUTS
========================================= */

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 22px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--card-bg);
    color: var(--text-color);
    outline: none;
    font-size: 16px;
    transition: var(--transition);
}

/* =========================================
   PLACEHOLDER
========================================= */

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

/* =========================================
   FOCUS
========================================= */

.form-group input:focus,
.form-group textarea:focus {
    border-color: color-mix(in srgb, var(--primary-color) 35%, transparent);

    box-shadow: 0 0 20px
        color-mix(in srgb, var(--primary-color) 18%, transparent);

    background: color-mix(in srgb, var(--primary-color) 3%, var(--card-bg));
    transform: translateY(-2px);
}

/* =========================================
   TEXTAREA
========================================= */

.form-group textarea {
    resize: none;
}

/* =========================================
   BUTTON
========================================= */

.submit-btn {
    border: none;
    cursor: pointer;
}

/* =========================================
   FOOTER
========================================= */

.main-footer {
    position: relative;
    padding-top: 100px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* =========================================
   FOOTER TOP
========================================= */

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
}

/* =========================================
   LOGO
========================================= */

.footer-logo {
    font-size: 38px;
    font-weight: 700;
    color: var(--text-color);
    display: inline-block;
    margin-bottom: 25px;
}

.footer-logo span {
    color: var(--primary-color);
}

/* =========================================
   ABOUT
========================================= */

.footer-about p {
    color: var(--text-light);
    line-height: 1.9;
    max-width: 420px;
    margin-bottom: 30px;
    font-size: 16px;
}

/* =========================================
   SOCIAL
========================================= */

.footer-social {
    display: flex;
    gap: 18px;
}

.footer-social a {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 14px;
    background: color-mix(in srgb, var(--primary-color) 20%, var(--card-bg));
    color: var(--text-color);
    transition: var(--transition);
}

.footer-social a:hover {
    transform: translateY(-5px);
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--secondary-color)
    );

    box-shadow: 0 10px 30px
        color-mix(in srgb, var(--primary-color) 35%, transparent);
}

/* =========================================
   LINKS
========================================= */

.footer-links h3,
.footer-contact h3 {
    font-size: 24px;
    margin-bottom: 28px;
}

/* FOOTER MENU */

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* FOOTER LINKS */

.footer-menu li a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-menu li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* =========================================
   CONTACT
========================================= */

.footer-contact p {
    color: var(--text-light);
    margin-bottom: 18px;
    line-height: 1.8;
}

/* =========================================
   FOOTER BOTTOM
========================================= */

.footer-bottom {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--text-light);
    margin: 0;
}

/* =========================================
   BACK TO TOP
========================================= */

.back-top {
    width: 55px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 18px;
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--secondary-color)
    );
    color: #fff;
    transition: var(--transition);
}

.back-top:hover {
    transform: translateY(-6px) scale(1.05);
    color: #fff;
    box-shadow: 0 10px 30px
        color-mix(in srgb, var(--primary-color) 35%, transparent);
}

/* =========================================
   TABLET RESPONSIVE
========================================= */

@media (max-width: 992px) {
    /* CONTAINER */

    .custom-container {
        width: 92%;
    }

    /* SECTION SPACING */

    section {
        padding: 90px 0;
    }

    /* HERO */

    .hero-section {
        padding: 150px 0 100px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 58px;
    }

    .typing-text {
        font-size: 24px;
    }

    .hero-content p {
        margin: auto auto 35px;
    }

    .hero-buttons,
    .hero-social {
        justify-content: center;
    }

    .hero-image {
        margin-top: 60px;
    }

    /* ABOUT */

    .about-content {
        text-align: center;
        max-width: 100%;
        margin-bottom: 60px;
    }

    .about-content h2 {
        font-size: 48px;
    }

    .about-content p {
        margin: auto auto 35px;
    }

    .about-buttons {
        justify-content: center;
    }

    .about-cards {
        padding-left: 0;
    }

    /* SKILLS */

    .skills-wrapper {
        grid-template-columns: 1fr;
    }

    /* PROJECTS */

    .project-card {
        grid-template-columns: 1fr;
    }

    .project-content {
        padding: 40px;
    }

    /* CONTACT */

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    /* FOOTER */

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 768px) {
    /* SECTION SPACING */

    section {
        padding: 40px 0;
    }

    /* NAVBAR */

    .navbar-wrapper {
        gap: 12px;
    }

    .navbar-right {
        gap: 10px;
    }

    .main-navbar {
        padding: 16px 0;
    }

    .logo {
        font-size: 28px;
    }

    .menu-toggle {
        display: flex;
    }

    /* MOBILE MENU */

    .nav-links {
        position: absolute;
        top: calc(100% + 14px);
        right: 0;
        left: auto;
        width: 260px;
        display: none;
        flex-direction: column;
        gap: 18px;
        padding: 24px;
        border-radius: 24px;
        background: var(--navbar-bg-filled);
        border: 1px solid var(--border-color);
        backdrop-filter: blur(18px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
        z-index: 999;
    }
    .nav-links a {
        font-size: 16px;
    }

    .nav-links.active {
        display: flex;
        animation: mobileMenu 0.35s ease;
    }

    @keyframes mobileMenuFade {
        from {
            opacity: 0;
            transform: translateY(-10px) scale(0.96);
        }

        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    /* HERO */

    .hero-section {
        min-height: auto;
        padding: 140px 0 70px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content h1 {
        font-size: clamp(38px, 9vw, 76px);
        line-height: 1.05;
        letter-spacing: -1px;
    }

    .typing-text {
        font-size: 22px;
    }

    .hero-content p {
        font-size: 16px;
        line-height: 1.8;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        max-width: 240px;
    }

    .hero-social {
        justify-content: center;
    }

    .hero-box {
        padding: 20px;
        border-radius: 22px;
    }

    .hero-box code {
        font-size: 12px;
        line-height: 1.7;
    }

    /* SECTION HEADINGS */

    .section-heading h2,
    .about-content h2 {
        font-size: 34px;
        line-height: 1.2;
    }

    .section-heading p,
    .about-content p {
        font-size: 16px;
    }

    /* ABOUT */

    .about-cards {
        grid-template-columns: 1fr;
    }

    .about-card {
        min-height: auto;
        padding: 30px;
    }

    .about-card:nth-child(2),
    .about-card:nth-child(4) {
        margin-top: 0;
    }

    /* SKILLS */

    .skill-card {
        padding: 28px;
    }

    .skill-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .skill-top h3 {
        font-size: 24px;
    }

    /* PROJECTS */

    .project-image {
        min-height: 240px;
    }

    .project-content {
        padding: 28px;
    }

    .project-content h3 {
        font-size: 28px;
    }

    .project-content p {
        font-size: 16px;
    }

    .project-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* CONTACT */

    .contact-wrapper {
        gap: 24px;
    }

    .contact-info,
    .contact-form-box {
        padding: 22px;
        border-radius: 24px;
    }

    .contact-info h3 {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .contact-info p {
        font-size: 15px;
        line-height: 1.9;
        margin-bottom: 30px;
    }

    /* CONTACT ITEM */

    .contact-item {
        gap: 16px;
        margin-bottom: 24px;
        align-items: center;
    }

    /* ICON */

    .contact-icon {
        width: 56px;
        height: 56px;
        border-radius: 16px;
        flex-shrink: 0;
    }

    .contact-icon i {
        font-size: 20px;
    }

    /* TEXT */

    .contact-item span {
        font-size: 13px;
        margin-bottom: 4px;
    }

    .contact-item h4 {
        font-size: 18px;
        line-height: 1.5;
        word-break: break-word;
    }

    .form-group input,
    .form-group textarea {
        padding: 16px 18px;
        font-size: 15px;
    }

    /* SOCIAL */

    .contact-social {
        gap: 14px;
        margin-top: 30px;
    }

    .contact-social a {
        width: 46px;
        height: 46px;
    }

    /* FOOTER */

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    /* THEME PANEL */

    .theme-panel {
        right: 20px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 40px 0;
    }
    .navbar-wrapper {
        position: relative;
        gap: 10px;
    }

    .logo {
        font-size: 24px;
        flex: 1;
    }

    .navbar-right {
        gap: 8px;
        flex-shrink: 0;
    }

    .theme-toggle,
    .menu-toggle {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .menu-toggle {
        margin-left: 4px;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 14px);
        right: 0;
        left: auto;
        width: 240px;
        display: none;
        flex-direction: column;
        gap: 18px;
        padding: 22px;
        border-radius: 22px;
        background: var(--navbar-bg-filled);
        border: 1px solid var(--border-color);
        backdrop-filter: blur(18px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
        z-index: 999;
    }

    .nav-links a {
        display: inline-block;
        width: 100%;
        padding: 6px 0;
    }

    .custom-container {
        width: 90%;
    }

    .hero-content h4 {
        font-size: 18px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .typing-text {
        font-size: 20px;
    }

    .hero-content p {
        font-size: 15px;
        line-height: 1.9;
    }

    .hero-buttons {
        gap: 16px;
    }

    .hero-social {
        gap: 14px;
    }

    .hero-social a {
        width: 46px;
        height: 46px;
    }

    .hero-box {
        padding: 18px;
    }

    .hero-box code {
        font-size: 11px;
    }

    /* Contact */

    .contact-info h3 {
        font-size: 28px;
    }

    .contact-item h4 {
        font-size: 16px;
    }

    .contact-info,
    .contact-form-box {
        padding: 20px;
    }

    .contact-icon {
        width: 52px;
        height: 52px;
    }
}

/* wp css  */

/* ========================================
   PROJECTS PAGE
======================================== */

.projects-page {
    padding-top: 120px;
    padding-bottom: 50px;
}

/* GRID */

.projects-wrapper-archive {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    margin-top: 80px;
}

/* CARD */

.project-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-card-achive {
    overflow: hidden;
    border-radius: 28px;
    transition: all 0.35s ease;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.project-card-achive:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

/* IMAGE */

.project-image {
    height: 260px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card-achive:hover .project-image img {
    transform: scale(1.05);
}

/* CONTENT */

.project-content {
    padding: 30px;
}

.project-content h3 {
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 18px;
    font-weight: 700;
}

.project-content p {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 25px;
}

/* TECH STACK */

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ========================================
   SINGLE PROJECT PAGE
======================================== */

.single-project-section {
    padding-top: 120px;
    padding-bottom: 50px;
}

.single-project-hero {
    text-align: center;
    margin-bottom: 60px;
}

.single-project-hero h1 {
    font-size: 52px;
    font-weight: 700;
    margin: 20px 0;
    line-height: 1.2;
}

.project-subtitle {
    max-width: 850px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.85;
}

/* IMAGE */

.single-project-image {
    margin-bottom: 60px;
}

.single-project-image img {
    width: 100%;
    max-width: 1100px;
    margin: auto;
    display: block;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

/* META */

.project-meta-wrapper {
    margin-bottom: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* TECH STACK */

.project-tech-stack h3 {
    margin-bottom: 20px;
    font-size: 24px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* BUTTONS */

.single-project-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* CONTENT */

.single-project-content {
    max-width: 950px;
    margin: auto;
    line-height: 1.9;
    font-size: 18px;
}

.single-project-content h2,
.single-project-content h3 {
    margin-top: 50px;
    margin-bottom: 20px;
}

.single-project-content p {
    margin-bottom: 24px;
    opacity: 0.9;
}

/* error validation  */

.form-message {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 15px;
    font-weight: 500;
}

/* SUCCESS */

.form-message.success {
    display: flex;
    background: rgba(40, 167, 69, 0.15);
    color: #4ade80;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

/* ERROR */

.form-message.error {
    display: flex;
    background: rgba(220, 53, 69, 0.15);
    color: #ff6b6b;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

/* CLOSE BUTTON */

.message-close {
    cursor: pointer;
    font-size: 18px;
    transition: 0.3s;
}

.message-close:hover {
    transform: rotate(90deg);
}

.admin-bar .main-navbar {
    top: 32px;
}

/* ========================================
   PROJECTS PAGE RESPONSIVE
======================================== */

/* LARGE TABLETS */

@media (max-width: 1200px) {
    .projects-wrapper-archive {
        gap: 28px;
    }
}

/* TABLET */

@media (max-width: 992px) {
    .projects-page {
        padding-top: 120px;
        padding-bottom: 50px;
    }

    .projects-wrapper-archive {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 60px;
    }

    .project-card-achive {
        border-radius: 24px;
    }

    .project-image {
        height: 300px;
    }

    .project-content {
        padding: 28px;
    }

    .project-content h3 {
        font-size: 30px;
    }
}

/* MOBILE */

@media (max-width: 768px) {
    .projects-page {
        padding-top: 120px;
        padding-bottom: 50px;
    }

    .projects-wrapper-archive {
        margin-top: 40px;
        gap: 24px;
    }

    .project-image {
        height: 240px;
    }

    .project-content {
        padding: 24px;
    }

    .project-content h3 {
        font-size: 26px;
        line-height: 1.3;
    }

    .project-content p {
        font-size: 15px;
        line-height: 1.8;
    }

    .project-tech {
        gap: 8px;
    }

    .project-tech span {
        padding: 7px 14px;
        font-size: 12px;
    }
}

/* SMALL MOBILE */

@media (max-width: 480px) {
    .projects-page {
        padding-top: 120px;
        padding-bottom: 50px;
    }

    .project-card-achive {
        border-radius: 22px;
    }

    .project-image {
        height: 210px;
    }

    .project-content {
        padding: 20px;
    }

    .project-content h3 {
        font-size: 22px;
    }

    .project-content p {
        font-size: 14px;
        line-height: 1.9;
    }

    .project-tech span {
        font-size: 11px;
        padding: 6px 12px;
    }
}

/* ========================================
   SINGLE PROJECT RESPONSIVE
======================================== */

/* TABLET */

@media (max-width: 992px) {
    .single-project-section {
        padding-top: 120px;
        padding-bottom: 50px;
    }

    .single-project-hero {
        margin-bottom: 50px;
    }

    .single-project-hero h1 {
        font-size: 46px;
    }

    .project-subtitle {
        font-size: 17px;
        line-height: 1.8;
    }

    .single-project-image {
        margin-bottom: 50px;
    }

    .project-meta-wrapper {
        gap: 24px;
    }

    .single-project-content {
        font-size: 17px;
        line-height: 1.9;
    }
}

/* MOBILE */

@media (max-width: 768px) {
    .single-project-section {
        padding-top: 120px;
        padding-bottom: 50px;
    }

    .single-project-hero {
        margin-bottom: 40px;
    }

    .single-project-hero h1 {
        font-size: 36px;
        line-height: 1.2;
    }

    .project-subtitle {
        font-size: 16px;
        line-height: 1.9;
    }

    .single-project-image {
        margin-bottom: 40px;
    }

    .single-project-image img {
        border-radius: 20px;
    }

    .project-meta-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
        margin-bottom: 40px;
    }

    .project-tech-stack h3 {
        font-size: 22px;
    }

    .single-project-buttons {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .single-project-buttons a {
        width: 100%;
        text-align: center;
    }

    .single-project-content {
        font-size: 16px;
        line-height: 1.9;
    }

    .single-project-content h2,
    .single-project-content h3 {
        margin-top: 40px;
        margin-bottom: 16px;
        line-height: 1.3;
    }
}

/* SMALL MOBILE */

@media (max-width: 480px) {
    .single-project-section {
        padding-top: 120px;
        padding-bottom: 50px;
    }

    .single-project-hero h1 {
        font-size: 30px;
    }

    .project-subtitle {
        font-size: 15px;
    }

    .single-project-image img {
        border-radius: 18px;
    }

    .project-tech-stack h3 {
        font-size: 20px;
    }

    .project-tech span {
        font-size: 12px;
        padding: 7px 12px;
    }

    .single-project-content {
        font-size: 15px;
        line-height: 1.9;
    }

    .single-project-content h2,
    .single-project-content h3 {
        font-size: 24px;
    }
}

/* WhatsApp floating button  */

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 32px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: translateY(-4px);
}

.whatsapp-float i {
    line-height: 1;
}
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }
}
