/* ===== Reset & Variables ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Professional Blue Color Scheme - Light Theme */
    --primary-color: #0066cc;
    --secondary-color: #0052a3;
    --accent-color: #00a8e8;
    --light-bg: #ffffff;
    --section-bg: linear-gradient(135deg, #f8f9fa 0%, #f0f4f8 100%);
    --card-bg: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-light: #888888;
    --border-color: #e0e0e0;
    --gradient-primary: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    --gradient-secondary: linear-gradient(135deg, #00a8e8 0%, #0066cc 100%);
    --gradient-light: linear-gradient(135deg, #f0f7ff 0%, #e6f2ff 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Poppins', sans-serif;
    background: 
        linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradientBg 15s ease infinite;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.90) 100%);
    backdrop-filter: blur(1px);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(238, 119, 82, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(35, 166, 213, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 50% 50%, rgba(231, 60, 126, 0.05) 0%, transparent 30%);
    pointer-events: none;
    z-index: 0;
    animation: floatParticle 30s ease-in-out infinite;
}

@keyframes gradientBg {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
}

.navbar.scrolled {
    padding: 0.7rem 0;
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0, 102, 204, 0.1));
}

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0, 102, 204, 0.2));
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

.contact-btn {
    padding: 0.6rem 1.5rem;
    background: var(--gradient-primary);
    color: white !important;
    border-radius: 50px;
    transition: var(--transition);
}

.contact-btn::after {
    display: none;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 3px;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #e6f2ff 0%, #f0f7ff 25%, #ffffff 50%, #e6f2ff 75%, #f0f7ff 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-color);
    bottom: -150px;
    right: -150px;
    animation-delay: 5s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    top: 50%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(50px, -50px) rotate(120deg); }
    66% { transform: translate(-30px, 30px) rotate(240deg); }
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(200%) rotate(45deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.4;
    }
    25% {
        transform: translate(100px, -100px) rotate(90deg);
        opacity: 0.6;
    }
    50% {
        transform: translate(200px, -50px) rotate(180deg);
        opacity: 0.8;
    }
    75% {
        transform: translate(100px, 50px) rotate(270deg);
        opacity: 0.6;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes wave {
    0% {
        transform: rotate(0deg);
    }
    10% {
        transform: rotate(14deg);
    }
    20% {
        transform: rotate(-8deg);
    }
    30% {
        transform: rotate(14deg);
    }
    40% {
        transform: rotate(-4deg);
    }
    50% {
        transform: rotate(10deg);
    }
    60% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

@keyframes blink {
    0%, 90%, 100% {
        transform: scaleY(1);
    }
    95% {
        transform: scaleY(0.1);
    }
}

@keyframes typing {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3), 0 0 20px rgba(0, 102, 204, 0.2);
    }
    50% {
        box-shadow: 0 15px 40px rgba(0, 102, 204, 0.5), 0 0 40px rgba(0, 102, 204, 0.4);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.1);
    animation: slideInUp 1s ease-out;
}

.typing-text {
    display: block;
    margin-top: 0.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 3s ease-in-out infinite;
}

.stat-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.hero-image {
    position: relative;
    height: 500px;
}

.hero-illustration {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15rem;
    color: var(--primary-color);
    opacity: 0.1;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: var(--shadow-md);
    animation: floatCard 3s infinite ease-in-out;
    border: 1px solid var(--border-color);
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.floating-card p {
    color: var(--text-primary);
    font-weight: 600;
}

.card-1 {
    top: 10%;
    left: 0;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 0;
    animation-delay: 1s;
}

.card-3 {
    bottom: 10%;
    left: 20%;
    animation-delay: 2s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ===== Section Styling ===== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== About Section ===== */
.about {
    background: var(--section-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.2rem;
}

.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.about-card {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.08);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #b0b0b0, #808080);
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.about-card:hover::before {
    opacity: 1;
}

.about-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 102, 204, 0.2);
    border-color: transparent;
}

.about-card i {
    font-size: 4rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.about-card:hover i {
    transform: scale(1.2) rotate(-10deg);
    animation: pulse 1s infinite;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===== Services Section ===== */
.services {
    background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 50%, #e8ecf1 100%);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 10% 20%, rgba(0, 102, 204, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 90% 80%, rgba(0, 168, 232, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.08);
}

.service-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #b0b0b0, #808080);
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: 0;
    pointer-events: none;
}

.service-card:hover::after {
    transform: translateX(100%);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    border-color: transparent;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.2) rotate(-10deg);
    animation: pulse 1s infinite;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.service-card:hover h3 {
    color: var(--primary-color);
}

.service-card > p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.service-link:hover {
    gap: 1rem;
    color: var(--secondary-color);
}

/* ===== Technologies Section ===== */
.technologies {
    background: var(--section-bg);
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.tech-category {
    background: white;
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.08);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tech-category::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #b0b0b0, #808080);
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.tech-category:hover::before {
    opacity: 1;
}

.tech-category:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 102, 204, 0.2);
    border-color: transparent;
}

.tech-category h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-primary);
    font-weight: 700;
}

.tech-category h3 i {
    font-size: 1.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s ease;
}

.tech-category:hover h3 i {
    transform: scale(1.2) rotate(10deg);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.tech-item {
    background: rgba(0, 102, 204, 0.05);
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    border: 2px solid transparent;
}

.tech-item:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px) scale(1.05);
    border-color: transparent;
    color: white !important;
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
}

.tech-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.tech-item:hover i {
    color: white !important;
}

/* ===== Portfolio Section ===== */
.portfolio {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f0f2f5 100%);
    position: relative;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(0, 102, 204, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
    gap: 2.5rem;
}

.portfolio-item {
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    height: 450px;
    cursor: pointer;
    border: 2px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.portfolio-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: block;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.portfolio-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 102, 204, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.portfolio-image {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    position: relative;
    transition: var(--transition);
    padding: 2.5rem 2rem 3.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 420px;
    border-radius: 20px;
}

.portfolio-item:nth-child(1) .portfolio-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.portfolio-item:nth-child(2) .portfolio-image {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.portfolio-item:nth-child(3) .portfolio-image {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.portfolio-item:nth-child(4) .portfolio-image {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.portfolio-info {
    color: white;
    transition: all 0.4s ease;
}

.project-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    opacity: 1;
    background: rgba(255, 255, 255, 0.15);
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.portfolio-info h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    line-height: 1.3;
}

.portfolio-info p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.8rem;
    opacity: 0.95;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.portfolio-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: nowrap;
    margin-top: 1.2rem;
    position: relative;
    z-index: 2;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.3rem;
}

.portfolio-tags::-webkit-scrollbar {
    display: none;
}

.portfolio-tags span {
    padding: 0.45rem 1.1rem;
    background: transparent;
    border-radius: 50px;
    font-size: 0.85rem;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.8);
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.portfolio-item:hover .portfolio-tags span {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    transform: translateY(-2px);
}

.portfolio-url {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 1.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-url i {
    font-size: 1.1rem;
}

.portfolio-item:hover .portfolio-url {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(-5px);
}

.portfolio-overlay {
    display: none;
}

.portfolio-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.portfolio-overlay p {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 1rem;
}

/* ===== Contact Section ===== */
.contact {
    background: var(--section-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover i {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
}

.contact-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-5px) rotate(10deg);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
}

.contact-form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.1);
    border: 2px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
}

.contact-form-wrapper:hover {
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(0, 102, 204, 0.15);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: var(--section-bg);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group i {
    position: absolute;
    left: 1rem;
    top: 1.2rem;
    color: var(--text-secondary);
}

.form-group textarea + i {
    top: 1.2rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
}

.submit-btn {
    width: 100%;
    margin-top: 1rem;
    justify-content: center;
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 2rem 0 1rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(176, 176, 176, 0.5) 50%, 
        transparent 100%);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
    align-items: start;
}

.footer-logo {
    height: 55px;
    width: auto;
    margin-bottom: 1rem;
    display: block;
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(255, 255, 255, 0.1));
    transition: var(--transition);
}

.footer-logo:hover {
    transform: scale(1.05);
    filter: brightness(0) invert(1) drop-shadow(0 4px 8px rgba(255, 255, 255, 0.2));
}

.footer-brand h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(176, 176, 176, 0.1);
    border-radius: 50%;
    color: #b0b0b0;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.footer-social a:hover {
    background: linear-gradient(135deg, #b0b0b0, #808080);
    color: white;
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
}

.footer-links-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.footer-contact-line {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 1.5rem 0;
    margin-bottom: 1.5rem;
}

.footer-contact-line .contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #ffffff;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.footer-contact-line .contact-item:hover {
    transform: none !important;
    border-color: transparent !important;
}

.footer-contact-line .contact-item i {
    font-size: 1.2rem;
    color: #b0b0b0;
    width: auto !important;
    height: auto !important;
    background: none !important;
    border-radius: 0 !important;
}

.footer-contact-line .contact-item:hover i {
    transform: none !important;
    background: none !important;
}

.footer-contact-line .contact-item span {
    font-size: 0.95rem;
    color: #ffffff;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.7rem;
}

.footer-col ul li a {
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.footer-col ul li a i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-col ul li a:hover i {
    transform: translateX(3px);
}

.footer-contact li {
    color: #b0b0b0;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
}

.footer-contact li i {
    color: #808080;
    width: 20px;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    background: #2a2a2a;
    border: 2px solid transparent;
    border-radius: 10px;
    color: white;
    font-family: 'Poppins', sans-serif;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.newsletter-form button {
    padding: 0.8rem 1.2rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #808080;
    font-size: 0.9rem;
}

.footer-bottom i {
    color: #ff4444;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
}

/* ===== Scroll to Top ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* ===== AI Assistant Character ===== */
.ai-assistant {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 998;
    cursor: pointer;
    animation: bounce 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

.ai-assistant:hover {
    transform: scale(1.05);
}

.ai-character {
    position: relative;
    width: 80px;
    height: 80px;
}

.ai-body {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0066cc, #00a8e8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
    transition: all 0.3s ease;
    animation: glow 3s ease-in-out infinite;
    position: relative;
    overflow: visible;
}

.ai-body::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    top: 0;
    left: 0;
}

.ai-assistant:hover .ai-body {
    transform: scale(1.1) rotate(5deg);
}

.ai-hand {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 1.5rem;
    animation: wave 2s ease-in-out infinite;
    transform-origin: 70% 70%;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2));
}

.ai-eyes {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.ai-eye {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: blink 4s ease-in-out infinite;
}

.ai-tooltip {
    position: absolute;
    top: 50%;
    right: 100%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    padding: 1rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    white-space: normal;
    margin-right: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--primary-color);
    min-width: 180px;
    max-width: 280px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.ai-tooltip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    background: linear-gradient(45deg, rgba(0, 102, 204, 0.1), rgba(0, 168, 232, 0.1));
    z-index: -1;
}

.ai-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--primary-color);
}

.ai-assistant:hover .ai-tooltip,
.ai-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-10px);
}

.ai-tooltip p {
    margin: 0;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.4;
    animation: typing 1s ease-in-out infinite;
    word-break: break-word;
}

/* Progress indicator for AI */
.ai-progress {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

.ai-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #0066cc, #00a8e8);
    border-radius: 10px;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 168, 232, 0.5);
}

/* ===== Floating Particles ===== */
.tech-particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.tech-particle {
    position: absolute;
    font-size: 2.5rem;
    color: rgba(0, 102, 204, 0.4);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.tech-particle i {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
}

.tech-particle-1 {
    top: 10%;
    left: 8%;
    animation: floatParticle 28s ease-in-out infinite;
    color: rgba(227, 79, 38, 0.5);
}

.tech-particle-2 {
    top: 20%;
    right: 12%;
    font-size: 2.2rem;
    animation: floatParticle 24s ease-in-out infinite 2s;
    color: rgba(21, 114, 182, 0.5);
}

.tech-particle-3 {
    top: 65%;
    left: 15%;
    font-size: 2.8rem;
    animation: floatParticle 32s ease-in-out infinite 4s;
    color: rgba(240, 219, 79, 0.6);
}

.tech-particle-4 {
    top: 35%;
    left: 70%;
    animation: floatParticle 26s ease-in-out infinite 1s;
    color: rgba(97, 218, 251, 0.5);
}

.tech-particle-5 {
    top: 75%;
    right: 20%;
    font-size: 3rem;
    animation: floatParticle 30s ease-in-out infinite 3s;
    color: rgba(104, 160, 99, 0.5);
}

.tech-particle-6 {
    top: 45%;
    left: 25%;
    font-size: 2.3rem;
    animation: floatParticle 27s ease-in-out infinite 5s;
    color: rgba(53, 114, 165, 0.5);
}

.tech-particle-7 {
    top: 55%;
    right: 30%;
    font-size: 2.6rem;
    animation: floatParticle 29s ease-in-out infinite 2.5s;
    color: rgba(119, 123, 180, 0.5);
}

.tech-particle-8 {
    top: 15%;
    left: 45%;
    font-size: 2.4rem;
    animation: floatParticle 25s ease-in-out infinite 4.5s;
    color: rgba(0, 102, 204, 0.5);
}

.tech-particle-9 {
    top: 85%;
    left: 40%;
    animation: floatParticle 31s ease-in-out infinite 1.5s;
    color: rgba(13, 183, 237, 0.5);
}

.tech-particle-10 {
    top: 25%;
    right: 35%;
    font-size: 2.7rem;
    animation: floatParticle 33s ease-in-out infinite 3.5s;
    color: rgba(255, 153, 0, 0.5);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .tech-categories {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 3rem;
        transition: var(--transition);
        border-top: 1px solid var(--border-color);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-image {
        height: 300px;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links-group {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-col h4 {
        font-size: 1rem;
    }

    .footer-col ul li a,
    .footer-contact li {
        font-size: 0.85rem;
    }

    .tech-particle {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    section {
        padding: 4rem 0;
    }

    .hero {
        padding: 6rem 0 4rem;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .service-card,
    .tech-category {
        padding: 2rem 1.5rem;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .tech-item {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }

    .portfolio-item {
        height: 400px;
    }

    .project-icon {
        width: 70px;
        height: 70px;
        font-size: 2.5rem;
    }

    .portfolio-info h3 {
        font-size: 1.3rem;
    }

    .portfolio-info p {
        font-size: 0.9rem;
    }

    .portfolio-tags span {
        padding: 0.4rem 0.9rem;
        font-size: 0.75rem;
    }

    .ai-assistant {
        bottom: 80px;
        right: 20px;
    }

    .ai-body {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .ai-tooltip {
        max-width: 220px;
        font-size: 0.85rem;
        padding: 0.8rem;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }

    section {
        padding: 3rem 0;
    }

    .hero {
        padding: 5rem 0 3rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .service-icon,
    .about-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .service-card h3,
    .tech-category h3 {
        font-size: 1.3rem;
    }

    .tech-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .portfolio-item {
        height: 380px;
    }

    .portfolio-image {
        padding: 2rem 1.5rem 3rem 1.5rem;
        min-height: 380px;
    }

    .project-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .portfolio-info h3 {
        font-size: 1.2rem;
    }

    .portfolio-info p {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
    }

    .portfolio-tags {
        gap: 0.4rem;
    }

    .portfolio-tags span {
        padding: 0.35rem 0.8rem;
        font-size: 0.7rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links-group {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-brand h3 {
        font-size: 1.8rem;
    }

    .footer-logo {
        height: 45px;
    }

    .footer-social {
        justify-content: flex-start;
    }

    .footer-col {
        width: 100%;
    }

    .footer-contact-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .contact-details {
        gap: 1.5rem;
    }

    .contact-item {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.9rem;
        padding: 0.9rem 1rem 0.9rem 3rem;
    }

    .ai-assistant {
        bottom: 70px;
        right: 15px;
    }

    .ai-body {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .ai-hand {
        font-size: 1rem;
    }

    .ai-tooltip {
        max-width: 180px;
        font-size: 0.75rem;
        padding: 0.6rem;
    }

    .tech-particle {
        font-size: 1.5rem;
    }

    .scroll-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 1rem 0;
    }

    .logo-img {
        height: 45px;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .nav-menu {
        padding: 2rem 1.5rem;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-image {
        height: 250px;
    }

    .floating-card {
        padding: 1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .service-card,
    .tech-category,
    .about-card {
        padding: 1.5rem 1rem;
    }

    .portfolio-item {
        height: 360px;
    }

    .portfolio-image {
        padding: 1.8rem 1.3rem 3rem 1.3rem;
        min-height: 360px;
    }

    .project-icon {
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .portfolio-info h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .portfolio-info p {
        font-size: 0.8rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }

    .portfolio-tags span {
        padding: 0.3rem 0.7rem;
        font-size: 0.65rem;
    }

    .portfolio-url {
        padding: 0.8rem 1.2rem;
        font-size: 0.8rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .footer-logo {
        height: 40px;
    }

    .footer-contact-line {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
    }

    .contact-item {
        font-size: 0.85rem;
    }

    .footer-bottom p {
        font-size: 0.75rem;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 1rem;
    }

    .logo-img {
        height: 38px;
    }

    .hero-title {
        font-size: 1.4rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .portfolio-item {
        height: 340px;
    }

    .portfolio-image {
        padding: 1.5rem 1rem 2.5rem 1rem;
        min-height: 340px;
    }

    .portfolio-info h3 {
        font-size: 1rem;
    }

    .portfolio-info p {
        font-size: 0.75rem;
    }

    .tech-particle {
        font-size: 1.2rem;
    }

    .footer-logo {
        height: 35px;
    }

    .footer-contact-line .contact-item {
        font-size: 0.8rem;
    }

    .footer-contact-line .contact-item i {
        font-size: 1rem;
    }
}

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* ===== Loading Animation ===== */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ===== Services Page Styles ===== */
.services-hero {
    background: linear-gradient(135deg, #e6f2ff 0%, #f0f7ff 25%, #ffffff 50%, #e6f2ff 75%, #f0f7ff 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    padding: 150px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 102, 204, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(0, 168, 232, 0.05) 0%, transparent 50%);
}
.services-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 800;
    text-shadow: 2px 4px 8px rgba(0, 102, 204, 0.1);
    position: relative;
    z-index: 1;
}
.services-hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}
.service-detail {
    padding: 80px 0;
}
.service-detail:nth-child(even) {
    background: var(--section-bg);
}
.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.service-detail-content.reverse {
    direction: rtl;
}
.service-detail-content.reverse > * {
    direction: ltr;
}
.service-detail-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}
.service-detail-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.service-features-list {
    list-style: none;
    margin: 2rem 0;
}
.service-features-list li {
    padding: 1.2rem;
    margin-bottom: 1rem;
    background: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}
.service-features-list li:hover {
    transform: translateX(15px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.15);
    border-color: var(--primary-color);
}
.service-features-list i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 12px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.service-features-list li:hover i {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1) rotate(5deg);
}
.service-features-list strong {
    color: var(--text-primary);
}
.service-features-list span {
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.service-detail-image {
    background: var(--gradient-primary);
    height: 400px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.2);
    transition: all 0.4s ease;
}
.service-detail-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
    pointer-events: none;
    z-index: 1;
}
.service-detail-image:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 102, 204, 0.3);
}
.service-detail-image i {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.3);
    z-index: 2;
    position: relative;
    transition: transform 0.4s ease;
}
.service-detail-image:hover i {
    transform: scale(1.1) rotate(5deg);
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.benefit-card {
    background: white;
    padding: 2.5rem;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}
.benefit-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #b0b0b0, #808080);
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}
.benefit-card:hover::before {
    opacity: 1;
}
.benefit-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 102, 204, 0.2);
    border-color: transparent;
}
.benefit-card i {
    font-size: 3.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.3s ease;
}
.benefit-card:hover i {
    transform: scale(1.2) rotate(-10deg);
    animation: pulse 1s infinite;
}
.benefit-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}
.benefit-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== About Page Styles ===== */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.about-hero {
    background: linear-gradient(-45deg, #0066cc, #0052a3, #00a8e8, #0066cc);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}
.about-hero .container {
    position: relative;
    z-index: 1;
}
.about-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: slideInUp 0.8s ease;
}
.about-hero p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.8;
    animation: slideInUp 1s ease;
}
.section-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    animation: slideInUp 1.2s ease;
}
.stat-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}
.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0066cc, #00a8e8);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}
.stat-box:hover::before {
    transform: scaleX(1);
}
.stat-box:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 102, 204, 0.3);
    border-color: var(--primary-color);
}
.stat-box i {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #0066cc, #00a8e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    animation: pulse 2s ease infinite;
}
.stat-box h3 {
    font-size: 3rem;
    background: linear-gradient(135deg, #0066cc, #0052a3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    font-weight: 800;
}
.stat-box p {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1.05rem;
}
.story-section {
    padding: 100px 0;
    background: white;
    position: relative;
    overflow: hidden;
}
.story-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}
.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}
.story-image {
    background: linear-gradient(135deg, #0066cc 0%, #00a8e8 100%);
    height: 450px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(0, 102, 204, 0.3);
    position: relative;
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}
.story-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}
@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}
.story-image i {
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.4);
    z-index: 1;
}
.story-text h2 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-weight: 700;
    position: relative;
    display: inline-block;
}
.story-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0066cc, #00a8e8);
    border-radius: 2px;
}
.story-text p {
    color: var(--text-secondary);
    line-height: 2;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}
.story-text .section-tag {
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary-color) !important;
    border: 1px solid rgba(0, 102, 204, 0.2);
}
.values-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}
.value-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(160, 160, 160, 0.4), transparent);
    transition: left 0.6s ease;
}
.value-card:hover::before {
    left: 100%;
}
.value-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    border-color: #909090;
}
.value-card i {
    font-size: 4rem;
    background: linear-gradient(135deg, #0066cc, #00a8e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.4s ease;
}
.value-card:hover i {
    transform: scale(1.1) rotate(5deg);
}
.value-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
}
.value-card p {
    color: var(--text-secondary);
    line-height: 1.9;
    font-size: 1.05rem;
}
.team-section {
    padding: 100px 0;
    background: white;
    position: relative;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}
.team-member {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
}
.team-member::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #e8e8e8, #d0d0d0);
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}
.team-member:hover::before {
    opacity: 1;
}
.team-member:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 70px rgba(0, 102, 204, 0.25);
    border-color: transparent;
}
.team-photo {
    width: 100%;
    height: 280px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.team-photo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}
.team-photo i {
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.6);
    z-index: 1;
    transition: transform 0.4s ease;
}
.team-member:hover .team-photo i {
    transform: scale(1.2) rotate(10deg);
}
.team-info {
    padding: 2rem 1.5rem;
    background: white;
}
.team-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 700;
}
.team-info p {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}
.team-social {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
}
.team-social a {
    width: 40px;
    height: 40px;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
    font-size: 1.1rem;
}
.team-social a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px) rotate(5deg);
}
.timeline-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #e8f4ff 100%);
    position: relative;
    overflow: hidden;
}
.timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="1.5" fill="rgba(0,102,204,0.08)"/></svg>');
    opacity: 0.5;
}
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #0066cc, #00a8e8, #0066cc);
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(0, 102, 204, 0.3);
}
.timeline-item {
    display: flex;
    margin-bottom: 4rem;
    position: relative;
    opacity: 0;
    animation: slideInUp 0.6s ease forwards;
}
.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }
.timeline-item:nth-child(6) { animation-delay: 0.6s; }
.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}
.timeline-content {
    width: 45%;
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.4s ease;
    position: relative;
}
.timeline-content:hover {
    border-color: var(--primary-color);
    box-shadow: 0 25px 60px rgba(0, 102, 204, 0.2);
    transform: scale(1.03);
}
.timeline-content h3 {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #0066cc, #00a8e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.8rem;
    font-weight: 800;
}
.timeline-content h4 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
    font-weight: 600;
}
.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.9;
    font-size: 1.05rem;
}
.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #0066cc, #00a8e8);
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.2), 0 0 20px rgba(0, 102, 204, 0.4);
    z-index: 2;
    transition: all 0.4s ease;
}
.timeline-item:hover .timeline-dot {
    transform: translateX(-50%) scale(1.3);
    box-shadow: 0 0 0 6px rgba(0, 102, 204, 0.3), 0 0 30px rgba(0, 102, 204, 0.6);
}
.mission-vision {
    padding: 100px 0;
    background: white;
    position: relative;
}
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}
.mv-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 4rem 3rem;
    border-radius: 30px;
    border: 3px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.mv-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #e8e8e8, #d0d0d0);
    border-radius: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}
.mv-card:hover::before {
    opacity: 1;
}
.mv-card:hover {
    border-color: transparent;
    box-shadow: 0 30px 70px rgba(0, 102, 204, 0.25);
    transform: translateY(-10px);
    background: white;
}
.mv-card i {
    font-size: 5rem;
    background: linear-gradient(135deg, #0066cc, #00a8e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    display: inline-block;
    animation: pulse 3s ease infinite;
}
.mv-card h3 {
    font-size: 2.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 700;
}
.mv-card p {
    color: var(--text-secondary);
    line-height: 2;
    font-size: 1.1rem;
}
.why-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
    position: relative;
    overflow: hidden;
}
.why-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 102, 204, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(0, 168, 232, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* ===== Technologies Page Styles ===== */
.tech-hero {
    background: linear-gradient(135deg, #e6f2ff 0%, #f0f7ff 25%, #ffffff 50%, #e6f2ff 75%, #f0f7ff 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    padding: 150px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.tech-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0, 102, 204, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(0, 168, 232, 0.08) 0%, transparent 50%);
}
.tech-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 800;
    text-shadow: 2px 4px 8px rgba(0, 102, 204, 0.1);
    position: relative;
    z-index: 1;
}
.tech-hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}
.tech-section {
    padding: 80px 0;
}
.tech-section:nth-child(even) {
    background: var(--section-bg);
}
.tech-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.tech-detail-card {
    background: white;
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.08);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.tech-detail-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #b0b0b0, #808080);
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}
.tech-detail-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}
.tech-detail-card:hover::after {
    transform: translateX(100%);
}
.tech-detail-card:hover::before {
    opacity: 1;
}
.tech-detail-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 102, 204, 0.2);
    border-color: transparent;
}
.tech-detail-card .tech-icon {
    width: 75px;
    height: 75px;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}
.tech-detail-card:hover .tech-icon {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.2) rotate(-10deg);
    animation: pulse 1s infinite;
}
.tech-detail-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}
.tech-detail-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}
.tech-detail-card ul {
    list-style: none;
    padding: 0;
}
.tech-detail-card ul li {
    padding: 0.4rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.tech-detail-card ul li i {
    color: var(--primary-color);
    font-size: 0.8rem;
}
.tech-comparison {
    background: white;
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.1);
    margin-top: 3rem;
    border: 2px solid var(--border-color);
    transition: all 0.4s ease;
}
.tech-comparison:hover {
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(0, 102, 204, 0.15);
    transform: translateY(-5px);
}
.tech-comparison h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}
.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}
.comparison-table th {
    background: var(--section-bg);
    color: var(--text-primary);
    font-weight: 600;
}
.comparison-table td {
    color: var(--text-secondary);
}
.comparison-table tr:hover {
    background: var(--section-bg);
}

/* ===== Responsive Styles for Services, About, Technologies ===== */
@media (max-width: 968px) {
    .service-detail-content {
        grid-template-columns: 1fr;
    }
    .service-detail-content.reverse {
        direction: ltr;
    }
    .services-hero h1 {
        font-size: 2rem;
    }
    .about-hero h1 {
        font-size: 2rem;
    }
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .story-content {
        grid-template-columns: 1fr;
    }
    .mv-grid {
        grid-template-columns: 1fr;
    }
    .timeline::before {
        left: 20px;
    }
    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: row;
    }
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
    }
    .timeline-dot {
        left: 20px;
    }
    .tech-hero h1 {
        font-size: 2rem;
    }
    .tech-detail-grid {
        grid-template-columns: 1fr;
    }
    .comparison-table {
        font-size: 0.85rem;
    }
    .comparison-table th,
    .comparison-table td {
        padding: 0.7rem;
    }
}
@media (max-width: 640px) {
    .about-stats {
        grid-template-columns: 1fr;
    }
}
