/* Brutalist Portfolio - Distinctive Design */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    scroll-behavior: smooth;
    font-family: 'IBM Plex Mono', monospace;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--gradient);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ff6b35, #ea580c);
}

/* Selection styling */
::selection {
    background: var(--main-color);
    color: white;
}

::-moz-selection {
    background: var(--main-color);
    color: white;
}

:root {
    /* Brutalist Color Palette - Warm Earth Tones */
    --bg-primary: #1a1612;
    --bg-secondary: #2d2419;
    --text-primary: #f5e6d3;
    --text-secondary: #c9b8a3;
    --accent-brutal: #d4a574;
    --accent-harsh: #e85d04;
    --accent-pop: #faa307;
    --border-heavy: #4a3f35;

    /* Legacy variable mappings for compatibility */
    --bg-color: var(--bg-primary);
    --second-bg-color: var(--bg-secondary);
    --text-color: var(--text-primary);
    --main-color: var(--accent-harsh);
    --accent-color: var(--accent-pop);
    --card-bg: var(--bg-secondary);
    --border-color: var(--border-heavy);

    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-mono: 'IBM Plex Mono', monospace;

    /* Brutalist Shadows - Hard Edges */
    --shadow-brutal: 8px 8px 0px rgba(228, 93, 4, 0.3);
    --shadow-heavy: 12px 12px 0px rgba(228, 93, 4, 0.4);
    --shadow-inset: inset 4px 4px 8px rgba(0, 0, 0, 0.5);
    --shadow: var(--shadow-brutal);
    --gradient: linear-gradient(135deg, var(--accent-harsh), var(--accent-pop));

    /* Spacing */
    --spacing-brutal: 3rem;
    --border-thick: 3px;
}

[data-theme="light"] {
    --bg-primary: #f5e6d3;
    --bg-secondary: #e8d5bd;
    --text-primary: #1a1612;
    --text-secondary: #4a3f35;
    --accent-brutal: #a67c52;
    --accent-harsh: #e85d04;
    --accent-pop: #faa307;
    --border-heavy: #c9b8a3;

    --bg-color: var(--bg-primary);
    --second-bg-color: var(--bg-secondary);
    --text-color: var(--text-primary);
    --main-color: var(--accent-harsh);
    --card-bg: var(--bg-secondary);
    --border-color: var(--border-heavy);
    --shadow-brutal: 8px 8px 0px rgba(228, 93, 4, 0.2);
    --shadow: var(--shadow-brutal);
}

/* Light Theme Text Overrides */
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6,
[data-theme="light"] p,
[data-theme="light"] span,
[data-theme="light"] .greeting-text,
[data-theme="light"] .typing-container h1,
[data-theme="light"] .typing-container h2,
[data-theme="light"] .stat-label,
[data-theme="light"] .service-card h3,
[data-theme="light"] .service-features li,
[data-theme="light"] .contact-item h4,
[data-theme="light"] .footer-section h3,
[data-theme="light"] .footer-section h4,
[data-theme="light"] .about-content h2,
[data-theme="light"] .skill-info span,
[data-theme="light"] .project-info h3,
[data-theme="light"] .heading {
    color: #333333 !important;
}

[data-theme="light"] .hero-description,
[data-theme="light"] .service-card p,
[data-theme="light"] .contact-item span,
[data-theme="light"] .about-content p,
[data-theme="light"] .project-info p,
[data-theme="light"] .footer-section p,
[data-theme="light"] .footer-section ul li a,
[data-theme="light"] .tab-content p,
[data-theme="light"] .services-cta p {
    color: #666666 !important;
}

[data-theme="light"] .header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .particle {
    background: var(--main-color);
    opacity: 0.3;
}

[data-theme="light"] .glass-effect,
[data-theme="light"] .service-card,
[data-theme="light"] .contact-form {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .input-field input,
[data-theme="light"] .input-field textarea {
    background: #f8f9fa;
    border-color: #e0e0e0;
    color: #333;
}

[data-theme="light"] .mobile-menu-btn {
    background: var(--main-color);
    border-color: var(--main-color);
}

/* Light Theme - All Pages Comprehensive Fix */
[data-theme="light"] .resume-hero h1,
[data-theme="light"] .blog-hero h1,
[data-theme="light"] .services-hero h1,
[data-theme="light"] .portfolio-hero h1,
[data-theme="light"] .service-hero h1,
[data-theme="light"] .hero-content h1,
[data-theme="light"] .resume-main h2,
[data-theme="light"] .blog-content h3,
[data-theme="light"] .service-overview h2,
[data-theme="light"] .pricing-section h2,
[data-theme="light"] .profile-info h2,
[data-theme="light"] .skills-section h3,
[data-theme="light"] .languages-section h3,
[data-theme="light"] .interests-section h3,
[data-theme="light"] .education-header h3,
[data-theme="light"] .experience-header h3,
[data-theme="light"] .project-header h3,
[data-theme="light"] .certification-item h3,
[data-theme="light"] .achievement-item h3,
[data-theme="light"] .portfolio-info h3,
[data-theme="light"] .feature-item h3,
[data-theme="light"] .price-card h3 {
    color: #333333 !important;
}

[data-theme="light"] .resume-hero p,
[data-theme="light"] .blog-hero p,
[data-theme="light"] .services-hero p,
[data-theme="light"] .portfolio-hero p,
[data-theme="light"] .service-hero p,
[data-theme="light"] .hero-content p,
[data-theme="light"] .resume-main p,
[data-theme="light"] .blog-content p,
[data-theme="light"] .service-overview p,
[data-theme="light"] .profile-info p,
[data-theme="light"] .education-description p,
[data-theme="light"] .experience-description p,
[data-theme="light"] .project-description p,
[data-theme="light"] .portfolio-info p,
[data-theme="light"] .feature-item p,
[data-theme="light"] .price-card p,
[data-theme="light"] .blog-meta span,
[data-theme="light"] .contact-item span,
[data-theme="light"] .skill-name,
[data-theme="light"] .language-item span,
[data-theme="light"] .proficiency,
[data-theme="light"] .cert-issuer,
[data-theme="light"] .cert-date,
[data-theme="light"] .company,
[data-theme="light"] .institution,
[data-theme="light"] .duration {
    color: #666666 !important;
}

[data-theme="light"] .resume-sidebar,
[data-theme="light"] .resume-main,
[data-theme="light"] .blog-sidebar,
[data-theme="light"] .blog-card,
[data-theme="light"] .service-card,
[data-theme="light"] .portfolio-item,
[data-theme="light"] .feature-item,
[data-theme="light"] .price-card,
[data-theme="light"] .certification-item,
[data-theme="light"] .achievement-item {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .nav-link {
    color: #333333 !important;
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
    color: white !important;
}

[data-theme="light"] .logo-name,
[data-theme="light"] .social-link {
    color: #333333 !important;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.3s ease;
    overflow-x: hidden;
    position: relative;
    font-family: var(--font-mono);
    font-weight: 400;
}

body.menu-open {
    overflow: hidden;
}

/* Atmospheric Brutalist Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(212, 165, 116, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(232, 93, 4, 0.06) 0%, transparent 50%),
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(74, 63, 53, 0.03) 10px, rgba(74, 63, 53, 0.03) 20px);
    pointer-events: none;
    z-index: -1;
}

/* Geometric pattern overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(90deg, rgba(74, 63, 53, 0.02) 1px, transparent 1px),
        linear-gradient(rgba(74, 63, 53, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
    opacity: 0.5;
}

/* Brutalist Typography Hierarchy */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 900;
    line-height: 1.1;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(4rem, 8vw, 8rem);
    text-shadow: 4px 4px 0px var(--accent-brutal);
}

h2 {
    font-size: clamp(3rem, 6vw, 6rem);
    text-shadow: 3px 3px 0px var(--accent-brutal);
}

h3 {
    font-size: clamp(2.4rem, 4vw, 4rem);
}

p,
body,
button,
input,
textarea {
    font-family: var(--font-mono);
    font-weight: 400;
    line-height: 1.7;
}

.hero-name {
    font-size: clamp(4rem, 10vw, 10rem);
    font-weight: 900;
    text-shadow: 6px 6px 0px var(--accent-brutal);
    letter-spacing: -0.03em;
}

.hero-title {
    font-family: var(--font-mono);
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent-pop);
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient);
    z-index: 9999;
    transition: width 0.3s ease;
}

/* Loader */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loader {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--main-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

.loading-text {
    margin-top: 20px;
    font-size: 1.6rem;
    color: var(--text-color);
}

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

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

/* Brutalist Header */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 2rem 9%;
    background: var(--bg-secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 4px solid var(--accent-harsh);
    box-shadow: none;
}

@supports (backdrop-filter: blur(20px)) {
    .header {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(234, 88, 12, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.header:hover::before {
    opacity: 1;
}

.header.scrolled {
    padding: 1.5rem 9%;
    background: var(--bg-primary);
    border-bottom: 3px solid var(--accent-pop);
}

.logo {
    font-size: 2.8rem;
    color: var(--text-primary);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-family: var(--font-display);
    text-shadow: 2px 2px 0px var(--accent-brutal);
}

.logo:hover {
    transform: translateY(-2px);
    text-shadow: 3px 3px 0px var(--accent-harsh);
}

.logo span {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background: linear-gradient(135deg, #ea580c, #ff6b35);
    }

    50% {
        background: linear-gradient(135deg, #ff6b35, #ea580c);
    }
}

.navbar {
    display: flex;
    gap: 2rem;
}

.navbar a {
    font-size: 1.4rem;
    color: var(--text-primary);
    font-weight: 600;
    position: relative;
    transition: color 0.15s ease, transform 0.15s ease;
    padding: 1rem 2rem;
    border: 2px solid transparent;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    will-change: transform;
}

.navbar a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-harsh);
    transition: width 0.2s ease;
}

.navbar a:hover::after,
.navbar a.active::after {
    width: 100%;
}

.navbar a:hover {
    color: var(--accent-pop);
    transform: translateY(-2px);
}

.navbar a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(234, 88, 12, 0.1);
    border-radius: 8px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: -1;
}

.navbar a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar a:hover::before {
    transform: scaleX(1);
}

.navbar a:hover::after,
.navbar a.active::after {
    width: 80%;
}

.navbar a:hover {
    color: var(--main-color);
    transform: translateY(-2px);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.theme-toggle {
    background: none;
    border: 2px solid var(--main-color);
    color: var(--main-color);
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: var(--main-color);
    color: var(--bg-color);
    transform: rotate(180deg);
}

.gradient-btn {
    padding: 1.2rem 2.5rem;
    background: var(--accent-harsh);
    border: 3px solid var(--accent-harsh);
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 4px 4px 0px var(--accent-brutal);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.gradient-btn:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px var(--accent-brutal);
    background: var(--accent-pop);
    border-color: var(--accent-pop);
}

.gradient-btn a {
    color: var(--bg-primary);
    position: relative;
    z-index: 1;
    font-weight: 600;
}

.gradient-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.gradient-btn:hover::before {
    left: 100%;
}

.gradient-btn a {
    color: white;
    position: relative;
    z-index: 1;
}

#menu-icon {
    font-size: 3rem;
    color: var(--main-color);
    display: none;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    padding: 0.5rem;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 3rem;
    height: 2.4rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--main-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
}

/* Home Section */
.home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 12rem 9% 0;
    gap: 8rem;
}

.home-content {
    flex: 1;
}

.typing-container h1 {
    font-size: 5.6rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.name-highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.typing-container h3 {
    font-size: 3.2rem;
    margin-bottom: 3rem;
}

.typing-text {
    color: var(--main-color);
    position: relative;
}

.typing-text::after {
    content: '|';
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

.hero-description {
    font-size: 1.8rem;
    line-height: 1.8;
    margin-bottom: 4rem;
    color: #ccc;
}

.stats-container {
    display: flex;
    gap: 4rem;
    margin-bottom: 4rem;
}

.stat-item {
    background: var(--bg-secondary);
    backdrop-filter: none;
    padding: 2rem;
    border: 3px solid var(--border-heavy);
    box-shadow: 6px 6px 0px var(--accent-brutal);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    will-change: transform;
}

.stat-item:hover {
    transform: translate(3px, 3px);
    box-shadow: 3px 3px 0px var(--accent-brutal);
    border-color: var(--accent-harsh);
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--main-color);
    display: block;
}

.stat-label {
    font-size: 1.4rem;
    color: #ccc;
}

.social-icons {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    background: transparent;
    border: 3px solid var(--accent-harsh);
    font-size: 2.5rem;
    color: var(--accent-harsh);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
    position: relative;
    overflow: visible;
    box-shadow: 4px 4px 0px var(--accent-brutal);
    will-change: transform;
}

.social-icons a:hover {
    background: var(--accent-harsh);
    color: var(--bg-primary);
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px var(--accent-brutal);
}

.btn-group {
    display: flex;
    gap: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    font-size: 1.5rem;
    font-weight: 600;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: visible;
    text-decoration: none;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    will-change: transform;
}

.primary-btn {
    background: var(--accent-harsh);
    color: var(--bg-primary);
    border: 3px solid var(--accent-harsh);
    box-shadow: 6px 6px 0px var(--accent-brutal);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.primary-btn:hover {
    transform: translate(3px, 3px);
    box-shadow: 3px 3px 0px var(--accent-brutal);
}

.secondary-btn {
    background: transparent;
    color: var(--accent-harsh);
    border: 3px solid var(--accent-harsh);
    box-shadow: 6px 6px 0px var(--border-heavy);
    position: relative;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.secondary-btn:hover {
    background: var(--accent-harsh);
    color: var(--bg-primary);
    transform: translate(3px, 3px);
    box-shadow: 3px 3px 0px var(--border-heavy);
}

.btn i {
    transition: transform 0.2s ease;
}

.btn:hover i {
    transform: scale(1.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.home-img {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-container {
    position: relative;
    display: inline-block;
}

.home-img img {
    width: 35rem;
    height: 35rem;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--main-color);
    box-shadow: 0 0 50px rgba(234, 88, 12, 0.3);
    transition: all 0.5s ease;
    position: relative;
    animation: slideInFromRight 1s ease-out, profileFloat 6s ease-in-out infinite 1s;
    display: block;
    margin: 0 auto;
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes profileFloat {

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

    25% {
        transform: translateY(-10px) rotate(1deg);
    }

    50% {
        transform: translateY(-5px) rotate(-1deg);
    }

    75% {
        transform: translateY(-15px) rotate(0.5deg);
    }
}

.home-img img:hover {
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 0 100px rgba(234, 88, 12, 0.6);
    border-color: #ff6b35;
    animation-play-state: paused;
}

.img-container {
    position: relative;
    display: inline-block;
}

.img-container::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent, var(--main-color), transparent);
    animation: borderRotate 4s linear infinite;
    z-index: -1;
    opacity: 0.7;
}

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

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

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    width: 6rem;
    height: 6rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--main-color);
    animation: float 3s ease-in-out infinite;
    animation-delay: var(--delay);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.floating-icon:nth-child(1) {
    top: 10%;
    right: 10%;
}

.floating-icon:nth-child(2) {
    bottom: 20%;
    left: 10%;
}

.floating-icon:nth-child(3) {
    top: 60%;
    right: -10%;
}

@keyframes float {

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

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

/* About Section */
.about {
    min-height: 100vh;
    display: flex;
    align-items: center;
    gap: 8rem;
    padding: 10rem 9%;
    background: var(--second-bg-color);
}

.about-img {
    flex: 1;
    position: relative;
}

.about-img img {
    width: 100%;
    max-width: 40rem;
    border-radius: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.5s ease;
}

.about-img:hover img {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(234, 88, 12, 0.2);
}

.about-info {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    display: flex;
    gap: 2rem;
}

.info-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1rem 2rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.info-item {
    background: var(--card-bg);
    padding: 1rem 2rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow);
}

.info-item i {
    color: var(--main-color);
    font-size: 2rem;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 4rem;
    margin-bottom: 3rem;
}

.about-content h2 span {
    color: var(--main-color);
}

.about-tabs {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.tab-btn {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-color);
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.tab-btn.active,
.tab-btn:hover {
    background: rgba(234, 88, 12, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    box-shadow: 0 8px 32px rgba(234, 88, 12, 0.3);
}

.tab-content {
    display: none;
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 3rem;
}

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

/* Skills Section */
.skills {
    padding: 10rem 9%;
    background: var(--bg-color);
}

.heading {
    text-align: center;
    font-size: 4.5rem;
    margin-bottom: 8rem;
}

.heading span {
    color: var(--main-color);
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(50rem, 1fr));
    gap: 6rem;
}

.skills-category h3 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.skills-category h3 i {
    color: var(--main-color);
}

.skills-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.skill-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

@supports (backdrop-filter: blur(15px)) {
    .skill-item {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(234, 88, 12, 0.1), transparent);
    transition: left 0.5s ease;
}

.skill-item:hover::before {
    left: 100%;
}

.skill-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(234, 88, 12, 0.3);
    border-color: var(--main-color);
}

.skill-item.animate .skill-progress {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
    animation: waterFill 3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes waterFill {
    0% {
        transform: scaleY(0);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(1);
        transform-origin: bottom;
    }
}

.skill-item.animate .skill-progress::before {
    animation-play-state: running;
}

.skill-item.animate .skill-progress::after {
    animation-play-state: running;
}

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

.skill-bar {
    width: 100%;
    height: 1rem;
    background: var(--border-color);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: var(--gradient);
    width: 0;
    transition: width 3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    transform-origin: bottom;
}

.skill-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    animation: waterWave 4s ease-in-out infinite;
    opacity: 0;
    border-radius: 5px;
}

.skill-progress.animate::before {
    opacity: 1;
    animation-delay: 1s;
}

@keyframes waterWave {

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

    25% {
        transform: translateY(-2px) scaleX(1.02);
    }

    50% {
        transform: translateY(-1px) scaleX(0.98);
    }

    75% {
        transform: translateY(-3px) scaleX(1.01);
    }
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg,
            rgba(96, 165, 250, 0.8) 0%,
            rgba(255, 255, 255, 0.6) 50%,
            rgba(96, 165, 250, 0.8) 100%);
    border-radius: 50px;
    animation: waterSurface 3s ease-in-out infinite;
    opacity: 0;
}

.skill-progress.animate::after {
    opacity: 1;
    animation-delay: 1.5s;
}

@keyframes waterSurface {

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

    50% {
        transform: scaleX(1.05) translateY(-1px);
    }
}

/* Services Section */
.services {
    padding: 10rem 9%;
    background: var(--second-bg-color);
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
    gap: 4rem;
    margin-top: 6rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 4rem 3rem;
    border-radius: 2rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.service-link {
    text-decoration: none;
    color: inherit;
    display: block;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(234, 88, 12, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(234, 88, 12, 0.3);
    border-color: var(--main-color);
}

.service-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.5rem 2rem;
    background: var(--gradient);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.2);
}

.service-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(234, 88, 12, 0.4);
}

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

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

.service-icon {
    width: 8rem;
    height: 8rem;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
    color: white;
}

.service-card h3 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.service-card p {
    font-size: 1.6rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 3rem;
}

.service-features {
    list-style: none;
    margin: 3rem 0;
    text-align: left;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--text-color);
}

.service-features i {
    color: var(--main-color);
    font-size: 1.8rem;
}

.services-cta {
    text-align: center;
    margin-top: 6rem;
}

.services-cta p {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #ccc;
}

@media (max-width: 768px) {
    .services {
        padding: 8rem 5%;
    }

    .services-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .service-card {
        padding: 3rem 2rem;
    }
}

/* Blog Post Styles */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 12rem 2rem 8rem;
    line-height: 1.8;
}

.blog-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
}

.blog-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.blog-category {
    background: var(--main-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

.blog-date,
.read-time {
    color: #ccc;
    font-size: 1.4rem;
}

.blog-post h1 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.blog-intro {
    font-size: 1.8rem;
    color: #ccc;
    font-style: italic;
}

.content-section {
    margin-bottom: 4rem;
}

.content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--main-color);
    border-left: 4px solid var(--main-color);
    padding-left: 2rem;
}

.content-section p {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.code-example {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    overflow-x: auto;
}

.code-example pre {
    margin: 0;
    font-family: 'Courier New', monospace;
    font-size: 1.4rem;
    line-height: 1.6;
}

.code-example code {
    color: #e74c3c;
}

code {
    background: var(--border-color);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 1.3rem;
    color: var(--main-color);
}

.tip-box,
.warning-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.tip-box {
    background: rgba(52, 152, 219, 0.1);
    border-left: 4px solid #3498db;
}

.warning-box {
    background: rgba(231, 76, 60, 0.1);
    border-left: 4px solid #e74c3c;
}

.tip-box i,
.warning-box i {
    font-size: 2rem;
    margin-top: 0.2rem;
}

.tip-box i {
    color: #3498db;
}

.warning-box i {
    color: #e74c3c;
}

.blog-footer {
    margin-top: 6rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.blog-tags {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tag {
    background: var(--border-color);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 1.2rem;
}

.blog-navigation {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .blog-post {
        padding: 10rem 1.5rem 6rem;
    }

    .blog-post h1 {
        font-size: 2.8rem;
    }

    .content-section h2 {
        font-size: 2.2rem;
    }

    .blog-meta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .blog-navigation {
        flex-direction: column;
    }

    .code-example {
        padding: 1.5rem;
    }
}

/* Light Theme Blog Styles */
[data-theme="light"] .blog-post h1,
[data-theme="light"] .content-section h2,
[data-theme="light"] .content-section p {
    color: #333333 !important;
}

[data-theme="light"] .blog-date,
[data-theme="light"] .read-time,
[data-theme="light"] .blog-intro {
    color: #666666 !important;
}

[data-theme="light"] .code-example {
    background: #f8f9fa;
    border-color: #e0e0e0;
}

[data-theme="light"] code {
    background: #e9ecef;
    color: #e74c3c;
}

/* Service Pages Styles */
.service-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--second-bg-color);
    padding: 15rem 9% 10rem;
}

.service-details {
    padding: 8rem 9%;
}

.container {
    max-width: 120rem;
    margin: 0 auto;
}

.service-overview h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--main-color);
}

.service-overview p {
    font-size: 1.8rem;
    line-height: 1.8;
    margin-bottom: 4rem;
    color: #ccc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 3rem;
    margin-bottom: 6rem;
}

.feature-item {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(234, 88, 12, 0.2);
}

.feature-item i {
    font-size: 4rem;
    color: var(--main-color);
    margin-bottom: 2rem;
}

.feature-item h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-item p {
    font-size: 1.5rem;
    color: #ccc;
}

.pricing-section {
    text-align: center;
    margin-top: 6rem;
}

.pricing-section h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    color: var(--main-color);
}

.price-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 4rem 3rem;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 40rem;
    margin: 0 auto;
}

.price-card h3 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--main-color);
    margin-bottom: 2rem;
}

.price-card p {
    font-size: 1.6rem;
    color: #ccc;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .service-hero {
        padding: 12rem 5% 8rem;
    }

    .service-details {
        padding: 6rem 5%;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-item {
        padding: 2rem 1.5rem;
    }
}

/* Projects Section */
.projects {
    padding: 10rem 9%;
    background: var(--second-bg-color);
}

.project-filter {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 6rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 1.2rem 2.5rem;
    background: transparent;
    border: 3px solid var(--border-heavy);
    color: var(--text-primary);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
    font-size: 1.4rem;
    box-shadow: 4px 4px 0px var(--accent-brutal);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    will-change: transform;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--accent-harsh);
    border-color: var(--accent-harsh);
    color: var(--bg-primary);
    box-shadow: 2px 2px 0px var(--accent-brutal);
    transform: translate(2px, 2px);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
    gap: 4rem;
}

.project-card {
    background: var(--card-bg);
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.25s ease;
    opacity: 1;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    will-change: transform;
}

@supports (backdrop-filter: blur(15px)) {
    .project-card {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(234, 88, 12, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

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

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(234, 88, 12, 0.25);
    border-color: var(--main-color);
}

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

.project-img {
    position: relative;
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: 25rem;
    object-fit: cover;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}





.project-info {
    padding: 3rem;
}

.project-category {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--main-color);
    color: white;
    border-radius: 2rem;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.project-info h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.project-info a {
    text-decoration: none;
    color: var(--text-color);
}

.project-info p {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #ccc;
}

.project-tech {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.project-tech span {
    padding: 0.5rem 1rem;
    background: var(--border-color);
    color: var(--text-color);
    border-radius: 1rem;
    font-size: 1.2rem;
}

.projects-cta {
    text-align: center;
    margin-top: 6rem;
}

/* Testimonials Section */
.testimonials {
    padding: 10rem 9%;
    background: var(--bg-color);
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
    gap: 4rem;
}

.testimonial-card {
    background: var(--card-bg);
    padding: 4rem 3rem;
    border-radius: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(234, 88, 12, 0.2);
}

.quote-icon {
    font-size: 4rem;
    color: var(--main-color);
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    font-style: italic;
}

.author-info h4 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.author-info span {
    color: var(--main-color);
    font-size: 1.4rem;
}

/* Contact Section */
.contact {
    padding: 10rem 9%;
    background: var(--second-bg-color);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.contact-info p {
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 4rem;
    color: #ccc;
}

.contact-details {
    margin-bottom: 4rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.contact-item i {
    font-size: 2.5rem;
    color: var(--main-color);
}

.contact-item h4 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.contact-item span {
    color: #ccc;
    font-size: 1.4rem;
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    background: var(--main-color);
    color: white;
    border-radius: 50%;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(234, 88, 12, 0.3);
}

.contact-form {
    background: var(--card-bg);
    padding: 4rem;
    border-radius: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@supports (backdrop-filter: blur(20px)) {
    .contact-form {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
}

.form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.input-field {
    position: relative;
}

.input-field input,
.input-field textarea {
    width: 100%;
    padding: 1.5rem 2rem 1.5rem 5rem;
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    color: var(--text-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.input-field input:focus,
.input-field textarea:focus {
    outline: none;
    border-color: var(--main-color);
    box-shadow: 0 0 10px rgba(234, 88, 12, 0.2);
}

.input-field i {
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--main-color);
    font-size: 1.8rem;
}

.submit-btn {
    width: 100%;
    padding: 1.5rem;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 1rem;
    font-size: 1.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(234, 88, 12, 0.3);
}

/* Footer */
.footer {
    background: var(--bg-color);
    padding: 6rem 9% 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient);
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(234, 88, 12, 0.02), transparent);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-section h3 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--main-color);
    transition: width 0.3s ease;
}

.footer-section:hover h3::after {
    width: 100%;
}

.footer-section h4 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--main-color);
}

.footer-section p {
    font-size: 1.5rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #ccc;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 1rem;
}

.footer-section ul li a {
    color: #ccc;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--main-color);
    padding-left: 1rem;
}

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

.footer-links {
    display: flex;
    gap: 3rem;
}

.footer-links a {
    color: #ccc;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

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

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    width: 5rem;
    height: 5rem;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(234, 88, 12, 0.3);
}

/* Page-specific styles */
.blog-hero,
.services-hero,
.resume-hero,
.portfolio-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--second-bg-color);
    padding: 15rem 9% 10rem;
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 2rem;
}

.hero-content h1 span {
    color: var(--main-color);
}

.hero-content p {
    font-size: 1.8rem;
    color: #ccc;
    max-width: 60rem;
    margin: 0 auto;
}

/* Blog Styles */
.blog-section {
    padding: 8rem 9%;
    display: grid;
    grid-template-columns: 1fr 35rem;
    gap: 6rem;
}

.blog-container {
    min-width: 0;
}

.blog-filters {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.blog-grid {
    display: grid;
    gap: 4rem;
}

.blog-card {
    background: var(--card-bg);
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(234, 88, 12, 0.2);
}

.blog-image {
    position: relative;
    height: 25rem;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-category {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: var(--main-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 1.2rem;
}

.blog-content {
    padding: 3rem;
}

.blog-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    color: #ccc;
}

.blog-content h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.blog-content p {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #ccc;
}

.blog-tags {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.blog-tags span {
    padding: 0.5rem 1rem;
    background: var(--border-color);
    border-radius: 1rem;
    font-size: 1.2rem;
}

.read-more {
    color: var(--main-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    gap: 1rem;
}

.blog-sidebar {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 2rem;
    height: fit-content;
    position: sticky;
    top: 12rem;
}

.sidebar-widget {
    margin-bottom: 4rem;
}

.sidebar-widget h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--main-color);
}

/* Services Styles */
.services-overview {
    padding: 8rem 9%;
}

.services-intro {
    text-align: center;
    margin-bottom: 8rem;
}

.services-intro h2 {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.services-intro h2 span {
    color: var(--main-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
    gap: 4rem;
}

.service-card {
    background: var(--card-bg);
    padding: 4rem 3rem;
    border-radius: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
}

.service-card.featured {
    border: 2px solid var(--main-color);
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--main-color);
    color: white;
    padding: 0.5rem 2rem;
    border-radius: 2rem;
    font-size: 1.2rem;
}

.service-icon {
    width: 8rem;
    height: 8rem;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
    color: white;
}

.service-card h3 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.service-features {
    list-style: none;
    margin: 3rem 0;
    text-align: left;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-features i {
    color: var(--main-color);
}

.service-price {
    font-size: 1.8rem;
    margin: 2rem 0;
}

.service-price span {
    font-size: 3rem;
    font-weight: 700;
    color: var(--main-color);
}

/* Resume Styles */
.resume-content {
    padding: 8rem 9%;
}

.resume-container {
    display: grid;
    grid-template-columns: 35rem 1fr;
    gap: 6rem;
    max-width: 140rem;
    margin: 0 auto;
}

.resume-sidebar {
    background: var(--card-bg);
    padding: 4rem 3rem;
    border-radius: 2rem;
    height: fit-content;
}

.profile-image img {
    width: 15rem;
    height: 15rem;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 2rem;
}

.profile-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.title {
    color: var(--main-color);
    font-size: 1.6rem;
    margin-bottom: 3rem;
}

.contact-info {
    margin-bottom: 4rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.contact-item i {
    color: var(--main-color);
    width: 2rem;
}

.skills-section h3,
.languages-section h3,
.interests-section h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.skill-list {
    margin-bottom: 4rem;
}

.skill-item {
    margin-bottom: 2rem;
}

.skill-name {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    display: block;
}

.skill-level {
    background: var(--border-color);
    height: 0.8rem;
    border-radius: 0.4rem;
    overflow: hidden;
}

.skill-bar {
    height: 100%;
    background: var(--gradient);
    border-radius: 0.4rem;
}

.interests-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.interest-tag {
    background: var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 1.2rem;
}

.resume-main {
    background: var(--card-bg);
    padding: 4rem;
    border-radius: 2rem;
}

.resume-main h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--main-color);
}

.experience-item,
.education-item,
.project-item {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
}

.experience-header,
.education-header,
.project-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.experience-header h3,
.education-header h3,
.project-header h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.company,
.institution {
    color: var(--main-color);
    font-size: 1.6rem;
}

.duration {
    background: var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 1.3rem;
}

/* Portfolio Gallery Styles */
.portfolio-section {
    padding: 8rem 9%;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(40rem, 1fr));
    gap: 4rem;
    margin-bottom: 8rem;
}

.portfolio-item {
    will-change: transform;
}

.portfolio-image {
    position: relative;
    height: 30rem;
    overflow: hidden;
    border-radius: 2rem;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(234, 88, 12, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 3rem;
    text-align: center;
    will-change: opacity;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-info h3 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.portfolio-info p {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.portfolio-tech {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.portfolio-tech span {
    background: white;
    color: var(--main-color);
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 1.2rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--card-bg);
    margin: 5% auto;
    padding: 0;
    border-radius: 2rem;
    width: 90%;
    max-width: 80rem;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close {
    position: absolute;
    top: 2rem;
    right: 3rem;
    font-size: 3rem;
    font-weight: bold;
    color: var(--text-color);
    cursor: pointer;
    z-index: 1;
}

.close:hover {
    color: var(--main-color);
}

.modal-header {
    padding: 4rem 4rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.modal-tech {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.modal-tech span {
    background: var(--main-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 1.3rem;
}

.modal-body {
    padding: 4rem;
}

.modal-body img {
    width: 100%;
    height: 30rem;
    object-fit: cover;
    border-radius: 1rem;
    margin-bottom: 3rem;
}

.modal-description h3 {
    font-size: 2.2rem;
    margin: 3rem 0 1.5rem;
    color: var(--main-color);
}

.modal-description p {
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.modal-description ul {
    margin-left: 2rem;
    margin-bottom: 2rem;
}

.modal-description li {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.modal-footer {
    padding: 2rem 4rem 4rem;
    display: flex;
    gap: 2rem;
}

/* Mobile-First Enhanced Styles */
@media (max-width: 768px) {
    html {
        font-size: 55%;
    }

    .header {
        padding: 1.2rem 4%;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
    }

    .mobile-menu-btn {
        display: flex !important;
        background: var(--main-color);
        border: 2px solid var(--main-color);
        box-shadow: 0 4px 15px rgba(234, 88, 12, 0.4);
        z-index: 1002;
        position: relative;
        width: 50px;
        height: 50px;
    }

    .hamburger-line {
        background: white !important;
        width: 24px;
        height: 3px;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 3rem 2rem;
        gap: 2.5rem;
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
        z-index: 1001;
    }

    .navbar.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        width: 280px;
        padding: 2rem 3rem;
        font-size: 2.2rem;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.1);
        border: 2px solid rgba(255, 255, 255, 0.2);
        margin-bottom: 1.5rem;
        justify-content: center;
        gap: 2rem;
        text-decoration: none;
        color: var(--text-color);
        transition: all 0.3s ease;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .nav-link span {
        display: block !important;
        font-weight: 700;
        letter-spacing: 1px;
    }

    .nav-link i {
        font-size: 2.8rem;
    }

    .nav-link:hover,
    .nav-link.active {
        background: var(--main-color);
        border-color: var(--main-color);
        color: white;
        transform: translateY(-5px) scale(1.02);
        box-shadow: 0 10px 30px rgba(234, 88, 12, 0.5);
    }

    .header-actions {
        display: none;
    }

    /* Home Section Mobile */
    .home {
        padding: 12rem 4% 8rem;
        gap: 4rem;
        text-align: center;
    }

    .home-img {
        order: -1;
        margin-bottom: 4rem;
    }

    .home-img img {
        width: 280px;
        height: 280px;
    }

    .typing-container h1 {
        font-size: 3.5rem;
        line-height: 1.1;
    }

    .typing-container h2 {
        font-size: 2.6rem;
    }

    .hero-description {
        font-size: 1.8rem;
        line-height: 1.6;
        margin-bottom: 4rem;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 4rem;
    }

    .stat-item {
        padding: 2.5rem 2rem;
        border-radius: 20px;
    }

    .btn-group {
        flex-direction: column;
        gap: 2rem;
        width: 100%;
    }

    .btn {
        width: 100%;
        padding: 2rem 3rem;
        font-size: 1.8rem;
        border-radius: 15px;
        justify-content: center;
        min-height: 60px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    /* Services Section Mobile */
    .services {
        padding: 8rem 4%;
    }

    .services-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .service-card {
        padding: 3rem 2.5rem;
        border-radius: 20px;
        text-align: center;
        min-height: auto;
    }

    .service-card h3 {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }

    .service-card p {
        font-size: 1.6rem;
        line-height: 1.7;
        margin-bottom: 2.5rem;
    }

    .service-features {
        text-align: left;
        margin: 2.5rem 0;
    }

    .service-features li {
        font-size: 1.5rem;
        margin-bottom: 1.2rem;
        padding: 0.5rem 0;
    }

    .service-cta-btn {
        padding: 1.8rem 2.5rem;
        font-size: 1.6rem;
        border-radius: 15px;
        margin-top: 2.5rem;
        min-height: 55px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .service-card:active {
        transform: translateY(-5px) scale(0.98);
    }

    .services-cta {
        margin-top: 5rem;
        text-align: center;
    }

    .services-cta p {
        font-size: 1.8rem;
        margin-bottom: 2.5rem;
        color: var(--text-color);
    }

    .services-cta .btn {
        width: auto;
        min-width: 200px;
        padding: 1.8rem 3rem;
        font-size: 1.7rem;
        background: var(--gradient);
        color: white;
        border: none;
        border-radius: 50px;
        box-shadow: 0 8px 25px rgba(234, 88, 12, 0.3);
        transition: all 0.3s ease;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .services-cta .btn:hover,
    .services-cta .btn:active {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 12px 35px rgba(234, 88, 12, 0.4);
    }

    /* Contact Section Mobile */
    .contact {
        padding: 8rem 4%;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .contact-form {
        padding: 3rem 2.5rem;
        border-radius: 20px;
    }

    .form-group {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .input-field input,
    .input-field textarea {
        padding: 2rem 2rem 2rem 5.5rem;
        border-radius: 15px;
        font-size: 1.6rem;
        min-height: 55px;
    }

    .submit-btn {
        padding: 2rem;
        border-radius: 15px;
        font-size: 1.8rem;
        min-height: 60px;
        width: 100%;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    /* Footer Mobile */
    .footer {
        padding: 6rem 4% 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 52%;
    }

    .header {
        padding: 1rem 3%;
    }

    .mobile-menu-btn {
        width: 45px;
        height: 45px;
    }

    .hamburger-line {
        width: 20px;
        height: 2.5px;
    }

    .nav-link {
        width: 260px;
        padding: 1.8rem 2.5rem;
        font-size: 2rem;
    }

    .home {
        padding: 10rem 3% 6rem;
    }

    .typing-container h1 {
        font-size: 3rem;
    }

    .typing-container h2 {
        font-size: 2.2rem;
    }

    .home-img img {
        width: 240px;
        height: 240px;
    }

    .services,
    .contact {
        padding: 6rem 3%;
    }

    .service-card {
        padding: 2.5rem 2rem;
    }
}

/* Enhanced Mobile Responsiveness - Enhanced */
@media (max-width: 1200px) {
    html {
        font-size: 55%;
    }

    .home {
        gap: 4rem;
    }

    .about {
        gap: 4rem;
    }

    .header {
        padding: 2rem 6%;
    }
}

/* Hide Contact Me button on screens < 1300px to prevent cutoff */
@media (max-width: 1300px) {
    .header-actions .gradient-btn {
        display: none;
    }

    .header-actions .nav-social {
        display: none;
    }
}

@media (max-width: 991px) {
    html {
        font-size: 52%;
    }

    .header {
        padding: 1.5rem 5%;
        border-radius: 0;
    }

    .header-actions {
        gap: 1rem;
    }

    .header-actions .gradient-btn {
        display: none;
        /* Hidden on screens < 1300px to prevent cutoff */
    }

    .header-actions .nav-social {
        display: none;
    }

    #menu-icon {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.95);
        flex-direction: column;
        padding: 2rem 0;
        transform: translateX(-100%);
        transition: all 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 0 0 20px 20px;
        z-index: 999;
    }

    @supports (backdrop-filter: blur(20px)) {
        .navbar {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
        }
    }

    .navbar.active {
        transform: translateX(0);
    }

    .navbar a {
        margin: 1rem 0;
        text-align: center;
        padding: 1.5rem 2rem;
        font-size: 1.8rem;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .home {
        flex-direction: column;
        gap: 4rem;
        text-align: center;
        padding: 10rem 5% 8rem;
    }

    .home-img img {
        width: 28rem;
        height: 28rem;
    }

    .about {
        flex-direction: column;
        gap: 4rem;
        padding: 8rem 5%;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .blog-section {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .resume-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 50%;
    }

    .header {
        padding: 1.5rem 5%;
        border-radius: 0 0 15px 15px;
    }

    .logo {
        font-size: 2.4rem;
    }

    .home {
        padding: 12rem 5% 8rem;
        gap: 3rem;
    }

    .typing-container h1 {
        font-size: 3.5rem;
        line-height: 1.2;
        margin-bottom: 2rem;
    }

    .typing-container h2 {
        font-size: 2.4rem;
        margin-bottom: 1.5rem;
    }

    .hero-description {
        font-size: 1.7rem;
        margin-bottom: 4rem;
        line-height: 1.6;
    }

    .stats-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .stat-item {
        padding: 1.5rem 1rem;
        border-radius: 1rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .stat-label {
        font-size: 1.2rem;
    }

    .btn-group {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }

    .btn {
        padding: 1.5rem 2.5rem;
        font-size: 1.6rem;
        border-radius: 2.5rem;
        width: 100%;
        justify-content: center;
    }

    .home-img {
        order: -1;
        margin-bottom: 3rem;
    }

    .home-img img {
        width: 28rem;
        height: 28rem;
    }

    .floating-icon {
        width: 5rem;
        height: 5rem;
        font-size: 2.2rem;
    }

    .about {
        padding: 10rem 5%;
        gap: 5rem;
    }

    .about-img img {
        max-width: 45rem;
        max-height: 30rem;
        width: 100%;
        object-fit: cover;
        border-radius: 1.5rem;
    }

    .about-info {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .info-item {
        padding: 1.2rem 1.8rem;
        border-radius: 1.2rem;
    }

    .about-tabs {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .tab-btn {
        padding: 1rem 2rem;
        font-size: 1.4rem;
        border-radius: 2rem;
    }

    .skills {
        padding: 10rem 5%;
    }

    .skills-container {
        grid-template-columns: 1fr;
        gap: 5rem;
    }

    .skill-item {
        padding: 2.5rem 2rem;
        border-radius: 1.8rem;
    }

    .projects {
        padding: 10rem 5%;
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .project-filter {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
        margin-bottom: 5rem;
    }

    .filter-btn {
        padding: 1rem 2rem;
        font-size: 1.4rem;
        border-radius: 2rem;
    }

    .project-card {
        border-radius: 2.5rem;
    }

    .contact {
        padding: 10rem 5%;
    }

    .contact-form {
        padding: 4rem 3rem;
        border-radius: 2.5rem;
    }

    .form-group {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .input-field input,
    .input-field textarea {
        padding: 1.8rem 2rem 1.8rem 5.5rem;
        border-radius: 1.2rem;
        font-size: 1.6rem;
    }

    .submit-btn {
        padding: 1.8rem;
        border-radius: 1.2rem;
        font-size: 1.8rem;
    }

    .footer {
        padding: 8rem 5% 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 50%;
    }

    .header {
        padding: 1.5rem 4%;
        border-radius: 0;
    }

    .logo {
        font-size: 2rem;
    }

    .theme-toggle {
        padding: 0.8rem;
        font-size: 1.8rem;
    }

    .home {
        padding: 12rem 4% 8rem;
        gap: 4rem;
    }

    .typing-container h1 {
        font-size: 2.8rem;
        line-height: 1.2;
        word-break: break-word;
    }

    .typing-container h2 {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1.5rem;
        line-height: 1.6;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        margin-bottom: 2.5rem;
    }

    .stat-item {
        padding: 1.5rem;
        text-align: center;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 1.1rem;
    }

    .home-img img {
        width: 24rem;
        height: 24rem;
    }

    .floating-icon {
        width: 4.5rem;
        height: 4.5rem;
        font-size: 2rem;
    }

    .social-icons {
        justify-content: center;
        gap: 1.2rem;
        margin-bottom: 2.5rem;
    }

    .social-icons a {
        width: 4rem;
        height: 4rem;
        font-size: 2rem;
    }

    .btn {
        padding: 1.3rem 2rem;
        font-size: 1.5rem;
        width: 100%;
    }

    .about-img img {
        max-width: 40rem;
        max-height: 28rem;
        width: 100%;
        object-fit: cover;
    }

    .about-info {
        flex-direction: row;
        gap: 0.8rem;
        bottom: 0.8rem;
        left: 0.8rem;
        right: 0.8rem;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .info-item {
        padding: 1rem 1.5rem;
        font-size: 1.3rem;
    }

    .about,
    .skills,
    .projects,
    .contact {
        padding: 8rem 4%;
    }

    .heading {
        font-size: 3.5rem;
        margin-bottom: 6rem;
    }

    .contact-form {
        padding: 3rem 2rem;
        border-radius: 2rem;
    }

    .input-field input,
    .input-field textarea {
        padding: 1.5rem 2rem 1.5rem 4.5rem;
        font-size: 1.5rem;
        border-radius: 1rem;
    }

    .submit-btn {
        padding: 1.6rem;
        font-size: 1.6rem;
    }

    .modal-content {
        width: 95%;
        margin: 5% auto;
        border-radius: 1.5rem;
    }

    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 360px) {
    html {
        font-size: 44%;
    }

    .header {
        padding: 1.2rem 3%;
        border-radius: 0 0 10px 10px;
    }

    .logo {
        font-size: 2rem;
    }

    .gradient-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1.2rem;
    }

    .home {
        padding: 12rem 3% 6rem;
        gap: 3rem;
    }

    .typing-container h1 {
        font-size: 3rem;
        line-height: 1.1;
    }

    .typing-container h2 {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1.5rem;
        margin-bottom: 3rem;
    }

    .home-img img {
        width: 22rem;
        height: 22rem;
    }

    .floating-icon {
        width: 4rem;
        height: 4rem;
        font-size: 1.8rem;
    }

    .stats-container {
        gap: 1.2rem;
        margin-bottom: 2.5rem;
    }

    .stat-item {
        padding: 1.5rem 1rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .social-icons a {
        width: 4rem;
        height: 4rem;
        font-size: 2rem;
    }

    .btn {
        padding: 1.2rem 2.5rem;
        font-size: 1.4rem;
    }

    .about-img img {
        max-width: 35rem;
        max-height: 25rem;
        width: 100%;
        object-fit: cover;
    }

    .about-info {
        flex-direction: row;
        gap: 0.5rem;
        bottom: 0.5rem;
        left: 0.5rem;
        right: 0.5rem;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .info-item {
        padding: 0.8rem 1.2rem;
        font-size: 1.2rem;
    }

    .tab-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1.2rem;
    }

    .about,
    .skills,
    .projects,
    .contact {
        padding: 6rem 3%;
    }

    .heading {
        font-size: 3.2rem;
        margin-bottom: 5rem;
    }

    .contact-form {
        padding: 2.5rem 1.5rem;
        border-radius: 1.8rem;
    }

    .input-field input,
    .input-field textarea {
        padding: 1.3rem 1.8rem 1.3rem 4rem;
        font-size: 1.4rem;
    }

    .footer {
        padding: 6rem 3% 2rem;
    }

    .footer-content {
        gap: 3rem;
    }
}

/* Animation Classes */
.animate-in {
    animation: slideInUp 0.6s ease forwards;
}

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

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

/* Fade in animation */
.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Slide in from left */
.slide-in-left {
    animation: slideInLeft 0.8s ease forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

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

/* Slide in from right */
.slide-in-right {
    animation: slideInRight 0.8s ease forwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

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

/* Bounce in animation */
.bounce-in {
    animation: bounceIn 1s ease forwards;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

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

/* Glow effect */
.glow {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 20px rgba(234, 88, 12, 0.4);
    }

    to {
        box-shadow: 0 0 30px rgba(234, 88, 12, 0.6);
    }
}

/* Typing animation */
.typing {
    overflow: hidden;
    border-right: 2px solid var(--main-color);
    white-space: nowrap;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: var(--main-color);
    }
}

/* Hover grow effect */
.hover-grow {
    transition: transform 0.3s ease;
}

.hover-grow:hover {
    transform: scale(1.05);
}

/* Shake animation */
.shake {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {

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

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

/* Rotate animation */
.rotate {
    animation: rotate 2s linear infinite;
}

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

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

/* Gradient text animation */
.gradient-text {
    background: linear-gradient(-45deg, #ea580c, #ff6b35, #ea580c, #ff6b35);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientShift 4s ease infinite;
}

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

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Floating animation */
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {

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

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

/* Particle effect */
.particles {
    position: relative;
    overflow: hidden;
}

.particles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(234, 88, 12, 0.3) 2px, transparent 2px),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 40% 40%, rgba(234, 88, 12, 0.2) 1px, transparent 1px);
    background-size: 50px 50px, 30px 30px, 70px 70px;
    animation: particleMove 20s linear infinite;
    pointer-events: none;
}

@keyframes particleMove {
    0% {
        transform: translateX(0) translateY(0);
    }

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

/* Glass Effect Utility Classes with Feature Detection */
.glass {
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

@supports (backdrop-filter: blur(15px)) {
    .glass {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }
}

@supports (-webkit-backdrop-filter: blur(15px)) {
    .glass {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }
}

.glass-dark {
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.glass-strong {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.glass-subtle {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

/* Glass hover effects - Subtle and smooth */
.glass-hover:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    color: white;
    font-size: 1.5rem;
    z-index: 10000;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.notification.success {
    background: #10b981;
}

.notification.error {
    background: #ef4444;
}

.notification.show {
    transform: translateX(0);
}

/* Print Styles */
@media print {

    .header,
    .back-to-top,
    .resume-actions {
        display: none !important;
    }

    .resume-content {
        padding: 0;
    }

    .resume-container {
        grid-template-columns: 30rem 1fr;
        gap: 3rem;
    }

    body {
        background: white !important;
        color: black !important;
    }
}

/* Modern UI Enhancements */

/* Animated Background */
.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.floating-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(234, 88, 12, 0.1), rgba(255, 107, 53, 0.1));
    animation: floatShape 20s infinite linear;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: -5s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 20%;
    animation-delay: -10s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 30%;
    animation-delay: -15s;
}

@keyframes floatShape {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }

    25% {
        transform: translateY(-20px) rotate(90deg);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-10px) rotate(180deg);
        opacity: 0.4;
    }

    75% {
        transform: translateY(-30px) rotate(270deg);
        opacity: 0.7;
    }
}

/* Enhanced Typography */
.greeting-text {
    font-size: 1.8rem;
    color: var(--main-color);
    font-weight: 500;
    margin-bottom: 1rem;
    opacity: 0;
    animation: slideInUp 0.8s ease 0.2s forwards;
}

.typing-container h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    opacity: 0;
    animation: slideInUp 0.8s ease 0.4s forwards;
}

.typing-container h2 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: slideInUp 0.8s ease 0.6s forwards;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
    margin: 2rem 0;
    opacity: 0;
    animation: slideInUp 0.8s ease 0.8s forwards;
}

.highlight-text {
    color: var(--main-color);
    font-weight: 600;
    position: relative;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.highlight-text:hover::after {
    transform: scaleX(1);
}

/* Glass Effect Stats */
.glass-effect {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.stat-item {
    position: relative;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-icon {
    font-size: 3rem;
    color: var(--main-color);
    margin-bottom: 1rem;
    display: block;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--main-color);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.4rem;
    color: #ccc;
    font-weight: 500;
}

/* Enhanced Profile Image */
.image-frame {
    position: relative;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid transparent;
    background: linear-gradient(45deg, var(--main-color), var(--accent-color));
    padding: 4px;
    transition: all 0.5s ease;
}

.image-frame::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, var(--main-color), var(--accent-color), var(--main-color));
    animation: rotateGradient 4s linear infinite;
    z-index: -1;
}

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

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

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.5s ease;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.image-frame:hover .image-overlay {
    transform: translateY(0);
}

.overlay-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.overlay-content p {
    font-size: 1.4rem;
    opacity: 0.8;
}

/* Enhanced Floating Tech Icons */
.floating-icon {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--main-color);
    animation: float 3s ease-in-out infinite;
    animation-delay: var(--delay);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.floating-icon:hover {
    transform: translateY(-10px) scale(1.1);
    box-shadow: 0 15px 40px rgba(234, 88, 12, 0.3);
}

.tech-label {
    font-size: 1rem;
    margin-top: 0.5rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.floating-icon:hover .tech-label {
    opacity: 1;
}

.tech-html {
    top: 10%;
    right: 10%;
}

.tech-css {
    bottom: 20%;
    left: 10%;
}

.tech-js {
    top: 60%;
    right: -5%;
}

/* Slide In Animation */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    .greeting-text {
        font-size: 1.6rem;
    }

    .typing-container h1 {
        font-size: 3.2rem;
    }

    .typing-container h2 {
        font-size: 2.4rem;
    }

    .image-frame {
        width: 300px;
        height: 300px;
    }

    .floating-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .stat-item {
        padding: 2rem 1.5rem;
    }

    .stat-number {
        font-size: 2.8rem;
    }

    .shape {
        display: none;
    }
}

@media (max-width: 480px) {
    .image-frame {
        width: 250px;
        height: 250px;
    }

    .floating-icon {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }

    .tech-label {
        font-size: 0.9rem;
    }
}

/* Advanced Animated Background */
.home {
    position: relative;
    overflow: hidden;
}

.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.home-content,
.home-img {
    position: relative;
    z-index: 2;
}

/* Floating Particles */
.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--main-color);
    border-radius: 50%;
    opacity: 0.8;
    animation: floatParticle 15s infinite linear;
    box-shadow: 0 0 10px var(--main-color);
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.particle:nth-child(2) {
    left: 20%;
    animation-delay: -2s;
    animation-duration: 18s;
}

.particle:nth-child(3) {
    left: 30%;
    animation-delay: -4s;
    animation-duration: 14s;
}

.particle:nth-child(4) {
    left: 40%;
    animation-delay: -6s;
    animation-duration: 16s;
}

.particle:nth-child(5) {
    left: 60%;
    animation-delay: -8s;
    animation-duration: 13s;
}

.particle:nth-child(6) {
    left: 70%;
    animation-delay: -10s;
    animation-duration: 17s;
}

.particle:nth-child(7) {
    left: 80%;
    animation-delay: -12s;
    animation-duration: 15s;
}

.particle:nth-child(8) {
    left: 90%;
    animation-delay: -14s;
    animation-duration: 19s;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) translateX(0px);
        opacity: 0;
    }

    10% {
        opacity: 0.8;
    }

    90% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0;
    }
}

/* Geometric Shapes */
.geometric-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.geo-shape {
    position: absolute;
    opacity: 0.3;
    animation: rotateShape 20s infinite linear;
}

.triangle {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 60px solid var(--accent-color);
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.circle {
    width: 100px;
    height: 100px;
    border: 4px solid var(--main-color);
    border-radius: 50%;
    top: 60%;
    right: 20%;
    animation-delay: -5s;
}

.square {
    width: 80px;
    height: 80px;
    border: 4px solid var(--accent-color);
    top: 80%;
    left: 25%;
    animation-delay: -10s;
}

.hexagon {
    width: 90px;
    height: 50px;
    background: var(--main-color);
    position: relative;
    top: 30%;
    right: 10%;
    animation-delay: -15s;
    opacity: 0.2;
}

.hexagon:before,
.hexagon:after {
    content: "";
    position: absolute;
    width: 0;
    border-left: 45px solid transparent;
    border-right: 45px solid transparent;
}

.hexagon:before {
    bottom: 100%;
    border-bottom: 25px solid var(--main-color);
}

.hexagon:after {
    top: 100%;
    border-top: 25px solid var(--main-color);
}

@keyframes rotateShape {
    0% {
        transform: rotate(0deg) translateX(0px) translateY(0px);
    }

    25% {
        transform: rotate(90deg) translateX(30px) translateY(-15px);
    }

    50% {
        transform: rotate(180deg) translateX(0px) translateY(-30px);
    }

    75% {
        transform: rotate(270deg) translateX(-30px) translateY(-15px);
    }

    100% {
        transform: rotate(360deg) translateX(0px) translateY(0px);
    }
}

/* Gradient Orbs */
.gradient-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: floatOrb 25s infinite ease-in-out;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(234, 88, 12, 0.6), transparent);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.5), transparent);
    top: 50%;
    right: 10%;
    animation-delay: -8s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(234, 88, 12, 0.7), transparent);
    bottom: 20%;
    left: 30%;
    animation-delay: -16s;
}

@keyframes floatOrb {

    0%,
    100% {
        transform: translateX(0px) translateY(0px) scale(1);
    }

    25% {
        transform: translateX(50px) translateY(-30px) scale(1.1);
    }

    50% {
        transform: translateX(-30px) translateY(-60px) scale(0.9);
    }

    75% {
        transform: translateX(-50px) translateY(-30px) scale(1.05);
    }
}

/* Interactive Background Effect */
.home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(234, 88, 12, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(234, 88, 12, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: backgroundPulse 8s ease-in-out infinite;
}

@keyframes backgroundPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .particle {
        width: 3px;
        height: 3px;
    }

    .geo-shape {
        opacity: 0.05;
    }

    .triangle {
        border-left-width: 20px;
        border-right-width: 20px;
        border-bottom-width: 35px;
    }

    .circle {
        width: 50px;
        height: 50px;
    }

    .square {
        width: 40px;
        height: 40px;
    }

    .orb {
        filter: blur(20px);
    }

    .orb-1 {
        width: 150px;
        height: 150px;
    }

    .orb-2 {
        width: 200px;
        height: 200px;
    }

    .orb-3 {
        width: 100px;
        height: 100px;
    }
}

/* Performance Optimization */
@media (prefers-reduced-motion: reduce) {

    .particle,
    .geo-shape,
    .orb {
        animation: none;
    }

    .home::before {
        animation: none;
    }
}

/* Enhanced Navbar Design */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 1.5rem 6%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Enhanced Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    color: white;
    transition: all 0.3s ease;
}

.logo:hover .logo-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 8px 25px rgba(234, 88, 12, 0.4);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: 1px;
}

.logo-title {
    font-size: 1.4rem;
    font-weight: 500;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 2px;
}

/* Enhanced Navbar */
.navbar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.nav-indicator {
    position: absolute;
    height: 40px;
    background: var(--gradient);
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    opacity: 0.8;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 500;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link i {
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.nav-link span {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: white;
    transform: translateY(-2px);
}

.nav-link:hover i {
    transform: scale(1.2);
}

.nav-link.active {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.nav-link::before {
    content: attr(data-text);
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--main-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--main-color);
    opacity: 0;
    transition: all 0.3s ease;
}

.nav-link:hover::before,
.nav-link:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

/* Enhanced Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.theme-toggle {
    position: relative;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle i {
    position: absolute;
    font-size: 2rem;
    transition: all 0.3s ease;
    color: var(--text-color);
}

.theme-toggle .bx-moon {
    opacity: 1;
    transform: rotate(0deg);
}

.theme-toggle .bx-sun {
    opacity: 0;
    transform: rotate(180deg);
}

[data-theme="light"] .theme-toggle .bx-moon {
    opacity: 0;
    transform: rotate(-180deg);
}

[data-theme="light"] .theme-toggle .bx-sun {
    opacity: 1;
    transform: rotate(0deg);
}

[data-theme="light"] .theme-toggle {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.2);
}

.theme-toggle:hover {
    background: var(--main-color);
    border-color: var(--main-color);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(234, 88, 12, 0.3);
}

.theme-toggle:hover i {
    color: white;
}

.nav-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 1.8rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--main-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(234, 88, 12, 0.3);
}

.gradient-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2rem;
    background: var(--gradient);
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.2);
}

.gradient-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.gradient-btn:hover::before {
    left: 100%;
}

.gradient-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(234, 88, 12, 0.4);
}

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

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

/* Enhanced Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .navbar {
        gap: 0.3rem;
        padding: 0.8rem;
    }

    .nav-link {
        padding: 0.8rem 1.2rem;
        font-size: 1.3rem;
    }

    .nav-link span {
        display: none;
    }

    .nav-social {
        display: none;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 1.5rem 5%;
    }

    .logo-text {
        display: none;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        border-radius: 0 0 20px 20px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .navbar.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        width: 100%;
        justify-content: flex-start;
        padding: 1.5rem;
        border-radius: 12px;
        margin-bottom: 0.5rem;
    }

    .nav-link span {
        display: block;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .header-actions {
        gap: 1rem;
    }

    .gradient-btn {
        padding: 1rem 1.5rem;
        font-size: 1.3rem;
    }

    .gradient-btn span {
        display: none;
    }
}

/* Enhanced Contact Form Styles */
.form-status {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-status.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid #10b981;
    color: #10b981;
    display: block;
}

.form-status.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #ef4444;
    display: block;
}

.input-field {
    position: relative;
    margin-bottom: 1rem;
}

.input-field.error input,
.input-field.error textarea {
    border-color: #ef4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.2);
}

.input-field.success input,
.input-field.success textarea {
    border-color: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.error-message {
    position: absolute;
    bottom: -25px;
    left: 0;
    color: #ef4444;
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.input-field.error .error-message {
    opacity: 1;
}

.submit-btn {
    position: relative;
    overflow: hidden;
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.btn-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

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

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

.bx-spin {
    animation: spin 1s linear infinite;
}

/* Form Animation */
.input-field input:focus,
.input-field textarea:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(234, 88, 12, 0.2);
}

.input-field i {
    transition: all 0.3s ease;
}

.input-field input:focus+i,
.input-field textarea:focus+i {
    color: var(--main-color);
    transform: translateY(-50%) scale(1.1);
}

/* Mobile Navigation Fixes - Enhanced */
@media (max-width: 768px) {
    .header {
        padding: 1.5rem 5%;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }

    .mobile-menu-btn {
        display: flex !important;
        background: var(--main-color);
        border: 2px solid var(--main-color);
        box-shadow: 0 4px 15px rgba(234, 88, 12, 0.3);
        z-index: 1001;
        position: relative;
        order: 3;
    }

    .mobile-menu-btn:hover {
        background: var(--accent-color);
        border-color: var(--accent-color);
        transform: scale(1.05);
    }

    .hamburger-line {
        background: white !important;
        width: 25px;
        height: 3px;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem;
        gap: 2rem;
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }

    .navbar.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        width: auto;
        padding: 1.5rem 3rem;
        font-size: 2rem;
        border-radius: 15px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        margin-bottom: 1rem;
        justify-content: center;
        gap: 1.5rem;
        min-width: 200px;
        text-decoration: none;
        color: var(--text-color);
    }

    .nav-link span {
        display: block !important;
        font-weight: 600;
    }

    .nav-link i {
        font-size: 2.2rem;
    }

    .nav-link:hover,
    .nav-link.active {
        background: var(--main-color);
        border-color: var(--main-color);
        color: white;
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(234, 88, 12, 0.4);
    }

    .header-actions {
        display: none;
    }

    /* Close button animation */
    .mobile-menu-btn.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-menu-btn.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1.2rem 4%;
    }

    .mobile-menu-btn {
        width: 45px;
        height: 45px;
    }

    .hamburger-line {
        width: 22px;
        height: 2.5px;
    }

    .nav-link {
        font-size: 1.8rem;
        padding: 1.2rem 2.5rem;
        min-width: 180px;
    }

    .nav-link i {
        font-size: 2rem;
    }
}

/* Back to Top Button Mobile Fix */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(234, 88, 12, 0.4);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
        font-size: 1.8rem;
        z-index: 998;
    }
}

@media (max-width: 480px) {
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1.6rem;
    }
}

/* Image Overlay Fix */
.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    text-align: center;
    border-radius: 0 0 50% 50%;
}

.image-frame:hover .image-overlay {
    transform: translateY(0);
}

.overlay-content {
    position: relative;
    z-index: 2;
}

.overlay-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: white;
}

.overlay-content p {
    font-size: 1.4rem;
    opacity: 0.9;
    color: #ccc;
    margin: 0;
}

/* Responsive fixes */
@media (max-width: 768px) {
    .image-overlay {
        padding: 1.5rem;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.95));
    }

    .overlay-content h3 {
        font-size: 1.6rem;
        margin-bottom: 0.3rem;
    }

    .overlay-content p {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .image-overlay {
        padding: 1rem;
    }

    .overlay-content h3 {
        font-size: 1.4rem;
    }

    .overlay-content p {
        font-size: 1.1rem;
    }
}

/* Image Overlay Text Fix - Override previous styles */
.image-overlay {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9)) !important;
    color: white !important;
    padding: 2rem !important;
    transform: translateY(100%) !important;
    transition: transform 0.3s ease !important;
    text-align: center !important;
    border-radius: 0 0 50% 50% !important;
    z-index: 10 !important;
}

.image-frame:hover .image-overlay {
    transform: translateY(0) !important;
}

.overlay-content {
    position: relative !important;
    z-index: 11 !important;
}

.overlay-content h3 {
    font-size: 1.8rem !important;
    margin-bottom: 0.5rem !important;
    font-weight: 600 !important;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

.overlay-content p {
    font-size: 1.4rem !important;
    opacity: 0.9 !important;
    color: #ccc !important;
    margin: 0 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

/* Mobile responsive fixes */
@media (max-width: 768px) {
    .image-overlay {
        padding: 1.5rem !important;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.95)) !important;
    }

    .overlay-content h3 {
        font-size: 1.6rem !important;
        margin-bottom: 0.3rem !important;
    }

    .overlay-content p {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 480px) {
    .image-overlay {
        padding: 1rem !important;
    }

    .overlay-content h3 {
        font-size: 1.4rem !important;
    }

    .overlay-content p {
        font-size: 1.1rem !important;
    }
}