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

:root {
    --primary-blue: #1E88E5;
    --secondary-cyan: #26C6DA;
    --dark-gray: #37474F;
    --light-gray: #ECEFF1;
    --white: #FFFFFF;
    --gradient: linear-gradient(135deg, #1E88E5 0%, #26C6DA 100%);
    
    /* Light Mode Colors */
    --bg-primary: #FFFFFF;
    --bg-secondary: #ECEFF1;
    --bg-tertiary: #f5f7fa;
    --text-primary: #37474F;
    --text-secondary: #546E7A;
    --border-color: #E0E0E0;
    --card-bg: #FFFFFF;
    --header-bg: rgba(255, 255, 255, 0.95);
    --footer-bg: #37474F;
}

[data-theme="dark"] {
    --primary-blue: #42A5F5;
    --secondary-cyan: #4DD0E1;
    --gradient: linear-gradient(135deg, #42A5F5 0%, #4DD0E1 100%);
    
    /* Dark Mode Colors */
    --bg-primary: #1a1a1a;
    --bg-secondary: #242424;
    --bg-tertiary: #2d2d2d;
    --text-primary: #E8E8E8;
    --text-secondary: #B0B0B0;
    --border-color: #404040;
    --card-bg: #2d2d2d;
    --header-bg: rgba(26, 26, 26, 0.95);
    --footer-bg: #1a1a1a;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Logo Theme Switching */
.logo-light {
    display: block;
}

.logo-dark {
    display: none;
}

[data-theme="dark"] .logo-light {
    display: none;
}

[data-theme="dark"] .logo-dark {
    display: block;
}

/* Theme Toggle Button */
.theme-toggle {
    background: var(--gradient);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 6px 20px rgba(30, 136, 229, 0.4);
}

.theme-toggle:active {
    transform: scale(0.95);
}

.sun-icon,
.moon-icon {
    position: absolute;
    transition: all 0.3s ease;
}

.sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.moon-icon {
    opacity: 0;
    transform: rotate(180deg) scale(0);
}

[data-theme="dark"] .sun-icon {
    opacity: 0;
    transform: rotate(-180deg) scale(0);
}

[data-theme="dark"] .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-container img:hover {
    transform: scale(1.05);
}

.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    transition: color 0.3s ease, transform 0.3s ease;
    font-size: 0.95rem;
    position: relative;
}

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

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

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

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

.cta-button {
    background: var(--gradient);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
}

.cta-button::after {
    display: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(30, 136, 229, 0.4);
    color: var(--white);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Lightning Strikes */
.lightning-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.lightning-strike {
    position: absolute;
    width: 100px;
    height: 400px;
    opacity: 0;
    filter: drop-shadow(0 0 10px rgba(66, 165, 245, 0.8)) drop-shadow(0 0 20px rgba(66, 165, 245, 0.6));
    animation: lightning-flash 8s infinite ease-in-out;
    will-change: opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.lightning-strike:nth-child(1) {
    top: 10%;
    left: 15%;
    transform: rotate(-15deg);
    animation-delay: 0s;
}

.lightning-strike:nth-child(2) {
    top: 20%;
    left: 45%;
    transform: rotate(10deg);
    animation-delay: 2.5s;
}

.lightning-strike:nth-child(3) {
    top: 5%;
    left: 75%;
    transform: rotate(-20deg);
    animation-delay: 5s;
}

.lightning-strike:nth-child(4) {
    top: 30%;
    left: 25%;
    transform: rotate(15deg);
    animation-delay: 3.5s;
}

.lightning-strike:nth-child(5) {
    top: 15%;
    left: 60%;
    transform: rotate(-10deg);
    animation-delay: 6.5s;
}

@keyframes lightning-flash {
    0%, 10%, 100% {
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    6% {
        opacity: 0.3;
    }
    7% {
        opacity: 1;
    }
    8% {
        opacity: 0;
    }
}

.lightning-bolt {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: lightning-draw 0.3s ease-out infinite;
    will-change: stroke-dashoffset;
    transform: translateZ(0);
}

.lightning-strike:nth-child(1) .lightning-bolt {
    animation-delay: 0s;
}

.lightning-strike:nth-child(2) .lightning-bolt {
    animation-delay: 2.5s;
}

.lightning-strike:nth-child(3) .lightning-bolt {
    animation-delay: 5s;
}

.lightning-strike:nth-child(4) .lightning-bolt {
    animation-delay: 3.5s;
}

.lightning-strike:nth-child(5) .lightning-bolt {
    animation-delay: 6.5s;
}

@keyframes lightning-draw {
    0% {
        stroke-dashoffset: 500;
    }
    50%, 100% {
        stroke-dashoffset: 0;
    }
}

[data-theme="dark"] .lightning-strike {
    filter: drop-shadow(0 0 12px rgba(66, 165, 245, 0.9)) drop-shadow(0 0 25px rgba(66, 165, 245, 0.7));
}

/* Mobile optimizations - reduce complexity */
@media (max-width: 768px) {
    .lightning-strike {
        filter: drop-shadow(0 0 8px rgba(66, 165, 245, 0.7));
        width: 80px;
        height: 320px;
    }
    
    [data-theme="dark"] .lightning-strike {
        filter: drop-shadow(0 0 10px rgba(66, 165, 245, 0.8));
    }
}

/* Animated Gradient Background */
.animated-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    z-index: 0;
    pointer-events: none;
}

[data-theme="dark"] .animated-gradient {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.animated-gradient::before,
.animated-gradient::after {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.animated-gradient::before {
    top: -200px;
    right: -200px;
    background: radial-gradient(circle, rgba(30, 136, 229, 0.4) 0%, transparent 70%);
}

.animated-gradient::after {
    bottom: -200px;
    left: -200px;
    background: radial-gradient(circle, rgba(38, 198, 218, 0.4) 0%, transparent 70%);
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.1); }
    66% { transform: translate(-50px, 50px) scale(0.9); }
}

/* Hero Section */
.hero {
    padding: 150px 2rem 100px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(66, 165, 245, 0.1);
    opacity: 0;
    pointer-events: none;
    z-index: 3;
    animation: lightning-flash-screen 8s infinite;
}

@keyframes lightning-flash-screen {
    0%, 10%, 100% {
        opacity: 0;
    }
    5%, 7% {
        opacity: 0.3;
    }
    6% {
        opacity: 0;
    }
}

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

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInLeft 0.8s ease-out;
}

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

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    animation: slideInLeft 0.8s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: slideInLeft 0.8s ease-out 0.4s both;
}

/* Ripple Effect for Buttons */
.ripple {
    position: relative;
    overflow: hidden;
}

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

.ripple:active::before {
    width: 300px;
    height: 300px;
}

.primary-btn {
    background: var(--gradient);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(30, 136, 229, 0.3);
    display: inline-block;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(30, 136, 229, 0.4);
}

.secondary-btn {
    background: var(--card-bg);
    color: var(--primary-blue);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid var(--primary-blue);
    transition: all 0.3s ease;
    display: inline-block;
}

.secondary-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 0.8s ease-out;
}

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

.hero-visual img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
    animation: floatImage 6s ease-in-out infinite;
}

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

/* Services Section */
.services {
    padding: 100px 2rem;
    background: var(--bg-primary);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* 3D Tilt Card Effect */
.tilt-card {
    transform-style: preserve-3d;
    transition: all 0.3s ease;
}

.tilt-card:hover {
    transform: translateY(-10px);
}

.service-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

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

.service-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-blue);
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    animation: bounce 2s ease-in-out infinite;
}

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

.service-card:hover .service-icon {
    animation: spin 0.6s ease;
}

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

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

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Why Choose Us Section */
.why-choose {
    padding: 100px 2rem;
    background: var(--bg-secondary);
}

.why-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-features {
    display: grid;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: start;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: rotate(360deg);
}

.feature-text h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-text p {
    color: var(--text-secondary);
}

/* Portfolio Section */
.portfolio {
    padding: 100px 2rem;
    background: var(--bg-primary);
}

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

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: block;
    text-decoration: none;
    color: inherit;
}

.portfolio-item:nth-child(2) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.portfolio-item:nth-child(3) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.portfolio-item:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 2rem;
    color: var(--white);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.view-project {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.2rem;
    background: var(--gradient);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
}

.portfolio-item:hover .view-project {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(30, 136, 229, 0.5);
}


/* Testimonials Section */
.testimonials {
    padding: 100px 2rem;
    background: var(--bg-secondary);
    overflow: hidden;
}

.testimonials-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
    flex: 1;
}

.testimonial-card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    display: none;
    animation: fadeIn 0.5s ease;
}

.testimonial-card.active {
    display: block;
}

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

.testimonial-header {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: center;
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
}

.testimonial-info h4 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.testimonial-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.stars {
    color: #FFB800;
    font-size: 0.9rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    font-style: italic;
}

.testimonial-nav {
    background: var(--gradient);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
    flex-shrink: 0;
}

.testimonial-nav:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(30, 136, 229, 0.4);
}

.testimonial-nav:active {
    transform: scale(0.95);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--gradient);
    transform: scale(1.3);
}

.dot:hover {
    transform: scale(1.2);
}

/* Process Section */
.process {
    padding: 100px 2rem;
    background: var(--bg-primary);
}

.process-steps {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-10px);
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(30, 136, 229, 0.3);
    transition: transform 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1) rotate(360deg);
}

.process-step h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.process-step p {
    color: var(--text-secondary);
}

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

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-section .primary-btn {
    background: var(--white);
    color: var(--primary-blue);
}

.cta-section .primary-btn:hover {
    background: var(--light-gray);
}

/* Contact Section */
.contact {
    padding: 100px 2rem;
    background: var(--bg-secondary);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

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

.form-group {
    display: grid;
    gap: 0.5rem;
}

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

.form-input {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}
.form-error {
    color: #ef4444;
    font-size: 12px;
    margin-top: 4px;
}

.submit-btn {
    background: var(--gradient);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(30, 136, 229, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(30, 136, 229, 0.4);
}

/* Footer */
footer {
    background: var(--footer-bg);
    color: var(--white);
    padding: 3rem 2rem 2rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-section p,
.footer-section > a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-section p a {
    display: inline;
    color: inherit;
}

.footer-section > a:hover,
.footer-section p a:hover {
    color: var(--secondary-cyan);
    transform: translateX(5px);
}

.footer-logo {
    height: 50px;
    margin-bottom: 1rem;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-cyan);
    transform: translateY(-3px) rotate(360deg);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-center {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--header-bg);
        transition: left 0.3s ease;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(10px);
    }
    
    .nav-center.active {
        left: 0;
    }
    
    .nav-links {
        flex-direction: column;
        padding: 2rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-content,
    .why-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-visual {
        order: -1;
    }

    .testimonials-container {
        flex-direction: column;
    }

    .testimonial-nav {
        width: 40px;
        height: 40px;
    }

    .testimonial-nav.prev,
    .testimonial-nav.next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
    }

    .testimonial-nav.prev {
        left: -10px;
    }

    .testimonial-nav.next {
        right: -10px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 120px 1.5rem 60px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
        text-align: center;
    }
    
    .hero-text p {
        font-size: 1rem;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section-header {
        padding: 0 1rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .services,
    .why-choose,
    .portfolio,
    .testimonials,
    .process,
    .cta-section,
    .contact {
        padding: 60px 1rem;
    }
    
    .portfolio-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
        text-align: center;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    .why-visual {
        display: none;
    }
    
    .feature-item {
        gap: 0.75rem;
    }
    
    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
    
    .feature-text h4 {
        font-size: 1.125rem;
    }
    
    .feature-text p {
        font-size: 0.9375rem;
    }

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

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

    .testimonial-content p {
        font-size: 1rem;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .contact-container {
        padding: 2rem 1.5rem;
    }
    
    .primary-btn,
    .secondary-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    footer {
        padding: 2.5rem 1rem 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-logo {
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    
    .footer-section p {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }

    .theme-toggle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
