/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Enhanced Premium Color Palette - More Colorful & Modern */
    --primary-dark: #0f172a;
    --primary-blue: #2563eb;
    --secondary-blue: #3b82f6;
    --accent-blue: #60a5fa;
    --vibrant-purple: #8b5cf6;
    --vibrant-pink: #ec4899;
    --vibrant-teal: #14b8a6;
    --vibrant-orange: #f97316;
    --light-gray: #f8fafc;
    --medium-gray: #e2e8f0;
    --dark-gray: #475569;
    --charcoal: #1e293b;
    --white: #ffffff;
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;

    /* Modern Gradients */
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #8b5cf6 50%, #ec4899 100%);
    --gradient-secondary: linear-gradient(135deg, #14b8a6 0%, #2563eb 50%, #3b82f6 100%);
    --gradient-accent: linear-gradient(135deg, #f97316 0%, #ec4899 50%, #8b5cf6 100%);
    --gradient-hero: linear-gradient(135deg, #1e3a8a 0%, #3730a3 25%, #581c87 50%, #831843 75%, #7f1d1d 100%);
    --gradient-hero-alt: linear-gradient(135deg, #064e3b 0%, #134e4a 25%, #1e3a8a 50%, #3730a3 75%, #581c87 100%);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.875rem;
    --font-size-sm: 1rem;
    --font-size-base: 1.125rem;
    --font-size-lg: 1.25rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 2rem;
    --font-size-3xl: 2.5rem;
    --font-size-4xl: 3rem;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    /* Borders */
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--primary-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Enhanced section spacing */
section {
    padding: var(--spacing-2xl) 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-2xl);
}

.section-header h2 {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: var(--font-size-lg);
    color: var(--dark-gray);
    line-height: 1.7;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

.animate-slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.animate-slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.animate-slide-in-up {
    animation: slideInUp 0.8s ease-out;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-counter {
    animation: fadeIn 0.6s ease-out;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: var(--font-size-3xl);
}

h2 {
    font-size: var(--font-size-2xl);
}

h3 {
    font-size: var(--font-size-xl);
}

h4 {
    font-size: var(--font-size-lg);
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--dark-gray);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    border: none;
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.3);
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    transform: skewX(-20deg);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 35px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: var(--font-size-base);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Header & Navigation - Modern Design */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(25px);
}

.navbar {
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    position: relative;
    animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--primary-blue);
    transition: all 0.4s ease;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.nav-logo a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue), var(--accent-blue));
    transition: width 0.4s ease;
    border-radius: 2px;
}

.nav-logo:hover a::before {
    width: 100%;
}

.nav-logo a:hover {
    color: var(--secondary-blue);
    transform: scale(1.02);
}

.logo-img {
    width: 180px;
    height: 180px;
    border-radius: var(--border-radius-lg);
    transition: all 0.3s ease;
    animation: logoPulse 4s ease-in-out infinite;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

@keyframes logoPulse {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
    }

    50% {
        transform: scale(1.05) rotate(2deg);
        box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    }
}

.nav-logo:hover .logo-img {
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
    filter: brightness(1.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--primary-dark);
    font-weight: 600;
    padding: 0.6rem 1rem;
    border-radius: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: transparent;
    border: 2px solid transparent;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
            rgba(59, 130, 246, 0.1) 0%,
            rgba(139, 92, 246, 0.1) 50%,
            rgba(236, 72, 153, 0.1) 100%);
    transition: left 0.5s ease;
    border-radius: 2rem;
    z-index: -1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue), var(--accent-blue));
    transition: all 0.4s ease;
    border-radius: 2px;
}

.nav-link:hover::before {
    left: 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
    background: rgba(59, 130, 246, 0.05);
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
    bottom: 2px;
}

/* Admin Login Link - Enhanced */
.nav-link.admin-login {
    background: linear-gradient(135deg, #f97316 0%, #ec4899 50%, #8b5cf6 100%);
    color: var(--white) !important;
    font-weight: 700;
    padding: 0.6rem 1.5rem;
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.nav-link.admin-login::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.8s ease;
}

.nav-link.admin-login:hover::before {
    left: 100%;
}

.nav-link.admin-login:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.4);
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 50%, #f97316 100%);
}

.nav-link.admin-login::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    padding: 1rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
    background: rgba(59, 130, 246, 0.05);
    border: 2px solid rgba(59, 130, 246, 0.1);
}

.hamburger:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: scale(1.05);
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-blue));
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hamburger span::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transition: left 0.6s ease;
}

.hamburger:hover span::before {
    left: 100%;
}

/* Modern Hero Section - New Design */
.hero {
    min-height: 80vh;
    /* Increased for more space */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 25%, #581c87 50%, #831843 75%, #7f1d1d 100%);
    padding: 120px 0 60px;
    /* Space for fixed header and bottom padding */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.8s ease;
    animation: heroZoom 20s infinite alternate;
}

.hero:hover .hero-background {
    transform: scale(1.05);
}

@keyframes heroZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(15, 23, 42, 0.6) 0%,
            rgba(30, 41, 59, 0.5) 25%,
            rgba(88, 28, 135, 0.4) 50%,
            rgba(131, 24, 67, 0.3) 75%,
            rgba(127, 29, 29, 0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.25;
    padding: 10px 0;
    /* Added padding to prevent clipping of descenders/ascenders */
    background: linear-gradient(135deg, #ffffff 0%, #60a5fa 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite;
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.hero:hover .hero-title {
    transform: translateY(-5px);
}

@keyframes titleGlow {

    0%,
    100% {
        background-position: 0% 50%;
        opacity: 0.9;
    }

    50% {
        background-position: 100% 50%;
        opacity: 1;
    }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 500;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-visual {
    position: relative;
    height: 300px;
    animation: fadeInRight 1s ease-out 0.9s both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.floating-card {
    position: absolute;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(236, 72, 153, 0.15));
    backdrop-filter: blur(15px);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    animation: float 3s ease-in-out infinite;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 160px;
    z-index: 3;
}

.floating-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.3);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(236, 72, 153, 0.25));
    z-index: 4;
}

.floating-card i {
    font-size: 1.5rem;
    color: #60a5fa;
    transition: all 0.3s ease;
    flex-shrink: 0;
    line-height: 1;
}

.floating-card:hover i {
    color: #ffffff;
    transform: scale(1.2);
}

.floating-card span {
    font-size: 0.85rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.floating-card:nth-child(1) {
    top: 15%;
    left: 5%;
    animation-delay: 0s;
}

.floating-card:nth-child(2) {
    top: 50%;
    right: 15%;
    animation-delay: 1s;
}

.floating-card:nth-child(3) {
    bottom: 15%;
    left: 25%;
    animation-delay: 2s;
}

.delayed {
    animation-delay: 0.5s;
}

.delayed-more {
    animation-delay: 1s;
}

/* Page-Specific Hero Backgrounds */
.hero.home-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 25%, #581c87 50%, #831843 75%, #7f1d1d 100%);
}

.hero.about-hero {
    background: linear-gradient(135deg, #064e3b 0%, #134e4a 25%, #1e3a8a 50%, #3730a3 75%, #581c87 100%);
}

.hero.services-hero {
    background: linear-gradient(135deg, #f97316 0%, #ec4899 50%, #8b5cf6 100%);
}

.hero.contact-hero {
    background: linear-gradient(135deg, #064e3b 0%, #134e4a 25%, #1e3a8a 50%, #3730a3 75%, #581c87 100%);
}



.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Hero Background Images - Must come after base styles */
.hero .hero-background {
    background-image: url('../assets/images/hero/home-hero.jpg');
}

.hero.about-hero {
    background: var(--gradient-secondary);
}

.hero.about-hero .hero-background {
    background-image: url('../assets/images/hero/about.png');
}

.hero.services-hero {
    background: var(--gradient-accent);
}

.hero.services-hero .hero-background {
    background-image: url('../assets/images/hero/services-hero.jpg');
}

.hero.contact-hero {
    background: var(--gradient-hero-alt);
}

.hero.contact-hero .hero-background {
    background-image: url('../assets/images/hero/services-hero.jpg');
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.02) 50%, transparent 70%);
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-50px, -50px);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(15, 23, 42, 0.7) 0%,
            rgba(30, 41, 59, 0.6) 25%,
            rgba(88, 28, 135, 0.5) 50%,
            rgba(131, 24, 67, 0.4) 75%,
            rgba(127, 29, 29, 0.3) 100%);
    animation: gradientShift 10s ease-in-out infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 0.9;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-blue) 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleShimmer 3s ease-in-out infinite;
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

@keyframes titleShimmer {

    0%,
    100% {
        background-position: 0% 50%;
        opacity: 0.9;
    }

    50% {
        background-position: 100% 50%;
        opacity: 1;
    }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-xl);
    font-weight: 500;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    height: 400px;
}

.floating-card {
    position: absolute;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(236, 72, 153, 0.15));
    backdrop-filter: blur(15px);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.2);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
    font-weight: 600;
    animation: float 3s ease-in-out infinite;
    transition: var(--transition);
}

.floating-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.3);
}

.floating-card i {
    font-size: var(--font-size-lg);
    color: var(--accent-blue);
}

.floating-card:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-card:nth-child(2) {
    top: 60%;
    right: 20%;
    animation-delay: 1s;
}

.floating-card:nth-child(3) {
    bottom: 20%;
    left: 30%;
    animation-delay: 2s;
}

.floating-card i {
    font-size: var(--font-size-lg);
    color: var(--accent-blue);
}

.delayed {
    animation-delay: 0.5s;
}

.delayed-more {
    animation-delay: 1s;
}

/* Business Value Section */
.business-value {
    background: var(--light-gray);
    padding: var(--spacing-2xl) 0;
}

.value-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.value-header {
    margin-bottom: var(--spacing-xl);
}

.value-content h2 {
    font-size: var(--font-size-2xl);
    color: var(--primary-dark);
    margin-bottom: var(--spacing-md);
}

.value-description {
    font-size: var(--font-size-lg);
    color: var(--dark-gray);
    line-height: 1.8;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.benefit-item {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.1);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.2);
}

.benefit-item:hover::before {
    transform: scaleX(1);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.4);
}

.benefit-icon i {
    font-size: var(--font-size-xl);
    color: var(--white);
}

.benefit-item h3 {
    font-size: var(--font-size-lg);
    color: var(--primary-dark);
    margin-bottom: var(--spacing-xs);
}

.benefit-item p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Statistics Section */
.statistics {
    padding: var(--spacing-xl) 0;
    background: var(--gradient-primary);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    text-align: center;
}

.stat-item {
    padding: var(--spacing-md);
}

.stat-number {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    background: linear-gradient(45deg, #fff, var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: var(--font-size-base);
    opacity: 0.9;
}

/* Services Preview Section */
.services-preview {
    padding: var(--spacing-2xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-header h2 {
    font-size: var(--font-size-2xl);
    color: var(--primary-dark);
    margin-bottom: var(--spacing-sm);
}

.section-header p {
    font-size: var(--font-size-lg);
    color: var(--dark-gray);
}

.services-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.service-preview-item {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.service-preview-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    transition: var(--transition);
}

.service-preview-item:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon i {
    font-size: var(--font-size-2xl);
    color: var(--white);
}

.service-preview-item h3 {
    font-size: var(--font-size-lg);
    color: var(--primary-dark);
    margin-bottom: var(--spacing-sm);
}

.service-preview-item p {
    color: var(--dark-gray);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.service-link {
    color: var(--primary-blue);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: var(--transition);
}

.service-link:hover {
    color: var(--secondary-blue);
    gap: var(--spacing-sm);
}

.services-cta {
    text-align: center;
}

/* Testimonials Section */
.testimonials {
    padding: var(--spacing-2xl) 0;
    background: var(--light-gray);
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-item {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
}

.testimonial-text {
    position: relative;
    margin-bottom: var(--spacing-lg);
}

.testimonial-text i {
    color: var(--accent-blue);
    opacity: 0.6;
}

.testimonial-text i:first-child {
    position: absolute;
    top: -10px;
    left: -20px;
}

.testimonial-text i:last-child {
    position: absolute;
    bottom: -10px;
    right: -20px;
}

.testimonial-text p {
    font-style: italic;
    color: var(--dark-gray);
    line-height: 1.8;
    font-size: var(--font-size-lg);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-xs);
}

.author-info p {
    color: var(--dark-gray);
    font-size: var(--font-size-sm);
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-2xl) 0;
    background: var(--gradient-secondary);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-md);
}

.cta-content p {
    font-size: var(--font-size-lg);
    opacity: 0.9;
    margin-bottom: var(--spacing-xl);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: var(--white);
    color: var(--primary-blue);
}

.cta-section .btn-primary:hover {
    background: var(--light-gray);
}

.cta-section .btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.cta-section .btn-secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2d3748 0%, #475569 100%);
    color: var(--white);
    padding: var(--spacing-2xl) 0 var(--spacing-md);
    border-top: 4px solid var(--primary-blue);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.footer-logo-img {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.footer-logo-img:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    text-decoration: none;
}

.footer-section ul li a:hover {
    color: var(--accent-blue);
    transform: translateX(5px);
}

.footer-link {
    color: var(--accent-blue);
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-xs);
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Alert System */
.alert {
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    margin: var(--spacing-md) auto;
    max-width: 600px;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    animation: slideInUp 0.3s ease-out;
    position: relative;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid var(--success);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
    border: 1px solid var(--error);
}

.alert-close {
    position: absolute;
    top: var(--spacing-xs);
    right: var(--spacing-xs);
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    opacity: 0.7;
    transition: var(--transition);
}

.alert-close:hover {
    opacity: 1;
}

/* Responsive Design - Enhanced */
@media (max-width: 768px) {
    :root {
        --font-size-3xl: 2rem;
        --font-size-2xl: 1.5rem;
        --font-size-xl: 1.25rem;
    }

    .header {
        padding: 0.5rem 0;
    }

    .navbar {
        padding: 0.5rem 0;
    }

    .logo-img {
        width: 120px;
        height: 120px;
    }

    .nav-logo {
        animation: none;
    }

    .nav-logo a {
        font-size: 1.3rem;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        border-top: 1px solid rgba(59, 130, 246, 0.1);
        gap: 0.5rem;
    }

    .nav-menu.active {
        display: flex;
        animation: slideDown 0.4s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-link {
        padding: 1rem 1.5rem;
        border-radius: 1.5rem;
        text-align: center;
        font-size: 1rem;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        min-height: 60vh;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 1rem;
    }

    .hero-visual {
        height: 200px;
        margin-top: 1rem;
        position: relative;
    }

    .floating-card {
        position: static;
        display: inline-block;
        margin: 0.5rem;
        animation: none;
        transform: none !important;
        min-width: 140px;
    }

    .floating-card:hover {
        transform: translateY(-3px) scale(1.02) !important;
    }

    .floating-card:hover {
        transform: translateY(-5px) scale(1.05);
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-preview-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .hero-title {
        font-size: var(--font-size-2xl);
    }

    .hero-subtitle {
        font-size: var(--font-size-lg);
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .back-to-top {
        bottom: var(--spacing-md);
        right: var(--spacing-md);
        width: 45px;
        height: 45px;
    }
}

/* Animation Delays */
.animate-slide-in-left-delay {
    animation-delay: 0.3s;
}

/* Hover States */
.card:hover {
    transform: translateY(-5px);
}

.btn:hover {
    transform: translateY(-2px);
}

/* Focus States for Accessibility */
.btn:focus,
.nav-link:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

/* Print Styles */
@media print {

    .header,
    .footer,
    .back-to-top,
    .btn {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .hero {
        background: none;
        color: var(--primary-dark);
    }
}

/* Header layout: logo left, menu right */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
}

/* Footer layout: sections side by side */
.footer-content {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-section {
    flex: 1 1 200px;
    /* responsive */
}