:root {
    --primary-color: #8B8000;
    --primary-dark: #6B6000;
    --primary-light: #a89800;
    --bg-color: #101010;
    --card-bg: #161616;
    --card-hover: #1f1f1f;
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
    --text-dark: #666666;
    --border-color: #333;
    --success: #00c853;
    --error: #ff3b30;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.3);
    --shadow-primary: 0 0 20px rgba(139, 128, 0, 0.3);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.4);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --container-width: 1280px;
    --container-padding: clamp(20px, 3vw, 40px);
}

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

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-white);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: #000;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

h4 {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
}

.section {
    padding: clamp(50px, 8vw, 80px) 0;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(30px, 6vw, 50px);
}

.section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 10px;
}

.section-title span {
    color: var(--primary-color);
    position: relative;
}

.section-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(139, 128, 0, 0.2);
    z-index: -1;
}

.section-subtitle {
    color: var(--text-gray);
    font-size: clamp(0.875rem, 3vw, 1rem);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: clamp(10px, 2vw, 12px) clamp(20px, 4vw, 28px);
    font-size: clamp(0.8rem, 2vw, 0.875rem);
    font-weight: 600;
    border-radius: var(--radius-md);
    background-color: var(--primary-color);
    color: #000;
    border: 1px solid var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.btn:active {
    transform: translateY(0);
}

/* ===== MODERN PREMIUM NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background: rgba(14, 14, 14, 0.88);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    z-index: 1000;
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.navbar.scrolled {
    height: 58px;
    background: rgba(10, 10, 10, 0.96);
    border-bottom-color: rgba(139, 128, 0, 0.25);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 clamp(20px, 3.5vw, 60px);
}

/* Logo (Sleek, Compact Typography) */
.logo {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: clamp(1.05rem, 1.5vw, 1.22rem);
    font-weight: 700;
    color: #ffffff !important;
    letter-spacing: 0.3px;
    text-decoration: none !important;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease, transform 0.3s ease;
}

.logo-accent {
    color: #ffd700;
    margin-left: 3px;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #ffd700 !important;
    text-decoration: none !important;
    transform: translateY(-1px);
}

/* Nav Right Container (Menu + Theme Toggle) */
.nav-right {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2vw, 28px);
}

/* Nav Menu Links (Small, Elegant, Professional Typography) */
.nav-menu {
    display: flex;
    align-items: center;
    gap: clamp(14px, 1.6vw, 24px);
    list-style: none;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
}

.nav-menu li {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 6px 2px 7px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: color 0.25s ease, opacity 0.25s ease;
    white-space: nowrap;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #d4c326, #ffd700, #d4c326);
    border-radius: 999px;
    transform: translateX(-50%);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 0;
    box-shadow: 0 0 8px rgba(212, 195, 38, 0.6);
    pointer-events: none;
}

.nav-menu a:hover {
    color: #ffffff !important;
    text-decoration: none !important;
}

.nav-menu a:hover::after {
    width: 45%;
    opacity: 0.8;
}

.nav-menu a.active {
    color: #ffd700 !important;
    font-weight: 700;
    text-decoration: none !important;
}

.nav-menu a.active::after {
    width: 100%;
    opacity: 1;
    box-shadow: 0 0 10px rgba(212, 195, 38, 0.7);
}

/* Theme Toggle Button */
.theme-toggle {
    width: 42px;
    height: 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    cursor: pointer;
    position: relative;
    padding: 2px;
    display: flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.theme-toggle::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffd700;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    top: 2px;
    left: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle.active::after {
    transform: translateX(20px);
    background: #ffffff;
}

.toggle-icons {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 3px;
    font-size: 0.6rem;
    color: #ffffff;
    pointer-events: none;
    z-index: 1;
}

.toggle-icons .fa-sun {
    color: #000000;
    opacity: 0.8;
}

.toggle-icons .fa-moon {
    color: #ffd700;
}

.theme-toggle.active .toggle-icons .fa-moon {
    color: #000000;
}

.theme-toggle.active .toggle-icons .fa-sun {
    color: #ffffff;
}

/* Hamburger Icon for Mobile */
.hamburger {
    display: none;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-white);
    font-size: 1.15rem;
    z-index: 1001;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.3s ease;
    padding: 0;
    font: inherit;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(139, 128, 0, 0.4);
    color: #ffd700;
}

/* Responsive (Mobile Drawer) */
@media (max-width: 768px) {
    .navbar {
        height: 64px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(300px, 80%);
        height: 100vh;
        background: rgba(12, 12, 12, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        justify-content: center;
        align-items: stretch;
        gap: 16px;
        padding: 90px 28px 40px;
        border-radius: 0;
        border: none;
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: -15px 0 40px rgba(0, 0, 0, 0.7);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        visibility: hidden;
        z-index: 1000;
    }

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

    .nav-menu a {
        font-size: 1.05rem;
        padding: 12px 0;
        width: 100%;
        text-align: left;
        border-radius: 0;
        background: transparent !important;
        border: none !important;
        letter-spacing: 2px;
    }

    .nav-menu a::after {
        left: 0;
        transform: none;
        bottom: 2px;
    }

    .nav-menu a:hover::after {
        width: 32px;
    }

    .nav-menu a.active {
        background: transparent !important;
        border: none !important;
        color: #ffd700 !important;
    }

    .nav-menu a.active::after {
        width: 48px;
    }
}

/* White Theme Overrides for Navbar */
body.white-theme .navbar {
    background: rgba(255, 255, 255, 0.88) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

body.white-theme .navbar.scrolled {
    background: rgba(255, 255, 255, 0.96) !important;
    border-bottom-color: rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.08) !important;
}

body.white-theme .logo {
    color: #000000 !important;
}

body.white-theme .logo-accent {
    color: #8B8000 !important;
}

body.white-theme .nav-menu {
    background: transparent !important;
    border: none !important;
}

body.white-theme .nav-menu a {
    color: #555555 !important;
}

body.white-theme .nav-menu a:hover {
    color: #000000 !important;
    background: transparent !important;
}

body.white-theme .nav-menu a:hover::after {
    background: #000000 !important;
    box-shadow: none !important;
}

body.white-theme .nav-menu a.active {
    color: #000000 !important;
    background: transparent !important;
    border: none !important;
}

body.white-theme .nav-menu a.active::after {
    background: #000000 !important;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.25) !important;
}

body.white-theme .theme-toggle {
    background: rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
}

body.white-theme .hamburger {
    background: rgba(0, 0, 0, 0.04) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    color: #000000 !important;
}

@media (max-width: 768px) {
    body.white-theme .navbar .nav-menu {
        background: rgba(255, 255, 255, 0.98) !important;
        border-left: 1px solid rgba(0, 0, 0, 0.08) !important;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    padding-top: clamp(90px, 15vw, 120px);
    padding-bottom: clamp(50px, 8vw, 80px);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: clamp(30px, 5vw, 50px);
    align-items: center;
}

.hero-text h3 {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    color: var(--primary-color);
    font-family: var(--font-heading);
    margin-bottom: 10px;
}

.hero-text h1 {
    font-size: clamp(1.8rem, 6vw, 3rem);
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-text p {
    color: var(--text-gray);
    margin-bottom: 25px;
    line-height: 1.8;
    font-size: clamp(0.875rem, 2.5vw, 1rem);
}

.hero-stats {
    display: flex;
    gap: clamp(15px, 4vw, 30px);
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.stat-box {
    text-align: center;
    flex: 1;
    min-width: 70px;
}

.stat-box h4 {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    color: var(--primary-color);
    font-weight: 700;
}

.stat-box p {
    font-size: clamp(0.7rem, 2vw, 0.75rem);
    color: var(--text-gray);
    margin-bottom: 0;
}

.hero-info {
    margin-top: 30px;
    display: flex;
    gap: clamp(20px, 5vw, 40px);
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
    flex-wrap: wrap;
}

.info-item h4 {
    color: var(--text-white);
    font-size: clamp(0.75rem, 2vw, 0.875rem);
    margin-bottom: 5px;
}

.info-item span {
    color: var(--text-gray);
    font-size: clamp(0.7rem, 2vw, 0.875rem);
}

.hero-img img {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    filter: grayscale(100%);
    transition: var(--transition-slow);
    border: 1px solid var(--border-color);
}

.hero-img img:hover {
    filter: grayscale(0%);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ===== ABOUT SECTION ===== */
.about-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.5fr;
    gap: clamp(25px, 5vw, 40px);
}

.profile-card {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    padding: 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.profile-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.profile-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.profile-image img {
    width: 100%;
    height: auto;
    transition: var(--transition-slow);
}

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

.image-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

.profile-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: clamp(40px, 8vw, 45px);
    height: clamp(40px, 8vw, 45px);
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    font-size: clamp(1rem, 3vw, 1.2rem);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    color: #000;
    transform: translateY(-3px);
}

.who-am-i h3 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 20px;
}

.who-am-i h3 span {
    color: var(--primary-color);
}

.who-am-i p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: clamp(0.875rem, 2.5vw, 1rem);
}

/* Stats Container */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.stat-item {
    background: var(--card-bg);
    padding: clamp(10px, 3vw, 15px);
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.stat-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.stat-number {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-gray);
    font-size: clamp(0.7rem, 2vw, 0.8rem);
}

/* Tabs */
.about-tabs {
    display: flex;
    gap: clamp(10px, 2vw, 15px);
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: clamp(8px, 2vw, 10px) clamp(16px, 3vw, 24px);
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-gray);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(0.75rem, 2vw, 0.875rem);
}

.tab-btn i {
    color: var(--primary-color);
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
}

.tab-btn.active i,
.tab-btn:hover i {
    color: #000;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

/* Timeline */
.timeline-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 30px;
    border-left: 2px dashed var(--border-color);
}

.timeline-marker {
    position: absolute;
    left: -9px;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(139, 128, 0, 0.2);
}

.timeline-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(139, 128, 0, 0.1);
    border: 1px solid rgba(139, 128, 0, 0.3);
    border-radius: 30px;
    color: var(--primary-color);
    font-size: 0.75rem;
    margin-bottom: 8px;
}

.timeline-title {
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin-bottom: 5px;
    color: var(--text-white);
}

.timeline-subtitle {
    color: var(--primary-color);
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    margin-bottom: 10px;
}

.timeline-description {
    color: var(--text-gray);
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    line-height: 1.6;
    margin-bottom: 10px;
}

.timeline-meta {
    display: flex;
    gap: 20px;
    font-size: 0.8rem;
    color: var(--text-dark);
    flex-wrap: wrap;
}

.timeline-meta i {
    color: var(--primary-color);
    margin-right: 5px;
}

.timeline-list {
    margin-top: 10px;
}

.timeline-list li {
    color: var(--text-gray);
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    margin-bottom: 8px;
    display: flex;
    gap: 10px;
}

.timeline-list li i {
    color: var(--primary-color);
    margin-top: 3px;
}

/* Certificate */
.certificate-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.certificate-item:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.certificate-icon {
    width: 60px;
    height: 60px;
    background: rgba(139, 128, 0, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.certificate-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.certificate-details {
    flex: 1;
}

.certificate-badge {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(139, 128, 0, 0.1);
    border-radius: 30px;
    color: var(--primary-color);
    font-size: 0.7rem;
    margin-bottom: 8px;
}

.certificate-details h4 {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    margin-bottom: 5px;
}

.certificate-issuer {
    color: var(--primary-color);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.certificate-desc {
    color: var(--text-gray);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.certificate-meta {
    display: flex;
    gap: 20px;
    font-size: 0.75rem;
    color: var(--text-dark);
    flex-wrap: wrap;
}

/* ===== SKILLS SECTION ===== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: clamp(20px, 4vw, 30px);
}

.skill-category {
    background: var(--card-bg);
    padding: clamp(20px, 4vw, 25px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.skill-category:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.skill-category h3 {
    color: var(--primary-color);
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.skill-bar {
    margin-bottom: 20px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: clamp(0.75rem, 2vw, 0.85rem);
    color: var(--text-gray);
}

.skill-progress {
    width: 100%;
    height: 6px;
    background: var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.skill-per {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 10px;
    transition: width 1s ease;
}

/* ===== PROJECTS SECTION ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: clamp(20px, 4vw, 30px);
}

.project-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: none;
}

.project-card.show {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.project-img {
    height: clamp(180px, 30vw, 220px);
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.project-info {
    padding: clamp(15px, 4vw, 20px);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.tag {
    background: rgba(139, 128, 0, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(139, 128, 0, 0.3);
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 500;
}

.project-title {
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin-bottom: 10px;
    color: var(--text-white);
}

.project-desc {
    color: var(--text-gray);
    font-size: clamp(0.8rem, 2.5vw, 0.85rem);
    line-height: 1.6;
    margin-bottom: 15px;
}

.load-more-container {
    text-align: center;
    margin-top: 40px;
}

.load-more-btn {
    padding: clamp(10px, 2vw, 12px) clamp(24px, 5vw, 32px);
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 40px;
    font-size: clamp(0.875rem, 2.5vw, 1rem);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.load-more-btn:hover {
    background: var(--primary-color);
    color: #000;
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: clamp(20px, 4vw, 30px);
}

.testimonial-card {
    background: var(--card-bg);
    padding: clamp(20px, 4vw, 25px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

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

.testimonial-avatar {
    width: clamp(50px, 10vw, 60px);
    height: clamp(50px, 10vw, 60px);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: #000;
}

.testimonial-info h4 {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    margin-bottom: 3px;
}

.testimonial-info p {
    color: var(--primary-color);
    font-size: clamp(0.7rem, 2vw, 0.8rem);
}

.testimonial-text {
    color: var(--text-gray);
    font-style: italic;
    line-height: 1.7;
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
}

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: clamp(20px, 4vw, 30px);
}

.service-card {
    background: var(--card-bg);
    padding: clamp(30px, 6vw, 40px) clamp(20px, 4vw, 30px);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.service-card i {
    font-size: clamp(2rem, 6vw, 3rem);
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: clamp(15px, 3vw, 20px);
    margin-bottom: 50px;
}

.contact-item {
    background: var(--card-bg);
    padding: clamp(20px, 4vw, 25px) clamp(15px, 3vw, 20px);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.contact-item i {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-item h4 {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-gray);
    font-size: clamp(0.75rem, 2vw, 0.85rem);
}

.contact-sub {
    font-size: 0.7rem;
    color: var(--text-dark);
    margin-top: 8px;
    display: block;
}

.contact-form-wrapper {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    padding: clamp(25px, 5vw, 40px);
    border: 1px solid var(--border-color);
}

.contact-form-wrapper h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: clamp(1.2rem, 4vw, 1.5rem);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: clamp(0.75rem, 2vw, 0.85rem);
    color: var(--text-gray);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: clamp(10px, 2.5vw, 12px) clamp(12px, 3vw, 16px);
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-white);
    font-family: var(--font-main);
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(139, 128, 0, 0.1);
}

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

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: clamp(12px, 2.5vw, 14px) clamp(24px, 5vw, 32px);
    background: var(--primary-color);
    color: #000;
    border: none;
    border-radius: var(--radius-sm);
    font-size: clamp(0.875rem, 2.5vw, 1rem);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.contact-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: clamp(15px, 4vw, 30px);
    right: clamp(15px, 4vw, 30px);
    width: clamp(40px, 8vw, 45px);
    height: clamp(40px, 8vw, 45px);
    background: var(--primary-color);
    color: #000;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: clamp(1rem, 3vw, 1.2rem);
    z-index: 1000;
    transition: var(--transition);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

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

@keyframes float {

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

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

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text p {
        margin: 0 auto 25px;
        max-width: 600px;
    }

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

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

    .about-wrapper {
        grid-template-columns: 1fr;
    }

    .profile-card {
        max-width: 400px;
        margin: 0 auto;
    }

    .stats-container {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

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

/* Mobile Landscape (480px - 768px) */
@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }

    .hero-stats {
        gap: 15px;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .about-tabs {
        justify-content: center;
    }

    .tab-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }

    .certificate-item {
        flex-direction: column;
        text-align: center;
    }

    .certificate-icon {
        margin: 0 auto;
    }

    .certificate-meta {
        justify-content: center;
    }
}

/* Mobile Portrait (320px - 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .stat-box {
        width: 100%;
    }

    .hero-info {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

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

    .about-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .tab-btn {
        justify-content: center;
    }

    .timeline-meta {
        flex-direction: column;
        gap: 8px;
    }

    .project-tags {
        justify-content: center;
    }

    .project-info {
        text-align: center;
    }
}

/* Landscape Mode */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding-top: 80px;
        min-height: auto;
    }

    .hero-wrapper {
        gap: 30px;
    }

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

    .about-tabs {
        flex-wrap: wrap;
    }
}

/* ========================================================
   RESPONSIVE DESKTOP BREAKPOINTS (Fluid Full-Width Scaling)
   ======================================================== */

/* Standard Desktop / Laptop (1200px - 1399px) */
@media (min-width: 1200px) {
    .container {
        max-width: 1280px;
        padding: 0 clamp(24px, 3vw, 40px);
    }

    .hero-img img {
        max-width: 460px;
    }
}

/* Large Desktop / 1080p Standard (1400px - 1599px) */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
        padding: 0 clamp(30px, 3.5vw, 48px);
    }

    .hero-img img {
        max-width: 500px;
    }
}

/* Wide Desktop Screens (1600px - 1919px) */
@media (min-width: 1600px) {
    .container {
        max-width: 1540px;
        padding: 0 clamp(36px, 4vw, 56px);
    }

    .hero-text h1 {
        font-size: 3.5rem;
    }

    .hero-img img {
        max-width: 540px;
    }
}

/* Full HD & Ultra-wide Displays (1920px+) */
@media (min-width: 1920px) {
    .container {
        max-width: 1680px;
        padding: 0 clamp(40px, 4.5vw, 64px);
    }

    .hero-text h1 {
        font-size: 3.8rem;
    }

    .hero-img img {
        max-width: 580px;
    }
}

/* 4K Displays (2560px+) */
@media (min-width: 2560px) {
    .container {
        max-width: 1920px;
        padding: 0 80px;
    }

    body {
        font-size: 18px;
    }

    .btn {
        padding: 16px 36px;
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {

    .navbar,
    .hamburger,
    .back-to-top,
    .contact-form-wrapper,
    .load-more-container {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }

    .section {
        padding: 20px 0;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {

    .btn:hover,
    .project-card:hover,
    .service-card:hover {
        transform: none;
    }

    .btn:active,
    .project-card:active {
        transform: scale(0.98);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Navbar polish: quiet glass surface, crisp active state, and subtle motion */
.navbar {
    background: rgba(12, 15, 18, 0.94);
    border-bottom-color: rgba(139, 128, 0, 0.14);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.navbar::after {
    content: "";
    position: absolute;
    inset: auto 0 -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 128, 0, 0.5), transparent);
    pointer-events: none;
}

.logo {
    transition: color 220ms ease, transform 220ms ease;
}

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

.nav-menu a {
    position: relative;
    transition: color 180ms ease, transform 180ms ease;
}

.nav-menu a::after {
    height: 2px;
    border-radius: 2px;
    transform-origin: center;
    transition: width 220ms ease, opacity 220ms ease, transform 220ms ease;
}

.nav-menu a:hover {
    transform: translateY(-2px);
}

.nav-menu a.active {
    color: var(--primary-light);
}

.theme-toggle,
.hamburger {
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.theme-toggle:hover,
.hamburger:hover {
    transform: translateY(-2px);
}

@media (min-width: 769px) {
    .nav-menu li {
        animation: nav-item-enter 420ms both;
    }

    .nav-menu li:nth-child(2) { animation-delay: 35ms; }
    .nav-menu li:nth-child(3) { animation-delay: 70ms; }
    .nav-menu li:nth-child(4) { animation-delay: 105ms; }
    .nav-menu li:nth-child(5) { animation-delay: 140ms; }
    .nav-menu li:nth-child(6) { animation-delay: 175ms; }
}

@keyframes nav-item-enter {
    from { opacity: 0; transform: translateY(-7px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .nav-menu li { animation: none; }
    .nav-menu a,
    .logo,
    .theme-toggle,
    .hamburger { transition: none; }
}

/* Refined navbar motion */
.navbar {
    animation: navbar-settle 520ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.navbar::after {
    transform: scaleX(0);
    transform-origin: left center;
    animation: navbar-accent-draw 850ms 120ms ease-out forwards;
}

.nav-menu a::after {
    width: 100%;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left center;
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after,
.nav-menu a.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.nav-menu a.active::after {
    box-shadow: 0 0 10px rgba(139, 128, 0, 0.28);
}

.theme-toggle .toggle-icons i {
    transition: transform 260ms ease, color 180ms ease;
}

.theme-toggle:hover .fa-sun {
    transform: rotate(28deg);
}

.theme-toggle:hover .fa-moon {
    transform: rotate(-18deg);
}

.hamburger i {
    transition: transform 240ms ease;
}

.hamburger.active i {
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .nav-menu li {
        opacity: 0;
        transform: translateX(14px);
        transition: opacity 220ms ease, transform 260ms cubic-bezier(0.2, 0.75, 0.25, 1);
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-menu.active li:nth-child(1) { transition-delay: 40ms; }
    .nav-menu.active li:nth-child(2) { transition-delay: 80ms; }
    .nav-menu.active li:nth-child(3) { transition-delay: 120ms; }
    .nav-menu.active li:nth-child(4) { transition-delay: 160ms; }
    .nav-menu.active li:nth-child(5) { transition-delay: 200ms; }
    .nav-menu.active li:nth-child(6) { transition-delay: 240ms; }
}

@keyframes navbar-settle {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes navbar-accent-draw {
    to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
    .navbar,
    .navbar::after { animation: none; transform: none; }

    .nav-menu li { opacity: 1; transform: none; transition: none; }
    .theme-toggle .toggle-icons i,
    .hamburger i { transition: none; }
}

/* Clean navbar finish */
.navbar {
    height: 68px;
    background: rgba(16, 16, 16, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.2);
    animation: none;
}

.navbar::after {
    content: none;
    animation: none;
}

.nav-container {
    max-width: 1440px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: -0.025em;
}

.logo-accent {
    color: var(--primary-light);
}

.nav-right {
    gap: 20px;
}

.nav-menu {
    gap: 4px;
}

.nav-menu a {
    padding: 9px 12px;
    border-radius: 8px;
    color: #b8b8b8;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.055em;
    transition: color 160ms ease, background-color 160ms ease;
    transform: none;
}

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

.nav-menu a:hover,
.nav-menu a:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.055);
}

.nav-menu a.active {
    color: var(--primary-light);
    background: rgba(139, 128, 0, 0.13);
}

.nav-menu a.active::after {
    display: none;
    box-shadow: none;
}

.theme-toggle,
.hamburger {
    box-shadow: none;
    transform: none;
}

.theme-toggle:hover,
.hamburger:hover {
    transform: none;
}

@media (max-width: 768px) {
    .navbar { height: 64px; }

    .nav-right { gap: 12px; }

    .nav-menu {
        gap: 10px;
        background: rgba(16, 16, 16, 0.985);
        border-left-color: rgba(255, 255, 255, 0.08);
        transition: right 260ms ease, visibility 260ms ease;
    }

    .nav-menu li,
    .nav-menu.active li {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .nav-menu a {
        padding: 12px 14px;
        border-radius: 8px;
        letter-spacing: 0.04em;
    }

    .nav-menu a.active {
        color: var(--primary-light) !important;
        background: rgba(139, 128, 0, 0.13) !important;
    }
}

body.white-theme .navbar {
    background: rgba(255, 255, 255, 0.97);
}

body.white-theme .nav-menu a.active {
    color: #6B6000 !important;
    background: rgba(139, 128, 0, 0.12) !important;
}

@media (prefers-reduced-motion: reduce) {
    .nav-menu a { transition: none; }
}

/* Image-free hero inspired by the supplied reference */
#home.hero {
    position: relative;
    min-height: min(860px, 100svh);
    padding: clamp(112px, 15vh, 150px) 0 clamp(56px, 8vh, 88px);
    overflow: hidden;
    background:
        radial-gradient(ellipse at 92% 20%, rgba(139, 128, 0, 0.12), transparent 34%),
        radial-gradient(ellipse at 8% 92%, rgba(139, 128, 0, 0.08), transparent 30%),
        #101010;
}

#home.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.14;
    background-image: radial-gradient(rgba(168, 152, 0, 0.55) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(110deg, transparent 40%, #000 100%);
}

#home .container {
    position: relative;
    z-index: 1;
}

#home .hero-wrapper {
    display: block;
    max-width: 1160px;
    margin-inline: auto;
}

#home .hero-text {
    width: 100%;
}

#home .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    padding: 8px 16px;
    border: 1px solid rgba(168, 152, 0, 0.5);
    border-radius: 999px;
    background: rgba(139, 128, 0, 0.1);
    color: #e2d99a;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: 0 0 24px rgba(139, 128, 0, 0.1);
}

#home .hero-eyebrow span {
    font-size: 1.1rem;
}

#home .hero-text h1 {
    max-width: none;
    margin-bottom: 12px;
    font-size: clamp(3rem, 7.2vw, 6.25rem);
    font-weight: 800;
    letter-spacing: -0.065em;
    line-height: 1.02;
}

#home .hero-text h1 span {
    color: var(--primary-light) !important;
}

#home .hero-text > div[style*="font-size"] {
    margin-bottom: 18px !important;
    font-size: clamp(1.2rem, 3vw, 2rem) !important;
    font-weight: 600;
    letter-spacing: -0.035em;
}

#home .hero-paragraph {
    max-width: 720px;
    margin: 0 0 28px;
    padding-left: 18px;
    border-left: 3px solid var(--primary-color);
    color: #c1c1c1;
    font-size: clamp(0.98rem, 1.5vw, 1.1rem);
    line-height: 1.8;
}

#home .hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(130px, 170px));
    gap: 14px;
    justify-content: start;
    max-width: 730px;
    margin: 0 0 26px;
}

#home .hero-stats .stat-box {
    min-width: 0;
    padding: 17px 14px 15px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.04), 0 12px 28px rgba(0, 0, 0, 0.16);
    text-align: left;
    transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

#home .hero-stats .stat-box:hover {
    transform: translateY(-4px);
    border-color: rgba(168, 152, 0, 0.48);
    background: linear-gradient(145deg, rgba(139, 128, 0, 0.13), rgba(255, 255, 255, 0.02));
}

#home .hero-stats .stat-box h4 {
    margin-bottom: 4px;
    color: var(--primary-light);
    font-size: 1.45rem;
}

#home .hero-stats .stat-icon {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-light);
    font-size: 1.2rem;
}

#home .hero-stats .stat-box p {
    color: #b5b5b5;
    font-size: 0.78rem;
    line-height: 1.4;
}

#home .hero-text > .btn {
    min-height: 48px;
    margin: 0 10px 8px 0;
    padding-inline: 22px;
    border-radius: 999px;
}

#home .hero-text > .btn + .btn {
    margin-left: 0;
    border-color: rgba(168, 152, 0, 0.7);
    color: #efefef;
}

#home .hero-info {
    max-width: 920px;
    margin-top: 24px;
    padding-top: 20px;
    border-top-color: rgba(255, 255, 255, 0.12);
    gap: 16px 32px;
}

#home .info-item h4 {
    color: var(--primary-light);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

#home .info-item span {
    color: #d0d0d0;
    font-size: 0.88rem;
}

body.white-theme #home.hero {
    background:
        radial-gradient(ellipse at 92% 20%, rgba(139, 128, 0, 0.11), transparent 34%),
        #fff;
}

body.white-theme #home .hero-eyebrow {
    color: #403a00;
}

body.white-theme #home .hero-paragraph,
body.white-theme #home .hero-stats .stat-box p,
body.white-theme #home .info-item span {
    color: #454545;
}

body.white-theme #home .hero-stats .stat-box {
    border-color: rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    #home.hero {
        min-height: auto;
        padding: 112px 0 58px;
    }

    #home .hero-wrapper,
    #home .hero-text {
        text-align: left;
    }

    #home .hero-text h1 {
        margin-inline: 0;
        font-size: clamp(2.7rem, 10vw, 4.5rem);
    }

    #home .hero-paragraph {
        margin-left: 0;
    }

    #home .hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 420px;
    }

    #home .hero-info {
        justify-content: flex-start;
    }
}

@media (max-width: 420px) {
    #home .hero-text h1 {
        font-size: clamp(2.35rem, 12vw, 3.2rem);
    }

    #home .hero-stats {
        gap: 10px;
    }

    #home .hero-stats .stat-box {
        padding: 14px 11px 12px;
    }

    #home .hero-info {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    #home .hero-stats .stat-box { transition: none; }
}

/* Progress Bar */
.modern-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    z-index: 1002;
    transition: width 0.1s ease;
}

/* Form Message */
.form-message-modern {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2000;
    animation: slideIn 0.3s ease;
    background: var(--card-bg);
    border: 1px solid;
}

.form-message-modern.success {
    border-color: var(--success);
    color: var(--success);
}

.form-message-modern.error {
    border-color: var(--error);
    color: var(--error);
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: var(--card-bg);
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    padding: 8px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: float 3s ease-in-out infinite;
    z-index: 10;
}

.floating-badge i {
    color: var(--primary-color);
}

.badge-1 {
    top: 20px;
    right: -10px;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 40px;
    left: -10px;
    animation-delay: 0.5s;
}

.badge-3 {
    bottom: -10px;
    right: 20px;
    animation-delay: 1s;
}

@media (max-width: 768px) {
    .floating-badge {
        display: none;
    }
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Focus Visible for Accessibility */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.modal-close {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;

    width: 50px !important;
    height: 50px !important;

    background: red !important;
    color: white !important;

    border: 3px solid yellow !important;
    border-radius: 50% !important;

    font-size: 28px !important;
    font-weight: bold !important;

    z-index: 99999 !important;
}

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

.section-header {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 70px;
    text-align: center;
}

.section-title {
    font-size: clamp(2.8rem, 5vw, 4rem);
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.15;
}

.section-title span {
    color: var(--primary-color);
    position: relative;
}

.section-title span::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -12px;
    width: 70px;
    height: 6px;
    border-radius: 30px;
    background: var(--primary-color);
}

.section-subtitle {
    margin: 40px auto 0;
    max-width: 760px;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #b5b5b5;
    font-weight: 400;
    letter-spacing: .3px;
}

@media(max-width:768px) {

    .section-header {
        margin-bottom: 50px;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 15px;
    }

}

/* ===== LIKE BUTTON ===== */
.project-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.like-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-gray);
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition);
    font-family: var(--font-main);
}

.like-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.like-btn.liked {
    border-color: #ff4757;
    color: #ff4757;
    background: rgba(255, 71, 87, 0.1);
}

.like-btn.liked i {
    animation: heartBounce 0.4s ease;
}

.like-btn i {
    font-size: 1.1rem;
    transition: var(--transition);
}

.like-btn .like-count {
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.like-text {
    color: var(--text-dark);
    font-size: 0.8rem;
}

@keyframes heartBounce {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.3);
    }

    50% {
        transform: scale(0.9);
    }

    75% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.like-particle {
    position: fixed;
    pointer-events: none;
    font-size: 1.5rem;
    color: #ff4757;
    z-index: 9999;
    animation: floatUp 1s ease forwards;
}

@keyframes floatUp {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(-100px) scale(0.5);
    }
}

/* ===== PROFESSIONAL THEME TOGGLE SWITCH ===== */
/* ===== PROFESSIONAL THEME TOGGLE SWITCH - IN NAV ===== */
.theme-toggle {
    position: relative;
    width: 50px;
    height: 26px;
    background: #333;
    border: 2px solid #444;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    padding: 2px;
    flex-shrink: 0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
    margin: 0 5px;
    vertical-align: middle;
}

/* Toggle Knob */
.theme-toggle::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    left: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Icons inside toggle */
.theme-toggle .toggle-icons {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 5px;
    z-index: 2;
    pointer-events: none;
}

.theme-toggle .toggle-icons i {
    font-size: 0.65rem;
    transition: all 0.3s ease;
    line-height: 20px;
}

.theme-toggle .toggle-icons .fa-sun {
    color: #ffd700;
}

.theme-toggle .toggle-icons .fa-moon {
    color: #a0a0a0;
}

/* Active state - White Theme */
.theme-toggle.active {
    background: #e0e0e0;
    border-color: #ccc;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.1);
}

.theme-toggle.active::after {
    transform: translateX(22px);
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.theme-toggle.active .toggle-icons .fa-sun {
    color: #ffd700;
}

.theme-toggle.active .toggle-icons .fa-moon {
    color: #666;
}

/* Hover Effects */
.theme-toggle:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.theme-toggle:hover::after {
    box-shadow: 0 2px 12px rgba(139, 128, 0, 0.4);
}

.theme-toggle.active:hover {
    border-color: #999;
}

.theme-toggle.active:hover::after {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

/* White Theme body styles */
body.white-theme .theme-toggle {
    background: #d0d0d0 !important;
    border-color: #bbb !important;
}

body.white-theme .theme-toggle::after {
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

body.white-theme .theme-toggle.active {
    background: #333 !important;
    border-color: #444 !important;
}

body.white-theme .theme-toggle.active::after {
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2) !important;
}

body.white-theme .theme-toggle .toggle-icons .fa-sun {
    color: #ffd700 !important;
}

body.white-theme .theme-toggle .toggle-icons .fa-moon {
    color: #888 !important;
}

body.white-theme .theme-toggle.active .toggle-icons .fa-sun {
    color: #ffd700 !important;
}

body.white-theme .theme-toggle.active .toggle-icons .fa-moon {
    color: #aaa !important;
}

/* Responsive */
@media (max-width: 768px) {
    .theme-toggle {
        width: 42px;
        height: 22px;
        padding: 2px;
    }

    .theme-toggle::after {
        width: 16px;
        height: 16px;
        left: 2px;
    }

    .theme-toggle.active::after {
        transform: translateX(20px);
    }

    .theme-toggle .toggle-icons i {
        font-size: 0.55rem;
        line-height: 16px;
    }

    .theme-toggle .toggle-icons {
        padding: 0 3px;
    }
}

@media (max-width: 480px) {
    .theme-toggle {
        width: 38px;
        height: 20px;
        padding: 2px;
    }

    .theme-toggle::after {
        width: 14px;
        height: 14px;
        left: 2px;
    }

    .theme-toggle.active::after {
        transform: translateX(18px);
    }

    .theme-toggle .toggle-icons i {
        font-size: 0.5rem;
        line-height: 14px;
    }

    .theme-toggle .toggle-icons {
        padding: 0 2px;
    }
}

/* Accessibility */
.theme-toggle:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    .theme-toggle,
    .theme-toggle::after,
    .theme-toggle .toggle-icons i {
        transition: none !important;
    }
}

/* ============================================
   WHITE THEME OVERRIDES - PUT THIS AT THE END
   ============================================ */

/* Force white background on everything */
body.white-theme {
    background-color: #ffffff !important;
    color: #000000 !important;
}

/* Force sections to be white */
body.white-theme .hero,
body.white-theme .about,
body.white-theme #skills,
body.white-theme #projects,
body.white-theme #testimonials,
body.white-theme #services,
body.white-theme #contact,
body.white-theme .section {
    background-color: #ffffff !important;
}

/* Navbar */
body.white-theme .navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom: 1px solid #ddd !important;
}

body.white-theme .navbar .logo {
    color: #000000 !important;
}

body.white-theme .nav-menu a {
    color: #444444 !important;
}

body.white-theme .nav-menu a:hover,
body.white-theme .nav-menu a.active {
    color: #000000 !important;
}

/* Hero Section */
body.white-theme .hero-text h1 {
    color: #000000 !important;
}

body.white-theme .hero-text h3 {
    color: #000000 !important;
}

body.white-theme .hero-text p {
    color: #444444 !important;
}

body.white-theme .hero-stats .stat-box h4 {
    color: #000000 !important;
}

body.white-theme .hero-stats .stat-box p {
    color: #444444 !important;
}

body.white-theme .info-item h4 {
    color: #000000 !important;
}

body.white-theme .info-item span {
    color: #444444 !important;
}

body.white-theme .hero-info {
    border-top-color: #ddd !important;
}

body.white-theme .hero-img img {
    border-color: #ddd !important;
    filter: grayscale(0%) !important;
}

/* Section Titles */
body.white-theme .section-title {
    color: #000000 !important;
}

body.white-theme .section-title span {
    color: #000000 !important;
}

body.white-theme .section-title span::after {
    background: rgba(0, 0, 0, 0.1) !important;
}

body.white-theme .section-subtitle {
    color: #444444 !important;
}

/* Cards */
body.white-theme .profile-card,
body.white-theme .project-card,
body.white-theme .service-card,
body.white-theme .testimonial-card,
body.white-theme .contact-item,
body.white-theme .contact-form-wrapper,
body.white-theme .skill-category {
    background: #ffffff !important;
    border-color: #e0e0e0 !important;
}

body.white-theme .profile-card:hover,
body.white-theme .project-card:hover,
body.white-theme .service-card:hover,
body.white-theme .testimonial-card:hover {
    border-color: #000000 !important;
}

/* About Section */
body.white-theme .who-am-i h3 {
    color: #000000 !important;
}

body.white-theme .who-am-i h3 span {
    color: #000000 !important;
}

body.white-theme .who-am-i p {
    color: #444444 !important;
}

body.white-theme .stat-box .stat-number {
    color: #000000 !important;
}

body.white-theme .stat-box .stat-label {
    color: #444444 !important;
}

/* Tabs */
body.white-theme .tab-btn {
    border-color: #ddd !important;
    color: #444 !important;
}

body.white-theme .tab-btn i {
    color: #000000 !important;
}

body.white-theme .tab-btn.active,
body.white-theme .tab-btn:hover {
    background: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
}

body.white-theme .tab-btn.active i,
body.white-theme .tab-btn:hover i {
    color: #ffffff !important;
}

body.white-theme .about-tabs {
    border-bottom-color: #ddd !important;
}

/* Timeline */
body.white-theme .timeline-title {
    color: #000000 !important;
}

body.white-theme .timeline-subtitle {
    color: #000000 !important;
}

body.white-theme .timeline-description {
    color: #444444 !important;
}

body.white-theme .timeline-meta {
    color: #888888 !important;
}

body.white-theme .timeline-badge {
    background: rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    color: #000000 !important;
}

body.white-theme .timeline-list li {
    color: #444444 !important;
}

body.white-theme .timeline-item {
    border-left-color: #ddd !important;
}

body.white-theme .timeline-marker {
    background: #000000 !important;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1) !important;
}

/* Skills */
body.white-theme .skill-category h3 {
    color: #000000 !important;
    border-bottom-color: #ddd !important;
}

body.white-theme .skill-info {
    color: #444444 !important;
}

body.white-theme .skill-info span {
    color: #444444 !important;
}

body.white-theme .skill-progress {
    background: #e0e0e0 !important;
}

/* Projects */
body.white-theme .project-title {
    color: #000000 !important;
}

body.white-theme .project-desc {
    color: #444444 !important;
}

body.white-theme .tag {
    background: rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    color: #000000 !important;
}

/* Buttons */
body.white-theme .btn {
    background: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
}

body.white-theme .btn:hover {
    background: transparent !important;
    color: #000000 !important;
}

body.white-theme .load-more-btn {
    border-color: #000000 !important;
    color: #000000 !important;
}

body.white-theme .load-more-btn:hover {
    background: #000000 !important;
    color: #ffffff !important;
}

/* Testimonials */
body.white-theme .testimonial-text {
    color: #444444 !important;
}

body.white-theme .testimonial-info h4 {
    color: #000000 !important;
}

body.white-theme .testimonial-info p {
    color: #000000 !important;
}

body.white-theme .testimonial-avatar {
    background: #000000 !important;
    color: #ffffff !important;
}

/* Services */
body.white-theme .service-card h3 {
    color: #000000 !important;
}

body.white-theme .service-card p {
    color: #444444 !important;
}

body.white-theme .service-card i {
    color: #000000 !important;
}

/* Contact */
body.white-theme .contact-item h4 {
    color: #000000 !important;
}

body.white-theme .contact-item p {
    color: #444444 !important;
}

body.white-theme .contact-item i {
    color: #000000 !important;
}

body.white-theme .contact-form-wrapper h3 {
    color: #000000 !important;
}

body.white-theme .form-group label {
    color: #444444 !important;
}

body.white-theme .form-group input,
body.white-theme .form-group textarea {
    background: #ffffff !important;
    border-color: #ddd !important;
    color: #000000 !important;
}

body.white-theme .form-group input:focus,
body.white-theme .form-group textarea:focus {
    border-color: #000000 !important;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05) !important;
}

body.white-theme .btn-submit {
    background: #000000 !important;
    color: #ffffff !important;
}

body.white-theme .btn-submit:hover {
    background: #333333 !important;
}

body.white-theme .contact-social {
    border-top-color: #ddd !important;
}

/* Back to Top */
body.white-theme .back-to-top {
    background: #000000 !important;
    color: #ffffff !important;
}

body.white-theme .back-to-top:hover {
    background: #333333 !important;
}

/* Footer */
body.white-theme footer {
    background: #ffffff !important;
    border-top-color: #ddd !important;
}

body.white-theme footer p {
    color: #666666 !important;
}

/* Floating Badges */
body.white-theme .floating-badge {
    background: #ffffff !important;
    border-color: #000000 !important;
}

body.white-theme .floating-badge span {
    color: #000000 !important;
}

body.white-theme .floating-badge i {
    color: #000000 !important;
}

/* Like Button */
body.white-theme .like-btn {
    border-color: #ddd !important;
    color: #444 !important;
}

body.white-theme .like-btn:hover {
    border-color: #000000 !important;
    color: #000000 !important;
}

body.white-theme .like-btn.liked {
    border-color: #ff4757 !important;
    color: #ff4757 !important;
}

body.white-theme .like-text {
    color: #888888 !important;
}

/* Social Links */
body.white-theme .social-link {
    background: #ffffff !important;
    border-color: #ddd !important;
    color: #444 !important;
}

body.white-theme .social-link:hover {
    background: #000000 !important;
    color: #ffffff !important;
}

/* Scrollbar */
body.white-theme::-webkit-scrollbar-track {
    background: #ffffff !important;
}

body.white-theme::-webkit-scrollbar-thumb {
    background: #000000 !important;
}

/* Mobile Menu */
@media (max-width: 768px) {
    body.white-theme .nav-menu {
        background: rgba(255, 255, 255, 0.98) !important;
    }
}

body.white-theme .hamburger {
    color: #000000 !important;
}

body.white-theme .hamburger:hover {
    background: rgba(0, 0, 0, 0.05) !important;
}

/* Typed text */
body.white-theme .typed-text {
    color: #000000 !important;
}

/* Progress bar */
body.white-theme .modern-progress {
    background: #000000 !important;
}

/* Form message */
body.white-theme .form-message-modern {
    background: #ffffff !important;
    border-color: #ddd !important;
}

/* Certificate */
body.white-theme .certificate-item {
    background: #ffffff !important;
    border-color: #ddd !important;
}

body.white-theme .certificate-icon {
    background: rgba(0, 0, 0, 0.05) !important;
}

body.white-theme .certificate-icon i {
    color: #000000 !important;
}

body.white-theme .certificate-badge {
    background: rgba(0, 0, 0, 0.05) !important;
    color: #000000 !important;
}

body.white-theme .certificate-desc {
    color: #444444 !important;
}

body.white-theme .certificate-meta {
    color: #888888 !important;
}
/* ===== PROFESSIONAL SERVICES SECTION ===== */

#services {
    background: var(--bg-color);
    transition: background 0.3s ease;
}

#services .section-subtitle {
    color: var(--text-gray);
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    max-width: 700px;
    margin: 15px auto 0;
    line-height: 1.8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: clamp(25px, 4vw, 35px);
    margin-top: 10px;
}

/* ===== SERVICE CARD ===== */
.service-card {
    background: var(--card-bg);
    padding: clamp(30px, 5vw, 40px) clamp(20px, 4vw, 30px);
    border-radius: var(--radius-lg);
    text-align: left;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light), var(--primary-color));
    background-size: 400% 400%;
    border-radius: var(--radius-lg);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.5s ease;
    animation: gradientBorder 3s ease infinite;
}

.service-card:hover::before {
    opacity: 1;
}

@keyframes gradientBorder {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: transparent;
    box-shadow: var(--shadow-lg), 0 0 30px rgba(139, 128, 0, 0.1);
}

/* Service Icon */
.service-icon {
    width: clamp(60px, 8vw, 70px);
    height: clamp(60px, 8vw, 70px);
    background: rgba(139, 128, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s ease;
    border: 1px solid rgba(139, 128, 0, 0.2);
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    transform: rotateY(180deg) scale(1.1);
    border-color: var(--primary-color);
}

.service-icon i {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon i {
    color: #000;
}

/* Service Title */
.service-card h3 {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    margin-bottom: 12px;
    color: var(--text-white);
    font-weight: 700;
    transition: color 0.3s ease;
}

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

/* Service Description */
.service-card p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    margin-bottom: 18px;
}

/* Service Features */
.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.service-features li {
    color: var(--text-gray);
    font-size: clamp(0.8rem, 2vw, 0.85rem);
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.service-features li:hover {
    color: var(--text-white);
    transform: translateX(5px);
}

.service-features li i {
    color: var(--primary-color);
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Service Button */
.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-size: clamp(0.8rem, 2vw, 0.85rem);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    width: fit-content;
}

.service-btn i {
    transition: transform 0.3s ease;
}

.service-btn:hover {
    background: var(--primary-color);
    color: #000;
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.service-btn:hover i {
    transform: translateX(5px);
}

/* ============================================================
   WHITE THEME - SERVICES SECTION
   ============================================================ */

body.white-theme #services {
    background: #ffffff !important;
}

body.white-theme .service-card {
    background: #ffffff !important;
    border-color: #e0e0e0 !important;
}

body.white-theme .service-card:hover {
    border-color: #000000 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
}

body.white-theme .service-card::before {
    background: linear-gradient(45deg, #000000, #444444, #000000) !important;
}

body.white-theme .service-icon {
    background: rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

body.white-theme .service-card:hover .service-icon {
    background: #000000 !important;
    border-color: #000000 !important;
}

body.white-theme .service-card:hover .service-icon i {
    color: #ffffff !important;
}

body.white-theme .service-icon i {
    color: #000000 !important;
}

body.white-theme .service-card h3 {
    color: #000000 !important;
}

body.white-theme .service-card:hover h3 {
    color: #000000 !important;
}

body.white-theme .service-card p {
    color: #555555 !important;
}

body.white-theme .service-features li {
    color: #555555 !important;
}

body.white-theme .service-features li:hover {
    color: #000000 !important;
}

body.white-theme .service-features li i {
    color: #000000 !important;
}

body.white-theme .service-btn {
    color: #000000 !important;
    border-color: #000000 !important;
}

body.white-theme .service-btn:hover {
    background: #000000 !important;
    color: #ffffff !important;
}

/* ============================================================
   RESPONSIVE SERVICES
   ============================================================ */

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .service-card {
        text-align: center;
        padding: 30px 20px;
    }
    
    .service-icon {
        margin: 0 auto 20px;
    }
    
    .service-features li {
        justify-content: center;
    }
    
    .service-btn {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 25px 16px;
    }
    
    .service-features li {
        font-size: 0.8rem;
        padding: 4px 0;
    }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

.service-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@media (prefers-reduced-motion: reduce) {
    .service-card {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .service-card::before,
    .service-card:hover,
    .service-icon,
    .service-btn {
        transition: none !important;
    }
}
/* ===== PREMIUM TESTIMONIALS SECTION ===== */

#testimonials {
    background: var(--bg-color);
    transition: background 0.3s ease;
    padding: clamp(60px, 8vw, 100px) 0;
}

#testimonials .section-subtitle {
    color: var(--text-gray);
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    max-width: 600px;
    margin: 15px auto 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: clamp(25px, 4vw, 35px);
    margin-top: 10px;
}

/* ===== TESTIMONIAL CARD ===== */
.testimonial-card {
    background: var(--card-bg);
    padding: clamp(25px, 4vw, 35px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--primary-color), var(--primary-light));
    transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover::before {
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

/* Testimonial Header */
.testimonial-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.testimonial-avatar {
    width: clamp(60px, 10vw, 70px);
    height: clamp(60px, 10vw, 70px);
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--primary-color);
    transition: all 0.4s ease;
}

.testimonial-card:hover .testimonial-avatar {
    border-color: var(--primary-light);
    transform: scale(1.05) rotate(-5deg);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Avatar fallback (if image fails) */
.testimonial-avatar .avatar-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #000;
    font-weight: 700;
}

.testimonial-info h4 {
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
    color: var(--text-white);
    margin-bottom: 2px;
    font-weight: 700;
}

.testimonial-info p {
    color: var(--primary-color);
    font-size: clamp(0.75rem, 2vw, 0.85rem);
    margin: 0;
}

/* Rating Stars */
.testimonial-rating {
    display: flex;
    gap: 3px;
    margin-top: 5px;
}

.testimonial-rating i {
    color: #ffd700;
    font-size: 0.75rem;
}

.testimonial-rating i.far {
    color: var(--text-dark);
}

/* Quote Icon */
.testimonial-quote {
    position: absolute;
    top: 20px;
    right: 25px;
    opacity: 0.08;
    font-size: 4rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.testimonial-card:hover .testimonial-quote {
    opacity: 0.15;
    transform: scale(1.1) rotate(-5deg);
}

.testimonial-quote i {
    display: block;
}

/* Testimonial Text */
.testimonial-text {
    color: var(--text-gray);
    font-style: italic;
    line-height: 1.8;
    font-size: clamp(0.85rem, 2.5vw, 0.95rem);
    margin: 10px 0 18px;
    padding-right: 20px;
    position: relative;
    z-index: 1;
}

/* Testimonial Footer */
.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.testimonial-date {
    color: var(--text-dark);
    font-size: 0.75rem;
}

.testimonial-badge {
    background: rgba(139, 128, 0, 0.15);
    color: var(--primary-color);
    padding: 3px 12px;
    border-radius: 30px;
    font-size: 0.65rem;
    font-weight: 600;
    border: 1px solid rgba(139, 128, 0, 0.2);
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-badge {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
}

/* ============================================================
   WHITE THEME - TESTIMONIALS
   ============================================================ */

body.white-theme #testimonials {
    background: #ffffff !important;
}

body.white-theme .testimonial-card {
    background: #ffffff !important;
    border-color: #e0e0e0 !important;
}

body.white-theme .testimonial-card:hover {
    border-color: #000000 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
}

body.white-theme .testimonial-card::before {
    background: linear-gradient(180deg, #000000, #444444) !important;
}

body.white-theme .testimonial-info h4 {
    color: #000000 !important;
}

body.white-theme .testimonial-info p {
    color: #000000 !important;
}

body.white-theme .testimonial-text {
    color: #555555 !important;
}

body.white-theme .testimonial-quote {
    color: #000000 !important;
}

body.white-theme .testimonial-footer {
    border-top-color: #e0e0e0 !important;
}

body.white-theme .testimonial-date {
    color: #888888 !important;
}

body.white-theme .testimonial-badge {
    background: rgba(0, 0, 0, 0.05) !important;
    color: #000000 !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

body.white-theme .testimonial-card:hover .testimonial-badge {
    background: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
}

body.white-theme .testimonial-avatar {
    border-color: #000000 !important;
}

body.white-theme .testimonial-card:hover .testimonial-avatar {
    border-color: #444444 !important;
}

/* ============================================================
   RESPONSIVE TESTIMONIALS
   ============================================================ */

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .testimonial-card {
        text-align: center;
        padding: 25px 20px;
    }
    
    .testimonial-header {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-avatar {
        width: 70px;
        height: 70px;
    }
    
    .testimonial-rating {
        justify-content: center;
    }
    
    .testimonial-text {
        padding-right: 0;
    }
    
    .testimonial-quote {
        display: none;
    }
    
    .testimonial-footer {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        padding: 20px 16px;
    }
    
    .testimonial-avatar {
        width: 60px;
        height: 60px;
    }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

.testimonial-card {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    animation: testimonialFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }
.testimonial-card:nth-child(4) { animation-delay: 0.4s; }
.testimonial-card:nth-child(5) { animation-delay: 0.5s; }
.testimonial-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes testimonialFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

@media (prefers-reduced-motion: reduce) {
    .testimonial-card {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .testimonial-card::before,
    .testimonial-card:hover,
    .testimonial-avatar,
    .testimonial-quote,
    .testimonial-badge {
        transition: none !important;
    }
}

/* ============================================================
   SCROLL TRIGGERED ANIMATIONS (Optional)
   ============================================================ */

.testimonial-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* For browsers that don't support intersection observer */
@supports not (animation: test) {
    .testimonial-card {
        opacity: 1;
        transform: none;
    }
}
/* ============================================================
   SECTION BADGE
   ============================================================ */

.section-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(139, 128, 0, 0.12);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
    border: 1px solid rgba(139, 128, 0, 0.15);
}

body.white-theme .section-badge {
    background: rgba(0, 0, 0, 0.05);
    color: #000000;
    border-color: rgba(0, 0, 0, 0.1);
}

/* ============================================================
   PREMIUM TESTIMONIALS
   ============================================================ */

#testimonials {
    background: var(--bg-color);
    transition: background 0.3s ease;
    padding: clamp(60px, 8vw, 100px) 0;
}

#testimonials .section-subtitle {
    color: var(--text-gray);
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    max-width: 600px;
    margin: 15px auto 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: clamp(25px, 4vw, 35px);
    margin-top: 10px;
}

/* Featured Testimonial */
.testimonial-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(139, 128, 0, 0.05);
}

.testimonial-card.featured::before {
    height: 100%;
}

/* Testimonial Card */
.testimonial-card {
    background: var(--card-bg);
    padding: clamp(25px, 4vw, 35px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--primary-color), var(--primary-light));
    transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover::before {
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

/* Testimonial Header */
.testimonial-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.testimonial-avatar {
    width: clamp(60px, 10vw, 72px);
    height: clamp(60px, 10vw, 72px);
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--primary-color);
    transition: all 0.4s ease;
}

.testimonial-card:hover .testimonial-avatar {
    border-color: var(--primary-light);
    transform: scale(1.05) rotate(-5deg);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h4 {
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
    color: var(--text-white);
    margin-bottom: 2px;
    font-weight: 700;
}

.testimonial-info p {
    color: var(--primary-color);
    font-size: clamp(0.75rem, 2vw, 0.85rem);
    margin: 0;
}

.testimonial-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-top: 5px;
}

.testimonial-rating i {
    color: #ffd700;
    font-size: 0.8rem;
}

.testimonial-rating span {
    color: var(--text-gray);
    font-size: 0.75rem;
    margin-left: 4px;
    font-weight: 600;
}

/* Quote Icon */
.testimonial-quote {
    position: absolute;
    top: 20px;
    right: 25px;
    opacity: 0.06;
    font-size: 4.5rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
    line-height: 1;
}

.testimonial-card:hover .testimonial-quote {
    opacity: 0.12;
    transform: scale(1.1) rotate(-5deg);
}

.testimonial-text {
    color: var(--text-gray);
    font-style: italic;
    line-height: 1.8;
    font-size: clamp(0.85rem, 2.5vw, 0.95rem);
    margin: 10px 0 18px;
    padding-right: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 8px;
}

.testimonial-date {
    color: var(--text-dark);
    font-size: 0.78rem;
}

.testimonial-date i {
    margin-right: 5px;
}

.testimonial-badge {
    background: rgba(139, 128, 0, 0.12);
    color: var(--primary-color);
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid rgba(139, 128, 0, 0.15);
    transition: all 0.3s ease;
}

.testimonial-badge i {
    margin-right: 4px;
}

.testimonial-card:hover .testimonial-badge {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
}

/* ============================================================
   PREMIUM SERVICES
   ============================================================ */

#services {
    background: var(--bg-color);
    transition: background 0.3s ease;
    padding: clamp(60px, 8vw, 100px) 0;
}

#services .section-subtitle {
    color: var(--text-gray);
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    max-width: 600px;
    margin: 15px auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: clamp(25px, 4vw, 35px);
    margin-top: 10px;
}

/* Service Card */
.service-card {
    background: var(--card-bg);
    padding: clamp(30px, 5vw, 40px) clamp(20px, 4vw, 30px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

/* Service Icon Wrapper */
.service-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.service-icon {
    width: clamp(60px, 8vw, 70px);
    height: clamp(60px, 8vw, 70px);
    background: rgba(139, 128, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(139, 128, 0, 0.15);
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    transform: rotateY(180deg) scale(1.1);
    border-color: var(--primary-color);
}

.service-icon i {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon i {
    color: #000;
}

.service-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--border-color);
    opacity: 0.3;
    line-height: 1;
}

/* Service Content */
.service-card h3 {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    margin-bottom: 12px;
    color: var(--text-white);
    font-weight: 700;
    transition: color 0.3s ease;
}

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

.service-card p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    margin-bottom: 18px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.service-features li {
    color: var(--text-gray);
    font-size: clamp(0.8rem, 2vw, 0.85rem);
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.service-features li:hover {
    color: var(--text-white);
    transform: translateX(5px);
}

.service-features li i {
    color: var(--primary-color);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-size: clamp(0.8rem, 2vw, 0.85rem);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    width: fit-content;
}

.service-btn i {
    transition: transform 0.3s ease;
}

.service-btn:hover {
    background: var(--primary-color);
    color: #000;
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.service-btn:hover i {
    transform: translateX(5px);
}

/* ============================================================
   WHITE THEME - TESTIMONIALS & SERVICES
   ============================================================ */

body.white-theme #testimonials,
body.white-theme #services {
    background: #ffffff !important;
}

/* White Theme Testimonials */
body.white-theme .testimonial-card {
    background: #ffffff !important;
    border-color: #e0e0e0 !important;
}

body.white-theme .testimonial-card:hover {
    border-color: #000000 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
}

body.white-theme .testimonial-card::before {
    background: linear-gradient(180deg, #000000, #444444) !important;
}

body.white-theme .testimonial-card.featured {
    border-color: #000000 !important;
}

body.white-theme .testimonial-info h4 {
    color: #000000 !important;
}

body.white-theme .testimonial-info p {
    color: #000000 !important;
}

body.white-theme .testimonial-text {
    color: #555555 !important;
}

body.white-theme .testimonial-quote {
    color: #000000 !important;
}

body.white-theme .testimonial-footer {
    border-top-color: #e0e0e0 !important;
}

body.white-theme .testimonial-date {
    color: #888888 !important;
}

body.white-theme .testimonial-badge {
    background: rgba(0, 0, 0, 0.05) !important;
    color: #000000 !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

body.white-theme .testimonial-card:hover .testimonial-badge {
    background: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
}

body.white-theme .testimonial-avatar {
    border-color: #000000 !important;
}

body.white-theme .testimonial-rating span {
    color: #555555 !important;
}

/* White Theme Services */
body.white-theme .service-card {
    background: #ffffff !important;
    border-color: #e0e0e0 !important;
}

body.white-theme .service-card:hover {
    border-color: #000000 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
}

body.white-theme .service-card::before {
    background: linear-gradient(90deg, #000000, #444444) !important;
}

body.white-theme .service-icon {
    background: rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

body.white-theme .service-card:hover .service-icon {
    background: #000000 !important;
    border-color: #000000 !important;
}

body.white-theme .service-card:hover .service-icon i {
    color: #ffffff !important;
}

body.white-theme .service-icon i {
    color: #000000 !important;
}

body.white-theme .service-number {
    color: #dddddd !important;
}

body.white-theme .service-card h3 {
    color: #000000 !important;
}

body.white-theme .service-card:hover h3 {
    color: #000000 !important;
}

body.white-theme .service-card p {
    color: #555555 !important;
}

body.white-theme .service-features li {
    color: #555555 !important;
}

body.white-theme .service-features li:hover {
    color: #000000 !important;
}

body.white-theme .service-features li i {
    color: #000000 !important;
}

body.white-theme .service-btn {
    color: #000000 !important;
    border-color: #000000 !important;
}

body.white-theme .service-btn:hover {
    background: #000000 !important;
    color: #ffffff !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
    .testimonials-grid,
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .testimonial-card,
    .service-card {
        text-align: center;
        padding: 25px 20px;
    }
    
    .testimonial-header {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-avatar {
        width: 70px;
        height: 70px;
    }
    
    .testimonial-rating {
        justify-content: center;
    }
    
    .testimonial-text {
        padding-right: 0;
    }
    
    .testimonial-quote {
        display: none;
    }
    
    .testimonial-footer {
        flex-direction: column;
        gap: 10px;
    }
    
    .service-icon-wrapper {
        justify-content: center;
        gap: 15px;
    }
    
    .service-features li {
        justify-content: center;
    }
    
    .service-btn {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .testimonial-card,
    .service-card {
        padding: 20px 16px;
    }
    
    .testimonial-avatar {
        width: 60px;
        height: 60px;
    }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

.testimonial-card,
.service-card {
    opacity: 0;
    transform: translateY(30px);
    animation: cardFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.testimonial-card:nth-child(1),
.service-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2),
.service-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3),
.service-card:nth-child(3) { animation-delay: 0.3s; }
.testimonial-card:nth-child(4),
.service-card:nth-child(4) { animation-delay: 0.4s; }
.testimonial-card:nth-child(5),
.service-card:nth-child(5) { animation-delay: 0.5s; }
.testimonial-card:nth-child(6),
.service-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .testimonial-card,
    .service-card {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

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

#about {
    background: var(--bg-color);
    transition: background 0.3s ease;
    padding: clamp(60px, 8vw, 100px) 0;
}

#about .section-subtitle {
    color: var(--text-gray);
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    max-width: 700px;
    margin: 15px auto 0;
}

/* ===== ABOUT WRAPPER ===== */
.about-wrapper {
    display: grid;
    grid-template-columns: 0.8fr 1.6fr;
    gap: clamp(30px, 5vw, 50px);
    align-items: start;
    margin-top: 20px;
}

/* ===== PROFILE CARD ===== */
.profile-card {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    padding: 25px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: sticky;
    top: 100px;
}

.profile-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

/* Profile Image */
.profile-image-wrapper {
    position: relative;
}

.profile-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.profile-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.profile-card:hover .profile-image img {
    transform: scale(1.03);
}

.image-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-lg);
    pointer-events: none;
    opacity: 0.5;
    transition: all 0.4s ease;
}

.profile-card:hover .image-border {
    opacity: 1;
    transform: scale(1.02);
}

/* Profile Status */
.profile-status {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00c853;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: var(--card-bg);
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: float 3s ease-in-out infinite;
    z-index: 10;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
}

.floating-badge i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.floating-badge span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-white);
}

.badge-1 {
    top: 20px;
    right: -10px;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 80px;
    left: -10px;
    animation-delay: 0.5s;
}

.badge-3 {
    bottom: 20px;
    right: -10px;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Profile Social */
.profile-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 20px 0 15px;
    flex-wrap: wrap;
}

.social-link {
    width: clamp(40px, 6vw, 45px);
    height: clamp(40px, 6vw, 45px);
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary-color);
    color: #000;
    transform: translateY(-3px) scale(1.05);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-primary);
}

/* Profile Experience */
.profile-experience {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.exp-item {
    text-align: center;
}

.exp-number {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.exp-label {
    display: block;
    font-size: 0.6rem;
    color: var(--text-gray);
    margin-top: 2px;
}

/* ===== ABOUT RIGHT CONTENT ===== */
.about-right {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Who Am I */
.who-am-i h3 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 12px;
    color: var(--text-white);
}

.who-am-i h3 span {
    color: var(--primary-color);
}

.who-am-i p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
    margin-bottom: 15px;
}

.about-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.about-highlights span {
    background: rgba(139, 128, 0, 0.08);
    color: var(--text-gray);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    border: 1px solid rgba(139, 128, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.about-highlights span:hover {
    background: var(--primary-color);
    color: #000;
    transform: translateY(-2px);
}

.about-highlights span i {
    color: var(--primary-color);
}

.about-highlights span:hover i {
    color: #000;
}

/* ===== STATS ===== */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
}

.stat-box {
    background: var(--card-bg);
    padding: 15px 10px;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat-box:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.stat-number {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 3px;
}

.stat-label {
    color: var(--text-gray);
    font-size: clamp(0.7rem, 2vw, 0.75rem);
    line-height: 1.4;
}

/* ===== TABS ===== */
.about-tabs {
    display: flex;
    gap: clamp(8px, 2vw, 12px);
    flex-wrap: wrap;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
}

.tab-btn {
    padding: 8px 20px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(0.75rem, 2vw, 0.85rem);
    font-weight: 500;
}

.tab-btn i {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
}

.tab-btn.active i,
.tab-btn:hover i {
    color: #000;
}

/* ===== TIMELINE ===== */
.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
    padding-top: 20px;
}

.tab-content.active {
    display: block;
}

.timeline-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 30px;
    border-left: 2px dashed var(--border-color);
}

.timeline-marker {
    position: absolute;
    left: -9px;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(139, 128, 0, 0.15);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.2);
    box-shadow: 0 0 0 6px rgba(139, 128, 0, 0.2);
}

.timeline-badge {
    display: inline-block;
    padding: 3px 14px;
    background: rgba(139, 128, 0, 0.1);
    border: 1px solid rgba(139, 128, 0, 0.2);
    border-radius: 30px;
    color: var(--primary-color);
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-title {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    margin-bottom: 4px;
    color: var(--text-white);
}

.timeline-subtitle {
    color: var(--primary-color);
    font-size: clamp(0.85rem, 2vw, 0.9rem);
    margin-bottom: 8px;
}

.timeline-description {
    color: var(--text-gray);
    font-size: clamp(0.85rem, 2vw, 0.9rem);
    line-height: 1.7;
    margin-bottom: 10px;
}

.timeline-meta {
    display: flex;
    gap: 20px;
    font-size: 0.8rem;
    color: var(--text-dark);
    flex-wrap: wrap;
}

.timeline-meta i {
    color: var(--primary-color);
    margin-right: 4px;
}

.timeline-list {
    margin-top: 10px;
}

.timeline-list li {
    color: var(--text-gray);
    font-size: clamp(0.85rem, 2vw, 0.9rem);
    margin-bottom: 6px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.timeline-list li i {
    color: var(--primary-color);
    margin-top: 4px;
}

/* ===== SKILLS MINI GRID ===== */
.skills-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.skill-mini-item {
    background: var(--card-bg);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.skill-mini-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.skill-mini-icon {
    font-size: 1rem;
    color: var(--primary-color);
    margin-right: 8px;
}

.skill-mini-name {
    font-size: 0.85rem;
    color: var(--text-white);
    font-weight: 500;
}

.skill-mini-bar {
    width: 100%;
    height: 4px;
    background: var(--border-color);
    border-radius: 10px;
    margin-top: 6px;
    overflow: hidden;
}

.skill-mini-fill {
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transition: width 1s ease;
}

/* ===== CERTIFICATES ===== */
.certificate-item {
    display: flex;
    gap: 18px;
    padding: 18px 20px;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.certificate-item:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.certificate-icon {
    width: 50px;
    height: 50px;
    background: rgba(139, 128, 0, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.certificate-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.certificate-details {
    flex: 1;
}

.certificate-badge {
    display: inline-block;
    padding: 2px 12px;
    background: rgba(139, 128, 0, 0.08);
    border-radius: 30px;
    color: var(--primary-color);
    font-size: 0.65rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.certificate-details h4 {
    font-size: 1rem;
    color: var(--text-white);
    margin-bottom: 2px;
}

.certificate-issuer {
    color: var(--primary-color);
    font-size: 0.8rem;
    margin-bottom: 4px;
}

.certificate-desc {
    color: var(--text-gray);
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.certificate-meta {
    display: flex;
    gap: 16px;
    font-size: 0.75rem;
    color: var(--text-dark);
    flex-wrap: wrap;
}

.certificate-meta i {
    color: var(--primary-color);
    margin-right: 4px;
}

/* ============================================================
   WHITE THEME - ABOUT SECTION
   ============================================================ */

body.white-theme #about {
    background: #ffffff !important;
}

body.white-theme .profile-card {
    background: #ffffff !important;
    border-color: #e0e0e0 !important;
}

body.white-theme .profile-card:hover {
    border-color: #000000 !important;
}

body.white-theme .profile-status {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #000000 !important;
    border-color: #e0e0e0 !important;
}

body.white-theme .floating-badge {
    background: #ffffff !important;
    border-color: #000000 !important;
}

body.white-theme .floating-badge span {
    color: #000000 !important;
}

body.white-theme .floating-badge i {
    color: #000000 !important;
}

body.white-theme .social-link {
    background: #ffffff !important;
    border-color: #e0e0e0 !important;
    color: #444 !important;
}

body.white-theme .social-link:hover {
    background: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
}

body.white-theme .exp-number {
    color: #000000 !important;
}

body.white-theme .who-am-i h3 {
    color: #000000 !important;
}

body.white-theme .who-am-i p {
    color: #555555 !important;
}

body.white-theme .about-highlights span {
    background: rgba(0, 0, 0, 0.05) !important;
    color: #555555 !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

body.white-theme .about-highlights span:hover {
    background: #000000 !important;
    color: #ffffff !important;
}

body.white-theme .about-highlights span i {
    color: #000000 !important;
}

body.white-theme .stat-box {
    background: #ffffff !important;
    border-color: #e0e0e0 !important;
}

body.white-theme .stat-number {
    color: #000000 !important;
}

body.white-theme .stat-label {
    color: #555555 !important;
}

body.white-theme .tab-btn {
    border-color: #e0e0e0 !important;
    color: #555555 !important;
}

body.white-theme .tab-btn i {
    color: #000000 !important;
}

body.white-theme .tab-btn.active,
body.white-theme .tab-btn:hover {
    background: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
}

body.white-theme .tab-btn.active i,
body.white-theme .tab-btn:hover i {
    color: #ffffff !important;
}

body.white-theme .timeline-title {
    color: #000000 !important;
}

body.white-theme .timeline-description {
    color: #555555 !important;
}

body.white-theme .timeline-meta {
    color: #888888 !important;
}

body.white-theme .timeline-list li {
    color: #555555 !important;
}

body.white-theme .skill-mini-item {
    background: #ffffff !important;
    border-color: #e0e0e0 !important;
}

body.white-theme .skill-mini-name {
    color: #000000 !important;
}

body.white-theme .certificate-item {
    background: #ffffff !important;
    border-color: #e0e0e0 !important;
}

body.white-theme .certificate-details h4 {
    color: #000000 !important;
}

body.white-theme .certificate-desc {
    color: #555555 !important;
}

body.white-theme .certificate-meta {
    color: #888888 !important;
}

body.white-theme .certificate-icon {
    background: rgba(0, 0, 0, 0.05) !important;
}

body.white-theme .certificate-icon i {
    color: #000000 !important;
}

body.white-theme .certificate-badge {
    background: rgba(0, 0, 0, 0.05) !important;
    color: #000000 !important;
}

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

@media (max-width: 1024px) {
    .about-wrapper {
        grid-template-columns: 1fr;
    }
    
    .profile-card {
        max-width: 400px;
        margin: 0 auto;
        position: static;
    }
    
    .profile-experience {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .about-wrapper {
        gap: 30px;
    }
    
    .profile-card {
        max-width: 350px;
    }
    
    .floating-badge {
        display: none;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-tabs {
        justify-content: center;
    }
    
    .tab-btn {
        padding: 6px 14px;
        font-size: 0.75rem;
    }
    
    .skills-mini-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-experience {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .certificate-item {
        flex-direction: column;
        text-align: center;
    }
    
    .certificate-icon {
        margin: 0 auto;
    }
    
    .certificate-meta {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .profile-card {
        max-width: 100%;
        padding: 16px;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .about-tabs {
        flex-direction: column;
        align-items: stretch;
    }
    
    .tab-btn {
        justify-content: center;
    }
    
    .profile-experience {
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
    }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-content {
    animation: fadeIn 0.4s ease;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .profile-card,
    .stat-box,
    .skill-mini-item,
    .certificate-item {
        animation: none !important;
        transition: none !important;
    }
    
    .floating-badge {
        animation: none !important;
    }
}/* ============================================================
   DYNAMIC IMAGE SLIDER - WORKING VERSION
   ============================================================ */

.hero-img {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-slider-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background: var(--bg-color);
    border: 3px solid var(--primary-color);
    transition: all 0.5s ease;
}

.image-slider-container:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 80px rgba(139, 128, 0, 0.25);
}

/* ===== IMAGE SLIDER ===== */
.image-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.slider-image.active {
    opacity: 1;
    z-index: 1;
}

/* ===== SLIDER OVERLAY ===== */
.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(139, 128, 0, 0.04) 0%, 
        transparent 40%, 
        rgba(139, 128, 0, 0.02) 100%
    );
    pointer-events: none;
    z-index: 2;
}

/* ===== DOTS NAVIGATION ===== */
.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
    padding: 6px 16px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s ease;
}

.dot:hover {
    transform: scale(1.3);
    background: rgba(255, 255, 255, 0.6);
}

.dot.active {
    background: var(--primary-color);
    width: 28px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(139, 128, 0, 0.3);
}

/* ===== IMAGE COUNTER ===== */
.image-counter {
    position: absolute;
    top: 15px;
    right: 15px;
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 3;
    letter-spacing: 1px;
}

.counter-sep {
    margin: 0 4px;
    color: rgba(255, 255, 255, 0.3);
}

/* ============================================================
   WHITE THEME
   ============================================================ */

body.white-theme .image-slider-container {
    border-color: rgba(0, 0, 0, 0.2) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08) !important;
}

body.white-theme .image-slider-container:hover {
    border-color: #000000 !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12) !important;
}

body.white-theme .slider-dots {
    background: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(0, 0, 0, 0.05) !important;
}

body.white-theme .dot {
    background: rgba(0, 0, 0, 0.2) !important;
}

body.white-theme .dot.active {
    background: #000000 !important;
}

body.white-theme .image-counter {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #000000 !important;
    border-color: rgba(0, 0, 0, 0.05) !important;
}

body.white-theme .counter-sep {
    color: rgba(0, 0, 0, 0.3) !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
    .image-slider-container {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .image-slider-container {
        max-width: 280px;
    }
    
    .slider-dots {
        bottom: 10px;
        gap: 8px;
        padding: 4px 12px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    .dot.active {
        width: 20px;
    }
    
    .image-counter {
        font-size: 0.65rem;
        padding: 3px 10px;
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .image-slider-container {
        max-width: 220px;
        border-width: 2px;
    }
    
    .slider-dots {
        bottom: 8px;
        gap: 6px;
        padding: 3px 10px;
    }
    
    .dot {
        width: 6px;
        height: 6px;
    }
    
    .dot.active {
        width: 16px;
    }
    
    .image-counter {
        display: none;
    }
}



/* ===== CLEAN TAG & HERO FRAME (EXTRACTED FROM INLINE HTML) ===== */
.clean-tag {
    display: inline-block;
    font-size: 0.78rem;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-gray);
    border: 1px solid var(--border-color);
    line-height: 1.2;
    white-space: nowrap;
}

body.white-theme .clean-tag {
    background: #f3f4f6 !important;
    color: #4b5563 !important;
    border-color: #e5e7eb !important;
}

#home .portfolio-hero-frame {
    box-sizing: border-box !important;
    width: min(100%, 420px) !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: min(70vh, 560px) !important;
    aspect-ratio: 4 / 5 !important;
    margin-inline: auto !important;
    overflow: hidden !important;
    position: relative !important;
    border-radius: 24px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

#home .portfolio-hero-frame img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 28% !important;
}

@media (max-width: 768px) {
    #home .portfolio-hero-frame {
        width: min(82vw, 360px) !important;
        max-height: 58vh !important;
    }
}

/* Final visual polish and keyboard focus treatment */
:focus-visible {
    outline: 3px solid var(--primary-light);
    outline-offset: 3px;
}

.navbar {
    background: rgba(12, 15, 18, 0.92);
}

.section {
    scroll-margin-top: 76px;
}

.section-title,
.hero-text h1,
.who-am-i h3,
.contact-form-wrapper h3 {
    font-family: var(--font-heading);
    letter-spacing: -0.025em;
}

.hero-text h1 {
    max-width: 14ch;
    line-height: 1.08;
}

.hero-text > div[style*="font-size"] {
    min-height: 2rem;
}

.hero-stats .stat-box {
    padding: 14px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent);
}

.hero-text > .btn + .btn {
    margin-left: 8px;
    background: transparent;
    color: var(--text-white);
    border-color: var(--border-color);
}

.hero-text > .btn + .btn:hover {
    color: var(--primary-light);
    border-color: var(--primary-color);
}

body.white-theme .hero-text > .btn + .btn {
    color: #222;
    border-color: #d1d5db;
}

body.white-theme .hero-text > .btn + .btn:hover {
    color: #111;
    border-color: #a88935;
}

#home .portfolio-hero-frame {
    border: 1px solid rgba(139, 128, 0, 0.55);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38), 0 0 55px rgba(139, 128, 0, 0.08);
}

.project-card,
.contact-item,
.profile-card,
.service-card,
.testimonial-card,
.skill-category {
    border-color: rgba(170, 178, 187, 0.16);
}

@media (max-width: 1024px) {
    .hero-text h1 {
        margin-inline: auto;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .hero-stats .stat-box {
        min-width: 0;
    }

    .hero-text > .btn {
        margin: 5px 3px;
    }

    .hero-text > .btn + .btn {
        margin-left: 3px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }

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

/* Restore the previous two-column hero layout */
#home.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: clamp(90px, 15vw, 120px) 0 clamp(50px, 8vw, 80px);
    background: var(--bg-color);
}

#home .hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: clamp(30px, 5vw, 50px);
    align-items: center;
    max-width: none;
}

#home .hero-text {
    width: auto;
}

#home .hero-text h1 {
    max-width: 14ch;
    margin-bottom: 15px;
    font-size: clamp(1.8rem, 6vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.08;
}

#home .hero-text > div[style*="font-size"] {
    margin-bottom: 20px !important;
    font-size: 1.2rem !important;
    font-weight: 400;
    letter-spacing: normal;
}

#home .hero-paragraph {
    max-width: none;
    margin: 0 0 25px;
    padding: 0;
    border: 0;
    color: var(--text-gray);
    font-size: clamp(0.875rem, 2.5vw, 1rem);
    line-height: 1.8;
}

#home .hero-stats {
    display: flex;
    grid-template-columns: none;
    gap: clamp(15px, 4vw, 30px);
    justify-content: initial;
    max-width: none;
    margin-bottom: 30px;
}

#home .hero-stats .stat-box {
    flex: 1;
    min-width: 70px;
    padding: 14px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent);
    text-align: center;
    box-shadow: none;
}

#home .hero-stats .stat-box:hover {
    transform: none;
    border-color: var(--border-color);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent);
}

#home .hero-stats .stat-box h4 {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
}

#home .hero-stats .stat-box p {
    font-size: clamp(0.7rem, 2vw, 0.75rem);
}

#home .hero-text > .btn + .btn {
    margin-left: 8px;
}

#home .hero-info {
    max-width: none;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
    gap: clamp(20px, 5vw, 40px);
}

#home .info-item h4 {
    color: var(--text-white);
    font-size: clamp(0.75rem, 2vw, 0.875rem);
    letter-spacing: normal;
    text-transform: none;
}

#home .info-item span {
    color: var(--text-gray);
    font-size: clamp(0.7rem, 2vw, 0.875rem);
}

#home .hero-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

body.white-theme #home.hero {
    background: #fff;
}

body.white-theme #home .hero-paragraph,
body.white-theme #home .hero-stats .stat-box p,
body.white-theme #home .info-item span {
    color: #555;
}

body.white-theme #home .hero-stats .stat-box {
    background: #f7f7f7;
}

@media (max-width: 1024px) {
    #home .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    #home .hero-text p {
        margin-right: auto;
        margin-left: auto;
        max-width: 600px;
    }

    #home .hero-stats,
    #home .hero-info {
        justify-content: center;
    }

    #home .hero-img {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    #home.hero {
        min-height: auto;
        padding: 100px 0 55px;
    }

    #home .hero-stats {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    #home .hero-stats {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    #home .hero-info {
        flex-direction: column;
        align-items: center;
    }

    #home .hero-img .portfolio-hero-frame {
        width: min(82vw, 300px) !important;
    }
}
