/* Global Styles */
:root {
    --primary-color: #2b71b8;
    --secondary-color: #1e5a9f;
    --accent-color: #5a8fce;
    --dark-bg: #0a1525;
    --darker-bg: #050b17;
    --text-color: #f8fafc;
    --text-secondary: #a4b8d0;
    --transition: all 0.3s ease;
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Inter', sans-serif;
    
    /* Typography settings */
    --heading-line-height: 1.2;
    --heading-letter-spacing: -0.02em;
    --heading-margin-bottom: 1.2rem;
    
    /* Responsive breakpoints */
    --mobile: 480px;
    --tablet: 768px;
    --laptop: 1024px;
    --desktop: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.8;
    overflow-x: hidden;
    position: relative;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.3px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.wave-container {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--darker-bg);
    opacity: 0.8;
}

.wave {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%232563eb" fill-opacity="0.2" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat;
    background-size: cover;
    animation: wave 15s linear infinite;
}

@keyframes wave {
    0% {
        transform: translateX(0) translateY(0) scale(1);
    }
    50% {
        transform: translateX(-25px) translateY(10px) scale(1.05);
    }
    100% {
        transform: translateX(0) translateY(0) scale(1);
    }
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header.scrolled {
    padding: 0.8rem 5%;
    background-color: rgba(5, 5, 16, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

.logo {
    height: 30px;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-color);
    text-decoration: none;
    font-family: var(--heading-font);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 0%, #a4b8d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
    text-transform: uppercase;
}

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

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a:hover::after {
    width: 100%;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Responsive header */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    nav ul {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: rgba(2, 6, 23, 0.95);
        padding: 2rem;
        gap: 2rem;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    nav ul.active {
        transform: translateY(0);
    }
}

/* Main Content Styles */
main {
    padding-top: 70px;
}

/* Responsive styles for all sections */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    .about, .services, .portfolio, .testimonials, .contact {
    padding: 6rem 10%;
    position: relative;
}
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .hero-logo {
        width: 150px;
        bottom: -80px;
    }
    
    .stats-container, .about-features, .service-cards, .portfolio-grid, .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .company-logos {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .cta-button {
        padding: 0.7rem 1.8rem;
        font-size: 0.9rem;
    }
    
    .hero-logo {
        width: 120px;
        bottom: -60px;
    }
    
    .about h2, .services h2, .portfolio h2, .testimonials h2, .contact h2 {
        font-size: 2rem;
    }
    
    .about-intro {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--darker-bg);
    padding: 2rem;
    background: radial-gradient(circle at center, rgba(10, 21, 37, 0.4) 0%, rgba(5, 11, 23, 0.8) 70%);
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease, transform 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(20px);
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    transform: translateY(0);
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-slide.active .hero-content h1 {
    animation: slideIn 0.8s ease forwards;
}

.hero-slide.active .hero-content .tagline {
    animation: slideIn 0.8s ease 0.2s forwards;
    opacity: 0;
    transform: translateY(20px);
    animation-fill-mode: forwards;
}

.hero-slide.active .hero-content .cta-button {
    animation: slideIn 0.8s ease 0.4s forwards;
    opacity: 0;
    transform: translateY(20px);
    animation-fill-mode: forwards;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1000" height="1000" viewBox="0 0 1000 1000"><path d="M0,500 Q250,400 500,500 T1000,500 L1000,1000 L0,1000 Z" fill="%232563eb" opacity="0.1"/></svg>') no-repeat center center;
    background-size: cover;
    opacity: 0.5;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 35%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 44%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 5% 85%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 90% 85%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    animation: pulseBackground 15s ease-in-out infinite;
    z-index: -1;
}

@keyframes pulseBackground {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    100% {
        opacity: 0.5;
        transform: scale(1);
    }
}

.hero-content {
    max-width: 900px;
    padding: 0 2rem;
    position: relative;
    animation: fadeIn 1.5s ease-out forwards;
}

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

.hero h1 {
    font-family: var(--heading-font);
    font-size: 4.2rem;
    letter-spacing: -0.02em;
    margin-bottom: 1.8rem;
    font-weight: 800;
    color: var(--text-color);
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(135deg, rgba(43, 113, 184, 0.2) 0%, rgba(90, 143, 206, 0.2) 100%);
    z-index: -1;
    border-radius: 4px;
}

.tagline {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    letter-spacing: 0.3px;
}

.cta-button {
    display: inline-block;
    padding: 1.1rem 2.8rem;
    background-color: var(--primary-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
    margin-top: 1.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(43, 113, 184, 0.3);
}

.cta-button:hover {
    background-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(43, 113, 184, 0.4);
}

.hero-indicators {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    gap: 0.8rem;
    position: absolute;
    bottom: 3rem;
    left: 0;
    right: 0;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.indicator::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.indicator:hover::after {
    opacity: 0.5;
}

.indicator.active {
    background-color: transparent;
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(43, 113, 184, 0.5);
}

.indicator.active::after {
    opacity: 1;
}

.hero-logo {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    opacity: 0.8;
    z-index: 5;
}

.hero-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    transform: translateY(-50%);
    z-index: 10;
}

.hero-nav-btn {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.hero-nav-btn:hover {
    background-color: rgba(43, 113, 184, 0.2);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.hero-nav-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(43, 113, 184, 0.3);
}

.hero-nav-btn i {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .hero-nav {
        padding: 0 1rem;
    }
    
    .hero-nav-btn {
        width: 40px;
        height: 40px;
    }
}

.hero-logo img {
    width: 100%;
    height: auto;
}

/* About Section */
.about {
    padding: 5rem 10%;
    text-align: center;
    background-color: rgba(5, 5, 16, 0.7);
}

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

.stat-item, .feature {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.portfolio-item {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.about h2 {
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 800;
}

.about h2:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -10px;
    left: 25%;
}

.about-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.stat-item {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

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

.stat-number {
    display: block;
    font-family: var(--heading-font);
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.8rem;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

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

.feature {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    background-color: rgba(10, 21, 37, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.feature:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-12px);
    -webkit-transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    border-color: rgba(90, 143, 206, 0.2);
}

.feature-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    margin-bottom: 1rem;
}

.feature-svg-icon {
    width: 60px;
    height: 60px;
    transition: var(--transition);
}

.feature:hover .feature-svg-icon {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
}

.feature h3 {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Portfolio Section */
.portfolio {
    padding: 5rem 10%;
    background: var(--dark-bg);
}

.portfolio h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3.5rem;
    font-family: var(--heading-font);
    text-transform: uppercase;
    font-weight: 800;
    position: relative;
}

.portfolio h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

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



.portfolio-content {
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    position: relative;
    background-blend-mode: soft-light;
    transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-content {
    background-blend-mode: normal;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 11, 23, 0.95);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.215, 0.610, 0.355, 1.000), opacity 0.4s ease;
    -webkit-transform: translateY(100%);
    -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.215, 0.610, 0.355, 1.000);
    opacity: 0.7;
}

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

.portfolio-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(43, 113, 184, 0.2), rgba(90, 143, 206, 0.6));
    opacity: 0.5;
    transition: opacity 0.4s ease;
    z-index: 1;
}

/* Active state for mobile interaction */
.portfolio-active .portfolio-overlay {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-active .portfolio-content::before {
    opacity: 0.9;
}

/* Touch effect for mobile */
.portfolio-touched {
    transform: scale(0.98);
}

.portfolio-item:hover .portfolio-overlay,
.portfolio-item.portfolio-active .portfolio-overlay,
.portfolio-item.portfolio-touched .portfolio-overlay {
    transform: translateY(0);
    -webkit-transform: translateY(0);
}

.portfolio-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 320px;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(30px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-item:hover {
    transform: translateY(-12px);
    -webkit-transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    -webkit-box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

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

.portfolio-item:hover .portfolio-content::before {
    opacity: 0.9;
}

.portfolio-overlay h3 {
    font-family: var(--heading-font);
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    color: var(--text-color);
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 10px;
}

.portfolio-overlay h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay h3::after {
    width: 60px;
}

.portfolio-overlay p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    max-width: 95%;
    font-weight: 300;
}

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

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.tech-stack span {
    background-color: rgba(43, 113, 184, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: 1px solid rgba(90, 143, 206, 0.3);
    transition: all 0.3s ease;
    color: var(--accent-color);
}

.tech-stack span:hover {
    background-color: rgba(43, 113, 184, 0.3);
    transform: translateY(-2px);
}

/* Testimonials Section */
/* Testimonials section removed as per client request */

/* Company logos section removed as part of testimonials removal */

/* Services Section */
.services {
    padding: 5rem 10%;
    text-align: center;
}

.services h2 {
    font-size: 2.8rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 800;
}

.services h2:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -10px;
    left: 25%;
}

.service-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.service-card {
    background-color: rgba(10, 21, 37, 0.7);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    width: 300px;
    transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    background-color: rgba(10, 21, 37, 0.9);
    border-color: rgba(90, 143, 206, 0.2);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
}

.service-svg-icon {
    width: 60px;
    height: 60px;
    transition: var(--transition);
}

.service-card:hover .service-svg-icon {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
}

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

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

/* Contact Section */
.contact {
    padding: 5rem 10%;
    text-align: center;
    background-color: rgba(5, 5, 16, 0.7);
}

.contact h2 {
    font-size: 2.8rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 800;
}

.contact h2:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -10px;
    left: 25%;
}

#contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

input, textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background-color: rgba(10, 21, 37, 0.6);
    color: var(--text-color);
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(43, 113, 184, 0.2);
    border-color: var(--primary-color);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

.form-message {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    animation: fadeIn 0.5s ease;
}

.form-message.success {
    background-color: rgba(212, 237, 218, 0.9);
    color: #155724;
    border: 1px solid rgba(195, 230, 203, 0.9);
}

.form-message.error {
    background-color: rgba(248, 215, 218, 0.9);
    color: #721c24;
    border: 1px solid rgba(245, 198, 203, 0.9);
}

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

.submit-button {
    padding: 1.1rem 2.8rem;
    background-color: var(--primary-color);
    color: var(--text-color);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid var(--primary-color);
    width: 100%;
    max-width: 300px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(43, 113, 184, 0.3);
}

.submit-button:hover {
    background-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 102, 204, 0.3);
}

@media (max-width: 768px) {
    .contact {
        padding: 4rem 5%;
    }
    
    #contact-form {
        padding: 0;
    }
    
    input, textarea {
        padding: 0.8rem;
    }
    
    textarea {
        min-height: 120px;
    }
    
    .submit-button {
        padding: 0.8rem 1.5rem;
    }
}

/* Footer Styles */
footer {
    background-color: var(--darker-bg);
    padding: 4rem 5% 3rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(90, 143, 206, 0), rgba(90, 143, 206, 0.5), rgba(90, 143, 206, 0));
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.logo-small {
    height: 30px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-right: 1.5rem;
    transition: var(--transition);
}

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

.social-links {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 1.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    margin-left: 1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
    color: var(--text-color);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(43, 113, 184, 0.3);
}

.copyright {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Footer Styles */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo, .footer-links, .social-links {
        margin-bottom: 1.5rem;
    }

    .social-links {
        justify-content: center;
    }

    .social-icon {
        margin: 0 0.5rem;
    }
    
    .footer-links a {
        display: block;
        margin: 0.5rem 0;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem;
    }

    .logo-container {
        margin-bottom: 1rem;
    }

    nav ul li {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .hero h1 {
        font-size: 3rem;
    }
    
    /* About Section Mobile Styles */
    .about {
        padding: 4rem 5%;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .stat-item {
        width: 100%;
        padding: 1.5rem;
    }
    
    .about-features {
        flex-direction: column;
        gap: 2rem;
    }
    
    .feature {
        width: 100%;
    }
    
    /* Portfolio Section Mobile Styles */
    .portfolio {
        padding: 4rem 5%;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .portfolio-item {
        height: 250px;
    }
    
    .portfolio-overlay {
        padding: 1.5rem;
    }
    
    .portfolio-overlay h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    
    .portfolio-overlay p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .tech-stack span {
        padding: 0.3rem 0.8rem;
        font-size: 0.8rem;
    }

    .service-cards {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo, .footer-links, .social-links {
        margin-bottom: 1.5rem;
    }

    .social-links {
        justify-content: center;
    }

    .social-icon {
        margin: 0 0.5rem;
    }
}