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

:root {
    --primary-color: #00D9B8;
    --primary-dark: #00BFA0;
    --primary-light: #1FFFD4;
    --secondary-color: #1A1A1A;
    --secondary-dark: #0D0D0D;
    --accent-turquoise: #00CED1;
    --primary-gradient: linear-gradient(135deg, #00D9B8 0%, #00CED1 100%);
    --secondary-gradient: linear-gradient(135deg, #00BFA0 0%, #00A896 100%);
    --accent-gradient: linear-gradient(135deg, #1FFFD4 0%, #00CED1 100%);
    --dark-gradient: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
    --success-gradient: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --warning-gradient: linear-gradient(135deg, #ff9966 0%, #ff5e62 100%);
    --text-dark: #1a202c;
    --text-light: #718096;
    --text-lighter: #a0aec0;
    --bg-light: #f7fafc;
    --bg-lighter: #ffffff;
    --white: #ffffff;
    --shadow: 0 10px 40px rgba(0, 217, 184, 0.15);
    --shadow-hover: 0 20px 60px rgba(0, 217, 184, 0.25);
    --shadow-lg: 0 30px 80px rgba(0, 217, 184, 0.3);
    --border-radius: 16px;
    --border-radius-lg: 24px;
}

body.dark-mode {
    --text-dark: #E2E8F0;
    --text-light: #CBD5E0;
    --text-lighter: #A0AEC0;
    --bg-light: #1A202C;
    --bg-lighter: #2D3748;
    --white: #2D3748;
    --secondary-color: #1A1A1A;
    background: #0F1419;
}

body.dark-mode .hero {
    background: linear-gradient(135deg, #0F1419 0%, #1A202C 50%, #0F1419 100%);
}

body.dark-mode .hero-title,
body.dark-mode .hero-subtitle,
body.dark-mode .hero-stat h3,
body.dark-mode .hero-stat p {
    color: #E2E8F0;
}

body.dark-mode .navbar {
    background: rgba(26, 32, 44, 0.9);
    border-bottom: 1px solid rgba(0, 217, 184, 0.2);
    box-shadow: 0 8px 32px rgba(0, 217, 184, 0.15);
}

body.dark-mode .nav-links a {
    color: var(--text-dark);
}

body.dark-mode .nav-links a:hover {
    color: var(--primary-color);
}

body.dark-mode .service-card,
body.dark-mode .project-card,
body.dark-mode .contact-form,
body.dark-mode .stat {
    background: #1A202C;
    border-color: rgba(0, 217, 184, 0.2);
    color: #E2E8F0;
}

body.dark-mode .service-card h3,
body.dark-mode .project-card h3,
body.dark-mode .about-feature h4 {
    color: #E2E8F0;
}

body.dark-mode .service-card p,
body.dark-mode .project-card p,
body.dark-mode .about-feature p,
body.dark-mode .service-features li {
    color: #CBD5E0;
}

body.dark-mode .tech-badge {
    background: rgba(0, 217, 184, 0.15);
    color: #4FD1C7;
    border-color: rgba(0, 217, 184, 0.4);
}

body.dark-mode .about,
body.dark-mode .contact {
    background: #0F1419;
}

body.dark-mode .services {
    background: #1A202C;
}

body.dark-mode .projects {
    background: #0F1419;
}

body.dark-mode .contact-item {
    background: #1A202C;
}

body.dark-mode .contact-item:hover {
    background: #2D3748;
}

body.dark-mode .section-header h2,
body.dark-mode .section-header p {
    color: #E2E8F0;
}

body.dark-mode .section-badge {
    color: var(--primary-color);
    border-color: rgba(0, 217, 184, 0.4);
    background: linear-gradient(135deg, rgba(0, 217, 184, 0.15) 0%, rgba(0, 206, 209, 0.15) 100%);
}

body.dark-mode .contact-item h3,
body.dark-mode .contact-item p,
body.dark-mode .stat p {
    color: #E2E8F0;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
    background: #2D3748;
    color: #E2E8F0;
    border-color: rgba(0, 217, 184, 0.2);
}

body.dark-mode .newsletter-form input {
    background: #2D3748;
    color: #E2E8F0;
    border-color: rgba(0, 217, 184, 0.3);
}

body.dark-mode .newsletter-form input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 217, 184, 0.15);
}

body.dark-mode .footer-section h3,
body.dark-mode .footer-section h4,
body.dark-mode .footer-section p,
body.dark-mode .footer-section ul li a {
    color: #E2E8F0;
}

body.dark-mode .footer {
    background: linear-gradient(135deg, #0D0D0D 0%, #1A1A1A 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: #fafbfc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Gradient Text */
.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 1200px;
    background: white;
    opacity: 1;
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: background 0.1s ease, box-shadow 0.1s ease, border 0.1s ease;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar::before {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

/* Light Mode Navbar */
body:not(.dark-mode) .navbar {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

body:not(.dark-mode) .logo h1 {
    color: #1A1A1A;
}

body:not(.dark-mode) .nav-link {
    color: rgba(26, 26, 26, 0.75);
}

body:not(.dark-mode) .nav-link:hover {
    color: #1A1A1A;
}

body:not(.dark-mode) .nav-link::before {
    background: rgba(0, 0, 0, 0.05);
}

body:not(.dark-mode) .nav-link.active {
    background: rgba(0, 0, 0, 0.08);
    color: #1A1A1A;
}

body:not(.dark-mode) .theme-toggle {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #1A1A1A;
}

body:not(.dark-mode) .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2rem;
    gap: 3rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 6px rgba(0, 217, 184, 0.4));
    border-radius: 8px;
    background: rgba(0, 217, 184, 0.1);
    padding: 6px;
}

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 10px rgba(0, 217, 184, 0.6));
}

.logo h1 {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #FFFFFF;
    text-transform: uppercase;
    display: block;
}

/* Nav Actions Container */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* CTA Button in Navbar */
.cta-btn {
    padding: 0.65rem 1.75rem;
    background: transparent;
    color: #00D9B8;
    border: 2px solid #00D9B8;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.cta-btn:hover {
    background: #00D9B8;
    color: #1A1A1A;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 217, 184, 0.4);
}

.cta-btn i {
    transition: transform 0.3s ease;
    font-size: 0.85rem;
}

.cta-btn:hover i {
    transform: translateX(3px);
}

body.dark-mode .cta-btn {
    border-color: #00D9B8;
    color: #00D9B8;
}

body.dark-mode .cta-btn:hover {
    background: #00D9B8;
    color: #1A1A1A;
}

/* Theme Toggle Button */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.theme-toggle i {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.08);
}

.theme-toggle:hover::before {
    opacity: 0;
}

.theme-toggle:hover i {
    transform: rotate(15deg);
    color: #FFFFFF;
}

body.dark-mode .theme-toggle {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
}

body.dark-mode .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
}

body.dark-mode .theme-toggle:hover i {
    color: #FFFFFF;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.65rem 1.25rem;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.08);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    color: #FFFFFF;
}

.nav-link:hover::before {
    opacity: 1;
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
}

.nav-icon {
    font-size: 0.9rem;
    display: none;
    align-items: center;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.nav-text {
    position: relative;
    z-index: 1;
}

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

.nav-link:hover .nav-icon {
    transform: scale(1.1);
}

.nav-link.active {
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(0, 217, 184, 0.15) 0%, rgba(0, 206, 209, 0.15) 100%);
}

body.dark-mode .nav-link {
    color: #CBD5E0;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: rgba(0, 217, 184, 0.1);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

body.dark-mode .hamburger span {
    background: #CBD5E0;
}

/* Hero Section */
.hero {
    min-height: auto;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 50%, #1A1A1A 100%);
    overflow: hidden;
    padding-top: 120px;
    padding-bottom: 60px;
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(0, 217, 184, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 217, 184, 0.3);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px var(--primary-color);
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

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

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

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
    padding: 2rem 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.8;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

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

.btn-primary {
    background: var(--primary-gradient);
    color: #FFFFFF;
    font-weight: 700;
}

body.dark-mode .btn-primary {
    color: #1A1A1A;
}

body.dark-mode .btn-secondary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

body.dark-mode .btn-secondary:hover {
    background: var(--primary-color);
    color: #1A1A1A;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 217, 184, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.6s ease 0.5s both;
}

.hero-stat {
    text-align: left;
}

.hero-stat h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    color: var(--white);
}

.hero-stat p {
    font-size: 0.95rem;
    opacity: 0.9;
    color: var(--white);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

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

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

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

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

/* Hero Shapes */
.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--white);
    top: -250px;
    right: -150px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--white);
    bottom: -100px;
    left: -100px;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--white);
    top: 50%;
    right: 20%;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(0, 217, 184, 0.1) 0%, rgba(0, 206, 209, 0.1) 100%);
    border: 1px solid rgba(0, 217, 184, 0.3);
    border-radius: 50px;
    color: var(--accent-turquoise);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--bg-light);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 217, 184, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.services::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 206, 209, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 217, 184, 0.15);
    border-color: rgba(0, 217, 184, 0.4);
}

.service-hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 217, 184, 0.08) 0%, rgba(0, 206, 209, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

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

.service-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    background: var(--primary-gradient);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 217, 184, 0.2);
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 15px 40px rgba(0, 217, 184, 0.3);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.service-card:hover h3 {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.tech-badge {
    display: inline-block;
    background: rgba(0, 217, 184, 0.1);
    color: var(--primary-color);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(0, 217, 184, 0.3);
    transition: all 0.3s ease;
}

.service-card:hover .tech-badge {
    background: rgba(0, 217, 184, 0.15);
    border-color: rgba(0, 217, 184, 0.6);
    transform: scale(1.05);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    position: relative;
    z-index: 1;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-light);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

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

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

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--white);
}

.about-feature {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 217, 184, 0.15) 0%, rgba(0, 206, 209, 0.15) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-turquoise);
    flex-shrink: 0;
}

.about-feature h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 700;
}

.about-feature p {
    color: var(--text-light);
    line-height: 1.8;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    border: 2px solid var(--bg-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.stat:hover::before {
    opacity: 0.05;
}

.stat h3 {
    font-size: 2.75rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.stat p {
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: #FFFFFF;
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: rgba(0, 217, 184, 0.2);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(0, 217, 184, 0.15);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.image-placeholder svg {
    width: 100%;
    height: 100%;
    max-width: 400px;
    max-height: 400px;
}

.image-placeholder .screen-bg {
    fill: #F0F0F0;
    transition: fill 0.3s ease;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 217, 184, 0.03), transparent);
    animation: shimmer 3s infinite;
}

body.dark-mode .image-placeholder {
    background: linear-gradient(135deg, #1A202C 0%, #2D3748 50%, #1A202C 100%);
    border-color: rgba(0, 217, 184, 0.2);
}

body.dark-mode .image-placeholder .screen-bg {
    fill: #1A1A1A;
}

body.dark-mode .image-placeholder::before {
    background: linear-gradient(45deg, transparent, rgba(0, 217, 184, 0.08), transparent);
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Projects Section */
.projects {
    padding: 6rem 0;
    background: var(--bg-light);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.project-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 217, 184, 0.3);
}

.project-image {
    height: 250px;
    background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease;
    border-bottom: 3px solid var(--primary-color);
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(0, 217, 184, 0.3);
    transition: all 0.4s ease;
}

.project-card:hover .project-overlay {
    transform: scale(1.2);
    opacity: 0.5;
}

.project-info {
    padding: 2rem;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.project-info p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.project-tags span {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(0, 217, 184, 0.1) 0%, rgba(0, 206, 209, 0.1) 100%);
    border: 1px solid rgba(0, 217, 184, 0.3);
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--accent-turquoise);
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-tags span:hover {
    background: var(--primary-gradient);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--white);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateX(10px);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #FFFFFF;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0, 217, 184, 0.25);
    transition: all 0.3s ease;
}

body.dark-mode .contact-icon {
    background: var(--primary-color);
    color: #FFFFFF;
    box-shadow: 0 10px 30px rgba(0, 217, 184, 0.3);
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-item p a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.contact-item p a:hover {
    color: var(--primary-color);
}

.contact-item p a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.contact-item p a:hover::after {
    width: 100%;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

body.dark-mode .social-links a {
    color: #1A1A1A;
}

.social-links a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 217, 184, 0.5);
}

.contact-form {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--white);
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 217, 184, 0.15);
    transform: translateY(-2px);
}

.contact-form .btn-primary {
    width: 100%;
    background: var(--primary-gradient);
    color: #FFFFFF;
    padding: 1rem;
}

body.dark-mode .contact-form .btn-primary {
    color: #1A1A1A;
}

.contact-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 217, 184, 0.4);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, rgba(26, 32, 44, 0.98) 0%, rgba(45, 55, 72, 0.95) 100%);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    color: #E2E8F0;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(0, 217, 184, 0.3);
    box-shadow: 0 -8px 32px rgba(0, 217, 184, 0.2);
    position: relative;
    overflow: hidden;
}

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

.footer::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 217, 184, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

body.dark-mode .footer {
    background: linear-gradient(135deg, rgba(26, 32, 44, 0.95) 0%, rgba(45, 55, 72, 0.9) 100%);
    border-top: 1px solid rgba(0, 217, 184, 0.2);
    box-shadow: 0 -8px 32px rgba(0, 217, 184, 0.15);
}

.footer .container {
    position: relative;
    z-index: 2;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: translateX(5px);
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 217, 184, 0.4));
    transition: all 0.3s ease;
}

.footer-logo:hover .footer-logo-img {
    filter: drop-shadow(0 4px 12px rgba(0, 217, 184, 0.6));
    transform: rotate(5deg);
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: #FFFFFF;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.footer-tagline {
    font-size: 0.95rem;
    color: #CBD5E0;
    margin-bottom: 1.5rem;
    font-weight: 500;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0, 217, 184, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 217, 184, 0.2);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-links a:hover::before {
    opacity: 1;
}

.social-links a:hover {
    color: #1A1A1A;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 217, 184, 0.4);
    border-color: transparent;
}

.social-links a i {
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.footer-section h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.footer-section:hover h4::after {
    width: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #CBD5E0;
}

.contact-item i {
    font-size: 1rem;
    color: var(--primary-color);
    min-width: 20px;
}

.contact-item a {
    color: #CBD5E0;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.contact-item a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-section p {
    color: #CBD5E0;
    line-height: 1.8;
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: #CBD5E0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-section ul li a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 20px;
}

.footer-section ul li a:hover::before {
    opacity: 1;
    left: 0;
}

body.dark-mode .footer-section h3,
body.dark-mode .footer-section h4 {
    color: #E2E8F0;
}

body.dark-mode .footer-section p,
body.dark-mode .footer-section ul li a {
    color: #CBD5E0;
}

body.dark-mode .footer-section ul li a:hover {
    color: var(--primary-color);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid rgba(0, 217, 184, 0.3);
    border-radius: 10px;
    font-size: 0.9rem;
    background: #2D3748;
    color: #E2E8F0;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 217, 184, 0.1);
}

.newsletter-form button {
    padding: 0.75rem 1.25rem;
    background: var(--primary-gradient);
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

body.dark-mode .newsletter-form button {
    color: #1A1A1A;
}

.newsletter-form button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 217, 184, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 217, 184, 0.2);
    color: #CBD5E0;
    margin-top: 2rem;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--primary-gradient);
    transition: width 0.5s ease;
}

.footer:hover .footer-bottom::before {
    width: 200px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
}

body.dark-mode .footer-bottom {
    border-top: 1px solid rgba(0, 217, 184, 0.2);
    color: #CBD5E0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        top: 10px;
        max-width: calc(100% - 20px);
        border-radius: 25px;
        width: calc(100% - 20px);
        left: 10px;
        transform: none;
        padding: 0;
    }

    .navbar .container {
        padding: 0.65rem 1rem;
        gap: 0.75rem;
        width: 100%;
    }

    .logo {
        flex-shrink: 0;
        min-width: auto;
    }

    .logo h1 {
        display: none;
        font-size: 0;
    }

    .logo-img {
        width: 32px;
        height: 32px;
    }

    .hamburger {
        display: flex;
        order: 3;
        flex-shrink: 0;
    }

    .hamburger span {
        width: 20px;
        height: 2.5px;
    }

    .nav-actions {
        order: 2;
        gap: 0.35rem;
        flex-shrink: 0;
    }

    .cta-btn {
        display: none;
    }

    .theme-toggle {
        width: 34px;
        height: 34px;
        font-size: 0.8rem;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(26, 32, 44, 0.98);
        backdrop-filter: blur(20px);
        width: calc(100% - 20px);
        margin: 0 10px;
        text-align: center;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
        padding: 1.25rem 0;
        gap: 0.35rem;
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 999;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
    }

    .nav-links li {
        width: 100%;
        padding: 0 0.5rem;
    }

    .nav-link {
        width: 100%;
        justify-content: center;
        padding: 0.7rem 1.25rem;
        border-radius: 12px;
        font-size: 0.9rem;
    }

    .nav-icon {
        display: flex;
        font-size: 0.85rem;
    }

    .nav-text {
        font-size: 0.9rem;
    }

    body.dark-mode .nav-links {
        background: rgba(26, 32, 44, 0.98);
    }

    .nav-links.active {
        left: 0;
    }

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

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

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

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

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

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

    .footer-content {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    /* Light Mode Mobile Navbar */
    body:not(.dark-mode) .navbar {
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    }

    body:not(.dark-mode) .logo-img {
        background: rgba(0, 0, 0, 0.05);
    }

    body:not(.dark-mode) .nav-links {
        background: rgba(26, 26, 26, 0.98);
    }

    body:not(.dark-mode) .nav-link {
        color: rgba(255, 255, 255, 0.9);
    }

    body:not(.dark-mode) .nav-link:hover {
        color: #FFFFFF;
        background: rgba(0, 217, 184, 0.15);
    }

    body:not(.dark-mode) .nav-link.active {
        background: rgba(0, 217, 184, 0.2);
        color: var(--primary-color);
    }

    body:not(.dark-mode) .hamburger span {
        background: #1A1A1A;
    }

    body:not(.dark-mode) .theme-toggle {
        background: rgba(0, 0, 0, 0.08);
        color: #1A1A1A;
        border: 1px solid rgba(0, 0, 0, 0.1);
    }

    body:not(.dark-mode) .theme-toggle:hover {
        background: rgba(0, 0, 0, 0.12);
    }

    /* Dark Mode Mobile Navbar */
    body.dark-mode .navbar {
        background: rgba(26, 32, 44, 0.95);
        border: 1px solid rgba(0, 217, 184, 0.15);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    }

    body.dark-mode .logo-img {
        background: rgba(0, 217, 184, 0.12);
        filter: drop-shadow(0 2px 4px rgba(0, 217, 184, 0.3));
    }

    body.dark-mode .nav-links {
        background: rgba(15, 20, 25, 0.98);
        border-color: rgba(0, 217, 184, 0.15);
    }

    body.dark-mode .nav-link {
        color: #CBD5E0;
    }

    body.dark-mode .nav-link:hover {
        color: var(--primary-color);
        background: rgba(0, 217, 184, 0.15);
    }

    body.dark-mode .nav-link.active {
        background: rgba(0, 217, 184, 0.2);
        color: var(--primary-color);
    }

    body.dark-mode .hamburger span {
        background: #CBD5E0;
    }

    body.dark-mode .hamburger.active span {
        background: var(--primary-color);
    }

    body.dark-mode .theme-toggle {
        background: rgba(255, 255, 255, 0.08);
        color: #CBD5E0;
        border: 1px solid rgba(255, 255, 255, 0.12);
    }

    body.dark-mode .theme-toggle:hover {
        background: rgba(255, 255, 255, 0.12);
        color: var(--primary-color);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    /* Light Mode Extra Small Devices */
    body:not(.dark-mode) .navbar {
        top: 8px;
        border-radius: 20px;
    }

    body:not(.dark-mode) .nav-link {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    body:not(.dark-mode) .nav-icon {
        font-size: 0.8rem;
    }

    /* Dark Mode Extra Small Devices */
    body.dark-mode .navbar {
        top: 8px;
        border-radius: 20px;
    }

    body.dark-mode .nav-link {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    body.dark-mode .nav-icon {
        font-size: 0.8rem;
    }
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Smooth Scrolling Enhancement */
html {
    scroll-padding-top: 80px;
}

/* Selection Styling */
::selection {
    background: rgba(0, 217, 184, 0.3);
    color: var(--text-dark);
}

::-webkit-scrollbar {
    width: 10px;
}

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-gradient);
}

/* View All Projects Button */
.view-all-projects {
    text-align: center;
    margin-top: 3rem;
}

.view-all-projects .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Page Hero */
.page-hero {
    min-height: auto;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 50%, #1A1A1A 100%);
    overflow: hidden;
    padding-top: 120px;
    padding-bottom: 60px;
}

.page-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.page-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 217, 184, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease-out;
}

.page-hero .badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.page-hero .hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: #FFFFFF;
}

.page-hero .hero-subtitle {
    font-size: 1.25rem;
    color: #CBD5E0;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.page-hero .hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.page-hero .hero-stat {
    text-align: center;
}

.page-hero .hero-stat h3 {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.page-hero .hero-stat p {
    font-size: 0.95rem;
    color: #CBD5E0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-hero .hero-features {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.page-hero .hero-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(0, 217, 184, 0.2);
    transition: all 0.3s ease;
}

.page-hero .hero-feature:hover {
    background: rgba(0, 217, 184, 0.1);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.page-hero .hero-feature i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.page-hero .hero-feature span {
    color: #FFFFFF;
    font-weight: 500;
    font-size: 0.95rem;
}

/* Dark mode adjustments */
body.dark-mode .page-hero {
    background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 50%, #1A1A1A 100%);
}

body.dark-mode .page-hero .hero-title {
    color: #FFFFFF;
}

body.dark-mode .page-hero .hero-subtitle,
body.dark-mode .page-hero .hero-stat p {
    color: #CBD5E0;
}

/* Light mode adjustments - keep dark background for page-hero */
body:not(.dark-mode) .page-hero {
    background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 50%, #1A1A1A 100%);
}

body:not(.dark-mode) .page-hero .hero-title {
    color: #FFFFFF;
}

body:not(.dark-mode) .page-hero .hero-subtitle {
    color: #CBD5E0;
}

body:not(.dark-mode) .page-hero .hero-stat p {
    color: #CBD5E0;
}

body:not(.dark-mode) .page-hero .hero-badge {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 217, 184, 0.3);
}

body:not(.dark-mode) .page-hero .hero-feature {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 217, 184, 0.3);
}

body:not(.dark-mode) .page-hero .hero-feature span {
    color: #FFFFFF;
}

body:not(.dark-mode) .page-hero .hero-feature:hover {
    background: rgba(0, 217, 184, 0.1);
}

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

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

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

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

@keyframes pulse {

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

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* All Projects Page */
.all-projects {
    padding: 5rem 0;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: var(--bg-light);
}

body.dark-mode .testimonials {
    background: rgba(26, 32, 44, 0.5);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    padding: 2.5rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 217, 184, 0.25);
    border-color: var(--primary-color);
}

.testimonial-card:hover::before {
    opacity: 0.03;
}

body.dark-mode .testimonial-card {
    background: rgba(45, 55, 72, 0.8);
    border-color: rgba(0, 217, 184, 0.1);
}

body.dark-mode .testimonial-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(0, 217, 184, 0.3);
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    opacity: 0.3;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.testimonial-card:hover .quote-icon {
    opacity: 0.5;
    transform: scale(1.1);
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-style: italic;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

body.dark-mode .testimonial-text {
    color: var(--text-light);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #FFFFFF;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.satisfied-client-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.testimonial-card:hover .author-avatar {
    transform: scale(1.1) rotate(5deg);
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
    font-weight: 600;
}

body.dark-mode .author-info h4 {
    color: #E2E8F0;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.rating {
    display: flex;
    gap: 0.4rem;
    color: #FFD700;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.testimonial-card:hover .rating {
    color: #FFC700;
}

/* Responsive Testimonials Grid */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 2rem;
    }
}

/* About Page - Mission & Vision */
.mission-vision {
    padding: 5rem 0;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.mission-card {
    padding: 3rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

body.dark-mode .mission-card {
    background: rgba(45, 55, 72, 0.5);
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 217, 184, 0.2);
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #FFFFFF;
    margin: 0 auto 2rem;
}

.mission-card h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

body.dark-mode .mission-card h2 {
    color: #E2E8F0;
}

.mission-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* Company Story */
.company-story {
    padding: 5rem 0;
    background: var(--bg-light);
}

body.dark-mode .company-story {
    background: rgba(26, 32, 44, 0.5);
}

.story-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.story-text h2 {
    font-size: 2.5rem;
    margin: 1rem 0 2rem;
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.story-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.stat-card {
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

body.dark-mode .stat-card {
    background: rgba(45, 55, 72, 0.5);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 217, 184, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Core Values */
.core-values {
    padding: 5rem 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.value-card {
    padding: 2.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

body.dark-mode .value-card {
    background: rgba(45, 55, 72, 0.5);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 217, 184, 0.2);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #FFFFFF;
    margin: 0 auto 1.5rem;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

body.dark-mode .value-card h3 {
    color: #E2E8F0;
}

.value-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* Satisfied Clients Gallery Section */
.satisfied-clients-gallery {
    padding: 5rem 0;
    background: var(--bg-light);
}

body.dark-mode .satisfied-clients-gallery {
    background: rgba(26, 32, 44, 0.5);
}

.clients-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.client-gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 300px;
    background: var(--white);
}

body.dark-mode .client-gallery-card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.satisfied-client-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 217, 184, 0.85) 0%, rgba(51, 184, 204, 0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 2rem;
    text-align: center;
}

.client-gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 217, 184, 0.3);
}

.client-gallery-card:hover .satisfied-client-gallery-img {
    transform: scale(1.1);
}

.client-gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.client-proof {
    padding: 5rem 0;
    background: var(--bg-lighter);
}

body.dark-mode .client-proof {
    background: rgba(15, 20, 25, 0.7);
}

.client-proof .section-header {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.client-proof-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin: 2.5rem 0 3rem;
}

.highlight-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 217, 184, 0.2);
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 18px 40px rgba(0, 217, 184, 0.12);
    backdrop-filter: blur(6px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.dark-mode .highlight-card {
    background: rgba(26, 32, 44, 0.85);
    border-color: rgba(0, 217, 184, 0.35);
}

.highlight-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 55px rgba(0, 217, 184, 0.2);
}

.highlight-label {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-dark);
    margin-bottom: 0.65rem;
    font-weight: 700;
}

body.dark-mode .highlight-label {
    color: var(--primary-color);
}

.highlight-card p {
    margin: 0;
    color: var(--text-dark);
    line-height: 1.5;
}

body.dark-mode .highlight-card p {
    color: var(--text-light);
}

.client-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--secondary-color);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

body.dark-mode .client-badge {
    background: rgba(15, 20, 25, 0.85);
    color: #E2E8F0;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4);
}

.gallery-text {
    font-size: 1.25rem;
    color: #FFFFFF;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .clients-gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .client-gallery-card {
        height: 250px;
    }

    .gallery-text {
        font-size: 1rem;
    }
}

/* Team Section */
.team-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

body.dark-mode .team-section {
    background: rgba(26, 32, 44, 0.5);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.team-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

body.dark-mode .team-card {
    background: rgba(45, 55, 72, 0.5);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 217, 184, 0.2);
}

.team-image {
    position: relative;
    height: 300px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

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

.team-social a {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: var(--primary-color);
    color: #FFFFFF;
    transform: scale(1.1);
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

body.dark-mode .team-info h3 {
    color: #E2E8F0;
}

.team-info p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Why Choose Us */
.why-choose {
    padding: 5rem 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.why-card {
    padding: 2.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

body.dark-mode .why-card {
    background: rgba(45, 55, 72, 0.5);
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 217, 184, 0.2);
}

.why-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #FFFFFF;
    margin: 0 auto 1.5rem;
}

.why-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

body.dark-mode .why-card h3 {
    color: #E2E8F0;
}

.why-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* Logo Link Fix */
.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .story-content {
        grid-template-columns: 1fr;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2.5rem;
    }

    .page-hero p {
        font-size: 1.1rem;
    }

    .testimonial-card {
        padding: 2rem;
    }

    .testimonial-text {
        font-size: 1.05rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .story-text h2 {
        font-size: 2rem;
    }

    .mission-card h2 {
        font-size: 1.7rem;
    }
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Project Modal Styles */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
    overflow-y: auto;
}

.project-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 40px;
    border: 1px solid rgba(0, 217, 184, 0.3);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.modal-close:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.modal-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    flex-shrink: 0;
}

.modal-title-section h2 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.modal-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.modal-tags span {
    padding: 6px 14px;
    background: rgba(0, 217, 184, 0.15);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(0, 217, 184, 0.3);
}

.modal-description {
    color: #CBD5E0;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.modal-gallery h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/10;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 217, 184, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-overlay i {
    font-size: 2rem;
    color: #fff;
}

/* Image Lightbox */
.image-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 40px;
}

.image-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.image-lightbox img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: rotate(90deg);
}

/* Make project cards clickable */
.project-card {
    cursor: pointer;
}

/* Light Mode Modal Styles */
body:not(.dark-mode) .modal-content {
    background: linear-gradient(135deg, #F7FAFC 0%, #FFFFFF 100%);
    border-color: rgba(0, 217, 184, 0.3);
}

body:not(.dark-mode) .modal-close {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: #1A202C;
}

body:not(.dark-mode) .modal-close:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

body:not(.dark-mode) .modal-title-section h2 {
    color: #1A202C;
}

body:not(.dark-mode) .modal-description {
    color: #4A5568;
}

body:not(.dark-mode) .modal-gallery h3 {
    color: #1A202C;
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

body:not(.dark-mode) .gallery-item {
    border-color: rgba(0, 0, 0, 0.05);
}

body:not(.dark-mode) .gallery-item:hover {
    border-color: var(--primary-color);
}

/* Dark Mode Modal Styles */
body.dark-mode .modal-content {
    background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
    border-color: rgba(0, 217, 184, 0.3);
}

body.dark-mode .modal-close {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

body.dark-mode .modal-title-section h2 {
    color: #fff;
}

body.dark-mode .modal-description {
    color: #CBD5E0;
}

body.dark-mode .modal-gallery h3 {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .gallery-item {
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .gallery-item:hover {
    border-color: var(--primary-color);
}

/* Dark Mode Navbar - Force Override */
body.dark-mode .navbar {
    background: rgba(26, 32, 44, 0.9) !important;
    border-color: rgba(0, 217, 184, 0.2) !important;
    box-shadow: 0 8px 32px rgba(0, 217, 184, 0.15) !important;
}

body.dark-mode .navbar.scrolled {
    background: rgba(26, 32, 44, 0.98) !important;
    box-shadow: 0 10px 40px rgba(0, 217, 184, 0.2) !important;
    border-color: rgba(0, 217, 184, 0.3) !important;
}

body.dark-mode .logo h1 {
    color: #E2E8F0;
}

body.dark-mode .nav-link {
    color: rgba(226, 232, 240, 0.8);
}

body.dark-mode .nav-link:hover,
body.dark-mode .nav-link.active {
    color: #fff;
}

body.dark-mode .nav-link::before {
    background: rgba(255, 255, 255, 0.1);
}

body.dark-mode .theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

body.dark-mode .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Light Mode Navbar - Force Override */
body:not(.dark-mode) .navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1) !important;
}

body:not(.dark-mode) .navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        padding: 25px;
    }

    .modal-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .modal-title-section h2 {
        font-size: 1.4rem;
    }

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

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

    .image-lightbox {
        padding: 20px;
    }
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #fff;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10002;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
    min-width: 300px;
}

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

.notification-success {
    border-left: 4px solid #00D9B8;
}

.notification-success i {
    color: #00D9B8;
    font-size: 1.5rem;
}

.notification-error {
    border-left: 4px solid #ff5e62;
}

.notification-error i {
    color: #ff5e62;
    font-size: 1.5rem;
}

.notification span {
    color: #1A202C;
    font-weight: 500;
}

body.dark-mode .notification {
    background: #1A202C;
    border-color: #00D9B8;
}

body.dark-mode .notification span {
    color: #E2E8F0;
}

/* ===================================
   Blog Styles
   =================================== */

/* Blog Hero Stats */
.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: rgba(0, 217, 184, 0.1);
    border: 1px solid rgba(0, 217, 184, 0.2);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 217, 184, 0.2);
}

.stat-item i {
    font-size: 2.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* Blog Filter */
.blog-filter {
    padding: 4rem 0 3rem;
    background: var(--bg-light);
}

.filter-header {
    text-align: center;
    margin-bottom: 3rem;
}

.filter-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.filter-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid rgba(0, 217, 184, 0.2);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.filter-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 217, 184, 0.2);
}

.filter-btn:hover i {
    transform: scale(1.2);
}

.filter-btn.active {
    background: var(--primary-gradient);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(0, 217, 184, 0.3);
}

.filter-btn.active i {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

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

    50% {
        transform: scale(1.1);
    }
}

/* Blog Posts Section */
.blog-posts {
    padding: 4rem 0 6rem;
    background: var(--bg-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.blog-card-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-gradient);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-meta i {
    color: var(--primary-color);
}

.blog-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-excerpt {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.blog-tag {
    background: rgba(0, 217, 184, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(0, 217, 184, 0.2);
    transition: all 0.3s ease;
}

.blog-tag:hover {
    background: rgba(0, 217, 184, 0.2);
    transform: translateY(-2px);
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

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

.blog-card:hover .read-more {
    gap: 0.75rem;
}

/* Loading and Error States */
.loading {
    text-align: center;
    padding: 4rem 0;
    color: var(--text-light);
}

.loading i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.loading p {
    font-size: 1.1rem;
}

.error-message {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

.error-message i {
    font-size: 3rem;
    color: #ff5e62;
    margin-bottom: 1rem;
}

.error-message p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.no-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
}

.no-posts i {
    font-size: 4rem;
    color: var(--text-lighter);
    margin-bottom: 1rem;
}

.no-posts h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.no-posts p {
    color: var(--text-light);
}

/* Blog Detail Page */
.back-navigation {
    padding: 2rem 0 1rem;
    background: var(--bg-light);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.back-link:hover {
    gap: 0.75rem;
}

/* Blog Page Sections - Add padding to prevent navbar overlap */
.blog-hero,
.blog-post,
.blog-detail-section {
    padding-top: 100px;
}

/* Blog Hero Section for Detail Pages */
.blog-hero {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
    padding: 120px 0 80px;
    position: relative;
}

.blog-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb i {
    color: var(--text-lighter);
    font-size: 0.75rem;
}

.breadcrumb span {
    color: var(--text-dark);
    font-weight: 600;
}

.blog-category-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.blog-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.blog-author-info,
.blog-date-info,
.blog-read-time-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.blog-author-info i,
.blog-date-info i,
.blog-read-time-info i {
    color: var(--primary-color);
}

/* Blog Post Section */
.blog-post {
    padding: 80px 0;
    background: var(--bg-light);
}

.blog-post-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.blog-detail {
    padding: 2rem 0 4rem;
    background: var(--bg-light);
}

.blog-detail-content {
    max-width: 900px;
    margin: 0 auto;
}

.blog-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-header .blog-category {
    position: static;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.blog-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.blog-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 1rem;
}

.blog-author-info,
.blog-date-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
}

.blog-author-info i,
.blog-date-info i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.blog-featured-image {
    margin-bottom: 3rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.blog-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-body,
.blog-content {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
}

.blog-body p,
.blog-content p {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.blog-body p:last-child,
.blog-content p:last-child {
    margin-bottom: 0;
}

.blog-body h2,
.blog-body h3,
.blog-body h4,
.blog-content h2,
.blog-content h3,
.blog-content h4 {
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.blog-body h2,
.blog-content h2 {
    font-size: 1.8rem;
}

.blog-body h3,
.blog-content h3 {
    font-size: 1.5rem;
}

.blog-body h4,
.blog-content h4 {
    font-size: 1.2rem;
}

.blog-body ul,
.blog-body ol,
.blog-content ul,
.blog-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.blog-body li,
.blog-content li {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.blog-body code,
.blog-content code {
    background: rgba(0, 217, 184, 0.1);
    color: var(--primary-color);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
}

.blog-body pre,
.blog-content pre {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.blog-body pre code,
.blog-content pre code {
    background: none;
    padding: 0;
}

.blog-body .lead,
.blog-content .lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.blog-tags-section {
    background: var(--white);
    padding: 2.5rem 3rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
    border: 1px solid rgba(0, 217, 184, 0.1);
}

.blog-tags-section h4 {
    color: var(--text-dark);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-tags-section h4::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.blog-share {
    background: var(--white);
    padding: 2.5rem 3rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
    border: 1px solid rgba(0, 217, 184, 0.1);
}

.blog-share h4 {
    color: var(--text-dark);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-share h4::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.share-btn:hover i {
    transform: scale(1.2);
}

.share-btn.twitter {
    background: linear-gradient(135deg, #1DA1F2 0%, #0d8bd9 100%);
    color: white;
}

.share-btn.twitter:hover {
    box-shadow: 0 8px 20px rgba(29, 161, 242, 0.4);
}

.share-btn.facebook {
    background: linear-gradient(135deg, #4267B2 0%, #365899 100%);
    color: white;
}

.share-btn.facebook:hover {
    box-shadow: 0 8px 20px rgba(66, 103, 178, 0.4);
}

.share-btn.linkedin {
    background: linear-gradient(135deg, #0077B5 0%, #006097 100%);
    color: white;
}

.share-btn.linkedin:hover {
    box-shadow: 0 8px 20px rgba(0, 119, 181, 0.4);
}

.share-btn.email {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.share-btn.email:hover {
    box-shadow: 0 8px 20px rgba(0, 217, 184, 0.4);
}

/* Related Posts */
.related-posts {
    padding: 4rem 0 6rem;
    background: var(--bg-light);
}

.related-posts .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

/* Dark Mode Blog Styles */
body.dark-mode .blog-filter {
    background: #0F1419;
}

body.dark-mode .filter-header h2,
body.dark-mode .filter-header p {
    color: #E2E8F0;
}

body.dark-mode .filter-btn {
    background: #1A202C;
    color: #E2E8F0;
    border-color: rgba(0, 217, 184, 0.3);
}

body.dark-mode .filter-btn:hover {
    box-shadow: 0 8px 25px rgba(0, 217, 184, 0.3);
}

body.dark-mode .stat-item {
    background: rgba(0, 217, 184, 0.15);
    border-color: rgba(0, 217, 184, 0.3);
}

body.dark-mode .stat-item p {
    color: #CBD5E0;
}

body.dark-mode .blog-posts {
    background: #0F1419;
}

body.dark-mode .blog-card {
    background: #1A202C;
}

body.dark-mode .blog-card-title {
    color: #E2E8F0;
}

body.dark-mode .blog-card-excerpt {
    color: #CBD5E0;
}

body.dark-mode .blog-card-footer {
    border-top-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .blog-detail {
    background: #0F1419;
}

body.dark-mode .blog-hero {
    background: linear-gradient(135deg, #0F1419 0%, #1A202C 100%);
}

body.dark-mode .breadcrumb a {
    color: #CBD5E0;
}

body.dark-mode .breadcrumb a:hover {
    color: var(--primary-color);
}

body.dark-mode .breadcrumb span {
    color: #E2E8F0;
}

body.dark-mode .blog-post {
    background: #0F1419;
}

body.dark-mode .back-navigation {
    background: #0F1419;
}

body.dark-mode .blog-title {
    color: #E2E8F0;
}

body.dark-mode .blog-body,
body.dark-mode .blog-content,
body.dark-mode .blog-tags-section,
body.dark-mode .blog-share {
    background: #1A202C;
}

body.dark-mode .blog-body p,
body.dark-mode .blog-body li,
body.dark-mode .blog-body h2,
body.dark-mode .blog-body h3,
body.dark-mode .blog-body h4,
body.dark-mode .blog-content p,
body.dark-mode .blog-content li,
body.dark-mode .blog-content h2,
body.dark-mode .blog-content h3,
body.dark-mode .blog-content h4 {
    color: #E2E8F0;
}

body.dark-mode .blog-body .lead,
body.dark-mode .blog-content .lead {
    color: #CBD5E0;
}

body.dark-mode .blog-body pre,
body.dark-mode .blog-content pre {
    background: #0F1419;
}

body.dark-mode .blog-tags-section h4,
body.dark-mode .blog-share h4 {
    color: #E2E8F0;
}

body.dark-mode .blog-tags-section h4::before,
body.dark-mode .blog-share h4::before {
    background: var(--primary-gradient);
}

body.dark-mode .blog-tag {
    background: rgba(0, 217, 184, 0.15);
    border-color: rgba(0, 217, 184, 0.3);
    color: var(--primary-color);
}

body.dark-mode .blog-tag:hover {
    background: rgba(0, 217, 184, 0.25);
}

body.dark-mode .related-posts {
    background: #0F1419;
}

/* Responsive Blog Styles */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-stats {
        gap: 1.5rem;
        margin-top: 2rem;
    }

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

    .stat-item h3 {
        font-size: 1.5rem;
    }

    .stat-item i {
        font-size: 2rem;
    }

    .filter-header h2 {
        font-size: 2rem;
    }

    .filter-buttons {
        gap: 0.75rem;
    }

    .filter-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    .blog-title {
        font-size: 2rem;
    }

    .blog-meta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .blog-body,
    .blog-content,
    .blog-tags-section,
    .blog-share {
        padding: 2rem 1.5rem;
    }

    .blog-body p,
    .blog-content p {
        font-size: 1rem;
    }

    .share-buttons {
        justify-content: center;
    }

    .share-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .share-buttons {
        gap: 0.75rem;
    }

    .share-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}
