/* ----------------------------------------------------
   DESIGN SYSTEM & VARIABLES
   ---------------------------------------------------- */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121c;
    --bg-tertiary: #191928;
    --accent-cyan: #00e5ff;
    --accent-cyan-rgb: 0, 229, 255;
    --accent-purple: #bd00ff;
    --accent-purple-rgb: 189, 0, 255;
    --text-primary: #ffffff;
    --text-secondary: #b0b3c1;
    --text-muted: #6c7086;
    --border-color: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(0, 229, 255, 0.15);

    --font-syne: 'Syne', sans-serif;
    --font-dmsans: 'DM Sans', sans-serif;

    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);

    --glow-cyan: 0 0 20px rgba(0, 229, 255, 0.25);
    --glow-cyan-strong: 0 0 35px rgba(0, 229, 255, 0.55);
    --glow-purple: 0 0 20px rgba(189, 0, 255, 0.25);

    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --container-max-width: 1200px;
}

/* ----------------------------------------------------
   RESET & BASE STYLES
   ---------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-dmsans);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
    /* Hide default cursor for custom cursor */
}

/* ----------------------------------------------------
   CUSTOM SCROLLBAR
   ---------------------------------------------------- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 4px;
    border: 2px solid var(--bg-primary);
    transition: var(--transition-fast);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}

/* Selection style */
::selection {
    background: rgba(0, 229, 255, 0.2);
    color: var(--accent-cyan);
}

/* ----------------------------------------------------
   TYPOGRAPHY & UTILITIES
   ---------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6,
.font-syne {
    font-family: var(--font-syne);
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
    cursor: none;
}

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 80px 0;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-cyan) 20%, var(--accent-purple) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hidden {
    display: none !important;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.section-tag {
    display: inline-block;
    color: var(--accent-cyan);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 12px;
    position: relative;
}

.section-title {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.section-subtitle {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* ----------------------------------------------------
   CUSTOM CURSOR
   ---------------------------------------------------- */
.custom-cursor {
    width: 8px;
    height: 8px;
    background-color: var(--accent-cyan);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.1s, height 0.1s, background-color 0.1s;
}

.custom-cursor-follower {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(0, 229, 255, 0.4);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.15s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s, border-color 0.3s;
}

/* Hover Cursor States */
body.cursor-hover .custom-cursor {
    width: 14px;
    height: 14px;
    background-color: var(--accent-purple);
}

body.cursor-hover .custom-cursor-follower {
    width: 50px;
    height: 50px;
    border-color: rgba(189, 0, 255, 0.6);
    background-color: rgba(189, 0, 255, 0.05);
}

/* ----------------------------------------------------
   BUTTONS
   ---------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: none;
}

.btn i,
.btn svg {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, rgba(0, 229, 255, 0.8) 100%);
    color: var(--bg-primary);
    box-shadow: var(--glow-cyan);
    border: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-purple) 0%, rgba(189, 0, 255, 0.8) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: -1;
}

.btn-primary:hover {
    color: var(--text-primary);
    transform: translateY(-3px);
    box-shadow: var(--glow-purple);
}

.btn-primary:hover::before {
    opacity: 1;
}

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

.btn-secondary:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: translateY(-3px);
    box-shadow: var(--glow-cyan);
}

.btn-outline {
    background: transparent;
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan);
}

.btn-outline:hover {
    background: rgba(0, 229, 255, 0.05);
    transform: translateY(-3px);
    box-shadow: var(--glow-cyan);
}

/* ----------------------------------------------------
   HEADER & NAVIGATION
   ---------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-color: var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-container {
    width: 90%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.8rem;
    font-family: var(--font-syne);
    font-weight: 800;
    letter-spacing: -1px;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), letter-spacing 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.logo:active,
.logo.active {
    transform: translateY(-2px);
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--accent-cyan);
    display: inline-block;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.4s ease, text-shadow 0.4s ease;
}

/* Hover: clean cyan glow style (no rotation, matching screenshot) */
.logo:hover .logo-accent:first-child {
    color: var(--accent-cyan);
    text-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
}

.logo:hover .logo-accent:last-child {
    color: var(--accent-cyan);
    text-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
}

/* Active/Selected: purple style */
.logo:active .logo-accent:first-child,
.logo.active .logo-accent:first-child {
    color: var(--accent-purple);
    transform: rotate(-10deg) scale(1.15) translateY(-1px);
    text-shadow: 0 0 15px rgba(189, 0, 255, 0.6);
}

.logo:active .logo-accent:last-child,
.logo.active .logo-accent:last-child {
    color: var(--accent-purple);
    transform: scale(1.4) translate(2px, -2px);
    text-shadow: 0 0 15px rgba(189, 0, 255, 0.6);
}

/* Hover overrides active: cyan takes priority on hover */
.logo.active:hover .logo-accent:first-child {
    color: var(--accent-cyan);
    transform: none;
    text-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
}

.logo.active:hover .logo-accent:last-child {
    color: var(--accent-cyan);
    transform: none;
    text-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-cyan);
    transition: var(--transition-fast);
    box-shadow: var(--glow-cyan);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: none;
}

.nav-close-btn {
    display: none;
}

/* ----------------------------------------------------
   HERO SECTION
   ---------------------------------------------------- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.08) 0%, transparent 70%);
    top: -10%;
    right: -10%;
    pointer-events: none;
    z-index: 0;
    filter: blur(60px);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 229, 255, 0.06);
    border: 1px solid rgba(0, 229, 255, 0.15);
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.pulse-indicator {
    width: 8px;
    height: 8px;
    background-color: var(--accent-cyan);
    border-radius: 50%;
    position: relative;
    box-shadow: var(--glow-cyan);
}

.pulse-indicator::after {
    content: '';
    width: 100%;
    height: 100%;
    background-color: var(--accent-cyan);
    border-radius: 50%;
    position: absolute;
    animation: badge-pulse 2s infinite;
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-cyan);
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 580px;
    margin-bottom: 36px;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

/* Hero Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.stat-card {
    display: flex;
    flex-direction: column;
    padding: 15px 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.02);
    transition: var(--transition-smooth);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 229, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25), 0 0 15px rgba(0, 229, 255, 0.05);
}

.stat-num {
    font-size: 2.2rem;
    font-family: var(--font-syne);
    font-weight: 800;
    line-height: 1.2;
    transition: var(--transition-smooth);
    display: inline-block;
    transform-origin: left center;
}

.stat-card:hover .stat-num {
    transform: scale(1.06);
    filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.4));
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 4px;
    transition: var(--transition-smooth);
}

.stat-card:hover .stat-label {
    color: var(--text-primary);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual::before {
    content: '';
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    border: 1.5px dashed rgba(0, 229, 255, 0.2);
    animation: rotate-border 25s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes rotate-border {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.image-wrapper {
    position: relative;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(0, 229, 255, 0.15);
    background: var(--bg-secondary);
    box-shadow: var(--glow-cyan), var(--card-shadow);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: var(--transition-smooth);
    filter: brightness(105%) contrast(105%);
}

.glow-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    z-index: -1;
    filter: blur(25px);
    opacity: 0.35;
    transition: var(--transition-smooth);
}

.image-wrapper:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: var(--accent-cyan);
    box-shadow: var(--glow-cyan-strong), var(--card-shadow);
}

.image-wrapper:hover .glow-ring {
    opacity: 0.65;
    filter: blur(35px);
}

/* ----------------------------------------------------
   ABOUT & SKILLS SECTION
   ---------------------------------------------------- */
.about-section {
    background-color: var(--bg-secondary);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.about-info-card,
.skills-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--card-shadow);
}

.about-heading {
    font-size: 1.8rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.about-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-cyan);
    box-shadow: var(--glow-cyan);
}

.about-text {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* Languages UI */
.languages-box {
    margin-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
}

.languages-title {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.languages-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.lang-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.lang-icon {
    width: 16px;
    height: 16px;
    color: var(--accent-cyan);
}

/* Skills progress bar UI */
.skills-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.skill-item {
    width: 100%;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 0.95rem;
}

.skill-name {
    color: var(--text-primary);
}

.skill-percentage {
    color: var(--accent-cyan);
}

.skill-bar-wrapper {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.skill-bar-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
    border-radius: 4px;
    transition: width 1.5s cubic-bezier(0.1, 1, 0.1, 1);
    box-shadow: var(--glow-cyan);
}

/* ----------------------------------------------------
   TIMELINE SECTION (EXPERIENCE & EDUCATION)
   ---------------------------------------------------- */
.timeline-section {
    position: relative;
    overflow: hidden;
}

.timeline-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(189, 0, 255, 0.05) 0%, transparent 70%);
    bottom: -10%;
    left: -10%;
    pointer-events: none;
    z-index: 0;
    filter: blur(60px);
}

.timeline-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.column-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 35px;
}

.column-icon {
    width: 28px;
    height: 28px;
    color: var(--accent-cyan);
    filter: drop-shadow(0 0 5px rgba(0, 229, 255, 0.3));
}

.column-title {
    font-size: 1.8rem;
    font-family: var(--font-syne);
}

.timeline-container {
    border-left: 2px solid var(--border-color);
    padding-left: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.timeline-item {
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
}

.timeline-dot {
    width: 16px;
    height: 16px;
    background: var(--bg-primary);
    border: 3px solid var(--accent-cyan);
    border-radius: 50%;
    position: absolute;
    left: -39px;
    top: 35px;
    z-index: 2;
    transition: var(--transition-smooth);
    box-shadow: var(--glow-cyan);
}

.timeline-date {
    display: inline-block;
    font-family: var(--font-syne);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 12px;
    background: rgba(0, 229, 255, 0.05);
    padding: 4px 12px;
    border-radius: 12px;
    border: 1px solid rgba(0, 229, 255, 0.1);
}

.timeline-role {
    font-size: 1.3rem;
    margin-bottom: 6px;
}

.timeline-company {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 500;
}

.timeline-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.timeline-item:hover {
    transform: translateX(5px);
    border-color: rgba(0, 229, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.05);
}

.timeline-item:hover .timeline-dot {
    background: var(--accent-cyan);
    transform: scale(1.2);
}

/* ----------------------------------------------------
   SERVICES SECTION
   ---------------------------------------------------- */
.services-section {
    background-color: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.1) 0%, transparent 70%);
    top: -50px;
    right: -50px;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.service-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.service-icon {
    width: 28px;
    height: 28px;
    color: var(--accent-cyan);
    transition: var(--transition-smooth);
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.service-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Hover service effects */
.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 229, 255, 0.25);
    box-shadow: 0 15px 40px rgba(0, 229, 255, 0.08);
}

.service-card:hover .service-icon-box {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
    box-shadow: var(--glow-cyan);
}

.service-card:hover .service-icon {
    color: var(--bg-primary);
}

.service-card:hover .service-glow {
    top: -20px;
    right: -20px;
    background: radial-gradient(circle, rgba(189, 0, 255, 0.18) 0%, transparent 70%);
}

/* ----------------------------------------------------
   PORTFOLIO/FEATURED PROJECT SECTION
   ---------------------------------------------------- */
.portfolio-section {
    position: relative;
    overflow: hidden;
}

.portfolio-bg-glow {
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.06) 0%, transparent 70%);
    top: 50%;
    right: -20%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 0;
    filter: blur(60px);
}

.project-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 50px;
    box-shadow: var(--card-shadow);
    position: relative;
    z-index: 1;
}

.project-details .project-tag {
    display: inline-block;
    color: var(--accent-purple);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.project-title {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.project-text {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.project-outcomes {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.outcome-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.outcome-icon {
    width: 18px;
    height: 18px;
    color: var(--accent-cyan);
    flex-shrink: 0;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 35px;
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
}

.p-tag {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 12px;
    transition: var(--transition-smooth);
    display: inline-block;
    cursor: pointer;
    user-select: none;
}

.p-tag:hover {
    color: var(--text-primary);
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.15) 0%, rgba(189, 0, 255, 0.15) 100%);
    border-color: rgba(0, 229, 255, 0.4);
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 8px 20px rgba(0, 229, 255, 0.15), 0 0 10px rgba(189, 0, 255, 0.1);
}

.p-tag.active {
    color: var(--text-primary);
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.25) 0%, rgba(189, 0, 255, 0.25) 100%);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.3), inset 0 0 4px rgba(189, 0, 255, 0.3);
    transform: translateY(-2px);
}

/* Project Visual Image */
.project-visual {
    display: flex;
    justify-content: center;
}

.project-image-box {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
}

.project-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    filter: brightness(80%) contrast(110%);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.project-img.changing {
    opacity: 0.15;
    transform: scale(0.96) translateY(4px);
    filter: brightness(60%) contrast(90%);
}

.project-glow-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(189, 0, 255, 0.1));
    mix-blend-mode: screen;
    pointer-events: none;
    opacity: 0.5;
    transition: var(--transition-smooth);
}

.project-image-box:hover {
    transform: scale(1.02);
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: var(--glow-cyan);
}

.project-image-box:hover .project-img {
    filter: brightness(100%) contrast(100%);
}

.project-image-box:hover .project-glow-layer {
    opacity: 0.1;
}

/* ----------------------------------------------------
   TESTIMONIALS SECTION
   ---------------------------------------------------- */
.testimonials-section {
    background-color: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
}

.testimonial-card {
    grid-column: span 2;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 35px;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.testimonial-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.08) 0%, transparent 70%);
    top: -50px;
    right: -50px;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.testimonial-stars {
    display: flex;
    gap: 5px;
}

.star-icon {
    width: 16px;
    height: 16px;
    fill: #ffd700;
    color: #ffd700;
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
}

.testimonial-client {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.client-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
    color: var(--text-primary);
    font-family: var(--font-syne);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 229, 255, 0.15);
}

.client-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.client-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.client-designation {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 229, 255, 0.25);
    box-shadow: 0 15px 40px rgba(0, 229, 255, 0.08);
}

.testimonial-card:hover .testimonial-glow {
    transform: scale(1.2);
    background: radial-gradient(circle, rgba(189, 0, 255, 0.1) 0%, transparent 70%);
}

@media (min-width: 1025px) {
    .testimonial-card:nth-child(4) {
        grid-column: 2 / span 2;
    }
    .testimonial-card:nth-child(5) {
        grid-column: 4 / span 2;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .testimonials-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .testimonial-card {
        grid-column: span 2;
    }
    .testimonial-card:nth-child(5) {
        grid-column: 2 / span 2;
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .testimonial-card {
        grid-column: span 1;
    }
}

/* ----------------------------------------------------
   CONTACT SECTION
   ---------------------------------------------------- */
.contact-section {
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-heading {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-intro {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 40px;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    transition: var(--transition-smooth);
}

.info-icon-box {
    width: 50px;
    height: 50px;
    background: rgba(0, 229, 255, 0.05);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.info-icon {
    width: 22px;
    height: 22px;
    color: var(--accent-cyan);
}

.info-card.linkedin-card .info-icon {
    color: #0077B5;
}

.info-card.upwork-card .info-icon {
    color: #6FDA44;
}

.info-card.linkedin-card:hover .info-icon,
.info-card.upwork-card:hover .info-icon {
    color: var(--bg-primary);
}

.info-details {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.info-value {
    font-size: 1.05rem;
    font-weight: 600;
}

.info-card:hover {
    border-color: rgba(0, 229, 255, 0.25);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 229, 255, 0.05);
}

.info-card:hover .info-icon-box {
    background: var(--accent-cyan);
    box-shadow: var(--glow-cyan);
}

.info-card:hover .info-icon {
    color: var(--bg-primary);
}

/* Contact Form Styling */
.contact-form-wrapper {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 50px;
    box-shadow: var(--card-shadow);
}

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

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

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

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.required {
    color: var(--accent-cyan);
    margin-left: 2px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper.alignment-top {
    align-items: flex-start;
}

.input-wrapper.alignment-top .input-icon {
    top: 18px;
}

.input-icon {
    position: absolute;
    left: 18px;
    color: var(--text-muted);
    width: 18px;
    height: 18px;
    pointer-events: none;
    transition: var(--transition-fast);
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
    width: 100%;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 16px 16px 16px 50px;
    border-radius: 12px;
    font-family: var(--font-dmsans);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
    cursor: none;
}

.input-wrapper textarea {
    resize: none;
}

/* Custom Select Dropdown Styling */
.custom-select {
    position: relative;
    width: 100%;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 12px;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
    cursor: none;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 16px 50px;
    font-weight: 500;
    color: var(--text-secondary);
    user-select: none;
    cursor: none;
}

.custom-select-trigger span {
    pointer-events: none;
}

.custom-select .arrow-icon {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    transition: var(--transition-smooth);
    pointer-events: none;
}

/* Open State */
.custom-select.open {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.15);
    background-color: rgba(0, 229, 255, 0.02);
}

.custom-select.open .arrow-icon {
    transform: rotate(180deg);
    color: var(--accent-cyan);
}

/* Dropdown list container */
.custom-options {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
    max-height: 250px;
    overflow-y: auto;
}

.custom-select.open .custom-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    border-color: rgba(0, 229, 255, 0.2);
}

/* Custom Option Item */
.custom-option {
    display: block;
    padding: 14px 20px;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition-fast);
    user-select: none;
    cursor: none;
}

/* Custom Option Hover matching site theme hover */
.custom-option:hover {
    background-color: rgba(0, 229, 255, 0.08);
    color: var(--accent-cyan);
    padding-left: 25px;
    /* Subtle slide-right micro-animation on hover */
}

/* Selected state */
.custom-option.selected {
    color: var(--accent-cyan);
    background-color: rgba(0, 229, 255, 0.04);
    font-weight: 600;
}

/* Hide initial placeholder selection from list */
.custom-option[data-value=""] {
    display: none;
}

/* Input Focus States */
.input-wrapper input:focus,
.input-wrapper textarea:focus,
.custom-select:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.1);
    background-color: rgba(0, 229, 255, 0.02);
}

.input-wrapper:focus-within .input-icon {
    color: var(--accent-cyan);
}

/* Form Error States */
.form-group.has-error .input-wrapper input,
.form-group.has-error .custom-select,
.form-group.has-error .input-wrapper textarea {
    border-color: #ff3366;
    box-shadow: 0 0 15px rgba(255, 51, 102, 0.1);
}

.form-group.has-error .input-icon {
    color: #ff3366;
}

.error-msg {
    display: none;
    color: #ff3366;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 4px;
}

.form-group.has-error .error-msg {
    display: block;
}

/* Submit Button & Spinner */
.btn-submit {
    width: 100%;
    margin-top: 10px;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(10, 10, 15, 0.3);
    border-top: 2.5px solid var(--bg-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 10px;
}

.btn-primary:hover .spinner {
    border-color: rgba(255, 255, 255, 0.3);
    border-top-color: var(--text-primary);
}

/* Response Messages */
.form-response {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 24px;
    border-radius: 12px;
    margin-top: 20px;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-response.success {
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.2);
    color: var(--accent-cyan);
}

.form-response.error {
    background: rgba(255, 51, 102, 0.08);
    border: 1px solid rgba(255, 51, 102, 0.2);
    color: #ff3366;
}

.response-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ----------------------------------------------------
   FOOTER STYLING
   ---------------------------------------------------- */
.footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.footer-container {
    padding: 60px 0 40px 0;
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
}

.footer-tagline {
    color: var(--text-secondary);
    margin-top: 15px;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.footer-socials a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.footer-socials a:hover {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    transform: translateY(-3px);
    box-shadow: var(--glow-cyan);
}

.footer-divider {
    border: none;
    height: 1px;
    background-color: var(--border-color);
    margin-bottom: 30px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-contact-direct {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-contact-direct a {
    white-space: nowrap;
}

.footer-contact-direct a:hover {
    color: var(--accent-cyan);
}

.footer-icon-inline {
    width: 14px;
    height: 14px;
    vertical-align: middle;
    margin-right: 4px;
    color: var(--accent-cyan);
}

.footer-sep {
    color: var(--text-muted);
}

/* ----------------------------------------------------
   BACK TO TOP BUTTON
   ---------------------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: transparent;
    border: 1.5px solid #00e5ff;
    color: #00e5ff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s, box-shadow 0.3s ease;
    cursor: none;
    text-decoration: none;
}

.back-to-top svg,
.back-to-top [data-lucide] {
    width: 18px;
    height: 18px;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    animation: btn-float 2.5s ease-in-out 0.4s infinite;
}

.back-to-top:hover {
    transform: scale(1.12);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.7);
    animation-play-state: paused;
}

/* ----------------------------------------------------
   ANIMATIONS & SCROLL REVEALS
   ---------------------------------------------------- */
@keyframes badge-pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.5);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(0, 229, 255, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 229, 255, 0);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Scroll reveal items */
.reveal-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Individual timeline delay animations */
.timeline-item.reveal-item {
    transition-delay: 0.1s;
}

/* ----------------------------------------------------
   MEDIA QUERIES (RESPONSIVE DESIGN)
   ---------------------------------------------------- */

/* ===== TABLET BREAKPOINT (1024px and below) ===== */
@media (max-width: 1024px) {

    /* Typography scaling */
    .section-title {
        font-size: 2.3rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .project-title {
        font-size: 1.8rem;
    }

    /* ---- Navigation: Switch to hamburger drawer ---- */
    .mobile-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-cta {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: rgba(18, 18, 28, 0.98);
        border-left: 1px solid var(--border-color);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition-smooth);
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-close-btn {
        position: absolute;
        top: 24px;
        right: 24px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: transparent;
        border: 1px solid var(--border-color);
        border-radius: 50%;
        color: var(--text-secondary);
        cursor: pointer;
        transition: var(--transition-fast);
        z-index: 1002;
    }

    .nav-close-btn:hover {
        color: var(--accent-cyan);
        border-color: var(--accent-cyan);
        box-shadow: var(--glow-cyan);
    }

    .nav-close-btn svg,
    .nav-close-btn i {
        width: 20px;
        height: 20px;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 35px;
    }

    .nav-link {
        font-size: 1.3rem;
        font-family: var(--font-syne);
        font-weight: 700;
    }

    /* ---- Hero: Stack to single column ---- */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
        padding-top: 40px;
    }

    .availability-badge {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-visual {
        order: -1;
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-visual::before {
        width: 300px;
        height: 300px;
    }

    .image-wrapper {
        width: 280px;
        height: 280px;
    }

    /* Stats */
    .stats-grid {
        max-width: 550px;
        margin: 0 auto;
    }

    /* ---- About & Skills: Stack ---- */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* ---- Timeline: Stack ---- */
    .timeline-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* ---- Services: 2-column on tablets ---- */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* ---- Project Showcase: Stack ---- */
    .project-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }

    /* ---- Contact: Stack ---- */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ===== MOBILE BREAKPOINT (768px and below) ===== */
@media (max-width: 768px) {

    /* Hide custom cursor on touch devices */
    .custom-cursor,
    .custom-cursor-follower {
        display: none !important;
    }

    body {
        cursor: default !important;
    }

    a,
    button,
    select,
    input,
    textarea,
    .custom-select-trigger,
    .custom-option {
        cursor: pointer !important;
    }

    .container {
        padding: 60px 0;
    }

    /* Further hero size reductions */
    .image-wrapper {
        width: 260px;
        height: 260px;
    }

    /* Stats: 2-column on mobile */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        max-width: 450px;
        margin: 0 auto;
    }

    .stat-card:last-child {
        grid-column: span 2;
        align-items: center;
    }

    /* About & Skills: tighter padding */
    .about-info-card,
    .skills-card {
        padding: 30px;
    }

    /* Services: single column */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 30px;
    }

    /* Project showcase: tighter padding */
    .project-showcase {
        padding: 30px;
    }

    /* Contact form: tighter padding */
    .contact-form-wrapper {
        padding: 30px;
    }

    .form-group-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Footer: stack */
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-contact-direct {
        flex-direction: column;
        gap: 8px;
    }

    .footer-sep {
        display: none;
    }

    /* Performance optimization: disable backdrop blur on mobile */
    .header.scrolled {
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .back-to-top {
        background-color: rgba(18, 18, 28, 0.9);
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
}

/* ===== SMALL MOBILE BREAKPOINT (480px and below) ===== */
@media (max-width: 480px) {
    .section-title {
        font-size: 1.9rem;
    }

    .hero-title {
        font-size: 2.6rem;
    }

    .hero-ctas {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

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

    .stat-card:last-child {
        grid-column: span 1;
    }

    /* Form responsiveness optimizations */
    .contact-form-wrapper {
        padding: 24px 16px;
        border-radius: 16px;
    }

    .contact-form {
        gap: 18px;
    }

    .form-group-row {
        gap: 18px;
    }

    .input-wrapper input,
    .input-wrapper textarea {
        padding: 14px 14px 14px 44px;
        font-size: 0.9rem;
        border-radius: 10px;
    }

    .custom-select {
        border-radius: 10px;
    }

    .custom-select-trigger {
        padding: 14px 16px 14px 44px;
        font-size: 0.9rem;
    }

    .input-icon {
        left: 14px;
        width: 16px;
        height: 16px;
    }

    .input-wrapper.alignment-top .input-icon {
        top: 16px;
    }

    .custom-options {
        max-height: 200px;
        border-radius: 10px;
    }

    .custom-option {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
}

/* ----------------------------------------------------
   WHATSAPP FLOATING BUTTON
   ---------------------------------------------------- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: transform 0.3s ease;
    /* Fade in from bottom once, then float continuously */
    animation: btn-fade-in-up 0.5s ease both, btn-float 2.5s ease-in-out 0.5s infinite;
    text-decoration: none;
    cursor: none;
    background-color: transparent;
}

/* Button Body (renders above rings, below icon) */
.whatsapp-float::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25D366;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 2;
    transition: box-shadow 0.3s ease;
}

/* Ripple Rings (render behind button body) */
.whatsapp-float .wa-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(37, 211, 102, 0.4);
    animation: ripple 2.5s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}
.whatsapp-float .wa-ring-1 { animation-delay: 0s; }
.whatsapp-float .wa-ring-2 { animation-delay: 0.8s; }
.whatsapp-float .wa-ring-3 { animation-delay: 1.6s; }

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    position: relative;
    z-index: 3;
}

/* Hover: scale up whole button container + stronger glow on body, pause float */
.whatsapp-float:hover {
    transform: scale(1.12);
    animation-play-state: paused;
}

.whatsapp-float:hover::before {
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.7);
}

/* Tooltip */
.whatsapp-tooltip {
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 9px 16px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 10000;
    font-family: var(--font-dmsans);
    letter-spacing: 0.2px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

/* Tooltip arrow pointing right */
.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent #1a1a1a;
}

/* Show tooltip on hover */
.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* ----------------------------------------------------
   SHARED FLOATING BUTTON KEYFRAMES
   ---------------------------------------------------- */

/* Shared subtle float up/down for both buttons */
@keyframes btn-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
}

/* Shared page-load fade-in from below */
@keyframes btn-fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ----------------------------------------------------
   FLOATING BUTTONS — MOBILE
   ---------------------------------------------------- */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 16px;
        right: 16px;
        cursor: pointer !important;
    }

    .whatsapp-icon {
        width: 24px;
        height: 24px;
    }

    .whatsapp-tooltip {
        display: none !important;
    }

    .back-to-top {
        bottom: 82px;
        right: 16px;
    }
}