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

:root {
    --primary: #0066ff;
    --primary-dark: #0052cc;
    --secondary: #00d4aa;
    --accent: #ff6b6b;
    --dark: #1a1a2e;
    --gray: #f8f9fa;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --shadow: 0 10px 40px rgba(0, 102, 255, 0.1);
    --shadow-hover: 0 20px 60px rgba(0, 102, 255, 0.2);
    --card-bg: #ffffff;
    --nav-bg: rgba(255, 255, 255, 0.95);
}

/* Dark mode variables */
[data-theme="dark"] {
    --bg-primary: #0f111a;
    --bg-secondary: #1a1d2e;
    --text-dark: #f0f0f0;
    --text-light: #b8b8b8;
    --gray: #1a1f3a;
    --white: #0f111a;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 20px 60px rgba(0, 102, 255, 0.3);
    --card-bg: #1a1d2e;
    --nav-bg: rgba(15, 17, 26, 0.95);
}

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

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Dark mode toggle - Improved */
.theme-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 102, 255, 0.3);
    z-index: 9999;
    transition: all 0.3s ease;
    border: 2px solid var(--bg-primary);
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(180deg);
    box-shadow: 0 8px 30px rgba(0, 102, 255, 0.5);
}

.theme-toggle svg {
    width: 26px;
    height: 26px;
    fill: white;
}

/* Professional Navigation with Glass Effect */
nav {
    position: fixed;
    width: 100%;
    top: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

/* Logo Styles - FIXED AND ENHANCED */
.logo {
    display: inline-block;
    height: auto;
    text-decoration: none;
    transition: transform 0.3s ease;
}

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

.logo img {
    height: 80px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Make logo even larger on desktop */
@media (min-width: 769px) {
    .logo img {
        height: 90px;
    }
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

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

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

.nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white !important;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.4);
}

/* Hero Section with Bubble Background */
.hero {
    margin-top: 70px;
    min-height: 90vh;
    padding: 100px 5%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='10' cy='10' r='3' fill='white' fill-opacity='0.15'/%3E%3Ccircle cx='30' cy='30' r='4' fill='white' fill-opacity='0.1'/%3E%3Ccircle cx='50' cy='15' r='2' fill='white' fill-opacity='0.15'/%3E%3Ccircle cx='45' cy='45' r='3' fill='white' fill-opacity='0.12'/%3E%3Ccircle cx='15' cy='50' r='5' fill='white' fill-opacity='0.08'/%3E%3Ccircle cx='25' cy='5' r='2' fill='white' fill-opacity='0.1'/%3E%3Ccircle cx='55' cy='35' r='3' fill='white' fill-opacity='0.12'/%3E%3Ccircle cx='5' cy='35' r='4' fill='white' fill-opacity='0.08'/%3E%3C/svg%3E");
    background-repeat: repeat;
    z-index: 0;
}

@keyframes float {
    0%, 100% { transform: translateX(0) translateY(0) rotate(0deg); }
    33% { transform: translateX(-30px) translateY(-30px) rotate(1deg); }
    66% { transform: translateX(30px) translateY(-20px) rotate(-1deg); }
}

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

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease;
}

.hero-text .tagline {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 2rem;
    opacity: 0.95;
    color: rgba(255,255,255,0.9);
    animation: fadeInUp 0.8s ease 0.2s both;
}

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

.hero-visual {
    position: relative;
    animation: fadeInUp 0.8s ease 0.6s both;
}

/* Enhanced Hero Card */
.hero-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s;
}

.hero-card:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.hero-card-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-card-item:last-child {
    margin-bottom: 0;
}

.hero-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.btn-primary {
    background: white;
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border: 2px solid white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

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

/* Animated Stats Bar */
.stats {
    background: var(--bg-secondary);
    padding: 5rem 5%;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
    background-size: 200% auto;
    animation: gradient 3s linear infinite;
}

@keyframes gradient {
    to { background-position: 200% center; }
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item {
    position: relative;
}

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

.stat-label {
    color: var(--text-light);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: 600;
}

/* Bento Grid Services - Fixed Layout */
.services {
    padding: 100px 5%;
    background: var(--bg-primary);
    position: relative;
}

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

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.2rem;
}

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

.service-card {
    background: #efefef;
    border: 1px solid #ccc;
    padding: 3rem 2rem;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.service-card.large {
    grid-column: span 3;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 4rem 3rem;
}

.service-card.large h3,
.service-card.large p {
    color: white;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: left 0.5s;
}

.service-card:hover::before {
    left: 0;
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s;
}

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

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

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

/* Portfolio Section with 3D Cards */
.portfolio {
    padding: 100px 5%;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.portfolio-showcase {
    max-width: 1400px;
    margin: 4rem auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.portfolio-content {
    position: relative;
}

.portfolio-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 800;
}

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

.portfolio-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.meta-item {
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: 15px;
    border-left: 4px solid var(--primary);
}

.meta-label {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.meta-value {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.5rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 2rem 0;
}

.tech-tag {
    padding: 0.5rem 1.2rem;
    background: linear-gradient(135deg, rgba(0,102,255,0.1), rgba(0,212,170,0.1));
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-dark);
    border: 1px solid rgba(0,102,255,0.2);
    transition: all 0.3s;
}

.tech-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,102,255,0.2);
}

.portfolio-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    transition: all 0.5s;
    transform: perspective(1000px) rotateY(-5deg);
}

.portfolio-image:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
    box-shadow: 0 40px 80px rgba(0,102,255,0.25);
}

.portfolio-image iframe {
    width: 100%;
    height: 500px;
    border: none;
}

/* Testimonial with Bubble Background */
.testimonial {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 6rem 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='10' cy='10' r='3' fill='white' fill-opacity='0.15'/%3E%3Ccircle cx='30' cy='30' r='4' fill='white' fill-opacity='0.1'/%3E%3Ccircle cx='50' cy='15' r='2' fill='white' fill-opacity='0.15'/%3E%3Ccircle cx='45' cy='45' r='3' fill='white' fill-opacity='0.12'/%3E%3Ccircle cx='15' cy='50' r='5' fill='white' fill-opacity='0.08'/%3E%3Ccircle cx='25' cy='5' r='2' fill='white' fill-opacity='0.1'/%3E%3Ccircle cx='55' cy='35' r='3' fill='white' fill-opacity='0.12'/%3E%3Ccircle cx='5' cy='35' r='4' fill='white' fill-opacity='0.08'/%3E%3C/svg%3E");
    background-repeat: repeat;
}

.testimonial-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    background: linear-gradient(135deg, rgba(255,255,255,0.35), rgba(255,255,255,0.15));
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    padding: 4rem 3rem;
    border-radius: 30px;
    border: 2px solid rgba(255,255,255,0.5);
    box-shadow: 0 30px 60px rgba(0,0,0,0.2),
                inset 0 0 40px rgba(255,255,255,0.1);
}

.quote {
    font-size: 1.5rem;
    font-style: italic;
    color: white;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.quote-author {
    font-weight: 700;
    color: white;
    font-size: 1.2rem;
}

.quote-company {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
}

/* Animated Process Timeline */
.process {
    padding: 100px 5%;
    background: var(--bg-primary);
}

.timeline {
    max-width: 1400px;
    margin: 4rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 0;
}

.timeline-item {
    text-align: center;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}

.timeline-item:hover {
    transform: translateY(-10px);
}

.timeline-number {
    width: 80px;
    height: 80px;
    background: var(--bg-secondary);
    border: 4px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    transition: all 0.3s;
    position: relative;
}

.timeline-number::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.3); opacity: 0; }
}

.timeline-item:hover .timeline-number {
    background: var(--primary);
    color: white;
    transform: rotate(360deg);
}

.timeline-item h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.timeline-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Modern Pricing Cards - Fixed to match */
.pricing {
    padding: 100px 5%;
    background: var(--bg-secondary);
    position: relative;
}

.pricing-cards {
    max-width: 1400px;
    margin: 4rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.plan-name {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.plan-price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1;
}

.plan-description {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.plan-features li {
    padding: 0.8rem 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 30px;
    font-size: 1rem;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
    font-size: 1.2rem;
}

.pricing-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0,102,255,0.3);
}

.pricing-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,102,255,0.4);
}

.pricing-note {
    text-align: center;
    margin-top: 3rem;
    color: var(--text-light);
}

/* About Section with Split Layout - Removed tint */
.about {
    padding: 100px 5%;
    background: var(--bg-primary);
}

.about-container {
    max-width: 1400px;
    margin: 4rem auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.profile-img {
    width: 350px;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
    margin: 0 auto;
    display: block;
    position: relative;
    transform: rotate(-5deg);
    transition: all 0.5s;
}

.profile-img:hover {
    transform: rotate(0deg) scale(1.05);
}

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

.about-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 800;
}

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

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

.about-tag {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 10px;
    transition: all 0.3s;
}

.about-tag:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0,102,255,0.1);
}

/* Contact Section with Bubble Background */
.contact {
    padding: 6rem 5%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='10' cy='10' r='3' fill='white' fill-opacity='0.15'/%3E%3Ccircle cx='30' cy='30' r='4' fill='white' fill-opacity='0.1'/%3E%3Ccircle cx='50' cy='15' r='2' fill='white' fill-opacity='0.15'/%3E%3Ccircle cx='45' cy='45' r='3' fill='white' fill-opacity='0.12'/%3E%3Ccircle cx='15' cy='50' r='5' fill='white' fill-opacity='0.08'/%3E%3Ccircle cx='25' cy='5' r='2' fill='white' fill-opacity='0.1'/%3E%3Ccircle cx='55' cy='35' r='3' fill='white' fill-opacity='0.12'/%3E%3Ccircle cx='5' cy='35' r='4' fill='white' fill-opacity='0.08'/%3E%3C/svg%3E");
    background-repeat: repeat;
    z-index: 0;
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, rgba(255,255,255,0.35), rgba(255,255,255,0.15));
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    padding: 4rem 3rem;
    border-radius: 30px;
    border: 2px solid rgba(255,255,255,0.5);
    box-shadow: 0 30px 60px rgba(0,0,0,0.2),
                inset 0 0 40px rgba(255,255,255,0.1);
}

.contact h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.contact-tagline {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.contact-item {
    font-size: 1.2rem;
}

.contact-item a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.contact-item a:hover {
    opacity: 0.8;
}

/* Contact Form Styles - NEW ADDITIONS */
#contact-form {
    max-width: 600px;
    margin: 3rem auto;
}

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

#contact-form input,
#contact-form select,
#contact-form textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

#contact-form select {
    cursor: pointer;
}

#contact-form select option {
    background: var(--primary-dark);
    color: white;
}

#contact-form input:focus,
#contact-form select:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.15);
}

#contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

#contact-form button {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    margin-top: 1rem;
    cursor: pointer;
    border: none;
    background: white;
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

#contact-form button:hover:not(:disabled) {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

#contact-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Dark mode form adjustments */
[data-theme="dark"] #contact-form input,
[data-theme="dark"] #contact-form select,
[data-theme="dark"] #contact-form textarea {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] #contact-form input:focus,
[data-theme="dark"] #contact-form select:focus,
[data-theme="dark"] #contact-form textarea:focus {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.5);
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 2rem 5%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Footer logo styling */
footer img {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
    display: inline-block;
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu improvements */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
    position: relative;
    transition: transform 0.3s;
}

.mobile-menu-btn.active {
    transform: rotate(90deg);
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.menu-overlay.active {
    display: block;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Skip navigation link for accessibility */
.skip-nav {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
}

.skip-nav:focus {
    top: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-card.large {
        grid-column: span 2;
    }
}

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

    .mobile-menu-btn {
        display: block;
    }
    
    /* Adjust navigation container for mobile */
    .nav-container {
        min-height: 60px;
    }
    
    /* Logo size adjustment for mobile */
    .logo img {
        height: 60px;
    }

    .hero {
        padding: 60px 5%;
        min-height: 80vh;
    }

    .hero-content {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .hero-visual {
        display: none;
    }

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

    .hero-text .tagline {
        font-size: 1rem;
    }

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

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

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

    .service-card.large {
        grid-column: span 1;
        padding: 2.5rem 1.5rem;
    }

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

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

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

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

    .portfolio-image iframe {
        height: 300px;
    }

    .portfolio-content h3 {
        font-size: 1.8rem;
    }

    .portfolio-meta {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        display: none;
    }

    .pricing-cards {
        padding: 0 1rem;
    }

    .plan-price {
        font-size: 2.5rem;
    }

    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .profile-img {
        width: 250px;
        height: 250px;
    }

    .about-content h3 {
        font-size: 2rem;
    }

    .contact h2 {
        font-size: 2rem;
    }

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

    .contact-item {
        font-size: 1rem;
    }

    #contact-form {
        padding: 0 1rem;
    }
    
    #contact-form input,
    #contact-form select,
    #contact-form textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Footer logo size on mobile */
    footer img {
        height: 40px;
    }

    .theme-toggle {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .theme-toggle svg {
        width: 22px;
        height: 22px;
    }

    /* Fix any horizontal overflow */
    body {
        overflow-x: hidden;
    }

    section {
        overflow-x: hidden;
    }
}