/* --- Enhanced Modern CSS Variables --- */
:root {
    --primary-color: #1E293B;
    /* Rich Dark Blue */
    --primary-light: #475569;
    /* Sophisticated Blue-Gray */
    --secondary-color: #F8FAFC;
    /* Pure Light Background */
    --accent-color: #3B82F6;
    /* Vibrant Blue */
    --accent-hover: #2563EB;
    /* Deep Blue */
    --accent-light: #DBEAFE;
    /* Soft Blue */
    --accent-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --success-color: #10B981;
    /* Fresh Green */
    --warning-color: #F59E0B;
    /* Golden Yellow */
    --error-color: #EF4444;
    /* Vibrant Red */
    --text-primary: #1E293B;
    /* Rich Dark */
    --text-secondary: #64748B;
    /* Balanced Gray */
    --text-light: #94A3B8;
    /* Light Gray */
    --white: #FFFFFF;
    --purple-accent: #8B5CF6;
    /* Purple for variety */
    --teal-accent: #14B8A6;
    /* Teal for freshness */
    --border-color: #E2E8F0;
    /* Slate 200 */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Poppins', sans-serif;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

/* --- Reset & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--white);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Modern Scroll Animations --- */
.hidden {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Stunning Modern Header --- */
header {
    background: linear-gradient(135deg,
            rgba(30, 41, 59, 0.95) 0%,
            rgba(51, 65, 85, 0.92) 25%,
            rgba(59, 130, 246, 0.15) 50%,
            rgba(139, 92, 246, 0.12) 75%,
            rgba(30, 41, 59, 0.95) 100%),
        linear-gradient(90deg,
            rgba(59, 130, 246, 0.1) 0%,
            rgba(139, 92, 246, 0.1) 50%,
            rgba(236, 72, 153, 0.1) 100%);
    backdrop-filter: blur(30px);
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg,
            #3B82F6 0%,
            #8B5CF6 25%,
            #EC4899 50%,
            #10B981 75%,
            #F59E0B 100%) 1;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 8px 32px rgba(59, 130, 246, 0.2),
        0 4px 16px rgba(139, 92, 246, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            rgba(59, 130, 246, 0.2),
            rgba(139, 92, 246, 0.2),
            rgba(255, 255, 255, 0.1),
            transparent);
    animation: header-shine 4s ease-in-out infinite;
}

header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    animation: header-glow 3s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes header-shine {
    0% {
        left: -100%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}

@keyframes header-glow {
    0% {
        opacity: 0.3;
    }

    100% {
        opacity: 0.7;
    }
}

header.scrolled {
    background: linear-gradient(135deg,
            rgba(15, 23, 42, 0.98) 0%,
            rgba(30, 41, 59, 0.95) 25%,
            rgba(59, 130, 246, 0.2) 50%,
            rgba(139, 92, 246, 0.18) 75%,
            rgba(15, 23, 42, 0.98) 100%);
    box-shadow:
        0 12px 40px rgba(59, 130, 246, 0.25),
        0 8px 24px rgba(139, 92, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-image: linear-gradient(90deg,
            #2563EB 0%,
            #7C3AED 25%,
            #DB2777 50%,
            #059669 75%,
            #D97706 100%) 1;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    position: relative;
}

nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(59, 130, 246, 0.3) 25%,
            rgba(139, 92, 246, 0.3) 75%,
            transparent 100%);
    animation: nav-glow 2s ease-in-out infinite;
}

@keyframes nav-glow {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.8;
    }
}

/* --- Enhanced Logo --- */
.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-img {
    /*height: 70px;*/
    width: auto;
    /*max-width: 70px;*/
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
    object-fit: contain;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
    transition: color 0.3s ease;
}

.logo:hover .logo-text {
    color: var(--accent-color);
}

/* --- Fixed Modern Navigation --- */
.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    display: block;
    background: transparent;
    border: 2px solid transparent;
}

.nav-links a:hover {
    color: var(--white);
    background: linear-gradient(135deg, #3B82F6, #8B5CF6);
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    transform: translateY(-1px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3B82F6, #8B5CF6);
    border-radius: 1px;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 80%;
}

/* Active Navigation State */
.nav-links a.active {
    color: var(--white);
    background: linear-gradient(135deg, #2563EB, #7C3AED);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.nav-links a.active::after {
    width: 80%;
}

/* --- Modern Hero Section --- */
.hero {
    background: linear-gradient(135deg,
            rgba(15, 23, 42, 0.95) 0%,
            rgba(51, 65, 85, 0.9) 50%,
            rgba(59, 130, 246, 0.8) 100%),
        url('images/slider.jpeg') center/cover;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(59, 130, 246, 0.3) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

/* --- Modern Button --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--radius-xl);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--accent-hover), #1D4ED8);
}

.btn:active {
    transform: translateY(0);
}

/* --- Modern Section Styling --- */
.section {
    padding: 5rem 0;
}

.section h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- About Section --- */
.about-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* --- Services Section --- */
.services-bg {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #F1F5F9 100%);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--success-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-light);
}

.card-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    display: block;
}

.card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Contact Section --- */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    display: block;
}

.contact-item h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.contact-item p {
    color: var(--text-secondary);
}

.contact-item a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-hover);
}

/* --- Modern Footer --- */
footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Enhanced Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(20px) scale(0.8);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: var(--shadow-xl);
}

/* --- Modern Mobile Navigation --- */
.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    transition: background-color 0.3s ease;
}

.nav-toggle:hover {
    background-color: var(--accent-light);
}

.hamburger {
    display: block;
    position: relative;
    width: 28px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active .hamburger::after {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .nav-links {
        position: fixed;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        inset: 0 0 0 25%;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid var(--border-color);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 1rem 2rem;
    }

    .nav-toggle {
        display: block;
        z-index: 1000;
    }

    .hero {
        min-height: 70vh;
        padding: 2rem 0;
    }

    .section {
        padding: 3rem 0;
    }

    .service-cards,
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .card,
    .contact-item,
    .about-content {
        padding: 2rem;
    }

    .back-to-top {
        width: 50px;
        height: 50px;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        inset: 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

/* --- Modern Utility Classes --- */
.text-gradient {
    background: linear-gradient(135deg, var(--accent-color), var(--success-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* --- Smooth Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-color);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-hover);
}

/* --- Mode
rn Hero Badge --- */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white);
    animation: fadeInDown 0.8s ease-out;
}

.badge-icon {
    font-size: 1rem;
}

.badge-text {
    font-family: var(--font-primary);
}

/* --- Modern Hero Buttons --- */
.hero-buttons {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* --- Hero Stats --- */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-display);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* --- Floating Cards Animation --- */
.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 500;
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.25rem;
    color: var(--accent-color);
}

.card-1 {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 60%;
    right: 5%;
    animation-delay: 2s;
}

.card-3 {
    top: 40%;
    left: 5%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-10px) rotate(1deg);
    }

    66% {
        transform: translateY(5px) rotate(-1deg);
    }
}

/* --- Modern Animations --- */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* --- Enhanced Service Cards --- */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    display: block;
}

.card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-family: var(--font-display);
}

.card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Responsive Enhancements --- */
@media (max-width: 768px) {
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .floating-card {
        display: none;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* 
--- Enhanced Service Card Styles --- */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-family: var(--font-display);
    margin-bottom: 1rem;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.card-badge {
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-badge.new {
    background: var(--gradient-accent);
}

.card-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.feature {
    font-size: 0.875rem;
    color: var(--success-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--success-color);
    border-radius: 50%;
    flex-shrink: 0;
}

/* --- Text Gradient --- */
.text-gradient {
    /*-- background: var(--gradient-primary); --*/
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* --- Enhanced About Section --- */
#about {
    background: linear-gradient(135deg, var(--secondary-color) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-radius: 2rem;
    margin: 4rem auto;
    padding: 4rem 2rem;
}

#about h2 {
    color: var(--primary-color);
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* --- Enhanced Contact Section --- */
#contact {
    background: var(--primary-color);
    color: var(--white);
    border-radius: 2rem;
    margin: 4rem auto;
    padding: 4rem 2rem;
}

#contact h2 {
    color: var(--white);
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.5rem);
}

#contact .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.contact-item h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-family: var(--font-display);
}

.contact-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.contact-item a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    color: var(--white);
}

/* --- Enhanced Footer --- */
footer {
    background: var(--primary-color);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* --- Loading States --- */
body.loaded .hero-content {
    animation: fadeInUp 1s ease-out;
}

body.loaded .logo-img {
    animation: slideInLeft 0.8s ease-out;
}

body.loaded .nav-links li {
    animation: fadeInDown 0.6s ease-out;
    animation-fill-mode: both;
}

body.loaded .nav-links li:nth-child(1) {
    animation-delay: 0.1s;
}

body.loaded .nav-links li:nth-child(2) {
    animation-delay: 0.2s;
}

body.loaded .nav-links li:nth-child(3) {
    animation-delay: 0.3s;
}

body.loaded .nav-links li:nth-child(4) {
    animation-delay: 0.4s;
}

/* --- Accessibility Improvements --- */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .floating-card {
        animation: none;
    }

    .hero::before {
        animation: none;
    }
}

/* --- Focus States for Better Accessibility --- */
.btn:focus,
.nav-links a:focus,
.logo:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* --- Print Styles --- */
@media print {

    .hero-decoration,
    .floating-card,
    .back-to-top,
    .nav-toggle {
        display: none;
    }

    .hero {
        background: none;
        color: var(--text-primary);
    }

    .hero-content h1,
    .hero-content p {
        color: var(--text-primary);
    }
}

/* --- Enhanced Visual Appeal Styles --- */

/* Pulse Badge Animation */
.pulse-badge {
    animation: pulse-glow 2s ease-in-out infinite;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
    border: 2px solid rgba(59, 130, 246, 0.3);
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(59, 130, 246, 0.3);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.6), 0 0 30px rgba(139, 92, 246, 0.4);
        transform: scale(1.02);
    }
}

/* Enhanced Text Gradients */
.text-gradient {
    background: linear-gradient(135deg, #3B82F6, #8B5CF6, #EC4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease-in-out infinite;
}

.text-gradient-2 {
    background: linear-gradient(135deg, #10B981, #14B8A6, #06B6D4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift-2 3s ease-in-out infinite;
}

@keyframes gradient-shift {

    0%,
    100% {
        filter: hue-rotate(0deg);
    }

    50% {
        filter: hue-rotate(30deg);
    }
}

@keyframes gradient-shift-2 {

    0%,
    100% {
        filter: hue-rotate(0deg);
    }

    50% {
        filter: hue-rotate(-30deg);
    }
}

/* Enhanced Hero Background */
.hero {
    background:
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(16, 185, 129, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(71, 85, 105, 0.9) 100%),
        url('images/slider.jpeg') center/cover;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(45deg, transparent 30%, rgba(59, 130, 246, 0.1) 50%, transparent 70%);
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        transform: translateX(-100%) rotate(45deg);
    }

    50% {
        transform: translateX(100%) rotate(45deg);
    }
}

/* Floating Particles Effect */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(59, 130, 246, 0.4), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(139, 92, 246, 0.3), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(16, 185, 129, 0.3), transparent);
    background-repeat: repeat;
    background-size: 150px 100px;
    animation: float-particles 20s linear infinite;
    pointer-events: none;
}

@keyframes float-particles {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-100px);
    }
}

/* Enhanced Buttons */
.btn {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.btn::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: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #3B82F6, #8B5CF6);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    animation: btn-glow 2s ease-in-out infinite;
}

@keyframes btn-glow {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    }

    50% {
        box-shadow: 0 6px 25px rgba(59, 130, 246, 0.6), 0 0 30px rgba(139, 92, 246, 0.3);
    }
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* Enhanced Stats */
.stat-item {
    position: relative;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.stat-number {
    background: linear-gradient(135deg, #FFFFFF, #F8FAFC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Enhanced Floating Cards */
.floating-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.floating-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.3);
}

.floating-card i {
    background: linear-gradient(135deg, #3B82F6, #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced Service Cards */
.card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3B82F6, #8B5CF6, #EC4899, #10B981);
    background-size: 300% 100%;
    animation: gradient-flow 3s ease-in-out infinite;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

@keyframes gradient-flow {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.card-icon {
    background: linear-gradient(135deg, #3B82F6, #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: icon-pulse 2s ease-in-out infinite;
}

@keyframes icon-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.card-badge {
    background: linear-gradient(135deg, #3B82F6, #8B5CF6);
    animation: badge-glow 2s ease-in-out infinite;
}

.card-badge.new {
    background: linear-gradient(135deg, #10B981, #14B8A6);
}

@keyframes badge-glow {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(59, 130, 246, 0.5);
    }

    50% {
        box-shadow: 0 0 15px rgba(59, 130, 246, 0.8), 0 0 25px rgba(139, 92, 246, 0.4);
    }
}

/* Enhanced About Section */
#about {
    background:
        radial-gradient(circle at 30% 70%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #F8FAFC 0%, rgba(59, 130, 246, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

#about::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    animation: rotate-bg 20s linear infinite;
}

@keyframes rotate-bg {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.about-content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Enhanced Contact Section */
#contact {
    background: linear-gradient(135deg, #1E293B 0%, #475569 100%);
    position: relative;
    overflow: hidden;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.2) 0%, transparent 50%);
    animation: contact-glow 4s ease-in-out infinite;
}

@keyframes contact-glow {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.8;
    }
}

.contact-item {
    position: relative;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.3);
}

.contact-icon {
    background: linear-gradient(135deg, #3B82F6, #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: icon-bounce 2s ease-in-out infinite;
}

@keyframes icon-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Enhanced Footer */
footer {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #3B82F6, #8B5CF6, #EC4899, #10B981);
    background-size: 300% 100%;
    animation: gradient-flow 3s ease-in-out infinite;
}

/* Scroll Animations Enhancement */
.hidden {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Mobile Enhancements */
@media (max-width: 768px) {
    .hero::after {
        background-size: 100px 80px;
    }

    .floating-card {
        display: none;
    }

    .pulse-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }

    .btn {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {

    .pulse-badge,
    .text-gradient,
    .text-gradient-2,
    .hero::before,
    .hero::after,
    .btn-primary,
    .floating-card,
    .card::before,
    .card-icon,
    .card-badge,
    #about::before,
    #contact::before,
    .contact-icon,
    footer::before {
        animation: none;
    }
}