/* ================================================
   LUXE DIGITAL AGENCY - MASTER STYLESHEET
   Version: 1.0.0
   Author: Luxe Digital Agency
   ================================================ */

/* ================================================
   TABLE OF CONTENTS
   ================================================
   1. CSS Variables & Root
   2. Reset & Base Styles
   3. Typography
   4. Magic Cursor
   5. Preloader
   6. Navbar & Navigation
   7. Page Header
   8. Floating Shapes & Animations
   9. Section Styles
   10. Buttons
   11. Cards (Service, Team, Blog, etc.)
   12. Hero Section
   13. Marquee
   14. About Section
   15. Services Section
   16. Stats Section
   17. Projects/Portfolio Section
   18. Testimonials Section
   19. Clients Section
   20. Blog Section
   21. Contact Section
   22. CTA Section
   23. Pricing Section
   24. FAQ Section
   25. Timeline
   26. Process Section
   27. Technologies Section
   28. Skills Section
   29. Awards Section
   30. Team Section
   31. Mission/Vision Section
   32. Values Section
   33. Case Studies Section
   34. Footer
   35. Back to Top
   36. Forms
   37. Popup/Modal
   38. Swiper/Slider Custom
   39. Utilities
   40. Responsive Styles
   41. RTL Support
   ================================================ */

/* ================================================
   1. CSS VARIABLES & ROOT
   ================================================ */
:root {
    /* Primary Colors */
    --primary-color: #4a0072;
    --secondary-color: #0c0c57;

    /* Background Colors */
    --dark-bg: #ffffff;
    --darker-bg: #f5f5f7;
    --card-bg: rgba(0, 0, 0, 0.02);

    /* Text Colors */
    --text-light: #1a1a1a;
    --text-muted: #666666;
    --text-dark: #ffffff;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(74, 0, 114, 0.8) 0%, rgba(12, 12, 87, 0.8) 100%);
    --gradient-dark: linear-gradient(135deg, rgba(245, 245, 247, 0.95) 0%, rgba(74, 0, 114, 0.1) 50%, rgba(12, 12, 87, 0.1) 100%);

    /* Glass Effects */
    --glass-bg: rgba(0, 0, 0, 0.03);
    --glass-border: rgba(0, 0, 0, 0.08);

    /* Shadows */
    --glow-primary: 0 0 30px rgba(74, 0, 114, 0.2);
    --shadow-light: 0 5px 30px rgba(0, 0, 0, 0.08);
    --shadow-heavy: 0 30px 60px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    --transition-slow: all 0.6s ease;

    /* Typography */
    --font-primary: "PingAR", "Poppins", Arial, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.7;

    /* Spacing */
    --section-padding: 120px;
    --section-padding-mobile: 80px;

    /* Border Radius */
    --radius-sm: 10px;
    --radius-md: 15px;
    --radius-lg: 20px;
    --radius-xl: 25px;
    --radius-full: 50px;
    --radius-circle: 50%;
}

/* ================================================
   2. RESET & BASE STYLES
   ================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
}

body {
    font-family: var(--font-primary);
    background-color: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: var(--line-height-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--primary-color);
    color: var(--text-light);
}

::-moz-selection {
    background: var(--primary-color);
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* ================================================
   3. TYPOGRAPHY
   ================================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--text-light);
}

h1 {
    font-size: 4rem;
    font-weight: 800;
}

h2 {
    font-size: 3rem;
    font-weight: 800;
}

h3 {
    font-size: 2rem;
    font-weight: 700;
}

h4 {
    font-size: 1.5rem;
    font-weight: 700;
}

h5 {
    font-size: 1.25rem;
    font-weight: 600;
}

h6 {
    font-size: 1rem;
    font-weight: 600;
}

p {
    margin-bottom: 15px;
    color: var(--text-muted);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

/* ================================================
   4. MAGIC CURSOR
   ================================================ */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-circle);
    pointer-events: none;
    z-index: 99999;
    transition: transform 0.15s ease-out, width 0.3s, height 0.3s, border-color 0.3s;
    transform: translate(-50%, -50%);
}

.cursor-follower {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: var(--radius-circle);
    pointer-events: none;
    z-index: 99998;
    transition: transform 0.08s ease-out;
    transform: translate(-50%, -50%);
}

.cursor.active {
    width: 50px;
    height: 50px;
    border-color: var(--secondary-color);
    background: rgba(74, 0, 114, 0.1);
}

@media (max-width: 991px) {

    .cursor,
    .cursor-follower {
        display: none !important;
    }

    .navbar-collapse.show .navbar-nav .nav-link,
    .navbar-collapse.collapsing .navbar-nav .nav-link {
        color: var(--text-light) !important;
    }
    
    .navbar-collapse.show .navbar-nav .nav-link:hover,
    .navbar-collapse.collapsing .navbar-nav .nav-link:hover {
        color: var(--primary-color) !important;
    }
    
    .navbar-collapse.show .navbar-nav .nav-link.active,
    .navbar-collapse.collapsing .navbar-nav .nav-link.active {
        color: var(--primary-color) !important;
    }
}

/* ================================================
   5. PRELOADER
   ================================================ */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker-bg);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.preloader-logo {
    width: 120px;
    height: auto;
    max-width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    animation: pulse 1.5s infinite;
}

.preloader-logo img {
    width: 100%;
    height: auto;
    max-width: 120px;
    max-height: 80px;
    object-fit: contain;
}

/* If using text instead of image */
.preloader-logo-text {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 1.5s infinite;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    margin-top: 20px;
    overflow: hidden;
}

.preloader-bar::after {
    content: '';
    display: block;
    width: 50%;
    height: 100%;
    background: var(--gradient-primary);
    animation: loading 1s infinite ease-in-out;
}

@keyframes loading {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(300%);
    }
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(0.95);
    }
}

/* Responsive Preloader */
@media (max-width: 767px) {
    .preloader-logo {
        width: 100px;
        max-width: 120px;
    }
    
    .preloader-logo img {
        max-width: 100px;
        max-height: 60px;
    }
    
    .preloader-logo-text {
        font-size: 2.5rem;
    }
    
    .preloader-bar {
        width: 150px;
    }
}

@media (max-width: 575px) {
    .preloader-logo {
        width: 80px;
        max-width: 100px;
    }
    
    .preloader-logo img {
        max-width: 80px;
        max-height: 50px;
    }
    
    .preloader-logo-text {
        font-size: 2rem;
    }
    
    .preloader-bar {
        width: 120px;
    }
}

/* ================================================
   6. NAVBAR & NAVIGATION
   ================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 20px 0;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: var(--shadow-light);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    color: var(--text-light);
    font-weight: 500;
    padding: 10px 20px !important;
    position: relative;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

/* Home page transparent navbar (top / not scrolled) */
.home-page .navbar:not(.scrolled) .navbar-nav .nav-link {
    color: var(--text-dark);
}

/* Home page transparent navbar active + hover */
.home-page .navbar:not(.scrolled) .navbar-nav .nav-link:hover,
.home-page .navbar:not(.scrolled) .navbar-nav .nav-link.active {
    color: #ffd166 !important;
}

.home-page .navbar:not(.scrolled) .navbar-nav .nav-link::before {
    background: #ffd166;
}

.navbar.scrolled .navbar-nav .nav-link {
    color: var(--text-light);
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 20px;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-smooth);
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    width: calc(100% - 40px);
}

/* Scrolled navbar active + hover */
.navbar.scrolled .navbar-nav .nav-link:hover,
.navbar.scrolled .navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

/* Dropdown Menu */
.dropdown-menu {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 10px 0;
    margin-top: 15px;
    min-width: 200px;
    box-shadow: var(--shadow-light);
}
.dropdown-item {
    color: var(--text-light);
    padding: 12px 25px;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.dropdown-item:hover,
.dropdown-item.active {
    background: var(--gradient-primary);
    color: #ffffff;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
    padding: 8px 15px;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
}

.lang-switcher i {
    color: var(--primary-color);
}

.lang-switcher a {
    color: var(--text-muted);
}

.home-page .navbar:not(.scrolled) .lang-switcher a {
    color: var(--text-dark);
}

.home-page .navbar:not(.scrolled) .lang-switcher a:hover,
.home-page .navbar:not(.scrolled) .lang-switcher a.active {
    color: #ffd166;
}

.lang-switcher a:hover,
.lang-switcher a.active {
    color: var(--primary-color);
}

/* Navbar Toggler */
.navbar-toggler {
    border: none;
    padding: 10px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: none;
    position: relative;
    width: 30px;
    height: 2px;
    background: var(--text-light);
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: var(--text-light);
    left: 0;
}

.navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler-icon::after {
    bottom: -8px;
}

/* Mobile Navigation */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 20px;
        border-radius: var(--radius-md);
        margin-top: 15px;
        box-shadow: var(--shadow-light);
    }

    .lang-switcher {
        margin: 20px 0 0 0;
        justify-content: center;
    }
}

/* ================================================
   7. PAGE HEADER
   ================================================ */
.page-header {
    position: relative;
    padding: 200px 0 120px;
    background: var(--darker-bg);
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 0;
}

.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header-content {
    text-align: center;
}

/* Breadcrumb */
.breadcrumb-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.breadcrumb-nav a {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.breadcrumb-nav a:hover {
    color: var(--primary-color);
}

.breadcrumb-nav span {
    color: var(--text-muted);
}

.breadcrumb-nav .current {
    color: var(--primary-color);
}

/* Page Title */
.page-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 0 60px rgba(74, 0, 114, 0.5);
}

.page-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Service Header */
.service-header {
    position: relative;
    padding: 200px 0 100px;
    background: var(--darker-bg);
    overflow: hidden;
}

.service-header-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.service-header-text {
    flex: 1;
}

.service-icon-large {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 25px;
    box-shadow: var(--glow-primary);
    color: #ffffff;

}

.service-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.service-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-intro {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.8;
}

.service-header-stats {
    display: flex;
    gap: 40px;
}

.header-stat {
    text-align: center;
}

.header-stat .number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
}

.header-stat span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.service-header-image {
    flex: 0.8;
    position: relative;
}

.service-header-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-heavy);
}

.service-header-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-lg);
    z-index: -1;
}

/* ================================================
   8. FLOATING SHAPES & ANIMATIONS
   ================================================ */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: var(--radius-circle);
    background: var(--gradient-primary);
    opacity: 0.1;
    animation: float 15s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -50px;
    animation-delay: 5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 10%;
    animation-delay: 10s;
}

@keyframes float {

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

    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

/* ================================================
   9. SECTION STYLES
   ================================================ */
section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    padding-left: 50px;
}

.section-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 35px;
    height: 2px;
    background: var(--gradient-primary);
}

.section-subtitle.center {
    padding-left: 0;
}

.section-subtitle.center::before {
    display: none;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
}

/* Section Backgrounds */
.bg-dark {
    background: var(--dark-bg);
}

.bg-darker {
    background: var(--darker-bg);
}

.bg-gradient {
    background: var(--gradient-primary);
}

/* ================================================
   10. BUTTONS
   ================================================ */
.btn-primary-custom {
    padding: 15px 40px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-full);
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--glow-primary);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.btn-primary-custom::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: var(--transition-smooth);
}

.btn-primary-custom:hover::before {
    left: 100%;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(74, 0, 114, 0.4);
    color: #ffffff;
}

.btn-outline-custom {
    padding: 15px 40px;
    background: transparent;
    border: 2px solid var(--glass-border);
    border-radius: var(--radius-full);
    color: var(--text-light);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.btn-outline-custom:hover {
    border-color: var(--primary-color);
    background: rgba(74, 0, 114, 0.1);
    transform: translateY(-3px);
    color: var(--primary-color);
}
.btn-white {
    padding: 18px 50px;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.btn-white:hover {
    background: var(--secondary-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(74, 0, 114, 0.3);
}
.btn-outline-white {
    padding: 18px 40px;
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-full);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.btn-outline-white:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #ffffff;
}
.btn-load-more {
    padding: 18px 50px;
    background: transparent;
    border: 2px solid var(--glass-border);
    border-radius: var(--radius-full);
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-load-more:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    box-shadow: var(--glow-primary);
    color: #ffffff;
}
.btn-load-more i {
    transition: var(--transition-smooth);
}

.btn-load-more:hover i {
    transform: rotate(180deg);
}


/* Small Buttons */
.btn-sm {
    padding: 10px 24px;
    font-size: 0.85rem;
}

/* ================================================
   11. CARDS
   ================================================ */
/* Base Card Styles */
.card-base {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: var(--transition-smooth);
    overflow: hidden;
}

.card-base:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-primary);
    border-color: var(--primary-color);
}

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
}

/* Service Card */
.service-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: transparent;
    box-shadow: var(--glow-primary);
}

.service-card:hover::before {
    opacity: 0.1;
}

.service-card>* {
    position: relative;
    z-index: 1;
}

.service-card .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: var(--transition-smooth);
    color: #ffffff;
}

.service-card:hover .icon {
    transform: rotateY(180deg);
}

.service-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.service-card .learn-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-card .learn-more i {
    transition: var(--transition-smooth);
}

.service-card:hover .learn-more i {
    transform: translateX(5px);
}

/* Sub Service Card */
.sub-service-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    height: 100%;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.sub-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.sub-service-card:hover::before {
    transform: scaleX(1);
}

.sub-service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-primary);
    border-color: var(--primary-color);
}

.sub-service-card .icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    transition: var(--transition-smooth);
}

.sub-service-card:hover .icon {
    transform: rotateY(180deg);
}

.sub-service-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.sub-service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.sub-service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sub-service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.sub-service-features li i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

/* Service Detail Card */
.service-detail-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition-smooth);
    height: 100%;
}

.service-detail-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-primary);
    border-color: var(--primary-color);
}

.service-detail-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.service-detail-card:hover .service-detail-image img {
    transform: scale(1.1);
}

.service-detail-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(10, 10, 10, 0.9) 100%);
}

.service-number {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    z-index: 2;
}

.service-detail-content {
    padding: 35px;
}

.service-detail-content .icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    transition: var(--transition-smooth);
    color: #fff;
}

.service-detail-card:hover .service-detail-content .icon {
    transform: rotateY(180deg);
}

.service-detail-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-detail-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.service-features li i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.service-link:hover {
    color: var(--primary-color);
}

.service-link i {
    transition: var(--transition-smooth);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Team Card */
.team-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-primary);
}

.team-image {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.9), transparent);
}

.team-social {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateX(20px);
    transition: var(--transition-smooth);
}

.team-card:hover .team-social {
    opacity: 1;
    transform: translateX(0);
}

.team-social a {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.team-social a:hover {
    transform: scale(1.1);
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-info h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.team-info span {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Blog Card */
.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-primary);
}

.blog-card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-card-image .category {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 20px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
        color: #ffffff !important;

}

.blog-card-content {
    padding: 30px;
}

.blog-card-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.blog-card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-card-meta i {
    color: var(--primary-color);
}

.blog-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
    transition: var(--transition-smooth);
}

.blog-card:hover h4 {
    color: var(--primary-color);
}

.blog-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.blog-card .read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.blog-card .read-more i {
    transition: var(--transition-smooth);
}

.blog-card:hover .read-more i {
    transform: translateX(5px);
}

/* Value Card */
.value-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: var(--transition-smooth);
    height: 100%;
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--glow-primary);
    color: #fff;
}

.value-card .icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: var(--transition-smooth);
}

.value-card:hover .icon {
    background: var(--gradient-primary);
    color: var(--text-dark);
    border-color: transparent;
    transform: rotateY(180deg);
}

.value-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Award Card */
.award-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-smooth);
    height: 100%;
}

.award-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.award-card .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
}

.award-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.award-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.award-card .year {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(74, 0, 114, 0.2);
    border-radius: var(--radius-lg);
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Why Choose Card */
.why-choose-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.why-choose-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.why-choose-card:hover::before {
    transform: scaleX(1);
}

.why-choose-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-primary);
}

.why-choose-card .icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: var(--gradient-primary);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: var(--transition-smooth);
}

.why-choose-card:hover .icon {
    transform: rotateY(180deg);
}

.why-choose-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.why-choose-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Related Service Card */
.related-service-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 35px;
    text-align: center;
    transition: var(--transition-smooth);
    height: 100%;
}

.related-service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--glow-primary);
}

.related-service-card .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: var(--transition-smooth);
}

.related-service-card:hover .icon {
    transform: rotateY(180deg);
}

.related-service-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.related-service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.related-service-card .learn-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.related-service-card .learn-more i {
    transition: var(--transition-smooth);
}

.related-service-card:hover .learn-more i {
    transform: translateX(5px);
}

/* ================================================
   12. HERO SECTION
   ================================================ */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Hero Section Text Color Override for Video Background */
.hero-section .hero-content * {
    color: #ffffff !important;
}

.hero-section .hero-subtitle {
    color: #ffffff !important;
}

.hero-section .hero-title {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-section .hero-title span {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffd93d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section .service-tag .service-name {
    color: #ffffff !important;
}

.hero-section .scroll-indicator span {
    color: rgba(255, 255, 255, 0.8) !important;
}

.hero-section .scroll-indicator .mouse {
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Using deep warm charcoal and amber hints to make the blue logo stand out */
    background: linear-gradient(135deg, 
        rgba(20, 20, 20, 0.8) 0%, 
        rgba(40, 30, 10, 0.4) 50%, 
        rgba(10, 10, 10, 0.8) 100%
    );
    z-index: -1;
}

.hero-content {
    width: 100%;
}

.hero-subtitle {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    text-shadow: 0 0 60px rgba(74, 0, 114, 0.5);
}

.hero-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 25px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
}

.scroll-indicator .mouse {
    width: 22px;
    height: 36px;
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    position: relative;
    margin: 0 auto 6px;
}

.scroll-indicator .wheel {
    width: 3px;
    height: 7px;
    background: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 5px;
    }

    100% {
        opacity: 0;
        top: 18px;
    }
}

.scroll-indicator span {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ================================================
   13. MARQUEE
   ================================================ */
.marquee-container {
    width: 100%;
    overflow: hidden;
    margin: 25px 0;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.marquee-wrapper {
    display: flex;
    width: fit-content;
}

.marquee-content {
    display: flex;
    animation: smoothMarquee 30s linear infinite;
    will-change: transform;
}

.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}

/* RTL: move marquee left-to-right */
[dir="rtl"] .marquee-content {
    animation-direction: reverse;
}

@keyframes smoothMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.service-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-full);
    padding: 10px 20px 10px 10px;
    margin: 0 8px;
    white-space: nowrap;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.service-tag:hover {
    background: rgba(74, 0, 114, 0.15);
    border-color: rgba(74, 0, 114, 0.3);
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(74, 0, 114, 0.2);
}


.service-tag .icon-wrapper {
    width: 34px;
    height: 34px;
    background: var(--gradient-primary);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(74, 0, 114, 0.4);
}

.service-tag .service-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.service-separator {
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: var(--radius-circle);
    margin: 0 5px;
    opacity: 0.5;
    flex-shrink: 0;
}

/* ================================================
   14. ABOUT SECTION
   ================================================ */
.about-section {
    background: var(--darker-bg);
    overflow: hidden;
}

.about-image-wrapper {
    position: relative;
    height: 100%;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    opacity: 0.3;
    border-radius: var(--radius-lg);
}

.about-experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--glow-primary);
    color: #ffffff !important;

}

.about-experience-badge .number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.about-experience-badge span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content {
    padding-left: 50px;
}

.about-features {
    margin-top: 30px;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.about-feature-item .icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.about-feature-item h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.about-feature-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* Story Content */
.story-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.story-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.story-content .highlight-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-light);
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 30px 0;
}

.story-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.story-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.story-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.story-image:hover img {
    transform: scale(1.1);
}

.story-image:first-child {
    grid-column: span 2;
}

.story-image:first-child img {
    height: 300px;
}

.story-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    opacity: 0;
    transition: var(--transition-smooth);
}

.story-image:hover::after {
    opacity: 0.4;
}

/* Overview Content */
.overview-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.overview-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 20px;
    line-height: 1.9;
}

.overview-content .highlight-box {
    background: var(--glass-bg);
    border-left: 4px solid var(--primary-color);
    padding: 25px 30px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 30px 0;
}

.overview-content .highlight-box p {
    margin: 0;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-light);
}

.overview-image {
    position: relative;
}

.overview-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-heavy);
}

.overview-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 160px;
    height: 160px;
    background: var(--gradient-primary);
    border-radius: var(--radius-circle);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--glow-primary);
        color: #ffffff !important;

}

.overview-badge .number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.overview-badge span {
    font-size: 0.85rem;
    text-align: center;
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.overview-stat {
    text-align: center;
    padding: 30px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
}

.overview-stat .number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 5px;
}

.overview-stat span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ================================================
   15. SERVICES SECTION
   ================================================ */
.services-section {
    background: var(--dark-bg);
}

/* ================================================
   16. STATS SECTION
   ================================================ */
.stats-section {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
    color: var(--text-dark);
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.stat-item {
    text-align: center;
    padding: 30px;
}

.stat-item .icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.stat-item .counter {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-item .counter-suffix {
    font-size: 2rem;
}

.stat-item h5 {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
    color: rgba(255, 255, 255, 0.9) !important;

}

/* Portfolio Stats */
.portfolio-stats {
    background: var(--dark-bg);
    padding: 80px 0;
    border-bottom: 1px solid var(--glass-border);
}

.stat-box {
    text-align: center;
    padding: 30px;
    position: relative;
}

.stat-box::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: var(--glass-border);
}

.stat-box:last-child::after {
    display: none;
}

.stat-box .number {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-box span {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
}

/* ================================================
   17. PROJECTS/PORTFOLIO SECTION
   ================================================ */
.projects-section {
    background: var(--darker-bg);
}

/* Project Item */
.project-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 400px;
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.project-item:hover img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition-smooth);
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-overlay .category {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.project-overlay h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.project-item:hover .project-overlay h4 {
    transform: translateY(0);
}

.project-overlay .project-link {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition-smooth);
    transition-delay: 0.1s;
    color: var(--text-dark);
}

.project-item:hover .project-overlay .project-link {
    transform: translateY(0);
    opacity: 1;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Project Card */
.projects-grid .project-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.projects-grid .project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-primary);
    border-color: var(--primary-color);
}

/* Different card sizes */
.projects-grid .project-card.large {
    grid-column: span 2;
    grid-row: span 2;
}

.projects-grid .project-card.tall {
    grid-row: span 2;
}

.projects-grid .project-card.wide {
    grid-column: span 2;
}

.project-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.projects-grid .project-card.large .project-image {
    height: 100%;
    min-height: 630px;
}

.projects-grid .project-card.tall .project-image {
    height: 100%;
    min-height: 630px;
}

.projects-grid .project-card.wide .project-image {
    height: 350px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.projects-grid .project-card:hover .project-image img {
    transform: scale(1.1);
}

/* Project Tags */
.project-tags {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    z-index: 2;
}
.project-tag {
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
}

.project-category {
    display: inline-block;
    padding: 6px 15px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    width: fit-content;
        color: #ffffff !important;

}

.project-links {
    display: flex;
    gap: 15px;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    transition-delay: 0.1s;
}

.projects-grid .project-card:hover .project-links {
    transform: translateY(0);
}

.project-link {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.project-link:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: scale(1.1);
}

/* Portfolio Card */
.portfolio-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 350px;
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.portfolio-card:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition-smooth);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay .category {
    display: inline-block;
    padding: 5px 12px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
    width: fit-content;
        color: #ffffff !important;

}

.portfolio-overlay h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.portfolio-card:hover .portfolio-overlay h4 {
    transform: translateY(0);
}

.portfolio-overlay .link {
    width: 45px;
    height: 45px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition-smooth);
    transition-delay: 0.1s;
}

.portfolio-card:hover .portfolio-overlay .link {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-overlay .link:hover {
    background: var(--gradient-primary);
    border-color: transparent;
}

/* Filter Section */
.filter-section {
    background: var(--dark-bg);
    padding: 60px 0;
}

.filter-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    padding: 12px 30px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    box-shadow: var(--glow-primary);
    color: #ffffff;
}

/* Load More */
.load-more-wrapper {
    text-align: center;
    margin-top: 60px;
}

/* Featured Project */
.featured-project {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
}

.featured-project-image {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.featured-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.5) 50%, transparent 100%);
}

.featured-project-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: fit-content;
    margin-bottom: 20px;
        color: #ffffff !important;

}

.featured-project-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.featured-project-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.featured-project-meta {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-item span {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.meta-item strong {
    font-size: 1rem;
    font-weight: 600;
}

/* ================================================
   18. TESTIMONIALS SECTION
   ================================================ */
.testimonials-section {
    background: var(--dark-bg);
}

.testimonial-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    height: 100%;
}

.testimonial-card::before {
    content: '"';
    font-size: 8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: absolute;
    top: 20px;
    right: 40px;
    line-height: 1;
    opacity: 0.3;
}

.testimonial-project {
    display: inline-block;
    padding: 6px 15px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 20px;
        color: #ffffff !important;

}

.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #ffc107;
    font-size: 1rem;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-circle);
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.testimonial-author h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ================================================
   19. CLIENTS SECTION
   ================================================ */
.clients-section {
    background: var(--darker-bg);
    padding: 80px 0;
}

.clients-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    padding: 20px 40px;
    filter: grayscale(100%) brightness(0.5);
    opacity: 0.5;
    transition: var(--transition-smooth);
}

.client-logo:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

.client-logo img {
    max-height: 50px;
    max-width: 150px;
}

/* ================================================
   20. BLOG SECTION
   ================================================ */
.blog-section {
    background: var(--dark-bg);
}

/* Blog card styles are already defined in section 11 */

/* ================================================
   21. CONTACT SECTION
   ================================================ */
.contact-section {
    background: var(--darker-bg);
}

.contact-info {
    padding-right: 50px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item .icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
}

.contact-item h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.contact-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

.contact-form-wrapper {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 50px;
}

.map-wrapper {
    margin-top: 50px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.map-wrapper iframe {
    width: 100%;
    height: 300px;
    filter: grayscale(100%);
}

/* ================================================
   22. CTA SECTION
   ================================================ */
.cta-section {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
    color: var(--text-dark) !important;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-circle);
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-circle);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #fff;
}

.cta-description {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 40px;
    color: #8e8c8c;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ================================================
   23. PRICING SECTION
   ================================================ */
.pricing-section {
    background: var(--darker-bg);
}

.pricing-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 50px 40px;
    text-align: center;
    height: 100%;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--text-light);
    color: var(--primary-color);
    padding: 8px 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    transform: rotate(45deg);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-primary);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-card .plan-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.pricing-card.featured .plan-icon {
    background: rgba(255, 255, 255, 0.2);
}

.pricing-card .plan-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.pricing-card .plan-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.pricing-card.featured .plan-desc {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-card .price {
    margin-bottom: 30px;
}

.pricing-card .price .starting {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 5px;
}

.pricing-card.featured .price .starting {
    color: rgba(255, 255, 255, 0.7);
}

.pricing-card .price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    vertical-align: top;
}

.pricing-card .price .amount {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
}

.pricing-card .price .period {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pricing-card.featured .price .period {
    color: rgba(255, 255, 255, 0.7);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.95rem;
}

.pricing-card.featured .pricing-features li {
    border-color: rgba(255, 255, 255, 0.2);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.pricing-card.featured .pricing-features li i {
    color: var(--text-light);
}

.pricing-features li.disabled {
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.5;
}

.pricing-card.featured .btn-primary-custom {
    background: var(--dark-bg);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured .btn-primary-custom:hover {
    background: var(--darker-bg);
    color: #ffffff;
}

/* ================================================
   24. FAQ SECTION
   ================================================ */
.faq-section {
    background: var(--dark-bg);
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-item.active {
    box-shadow: var(--glow-primary);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.faq-question h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    padding-right: 20px;
}

.faq-question .icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.faq-item.active .faq-question .icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 30px 25px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* Service Detail: Rich Text + Question Form */
.service-overview-content {
    max-width: 980px;
    margin: 0 auto;
}

.service-overview-content h2,
.service-overview-content h3,
.service-overview-content h4 {
    margin-top: 20px;
}

.service-overview-content ul,
.service-overview-content ol {
    margin: 0 0 16px 22px;
    list-style: initial;
}

.service-question-section {
    background: var(--darker-bg);
}

.service-question-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
}

.service-question-field {
    margin-bottom: 20px;
}

.service-question-options {
    display: grid;
    gap: 10px;
}

.service-question-message {
    min-height: 24px;
    font-size: 0.95rem;
}

.service-question-message.success {
    color: #198754;
}

.service-question-message.error {
    color: #dc3545;
}

/* ================================================
   25. TIMELINE
   ================================================ */
.timeline {
    position: relative;
    padding: 30px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 30px 50px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 40px;
    width: 20px;
    height: 20px;
    background: var(--gradient-primary);
    border-radius: var(--radius-circle);
    z-index: 2;
    box-shadow: 0 0 20px rgba(74, 0, 114, 0.5);
}

.timeline-item:nth-child(odd)::before {
    right: -10px;
}

.timeline-item:nth-child(even)::before {
    left: -10px;
}

.timeline-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 30px;
    position: relative;
    transition: var(--transition-smooth);
}

.timeline-content:hover {
    transform: scale(1.02);
    box-shadow: var(--glow-primary);
}

.timeline-year {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 15px;
        color: #ffffff !important;

}

.timeline-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* ================================================
   26. PROCESS SECTION
   ================================================ */
.process-section {
    background: var(--darker-bg);
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--glass-border);
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-step-number {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: var(--dark-bg);
    border: 3px solid var(--glass-border);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    position: relative;
    transition: var(--transition-smooth);
}

.process-step:hover .process-step-number {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--text-light);
    transform: scale(1.1);
    box-shadow: var(--glow-primary);
}

.process-step-number::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -100%;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0.3;
}

.process-step:last-child .process-step-number::after {
    display: none;
}

.process-step h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.process-step p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 250px;
    margin: 0 auto;
}

/* Process Timeline (Alternative) */
.process-timeline {
    position: relative;
    padding: 40px 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.3;
}

.process-item {
    position: relative;
    width: 50%;
    padding: 30px 60px;
}

.process-item:nth-child(odd) {
    left: 0;
    text-align: right;
    padding-right: 80px;
}

.process-item:nth-child(even) {
    left: 50%;
    text-align: left;
    padding-left: 80px;
}

.process-item::before {
    content: attr(data-step);
    position: absolute;
    top: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    z-index: 2;
    box-shadow: var(--glow-primary);
        color: #ffffff !important;

}

.process-item:nth-child(odd)::before {
    right: -30px;
}

.process-item:nth-child(even)::before {
    left: -30px;
}

.process-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 35px;
    transition: var(--transition-smooth);
}

.process-content:hover {
    transform: scale(1.02);
    box-shadow: var(--glow-primary);
    border-color: var(--primary-color);
}

.process-content h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.process-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.8;
}

.process-content .duration {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: rgba(74, 0, 114, 0.2);
    border-radius: var(--radius-lg);
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* ================================================
   27. TECHNOLOGIES SECTION
   ================================================ */
.technologies-section {
    background: var(--dark-bg);
}

.tech-category {
    margin-bottom: 50px;
}

.tech-category:last-child {
    margin-bottom: 0;
}

.tech-category h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--glass-border);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.tech-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 25px 15px;
    text-align: center;
    transition: var(--transition-smooth);
}

.tech-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--glow-primary);
}

.tech-item i,
.tech-item svg {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
}

.tech-item i {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-item span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* ================================================
   28. SKILLS SECTION
   ================================================ */
.skills-section {
    background: var(--darker-bg);
}

.skill-item {
    margin-bottom: 30px;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.skill-header h5 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.skill-header span {
    color: var(--primary-color);
    font-weight: 600;
}

.skill-bar {
    height: 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    width: 0;
    transition: width 2s ease-in-out;
}

.skill-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.skill-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.skill-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    opacity: 0.3;
    border-radius: var(--radius-lg);
}

/* ================================================
   29. AWARDS SECTION
   ================================================ */
.awards-section {
    background: var(--dark-bg);
}

/* Award card styles defined in section 11 */

/* ================================================
   30. TEAM SECTION
   ================================================ */
.team-section {
    background: var(--dark-bg);
}

/* Team card styles defined in section 11 */

/* ================================================
   31. MISSION/VISION SECTION
   ================================================ */
.mission-vision-section {
    background: var(--darker-bg);
    position: relative;
    overflow: hidden;
}

.mission-vision-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.05;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}

.mv-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-primary);
}

.mv-card .icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #fff;
}

.mv-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.mv-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

/* ================================================
   32. VALUES SECTION
   ================================================ */
.values-section {
    background: var(--dark-bg);
}

/* Value card styles defined in section 11 */

/* ================================================
   33. CASE STUDIES SECTION
   ================================================ */
.case-studies-section {
    background: var(--darker-bg);
}

.case-study-card {
    display: flex;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition-smooth);
    margin-bottom: 30px;
}

.case-study-card:hover {
    transform: translateX(10px);
    box-shadow: var(--glow-primary);
    border-color: var(--primary-color);
}

.case-study-card:nth-child(even) {
    flex-direction: row-reverse;
}

.case-study-card:nth-child(even):hover {
    transform: translateX(-10px);
}

.case-study-image {
    width: 45%;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.case-study-card:hover .case-study-image img {
    transform: scale(1.05);
}

.case-study-content {
    width: 55%;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-study-content .category {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(74, 0, 114, 0.2);
    border-radius: var(--radius-lg);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 15px;
    width: fit-content;
}

.case-study-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.case-study-content p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 25px;
    line-height: 1.8;
}

.case-study-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
}

.case-stat {
    text-align: center;
    padding: 15px 25px;
    background: var(--glass-bg);
    border-radius: 12px;
}

.case-stat .value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
}

.case-stat .label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.case-study-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.case-study-link:hover {
    color: var(--primary-color);
}

.case-study-link i {
    transition: var(--transition-smooth);
}

.case-study-link:hover i {
    transform: translateX(5px);
}

/* ================================================
   34. FOOTER
   ================================================ */
.footer {
    background: var(--dark-bg);
    padding: 80px 0 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-brand {
    margin-bottom: 30px;
}

.footer-brand .logo {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-contact li i {
    color: var(--primary-color);
    margin-top: 5px;
}

.footer-newsletter p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
}

.footer-bottom-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-5px);
    color: #ffffff;
}

/* ================================================
   35. BACK TO TOP
   ================================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 999;
    box-shadow: var(--glow-primary);
}

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

.back-to-top:hover {
    transform: translateY(-5px);
}

/* ================================================
   36. FORMS
   ================================================ */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(74, 0, 114, 0.2);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    gap: 10px;
    width: 100%;
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-light);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.newsletter-form button {
    flex-shrink: 0;
    padding: 15px 20px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-sm);
    color: #ffffff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.newsletter-form button:hover {
    transform: translateX(3px);
}

/* ================================================
   37. POPUP/MODAL
   ================================================ */
.mfp-bg {
    background: var(--darker-bg);
    opacity: 0.95;
}

.mfp-container {
    padding: 40px;
}

.mfp-content {
    max-width: 1200px;
}

.project-popup {
    background: var(--dark-bg);
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
}

.popup-close:hover {
    background: var(--gradient-primary);
    border-color: transparent;
}

.popup-image {
    height: 400px;
    overflow: hidden;
}

.popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popup-content {
    padding: 50px;
}

.popup-content .category {
    display: inline-block;
    padding: 6px 15px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
        color: #ffffff !important;

}

.popup-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.popup-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.popup-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.popup-meta-item span {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.popup-meta-item strong {
    font-size: 1rem;
}

.popup-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.popup-technologies span {
    padding: 8px 15px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    font-size: 0.8rem;
    font-weight: 500;
}

/* ================================================
   38. SWIPER/SLIDER CUSTOM
   ================================================ */
.swiper-pagination-bullet {
    background: var(--text-muted);
    opacity: 0.5;
    width: 10px;
    height: 10px;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
    opacity: 1;
}

.swiper-button-prev,
.swiper-button-next {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-circle);
    color: var(--text-light);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 1rem;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: var(--gradient-primary);
    border-color: transparent;
}

/* ================================================
   39. UTILITIES
   ================================================ */
/* Display */
.d-none {
    display: none !important;
}

.d-block {
    display: block !important;
}

.d-flex {
    display: flex !important;
}

.d-inline-flex {
    display: inline-flex !important;
}

.d-grid {
    display: grid !important;
}

/* Flex */
.flex-wrap {
    flex-wrap: wrap !important;
}

.justify-content-center {
    justify-content: center !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.align-items-center {
    align-items: center !important;
}

.align-items-start {
    align-items: flex-start !important;
}

/* Text Alignment */
.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

/* Margins */
.mt-0 {
    margin-top: 0 !important;
}

.mt-1 {
    margin-top: 0.5rem !important;
}

.mt-2 {
    margin-top: 1rem !important;
}

.mt-3 {
    margin-top: 1.5rem !important;
}

.mt-4 {
    margin-top: 2rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: 0.5rem !important;
}

.mb-2 {
    margin-bottom: 1rem !important;
}

.mb-3 {
    margin-bottom: 1.5rem !important;
}

.mb-4 {
    margin-bottom: 2rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.my-0 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.my-5 {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
}

.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Paddings */
.p-0 {
    padding: 0 !important;
}

.p-3 {
    padding: 1.5rem !important;
}

.p-4 {
    padding: 2rem !important;
}

.p-5 {
    padding: 3rem !important;
}

.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.px-4 {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
}

.ps-lg-5 {
    padding-left: 3rem !important;
}

/* Width */
.w-100 {
    width: 100% !important;
}

.w-fit {
    width: fit-content !important;
}

/* Height */
.h-100 {
    height: 100% !important;
}

/* Position */
.position-relative {
    position: relative !important;
}

.position-absolute {
    position: absolute !important;
}

/* Overflow */
.overflow-hidden {
    overflow: hidden !important;
}

/* Gap */
.gap-2 {
    gap: 1rem !important;
}

.gap-3 {
    gap: 1.5rem !important;
}

.gap-4 {
    gap: 2rem !important;
}

/* Border Radius */
.rounded {
    border-radius: var(--radius-md) !important;
}

.rounded-lg {
    border-radius: var(--radius-lg) !important;
}

.rounded-circle {
    border-radius: var(--radius-circle) !important;
}

/* Feature Box */
.feature-box {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 30px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: var(--transition-smooth);
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--glow-primary);
}

.feature-box .icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.feature-box h5 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.7;
}

/* ================================================
   40. RESPONSIVE STYLES
   ================================================ */
@media (max-width: 1199px) {
    :root {
        --section-padding: 100px;
    }

    h1,
    .page-title {
        font-size: 3rem;
    }

    h2,
    .section-title {
        font-size: 2.5rem;
    }

    .cta-title {
        font-size: 2.5rem;
    }

    .service-title {
        font-size: 3rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .service-header-content {
        flex-direction: column;
        text-align: center;
    }

    .service-header-stats {
        justify-content: center;
    }

    .service-header-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .tech-grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

    .project-card.large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .project-card.large .project-image {
        min-height: 400px;
    }

    .project-card.tall {
        grid-row: span 1;
    }

    .project-card.tall .project-image {
        min-height: 300px;
    }

    .featured-project-content {
        width: 60%;
    }
}

@media (max-width: 991px) {
    :root {
        --section-padding: 80px;
    }

    section {
        padding: var(--section-padding) 0;
    }

    h1,
    .page-title {
        font-size: 2.5rem;
    }

    h2,
    .section-title {
        font-size: 2rem;
    }

    .service-title {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .page-header {
        padding: 160px 0 80px;
    }

    .service-header {
        padding: 160px 0 80px;
    }

    .about-content {
        padding-left: 0;
        margin-top: 50px;
    }

    .about-experience-badge {
        right: 20px;
        bottom: 20px;
    }

    .overview-badge {
        right: 20px;
        bottom: -20px;
        width: 120px;
        height: 120px;
    }

    .overview-badge .number {
        font-size: 2rem;
    }

    .overview-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .contact-info {
        padding-right: 0;
        margin-bottom: 50px;
    }

    /* Timeline responsive */
    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 80px;
        padding-right: 20px;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
    }

    .timeline-item::before {
        left: 20px !important;
        right: auto !important;
    }

    /* Process Timeline responsive */
    .process-timeline::before {
        left: 30px;
    }

    .process-item {
        width: 100%;
        padding-left: 100px !important;
        padding-right: 20px !important;
        text-align: left !important;
    }

    .process-item:nth-child(even) {
        left: 0;
    }

    .process-item::before {
        left: 0 !important;
        right: auto !important;
    }

    /* Process Section responsive */
    .process-section::before {
        display: none;
    }

    .process-step-number::after {
        display: none;
    }

    .stat-box::after {
        display: none;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }

    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .featured-project-image {
        height: 600px;
    }

    .featured-project-image::after {
        background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.7) 50%, transparent 100%);
    }

    .featured-project-content {
        width: 100%;
        top: auto;
        bottom: 0;
        height: auto;
        padding: 40px;
    }

    .case-study-card,
    .case-study-card:nth-child(even) {
        flex-direction: column;
    }

    .case-study-image {
        width: 100%;
        min-height: 300px;
    }

    .case-study-content {
        width: 100%;
        padding: 40px;
    }

    .case-study-card:hover,
    .case-study-card:nth-child(even):hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 767px) {

    h1,
    .page-title {
        font-size: 1.75rem;
    }

    h2,
    .section-title {
        font-size: 1.5rem;
    }

    .service-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 1.35rem;
    }

    .hero-subtitle {
        font-size: 0.65rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .btn-primary-custom,
    .btn-outline-custom {
        padding: 10px 18px;
        font-size: 0.82rem;
    }

    .btn-sm {
        padding: 8px 18px;
        font-size: 0.75rem;
    }

    .service-tag {
        padding: 8px 14px 8px 8px;
    }

    .service-tag .icon-wrapper {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }

    .service-tag .service-name {
        font-size: 0.7rem;
    }

    .service-icon-large {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .service-header-stats {
        flex-wrap: wrap;
        gap: 30px;
    }

    .stat-item .counter {
        font-size: 2.5rem;
    }

    /* Counter/Stats blocks: always 2 cards per row on mobile */
    .stats-section .row > [class*="col-"] {
        width: 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .stats-section .stat-item {
        padding: 24px 16px;
        height: 100%;
    }

    .stats-section .stat-item h5 {
        font-size: 0.9rem;
    }

    .contact-form-wrapper {
        padding: 30px;
    }

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

    .project-card.large,
    .project-card.wide {
        grid-column: span 1;
    }

    .project-card.large .project-image,
    .project-card.tall .project-image,
    .project-card.wide .project-image {
        min-height: 300px;
        height: 300px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }

    .featured-project-content h2 {
        font-size: 1.8rem;
    }

    .featured-project-meta {
        flex-wrap: wrap;
        gap: 20px;
    }

    .case-study-stats {
        flex-wrap: wrap;
    }

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

    .story-image-grid {
        grid-template-columns: 1fr;
    }

    .story-image:first-child {
        grid-column: span 1;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .pricing-card {
        padding: 40px 30px;
    }

    .popup-meta {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .team-image {
        height: 300px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }

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

    /* Mobile cards: 2-up layout for core listing sections */
    .main-services .col-lg-6,
    .blog-list-section .col-md-6,
    .projects-section .col-md-6,
    .team-section .col-md-6,
    .related-services-section .col-md-6 {
        width: 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .service-detail-card,
    .blog-card,
    .project-card,
    .team-card,
    .related-service-card {
        height: 100%;
    }

    .service-detail-content h3,
    .blog-card h4,
    .project-card-title,
    .team-info h4,
    .related-service-card h4 {
        font-size: 1rem;
    }

    .service-detail-content p,
    .blog-card p,
    .project-card-description,
    .team-info span,
    .related-service-card p {
        font-size: 0.82rem;
    }
}

@media (max-width: 575px) {

    h1,
    .page-title {
        font-size: 1.45rem;
    }

    .service-title {
        font-size: 1.4rem;
    }

    .hero-title {
        font-size: 1.2rem;
    }

    .newsletter-form {
        flex-direction: column;
    }
    .newsletter-form input {
        width: 100%;
    }
    .newsletter-form button {
        width: 100%;
    }

    .filter-wrapper {
        gap: 10px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.75rem;
    }

    .faq-question {
        padding: 20px;
    }

    .faq-question h4 {
        font-size: 1rem;
    }

    .process-content {
        padding: 25px;
    }

    .mv-card {
        padding: 35px 25px;
    }

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

    .page-subtitle,
    .section-description,
    .breadcrumb-nav,
    .hero-subtitle {
        font-size: 0.78rem;
    }

    .stats-section .row > [class*="col-"] {
        width: 50%;
        flex: 0 0 50%;
        max-width: 50%;
        padding-left: 8px;
        padding-right: 8px;
    }

    .stats-section .stat-item .counter {
        font-size: 2rem;
    }

    .main-services .col-lg-6,
    .blog-list-section .col-md-6,
    .projects-section .col-md-6,
    .team-section .col-md-6,
    .related-services-section .col-md-6 {
        width: 50%;
        flex: 0 0 50%;
        max-width: 50%;
        padding-left: 8px;
        padding-right: 8px;
    }

    .row.g-4 {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }
}

/* ================================================
   41. RTL SUPPORT
   ================================================ */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .section-subtitle {
    padding-left: 0;
    padding-right: 50px;
}

[dir="rtl"] .section-subtitle::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .about-content {
    padding-left: 0;
    padding-right: 50px;
}

[dir="rtl"] .about-experience-badge {
    right: auto;
    left: -30px;
}

[dir="rtl"] .overview-badge {
    right: auto;
    left: -30px;
}

[dir="rtl"] .timeline::before {
    left: auto;
    right: 50%;
}

[dir="rtl"] .timeline-item:nth-child(odd) {
    left: auto;
    right: 0;
    text-align: left;
}

[dir="rtl"] .timeline-item:nth-child(even) {
    left: auto;
    right: 50%;
    text-align: right;
}

[dir="rtl"] .timeline-item:nth-child(odd)::before {
    right: auto;
    left: -10px;
}

[dir="rtl"] .timeline-item:nth-child(even)::before {
    left: auto;
    right: -10px;
}

[dir="rtl"] .process-timeline::before {
    left: auto;
    right: 50%;
}

[dir="rtl"] .footer-title::after {
    left: auto;
    right: 0;
}

[dir="rtl"] .footer-links a:hover {
    padding-left: 0;
    padding-right: 5px;
}

[dir="rtl"] .service-link:hover i,
[dir="rtl"] .learn-more:hover i,
[dir="rtl"] .read-more:hover i,
[dir="rtl"] .case-study-link:hover i {
    transform: translateX(-5px);
}

[dir="rtl"] .lang-switcher {
    margin-left: 0;
    margin-right: 20px;
}

[dir="rtl"] .navbar-nav .nav-link::before {
    left: auto;
    right: 20px;
}

[dir="rtl"] .breadcrumb-nav {
    direction: ltr;
}

[dir="rtl"] .service-header-image::before {
    left: auto;
    right: -20px;
}

[dir="rtl"] .contact-info {
    padding-right: 0;
    padding-left: 50px;
}

[dir="rtl"] .pricing-card.featured::before {
    right: auto;
    left: -35px;
    transform: rotate(-45deg);
}

/* RTL Mobile Adjustments */
@media (max-width: 991px) {
    [dir="rtl"] .about-content {
        padding-right: 0;
    }

    [dir="rtl"] .contact-info {
        padding-left: 0;
    }

    [dir="rtl"] .timeline-item:nth-child(odd),
    [dir="rtl"] .timeline-item:nth-child(even) {
        text-align: right;
        padding-right: 80px;
        padding-left: 20px;
    }

    [dir="rtl"] .timeline-item::before {
        right: 20px !important;
        left: auto !important;
    }

    [dir="rtl"] .process-item {
        padding-right: 100px !important;
        padding-left: 20px !important;
        text-align: right !important;
    }

    [dir="rtl"] .process-item::before {
        right: 0 !important;
        left: auto !important;
    }
}

/* ================================================
   BLOG PAGE - ADDITIONAL STYLES
   Add these styles to your style.css file
   ================================================ */

/* ================================================
   FEATURED POST SECTION
   ================================================ */
.featured-post-section {
    padding: 100px 0;
}

.featured-post {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.featured-post:hover {
    box-shadow: var(--glow-primary);
    border-color: var(--primary-color);
}

.featured-post-image {
    position: relative;
    height: 100%;
    min-height: 450px;
    overflow: hidden;
}

.featured-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.featured-post:hover .featured-post-image img {
    transform: scale(1.05);
}

.featured-label {
    position: absolute;
    top: 20px;
    left: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
        color: #ffffff !important;

}

.featured-label i {
    font-size: 0.75rem;
}

.featured-post-content {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.featured-post-content .post-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.featured-post-content .post-meta .category {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(74, 0, 114, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.featured-post-content .post-meta .date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.featured-post-content .post-meta .date i {
    color: var(--primary-color);
}

.featured-post-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
}

.featured-post-content h2 a {
    color: var(--text-light);
    transition: var(--transition-smooth);
}

.featured-post-content h2 a:hover {
    color: var(--primary-color);
}

.featured-post-content>p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.featured-post-content .post-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.featured-post-content .post-author img {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-circle);
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.featured-post-content .post-author .author-name {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-light);
}

.featured-post-content .post-author .author-role {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ================================================
   BLOG CATEGORIES SECTION
   ================================================ */
.blog-categories-section {
    padding: 40px 0;
    border-bottom: 1px solid var(--glass-border);
}

.categories-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.category-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.category-btn i {
    font-size: 0.85rem;
    color: var(--primary-color);
}

.category-btn:hover,
.category-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    box-shadow: var(--glow-primary);
        color: #ffffff !important;

}

.category-btn:hover i,
.category-btn.active i {
        color: #ffffff !important;

}

/* ================================================
   BLOG LIST SECTION
   ================================================ */
.blog-list-section {
    padding: 80px 0;
}

/* Enhanced Blog Card Styles */
.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-primary);
    border-color: var(--primary-color);
}

.blog-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-card-image .category {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 15px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
        color: #ffffff !important;

}

.blog-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.blog-card-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-card-meta i {
    color: var(--primary-color);
    font-size: 0.75rem;
}

.blog-card-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card-content h4 a {
    color: var(--text-light);
    transition: var(--transition-smooth);
}

.blog-card-content h4 a:hover {
    color: var(--primary-color);
}

.blog-card-content>p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.7;
    flex: 1;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    margin-top: auto;
}

.blog-card-footer .author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-card-footer .author img {
    width: 35px;
    height: 35px;
    border-radius: var(--radius-circle);
    object-fit: cover;
    border: 2px solid var(--glass-border);
}

.blog-card-footer .author span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.blog-card-footer .read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.blog-card-footer .read-more i {
    font-size: 0.75rem;
    transition: var(--transition-smooth);
}

.blog-card-footer .read-more:hover {
    color: var(--text-light);
}

.blog-card-footer .read-more:hover i {
    transform: translateX(5px);
}

/* ================================================
   BLOG PAGINATION
   ================================================ */
.blog-pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.blog-pagination .pagination {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.blog-pagination .page-item .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.blog-pagination .page-item .page-link:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    box-shadow: var(--glow-primary);
    color: #ffffff;
}

.blog-pagination .page-item.active .page-link {
    background: var(--gradient-primary);
    border-color: transparent;
    box-shadow: var(--glow-primary);
    color: #ffffff;
}

.blog-pagination .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.blog-pagination .page-item .page-link i {
    font-size: 0.8rem;
}

/* ================================================
   NEWSLETTER SECTION
   ================================================ */
.newsletter-section {
    padding: 100px 0;
}

.newsletter-wrapper {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.newsletter-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: var(--gradient-primary);
    border-radius: var(--radius-circle);
    opacity: 0.1;
    pointer-events: none;
}

.newsletter-content {
    position: relative;
    z-index: 1;
}

.newsletter-content .section-subtitle {
    margin-bottom: 10px;
}

.newsletter-content h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.newsletter-content p {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
}

.newsletter-form-large {
    position: relative;
    z-index: 1;
}

.newsletter-form-large .form-row {
    display: flex;
    gap: 15px;
}

.newsletter-form-large input[type="email"] {
    flex: 1;
    padding: 18px 25px;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.newsletter-form-large input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(74, 0, 114, 0.2);
}

.newsletter-form-large input[type="email"]::placeholder {
    color: var(--text-muted);
}

.newsletter-form-large .btn-primary-custom {
    white-space: nowrap;
    padding: 18px 35px;
}

.newsletter-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.newsletter-note i {
    color: var(--primary-color);
    font-size: 0.75rem;
}

/* ================================================
   POPULAR TAGS SECTION
   ================================================ */
.popular-tags-section {
    padding: 60px 0;
    border-top: 1px solid var(--glass-border);
}

.popular-tags-section h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0;
}

.tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.tag-link {
    display: inline-block;
    padding: 10px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.tag-link:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: var(--glow-primary);
}

/* ================================================
   BLOG ITEM ANIMATIONS (for filtering)
   ================================================ */
.blog-item {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.blog-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    position: absolute;
}

/* ================================================
   RESPONSIVE STYLES - BLOG PAGE
   ================================================ */
@media (max-width: 1199px) {
    .featured-post-content {
        padding: 40px;
    }

    .featured-post-content h2 {
        font-size: 1.8rem;
    }

    .newsletter-wrapper {
        padding: 50px;
    }

    .newsletter-content h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 991px) {
    .featured-post-section {
        padding: 80px 0;
    }

    .featured-post-image {
        min-height: 350px;
    }

    .featured-post-content {
        padding: 40px;
    }

    .featured-post-content h2 {
        font-size: 1.6rem;
    }

    .categories-wrapper {
        gap: 10px;
    }

    .category-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .blog-list-section {
        padding: 60px 0;
    }

    .newsletter-wrapper {
        padding: 40px;
    }

    .newsletter-content {
        text-align: center;
        margin-bottom: 30px;
    }

    .newsletter-content h3 {
        font-size: 1.6rem;
    }

    .newsletter-form-large .form-row {
        flex-direction: column;
    }

    .newsletter-form-large .btn-primary-custom {
        width: 100%;
        justify-content: center;
    }

    .newsletter-note {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .featured-post-section {
        padding: 60px 0;
    }

    .featured-post-image {
        min-height: 280px;
    }

    .featured-post-content {
        padding: 30px;
    }

    .featured-post-content h2 {
        font-size: 1.4rem;
    }

    .featured-post-content>p {
        font-size: 0.95rem;
    }

    .blog-categories-section {
        padding: 30px 0;
    }

    .category-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .category-btn i {
        display: none;
    }

    .blog-card-image {
        height: 200px;
    }

    .blog-card-content {
        padding: 20px;
    }

    .blog-card-content h4 {
        font-size: 1.05rem;
    }

    .blog-pagination .page-item .page-link {
        width: 40px;
        height: 40px;
        font-size: 0.85rem;
    }

    .newsletter-section {
        padding: 60px 0;
    }

    .newsletter-wrapper {
        padding: 30px 25px;
    }

    .newsletter-content h3 {
        font-size: 1.4rem;
    }

    .popular-tags-section {
        padding: 40px 0;
    }

    .tag-link {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}

@media (max-width: 575px) {
    .featured-post-content {
        padding: 25px;
    }

    .featured-post-content .post-meta {
        gap: 15px;
    }

    .featured-post-content h2 {
        font-size: 1.25rem;
    }

    .featured-post-content .post-author {
        margin-bottom: 25px;
    }

    .featured-post-content .btn-primary-custom {
        width: 100%;
        justify-content: center;
    }

    .categories-wrapper {
        gap: 8px;
    }

    .category-btn {
        padding: 8px 14px;
        font-size: 0.75rem;
    }

    .blog-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .blog-pagination .pagination {
        gap: 6px;
    }

    .blog-pagination .page-item .page-link {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }

    .newsletter-form-large input[type="email"] {
        padding: 15px 20px;
        font-size: 0.9rem;
    }

    .newsletter-form-large .btn-primary-custom {
        padding: 15px 25px;
    }
}

/* ================================================
   RTL SUPPORT - BLOG PAGE
   ================================================ */
[dir="rtl"] .featured-label {
    left: auto;
    right: 20px;
}

[dir="rtl"] .blog-card-image .category {
    left: auto;
    right: 15px;
}

[dir="rtl"] .blog-card-footer .read-more i {
    transform: rotate(180deg);
}

[dir="rtl"] .blog-card-footer .read-more:hover i {
    transform: rotate(180deg) translateX(5px);
}

[dir="rtl"] .newsletter-wrapper::before {
    right: auto;
    left: -20%;
}

[dir="rtl"] .featured-post-content .post-author {
    flex-direction: row-reverse;
}

[dir="rtl"] .blog-card-footer .author {
    flex-direction: row-reverse;
}

/* project detail additional style */
.project-detail-header {
    padding: 180px 0 80px;
    background: var(--darker-bg);
    position: relative;
    overflow: hidden;
}

.project-detail-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    z-index: 1;
}

.project-detail-header .container {
    position: relative;
    z-index: 2;
}

.project-category-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
        color: #ffffff !important;

}

.project-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}

.project-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 900px;
}

.project-meta-info {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.project-meta-item {
    display: flex;
    flex-direction: column;
}

.project-meta-item .label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.project-meta-item .value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
}

.project-detail-featured {
    padding: 80px 0 0;
    background: var(--dark-bg);
}

.project-featured-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    margin-bottom: -100px;
    position: relative;
    z-index: 10;
}

.project-featured-image img {
    width: 100%;
    height: auto;
}

.project-overview-section {
    padding: 150px 0 80px;
    background: var(--darker-bg);
}

.project-overview-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 25px;
}

.project-overview-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.project-overview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.overview-stat-card {
    padding: 35px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-smooth);
}

.overview-stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--glow-primary);
}

.overview-stat-card .stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 10px;
    display: block;
}

.overview-stat-card .stat-label {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.project-challenge-section {
    padding: 80px 0;
    background: var(--dark-bg);
}

.challenge-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 30px;
}

.challenge-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.challenge-list {
    margin-top: 30px;
}

.challenge-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 25px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
}

.challenge-item:hover {
    border-color: var(--primary-color);
    transform: translateX(10px);
}

.challenge-item .icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.challenge-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.challenge-item p {
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.7;
}

.project-solution-section {
    padding: 80px 0;
    background: var(--darker-bg);
}

.solution-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 30px;
}

.solution-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.solution-features {
    margin-top: 40px;
}

.solution-feature {
    margin-bottom: 35px;
}

.solution-feature h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.solution-feature h3 i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.solution-feature p {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.8;
}

.project-gallery-section {
    padding: 80px 0;
    background: var(--dark-bg);
}

.project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-primary);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item.large {
    grid-column: span 2;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(74, 0, 114, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 3rem;
    color: #ffffff;
}

.project-technologies-section {
    padding: 80px 0;
    background: var(--darker-bg);
}

.technologies-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.tech-item-detail {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition-smooth);
}

.tech-item-detail:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--glow-primary);
}

.tech-item-detail i {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 15px;
}

.tech-item-detail span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.project-results-section {
    padding: 80px 0;
    background: var(--dark-bg);
}

.results-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 30px;
}

.results-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.result-card {
    padding: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-primary);
}

.result-card .result-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 15px;
    display: block;
}

.result-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.result-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.7;
}

.project-testimonial-section {
    padding: 80px 0;
    background: var(--darker-bg);
}

.project-testimonial-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    position: relative;
}

.project-testimonial-card::before {
    content: '"';
    position: absolute;
    top: 30px;
    left: 60px;
    font-size: 10rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    opacity: 0.2;
}

.testimonial-rating {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
}

.testimonial-rating i {
    color: #ffc107;
    font-size: 1.2rem;
}

.testimonial-text-large {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.testimonial-author-large {
    display: flex;
    align-items: center;
    gap: 20px;
}

.testimonial-author-large img {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-circle);
    border: 3px solid var(--primary-color);
}

.testimonial-author-large h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.testimonial-author-large span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.project-cta-section {
    padding: 100px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
    color: var(--text-dark) !important;
}

.project-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-circle);
}

.project-cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.project-cta-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.project-cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.related-projects-section {
    padding: 80px 0;
    background: var(--dark-bg);
}

@media (max-width: 1199px) {
    .technologies-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 991px) {
    .project-title {
        font-size: 2.5rem;
    }

    .project-subtitle {
        font-size: 1.1rem;
    }

    .project-detail-header {
        padding: 160px 0 60px;
    }

    .project-overview-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .project-gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item.large {
        grid-column: span 1;
    }

    .technologies-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .project-testimonial-card {
        padding: 40px;
    }

    .project-cta-content h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .project-title {
        font-size: 2rem;
    }

    .project-subtitle {
        font-size: 1rem;
    }

    .project-meta-info {
        gap: 25px;
    }

    .project-overview-content h2,
    .challenge-content h2,
    .solution-content h2,
    .results-content h2 {
        font-size: 2rem;
    }

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

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

    .project-testimonial-card {
        padding: 30px 25px;
    }

    .project-testimonial-card::before {
        font-size: 6rem;
        left: 25px;
    }

    .testimonial-text-large {
        font-size: 1.1rem;
    }

    .project-cta-content h2 {
        font-size: 2rem;
    }

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

/* blog detail additional style */

.blog-detail-header {
    padding: 180px 0 80px;
    background: var(--darker-bg);
    position: relative;
    overflow: hidden;
}

.blog-detail-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    z-index: 1;
}

.blog-detail-header .container {
    position: relative;
    z-index: 2;
}

.article-category {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
        color: #ffffff !important;

}

.article-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}

.article-excerpt {
    font-size: 1.3rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 900px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.article-author img {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-circle);
    border: 2px solid var(--primary-color);
}

.article-author-info .name {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 3px;
}

.article-author-info .role {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.article-meta-item i {
    color: var(--primary-color);
}

.blog-detail-content {
    padding: 80px 0;
    background: var(--dark-bg);
}

.article-featured-image {
    margin-bottom: 60px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
}

.article-featured-image img {
    width: 100%;
    height: auto;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 50px 0 25px;
    color: var(--text-light);
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 40px 0 20px;
    color: var(--text-light);
}

.article-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.article-content strong {
    color: var(--text-light);
    font-weight: 600;
}

.article-content blockquote {
    margin: 40px 0;
    padding: 30px 40px;
    background: var(--glass-bg);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-light);
}

.article-content ul,
.article-content ol {
    margin: 30px 0;
    padding-left: 30px;
}

.article-content li {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 15px;
    list-style: disc;
}

.article-content ol li {
    list-style: decimal;
}

.article-highlight-box {
    margin: 40px 0;
    padding: 35px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
        color: #ffffff !important;

}

.article-highlight-box h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.article-highlight-box p {
    color: rgba(255, 255, 255, 0.95) !important;
    margin: 0;
}

.article-content img {
    width: 100%;
    border-radius: var(--radius-lg);
    margin: 40px 0;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 50px 0;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
}

.article-tag {
    padding: 10px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.article-tag:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #ffffff;
    transform: translateY(-3px);
}

.article-share {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 35px;
    background: var(--glass-bg);
    border-radius: var(--radius-lg);
    margin: 50px 0;
}

.article-share span {
    font-weight: 600;
    font-size: 1rem;
}

.share-buttons {
    display: flex;
    gap: 12px;
}

.share-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-light);
    transition: var(--transition-smooth);
}

.share-btn:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-3px);
    color: #ffffff;
}

.author-bio {
    display: flex;
    gap: 25px;
    padding: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    margin: 60px 0;
}

.author-bio-avatar {
    flex-shrink: 0;
}

.author-bio-avatar img {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-circle);
    border: 3px solid var(--primary-color);
}

.author-bio-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.author-bio-content .author-title {
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 15px;
    display: block;
}

.author-bio-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.author-social {
    display: flex;
    gap: 12px;
}

.author-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-light);
    transition: var(--transition-smooth);
}

.author-social a:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-3px);
}

.related-posts-section {
    padding: 80px 0;
    background: var(--darker-bg);
}

.comments-section {
    padding: 80px 0;
    background: var(--dark-bg);
}

.comments-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.comments-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
}

.comment-form {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 60px;
}

.comment-form h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.comment-item {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
}

.comment-avatar img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-circle);
    border: 2px solid var(--glass-border);
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.comment-author {
    font-weight: 600;
    font-size: 1rem;
}

.comment-date {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.comment-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.comment-reply-btn {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.comment-reply-btn:hover {
    color: var(--text-light);
}

.comment-reply {
    margin-left: 80px;
    margin-top: 20px;
}

@media (max-width: 991px) {
    .article-title {
        font-size: 2.5rem;
    }

    .article-excerpt {
        font-size: 1.1rem;
    }

    .blog-detail-header {
        padding: 160px 0 60px;
    }

    .blog-detail-content {
        padding: 60px 0;
    }

    .author-bio {
        flex-direction: column;
        text-align: center;
    }

    .author-social {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .article-title {
        font-size: 2rem;
    }

    .article-excerpt {
        font-size: 1rem;
    }

    .article-content h2 {
        font-size: 1.6rem;
    }

    .article-content h3 {
        font-size: 1.3rem;
    }

    .article-content p,
    .article-content li {
        font-size: 1rem;
    }

    .article-share {
        flex-direction: column;
        align-items: flex-start;
    }

    .comment-form {
        padding: 25px;
    }

    .comment-item {
        padding: 20px;
    }

    .comment-reply {
        margin-left: 0;
    }
}

/* Project Card Styles */
.project-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.project-card-image {
    position: relative;
    overflow: hidden;
    height: 260px;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-card-image img {
    transform: scale(1.1);
}

.project-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-card-overlay {
    opacity: 1;
}

.overlay-btn {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 18px;
    transition: all 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
}

.project-card:hover .overlay-btn {
    transform: translateY(0);
    opacity: 1;
}

.project-card:hover .overlay-btn:nth-child(2) {
    transition-delay: 0.1s;
}

.overlay-btn:hover {
    background: var(--primary-color, #007bff);
    color: #fff;
    transform: scale(1.1);
}

.featured-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #ffc107, #ff9800);
    color: #fff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.featured-badge i {
    margin-right: 4px;
}

.category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color, #007bff);
    color: #fff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.project-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-card-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.project-card-meta span {
    color: #666;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-card-meta i {
    color: var(--primary-color, #007bff);
    font-size: 12px;
}

.project-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.project-card-title a {
    color: #222;
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-card-title a:hover {
    color: var(--primary-color, #007bff);
}

.project-card-description {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
    flex: 1;
}

.project-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.project-card-tags .tag {
    background: #f5f5f5;
    color: #555;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-card-tags .tag:hover {
    background: var(--primary-color, #007bff);
    color: #fff;
}

.project-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color, #007bff);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.project-card-link i {
    transition: transform 0.3s ease;
}

.project-card-link:hover {
    color: #0056b3;
}

.project-card-link:hover i {
    transform: translateX(5px);
}

/* Filter Buttons */
.filter-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.filter-btn {
    background: #fff;
    border: 2px solid #eee;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color, #007bff);
    border-color: var(--primary-color, #007bff);
    color: #fff;
}

/* Pagination */
.pagination-wrapper {
    margin-top: 30px;
}

.pagination .page-item .page-link {
    border: none;
    padding: 12px 18px;
    margin: 0 4px;
    border-radius: 8px;
    color: #555;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination .page-item .page-link:hover {
    background: var(--primary-color, #007bff);
    color: #fff;
}

.pagination .page-item.active .page-link {
    background: var(--primary-color, #007bff);
    color: #fff;
}

/* No Results */
.no-results {
    padding: 60px 20px;
}

.no-results i {
    color: #ddd;
}

/* Responsive */
@media (max-width: 991px) {
    .project-card-image {
        height: 220px;
    }
}

@media (max-width: 767px) {
    .filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .project-card-title {
        font-size: 18px;
    }
    
    .project-card-content {
        padding: 20px;
    }
}
/* Projects Swiper Wrapper */
.projects-swiper-wrapper {
    position: relative;
    padding: 0 60px;
}

/* Navigation Buttons */
.projects-swiper-wrapper .swiper-button-prev,
.projects-swiper-wrapper .swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    color: #fff;
    z-index: 10;
    transition: all 0.3s ease;
}

.projects-swiper-wrapper .swiper-button-prev {
    left: 0;
}

.projects-swiper-wrapper .swiper-button-next {
    right: 0;
}

.projects-swiper-wrapper .swiper-button-prev:after,
.projects-swiper-wrapper .swiper-button-next:after {
    font-size: 18px;
    font-weight: bold;
}

.projects-swiper-wrapper .swiper-button-prev:hover,
.projects-swiper-wrapper .swiper-button-next:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Disabled State */
.projects-swiper-wrapper .swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 991px) {
    .projects-swiper-wrapper {
        padding: 0 50px;
    }
    
    .projects-swiper-wrapper .swiper-button-prev,
    .projects-swiper-wrapper .swiper-button-next {
        width: 40px;
        height: 40px;
    }
    
    .projects-swiper-wrapper .swiper-button-prev:after,
    .projects-swiper-wrapper .swiper-button-next:after {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .projects-swiper-wrapper {
        padding: 0 40px;
    }
    
    .projects-swiper-wrapper .swiper-button-prev,
    .projects-swiper-wrapper .swiper-button-next {
        width: 35px;
        height: 35px;
    }
}

/* Home Projects Section - scoped cleanup */
.home-page #projects.projects-section {
    padding-top: 96px;
    padding-bottom: 96px;
}

.home-page #projects .projects-swiper-wrapper {
    padding: 0 56px;
    margin-bottom: 0;
}

.home-page #projects .projectsSwiper {
    padding: 6px 0 10px;
}

.home-page #projects .project-card {
    margin: 0;
}

.home-page #projects .project-card-image {
    height: 250px;
}

.home-page #projects .project-card-content {
    padding: 20px 20px 18px;
}

.home-page #projects .project-card-title {
    margin-bottom: 10px;
}

.home-page #projects .project-card-description {
    margin-bottom: 12px;
}

.home-page #projects .project-card-tags {
    margin-bottom: 14px;
}

.home-page #projects .text-center.mt-5 {
    margin-top: 2rem !important;
}

@media (max-width: 1199px) {
    .home-page #projects.projects-section {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .home-page #projects .projects-swiper-wrapper {
        padding: 0 44px;
    }
}

@media (max-width: 991px) {
    .home-page #projects.projects-section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .home-page #projects .projects-swiper-wrapper {
        padding: 0;
    }

    .home-page #projects .projects-swiper-wrapper .swiper-button-prev,
    .home-page #projects .projects-swiper-wrapper .swiper-button-next {
        width: 38px;
        height: 38px;
        top: calc(100% + 22px);
        transform: none;
    }

    .home-page #projects .projects-swiper-wrapper .swiper-button-prev {
        left: calc(50% - 48px);
    }

    .home-page #projects .projects-swiper-wrapper .swiper-button-next {
        right: calc(50% - 48px);
    }

    .home-page #projects .project-card-image {
        height: 230px;
    }
}

@media (max-width: 767px) {
    .home-page #projects.projects-section {
        padding-top: 52px;
        padding-bottom: 52px;
    }

    .home-page #projects .row {
        --bs-gutter-y: 1rem;
    }

    .home-page #projects .projects-swiper-wrapper .swiper-button-prev,
    .home-page #projects .projects-swiper-wrapper .swiper-button-next {
        display: none;
    }

    .home-page #projects .project-card-image {
        height: 210px;
    }

    .home-page #projects .project-card-content {
        padding: 16px;
    }

    .home-page #projects .project-card-title {
        font-size: 1rem;
    }

    .home-page #projects .project-card-description {
        font-size: 0.82rem;
        line-height: 1.45;
    }

    .home-page #projects .project-card-meta {
        margin-bottom: 8px;
        gap: 10px;
    }
}

@media (max-width: 575px) {
    .home-page #projects.projects-section {
        padding-top: 46px;
        padding-bottom: 46px;
    }

    .home-page #projects .project-card-image {
        height: 190px;
    }

    .home-page #projects .project-card-content {
        padding: 14px;
    }

    .home-page #projects .project-card-tags {
        gap: 6px;
    }

    .home-page #projects .project-card-tags .tag {
        font-size: 11px;
        padding: 4px 10px;
    }
}


/* ================================================
   END OF STYLESHEET
   ================================================ */
.why-choose-card i{
    color: #fff;
}
