/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #818cf8;
    --secondary-color: #a78bfa;
    --accent-color: #f472b6;
    --dark-bg: #0f172a;
    --light-bg: #1e293b;
    --text-dark: #f1f5f9;
    --text-light: #cbd5e1;
    --white: #ffffff;
    --black: #000000;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
    color: var(--text-dark);
    background-color: var(--dark-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(15, 23, 42, 0.98);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo i {
    font-size: 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-word {
    display: inline-block;
}

.logo-the {
    color: #5B8DB8;
}

.logo-soft {
    color: #7B68EE;
}

.logo-solutions {
    color: #48BB78;
}

.logo-domain {
    color: #ED8936;
}

.domain {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.animation-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.1);stop-opacity:1" /><stop offset="100%" style="stop-color:rgba(255,255,255,0);stop-opacity:1" /></linearGradient></defs><circle cx="100" cy="100" r="80" fill="url(%23grad1)"/><circle cx="900" cy="400" r="100" fill="url(%23grad1)"/><circle cx="600" cy="200" r="60" fill="url(%23grad1)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-20px) translateX(20px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    max-width: 900px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.btn {
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--dark-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--dark-bg);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(129, 140, 248, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(129, 140, 248, 0.3);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: rgba(129, 140, 248, 0.2);
    border-color: var(--primary-color);
    transform: scale(1.1) rotate(5deg);
}

.service-icon i {
    font-size: 36px;
    color: var(--primary-color);
}

/* Colorful service icons with high contrast */
.service-icon .fa-globe {
    color: #1E88E5 !important;
    filter: drop-shadow(0 2px 8px rgba(30, 136, 229, 0.4));
}

.service-icon .fa-mobile-alt {
    color: #00C853 !important;
    filter: drop-shadow(0 2px 8px rgba(0, 200, 83, 0.4));
}

.service-icon .fa-cloud {
    color: #00B0FF !important;
    filter: drop-shadow(0 2px 8px rgba(0, 176, 255, 0.4));
}

.service-icon .fa-paint-brush {
    color: #E91E63 !important;
    filter: drop-shadow(0 2px 8px rgba(233, 30, 99, 0.4));
}

.service-icon .fa-database {
    color: #FF6F00 !important;
    filter: drop-shadow(0 2px 8px rgba(255, 111, 0, 0.4));
}

.service-icon .fa-cogs {
    color: #616161 !important;
    filter: drop-shadow(0 2px 8px rgba(97, 97, 97, 0.4));
}

.service-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1rem;
}

.service-features {
    list-style: none;
    text-align: left;
    display: inline-block;
}

.service-features li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.service-features i {
    color: var(--primary-color);
    font-size: 14px;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(129, 140, 248, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(167, 139, 250, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* About Hero */
.about-hero {
    margin-bottom: 80px;
    text-align: center;
}

.about-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--text-dark);
    line-height: 1.2;
}

.about-hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 0;
}

/* About Stats */
.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.stat-card {
    background: var(--dark-bg);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(129, 140, 248, 0.3);
}

.stat-icon i {
    font-size: 32px;
    color: var(--white);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Mission Section */
.about-mission {
    margin-bottom: 80px;
}

.mission-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.mission-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 15px;
}

.mission-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.mission-description {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 20px;
}

.mission-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-card {
    background: var(--gradient);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: rotatePattern 20s linear infinite;
}

@keyframes rotatePattern {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.mission-card i {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}

.mission-card h4 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.mission-card p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* Values Section */
.about-values {
    margin-top: 60px;
}

.values-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 20px;
}

.values-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.value-card {
    background: var(--dark-bg);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(129, 140, 248, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(129, 140, 248, 0.3);
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    background: rgba(129, 140, 248, 0.2);
    border-color: var(--primary-color);
    transform: scale(1.1) rotate(5deg);
}

.value-icon i {
    font-size: 36px;
    color: var(--primary-color);
}

/* Colorful value icons */
.value-icon .fa-rocket {
    color: #E53935 !important;
    filter: drop-shadow(0 2px 8px rgba(229, 57, 53, 0.4));
}

.value-icon .fa-shield-alt {
    color: #00ACC1 !important;
    filter: drop-shadow(0 2px 8px rgba(0, 172, 193, 0.4));
}

.value-icon .fa-users {
    color: #1976D2 !important;
    filter: drop-shadow(0 2px 8px rgba(25, 118, 210, 0.4));
}

.value-icon .fa-handshake {
    color: #43A047 !important;
    filter: drop-shadow(0 2px 8px rgba(67, 160, 71, 0.4));
}

.value-icon .fa-lightbulb {
    color: #FBC02D !important;
    filter: drop-shadow(0 2px 8px rgba(251, 192, 45, 0.4));
}

.value-icon .fa-clock {
    color: #7B1FA2 !important;
    filter: drop-shadow(0 2px 8px rgba(123, 31, 162, 0.4));
}

.value-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.value-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

/* Technologies Section */
.technologies {
    padding: 100px 0;
    background: var(--light-bg);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
}

.tech-item {
    background: var(--dark-bg);
    padding: 40px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.tech-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.tech-item i {
    font-size: 3rem;
    color: var(--primary-color);
}

/* Colorful technology logos with high contrast */

.tech-item .fa-react {
    color: #00D8FF;
    filter: drop-shadow(0 2px 6px rgba(0, 216, 255, 0.4));
}

.tech-item .fa-angular {
    color: #C3002F;
    filter: drop-shadow(0 2px 6px rgba(195, 0, 47, 0.4));
}

.tech-item .fa-node-js {
    color: #339933;
    filter: drop-shadow(0 2px 6px rgba(51, 153, 51, 0.4));
}

.tech-item .fa-python {
    color: #3776AB;
    filter: drop-shadow(0 2px 6px rgba(55, 118, 171, 0.4));
}

.tech-item .fa-java {
    color: #ED8B00;
    filter: drop-shadow(0 2px 6px rgba(237, 139, 0, 0.4));
}

.tech-item .fa-android {
    color: #3DDC84;
    filter: drop-shadow(0 2px 6px rgba(61, 220, 132, 0.4));
}

.tech-item .fa-apple {
    color: #000000;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

.tech-item .fa-aws {
    color: #FF9900;
    filter: drop-shadow(0 2px 6px rgba(255, 153, 0, 0.4));
}

.tech-item .fa-docker {
    color: #2496ED;
    filter: drop-shadow(0 2px 6px rgba(36, 150, 237, 0.4));
}

.tech-item .fa-figma {
    color: #F24E1E;
    filter: drop-shadow(0 2px 6px rgba(242, 78, 30, 0.4));
}

.tech-item .fa-git-alt {
    color: #F05032;
    filter: drop-shadow(0 2px 6px rgba(240, 80, 50, 0.4));
}

.tech-item .vue-logo {
    width: 3rem;
    height: 3rem;
    max-width: 48px;
    max-height: 48px;
}

.tech-item span {
    font-weight: 600;
    color: var(--text-dark);
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background: var(--dark-bg);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.portfolio-item:active {
    transform: scale(0.98);
    border-color: var(--primary-color);
}

.portfolio-image {
    position: relative;
    height: 350px;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.portfolio-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient);
    opacity: 0.9;
}

.portfolio-placeholder::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: movePattern 20s linear infinite;
}

@keyframes movePattern {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 30px); }
}

.portfolio-revaa {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.portfolio-paisabaato {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 50%, #4facfe 100%);
}

.portfolio-easyreach {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 50%, #43e97b 100%);
}

.portfolio-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px;
}

.portfolio-content h3 {
    font-size: 2.8rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 1);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.portfolio-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.portfolio-content::after {
    content: 'Click to view details';
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    font-weight: 400;
    margin-top: 15px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    opacity: 0;
    transition: all 0.3s ease;
}


.portfolio-overlay h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}


.portfolio-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.portfolio-tags span {
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Portfolio Modal */
.portfolio-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.portfolio-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: var(--light-bg);
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
    z-index: 10000;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--text-color);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--light-bg);
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-body {
    margin-top: 20px;
}

.modal-title {
    color: var(--text-color);
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.modal-subtitle {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.modal-description {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.8;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--light-bg);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--dark-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

/* Colorful contact icons with high contrast */
.contact-item .fa-envelope {
    color: #D32F2F;
    filter: drop-shadow(0 2px 4px rgba(211, 47, 47, 0.3));
}

.contact-item .fa-phone {
    color: #00897B;
    filter: drop-shadow(0 2px 4px rgba(0, 137, 123, 0.3));
}

.contact-item .fa-map-marker-alt {
    color: #F57C00;
    filter: drop-shadow(0 2px 4px rgba(245, 124, 0, 0.3));
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

/* Colorful social media icons with high contrast */
.social-link {
    background: rgba(255, 255, 255, 0.95) !important;
}

.social-link .fa-linkedin {
    color: #0077B5;
    filter: drop-shadow(0 2px 4px rgba(0, 119, 181, 0.4));
}

.social-link .fa-twitter {
    color: #1DA1F2;
    filter: drop-shadow(0 2px 4px rgba(29, 161, 242, 0.4));
}

.social-link .fa-github {
    color: #24292E;
    filter: drop-shadow(0 2px 4px rgba(36, 41, 46, 0.4));
}

.social-link .fa-facebook {
    color: #1877F2;
    filter: drop-shadow(0 2px 4px rgba(24, 119, 242, 0.4));
}

.social-link:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 1) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.contact-form {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    background: rgba(15, 23, 42, 0.5);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

.newsletter-form input::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #0a0e1a 0%, #0f172a 100%);
    color: var(--white);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-section h4 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--white);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.footer-section p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.95rem;
    position: relative;
    padding-left: 0;
}

.footer-section ul li a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 20px;
    transform: translateX(5px);
}

.footer-section ul li a:hover::before {
    opacity: 1;
    left: -15px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo i {
    font-size: 1.3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-family: inherit;
    background: rgba(15, 23, 42, 0.5);
    color: var(--text-dark);
}

.newsletter-form button {
    padding: 12px 20px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--secondary-color);
}

.newsletter-form button .fa-paper-plane {
    color: var(--white);
}

/* Colorful check icons with high contrast */
.service-features .fa-check {
    color: #00BCD4;
    filter: drop-shadow(0 1px 3px rgba(0, 188, 212, 0.4));
}

/* Modal close button */
.modal-close .fa-times {
    color: var(--text-color);
}

.modal-close:hover .fa-times {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--dark-bg);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px;
        gap: 20px;
        transition: left 0.3s ease;
        box-shadow: var(--shadow);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        gap: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-hero-title {
        font-size: 2rem;
    }

    .about-hero-description {
        font-size: 1.1rem;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .mission-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mission-title {
        font-size: 2rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .values-title {
        font-size: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 30px 20px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .about-hero-title {
        font-size: 1.75rem;
    }

    .mission-title {
        font-size: 1.75rem;
    }

    .values-title {
        font-size: 1.75rem;
    }

    .modal-content {
        width: 95%;
        padding: 30px 20px;
        max-height: 90vh;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-subtitle {
        font-size: 1rem;
    }

    .modal-description {
        font-size: 0.9rem;
    }
}

