/* ====================== */
/* === GLOBAL STYLES === */
/* ====================== */
:root {
    --primary-color: #4a6bff;
    --secondary-color: #00d4ff;
    --purple: #7b4fff;
    --cyan: #00c8ff;
    --dark-color: #121212;
    --darker-color: #0a0a0a;
    --light-color: rgba(255, 255, 255, 0.9);
    --lighter-color: #ffffff;
    --gray-color: #b0b0b0;
    --dark-gray: #2a2a2a;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --neon-shadow: 0 0 15px rgba(74, 107, 255, 0.5);
    --card-border: 1px solid rgba(255, 255, 255, 0.1);
    --card-bg: rgba(25, 25, 35, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--light-color);
    position: relative;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;

    /* Layer 1 = Gradient overlay
       Layer 2 = Background image */
    background:
        linear-gradient(135deg,
            rgba(10, 10, 18, 0.95) 0%,
            rgba(15, 27, 46, 0.92) 35%,
            rgba(22, 36, 71, 0.92) 65%,
            rgba(42, 31, 79, 0.95) 100%
        ),
        url('../images/bg.jpg');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

body::before {
    content: '';
    position: fixed;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle at 20% 30%, rgba(74, 107, 255, 0.15), transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(123, 79, 255, 0.12), transparent 45%);
    pointer-events: none;
    z-index: -1;
}

/* ====================== */
/* === BASE CARD STYLES === */
/* ====================== */
.card-transparent {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--card-border);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.card-transparent:hover {
    background: rgba(30, 30, 40, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), var(--neon-shadow);
    transform: translateY(-5px);
}

.card-body {
    padding: 40px;
}

/* ====================== */
/* === TYPOGRAPHY === */
/* ====================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: var(--lighter-color);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
}

.text-primary {
    color: var(--primary-color) !important;
}

/* ====================== */
/* === LAYOUT & SPACING === */
/* ====================== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    margin-bottom: 60px;
    text-align: center;
}

.container {
    padding-left: 15px;
    padding-right: 15px;
}

/* ====================== */
/* === BUTTONS === */
/* ====================== */
.btn {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 12px 24px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn i {
    margin-right: 8px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(74, 107, 255, 0.3);
}

.btn-primary:hover {
    background-color: #3a5aed;
    border-color: #3a5aed;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 107, 255, 0.4);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--light-color);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.btn-link:hover {
    color: var(--secondary-color);
}

.btn-link i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.btn-link:hover i {
    transform: translateX(3px);
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* ====================== */
/* === BADGES === */
/* ====================== */
.badge {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.badge i {
    margin-right: 5px;
}

.badge.bg-primary {
    background-color: var(--primary-color) !important;
}

.badge.bg-purple {
    background-color: var(--purple) !important;
}

.badge.bg-cyan {
    background-color: var(--cyan) !important;
}

.badge.bg-primary-soft {
    background-color: rgba(74, 107, 255, 0.2) !important;
    color: var(--primary-color);
    border: 1px solid rgba(74, 107, 255, 0.3);
}

.badge.bg-purple-soft {
    background-color: rgba(123, 79, 255, 0.2) !important;
    color: var(--purple);
    border: 1px solid rgba(123, 79, 255, 0.3);
}

.badge.bg-primary-soft:hover,
.badge.bg-purple-soft:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.badge-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

@keyframes pulseBadge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(74, 107, 255, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px 5px rgba(74, 107, 255, 0.3);
    }
}

.pulse-badge {
    animation: pulseBadge 3s infinite ease-in-out;
}

/* ====================== */
/* === PROGRESS BARS === */
/* ====================== */
.progress-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    height: 8px;
    margin-top: 8px;
    overflow: hidden;
}

.progress-bar {
    background: var(--primary-color);
    height: 100%;
    border-radius: 50px;
    position: relative;
    transition: width 1s ease;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-value {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    color: white;
}

.progress-label {
    font-size: 0.8rem;
    color: var(--light-color);
    margin-bottom: 5px;
}

/* ====================== */
/* === NAVBAR STYLE === */
/* ====================== */
.navbar {
    padding: 15px 0;
    background-color: transparent;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: white;
}

.navbar-brand span {
    color: #4a6bff;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 10px;
    padding: 8px 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-link:hover,
.nav-link:focus {
    color: white;
    background: rgba(74, 107, 255, 0.1);
}

.nav-link.active {
    color: #4a6bff;
    background: rgba(74, 107, 255, 0.1);
}

.dropdown-menu {
    background: rgba(15, 15, 25, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px 0;
    margin-top: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.dropdown-mega-menu {
    width: 700px;
    padding: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.dropdown-mega-menu .row {
    margin: 0;
}

.dropdown-mega-menu .col-md-4 {
    padding: 0 15px;
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(255, 255, 255, 0.05);
    color: #4a6bff;
}

.dropdown-divider {
    border-color: rgba(255, 255, 255, 0.05);
    margin: 8px 0;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -10px;
    margin-left: 0;
    display: none;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>.dropdown-item:after {
    content: "+";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    transition: transform 0.3s ease, content 0.3s ease;
}

.dropdown-submenu:hover>.dropdown-item:after {
    content: "-";
    transform: translateY(-50%);
}

.dropdown-submenu.show>.dropdown-item:after {
    content: "-";
    transform: translateY(-50%);
}

.dropdown-header {
    color: #4a6bff;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 20px;
    margin-top: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

@media (min-width: 1000px) {
    .dropdown-submenu .dropdown-menu {
        top: 0;
        right: 100%;
        left: auto;
        margin-top: -10px;
        margin-right: 0;
        margin-left: 0;
        border-right: 2px solid rgba(255, 255, 255, 0.1);
        border-left: none;
    }

    .dropdown-submenu:hover>.dropdown-menu {
        display: block;
    }
}

@media (max-width: 991.98px) {
    .navbar-brand {
        font-size: 1.5rem;
    }

    .navbar-collapse {
        background: rgba(20, 20, 30, 0.98);
        padding: 15px;
        border-radius: 12px;
        margin-top: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        max-height: 70vh;
        overflow-y: auto;
    }

    .navbar-collapse::-webkit-scrollbar {
        width: 5px;
    }

    .navbar-collapse::-webkit-scrollbar-thumb {
        background-color: rgba(255, 255, 255, 0.3);
        border-radius: 10px;
    }

    .dropdown-menu {
        background: rgba(20, 20, 30, 0.98);
        margin-top: 0;
        border-radius: 6px;
    }

    .dropdown-mega-menu {
        width: 100%;
        left: 0;
        transform: none;
    }

    .dropdown-submenu>.dropdown-menu {
        position: static;
        margin-left: 10px;
        border-left: 2px solid rgba(255, 255, 255, 0.1);
    }

    .dropdown-submenu-child {
        left: 0 !important;
        right: auto !important;
        margin-left: 0 !important;
    }

    .dropdown-item {
        padding: 6px 15px;
        font-size: 0.8rem;
    }

    .nav-link {
        margin: 3px 0;
        padding: 6px 10px;
        font-size: 0.9rem;
    }

    .dropdown-header {
        font-size: 0.7rem;
        padding: 5px 15px;
    }
}

@media (max-width: 767.98px) {
    .navbar-brand {
        font-size: 1.3rem;
    }

    .nav-link {
        font-size: 0.85rem;
    }

    .dropdown-item {
        font-size: 0.75rem;
    }

    .dropdown-mega-menu {
        padding: 15px;
    }

    .dropdown-mega-menu .col-md-4 {
        padding: 0 10px;
    }
}

/* ====================== */
/* === HERO SECTION === */
/* ====================== */
.hero {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-tagline {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #4a6bff;
    background: rgba(74, 107, 255, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #ffffff;
}

.text-gradient {
    background: linear-gradient(135deg, #4a6bff 0%, #7b4fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-buttons .btn {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn i {
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--purple));
    color: white;
    box-shadow: 0 10px 20px -8px rgba(74, 107, 255, 0.4);
    position: relative;
    border: none;
}

.hero-buttons .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.6s ease;
    z-index: -1;
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px -8px rgba(74, 107, 255, 0.6);
}

.hero-buttons .btn-primary:hover::before {
    left: 100%;
}

.hero-buttons .btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 15px -5px rgba(74, 107, 255, 0.5);
}

.hero-buttons .btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    position: relative;
}

.hero-buttons .btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: width 0.3s ease;
    z-index: -1;
}

.hero-buttons .btn-outline:hover {
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(74, 107, 255, 0.3);
}

.hero-buttons .btn-outline:hover::before {
    width: 100%;
}

.hero-buttons .btn-outline-primary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    position: relative;
}

.hero-buttons .btn-outline-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    z-index: -1;
    opacity: 0.1;
}

.hero-buttons .btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(74, 107, 255, 0.5);
    border-color: var(--primary-color);
}

.hero-buttons .btn-outline-primary:hover::before {
    width: 300px;
    height: 300px;
    opacity: 1;
}

.hero-buttons .btn-outline-primary:hover i {
    color: white;
    transform: translateX(3px) rotate(5deg);
}

.hero-buttons .btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    position: relative;
}

.hero-buttons .btn-outline-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: white;
    transition: width 0.3s ease;
    z-index: -1;
}

.hero-buttons .btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(255, 255, 255, 0.3);
}

.hero-buttons .btn-outline-light:hover::before {
    width: 100%;
}

.hero-buttons .btn:hover i {
    transform: translateX(3px) scale(1.1);
}

.hero-buttons .btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.hero-buttons .btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.hero-image-wrapper {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #ffffff;
    white-space: nowrap;
    animation: float 4s ease-in-out infinite;
    z-index: 10;
}

.floating-card i {
    color: #4a6bff;
    font-size: 1rem;
}

.floating-card:nth-child(1) {
    top: 5%;
    left: -5%;
    animation-delay: 0s;
}

.floating-card:nth-child(2) {
    top: 25%;
    right: -5%;
    animation-delay: 0.3s;
}

.floating-card:nth-child(3) {
    bottom: 30%;
    left: 0%;
    animation-delay: 0.6s;
}

.floating-card:nth-child(4) {
    top: 45%;
    left: -10%;
    animation-delay: 0.9s;
}

.floating-card:nth-child(5) {
    top: 60%;
    right: 5%;
    animation-delay: 1.2s;
}

.floating-card:nth-child(6) {
    bottom: 15%;
    right: -5%;
    animation-delay: 1.5s;
}

.floating-card:nth-child(7) {
    top: 15%;
    right: 15%;
    animation-delay: 1.8s;
}

.floating-card:nth-child(8) {
    bottom: 40%;
    left: 15%;
    animation-delay: 2.1s;
}

.floating-card:nth-child(9) {
    bottom: 5%;
    left: 20%;
    animation-delay: 2.4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero-canvas {
    width: 100%;
    height: 550px;
    margin: 0 auto;
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 1;
    border-radius: 20px;
    overflow: hidden;
    background: transparent;
}

.hero-canvas canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.min-vh-80 {
    min-height: 80vh;
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: #4a6bff;
    background: rgba(74, 107, 255, 0.1);
    transform: translateY(-2px);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(74, 107, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(74, 107, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 107, 255, 0); }
}

.hero-buttons .btn-primary {
    animation: pulse 3s infinite;
}

.hero-buttons .btn-primary:hover {
    animation: none;
}

.hero-buttons .btn-gradient-outline {
    background: transparent;
    border: double 2px transparent;
    background-image: linear-gradient(rgba(20, 20, 30, 0.3), rgba(20, 20, 30, 0.3)), 
                      linear-gradient(135deg, var(--primary-color), var(--purple));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    color: white;
    position: relative;
}

.hero-buttons .btn-gradient-outline:hover {
    background-image: linear-gradient(135deg, var(--primary-color), var(--purple)), 
                      linear-gradient(135deg, var(--primary-color), var(--purple));
    background-clip: padding-box, border-box;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(74, 107, 255, 0.5);
}

.hero-buttons .btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.hero-buttons .btn-glass:hover {
    background: rgba(74, 107, 255, 0.2);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    backdrop-filter: blur(15px);
}

.hero-buttons .btn-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
}

.hero-buttons .btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.5);
}

.hero-buttons .btn-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: none;
}

.hero-buttons .btn-warning:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.5);
}

.hero-buttons .btn:disabled,
.hero-buttons .btn.disabled {
    opacity: 0.5;
    pointer-events: none;
    transform: none;
    box-shadow: none;
}

.hero-buttons .btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.hero-buttons .btn.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (max-width: 1199.98px) {
    .hero-canvas {
        height: 500px;
    }
}

@media (max-width: 991.98px) {
    .hero {
        min-height: 100vh;
        padding: 120px 0 80px;
    }

    .hero .container,
    .hero .row {
        height: 100%;
    }

    .hero .row {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        margin-bottom: 40px;
    }

    .hero-buttons {
        justify-content: center;
        gap: 12px;
    }

    .hero-buttons .btn {
        min-width: 160px;
    }

    .hero-image-wrapper {
        min-height: auto;
        padding: 20px;
        margin-top: 20px;
    }

    .hero-canvas {
        height: 450px;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 767.98px) {
    .hero {
        min-height: 100vh;
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-text {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 24px;
    }

    .hero-content {
        margin-bottom: 30px;
    }

    .hero-canvas {
        height: 400px;
        max-width: 500px;
    }

    .floating-card:nth-child(n+5) {
        display: none;
    }
    
    .floating-card:nth-child(1) {
        top: 0%;
        left: 0%;
    }
    
    .floating-card:nth-child(2) {
        top: 15%;
        right: 0%;
    }
    
    .floating-card:nth-child(3) {
        bottom: 20%;
        left: 0%;
    }
    
    .floating-card:nth-child(4) {
        bottom: 5%;
        right: 0%;
        left: auto;
    }
}

@media (max-width: 575.98px) {
    .hero {
        min-height: 100vh;
        padding: 90px 0 40px;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .hero-content {
        margin-bottom: 20px;
    }

    .hero-canvas {
        height: 350px;
        max-width: 400px;
    }

    .badge-container {
        justify-content: center;
    }

    .hero-buttons .btn {
        max-width: 250px;
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .floating-card {
        display: none;
    }
}

@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 0 40px;
    }

    .hero-canvas {
        height: 300px;
    }

    .floating-card {
        transform: scale(0.8);
    }
}

@media (min-width: 768px) and (max-width: 991.98px) and (orientation: portrait) {
    .hero {
        min-height: 100vh;
        padding: 120px 0 60px;
    }

    .hero-canvas {
        height: 450px;
    }

    .floating-card {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}

/* ====================== */
/* === CLIENTS SECTION === */
/* ====================== */
.clients-section {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.featured-clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.client-card {
    perspective: 1500px;
    height: 180px;
}

.client-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 30, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

.client-card-inner:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(74, 107, 255, 0.3);
    box-shadow: 0 20px 40px -10px rgba(74, 107, 255, 0.3);
    background: rgba(30, 30, 40, 0.6);
}

.client-logo-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.client-logo-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.client-card-inner:hover .client-logo-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: rgba(74, 107, 255, 0.1);
}

.client-logo-img {
    max-width: 60%;
    max-height: 60%;
    filter: brightness(0.9) grayscale(20%);
    transition: all 0.3s ease;
}

.client-card-inner:hover .client-logo-img {
    filter: brightness(1.2) grayscale(0%);
    transform: scale(1.1);
}

.client-info {
    flex: 1;
    position: relative;
    z-index: 2;
}

.client-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: white;
    font-weight: 600;
}

.client-industry {
    font-size: 0.8rem;
    color: var(--primary-color);
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.client-since {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    color: var(--gray-color);
}

.client-since i {
    font-size: 0.8rem;
    color: var(--primary-color);
}

.client-hover-effect {
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 100%;
    background: linear-gradient(to left, rgba(74, 107, 255, 0.2), transparent);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    opacity: 0;
}

.client-card-inner:hover .client-hover-effect {
    transform: translateX(0);
    opacity: 1;
}

.hover-text {
    font-size: 0.7rem;
    color: var(--primary-color);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 2px;
    font-weight: 500;
}

.client-hover-effect i {
    color: var(--primary-color);
    font-size: 1.2rem;
    animation: slideRight 1s infinite;
}

@keyframes slideRight {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(3px);
    }
}

.clients-marquee-container {
    position: relative;
    overflow: hidden;
    padding: 40px 0;
    margin: 20px 0;
    background: rgba(20, 20, 30, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.5);
}

.clients-marquee-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(74, 107, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.clients-marquee-container:hover {
    border-color: rgba(74, 107, 255, 0.2);
    box-shadow: 0 20px 40px -10px rgba(74, 107, 255, 0.3);
    transition: all 0.4s ease;
}

.clients-marquee {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    position: relative;
    z-index: 2;
}

.marquee-content {
    display: flex;
    animation: marqueeScroll 25s linear infinite;
    width: max-content;
    padding: 10px 0;
}

.marquee-logo {
    height: 70px;
    width: auto;
    margin: 0 35px;
    filter: grayscale(40%) brightness(1.2);
    opacity: 0.8;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.marquee-logo:hover {
    filter: grayscale(0%) brightness(1.4);
    opacity: 1;
    transform: scale(1.1);
    background: rgba(74, 107, 255, 0.1);
    border-color: rgba(74, 107, 255, 0.3);
    box-shadow: 0 10px 25px -8px rgba(74, 107, 255, 0.4);
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.clients-marquee:hover .marquee-content {
    animation-play-state: paused;
}

.btn-outline-primary.group {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
}

.btn-outline-primary.group:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(74, 107, 255, 0.5);
}

.btn-outline-primary.group i {
    transition: transform 0.3s ease;
}

.btn-outline-primary.group:hover i {
    transform: translateX(5px);
}

@media (max-width: 991.98px) {
    .clients-section {
        padding: 60px 0;
    }

    .stats-card-glass {
        padding: 20px;
    }

    .stat-item-glass {
        padding: 15px;
        gap: 15px;
    }

    .stat-icon-glass {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .stat-number-glass {
        font-size: 1.8rem;
    }

    .clients-marquee-container {
        padding: 30px 0;
        border-radius: 40px;
    }

    .marquee-logo {
        height: 60px;
        margin: 0 25px;
        padding: 10px 18px;
    }
}

@media (max-width: 767.98px) {
    .featured-clients-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-item-glass {
        border: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    .stat-item-glass:last-child {
        border-bottom: none !important;
    }

    .clients-marquee-container {
        padding: 25px 0;
        border-radius: 30px;
    }

    .marquee-logo {
        height: 50px;
        margin: 0 20px;
        padding: 8px 15px;
    }
}

@media (max-width: 575.98px) {
    .client-card-inner {
        padding: 15px;
    }

    .client-logo-wrapper {
        width: 60px;
        height: 60px;
    }

    .client-info h4 {
        font-size: 1rem;
    }

    .client-industry {
        font-size: 0.7rem;
    }

    .stat-number-glass {
        font-size: 1.5rem;
    }

    .stat-label-glass {
        font-size: 0.8rem;
    }

    .clients-marquee-container {
        padding: 20px 0;
        border-radius: 25px;
    }

    .marquee-logo {
        height: 40px;
        margin: 0 15px;
        padding: 6px 12px;
    }
}

/* ====================== */
/* === ABOUT SECTION === */
/* ====================== */
.about-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(74, 107, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: floatGlow 15s infinite alternate;
}

.about-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(123, 79, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: floatGlow 20s infinite alternate-reverse;
}

@keyframes floatGlow {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(30px, 30px) scale(1.1);
    }
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.about-story-card {
    background: rgba(20, 20, 30, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
}

.about-story-card:hover {
    transform: translateY(-10px);
    border-color: rgba(74, 107, 255, 0.2);
    box-shadow: 0 30px 60px -12px rgba(74, 107, 255, 0.2);
}

.about-story-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(74, 107, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(100px, -100px);
    pointer-events: none;
}

.story-badge {
    margin-bottom: 25px;
}

.story-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
}

.story-text {
    color: var(--gray-color);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.value-item:hover {
    background: rgba(74, 107, 255, 0.1);
    transform: translateX(5px);
    border-color: rgba(74, 107, 255, 0.2);
}

.value-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--purple));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    box-shadow: 0 10px 20px -5px rgba(74, 107, 255, 0.4);
    transition: all 0.3s ease;
}

.value-item:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

.value-content h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: white;
    font-weight: 600;
}

.value-content p {
    font-size: 0.8rem;
    color: var(--gray-color);
    margin: 0;
}

.story-image-container {
    position: relative;
    margin: 25px 0 30px 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s ease;
}

.story-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px -10px rgba(74, 107, 255, 0.3);
    border-color: rgba(74, 107, 255, 0.2);
}

.story-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.story-image-container:hover .story-image {
    transform: scale(1.05);
}

.story-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.4) 50%,
            transparent 100%);
    padding: 30px 20px 15px 20px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.story-image-container:hover .story-image-overlay {
    transform: translateY(0);
}

.image-caption {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    display: block;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.image-stats-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(74, 107, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.3);
    transform: translateY(0);
    transition: all 0.3s ease;
    z-index: 2;
}

.image-stats-badge i {
    font-size: 1rem;
}

.story-image-container:hover .image-stats-badge {
    transform: translateY(-3px);
    background: var(--primary-color);
    box-shadow: 0 15px 25px -8px rgba(74, 107, 255, 0.5);
}

.story-image-container.loading {
    position: relative;
    min-height: 200px;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.05),
            rgba(74, 107, 255, 0.1),
            rgba(255, 255, 255, 0.05));
    background-size: 200% 100%;
    animation: loadingShimmer 1.5s infinite;
}

@keyframes loadingShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.about-showcase {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stats-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.stat-card-modern {
    background: rgba(20, 20, 30, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card-modern:hover {
    transform: translateY(-5px);
    border-color: rgba(74, 107, 255, 0.3);
    box-shadow: 0 20px 40px -10px rgba(74, 107, 255, 0.3);
}

.stat-card-modern.main-stat {
    grid-column: span 3;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(74, 107, 255, 0.15), rgba(123, 79, 255, 0.1));
    border: 1px solid rgba(74, 107, 255, 0.2);
    padding: 30px;
}

.stat-modern-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-modern-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--purple));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 15px;
    box-shadow: 0 15px 30px -8px rgba(74, 107, 255, 0.5);
    transition: all 0.3s ease;
}

.stat-modern-icon.small {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    border-radius: 16px;
    margin-bottom: 12px;
}

.stat-card-modern:hover .stat-modern-icon {
    transform: scale(1.1) rotate(5deg);
}

.stat-modern-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 5px;
}

.stat-modern-number.small {
    font-size: 1.8rem;
}

.stat-modern-number .counter {
    background: linear-gradient(135deg, white, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-modern-suffix {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-left: 2px;
}

.stat-modern-label {
    font-size: 0.9rem;
    color: var(--gray-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.stat-modern-progress {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 15px;
}

.stat-modern-progress .progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--purple));
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.stat-modern-progress .progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShine 2s infinite;
}

.timeline-container {
    background: rgba(20, 20, 30, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 30px;
}

.timeline-title {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.timeline-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(to bottom, var(--primary-color), var(--purple));
    border-radius: 2px;
}

.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 95px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--primary-color), var(--purple), transparent);
    opacity: 0.3;
}

.timeline-item {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-year {
    width: 80px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Space Grotesk', sans-serif;
    position: relative;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -13px;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary-color);
}

.timeline-badge {
    display: inline-block;
    background: rgba(74, 107, 255, 0.15);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 5px;
    border: 1px solid rgba(74, 107, 255, 0.3);
}

.timeline-content p {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 1200px) {
    .about-grid {
        gap: 30px;
    }

    .story-title {
        font-size: 2rem;
    }
}

@media (max-width: 991.98px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stats-showcase {
        grid-template-columns: repeat(3, 1fr);
    }

    .partners-logos {
        gap: 30px;
        padding: 15px;
    }
}

@media (max-width: 767.98px) {
    .about-section {
        padding: 60px 0;
    }

    .about-story-card {
        padding: 30px;
    }

    .story-title {
        font-size: 1.8rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .stats-showcase {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-card-modern.main-stat {
        grid-column: span 2;
    }

    .timeline::before {
        left: 75px;
    }

    .timeline-year {
        width: 60px;
        font-size: 1rem;
    }

    .story-image-container {
        margin: 20px 0 25px 0;
    }

    .image-stats-badge {
        padding: 6px 12px;
        font-size: 0.7rem;
    }

    .image-caption {
        font-size: 0.8rem;
    }

    .partners-logos {
        gap: 20px;
        border-radius: 30px;
    }

    .partners-logos img {
        height: 30px;
    }
}

@media (max-width: 575.98px) {
    .stats-showcase {
        grid-template-columns: 1fr;
    }

    .stat-card-modern.main-stat {
        grid-column: span 1;
    }

    .timeline-item {
        gap: 15px;
    }

    .timeline::before {
        left: 65px;
    }

    .timeline-year {
        width: 50px;
        font-size: 0.9rem;
    }

    .story-image-container {
        border-radius: 16px;
    }

    .image-stats-badge {
        top: 10px;
        right: 10px;
        padding: 5px 10px;
    }

    .partners-logos {
        gap: 15px;
        border-radius: 20px;
    }

    .partners-logos img {
        height: 25px;
    }
}

/* ====================== */
/* === SERVICES SECTION === */
/* ====================== */
.services-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    background: transparent;
}

.services-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 700px;
    height: 700px;
    z-index: 0;
    animation: floatService 20s infinite alternate;
}

.services-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    z-index: 0;
    animation: floatService 18s infinite alternate-reverse;
}

@keyframes floatService {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(50px, -50px) scale(1.2);
    }
}

.services-grid-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.service-card-modern {
    position: relative;
    height: 100%;
    transition: all 0.4s ease;
}

.service-card-inner {
    position: relative;
    background: rgba(20, 20, 30, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: 35px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    overflow: hidden;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.4);
}

.service-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center,
            rgba(74, 107, 255, 0.1) 0%,
            transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    animation: rotateGlow 10s linear infinite;
}

.service-card-inner:hover .service-card-glow {
    opacity: 1;
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.service-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 32px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--purple), transparent 70%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-card-inner:hover::before {
    opacity: 1;
}

.service-card-inner:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -15px rgba(74, 107, 255, 0.4);
    background: rgba(30, 30, 40, 0.4);
}

.service-icon-wrapper {
    position: relative;
    width: fit-content;
    margin: 0 auto 25px;
}

.service-icon-modern {
    position: relative;
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(74, 107, 255, 0.2), rgba(123, 79, 255, 0.1));
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
    z-index: 2;
    border: 1px solid rgba(74, 107, 255, 0.3);
    box-shadow: 0 10px 20px -8px rgba(74, 107, 255, 0.3);
}

.service-icon-ring {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 33px;
    border: 1px solid rgba(74, 107, 255, 0.3);
    animation: pulseRing 2s infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card-inner:hover .service-icon-ring {
    opacity: 1;
}

@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.2;
    }
    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

.service-card-inner:hover .service-icon-modern {
    background: linear-gradient(135deg, var(--primary-color), var(--purple));
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px -8px rgba(74, 107, 255, 0.6);
}

.service-content {
    position: relative;
    z-index: 2;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.service-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--purple));
    border-radius: 3px;
    transition: width 0.3s ease;
}

.service-card-inner:hover .service-title::after {
    width: 60px;
}

.service-description {
    color: var(--gray-color);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.service-metrics-modern {
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.metric-item {
    margin-bottom: 15px;
}

.metric-item:last-child {
    margin-bottom: 0;
}

.metric-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
}

.metric-header .metric-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Space Grotesk', sans-serif;
}

.metric-header .metric-label {
    font-size: 0.8rem;
    color: var(--gray-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.metric-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.metric-progress .progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--purple));
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.metric-progress .progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShine 2s infinite;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--light-color);
    font-size: 0.95rem;
}

.service-features li i {
    color: var(--primary-color);
    font-size: 1rem;
    background: rgba(74, 107, 255, 0.1);
    padding: 4px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.service-card-inner:hover .service-features li i {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 0;
    transition: all 0.3s ease;
    position: relative;
}

.service-btn::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--purple));
    transition: width 0.3s ease;
}

.service-btn:hover {
    color: white;
}

.service-btn:hover::after {
    width: 100%;
}

.service-btn i {
    transition: transform 0.3s ease;
}

.service-btn:hover i {
    transform: translateX(5px);
}

.services-cta-wrapper {
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.services-cta-wrapper .btn {
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--primary-color), var(--purple));
    border: none;
    box-shadow: 0 15px 30px -10px rgba(74, 107, 255, 0.4);
    transition: all 0.3s ease;
}

.services-cta-wrapper .btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px -10px rgba(74, 107, 255, 0.6);
}

.services-cta-wrapper .btn i {
    transition: transform 0.3s ease;
}

.services-cta-wrapper .btn:hover i {
    transform: translateX(5px);
}

@media (max-width: 991.98px) {
    .services-section {
        padding: 80px 0;
    }

    .services-grid-modern {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .service-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 767.98px) {
    .services-section {
        padding: 60px 0;
    }

    .service-card-inner {
        padding: 30px;
    }

    .service-icon-modern {
        width: 80px;
        height: 80px;
        font-size: 2.2rem;
        border-radius: 24px;
    }

    .service-icon-ring {
        border-radius: 29px;
    }

    .service-title {
        font-size: 1.3rem;
    }

    .service-description {
        font-size: 0.9rem;
    }

    .metric-header .metric-value {
        font-size: 1rem;
    }

    .metric-header .metric-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 575.98px) {
    .services-section {
        padding: 50px 0;
    }

    .service-card-inner {
        padding: 25px;
    }

    .service-icon-modern {
        width: 70px;
        height: 70px;
        font-size: 2rem;
        border-radius: 22px;
    }

    .service-icon-ring {
        border-radius: 27px;
    }

    .service-title {
        font-size: 1.2rem;
    }

    .service-features li {
        font-size: 0.85rem;
    }

    .service-btn {
        font-size: 0.85rem;
    }

    .services-cta-wrapper .btn {
        padding: 14px 30px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 300px;
    }
}

/* ====================== */
/* === SOLUTIONS SECTION === */
/* ====================== */
.solutions-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    background: transparent;
}

.solutions-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    z-index: 0;
    animation: floatSolution 20s infinite alternate;
}

.solutions-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    z-index: 0;
    animation: floatSolution 18s infinite alternate-reverse;
}

@keyframes floatSolution {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(40px, -40px) scale(1.2);
    }
}

.solutions-container {
    position: relative;
    z-index: 2;
    margin-top: 50px;
    background: rgba(20, 20, 30, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 48px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.solutions-tabs-nav {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 60px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.tab-nav-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    background: transparent;
    border: none;
    border-radius: 50px;
    color: var(--gray-color);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tab-nav-btn i {
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.tab-nav-btn span {
    position: relative;
    z-index: 2;
}

.tab-nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--purple));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.tab-nav-btn.active {
    color: white;
}

.tab-nav-btn.active::before {
    opacity: 1;
}

.tab-nav-btn.active i {
    color: white;
    transform: scale(1.1);
}

.tab-nav-btn:hover:not(.active) {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.tab-nav-btn:hover:not(.active) i {
    color: var(--primary-color);
}

.solutions-tab-content {
    position: relative;
    min-height: 450px;
}

.tab-panel {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tab-panel.active {
    display: block;
    opacity: 1;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.solution-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.solution-visual {
    position: relative;
}

.solution-stats-modern {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.stat-block {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    transition: all 0.3s ease;
}

.stat-block:hover {
    background: rgba(74, 107, 255, 0.05);
    border-color: rgba(74, 107, 255, 0.2);
    transform: translateX(5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(74, 107, 255, 0.2), rgba(123, 79, 255, 0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    border: 1px solid rgba(74, 107, 255, 0.3);
    transition: all 0.3s ease;
}

.stat-block:hover .stat-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--purple));
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.stat-details {
    flex: 1;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.2;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-bottom: 8px;
}

.stat-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.stat-progress .progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--purple));
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.stat-progress .progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShine 2s infinite;
}

.solution-quick-fact {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(74, 107, 255, 0.1);
    border: 1px solid rgba(74, 107, 255, 0.2);
    border-radius: 50px;
    color: var(--light-color);
    font-size: 0.9rem;
}

.solution-quick-fact i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.solution-info {
    position: relative;
}

.solution-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: white;
    line-height: 1.3;
}

.solution-description {
    color: var(--gray-color);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.solution-features-modern {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(74, 107, 255, 0.05);
    border-color: rgba(74, 107, 255, 0.2);
    transform: translateX(5px);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
    background: rgba(74, 107, 255, 0.1);
    padding: 5px;
    border-radius: 50%;
    margin-top: 2px;
}

.feature-text {
    flex: 1;
}

.feature-text strong {
    display: block;
    color: white;
    font-size: 1rem;
    margin-bottom: 4px;
}

.feature-text span {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.solution-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.solution-actions .btn {
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
}

.solution-actions .btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.solution-actions .btn-link:hover {
    color: white;
    gap: 12px;
}

.solution-actions .btn-link i {
    transition: transform 0.3s ease;
}

.solution-actions .btn-link:hover i {
    transform: translateX(5px);
}

@media (max-width: 991.98px) {
    .solutions-section {
        padding: 80px 0;
    }

    .solutions-container {
        padding: 30px;
        border-radius: 40px;
    }

    .solutions-tabs-nav {
        flex-wrap: wrap;
        border-radius: 40px;
    }

    .tab-nav-btn {
        flex: 1 1 calc(50% - 8px);
        padding: 14px 20px;
    }

    .solution-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .solution-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 767.98px) {
    .solutions-section {
        padding: 60px 0;
    }

    .solutions-container {
        padding: 20px;
        border-radius: 32px;
    }

    .tab-nav-btn {
        flex: 1 1 100%;
        padding: 12px 16px;
    }

    .tab-nav-btn i {
        font-size: 1.1rem;
    }

    .tab-nav-btn span {
        font-size: 0.9rem;
    }

    .stat-block {
        padding: 15px;
        gap: 15px;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        border-radius: 16px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .solution-title {
        font-size: 1.5rem;
    }

    .solution-description {
        font-size: 0.95rem;
    }

    .solution-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .solution-actions .btn {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .solutions-container {
        padding: 15px;
        border-radius: 24px;
    }

    .solution-quick-fact {
        padding: 12px 15px;
        font-size: 0.85rem;
    }

    .feature-item {
        padding: 10px 12px;
    }

    .feature-text strong {
        font-size: 0.95rem;
    }

    .feature-text span {
        font-size: 0.85rem;
    }
}

/* ====================== */
/* === PRICING SECTION === */
/* ====================== */
.pricing-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    background: transparent;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    z-index: 0;
    animation: floatPricing 20s infinite alternate;
}

.pricing-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    z-index: 0;
    animation: floatPricing 18s infinite alternate-reverse;
}

@keyframes floatPricing {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(40px, -40px) scale(1.2);
    }
}

.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 40px 0 30px;
    position: relative;
    z-index: 2;
}

.billing-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-color);
    transition: all 0.3s ease;
}

.billing-label.active {
    color: white;
}

.save-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--purple));
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 50px;
    margin-left: 8px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 34px;
    transition: all 0.3s ease;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--purple));
    border-radius: 50%;
    transition: transform 0.3s ease;
}

input:checked+.toggle-slider:before {
    transform: translateX(30px);
}

.pricing-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
    position: relative;
    z-index: 2;
}

.pricing-card-modern {
    position: relative;
    height: 100%;
    transition: all 0.4s ease;
}

.pricing-card-modern.featured {
    transform: scale(1.05);
    z-index: 3;
}

.pricing-card-inner {
    position: relative;
    background: rgba(20, 20, 30, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: 40px 30px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    overflow: hidden;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
}

.pricing-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center,
            rgba(74, 107, 255, 0.1) 0%,
            transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    animation: rotateGlow 10s linear infinite;
}

.pricing-card-inner:hover .pricing-card-glow {
    opacity: 1;
}

.pricing-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 32px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--purple), transparent 70%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.pricing-card-inner:hover::before {
    opacity: 1;
}

.pricing-card-inner:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -15px rgba(74, 107, 255, 0.4);
    background: rgba(30, 30, 40, 0.4);
}

.pricing-card-modern.featured .pricing-card-inner {
    background: linear-gradient(135deg, rgba(74, 107, 255, 0.15), rgba(123, 79, 255, 0.1));
    border: 1px solid rgba(74, 107, 255, 0.3);
}

.popular-badge-modern {
    position: absolute;
    top: 30px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--purple));
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 10px 20px -5px rgba(74, 107, 255, 0.4);
}

.popular-badge-modern i {
    font-size: 1rem;
}

.pricing-header-modern {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.plan-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(74, 107, 255, 0.2), rgba(123, 79, 255, 0.1));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin: 0 auto 20px;
    border: 1px solid rgba(74, 107, 255, 0.3);
    transition: all 0.3s ease;
}

.plan-icon.featured {
    background: linear-gradient(135deg, var(--primary-color), var(--purple));
    color: white;
}

.pricing-card-inner:hover .plan-icon:not(.featured) {
    background: linear-gradient(135deg, var(--primary-color), var(--purple));
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.plan-name {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: white;
    font-weight: 600;
}

.plan-description {
    color: var(--gray-color);
    font-size: 0.95rem;
}

.pricing-price {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 2;
}

.price-monthly,
.price-yearly {
    display: none;
}

.price-monthly.active,
.price-yearly.active {
    display: block;
}

.price-monthly .currency,
.price-yearly .currency {
    font-size: 1.5rem;
    color: var(--primary-color);
    vertical-align: top;
    margin-right: 5px;
}

.price-monthly .amount,
.price-yearly .amount {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1;
}

.price-monthly .period,
.price-yearly .period {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-left: 5px;
}

.price-save {
    display: block;
    margin-top: 10px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-features-modern {
    margin-bottom: 30px;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.pricing-features-modern h4 {
    font-size: 1rem;
    color: white;
    margin-bottom: 20px;
    font-weight: 600;
}

.pricing-features-modern ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features-modern li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--light-color);
    font-size: 0.95rem;
}

.pricing-features-modern li i {
    color: var(--primary-color);
    font-size: 1rem;
    background: rgba(74, 107, 255, 0.1);
    padding: 4px;
    border-radius: 50%;
    flex-shrink: 0;
}

.pricing-features-modern li strong {
    color: white;
    font-weight: 600;
    margin-right: 5px;
}

.pricing-features-modern li span {
    color: var(--gray-color);
    font-size: 0.85rem;
    margin-left: auto;
}

.pricing-footer-modern {
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.pricing-footer-modern .btn {
    width: 100%;
    padding: 14px 20px;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.pricing-footer-modern .btn i {
    transition: transform 0.3s ease;
}

.pricing-footer-modern .btn:hover i {
    transform: translateX(5px);
}

.pricing-footer-modern .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--purple));
    border: none;
    box-shadow: 0 15px 30px -10px rgba(74, 107, 255, 0.4);
}

.pricing-footer-modern .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -10px rgba(74, 107, 255, 0.6);
}

.pricing-footer-modern .btn-outline-primary {
    background: transparent;
    border: 1px solid rgba(74, 107, 255, 0.3);
    color: var(--primary-color);
}

.pricing-footer-modern .btn-outline-primary:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--purple));
    border-color: transparent;
    color: white;
}

.guarantee-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--gray-color);
    font-size: 0.85rem;
    position: relative;
    z-index: 2;
}

.guarantee-badge i {
    color: var(--primary-color);
}

.custom-solution-wrapper {
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.custom-solution-card {
    background: rgba(20, 20, 30, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 40px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.custom-solution-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(74, 107, 255, 0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.custom-solution-content {
    display: flex;
    align-items: center;
    gap: 25px;
    position: relative;
    z-index: 2;
}

.custom-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(74, 107, 255, 0.2), rgba(123, 79, 255, 0.1));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    border: 1px solid rgba(74, 107, 255, 0.3);
}

.custom-text h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: white;
}

.custom-text p {
    color: var(--gray-color);
    font-size: 1rem;
    margin: 0;
}

.custom-solution-card .btn {
    position: relative;
    z-index: 2;
    padding: 16px 32px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--purple));
    border: none;
    box-shadow: 0 15px 30px -10px rgba(74, 107, 255, 0.4);
}

.custom-solution-card .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(74, 107, 255, 0.6);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-color);
    font-size: 0.95rem;
}

.trust-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

@media (max-width: 1199.98px) {
    .pricing-grid-modern {
        gap: 25px;
    }

    .pricing-card-modern.featured {
        transform: scale(1.03);
    }

    .plan-name {
        font-size: 1.6rem;
    }
}

@media (max-width: 991.98px) {
    .pricing-section {
        padding: 80px 0;
    }

    .pricing-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .pricing-card-modern.featured {
        transform: scale(1);
        order: -1;
    }

    .custom-solution-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .custom-solution-content {
        flex-direction: column;
        text-align: center;
    }

    .trust-badges {
        gap: 30px;
    }
}

@media (max-width: 767.98px) {
    .pricing-section {
        padding: 60px 0;
    }

    .pricing-grid-modern {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .billing-toggle {
        gap: 15px;
    }

    .billing-label {
        font-size: 0.9rem;
    }

    .save-badge {
        font-size: 0.7rem;
        padding: 3px 8px;
    }

    .plan-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .plan-name {
        font-size: 1.5rem;
    }

    .custom-text h3 {
        font-size: 1.5rem;
    }

    .custom-text p {
        font-size: 0.95rem;
    }

    .trust-badges {
        gap: 20px;
    }

    .trust-item {
        font-size: 0.85rem;
    }
}

@media (max-width: 575.98px) {
    .billing-toggle {
        flex-wrap: wrap;
    }

    .custom-solution-card {
        padding: 25px;
    }

    .custom-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        border-radius: 20px;
    }

    .custom-solution-card .btn {
        width: 100%;
    }

    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

/* ====================== */
/* === TEAM SECTION === */
/* ====================== */
.team-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    background: transparent;
}

.team-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    z-index: 0;
    animation: floatTeam 20s infinite alternate;
}

.team-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    z-index: 0;
    animation: floatTeam 18s infinite alternate-reverse;
}

@keyframes floatTeam {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(40px, -40px) scale(1.2);
    }
}

.team-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.team-card-modern {
    position: relative;
    height: 100%;
    transition: all 0.4s ease;
}

.team-card-inner {
    position: relative;
    background: rgba(20, 20, 30, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    overflow: hidden;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.4);
}

.team-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center,
            rgba(74, 107, 255, 0.1) 0%,
            transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    animation: rotateGlow 10s linear infinite;
}

.team-card-inner:hover .team-card-glow {
    opacity: 1;
}

.team-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 32px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--purple), transparent 70%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.team-card-inner:hover::before {
    opacity: 1;
}

.team-card-inner:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -15px rgba(74, 107, 255, 0.4);
}

.member-photo-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-card-inner:hover .member-photo {
    transform: scale(1.1);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top,
            rgba(10, 10, 20, 0.9) 0%,
            rgba(10, 10, 20, 0.4) 50%,
            transparent 100%);
    opacity: 0.7;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.team-card-inner:hover .photo-overlay {
    opacity: 0.5;
}

.member-social {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 3;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.team-card-inner:hover .member-social {
    transform: translateY(0);
    opacity: 1;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(20, 20, 30, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px -5px rgba(74, 107, 255, 0.4);
}

.expertise-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(74, 107, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 8px 16px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.3);
    animation: floatBadge 3s infinite ease-in-out;
}

@keyframes floatBadge {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.expertise-badge i {
    font-size: 1rem;
}

.member-info {
    padding: 25px;
    position: relative;
    z-index: 2;
}

.member-name {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: white;
    font-weight: 600;
}

.member-position {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.member-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.skill-pill {
    background: rgba(74, 107, 255, 0.1);
    border: 1px solid rgba(74, 107, 255, 0.2);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.team-card-inner:hover .skill-pill {
    background: rgba(74, 107, 255, 0.2);
    border-color: rgba(74, 107, 255, 0.4);
    transform: translateY(-2px);
}

.member-bio {
    color: var(--gray-color);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.member-bio i {
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-size: 0.9rem;
    opacity: 0.5;
}

.experience-indicator {
    display: flex;
    gap: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.exp-item {
    text-align: center;
}

.exp-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.2;
}

.exp-label {
    font-size: 0.7rem;
    color: var(--gray-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 1199.98px) {
    .team-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .member-photo-wrapper {
        height: 260px;
    }
}

@media (max-width: 991.98px) {
    .team-section {
        padding: 80px 0;
    }
}

@media (max-width: 767.98px) {
    .team-section {
        padding: 60px 0;
    }

    .team-grid-modern {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .member-photo-wrapper {
        height: 300px;
    }

    .member-name {
        font-size: 1.2rem;
    }

    .member-position {
        font-size: 0.85rem;
    }

    .member-bio {
        font-size: 0.85rem;
    }

    .exp-value {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .member-photo-wrapper {
        height: 250px;
    }

    .member-info {
        padding: 20px;
    }

    .member-skills {
        gap: 6px;
    }

    .skill-pill {
        padding: 3px 10px;
        font-size: 0.7rem;
    }

    .experience-indicator {
        gap: 15px;
    }
}

/* ====================== */
/* === TESTIMONIALS SECTION === */
/* ====================== */
.testimonials-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    background: transparent;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    z-index: 0;
    animation: floatTestimonial 20s infinite alternate;
}

.testimonials-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    z-index: 0;
    animation: floatTestimonial 18s infinite alternate-reverse;
}

@keyframes floatTestimonial {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(40px, -40px) scale(1.2);
    }
}

.testimonials-wrapper {
    position: relative;
    z-index: 2;
    margin: 40px 0;
    padding: 0 20px;
}

.testimonials-slider.owl-carousel {
    display: block !important;
    margin: 0 -10px;
    width: auto;
}

.testimonials-slider.owl-carousel .owl-stage-outer {
    overflow: hidden;
    padding: 20px 0 40px 0;
}

.testimonials-slider.owl-carousel .owl-item {
    padding: 0 10px;
    transition: all 0.3s ease;
}

.testimonials-slider.owl-carousel .owl-item.active .testimonial-card-inner {
    opacity: 1;
    transform: scale(1);
}

.testimonials-slider.owl-carousel .owl-dots {
    display: none;
}

.testimonial-card {
    height: 100%;
}

.testimonial-card-inner {
    position: relative;
    background: rgba(20, 20, 30, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: 35px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.testimonial-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 32px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--purple), transparent 70%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.testimonial-card-inner:hover::before {
    opacity: 1;
}

.testimonial-card-inner:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px -15px rgba(74, 107, 255, 0.4);
    background: rgba(30, 30, 40, 0.4);
}

.quote-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 5rem;
    color: rgba(74, 107, 255, 0.15);
    line-height: 1;
    font-family: serif;
    z-index: 1;
}

.quote-icon i {
    font-size: 4rem;
    opacity: 0.3;
    transform: rotate(180deg);
}

.testimonial-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.testimonial-rating i {
    color: #FFD700;
    font-size: 1.2rem;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.3));
}

.rating-text {
    margin-left: 10px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    background: rgba(74, 107, 255, 0.15);
    padding: 3px 10px;
    border-radius: 50px;
    border: 1px solid rgba(74, 107, 255, 0.3);
}

.testimonial-text {
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
}

.testimonial-text p {
    color: var(--light-color);
    font-size: 1rem;
    line-height: 1.8;
    font-style: italic;
    margin: 0;
    position: relative;
    padding: 0 10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.author-avatar-wrapper {
    position: relative;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.author-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    border: 2px solid rgba(74, 107, 255, 0.5);
}

.avatar-border {
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--purple));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.testimonial-card-inner:hover .avatar-border {
    opacity: 1;
    animation: rotateBorder 3s linear infinite;
}

@keyframes rotateBorder {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.author-details {
    flex: 1;
}

.author-name {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: white;
    font-weight: 600;
}

.author-position {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.author-company-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    color: var(--primary-color);
    background: rgba(74, 107, 255, 0.1);
    padding: 3px 10px;
    border-radius: 50px;
    border: 1px solid rgba(74, 107, 255, 0.2);
}

.author-company-badge i {
    font-size: 0.7rem;
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    position: relative;
    z-index: 10;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(20, 20, 30, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(74, 107, 255, 0.4), transparent);
    transition: all 0.5s ease;
    transform: translate(-50%, -50%);
}

.nav-btn:hover::before {
    width: 150px;
    height: 150px;
}

.nav-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(74, 107, 255, 0.4);
}

.nav-btn i {
    position: relative;
    z-index: 2;
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.testimonial-dots {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 !important;
}

.testimonial-dot.active {
    width: 30px;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--primary-color), var(--purple));
    box-shadow: 0 0 15px rgba(74, 107, 255, 0.5);
}

.testimonial-dot:hover {
    background: var(--primary-color);
    transform: scale(1.2);
}

.testimonial-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    padding: 30px;
    background: rgba(20, 20, 30, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 50px;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    background: linear-gradient(135deg, white, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 1199.98px) {
    .testimonials-slider.owl-carousel .owl-item {
        padding: 0 8px;
    }

    .testimonials-slider.owl-carousel {
        margin: 0 -8px;
    }
}

@media (max-width: 991.98px) {
    .testimonials-slider.owl-carousel .owl-stage-outer {
        padding: 15px 0 30px 0;
    }
}

@media (max-width: 767.98px) {
    .testimonials-section {
        padding: 60px 0;
    }

    .testimonials-wrapper {
        padding: 0;
    }

    .testimonial-card-inner {
        padding: 25px;
    }

    .quote-icon {
        font-size: 3rem;
        top: 20px;
        right: 20px;
    }

    .quote-icon i {
        font-size: 2.5rem;
    }

    .testimonial-author {
        gap: 15px;
    }

    .author-avatar-wrapper {
        width: 60px;
        height: 60px;
    }

    .author-name {
        font-size: 1rem;
    }

    .author-position {
        font-size: 0.8rem;
    }

    .testimonial-nav {
        gap: 20px;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .testimonial-stats {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        border-radius: 30px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .testimonials-slider.owl-carousel .owl-stage-outer {
        padding: 10px 0 25px 0;
    }
}

@media (max-width: 575.98px) {
    .testimonials-wrapper {
        margin: 20px 0;
    }

    .testimonial-card-inner {
        padding: 20px;
    }

    .testimonial-text p {
        font-size: 0.9rem;
    }

    .testimonial-rating i {
        font-size: 1rem;
    }

    .rating-text {
        font-size: 0.8rem;
    }

    .testimonial-dot {
        width: 8px;
        height: 8px;
    }

    .testimonial-dot.active {
        width: 25px;
    }

    .testimonial-stats {
        gap: 15px;
        padding: 15px;
        border-radius: 25px;
    }

    .testimonials-slider.owl-carousel {
        margin: 0 -5px;
    }

    .testimonials-slider.owl-carousel .owl-item {
        padding: 0 5px;
    }
}

/* ====================== */
/* === GALLERY SECTION === */
/* ====================== */
.gallery-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    background: transparent;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    z-index: 0;
    animation: floatGallery 20s infinite alternate;
}

.gallery-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    z-index: 0;
    animation: floatGallery 18s infinite alternate-reverse;
}

@keyframes floatGallery {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, -40px) scale(1.2); }
}

.gallery-filter-wrapper {
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.gallery-filter-modern {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 8px;
    background: rgba(20, 20, 30, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 60px;
    max-width: fit-content;
    margin: 0 auto;
}

.filter-btn-modern {
    padding: 12px 28px;
    background: transparent;
    border: none;
    border-radius: 50px;
    color: var(--gray-color);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.filter-btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--purple));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    border-radius: 50px;
}

.filter-btn-modern.active {
    color: white;
}

.filter-btn-modern.active::before {
    opacity: 1;
}

.filter-btn-modern:hover:not(.active) {
    color: white;
    background: rgba(74, 107, 255, 0.15);
}

.gallery-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
    position: relative;
    z-index: 2;
}

.gallery-item-modern {
    position: relative;
    opacity: 1;
    transform: scale(1);
    transition: all 0.4s ease;
}

.gallery-card-modern {
    position: relative;
    background: rgba(20, 20, 30, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.4);
}

.gallery-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center,
            rgba(74, 107, 255, 0.1) 0%,
            transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    animation: rotateGlow 10s linear infinite;
    z-index: 1;
}

.gallery-card-modern:hover .gallery-card-glow {
    opacity: 1;
}

.gallery-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--purple), transparent 70%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 2;
}

.gallery-card-modern:hover::before {
    opacity: 1;
}

.gallery-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -15px rgba(74, 107, 255, 0.4);
    background: rgba(30, 30, 40, 0.4);
}

.gallery-image-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.gallery-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-card-modern:hover .gallery-image-wrapper img {
    transform: scale(1.1);
}

.gallery-overlay-modern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top,
            rgba(10, 10, 20, 0.95) 0%,
            rgba(10, 10, 20, 0.6) 50%,
            rgba(10, 10, 20, 0.3) 100%);
    display: flex;
    align-items: flex-end;
    padding: 25px;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 3;
}

.gallery-card-modern:hover .gallery-overlay-modern {
    opacity: 1;
}

.gallery-content {
    width: 100%;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-card-modern:hover .gallery-content {
    transform: translateY(0);
}

.gallery-category {
    margin-bottom: 12px;
}

.category-badge {
    display: inline-block;
    background: rgba(74, 107, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(74, 107, 255, 0.3);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.gallery-title {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.gallery-desc {
    color: var(--gray-color);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.gallery-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.gallery-link i {
    transition: transform 0.3s ease;
}

.gallery-card-modern:hover .gallery-link i {
    transform: translateX(5px);
}

.gallery-card-footer {
    padding: 15px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 3;
}

.footer-stats {
    display: flex;
    justify-content: space-between;
    color: var(--gray-color);
    font-size: 0.8rem;
}

.footer-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-stats i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.glightbox-modern {
    text-decoration: none;
    display: block;
    height: 100%;
}

.gallery-cta {
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.gallery-cta .btn {
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color), var(--purple));
    border: none;
    box-shadow: 0 15px 30px -10px rgba(74, 107, 255, 0.4);
    transition: all 0.3s ease;
}

.gallery-cta .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(74, 107, 255, 0.6);
}

@media (max-width: 1199.98px) {
    .gallery-grid-modern {
        gap: 20px;
    }
    
    .gallery-image-wrapper {
        height: 220px;
    }
}

@media (max-width: 991.98px) {
    .gallery-section {
        padding: 80px 0;
    }
    
    .gallery-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-filter-modern {
        padding: 6px;
    }
    
    .filter-btn-modern {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
}

@media (max-width: 767.98px) {
    .gallery-section {
        padding: 60px 0;
    }
    
    .gallery-grid-modern {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .gallery-filter-modern {
        flex-wrap: wrap;
        border-radius: 40px;
        padding: 10px;
    }
    
    .filter-btn-modern {
        flex: 1 1 calc(50% - 10px);
        padding: 8px 16px;
        font-size: 0.85rem;
        text-align: center;
    }
    
    .gallery-image-wrapper {
        height: 250px;
    }
    
    .gallery-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 575.98px) {
    .gallery-filter-modern {
        gap: 8px;
    }
    
    .filter-btn-modern {
        flex: 1 1 100%;
    }
    
    .gallery-overlay-modern {
        padding: 20px;
    }
    
    .gallery-card-footer {
        padding: 12px 15px;
    }
    
    .footer-stats {
        font-size: 0.75rem;
    }
}

/* ====================== */
/* === BLOG SECTION === */
/* ====================== */
.blog-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    background: transparent;
}

.blog-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    z-index: 0;
    animation: floatBlog 20s infinite alternate;
}

.blog-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    z-index: 0;
    animation: floatBlog 18s infinite alternate-reverse;
}

@keyframes floatBlog {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(40px, -40px) scale(1.2);
    }
}

.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.blog-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.featured-post {
    position: relative;
}

.featured-post-card {
    background: rgba(20, 20, 30, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
}

.featured-post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -15px rgba(74, 107, 255, 0.4);
    border-color: rgba(74, 107, 255, 0.2);
}

.featured-post-image {
    position: relative;
    height: 100%;
    min-height: 350px;
    overflow: hidden;
}

.featured-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-post-card:hover .featured-post-image img {
    transform: scale(1.05);
}

.featured-post-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--purple));
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 10px 20px -5px rgba(74, 107, 255, 0.4);
}

.featured-post-content {
    padding: 40px 40px 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-meta-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.post-category {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-date,
.post-author {
    color: var(--gray-color);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.featured-post-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: white;
    line-height: 1.3;
}

.featured-post-excerpt {
    color: var(--gray-color);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.featured-post-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.post-stats {
    display: flex;
    gap: 20px;
}

.post-stats span {
    color: var(--gray-color);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-grid-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.blog-card {
    position: relative;
    height: 100%;
}

.blog-card-inner {
    background: rgba(20, 20, 30, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    transition: all 0.4s ease;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.4);
}

.blog-card-inner:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -15px rgba(74, 107, 255, 0.4);
    border-color: rgba(74, 107, 255, 0.2);
}

.blog-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card-inner:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(74, 107, 255, 0.9);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: white;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.blog-card-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--gray-color);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-card-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: white;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.blog-card-inner:hover .blog-card-title {
    color: var(--primary-color);
}

.blog-card-excerpt {
    color: var(--gray-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-tags .tag {
    background: rgba(74, 107, 255, 0.1);
    color: var(--primary-color);
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-tags .tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.blog-read-more {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    color: white;
    gap: 10px;
}

.pagination-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.page-link-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(20, 20, 30, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--gray-color);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-link-modern:hover {
    background: rgba(74, 107, 255, 0.2);
    border-color: rgba(74, 107, 255, 0.3);
    color: white;
    transform: translateY(-3px);
}

.page-link-modern.active {
    background: linear-gradient(135deg, var(--primary-color), var(--purple));
    color: white;
    border-color: transparent;
    box-shadow: 0 10px 20px -5px rgba(74, 107, 255, 0.4);
}

.page-link-modern.prev,
.page-link-modern.next {
    font-size: 1.2rem;
}

.page-link-modern.prev.disabled,
.page-link-modern.next.disabled {
    opacity: 0.3;
    pointer-events: none;
}

.page-dots {
    color: var(--gray-color);
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.blog-sidebar-modern {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget-modern {
    background: rgba(20, 20, 30, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 30px;
    transition: all 0.4s ease;
}

.sidebar-widget-modern:hover {
    border-color: rgba(74, 107, 255, 0.2);
    box-shadow: 0 20px 40px -15px rgba(74, 107, 255, 0.2);
}

.widget-title-modern {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: white;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.widget-title-modern i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.sidebar-search {
    position: relative;
}

.sidebar-search input {
    width: 100%;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0 50px 0 20px;
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.sidebar-search input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

.sidebar-search button {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--purple));
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-search button:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px -5px rgba(74, 107, 255, 0.4);
}

.widget-about-text {
    color: var(--gray-color);
    line-height: 1.7;
    margin: 0;
}

.latest-posts-modern {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.latest-post-item-modern {
    display: flex;
    gap: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.latest-post-item-modern:hover {
    transform: translateX(5px);
}

.latest-post-thumb {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
}

.latest-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.latest-post-item-modern:hover .latest-post-thumb img {
    transform: scale(1.1);
}

.latest-post-info h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 8px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.latest-post-item-modern:hover h4 {
    color: var(--primary-color);
}

.latest-post-date {
    color: var(--gray-color);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.categories-modern {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    color: var(--light-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-item:hover {
    background: rgba(74, 107, 255, 0.1);
    border-color: rgba(74, 107, 255, 0.2);
    transform: translateX(5px);
}

.category-item span {
    font-size: 0.95rem;
}

.category-count {
    background: rgba(74, 107, 255, 0.2);
    color: var(--primary-color);
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tags-cloud-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-modern {
    background: rgba(74, 107, 255, 0.1);
    border: 1px solid rgba(74, 107, 255, 0.2);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-modern:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--purple));
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(74, 107, 255, 0.4);
}

@media (max-width: 1199.98px) {
    .featured-post-card {
        grid-template-columns: 1fr;
    }

    .featured-post-image {
        min-height: 300px;
    }

    .featured-post-content {
        padding: 30px;
    }

    .featured-post-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 991.98px) {
    .blog-section {
        padding: 80px 0;
    }

    .blog-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .blog-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .blog-section {
        padding: 60px 0;
    }

    .blog-grid-modern {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .featured-post-title {
        font-size: 1.5rem;
    }

    .featured-post-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .post-stats {
        width: 100%;
        justify-content: space-between;
    }

    .pagination-modern {
        flex-wrap: wrap;
    }

    .page-link-modern {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 575.98px) {
    .featured-post-content {
        padding: 20px;
    }

    .featured-post-title {
        font-size: 1.3rem;
    }

    .post-meta-modern {
        gap: 10px;
    }

    .blog-card-content {
        padding: 20px;
    }

    .blog-card-title {
        font-size: 1.2rem;
    }

    .sidebar-widget-modern {
        padding: 25px;
    }

    .tags-cloud-modern {
        gap: 8px;
    }

    .tag-modern {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* ====================== */
/* === CONTACT SECTION === */
/* ====================== */
.contact-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    background: transparent;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    z-index: 0;
    animation: floatContact 20s infinite alternate;
}

.contact-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    z-index: 0;
    animation: floatContact 18s infinite alternate-reverse;
}

@keyframes floatContact {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(40px, -40px) scale(1.2);
    }
}

.contact-grid-modern {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.contact-form-column {
    position: relative;
}

.contact-form-card {
    background: rgba(20, 20, 30, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
    height: 100%;
}

.contact-form-card:hover {
    border-color: rgba(74, 107, 255, 0.2);
    box-shadow: 0 30px 60px -15px rgba(74, 107, 255, 0.3);
}

.form-header {
    margin-bottom: 35px;
    text-align: center;
}

.form-title {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 10px;
}

.form-subtitle {
    color: var(--gray-color);
    font-size: 0.95rem;
}

.contact-form-modern {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group .form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--light-color);
    margin-bottom: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.form-group .form-label i {
    color: var(--primary-color);
    font-size: 1rem;
}

.form-group .form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 14px 18px;
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.form-group .form-control:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
}

.form-group .form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.focus-border {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--purple));
    transition: all 0.3s ease;
    transform: translateX(-50%);
    z-index: 3;
    border-radius: 2px;
}

.form-group .form-control:focus~.focus-border {
    width: 100%;
}

.btn-submit {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--purple));
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-top: 15px;
    box-shadow: 0 15px 30px -10px rgba(74, 107, 255, 0.4);
}

.btn-submit span {
    position: relative;
    z-index: 2;
}

.btn-submit i {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.btn-submit:hover i {
    transform: translateX(5px);
}

.btn-submit:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(74, 107, 255, 0.6);
}

.btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
    border-radius: 50%;
    z-index: 1;
}

.btn-submit:hover .btn-glow {
    width: 300px;
    height: 300px;
}

.alert-success-message,
.alert-error-message {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-radius: 16px;
    margin-top: 20px;
    animation: slideIn 0.5s ease;
}

.alert-success-message {
    background: rgba(39, 174, 96, 0.1);
    border: 1px solid rgba(39, 174, 96, 0.3);
}

.alert-error-message {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.alert-success-message i,
.alert-error-message i {
    font-size: 2rem;
}

.alert-success-message i {
    color: #27ae60;
}

.alert-error-message i {
    color: #e74c3c;
}

.alert-content h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 5px;
}

.alert-content p {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin: 0;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.quick-contact-card {
    background: rgba(20, 20, 30, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: 30px;
    transition: all 0.4s ease;
}

.quick-contact-card:hover {
    border-color: rgba(74, 107, 255, 0.2);
    box-shadow: 0 20px 40px -15px rgba(74, 107, 255, 0.2);
}

.quick-contact-title {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 10px;
}

.quick-contact-text {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-method-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-method-item:hover {
    background: rgba(74, 107, 255, 0.1);
    border-color: rgba(74, 107, 255, 0.2);
    transform: translateX(5px);
}

.method-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(74, 107, 255, 0.2), rgba(123, 79, 255, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.contact-method-item:hover .method-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--purple));
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.method-content {
    flex: 1;
}

.method-label {
    display: block;
    color: var(--gray-color);
    font-size: 0.8rem;
    margin-bottom: 3px;
}

.method-value {
    display: block;
    color: white;
    font-size: 1rem;
    font-weight: 600;
}

.method-arrow {
    color: var(--primary-color);
    font-size: 1.2rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.contact-method-item:hover .method-arrow {
    opacity: 1;
    transform: translateX(0);
}

.office-location-card {
    background: rgba(20, 20, 30, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: 30px;
    transition: all 0.4s ease;
}

.office-title {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 20px;
}

.office-address {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
}

.address-icon {
    width: 50px;
    height: 50px;
    background: rgba(74, 107, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary-color);
}

.address-details h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 5px;
}

.address-details p {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.map-container-modern {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.map-container-modern iframe {
    display: block;
    transition: all 0.3s ease;
}

.map-overlay {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(20, 20, 30, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 18px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.map-overlay:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.map-overlay i {
    font-size: 1rem;
}

@media (max-width: 1199.98px) {
    .contact-grid-modern {
        gap: 25px;
    }

    .form-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 991.98px) {
    .contact-section {
        padding: 80px 0;
    }

    .contact-grid-modern {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-form-card {
        padding: 35px;
    }

    .social-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767.98px) {
    .contact-section {
        padding: 60px 0;
    }

    .contact-form-card {
        padding: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .form-title {
        font-size: 1.4rem;
    }

    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .contact-form-card {
        padding: 25px;
    }

    .contact-method-item {
        flex-wrap: wrap;
    }

    .method-arrow {
        display: none;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }

    .social-item {
        flex-direction: row;
        justify-content: center;
    }

    .map-overlay {
        display: none;
    }
}

/* ====================== */
/* === FOOTER SECTION === */
/* ====================== */
.footer {
    padding: 80px 0 30px;
    background: var(--darker-color);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(74, 107, 255, 0.5), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-about {
    max-width: 300px;
}

.footer-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--lighter-color);
    text-decoration: none;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-about p {
    color: var(--gray-color);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social .social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer-social .social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: transparent;
    box-shadow: 0 10px 20px -5px rgba(74, 107, 255, 0.4);
}

.footer-social .social-icon:hover i {
    color: white;
    animation: bounce 0.5s ease;
}

.footer-social .social-icon:nth-child(1):hover {
    background: #0077b5;
}

.footer-social .social-icon:nth-child(2):hover {
    background: linear-gradient(45deg, #f09433, #d62976, #962fbf);
}

.footer-social .social-icon:nth-child(3):hover {
    background: #1877f2;
}

.footer-social .social-icon:nth-child(4):hover {
    background: #333;
}

.footer-social .social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
    border-radius: 50%;
    z-index: 1;
}

.footer-social .social-icon:hover::before {
    width: 100px;
    height: 100px;
}

.footer-social .social-icon i {
    position: relative;
    z-index: 2;
}

@keyframes bounce {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.2);
    }
    50% {
        transform: scale(0.9);
    }
    75% {
        transform: scale(1.1);
    }
}

.footer-links h5 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--lighter-color);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 8px;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-links a:hover::before {
    width: 100%;
}

.footer-contact ul {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.footer-contact li:hover {
    transform: translateX(5px);
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-color);
    margin-top: 3px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-contact li:hover i {
    transform: scale(1.2) rotate(5deg);
}

.footer-contact a {
    color: var(--gray-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.footer-newsletter {
    margin-top: 30px;
}

.subscribe-form {
    position: relative;
}

.subscribe-form .input-group {
    display: flex;
    align-items: stretch;
}

.subscribe-form .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-color);
    padding: 12px 15px;
    border-radius: 12px 0 0 12px;
    flex-grow: 1;
    height: auto;
    border-right: none;
    transition: all 0.3s ease;
}

.subscribe-form .form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    color: var(--light-color);
    box-shadow: none;
    outline: none;
}

.subscribe-form .btn {
    border-radius: 0 12px 12px 0;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--purple));
    border: none;
    transition: all 0.3s ease;
}

.subscribe-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(74, 107, 255, 0.4);
}

.subscribe-form .btn i {
    transition: transform 0.3s ease;
}

.subscribe-form .btn:hover i {
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: var(--gray-color);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-bottom-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

.footer-bottom-links a:hover::after {
    width: 100%;
}

@media (max-width: 767.98px) {
    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 575.98px) {
    .footer {
        padding: 60px 0 30px;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-social .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

/* ====================== */
/* === SPACE BACKGROUND === */
/* ====================== */
.space-background {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* ====================== */
/* === SECTION RESPONSIVE STYLES === */
/* ====================== */
@media (max-width: 1199.98px) {
    .section {
        padding: 80px 0;
    }

    .card-body {
        padding: 30px;
    }
}

@media (max-width: 767.98px) {
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 575.98px) {
    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .card-body {
        padding: 25px;
    }
}