/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Fix for horizontal overflow issues - simplified */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* Ensure all containers respect viewport - simplified */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Mobile container adjustments */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
}

/* Global fix for all sections - simplified */
section {
    width: 100%;
    position: relative;
}

/* Fix for all grid layouts - simplified */
.grid,
.grid-2,
.grid-3,
.grid-4 {
    width: 100%;
    display: grid;
    gap: 2rem;
}


:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #f97316;
    --accent: #06b6d4;
    --dark: #0f172a;
    --darker: #020617;
    --light: #f8fafc;
    --gray: #64748b;
    --gray-light: #e2e8f0;
    
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    
    --section-padding: 120px 0;
    --section-padding-mobile: 60px 0;
    --container-padding: 0 2rem;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark);
    background: var(--light);
}

* {
    box-sizing: border-box;
}

.container,
.hero-content,
.services-grid,
.portfolio-grid,
.testimonials-grid,
.pricing-grid,
.blog-grid {
    max-width: 100%;
}

/*cursor animation*/
.cursor {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background-color: transparent;
      border: 3px solid rgba(75, 100, 255, 0.8);
      left: var(--x, 50%);
      top: var(--y, 50%);
      transform: translate(-50%, -50%);
      transition: transform 0.35s ease-out;
      transition-property: width, height, transform;
      mix-blend-mode: unset;
      position:fixed;
      box-sizing: border-box;
      opacity: 1;
      z-index: 99998;
      color: var(--primary);
      scale: 1;
      background:fixed;
    }
@media (pointer: fine) {
    .cursor {
        display: block;
    }
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
    opacity: 1;
    pointer-events: none;
}

/* Hide loading screen when page is loaded */
#loading-screen.loaded {
    opacity: 0;
    pointer-events: none;
}

/* animejs*/
#animation-animatable-properties-svg-attributes .docs-demo-template {
  display: none;
}

#animation-animatable-properties-svg-attributes .demo polygon {
  filter: url(#displacementFilter)
}
.my-shape {
      /* This applies the SVG filter to our polygon */
      filter: url(#displacementFilter);
      fill: #0015ff; /* Orange color */
      cursor: pointer;
    }

/* Main content fade-in effect - removed to fix scrolling issues */

.loader {
    text-align: center;
}

.loader-circle {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loader-text {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 2px;
}

/* Responsive loading screen */
@media (max-width: 768px) {
    .loader-circle {
        width: 50px;
        height: 50px;
        border-width: 2px;
    }
    
    .loader-text {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .loader-circle {
        width: 40px;
        height: 40px;
        border-width: 2px;
    }
    
    .loader-text {
        font-size: 1rem;
        letter-spacing: 1px;
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/*comming soon*/
.coming-soon-container {
            font-family: 'Inter', sans-serif;
        }

        /* Main container for the section */
        .coming-soon-container {
            width: 100%;
            max-width: 56rem; /* 896px */
            margin-left: auto;
            margin-right: auto;
            padding-top: 4rem; /* 64px */
            padding-bottom: 4rem; /* 64px */
            text-align: center;
        }

        /* The dashed box */
        .coming-soon-box {
            border: 2px dashed #475569; /* border-slate-600 */
            border-radius: 1.5rem; /* 24px */
            padding: 2rem; /* 32px */
        }

        /* Wrapper for the icon to center it */
        .icon-wrapper {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem; /* 24px */
        }
        
        /* Circular background for the icon */
        .icon-background {
            background-color: rgba(51, 65, 85, 0.5); /* bg-slate-700/50 */
            padding: 0.75rem; /* 12px */
            border-radius: 9999px; /* rounded-full */
        }

        /* The SVG icon itself */
        .icon-svg {
            width: 2rem; /* 32px */
            height: 2rem; /* 32px */
            color: white; /* text-indigo-400 */
        }
        

        /* Main heading */
        .coming-soon-heading {
            font-size: 1.875rem; /* 30px */
            line-height: 2.25rem; /* 36px */
            font-weight: 700;
            color: #000000;
        }

        /* Subheading paragraph */
        .coming-soon-subheading {
            margin-top: 1rem; /* 16px */
            font-size: 1.125rem; /* 18px */
            line-height: 1.75rem; /* 28px */
            color: #94a3b8; /* text-slate-400 */
            max-width: 42rem; /* 672px */
            margin-left: auto;
            margin-right: auto;
        }

        /* Responsive styles for screens wider than 640px */
        @media (min-width: 640px) {
            .coming-soon-container {
                padding-top: 6rem; /* 96px */
                padding-bottom: 6rem; /* 96px */
            }
            .coming-soon-box {
                padding: 3rem; /* 48px */
            }
            .coming-soon-heading {
                font-size: 2.25rem; /* 36px */
                line-height: 2.5rem; /* 40px */
            }
        }

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 9999;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10000;
    gap: 1rem;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
}

.logo-text {
    color: white;
}

.logo-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--primary); /* Fallback for browsers that don't support background-clip */
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    color: var(--primary);
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

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

.cta-button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1000;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--gradient-hero);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

#hero-canvas {
    width: 100%;
    height: 100%;
    filter: blur(0.5px);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.4) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Additional particle animations */
@keyframes sparkle {
    0%, 100% { 
        transform: scale(1) rotate(0deg); 
        opacity: 0.7; 
    }
    50% { 
        transform: scale(1.2) rotate(180deg); 
        opacity: 1; 
    }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
}

.title-line {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 1;
    transform: translateY(0);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 1;
    transform: translateY(0);
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-lg);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Floating Elements */
.floating-elements {
    position: relative;
    height: 400px;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    color: white;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.floating-card:nth-child(1) {
    top: 20%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.floating-card:nth-child(2) {
    top: 50%;
    right: 20%;
    animation: float 6s ease-in-out infinite 2s;
}

.floating-card:nth-child(3) {
    bottom: 20%;
    left: 30%;
    animation: float 6s ease-in-out infinite 4s;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.card-text {
    font-weight: 600;
    font-size: 0.9rem;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) translateX(0px); 
        opacity: 0.8;
    }
    25% { 
        transform: translateY(-15px) translateX(5px); 
        opacity: 1;
    }
    50% { 
        transform: translateY(-30px) translateX(-5px); 
        opacity: 0.9;
    }
    75% { 
        transform: translateY(-15px) translateX(3px); 
        opacity: 1;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(45deg); }
    40% { transform: translateY(-10px) rotate(45deg); }
    60% { transform: translateY(-5px) rotate(45deg); }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Services Section */
.services {
    padding: var(--section-padding);
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-light);
    position: relative;
    overflow: hidden;
}

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

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.service-icon svg {
    width: 30px;
    height: 30px;
}

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

.service-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--gray);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Portfolio Section */
.portfolio {
    padding: var(--section-padding);
    background: var(--light);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 2rem;
}

.portfolio-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    background: white;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.portfolio-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 2rem;
    opacity: 0.2;
    transition: opacity 0.3s ease;
}

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

.portfolio-overlay h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.portfolio-overlay p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.portfolio-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.portfolio-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

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

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

.about-text h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    font-size: 1.125rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 2rem;
}

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

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray);
    font-weight: 500;
}

.team-illustration {
    position: relative;
    height: 400px;
}

.team-illustration .team-member {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.team-illustration .team-member:nth-child(1) {
    top: 20%;
    left: 20%;
}

.team-illustration .team-member:nth-child(2) {
    top: 40%;
    right: 30%;
    animation-delay: 0.5s;
}

.team-illustration .team-member:nth-child(3) {
    bottom: 30%;
    left: 40%;
    animation-delay: 1s;
}

.team-illustration .team-member:nth-child(4) {
    bottom: 20%;
    right: 20%;
    animation-delay: 1.5s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background: var(--light);
}

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

.contact-info h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info p {
    font-size: 1.125rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.method-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.method-details h3 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.method-details p {
    color: var(--gray);
    margin: 0;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    max-width: 100%;
    overflow-x: hidden;
}

/* Contact page specific fixes */
.contact-hero {
    min-height: 80vh;
    padding: 2rem 0;
    width: 100%;
    overflow: visible;
}

/* Ensure contact page has proper scrolling */
body.contact-page {
    overflow-y: auto;
    overflow-x: hidden;
    height: auto;
}

/* Ensure about page has proper scrolling */
body.about-page {
    overflow-y: auto;
    overflow-x: hidden;
    height: auto;
}

/* Mobile responsive fixes for contact and about pages */
@media (max-width: 768px) {
    /* Navbar mobile fixes */
    .navbar {
        padding: 0.5rem 0;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    /* Contact page mobile fixes */
    .contact-hero {
        min-height: auto;
        padding: 1rem 0 2rem 0;
        margin-top: 60px;
    }
    .contact-form {
        margin-top: 60px;
        width: max-content;
    }
    
    .contact-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .contact-hero .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .contact-hero .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-features {
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .feature {
        font-size: 0.8rem;
    }
    
    .contact-illustration {
        height: 300px;
        margin-top: 1rem;
    }
    
    .floating-message {
        position: relative;
        opacity: 1;
        transform: none;
        margin-bottom: 1rem;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
    }
    
    .message-bubble {
        max-width: 100%;
    }
    
    /* About page mobile fixes */
    .about-hero {
        min-height: auto;
        padding: 1rem 0 2rem 0;
        margin-top: 60px;
    }
    
    .geometric-shapes {
        display: none;
    }
    
    .about-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .about-hero .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .about-hero .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .hero-stats .stat-number {
        font-size: 2rem;
    }
    
    /* Form mobile fixes */
    .contact-form-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .form-info {
        order: 2;
    }
    
    .contact-form {
        order: 1;
    }
    
    .form-benefits {
        gap: 1rem;
    }
    
    .benefit {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    /* Methods grid mobile fixes */
    .methods-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .method-card {
        padding: 1.5rem;
    }
    
    /* FAQ mobile fixes */
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    /* Navbar small mobile fixes */
    .navbar {
        padding: 0.25rem 0;
    }
    
    .nav-container {
        padding: 0 0.5rem;
    }
    
    /* Contact page small mobile fixes */
    .contact-hero {
        padding: 0.5rem 0 1.5rem 0;
        margin-top: 50px;
    }
    
    .contact-hero .hero-title {
        font-size: 2rem;
    }
    
    .contact-hero .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .contact-illustration {
        height: 250px;
    }
    
    /* About page small mobile fixes */
    .about-hero {
        padding: 0.5rem 0 1.5rem 0;
        margin-top: 50px;
    }
    
    .about-hero .hero-title {
        font-size: 2rem;
    }
    
    .about-hero .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .hero-stats .stat-number {
        font-size: 1.5rem;
    }
    
    /* Form small mobile fixes */
    .contact-form-content {
        padding: 0 0.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Methods small mobile fixes */
    .method-card {
        padding: 1rem;
    }
    
    .method-card h3 {
        font-size: 1.1rem;
    }
    
    .method-card p {
        font-size: 0.9rem;
    }
}

.contact-hero .container {
    width: 100%;
    padding: 0 1rem;
}

.contact-hero .hero-background {
    width: 100%;
}

.contact-hero-content {
    width: 100%;
    padding: 0 1rem;
}

.contact-form-section {
    width: 100%;
}

.contact-form-content {
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
}

.contact-form-container {
    width: 100%;
    box-sizing: border-box;
}

/* About page specific fixes */
.about-hero {
    min-height: 80vh;
    padding: 2rem 0;
    overflow-x: hidden;
    width: 100%;
}

.about-hero-content {
    max-width: 100%;
    overflow-x: hidden;
    padding: 0 1rem;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-light);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    box-sizing: border-box;
    word-wrap: break-word;
    word-break: break-word;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: var(--gray);
    transition: all 0.3s ease;
    pointer-events: none;
    background: white;
    padding: 0 0.5rem;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 0.75rem;
    font-size: 0.875rem;
    color: var(--primary);
}

.submit-btn {
    width: 100%;
    max-width: 100%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    word-wrap: break-word;
    word-break: break-word;
}

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

.btn-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
}

.submit-btn.loading .btn-loader {
    display: block;
}

.submit-btn.loading span {
    opacity: 0;
}

/* Testimonials Section */
.testimonials {
    padding: var(--section-padding);
    background: var(--gradient-light);
    color: black;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 2px solid transparent;
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    border-radius: 20px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.testimonial-content .stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    overflow: hidden;
    flex-shrink: 0;
    box-sizing: border-box;
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    line-height: 1;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.author-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.author-info span {
    font-size: 0.9rem;
    opacity: 0.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.3;
}

.testimonials-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Pricing Section */
.pricing {
    padding: var(--section-padding);
    background: var(--light);
}

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

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

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

.price .currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.price .period {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 400;
}

.pricing-header p {
    color: var(--gray);
    font-size: 0.95rem;
}

.pricing-features {
    margin-bottom: 2rem;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-light);
    color: var(--dark);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-cta {
    text-align: center;
    margin: auto;
}

/* Blog Preview Section */
.blog-preview {
    padding: var(--section-padding);
    background: var(--light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.blog-image {
    position: relative;
    height: 200px;
    background: var(--gradient-primary);
}

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-content {
    padding: 1.5rem;
    text-align: center;
    margin: 20px;
    background: rgba(255, 255, 255, 0.9);
}

.blog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark);
    line-height: 1.4;
}

.blog-content p {
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--gray);
}

.blog-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.blog-link:hover {
    color: var(--primary-dark);
}

.blog-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    z-index: 1000;
    position: relative;
    flex-shrink: 0;
}

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

.dark-mode-toggle svg {
    width: 20px;
    height: 20px;
}

.dark-mode-toggle .sun-icon {
    display: none;
}

[data-theme="dark"] .dark-mode-toggle svg {
    fill: white;
}

/* Dark Mode Styles */
[data-theme="dark"] {
    --light: #0f172a;
    --dark: #f8fafc;
    --gray: #94a3b8;
    --gray-light: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
}

[data-theme="dark"] .dark-mode-toggle .sun-icon {
    display: none;
}

[data-theme="dark"] .dark-mode-toggle .moon-icon {
    display: block;
}

[data-theme="dark"] body {
    background: var(--bg-primary);
    color: var(--text-primary);
}

[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.95);
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .portfolio-item,
[data-theme="dark"] .blog-card,
[data-theme="dark"] .team-member,
[data-theme="dark"] .method-card,
[data-theme="dark"] .faq-item{
    background: var(--bg-secondary);
    color: var(--text-primary);
}

[data-theme="dark"] .pricing-card,
[data-theme="dark"] .pricing-card.featured {
    border-color: var(--primary);
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

[data-theme="dark"] .blog-categories{
    background: var(--gray-light);
    border-bottom-color: var(--gray);
}

[data-theme="dark"] .blog-content,
[data-theme="dark"] .team-section{
    background: var(--bg-primary);
}

[data-theme="dark"] .sidebar-widget {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

[data-theme="dark"] .category-btn {
    border-color: var(--gray);
    color: var(--gray);
}

[data-theme="dark"] .category-btn.active,
[data-theme="dark"] .category-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

[data-theme="dark"] .newsletter-form input {
    background: var(--gray-light);
    border-color: var(--gray);
    color: var(--dark);
}

[data-theme="dark"] .newsletter-form input::placeholder {
    color: var(--gray);
}

[data-theme="dark"] .testimonials,
[data-theme="dark"] .contact-methods,
[data-theme="dark"] .faq-section{
    background: var(--gradient-dark);
}

[data-theme="dark"] .testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .pricing {
    background: var(--bg-primary);
}

[data-theme="dark"] .blog-preview {
    background: var(--bg-primary);
}

[data-theme="dark"] .services {
    background: var(--bg-primary);
}

[data-theme="dark"] .portfolio {
    background: var(--bg-primary);
}

[data-theme="dark"] .about {
    background: var(--bg-primary);
}

[data-theme="dark"] .footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--gray);
}

[data-theme="dark"] .footer-logo {
    color: var(--text-primary);
}

[data-theme="dark"] .footer-logo .logo-text {
    color: var(--text-primary);
}

[data-theme="dark"] .footer-logo .logo-accent {
    color: var(--primary);
}

[data-theme="dark"] .footer-brand p {
    color: var(--text-secondary);
}

[data-theme="dark"] .footer-section h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .footer-section a {
    color: var(--text-secondary);
}

[data-theme="dark"] .footer-section a:hover ,
[data-theme="dark"] .icon-svg{
    color: var(--primary);
}

[data-theme="dark"] .footer-bottom {
    border-top: 1px solid var(--gray);
}

[data-theme="dark"] .footer-bottom p {
    color: var(--gray);
}

[data-theme="dark"] .footer-legal a {
    color: var(--gray);
}

[data-theme="dark"] .footer-legal a:hover {
    color: var(--primary);
}
[data-theme="dark"] .form-group a{
    color: gray;
}

/* Additional dark mode text styles */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
    color: var(--text-primary);
}

[data-theme="dark"] p {
    color: var(--text-secondary);
}

[data-theme="dark"] .hero-title,
[data-theme="dark"] .hero-subtitle {
    color: var(--text-primary);
}

[data-theme="dark"] .section-title {
    color: var(--text-primary);
}

[data-theme="dark"] .section-subtitle {
    color: var(--text-secondary);
}

[data-theme="dark"] .nav-link {
    color: var(--text-primary);
}

[data-theme="dark"] .nav-link:hover {
    color: var(--primary);
}

[data-theme="dark"] .nav-link.active {
    color: var(--primary);
}

/* Dark mode form styles */
[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select {
    background: var(--bg-secondary);
    border-color: var(--gray);
    color: var(--text-primary);
}

[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder {
    color: var(--text-secondary);
}

[data-theme="dark"] input:focus,
[data-theme="dark"] textarea:focus,
[data-theme="dark"] select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

/* Dark mode button styles */
[data-theme="dark"] .btn-primary {
    background: var(--primary);
    color: white;
}

[data-theme="dark"] .btn-secondary {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

[data-theme="dark"] .btn-secondary:hover {
    background: var(--primary);
    color: white;
}
/* Dark mode illustration element */
[data-theme="dark"] .illustration-element {
    background: var(--bg-secondary);
    border: 1px solid var(--gray-light);
    box-shadow: var(--shadow-lg);
    color: var(--text-primary);
    
}

/* Portfolio Page Styles */
.portfolio-hero {
    background: var(--gradient-dark);
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 0 4rem 0;
    margin-top: 80px;
}

.portfolio-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.portfolio-hero .hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 100%;
}

.portfolio-hero .hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.portfolio-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.portfolio-hero .hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.portfolio-section {
    padding: var(--section-padding);
    background: var(--light);
}

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

.portfolio-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.portfolio-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

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

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

.portfolio-actions {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-category {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.portfolio-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.portfolio-content p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: var(--light);
    color: var(--gray);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.portfolio-cta {
    text-align: center;
    margin-top: 3rem;
}

.portfolio .portfolio-cta {
    margin-top: 2rem;
}

/* Blog Page Styles */
.blog-hero {
    background: var(--gradient-dark);
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 0 4rem 0;
    margin-top: 80px;
}

.blog-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.blog-hero .geometric-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.blog-hero .hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.blog-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.blog-hero .hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}


.blog-search {
    display: flex;
    max-width: 500px;
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.5rem;
    backdrop-filter: blur(20px);
}

.blog-search input {
    flex: 1;
    background: none;
    border: none;
    color: white;
    padding: 1rem 1.5rem;
    font-size: 1rem;
}

.blog-search input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.blog-search button {
    background: var(--primary);
    border: none;
    color: white;
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.blog-search button:hover {
    background: var(--primary-dark);
}

.blog-search svg {
    width: 20px;
    height: 20px;
}

.blog-categories {
    padding: 2rem 0;
    background: white;
    border-bottom: 1px solid var(--gray-light);
}

.categories-filter {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.5rem 0;
}

.category-btn {
    background: none;
    border: 2px solid var(--gray-light);
    color: var(--gray);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.category-btn.active,
.category-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

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

.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

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

.blog-card.featured {
    grid-column: 1 / -1;
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-author {
    color: var(--primary);
    font-weight: 600;
}

.load-more-container {
    text-align: center;
    margin-top: 3rem;
}

/* Blog Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.sidebar-widget h3 {
    margin-bottom: 1rem;
    color: var(--dark);
    font-size: 1.2rem;
}

.popular-articles {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popular-article {
    display: flex;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.popular-article:hover {
    transform: translateX(5px);
}

.popular-article-image {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background: var(--gradient-primary);
    flex-shrink: 0;
}

.popular-article-content h4 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
    line-height: 1.4;
}

.popular-article-date {
    font-size: 0.8rem;
    color: var(--gray);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-form input {
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    font-size: 0.9rem;
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    margin-bottom: 0.5rem;
}

.category-list a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

/* Article Page Styles */
.article-header {
    text-align: center;
    margin-bottom: 3rem;
}

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

.article-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
    line-height: 1.2;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: var(--gray);
    font-size: 0.9rem;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.article-intro {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
    font-weight: 500;
}

.article-body h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    color: var(--dark);
}

.article-body p {
    margin-bottom: 1.5rem;
    color: var(--gray);
}

.article-cta {
    background: var(--gradient-primary);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    margin: 3rem 0;
}

.article-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.footer-logo .logo-text {
    color: white;
}

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

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
    line-height: 1.6;
    font-size: 1rem;
    max-width: 300px;
}

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

.footer-section h3 {
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: white;
    font-size: 1.1rem;
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    line-height: 1.4;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex !important;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
        justify-content: flex-start;
        align-items: flex-start;
        display: flex;
    }
    
    .nav-menu .dark-mode-toggle {
        display: none;
    }
    
    .nav-menu a {
        padding: 1.5rem 0;
        font-size: 1.2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        color: white;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        color: var(--primary);
    }
    
    .nav-menu a:last-child {
        border-bottom: none;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-toggle {
        display: flex;
        width: 30px;
        height: 30px;
        flex-direction: column;
        justify-content: space-around;
        cursor: pointer;
        z-index: 1001;
    }
    
    .nav-toggle span {
        width: 100%;
        height: 3px;
        background: white;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .nav-logo {
        font-size: 1.3rem;
        font-weight: 700;
        display: flex;
        align-items: center;
        gap: 0.25rem;
    }
    
    .nav-logo .logo-text {
        color: white;
        display: inline;
    }
    
    .nav-logo .logo-accent {
        color: var(--primary);
        display: inline;
    }
    
    .dark-mode-toggle {
        width: 35px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 1000;
        margin-right: 0.5rem;
        position: relative;
    }
    
    .dark-mode-toggle svg {
        width: 18px;
        height: 18px;
    }
    
    .nav-cta {
        gap: 0.5rem;
        align-items: center;
    }
    
    .cta-button {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 1rem;
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        white-space: nowrap;
        min-width: auto;
    }

    .hero-buttons {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .floating-elements {
        height: 300px;
        display: none;
    }
    
    .hero-visual {
        display: none;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-item {
        text-align: center;
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

/* Responsive Styles for About and Contact Pages */
@media (max-width: 768px) {
    /* Fix viewport issues on mobile */
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    /* Contact form mobile fixes */
    .contact-form {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 1.5rem;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .contact-form .form-group {
        width: 100%;
        max-width: 100%;
        margin-bottom: 1rem;
    }
    
    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .about-hero-content,
    .contact-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 1rem;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .contact-form {
        padding: 1.5rem;
        margin: 0 1rem;
        max-width: calc(100% - 2rem);
        width: calc(100% - 2rem);
        box-sizing: border-box;
    }
    
    .contact-form .form-group {
        margin-bottom: 1rem;
        width: 100%;
    }
    
    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        font-size: 0.9rem;
        padding: 0.75rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        color: grey;
        overflow-x: hidden;
    }
    
    .contact-form-content {
        padding: 0 1rem;
        max-width: 100%;
        overflow-x: hidden;
        width: 100%;
    }
    
    .contact-form-section {
        padding: 2rem 1rem;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .contact-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .timeline-visual {
        height: 300px;
    }
    
    .timeline-point {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .timeline-point .point-content {
        padding: 1rem;
    }
    
    .timeline-point .point-content h3 {
        font-size: 1.2rem;
    }
    
    .point-marker::before {
        display: none;
    }
    
    .mission-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mission-illustration {
        max-width: 100%;
    }
    
    .timeline-visual {
        height: auto;
        padding: 1rem 0;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }
    
    .team-member {
        padding: 2rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .methods-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .floating-message {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin-bottom: 1rem;
    }
    
    .contact-illustration {
        height: auto;
    }
    
    .faq-grid {
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    /* Additional fixes for very small screens */
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    .container {
        padding: 0 1rem;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .contact-form {
        padding: 1rem;
        margin: 0 0.5rem;
        max-width: calc(100% - 1rem);
        width: calc(100% - 1rem);
        box-sizing: border-box;
    }
    
    .contact-form .form-group {
        margin-bottom: 1rem;
        width: 100%;
    }
    
    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        font-size: 0.85rem;
        padding: 0.75rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        color: grey;
        overflow-x: hidden;
    }
    
    .contact-hero-content,
    .about-hero-content {
        padding: 0 0.5rem;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .nav-container {
        padding: 1rem;
    }

    section {
        padding: var(--section-padding-mobile) !important;
    }

    .services,
    .portfolio,
    .about,
    .contact-form-section,
    .testimonials,
    .pricing,
    .blog-preview {
        padding: var(--section-padding-mobile);
    }
    
    .nav-logo {
        font-size: 1.1rem;
        font-weight: 700;
        display: flex;
        align-items: center;
        gap: 0.25rem;
    }
    
    .nav-logo .logo-text {
        color: white;
        display: inline;
    }
    
    .nav-logo .logo-accent {
        color: var(--primary);
        display: inline;
    }
    
    .dark-mode-toggle {
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 1000;
        margin-right: 0.5rem;
        position: relative;
    }
    
    .dark-mode-toggle svg {
        width: 16px;
        height: 16px;
    }
    
    .nav-cta {
        gap: 0.5rem;
        align-items: center;
    }
    
    .cta-button {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .nav-cta {
        gap: 0.25rem;
    }
    
    .hero-content {
        padding: 0 1rem;
        gap: 2rem;
        margin-top: 1rem;
    }

    .hero {
        min-height: 90vh;
        padding-top: 100px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card,
    .contact-form {
        padding: 1.5rem;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .testimonial-card,
    .pricing-card,
    .blog-card {
        padding: 1.5rem;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .about-hero,
    .contact-hero {
        min-height: 80vh;
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
        line-height: 1.5;
    }

    .section-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        line-height: 1.2;
    }

    .section-subtitle {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
        line-height: 1.5;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .cta-section {
        padding: 3rem 0;
    }
    
    .cta-content {
        text-align: center;
        padding: 0 1rem;
    }
    
    .team-member,
    .method-card,
    .value-card {
        padding: 1.5rem;
        text-align: center;
    }
    
    .team-member h3,
    .method-card h3,
    .value-card h3 {
        font-size: 1.2rem;
    }
    
    .team-member p,
    .method-card p,
    .value-card p {
        font-size: 0.9rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-form .form-group {
        margin-bottom: 1rem;
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        font-size: 0.9rem;
        padding: 0.75rem;
        width: 100%;
        box-sizing: border-box;
        color: grey;
    }

    .form-row {
        flex-direction: column;
        gap: 1rem;
        max-width: 100%;
        overflow-x: hidden;
        width: 100%;
    }
    
    .form-row .form-group {
        width: 100%;
        max-width: 100%;
    }

    .form-row .form-group {
        width: 100%;
    }
    
    .form-benefits {
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .benefit {
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .benefit h3 {
        font-size: 1.1rem;
    }
    
    .benefit p {
        font-size: 0.9rem;
    }
    
    .benefit-icon {
        font-size: 1.2rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 0 1rem 1rem;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

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

.bg-gradient {
    background: var(--gradient-primary);
}

.shadow-glow {
    box-shadow: var(--shadow-glow);
}

/* About Page Styles */
.about-hero {
    min-height: 100vh;
    background: var(--gradient-dark);
    position: relative;
    display: flex;
    align-items: center;
    padding: 6rem 0 2rem 0;
    margin-top: 80px;
}

.about-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.geometric-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 50%;
    left: 50%;
    animation-delay: 4s;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    min-height: 80vh;
}

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

.hero-stats .stat-item {
    text-align: center;
    color: white;
}

.hero-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.hero-stats .stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.timeline-visual {
    position: relative;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 0;
}

.timeline-point {
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transform: translateX(-50px);
    margin-bottom: 2rem;
}

.timeline-point:last-child {
    margin-bottom: 0;
}

.point-marker {
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    position: relative;
}

.point-marker::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 40px;
    background: var(--primary);
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.point-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.point-content h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.point-content p {
    color: white;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Mission Section */
.mission-section {
    padding: var(--section-padding);
    background: var(--light);
    position: relative;
    z-index: 1;
}

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

.mission-statement {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 3rem;
}

.mission-pillars {
    display: grid;
    gap: 2rem;
}

.pillar {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.pillar-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.pillar h3 {
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.pillar p {
    color: var(--gray);
    line-height: 1.6;
}

.mission-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mission-illustration {
    display: grid;
    gap: 2rem;
    max-width: 400px;
}

.illustration-element {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-light);
    transition: all 0.3s ease;
}

.illustration-element:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.element-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.illustration-element h4 {
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.illustration-element p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
}


/* Team Section */
.team-section {
    padding: var(--section-padding);
    background: white;
    position: relative;
    z-index: 1;
    margin-top: 2rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.team-member {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-light);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.member-avatar {
    position: relative;
    margin-bottom: 1.5rem;
}

.avatar-placeholder {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    margin-bottom: 1rem;
}

.member-social {
    display: flex;
    gap: 0.5rem;
}

.social-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.social-link:hover {
    text-decoration: underline;
}

.member-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

.member-role {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.member-bio {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.member-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: var(--gray-light);
    color: var(--dark);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Values Section */
.values-section {
    padding: var(--section-padding);
    background: var(--gradient-dark);
    color: white;
}

.values-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.values-section .section-title {
    color: white;
}

.values-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

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

.value-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.value-card h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.value-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: var(--section-padding);
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Contact Page Styles */
.contact-hero {
    min-height: 100vh;
    background: var(--gradient-dark);
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 80px;
    margin-top: 80px;
}

.contact-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.contact-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float-particle 8s ease-in-out infinite;
}

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

.particle-2 {
    width: 6px;
    height: 6px;
    top: 60%;
    right: 15%;
    animation-delay: 1s;
}

.particle-3 {
    width: 3px;
    height: 3px;
    top: 40%;
    left: 80%;
    animation-delay: 2s;
}

.particle-4 {
    width: 5px;
    height: 5px;
    bottom: 30%;
    left: 20%;
    animation-delay: 3s;
}

.particle-5 {
    width: 4px;
    height: 4px;
    top: 80%;
    right: 30%;
    animation-delay: 4s;
}

.particle-6 {
    width: 6px;
    height: 6px;
    bottom: 60%;
    right: 60%;
    animation-delay: 5s;
}

@keyframes float-particle {
    0%, 100% { 
        transform: translateY(0px) translateX(0px); 
        opacity: 0.3;
    }
    25% { 
        transform: translateY(-20px) translateX(10px); 
        opacity: 0.7;
    }
    50% { 
        transform: translateY(-40px) translateX(-5px); 
        opacity: 1;
    }
    75% { 
        transform: translateY(-20px) translateX(-15px); 
        opacity: 0.7;
    }
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.9rem;
}

.feature-icon {
    font-size: 1.2rem;
}

.contact-illustration {
    position: relative;
    height: 400px;
}

.floating-message {
    position: absolute;
    opacity: 0;
    transform: translateY(30px);
}

.floating-message[data-speed="0.3"] {
    top: 10%;
    right: 0;
}

.floating-message[data-speed="0.5"] {
    top: 40%;
    left: 0;
}

.floating-message[data-speed="0.7"] {
    bottom: 10%;
    right: 20%;
}

.message-bubble {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 250px;
}

.message-bubble p {
    color: white;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.message-author {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
}

/* Contact Methods Section */
.contact-methods {
    padding: var(--section-padding);
    background: white;
}

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

.method-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-light);
}

.method-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.method-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.method-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.method-card h3 {
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.method-card p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.method-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.method-link:hover {
    text-decoration: underline;
}

.response-time {
    color: var(--gray);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Contact Form Section */
.contact-form-section {
    padding: var(--section-padding);
    background: var(--light);
}

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

.form-info h2 {
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: 3rem;
    width: auto;
}

.form-info p {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.form-benefits {
    display: grid;
    gap: 1.5rem;
}

.benefit {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.benefit-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.benefit-text h4 {
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.benefit-text p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.contact-form {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.project-form {
    display: grid;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 100%;
    overflow-x: hidden;
}

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

.form-group {
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-light);
    border-radius: 10px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
    font-family: inherit;
    color: grey;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--gray);
    transition: all 0.3s ease;
    pointer-events: none;
    background: white;
    padding: 0 0.5rem;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 0.8rem;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-group label {
    position: static;
    color: var(--gray);
    font-size: 0.9rem;
    cursor: pointer;
}

.submit-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.btn-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
}

.submit-btn.loading .btn-text {
    opacity: 0;
}

.submit-btn.loading .btn-loader {
    display: block;
}

.form-error {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    display: none;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #ef4444;
}

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

/* FAQ Section */
.faq-section {
    padding: var(--section-padding);
    background: white;
}

.faq-grid {
    display: grid;
    gap: 1rem;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background: white;
    border-radius: 15px;
    border: 1px solid var(--gray-light);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--gray-light);
}

.faq-question h3 {
    color: var(--dark);
    font-size: 1.1rem;
    margin: 0;
}

.faq-toggle {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

/* Responsive Styles for New Components */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .testimonials-cta {
        margin-top: 2rem;
    }
    
    .testimonials-cta .btn-primary {
        width: 100%;
        max-width: 300px;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-content p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .testimonial-author {
        gap: 0.75rem;
    }
    
    .author-info h4 {
        font-size: 1rem;
    }
    
    .author-info span {
        font-size: 0.85rem;
    }
    
    .testimonial-content .stars {
        font-size: 1rem;
        letter-spacing: 1px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
    
    .pricing-card .price {
        font-size: 2.5rem;
    }
    
    .pricing-card.featured {
        transform: none;
        order: -1;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .blog-card {
        padding: 1.5rem;
    }
    
    .blog-card h3 {
        font-size: 1.2rem;
    }
    
    .blog-card p {
        font-size: 0.9rem;
    }
    
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .blog-search {
        max-width: 100%;
        margin-top: 1.5rem;
    }
    
    .categories-filter {
        gap: 0.5rem;
        padding: 0.5rem 0;
    }
    
    .category-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .dark-mode-toggle {
        margin-right: 0.5rem;
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 1000;
        position: relative;
    }
    
    .dark-mode-toggle svg {
        width: 20px;
        height: 20px;
    }
    
    .nav-actions {
        gap: 0.5rem;
    }
    
    .cta-button {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .nav-cta {
        gap: 0.5rem;
        align-items: center;
        justify-content: flex-end;
    }
    
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .portfolio-hero {
        min-height: 60vh;
        padding: 3rem 0;
    }
    
    .portfolio-hero .hero-content {
        padding: 0 1rem;
    }
    
    .portfolio-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .portfolio-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .blog-hero {
        min-height: 60vh;
        padding: 3rem 0;
    }
    
    .blog-hero .hero-content {
        padding: 0 1rem;
    }
    
    .blog-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .blog-hero .hero-subtitle {
        font-size: 1rem;
    }
    

    
    .blog-search {
        max-width: 100%;
        margin-top: 1.5rem;
    }
    
    .sidebar-widget {
        padding: 1.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .newsletter-form input {
        width: 100%;
    }
    
    .newsletter-form button {
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-brand p {
        max-width: none;
        margin: 1rem auto 0;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3 {
        margin-bottom: 1rem;
    }
    
    .footer-section a {
        margin-bottom: 0.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
    
    .testimonial-card {
        padding: 1rem;
    }
    
    .testimonial-content p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .testimonial-author {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .author-avatar {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
        border-radius: 50%;
        overflow: hidden;
        flex-shrink: 0;
        box-sizing: border-box;
        border: 2px solid rgba(255, 255, 255, 0.2);
    }
    
    .author-info h4 {
        font-size: 0.95rem;
    }
    
    .author-info span {
        font-size: 0.8rem;
    }
    
    .testimonial-content .stars {
        font-size: 0.9rem;
        letter-spacing: 0.5px;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
    
    .blog-card {
        margin-bottom: 1rem;
    }
    
    .article-body {
        padding: 0 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-brand p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .footer-section h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-section a {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .footer-bottom {
        font-size: 0.85rem;
    }
    
    .footer-legal {
        gap: 1rem;
    }
    
    .footer-legal a {
        font-size: 0.85rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .portfolio-filter {
        gap: 0.5rem;
        justify-content: center;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        white-space: nowrap;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .portfolio-image {
        height: 200px;
    }
    
    .portfolio-content {
        padding: 1rem;
    }
    
    .portfolio-content h3 {
        font-size: 1.1rem;
    }
    
    .portfolio-hero {
        min-height: 50vh;
        padding: 2rem 0;
    }
    
    .portfolio-hero .hero-content {
        padding: 0 1rem;
    }
    
    .portfolio-hero .hero-title {
        font-size: 2rem;
    }
    
    .portfolio-hero .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .blog-hero {
        min-height: 50vh;
        padding: 2rem 0;
    }
    
    .blog-hero .hero-content {
        padding: 0 1rem;
    }
    
    .blog-hero .hero-title {
        font-size: 2rem;
    }
    
    .blog-hero .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .blog-search {
        max-width: 100%;
        margin-top: 1rem;
    }
    
    .blog-search input {
        font-size: 0.9rem;
    }
    
    .blog-search button {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .sidebar-widget {
        padding: 1rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .newsletter-form input {
        width: 100%;
    }
    
    .newsletter-form button {
        width: 100%;
    }
}

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

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-xl);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--gray);
    cursor: pointer;
    z-index: 1;
    transition: color 0.3s ease;
}

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

.modal-body {
    padding: 2rem;
}

.project-details {
    color: var(--dark);
}

.project-header {
    text-align: center;
    margin-bottom: 2rem;
}

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

.project-category {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-gallery {
    margin-bottom: 2rem;
}

.project-image {
    width: 100%;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

.project-info {
    display: grid;
    gap: 2rem;
}

.project-description h3,
.project-challenges h3,
.project-results h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.project-description p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.detail-item h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-weight: 600;
}

.detail-item p {
    color: var(--gray);
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: var(--light);
    color: var(--gray);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.challenge-item,
.solution-item {
    margin-bottom: 1.5rem;
}

.challenge-item h4,
.solution-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-weight: 600;
}

.challenge-item p,
.solution-item p {
    color: var(--gray);
    line-height: 1.6;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.result-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--light);
    border-radius: 15px;
}

.result-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.result-label {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 500;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .project-header h2 {
        font-size: 2rem;
    }
    
    .project-details-grid {
        grid-template-columns: 1fr;
    }
    
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .modal-body {
        padding: 1rem;
    }
    
    .project-header h2 {
        font-size: 1.5rem;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth scrolling for older browsers - removed duplicate */
