/* ===================================
   Serveyis Bilgisayar - Modern CSS
   Renk Paleti: Lacivert, Gri, Beyaz
   =================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Modern Ultra Renkler - Premium Palet */
    --primary-color: #0f172a;        /* Deep Navy */
    --primary-dark: #020617;
    --secondary-color: #6366f1;      /* Modern Indigo */
    --accent-color: #8b5cf6;         /* Premium Purple */
    --accent-light: #a78bfa;
    --dark-color: #1e293b;
    --gray-dark: #334155;
    --gray-medium: #64748b;
    --gray-light: #e2e8f0;
    --white: #ffffff;
    --light-bg: #f8fafc;
    --light-blue-bg: #f1f5f9;
    
    /* Modern Gradient System */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
    --gradient-mesh: radial-gradient(at 40% 20%, #667eea 0px, transparent 50%), 
                     radial-gradient(at 80% 0%, #764ba2 0px, transparent 50%),
                     radial-gradient(at 0% 50%, #f093fb 0px, transparent 50%);
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Spacing */
    --section-padding: 100px 0;
    --section-padding-sm: 60px 0;
    --container-padding: 0 20px;
    --card-padding: 40px;
    
    /* Transitions */
    --transition-fast: all 0.2s ease;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows - Ultra Modern */
    --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 4px 12px rgba(102, 126, 234, 0.1);
    --shadow-md: 0 8px 24px rgba(102, 126, 234, 0.15);
    --shadow-lg: 0 16px 40px rgba(102, 126, 234, 0.2);
    --shadow-xl: 0 24px 60px rgba(102, 126, 234, 0.25);
    --shadow-2xl: 0 32px 80px rgba(102, 126, 234, 0.3);
    --shadow-hover: 0 20px 50px rgba(118, 75, 162, 0.25);
    --shadow-glow: 0 0 30px rgba(102, 126, 234, 0.4);
    
    /* Border Radius - More Rounded */
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-2xl: 36px;
    --radius-full: 9999px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-color);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ===================================
   Header & Navigation
   =================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-lg);
}

.navbar {
    padding: 18px 0;
    transition: var(--transition);
}

.header.scrolled .navbar {
    padding: 12px 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-menu {
    display: flex;
    flex: 1;
    justify-content: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 26px;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    letter-spacing: -0.5px;
}

.logo i {
    font-size: 32px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(102, 126, 234, 0.3));
}

.logo:hover a {
    transform: translateY(-2px);
}

.logo:hover i {
    filter: drop-shadow(0 4px 12px rgba(102, 126, 234, 0.5));
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

/* Dropdown Navigation */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.nav-dropdown > .nav-link i {
    font-size: 9px;
    transition: var(--transition);
    flex-shrink: 0;
}

.nav-dropdown:hover > .nav-link i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--white);
    min-width: 280px;
    border-radius: var(--radius-xl);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
    padding: 12px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 6px solid var(--white);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    color: var(--dark-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    transition: var(--transition);
    position: relative;
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: var(--transition);
    border-radius: 0 4px 4px 0;
}

.dropdown-menu a:hover::before {
    transform: scaleY(1);
}

.dropdown-menu a i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-bg);
    border-radius: var(--radius-md);
    font-size: 16px;
    color: var(--secondary-color);
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--light-bg);
    color: var(--secondary-color);
}

.dropdown-menu a:hover i {
    background: var(--gradient-primary);
    color: var(--white);
    transform: scale(1.1) rotate(-5deg);
}

.nav-link {
    color: var(--gray-dark);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.nav-list > li > .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.nav-list > li > .nav-link:hover,
.nav-list > li > .nav-link.active {
    color: var(--primary-color);
}

.nav-list > li > .nav-link:hover::after,
.nav-list > li > .nav-link.active::after {
    width: 100%;
}

.nav-cta .btn-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    font-size: 14px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.nav-cta .btn-phone::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition-slow);
}

.nav-cta .btn-phone:hover::before {
    left: 100%;
}

.nav-cta .btn-phone:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(118, 75, 162, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    padding: 140px 0 100px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-mesh);
    opacity: 0.4;
    animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2) rotate(5deg);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.15);
    backdrop-filter: blur(1px);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 64px;
    font-weight: var(--font-weight-bold);
    margin-bottom: 24px;
    line-height: 1.15;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease;
}

.text-primary {
    background: linear-gradient(135deg, #a78bfa 0%, #c4b5fd 50%, #ddd6fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 24px rgba(167, 139, 250, 0.5));
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        filter: drop-shadow(0 4px 24px rgba(167, 139, 250, 0.5));
    }
    50% {
        filter: drop-shadow(0 4px 32px rgba(167, 139, 250, 0.8));
    }
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 50px;
    opacity: 0.97;
    line-height: 1.8;
    font-weight: var(--font-weight-normal);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 42px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    font-size: 16px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn:hover {
    transform: translateY(-4px) scale(1.03);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 12px 48px rgba(118, 75, 162, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--secondary-color);
    border-color: var(--white);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.3);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.feature-item i {
    color: #93c5fd;
    font-size: 22px;
}

.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    animation: float 8s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: 5%;
    left: -5%;
    background: radial-gradient(circle, rgba(147, 197, 253, 0.15) 0%, transparent 70%);
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: 10%;
    right: 5%;
    animation-delay: 2s;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.15) 0%, transparent 70%);
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 40%;
    right: 15%;
    animation-delay: 4s;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
}

/* ===================================
   Section Styles
   =================================== */

.section-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    transition: var(--transition);
    animation: badgePulse 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.section-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition-slow);
}

.section-badge:hover::before {
    left: 100%;
}

.section-badge i {
    font-size: 16px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.section-header::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.section-title {
    font-size: 48px;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-medium);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: var(--font-weight-normal);
}

/* ===================================
   Services Section
   =================================== */

.services {
    padding: var(--section-padding);
    background: var(--light-blue-bg);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, var(--white) 0%, transparent 100%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 35px;
}

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: var(--transition);
}

.service-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: var(--radius-2xl);
    text-align: center;
    transition: var(--transition-slow);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(102, 126, 234, 0.08);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
    pointer-events: none;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-slow);
    pointer-events: none;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card-link:hover .service-card::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    opacity: 1;
    top: -30%;
    right: -30%;
}

.service-card-link:hover .service-card::after {
    opacity: 1;
    top: -30%;
    right: -30%;
}

.service-card:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.25);
    border-color: rgba(102, 126, 234, 0.2);
}

.service-card-link:hover .service-card {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.25);
    border-color: rgba(102, 126, 234, 0.2);
}

.service-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    margin: 0 auto 30px;
    transition: var(--transition-slow);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    position: relative;
}

.service-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
    filter: blur(20px);
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(-8deg);
    box-shadow: 0 16px 48px rgba(118, 75, 162, 0.4);
}

.service-card-link:hover .service-icon {
    transform: scale(1.2) rotate(-8deg);
    box-shadow: 0 16px 48px rgba(118, 75, 162, 0.4);
}

.service-card:hover .service-icon::before {
    opacity: 0.8;
}

.service-card-link:hover .service-icon::before {
    opacity: 0.8;
}

.service-title {
    font-size: 22px;
    font-weight: var(--font-weight-semibold);
    color: var(--dark-color);
    margin-bottom: 18px;
    line-height: 1.4;
}

.service-description {
    color: var(--gray-medium);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 15px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    z-index: 10;
    cursor: pointer;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.service-link:hover::after {
    width: 100%;
}

.service-card-link:hover .service-link::after {
    width: 100%;
}

.service-link:hover {
    gap: 12px;
    color: var(--primary-color);
}

.service-card-link:hover .service-link {
    gap: 12px;
    color: var(--primary-color);
}

/* ===================================
   Why Choose Us Section
   =================================== */

.why-choose {
    padding: var(--section-padding);
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.why-choose::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(147, 197, 253, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.why-choose-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.features-list {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

.feature-box {
    display: flex;
    gap: 25px;
    padding: 30px;
    background: var(--light-blue-bg);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid rgba(30, 64, 175, 0.08);
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: var(--transition);
}

.feature-box:hover::before {
    transform: scaleY(1);
}

.feature-box:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateX(15px);
    border-color: rgba(30, 64, 175, 0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.feature-box:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
}

.feature-text h4 {
    font-size: 20px;
    color: var(--dark-color);
    margin-bottom: 10px;
    font-weight: var(--font-weight-semibold);
}

.feature-text p {
    color: var(--gray-medium);
    line-height: 1.7;
    font-size: 15px;
}

.why-choose-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-card {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 55px 40px;
    border-radius: var(--radius-2xl);
    text-align: center;
    transition: var(--transition-slow);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    transition: var(--transition-slow);
}

.stat-card:hover::before {
    top: -20%;
    right: -20%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
}

.stat-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 16px 48px rgba(118, 75, 162, 0.5);
}

.stat-number {
    font-size: 64px;
    font-weight: var(--font-weight-bold);
    margin-bottom: 12px;
    letter-spacing: -2px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 17px;
    opacity: 0.95;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.8px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* ===================================
   Portfolio Section
   =================================== */

.portfolio {
    padding: var(--section-padding);
    background: var(--light-bg);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.portfolio-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: var(--transition-slow);
    border: 1px solid rgba(102, 126, 234, 0.08);
}

.portfolio-card:hover {
    transform: translateY(-16px) scale(1.02);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.25);
    border-color: rgba(102, 126, 234, 0.2);
}

.portfolio-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--gray-light) 100%);
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
    filter: brightness(0.95);
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.15);
    filter: brightness(1);
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 70px;
    color: var(--gray-medium);
    opacity: 0.3;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    opacity: 0;
    transition: var(--transition-slow);
    backdrop-filter: blur(10px);
}

.portfolio-overlay-content {
    text-align: center;
    transform: translateY(30px) scale(0.9);
    transition: var(--transition-slow);
}

.portfolio-overlay-content i {
    font-size: 56px;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.portfolio-overlay-content h4 {
    font-size: 22px;
    font-weight: var(--font-weight-bold);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-card:hover .portfolio-overlay-content {
    transform: translateY(0) scale(1);
}

.portfolio-content {
    padding: 30px;
}

.portfolio-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--light-blue-bg) 0%, rgba(59, 130, 246, 0.15) 100%);
    color: var(--secondary-color);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.portfolio-category i {
    font-size: 11px;
}

.portfolio-content h3 {
    font-size: 21px;
    color: var(--dark-color);
    margin-bottom: 12px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.4;
}

.portfolio-client {
    color: var(--gray-medium);
    font-size: 14px;
    margin-bottom: 14px;
    font-weight: var(--font-weight-medium);
    display: flex;
    align-items: center;
    gap: 8px;
}

.portfolio-client i {
    color: var(--accent-color);
    font-size: 13px;
}

.portfolio-description {
    color: var(--gray-medium);
    line-height: 1.7;
    font-size: 15px;
}

/* ===================================
   Contact Section
   =================================== */

.contact {
    padding: var(--section-padding);
    background: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.contact-info-header {
    text-align: center;
    padding: 30px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-lg);
    margin-bottom: 35px;
    box-shadow: var(--shadow-lg);
}

.contact-info-header i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
    opacity: 0.9;
}

.contact-info-header h3 {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: var(--font-weight-bold);
    color: var(--white);
}

.contact-info-header p {
    font-size: 15px;
    opacity: 0.9;
    margin: 0;
}

.contact-info h3 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 35px;
    font-weight: var(--font-weight-bold);
}

.info-item {
    display: flex;
    gap: 25px;
    margin-bottom: 35px;
    transition: var(--transition);
    padding: 20px;
    border-radius: var(--radius-md);
}

.info-item:hover {
    background: var(--light-blue-bg);
    transform: translateX(5px);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.info-item:hover .info-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: var(--shadow-lg);
}

.info-text h4 {
    font-size: 18px;
    color: var(--dark-color);
    margin-bottom: 10px;
    font-weight: var(--font-weight-semibold);
}

.info-text p,
.info-text a {
    color: var(--gray-medium);
    text-decoration: none;
    transition: var(--transition);
    font-size: 15px;
    line-height: 1.6;
}

.info-text a:hover {
    color: var(--secondary-color);
}

/* Contact Social Media */
.contact-social {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, var(--light-blue-bg) 0%, rgba(59, 130, 246, 0.08) 100%);
    border-radius: var(--radius-lg);
    text-align: center;
}

.contact-social h4 {
    font-size: 18px;
    color: var(--dark-color);
    margin-bottom: 20px;
    font-weight: var(--font-weight-semibold);
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-link {
    width: 56px;
    height: 56px;
    background: var(--white);
    color: var(--secondary-color);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.social-link i {
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover i {
    color: var(--white);
}

.social-link:hover {
    transform: translateY(-8px) scale(1.15) rotate(5deg);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.4);
}

.contact-form {
    background: var(--white);
    padding: 50px 40px;
    border-radius: var(--radius-2xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    font-weight: var(--font-weight-medium);
    color: var(--dark-color);
    margin-bottom: 10px;
    font-size: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(102, 126, 234, 0.15);
    border-radius: var(--radius-lg);
    font-family: var(--font-primary);
    font-size: 15px;
    transition: var(--transition);
    background: var(--light-bg);
    color: var(--dark-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15), 0 4px 20px rgba(102, 126, 234, 0.2);
    transform: translateY(-3px);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    margin-top: 25px;
    padding: 18px 20px;
    border-radius: var(--radius-md);
    display: none;
    font-weight: var(--font-weight-medium);
    font-size: 15px;
}

.form-message.success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border: 2px solid #10b981;
    display: block;
}

.form-message.error {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border: 2px solid #ef4444;
    display: block;
}

.map-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(30, 64, 175, 0.08);
    width: 100%;
    margin-top: 50px;
    min-height: 450px;
}

.map-container iframe {
    display: block;
    width: 100% !important;
    min-width: 100% !important;
    height: 450px !important;
    min-height: 450px !important;
    filter: grayscale(20%);
    transition: var(--transition);
    border: 0;
}

.map-container:hover iframe {
    filter: grayscale(0%);
}

/* ===================================
   Footer
   =================================== */

.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: var(--white);
    padding: 90px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-mesh);
    opacity: 0.05;
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 26px;
    font-weight: var(--font-weight-bold);
    margin-bottom: 20px;
}

.footer-logo i {
    font-size: 36px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 15px rgba(102, 126, 234, 0.6));
}

.footer-description {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    font-size: 15px;
}

.footer-col h4 {
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--white);
    font-weight: var(--font-weight-semibold);
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

.footer-links a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 0;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
}

.footer-contact i {
    color: var(--accent-color);
    width: 24px;
    font-size: 18px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* ===================================
   Scroll to Top Button
   =================================== */

.scroll-top {
    position: fixed;
    bottom: 35px;
    right: 35px;
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 999;
}

.scroll-top::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: var(--gradient-primary);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    filter: blur(10px);
    transition: var(--transition);
}

.scroll-top:hover::before {
    opacity: 0.7;
}

.scroll-top.show {
    display: flex;
    animation: bounceIn 0.5s ease;
}

.scroll-top:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--shadow-2xl);
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* ===================================
   Animations
   =================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(2deg);
    }
    50% {
        transform: translateY(-10px) rotate(-2deg);
    }
    75% {
        transform: translateY(-30px) rotate(1deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* Scroll Animation */
.animate-in {
    animation: fadeInUp 0.8s ease both;
}

.animate-in:nth-child(1) { animation-delay: 0.1s; }
.animate-in:nth-child(2) { animation-delay: 0.2s; }
.animate-in:nth-child(3) { animation-delay: 0.3s; }
.animate-in:nth-child(4) { animation-delay: 0.4s; }
.animate-in:nth-child(5) { animation-delay: 0.5s; }
.animate-in:nth-child(6) { animation-delay: 0.6s; }

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 992px) {
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .why-choose-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        padding: 40px 20px;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }
    
    .nav-list > li {
        border-bottom: 1px solid var(--gray-light);
    }
    
    .nav-list > li:last-child {
        border-bottom: none;
    }
    
    .nav-list > li > .nav-link {
        display: block;
        padding: 16px 20px;
    }
    
    .nav-list > li > .nav-link::after {
        display: none;
    }
    
    .nav-dropdown > .nav-link {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }
    
    .nav-dropdown > .nav-link i {
        transform: rotate(0deg) !important;
    }
    
    .nav-dropdown.active > .nav-link i {
        transform: rotate(180deg) !important;
    }
    
    /* Mobile Dropdown Menu */
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: none;
        border: none;
        padding: 0;
        min-width: auto;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: var(--light-bg);
    }
    
    .dropdown-menu::before {
        display: none;
    }
    
    .nav-dropdown.active .dropdown-menu {
        max-height: 500px;
    }
    
    .dropdown-menu a {
        padding: 14px 20px 14px 40px;
        font-size: 14px;
        border-left: 3px solid transparent;
    }
    
    .dropdown-menu a::before {
        display: none;
    }
    
    .dropdown-menu a:hover {
        border-left-color: var(--secondary-color);
    }
    
    .dropdown-menu a i {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }
    
    .nav-cta {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .why-choose-stats {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }
}

/* Bounce Animation for Scroll Indicator */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Hero Badge Animation */
@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
}

.hero-badge {
    animation: badgePulse 3s infinite;
}

/* Improved Card Shadows */
.service-card,
.portfolio-card {
    will-change: transform;
}

/* Smooth Page Transitions */
body {
    opacity: 0;
    animation: pageLoad 0.6s ease forwards;
}

@keyframes pageLoad {
    to {
        opacity: 1;
    }
}

/* Loading State */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s, visibility 0.5s;
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 50px;
    height: 50px;
    border: 4px solid var(--light-bg);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
