/* Modern UI Enhancements - Professional Blue Theme with Dark Mode */
:root {
    --primary-color: #1e3a8a;
    --primary-light: #3b82f6;
    --primary-dark: #1e40af;
    --secondary-color: #0ea5e9;
    --accent-color: #06b6d4;
    --light-blue: #dbeafe;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #f1f5f9;
    --glass-bg: rgba(30, 58, 138, 0.1);
    --glass-border: rgba(59, 130, 246, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(30, 58, 138, 0.15);
    --glass-blur: blur(20px);
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --gradient-secondary: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    --gradient-accent: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

/* Dark Theme Variables */
[data-theme="dark"] {
    --primary-color: #60a5fa;
    --primary-light: #93c5fd;
    --primary-dark: #3b82f6;
    --secondary-color: #38bdf8;
    --accent-color: #22d3ee;
    --light-blue: #1e3a8a;
    --dark-bg: #0f172a;
    --light-bg: #1e293b;
    --text-dark: #f1f5f9;
    --text-light: #0f172a;
    --glass-bg: rgba(30, 58, 138, 0.2);
    --glass-border: rgba(59, 130, 246, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    --gradient-secondary: linear-gradient(135deg, #38bdf8 0%, #22d3ee 100%);
    --gradient-accent: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

/* Theme Toggle Button */
.theme-toggle {
    position: relative;
    width: 70px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.theme-toggle-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 26px;
    height: 26px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

[data-theme="dark"] .theme-toggle-slider {
    transform: translateX(34px);
    background: var(--primary-dark);
}

.theme-toggle-slider .icon {
    position: absolute;
    transition: opacity 0.3s ease;
}

.theme-toggle-slider .sun {
    opacity: 1;
    color: #f59e0b;
}

.theme-toggle-slider .moon {
    opacity: 0;
    color: white;
}

[data-theme="dark"] .theme-toggle-slider .sun {
    opacity: 0;
}

[data-theme="dark"] .theme-toggle-slider .moon {
    opacity: 1;
}

/* Dark Mode Styles */
[data-theme="dark"] body {
    background: var(--dark-bg);
    color: var(--text-dark);
}

[data-theme="dark"] .header {
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .header.scrolled {
    background: rgba(15, 23, 42, 0.98);
}

[data-theme="dark"] .header.scrolled .logo {
    color: var(--text-dark);
}

[data-theme="dark"] .header.scrolled .nav-links a {
    color: var(--text-dark);
}

[data-theme="dark"] .header.scrolled .hamburger span {
    background: var(--text-dark);
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

[data-theme="dark"] .about {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

[data-theme="dark"] .about .section-header h2,
[data-theme="dark"] .about .section-header p {
    color: var(--text-dark);
}

[data-theme="dark"] .about .section-header span {
    color: var(--primary-light);
}

[data-theme="dark"] .about p,
[data-theme="dark"] .about li {
    color: rgba(241, 245, 249, 0.9);
}

[data-theme="dark"] .services {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

[data-theme="dark"] .services::before {
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%2360a5fa" fill-opacity="0.08"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E') repeat;
}

[data-theme="dark"] .service-card {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

[data-theme="dark"] .service-card h3 {
    color: var(--primary-color);
}

[data-theme="dark"] .service-card p {
    color: rgba(241, 245, 249, 0.9);
}

[data-theme="dark"] .partners {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

[data-theme="dark"] .partners::before {
    background: linear-gradient(45deg, rgba(96, 165, 250, 0.03) 25%, transparent 25%),
                linear-gradient(-45deg, rgba(96, 165, 250, 0.03) 25%, transparent 25%),
                linear-gradient(45deg, transparent 75%, rgba(96, 165, 250, 0.03) 75%),
                linear-gradient(-45deg, transparent 75%, rgba(96, 165, 250, 0.03) 75%);
}

[data-theme="dark"] .partner-item {
    background: rgba(30, 41, 59, 0.6);
    border: 2px solid rgba(59, 130, 246, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

[data-theme="dark"] .contact {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

[data-theme="dark"] .contact::before {
    opacity: 0.05;
}

[data-theme="dark"] .contact::after {
    background: radial-gradient(circle at 30% 20%, rgba(96, 165, 250, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(56, 189, 248, 0.2) 0%, transparent 50%);
}

[data-theme="dark"] .contact-form {
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

[data-theme="dark"] .contact-form .form-control {
    background: rgba(15, 23, 42, 0.8);
    border: 2px solid rgba(59, 130, 246, 0.3);
    color: var(--text-dark);
}

[data-theme="dark"] .contact-form .form-control:focus {
    background: rgba(15, 23, 42, 0.9);
    border-color: var(--primary-color);
}

[data-theme="dark"] .section-header h2 {
    color: var(--primary-color);
}

[data-theme="dark"] .section-header p {
    color: var(--text-dark);
}

[data-theme="dark"] .section-header span {
    color: var(--primary-light);
}

/* Enhanced Light Mode Text Colors */
.section-header h2 {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(30, 58, 138, 0.1);
}

.section-header p {
    font-size: 1.3rem;
    color: var(--text-dark);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 600;
}

.section-header span {
    color: var(--primary-light);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* Service Cards Enhanced Text */
.service-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(30, 58, 138, 0.1);
}

.service-card p {
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 25px;
    font-weight: 600;
}

/* Hero Section Enhanced Text */
.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Stats Enhanced Text */
.stat-item .counter {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-item p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Form Elements Enhanced Text */
.form-control {
    width: 100%;
    padding: 18px 25px;
    border: 2px solid var(--light-blue);
    border-radius: 12px;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: white;
    color: var(--text-dark);
    font-weight: 600;
}

.form-control::placeholder {
    color: #64748b;
    font-weight: 500;
}

/* Button Enhanced Text */
.btn {
    padding: 16px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
}

/* About Section Enhanced Text */
.about p,
.about li {
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.8;
}

.about h3 {
    color: var(--primary-color);
    font-weight: 800;
    text-shadow: 0 1px 2px rgba(30, 58, 138, 0.1);
}

/* Partners Section Enhanced Text */
.partner-item img {
    height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.partner-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Contact Section Enhanced Text */
.contact .section-header h2,
.contact .section-header p {
    color: var(--primary-color);
}

.contact .section-header span {
    color: var(--primary-light);
}

/* Dark Mode Text Enhancements */
[data-theme="dark"] .hero h1,
[data-theme="dark"] .hero p {
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .stat-item .counter {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .stat-item p {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .service-card h3 {
    color: var(--primary-color);
    text-shadow: 0 1px 4px rgba(96, 165, 250, 0.3);
}

[data-theme="dark"] .section-header h2 {
    color: var(--primary-color);
    text-shadow: 0 2px 8px rgba(96, 165, 250, 0.3);
}

[data-theme="dark"] .section-header p {
    color: var(--text-dark);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .section-header span {
    color: var(--primary-light);
    text-shadow: 0 1px 4px rgba(147, 197, 253, 0.3);
}

/* Light Mode Contact Section Enhancement */
.contact {
    background: linear-gradient(135deg, #f8fafc 0%, #e1e8f0 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1586953208448-b95a79798f07?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80') no-repeat center/cover;
    opacity: 0.08;
    z-index: 1;
}

.contact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(14, 165, 233, 0.1) 0%, transparent 50%);
    z-index: 2;
}

.contact .container {
    position: relative;
    z-index: 3;
}

.contact-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 30px 60px rgba(30, 58, 138, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.contact-form .form-group {
    margin-bottom: 30px;
}

.contact-form .form-control {
    background: rgba(248, 250, 252, 0.8);
    border: 2px solid rgba(59, 130, 246, 0.15);
    color: var(--text-dark);
    font-size: 1.1rem;
    padding: 18px 25px;
    border-radius: 15px;
    transition: all 0.4s ease;
}

.contact-form .form-control:focus {
    background: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.contact-form .btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 18px 50px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.25);
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.contact-form .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.contact-form .btn-primary:hover::before {
    left: 100%;
}

.contact-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(30, 58, 138, 0.35);
}

.contact .section-header h2,
.contact .section-header p {
    color: var(--primary-color);
}

.contact .section-header span {
    color: var(--primary-light);
}

/* Smooth Theme Transition */
* {
    transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                color 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Enhanced Animation Performance */
.animate-float {
    animation: float 6s ease-in-out infinite;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

@keyframes float {
    0% { transform: translateY(0px) translateZ(0); }
    50% { transform: translateY(-20px) translateZ(0); }
    100% { transform: translateY(0px) translateZ(0); }
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Enhanced Hover Animations */
.service-card {
    position: relative;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(30, 58, 138, 0.08);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(59, 130, 246, 0.1);
    padding: 40px 30px;
    will-change: transform, box-shadow;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-15px) translateZ(0);
    box-shadow: 0 20px 60px rgba(30, 58, 138, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    will-change: transform, box-shadow;
    transform: translateZ(0);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg) translateZ(0);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
}

/* Enhanced Button Animations */
.btn {
    padding: 16px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    will-change: transform, box-shadow;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.btn:hover {
    transform: translateY(-3px) translateZ(0);
}

/* Enhanced Hero Image Animation */
.hero-image {
    position: relative;
    flex: 0 0 50%;
    max-width: 50%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transform: perspective(1000px) rotateY(-5deg) translateZ(0);
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    will-change: transform;
    backface-visibility: hidden;
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg) translateZ(0);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    will-change: transform;
    transform: translateZ(0);
}

/* Enhanced Partner Item Animations */
.partner-item {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 2px solid #e5e7eb;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow, filter;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.partner-item:hover {
    transform: translateY(-10px) translateZ(0);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.partner-item img {
    height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
    will-change: transform, filter;
    transform: translateZ(0);
}

.partner-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.1) translateZ(0);
}

/* Enhanced Form Control Animations */
.form-control {
    width: 100%;
    padding: 18px 25px;
    border: 2px solid var(--light-blue);
    border-radius: 12px;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: white;
    color: var(--text-dark);
    font-weight: 600;
    will-change: transform, box-shadow, border-color;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1);
    transform: translateY(-2px) translateZ(0);
}

/* Enhanced Theme Toggle Animation */
.theme-toggle {
    position: relative;
    width: 70px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    will-change: transform, background;
    transform: translateZ(0);
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05) translateZ(0);
}

.theme-toggle-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 26px;
    height: 26px;
    background: white;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    will-change: transform, background;
    transform: translateZ(0);
}

[data-theme="dark"] .theme-toggle-slider {
    transform: translateX(34px) translateZ(0);
    background: var(--primary-dark);
}

/* Enhanced Header Animation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    will-change: padding, background, box-shadow;
    transform: translateZ(0);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 15px 0;
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.15);
}

.header.scrolled .logo {
    color: #1e3c72;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-links a {
    color: #1e3c72;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 8px 20px;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    will-change: color, transform;
    transform: translateZ(0);
}

.header.scrolled .nav-links a {
    color: #1e3c72;
}

.header.scrolled .hamburger span {
    background: #1e3c72;
}

/* Enhanced Navigation Links */
.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 8px 20px;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    will-change: color, transform;
    transform: translateZ(0);
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateZ(0);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, width;
}

.nav-links a:hover::before {
    width: 70%;
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Glassmorphism Effect */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-lg);
}

/* Modern Button Styles */
.btn-modern {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.5s ease;
    border: none;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.btn-modern:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-modern:hover:before {
    left: 100%;
}

/* Hero Section - Professional Blue Design */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 180px 0 140px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1566576912321-d58ddd7a6080?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80') no-repeat center/cover;
    opacity: 0.15;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(30, 58, 138, 0.4) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 40% 20%, rgba(14, 165, 233, 0.3) 0%, transparent 50%);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 4;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.hero-buttons .btn {
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.4);
}

.hero-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px) scale(1.05);
}

.hero-image {
    position: relative;
    flex: 0 0 50%;
    max-width: 50%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    transition: transform 0.5s ease;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    min-width: 150px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item .counter {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-item p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-shape {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='1' d='M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") center/cover no-repeat;
    z-index: 2;
}

@media (max-width: 991.98px) {
    .hero {
        text-align: center;
        padding: 120px 0 80px;
        min-height: auto;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: 3rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 767.98px) {
    .hero.logo {
        font-size: 1.3rem;
    }
    
    .logo img {
        height: 40px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .stat-item {
        min-width: 120px;
        padding: 1rem;
    }
    
    .stat-item .counter {
        font-size: 2rem;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #c2e9fb);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Service Cards - Professional Blue Design */
.service-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(59, 130, 246, 0.1);
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.08);
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(30, 58, 138, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
    transition: all 0.5s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
}

.service-card .service-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    position: relative;
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

.service-card .service-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.service-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--primary-color);
    line-height: 1.3;
}

.service-card p {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    font-weight: 500;
}

.service-card .btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-card .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.3);
    background: var(--gradient-accent);
}

/* Service Modal */
.service-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
}

.service-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.service-modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(90deg);
}

.modal-body {
    padding: 40px;
}

/* Animation Classes */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Professional Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-header span {
    display: inline-block;
    color: var(--primary-light);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(30, 58, 138, 0.1);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-dark);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 500;
}

/* Enhanced Form Elements */
.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-control {
    width: 100%;
    padding: 18px 25px;
    border: 2px solid var(--light-blue);
    border-radius: 12px;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: white;
    color: var(--text-dark);
    font-weight: 500;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1);
    transform: translateY(-2px);
}

.form-control::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

/* Enhanced Button Styles */
.btn {
    padding: 16px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(30, 58, 138, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .service-card h3 {
        font-size: 1.4rem;
    }
    
    .service-card p {
        font-size: 0.95rem;
    }
    
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .partner-item {
        padding: 20px 15px;
    }
    
    .partner-item img {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .section-header span {
        font-size: 0.9rem;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .partners {
        padding: 60px 0;
    }
    
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
    }
    
    .partner-item {
        padding: 15px 10px;
    }
    
    .partner-item img {
        height: 35px;
    }
}

/* Particle Background for Hero */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

/* =====================
   MODERN HEADER STYLES
   ===================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px 0;
    background: rgba(30, 60, 114, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    will-change: padding, background, box-shadow;
    transform: translateZ(0);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 15px 0;
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.15);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    max-width: 1400px;
    margin: 0 auto;
}


.logo img {
    height: 60px;
    width: auto;
    transition: all 0.5s ease;
}

[data-theme="light"] .logo img {
    content: url('../images/dark.png');
}

[data-theme="dark"] .logo img {
    content: url('../images/light.png');
}

.nav-links a {
    color: white !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 8px 20px;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    will-change: transform;
    transform: translateZ(0);
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateZ(0);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, width;
}

.nav-links a:hover::before {
    width: 70%;
}

.nav-links a.btn-primary {
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    color: white !important;
    padding: 10px 25px !important;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.nav-links a.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.nav-links .theme-toggle-wrapper {
    margin-left: 20px;
    display: flex;
    align-items: center;
}

[data-theme="dark"] .nav-links a {
    color: white !important;
}

[data-theme="dark"] .nav-links a.btn-primary {
    background: linear-gradient(90deg, var(--primary-light), var(--secondary-color));
}

.header.scrolled .nav-links a {
    color: #1e3c72 !important;
}

/* Mobile Menu Toggle */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1002;
    position: relative;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: left center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(-2px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(2px);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .hamburger {
        display: flex;
        z-index: 1002;
        position: relative;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(30, 60, 114, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 80px 0;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 12px 30px;
        margin: 8px 0;
        color: white !important;
    }

    .nav-links a.btn-primary {
        margin-top: 20px;
        background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    }

    .header.scrolled .nav-links a {
        color: white !important;
    }

    /* Theme toggle in mobile menu */
    .theme-toggle-wrapper {
        margin-top: 30px;
        order: 10;
    }
}

.header.animated {
    animation: fadeInDown 0.8s ease-out;
}

/* Modern Services Section */
.services {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%233b82f6" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E') repeat;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.service-card {
    position: relative;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(30, 58, 138, 0.08);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(59, 130, 246, 0.1);
    padding: 40px 30px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(30, 58, 138, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
}

.service-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.service-card p {
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 25px;
    font-weight: 500;
}

.service-card .btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(30, 58, 138, 0.25);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.service-card .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.service-card .btn:hover::before {
    left: 100%;
}

.service-card .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.35);
}

/* Modern Partners Section */
.partners {
    background: white;
    padding: 80px 0;
    position: relative;
}

.partners::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.02) 25%, transparent 25%),
                linear-gradient(-45deg, rgba(59, 130, 246, 0.02) 25%, transparent 25%),
                linear-gradient(45deg, transparent 75%, rgba(59, 130, 246, 0.02) 75%),
                linear-gradient(-45deg, transparent 75%, rgba(59, 130, 246, 0.02) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.partner-item {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 2px solid var(--light-blue);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.partner-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.1);
    border-color: var(--primary-light);
}

.partner-item img {
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
    max-width: 100%;
}

.partner-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Modern Contact Section */
.contact {
    background: var(--gradient-primary);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1611224923853-80b023f02d71?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80') no-repeat center/cover;
    opacity: 0.1;
    z-index: 1;
}

.contact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(14, 165, 233, 0.3) 0%, transparent 50%);
    z-index: 2;
}

.contact .container {
    position: relative;
    z-index: 3;
}

.contact-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 800px;
    margin: 0 auto;
}

.contact-form .form-group {
    margin-bottom: 30px;
}

.contact-form .form-control {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(59, 130, 246, 0.2);
    color: var(--text-dark);
    font-size: 1.1rem;
    padding: 18px 25px;
    border-radius: 15px;
    transition: all 0.4s ease;
}

.contact-form .form-control:focus {
    background: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.contact-form .btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 18px 50px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.contact-form .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.contact-form .btn-primary:hover::before {
    left: 100%;
}

.contact-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(30, 58, 138, 0.4);
}

/* Section Headers Update */
.section-header span {
    color: var(--primary-light);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.3rem;
    color: var(--text-dark);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 500;
}

.contact .section-header h2,
.contact .section-header p {
    color: white;
}

.contact .section-header span {
    color: rgba(255, 255, 255, 0.8);
}