* {
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

:root {
    /* نسب التخطيط للصور */
    --layout-ratio: 0.92; /* موبايل افتراضي - عمود واحد */
    
    /* ط§ظ„ط£ظ„ظˆط§ظ† ط§ظ„ط£ط³ط§ط³ظٹط© - 4 ط£ظ„ظˆط§ظ† ظپظ‚ط· */
    --primary-color: #1a73e8;
    --secondary-color: #34a853;
    --accent-color: #fbbc04;
    --dark-color: #202124;
    
    /* ط£ظ„ظˆط§ظ† ظ…ط­ط§ظٹط¯ط© ط£ط³ط§ط³ظٹط© */
    --light-color: #f8f9fa;
    --white: #ffffff;
    --black: #000000;
    
    /* طھط¯ط±ط¬ط§طھ ط±ظ…ط§ط¯ظٹط© ظ…ط¨ط³ط·ط© */
    --gray-50: #f8f9fa;
    --gray-100: #e8eaed;
    --gray-200: #dadce0;
    --gray-300: #bdc1c6;
    --gray-400: #9aa0a6;
    --gray-500: #5f6368;
    --gray-600: #3c4043;
    --gray-700: #202124;
    
    --font-primary: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-secondary: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    --border-radius-full: 9999px;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --transition-fast: 150ms ease-in-out;
    --transition-base: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
    
    --container-max-width: 1200px;
    --header-height: 80px;
    --footer-height: auto;
}

/* نسب التخطيط للشبكات */
.grid-1 {
    --layout-ratio: 0.92;
}

.grid-2 {
    --layout-ratio: 0.46;
}

.grid-3 {
    --layout-ratio: 0.30;
}

.grid-4 {
    --layout-ratio: 0.22;
}

:root {
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

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

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: 400;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
    direction: rtl;
    text-align: right;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-color);
    font-family: var(--font-primary);
}

h1 { 
    font-size: var(--font-size-4xl); 
    font-size: clamp(24px, 2.25rem, 48px);
    font-family: var(--font-primary);
}
h2 { 
    font-size: var(--font-size-3xl); 
    font-family: var(--font-primary);
}
h3 { 
    font-size: var(--font-size-2xl); 
    font-family: var(--font-primary);
}
h4 { 
    font-size: var(--font-size-xl); 
    font-family: var(--font-primary);
}
h5 { 
    font-size: var(--font-size-lg); 
    font-family: var(--font-primary);
}
h6 { 
    font-size: var(--font-size-base); 
    font-family: var(--font-primary);
}

p {
    margin: 0 0 var(--spacing-md);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

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

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

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

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

table {
    border-collapse: collapse;
    border-spacing: 0;
}

strong, b {
    font-weight: 700;
}

em, i {
    font-style: italic;
}

:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

/* Screen Reader Only Text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
/* ===================================
   Font Fixes - طھظˆط­ظٹط¯ ط§ظ„ط®ط·ظˆط·
   طھط·ط¨ظٹظ‚ ط®ط· Cairo ط¹ظ„ظ‰ ط¬ظ…ظٹط¹ ط§ظ„ط¹ظ†ط§طµط±
   =================================== */

/* Global Font Override - استثناء الأيقونات */
*:not(.fa):not(.fas):not(.far):not(.fab):not(.fal):not(.fad):not([class*="fa-"]) {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* Section Titles */
.section-title-left h4,
.section-title-left h2,
.section-title-left p,
.home-page-four-section-title h4,
.home-page-four-section-title h2,
.home-page-four-section-title p {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* Project Cards */
.project-card-title,
.project-card-description,
.project-card-number,
.project-card-cta {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* Modern Articles */
.modern-article-title,
.modern-article-excerpt,
.modern-article-category,
.modern-section-header h2,
.modern-section-header p {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* Features Bar */
.feature-bar-content h4,
.feature-bar-content p {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* About Section */
.about-text-wrapper h2,
.about-text-wrapper h4,
.about-text-wrapper p,
.about-lists h4 {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* Choose Section */
.choose-text h4,
.choose-text p,
.choose-full-wrapper h2,
.choose-full-wrapper h4,
.choose-full-wrapper p {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* Contact/Position Section */
.call-us h2,
.call-us h3,
.call-us p,
.contact-form-wrapper h2,
.contact-form-wrapper h4,
.contact-form-wrapper label,
.form-control {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* Testimonials */
.single-testimoinal h3,
.single-testimoinal p {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* Buttons */
.default-btn,
.submit-btn,
button,
.btn {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* Forms */
input,
textarea,
select,
.form-control,
.form-group label {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* Counter Section */
.single-counter h2,
.single-counter p,
.counter {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* Blog/Articles */
.blog-title,
.article-title,
.article-excerpt,
.article-category {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* Services Cards */
.single-team-title h4,
.service-card-title {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* Footer */
footer h3,
footer h4,
footer p,
footer a {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* Slider */
.slider-text h1,
.slider-text h3,
.slider-text a {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* Ensure all paragraphs use Cairo - ط§ط³طھط«ظ†ط§ط، ط§ظ„ط£ظٹظ‚ظˆظ†ط§طھ */
p:not([class*="fa-"]), 
span:not(.fa):not(.fas):not(.far):not(.fab):not([class*="fa-"]), 
div:not([class*="fa-"]), 
a:not([class*="fa-"]), 
li:not([class*="fa-"]) {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* Special Elements */
.experience-year span,
.experience-year h2,
.experience-year p {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* Navigation */
nav,
.menu,
.nav-link,
.navbar {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* Ensure proper Arabic text rendering */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Fix any potential font loading issues */
@supports (font-variation-settings: normal) {
    *:not(.fa):not(.fas):not(.far):not(.fab):not(.fal):not(.fad):not([class*="fa-"]) {
        font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    }
}

/* ===================================
   Font Awesome Icons Protection
   ط­ظ…ط§ظٹط© ط£ظٹظ‚ظˆظ†ط§طھ Font Awesome
   =================================== */

/* طھط£ظƒط¯ ظ…ظ† ط£ظ† ط§ظ„ط£ظٹظ‚ظˆظ†ط§طھ طھط³طھط®ط¯ظ… ط®ط·ظˆط·ظ‡ط§ ط§ظ„ط®ط§طµط© */
.fa, .fas, .far, .fab, .fal, .fad,
[class^="fa-"], [class*=" fa-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
}

.fab, .fa-brands {
    font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands" !important;
}

.far, .fa-regular {
    font-weight: 400 !important;
}

.fas, .fa-solid {
    font-weight: 900 !important;
}
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-lg);
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 var(--spacing-xl);
    }
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 calc(var(--spacing-md) * -1);
}

.row.gap-20 {
    gap: 20px;
}

.row.gap-30 {
    gap: 30px;
}

[class*="col-"] {
    padding: 0 var(--spacing-md);
    width: 100%;
    margin-bottom: 30px;
}

[class*="col-"]:last-child {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    [class*="col-"] {
        margin-bottom: 0;
    }
}

.col-1 { width: 8.333333%; }
.col-2 { width: 16.666667%; }
.col-3 { width: 25%; }
.col-4 { width: 33.333333%; }
.col-5 { width: 41.666667%; }
.col-6 { width: 50%; }
.col-7 { width: 58.333333%; }
.col-8 { width: 66.666667%; }
.col-9 { width: 75%; }
.col-10 { width: 83.333333%; }
.col-11 { width: 91.666667%; }
.col-12 { width: 100%; }

@media (min-width: 768px) {
    .col-md-1 { width: 8.333333%; }
    .col-md-2 { width: 16.666667%; }
    .col-md-3 { width: 25%; }
    .col-md-4 { width: 33.333333%; }
    .col-md-5 { width: 41.666667%; }
    .col-md-6 { width: 50%; }
    .col-md-7 { width: 58.333333%; }
    .col-md-8 { width: 66.666667%; }
    .col-md-9 { width: 75%; }
    .col-md-10 { width: 83.333333%; }
    .col-md-11 { width: 91.666667%; }
    .col-md-12 { width: 100%; }
}

@media (min-width: 1024px) {
    .col-lg-1 { width: 8.333333%; }
    .col-lg-2 { width: 16.666667%; }
    .col-lg-3 { width: 25%; }
    .col-lg-4 { width: 33.333333%; }
    .col-lg-5 { width: 41.666667%; }
    .col-lg-6 { width: 50%; }
    .col-lg-7 { width: 58.333333%; }
    .col-lg-8 { width: 66.666667%; }
    .col-lg-9 { width: 75%; }
    .col-lg-10 { width: 83.333333%; }
    .col-lg-11 { width: 91.666667%; }
    .col-lg-12 { width: 100%; }
}

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

.flex-row { flex-direction: row; }
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }

.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }

.align-start { align-items: flex-start; }
.align-end { align-items: flex-end; }
.align-center { align-items: center; }
.align-stretch { align-items: stretch; }

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

.m-0 { margin: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mr-0 { margin-right: 0 !important; }
.ml-0 { margin-left: 0 !important; }

.m-1 { margin: var(--spacing-xs) !important; }
.m-2 { margin: var(--spacing-sm) !important; }
.m-3 { margin: var(--spacing-md) !important; }
.m-4 { margin: var(--spacing-lg) !important; }
.m-5 { margin: var(--spacing-xl) !important; }

.mt-1 { margin-top: var(--spacing-xs) !important; }
.mt-2 { margin-top: var(--spacing-sm) !important; }
.mt-3 { margin-top: var(--spacing-md) !important; }
.mt-4 { margin-top: var(--spacing-lg) !important; }
.mt-5 { margin-top: var(--spacing-xl) !important; }

.mb-1 { margin-bottom: var(--spacing-xs) !important; }
.mb-2 { margin-bottom: var(--spacing-sm) !important; }
.mb-3 { margin-bottom: var(--spacing-md) !important; }
.mb-4 { margin-bottom: var(--spacing-lg) !important; }
.mb-5 { margin-bottom: var(--spacing-xl) !important; }

.p-0 { padding: 0 !important; }
.p-1 { padding: var(--spacing-xs) !important; }
.p-2 { padding: var(--spacing-sm) !important; }
.p-3 { padding: var(--spacing-md) !important; }
.p-4 { padding: var(--spacing-lg) !important; }
.p-5 { padding: var(--spacing-xl) !important; }

.pt-1 { padding-top: var(--spacing-xs) !important; }
.pt-2 { padding-top: var(--spacing-sm) !important; }
.pt-3 { padding-top: var(--spacing-md) !important; }
.pt-4 { padding-top: var(--spacing-lg) !important; }
.pt-5 { padding-top: var(--spacing-xl) !important; }

.pb-1 { padding-bottom: var(--spacing-xs) !important; }
.pb-2 { padding-bottom: var(--spacing-sm) !important; }
.pb-3 { padding-bottom: var(--spacing-md) !important; }
.pb-4 { padding-bottom: var(--spacing-lg) !important; }
.pb-5 { padding-bottom: var(--spacing-xl) !important; }
.owl-carousel,
.owl-theme,
.hero-slider-four,
.team-wrapper-four {
    position: relative;
}

.owl-carousel .owl-stage-outer {
    overflow: hidden;
}

.owl-carousel .owl-stage {
    display: flex;
}

.owl-carousel .owl-item {
    min-height: 1px;
}

.owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 var(--spacing-lg);
    pointer-events: none;
    z-index: 10;
}

.owl-carousel .owl-nav button {
    pointer-events: all;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: var(--border-radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    color: var(--dark-color);
}

.owl-carousel .owl-nav button:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.owl-carousel .owl-nav button.owl-prev::before {
    content: '\f053';
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome";
    font-weight: 900;
}

.owl-carousel .owl-nav button.owl-next::before {
    content: '\f054';
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome";
    font-weight: 900;
}

.owl-carousel .owl-dots {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-xl);
}

.owl-carousel .owl-dot {
    width: 12px;
    height: 12px;
    background: var(--gray-400);
    border: none;
    border-radius: var(--border-radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.owl-carousel .owl-dot:hover,
.owl-carousel .owl-dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

.hero-slider-four .owl-nav {
    display: none;
}

.hero-slider-four .owl-dots {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
}

.hero-slider-four .owl-dot {
    background: rgba(255, 255, 255, 0.5);
}

.hero-slider-four .owl-dot:hover,
.hero-slider-four .owl-dot.active {
    background: var(--white);
}

.team-wrapper-four {
    display: flex;
    gap: var(--spacing-xl);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.team-wrapper-four::-webkit-scrollbar {
    display: none;
}

.team-wrapper-four > * {
    flex: 0 0 calc(33.333% - var(--spacing-lg));
    scroll-snap-align: start;
}

@media (max-width: 991px) {
    .team-wrapper-four > * {
        flex: 0 0 calc(50% - var(--spacing-md));
    }
    
    .owl-carousel .owl-nav button {
        width: 40px;
        height: 40px;
        font-size: var(--font-size-lg);
    }
}

@media (max-width: 767px) {
    .team-wrapper-four > * {
        flex: 0 0 calc(100% - var(--spacing-sm));
    }
    
    .owl-carousel .owl-nav {
        display: none;
    }
}

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

picture {
    display: block;
    width: 100%;
}

picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slider-section-four {
    position: relative;
    overflow: hidden;
    background: var(--dark-color);
    contain: layout style paint;
    content-visibility: auto;
    contain-intrinsic-size: calc(66.67vh - 100px) 100vw;
}

.hero-slider-four {
    position: relative;
    min-height: calc(66.67vh - 100px);
    contain-intrinsic-size: calc(66.67vh - 100px) 100vw;
}

.slider-nav-buttons {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 var(--spacing-xl);
    z-index: 10;
    pointer-events: none;
}

.slider-nav-buttons button {
    pointer-events: all;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: var(--border-radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-2xl);
    color: var(--primary-color);
    font-weight: bold;
}

.slider-nav-buttons button:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-sm);
    z-index: 10;
}

.slider-dot {
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--white);
    border-radius: var(--border-radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.slider-dot:hover,
.slider-dot.active {
    background: var(--white);
    transform: scale(1.3);
}

.hero-slider-four .hero-slider-item {
    display: none;
}

.hero-slider-four .hero-slider-item:first-child {
    display: flex;
}

.hero-slider-item {
    --layout-ratio: 0.92; /* 1 column - full width */
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    min-height: calc(66.67vh - 100px);
    height: calc(66.67vh - 100px);
    display: flex;
    align-items: center;
    overflow: hidden;
    will-change: opacity;
    contain: layout style paint;
}

.hero-slider-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-slider-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.7) 0%, rgba(13, 71, 161, 0.8) 100%);
    z-index: 1;
    will-change: opacity;
}

.d-table {
    display: table;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
    contain: content;
}

.d-tablecell {
    display: table-cell;
    vertical-align: middle;
}

.slider-text {
    text-align: center;
    color: var(--white);
    padding: var(--spacing-3xl) 0;
}

.slider-text h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInDown 0.8s ease-out;
}

.slider-text h1 {
    font-size: var(--font-size-5xl);
    font-size: clamp(32px, 3rem, 60px);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    color: var(--white);
    line-height: 1.2;
    font-family: var(--font-primary);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.slider-text h1 span {
    color: var(--accent-color);
}

.typewrite {
    display: inline-block;
    font-size: var(--font-size-2xl);
    color: var(--white);
    margin-bottom: var(--spacing-xl);
    min-height: 40px;
    animation: fadeIn 0.8s ease-out 0.4s both;
}

.slide-button {
    margin-top: var(--spacing-xl);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.slide-button .default-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg) var(--spacing-2xl);
    background: var(--accent-color);
    color: var(--dark-color);
    font-size: var(--font-size-lg);
    font-weight: 700;
    border-radius: var(--border-radius-full);
    transition: all var(--transition-base);
    text-decoration: none;
    box-shadow: var(--shadow-lg);
}

.slide-button .default-btn:hover {
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.slide-button .default-btn i {
    font-size: var(--font-size-xl);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Removed fadeIn animation to reduce render delay */

@media (max-width: 991px) {
    .hero-slider-item {
        min-height: calc(66.67vh - 80px);
        aspect-ratio: 16 / 9;
        height: calc(66.67vh - 80px);

    }
    
    .slider-text h1 {
        font-size: var(--font-size-4xl);
        font-size: clamp(28px, 2.25rem, 52px);
        font-family: var(--font-primary);
    }
    
    .slider-text h3 {
        font-size: var(--font-size-lg);
    }
    
    .typewrite {
        font-size: var(--font-size-xl);
    }
    
    .slider-nav-buttons {
        padding: 0 var(--spacing-md);
    }
    
    .slider-nav-buttons button {
        width: 50px;
        height: 50px;
        font-size: var(--font-size-xl);
    }
}

@media (max-width: 767px) {
    .hero-slider-item {
        aspect-ratio: 16 / 9;
        max-height: 60vh;
    }
    
    .slider-text h1 {
        font-size: var(--font-size-3xl);
        font-size: clamp(24px, 1.875rem, 42px);
        font-family: var(--font-primary);
    }
    
    .slider-text h3 {
        font-size: var(--font-size-base);
    }
    
    .typewrite {
        font-size: var(--font-size-lg);
    }
    
    .slider-nav-buttons {
        display: none;
    }
    
    .hero-slider-four .owl-nav {
        display: none !important;
    }
    
    .slider-dots {
        bottom: 20px;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
    
    .slide-button .default-btn {
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: var(--font-size-base);
    }
}
.ptb-100 {
    padding: 80px 0;
}

.pt-100 {
    padding-top: 80px;
}

.pb-100 {
    padding-bottom: 80px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-50 {
    margin-bottom: 50px;
}

.section-title-left {
    margin-bottom: 40px;
}

.section-title-left h4 {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 1;
    visibility: visible;
}

.section-title-left h2 {
    font-size: var(--font-size-4xl);
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.section-title-left h2 span {
    color: var(--primary-color);
}

.section-title-left p {
    font-size: 17px;
    color: var(--gray-600);
    line-height: 1.8;
    opacity: 1;
    visibility: visible;
}

.home-page-four-section-title h4 {
    position: relative;
    padding-bottom: var(--spacing-md);
}

.home-page-four-section-title h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.team-man-section,
.team-one-section,
.team-section-four {
    background: var(--light-color);
}

.single-team-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    margin-bottom: 30px;
}

.single-team-wrapper:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.single-team {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.single-team img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.single-team-wrapper:hover .single-team img {
    transform: scale(1.1);
}

.single-team-title {
    padding: var(--spacing-lg);
    background: var(--white);
    position: relative;
}

.single-team-title h4 {
    font-size: 20px;
    color: var(--dark-color);
    margin: 0;
    transition: color var(--transition-fast);
    font-weight: 600;
}

.single-team-title a:hover h4 {
    color: var(--primary-color);
}

.team-icon {
    position: absolute;
    top: 50%;
    left: var(--spacing-lg);
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.team-icon:hover {
    background: var(--secondary-color);
    transform: translateY(-50%) rotate(360deg);
}

.team-icon i {
    color: var(--white);
    font-size: var(--font-size-lg);
}

.join-us-today {
    padding: var(--spacing-lg);
    text-align: center;
}

.join-us-today h4 {
    font-size: var(--font-size-xl);
    color: var(--primary-color);
    margin: 0;
}

.join-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    background: var(--primary-color);
}

.join-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.join-img:hover .join-icon {
    transform: scale(1.2) rotate(90deg);
}

.join-icon i {
    font-size: var(--font-size-4xl);
    color: var(--primary-color);
}

.about-section-four {
    background: var(--white);
}

.experience-video {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.experience-video img {
    width: 100%;
    height: auto;
    display: block;
}

.experience-year {
    position: absolute;
    bottom: var(--spacing-xl);
    right: var(--spacing-xl);
    background: var(--primary-color);
    color: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.experience-year span {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    display: block;
    line-height: 1;
}

.experience-year h2 {
    font-size: var(--font-size-2xl);
    color: var(--white);
    margin: var(--spacing-sm) 0;
}

.experience-year p {
    font-size: var(--font-size-lg);
    margin: 0;
}

.about-text-wrapper {
    padding-right: var(--spacing-xl);
}

.about-list-wrapper {
    margin: var(--spacing-xl) 0;
}

.about-lists {
    margin-bottom: var(--spacing-md);
}

.about-lists h4 {
    font-size: var(--font-size-lg);
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.about-lists i {
    color: var(--secondary-color);
    font-size: var(--font-size-xl);
}

.default-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-xl);
    background: var(--primary-color);
    color: var(--white);
    font-size: var(--font-size-lg);
    font-weight: 600;
    border-radius: var(--border-radius-full);
    transition: all var(--transition-base);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.default-btn:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.default-btn i {
    font-size: var(--font-size-lg);
}

.choose-section {
    background: url('../assets/choose-bg-2.webp') center/cover no-repeat;
    padding: 100px 0;
    position: relative;
}

.choose-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    pointer-events: none;
}

.choose-full-wrapper {
    padding: var(--spacing-3xl);
    position: relative;
    z-index: 2;
}

.choose-text-wrapper {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 25px;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.choose-text-wrapper:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.choose-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.choose-text-wrapper:hover .choose-icon {
    transform: rotateY(360deg);
}

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

.choose-text h4 {
    font-size: 20px;
    color: var(--dark-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.choose-text p {
    color: var(--gray-600);
    line-height: 1.8;
    margin: 0;
    font-size: 15px;
}

.choose-bg {
    height: 100%;
    min-height: 600px;
    background: transparent;
    border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
    position: relative;
}

.counter-section-four {
    background: url('../assets/counter-bg.png') center/cover no-repeat fixed;
    padding: 80px 0;
    position: relative;
}

.counter-section-four::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 115, 232, 0.9);
}

.single-counter {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 2;
    padding: var(--spacing-xl);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
}

.single-counter:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.single-counter h2 {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    color: var(--white);
    margin: 0;
    display: inline-block;
}

.single-counter span {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--accent-color);
    margin-right: var(--spacing-xs);
}

.single-counter p {
    font-size: var(--font-size-lg);
    margin-top: var(--spacing-md);
    color: var(--white);
}

@media (min-width: 768px) and (max-width: 1024px) {
    .ptb-100 {
        padding: 70px 0;
    }
    
    .section-title-left {
        margin-bottom: 35px;
    }
    
    .section-title-left h2 {
        font-size: var(--font-size-3xl);
    }
    
    .section-title-left p {
        font-size: 16px;
    }
    
    .single-team-wrapper {
        margin-bottom: 25px;
    }
    
    .choose-text-wrapper {
        padding: 20px;
        margin-bottom: 20px;
    }
}

@media (max-width: 991px) {
    .ptb-100 {
        padding: 60px 0;
    }
    
    .about-text-wrapper {
        padding-right: 0;
        margin-top: var(--spacing-xl);
    }
    
    .choose-full-wrapper {
        padding: var(--spacing-xl);
    }
    
    .choose-bg {
        min-height: 400px;
        margin-top: var(--spacing-xl);
        border-radius: var(--border-radius-lg);
    }
}

@media (max-width: 767px) {
    .ptb-100 {
        padding: 50px 0;
    }
    
    .section-title-left {
        margin-bottom: 30px;
    }
    
    .section-title-left h2 {
        font-size: var(--font-size-2xl);
    }
    
    .section-title-left h4 {
        font-size: 16px;
    }
    
    .section-title-left p {
        font-size: 15px;
    }
    
    .single-team-wrapper {
        margin-bottom: 20px;
    }
    
    .choose-text-wrapper {
        padding: 18px;
        margin-bottom: 18px;
        gap: 15px;
    }
    
    .choose-icon {
        width: 60px;
        height: 60px;
    }
    
    .single-team {
        height: 250px;
    }
    
    .single-counter h2 {
        font-size: var(--font-size-4xl);
    }
}
/* ===================================
   Enhanced Sections - Global Improvements
   طھط­ط³ظٹظ†ط§طھ ط´ط§ظ…ظ„ط© ظ„ط¬ظ…ظٹط¹ ط£ظ‚ط³ط§ظ… ط§ظ„ظ…ظˆظ‚ط¹
   =================================== */

/* ===== 1. Hero Slider Section ===== */
.slider-section-four {
    position: relative;
    overflow: hidden;
    contain: layout style paint;
    content-visibility: auto;
    contain-intrinsic-size: calc(66.67vh - 100px) 100vw;
}

.hero-slider-four .hero-slider-item {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    min-height: calc(66.67vh - 100px);
    height: calc(66.67vh - 100px);
    display: flex;
    align-items: center;
    overflow: hidden;
    contain-intrinsic-size: calc(66.67vh - 100px) 100vw;
    content-visibility: auto;
}

.hero-slider-four .hero-slider-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.hero-slider-four .d-table {
    position: relative;
    z-index: 2;
}

.slider-text {
    opacity: 1;
    transform: translateX(0);
    min-height: 200px;
    contain-intrinsic-size: 200px auto;
}

/* slideInRight animation removed to improve LCP */

.slider-text h3 {
    font-size: 20px;
    color: #ffd700;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInDown 0.8s ease-out 0.2s backwards;
}

.slider-text h1 {
    font-size: 56px;
    font-size: clamp(32px, 3.5rem, 60px);
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: var(--font-primary);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 0.8s ease-out 0.4s backwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-text .typewrite {
    font-size: 22px;
    color: #ffffff;
    display: block;
    margin-bottom: 30px;
    animation: fadeIn 0.8s ease-out 0.6s backwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-button {
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

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

.slide-button .default-btn {
    padding: 18px 40px;
    font-size: 18px;
    background: #ffffff;
    color: #1a73e8;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.slide-button .default-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26, 115, 232, 0.2), transparent);
    transition: left 0.6s ease;
}

.slide-button .default-btn:hover::before {
    left: 100%;
}

.slide-button .default-btn:hover {
    background: #ffd700;
    color: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.4);
}

/* ===== 2. Services/Categories Section ===== */
.services-carousel-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.services-carousel-section .section-title-left {
    text-align: center;
}

.services-carousel-section .section-title-left h4::after {
    right: 50%;
    transform: translateX(50%);
}

.team-section-four {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.team-section-four::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23f8f9fa" fill-opacity="0.3" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>') no-repeat top center;
    background-size: cover;
    opacity: 0.5;
    pointer-events: none;
}

.team-wrapper-four .single-team-wrapper {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.team-wrapper-four .single-team-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.team-wrapper-four .single-team-wrapper:hover::before {
    opacity: 1;
}

.team-wrapper-four .single-team-wrapper:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 15px 40px rgba(26, 115, 232, 0.2);
}

.single-team-title {
    position: relative;
    z-index: 2;
}

.single-team-title h4 {
    font-size: 20px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.team-wrapper-four .single-team-wrapper:hover .single-team-title h4 {
    color: #1a73e8;
    transform: translateX(-10px);
}

.team-icon {
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
}

.team-icon:hover {
    background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* ===== 3. About Section Enhancement ===== */
.about-section-four {
    background: #ffffff;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    contain: layout style paint;
    content-visibility: auto;
    contain-intrinsic-size: 500px 100vw;
}

.about-section-four::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(26, 115, 232, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    will-change: auto;
    contain: strict;
}

.experience-video {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.experience-video:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(26, 115, 232, 0.2);
}

.experience-year {
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(26, 115, 232, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

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

.about-lists {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    border-left: 4px solid #1a73e8;
    transition: all 0.3s ease;
}

.about-lists:hover {
    background: linear-gradient(135deg, #e3f2fd 0%, #f8f9fa 100%);
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(26, 115, 232, 0.1);
}

.about-lists i {
    color: #1a73e8;
    font-size: 24px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* ===== 4. Why Choose Us Section ===== */
.choose-section {
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.03) 0%, rgba(255, 255, 255, 0.95) 100%),
                url('../assets/choose-bg-2.webp') center/cover no-repeat;
    position: relative;
}

.choose-text-wrapper {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.choose-text-wrapper:hover {
    border-color: #1a73e8;
    box-shadow: 0 15px 40px rgba(26, 115, 232, 0.15);
    transform: translateY(-8px) translateX(5px);
}

.choose-icon {
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(26, 115, 232, 0.3);
    position: relative;
    overflow: hidden;
}

.choose-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.choose-text-wrapper:hover .choose-icon::before {
    left: 100%;
}

.choose-text-wrapper:hover .choose-icon {
    transform: rotateY(360deg) scale(1.1);
}

.choose-text h4 {
    color: #1a1a1a;
    font-weight: 700;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.choose-text-wrapper:hover .choose-text h4 {
    color: #1a73e8;
}

/* ===== 5. Counter Section Enhancement ===== */
.counter-section-four {
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.95) 0%, rgba(13, 71, 161, 0.9) 100%),
                url('../assets/counter-bg.png') center/cover no-repeat fixed;
    position: relative;
    overflow: hidden;
}

.counter-section-four::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom center;
    background-size: cover;
    pointer-events: none;
}

.single-counter {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 40px 30px;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.single-counter::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.single-counter:hover::before {
    opacity: 1;
}

.single-counter:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.single-counter h2 {
    font-size: 60px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: countUp 2s ease-out;
}

@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.single-counter span {
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.single-counter p {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ===== 6. Partners Section ===== */
.partner-section-four {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.single-partner {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.single-partner:hover {
    box-shadow: 0 10px 30px rgba(26, 115, 232, 0.15);
    transform: translateY(-5px);
}

.single-partner img {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.single-partner:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* ===== 7. Testimonials Section ===== */
.testimoinal-section-four {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.single-testimoinal {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    border-left: 5px solid #1a73e8;
    transition: all 0.3s ease;
}

.single-testimoinal::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 80px;
    color: rgba(26, 115, 232, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.single-testimoinal:hover {
    box-shadow: 0 15px 45px rgba(26, 115, 232, 0.15);
    transform: translateY(-5px);
}

.single-testimoinal h3 {
    color: #1a73e8;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.single-testimoinal p {
    color: #666;
    line-height: 1.8;
    font-size: 16px;
    position: relative;
    z-index: 1;
}

.experience-videoss {
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    border-radius: 20px;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.experience-videoss::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: ripple 2s ease-out infinite;
}

@keyframes ripple {
    0% {
        width: 150px;
        height: 150px;
        opacity: 1;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

/* ===== 8. Position/CTA Section ===== */
.position-section-four {
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.05) 0%, rgba(255, 255, 255, 0.95) 100%);
    padding: 80px 0;
}

.call-us {
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    padding: 50px;
    border-radius: 20px;
    color: #ffffff;
    box-shadow: 0 15px 40px rgba(26, 115, 232, 0.3);
    position: relative;
    overflow: hidden;
}

.call-us::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.call-us h2,
.call-us h3,
.call-us p {
    position: relative;
    z-index: 1;
}

.call-us h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.call-us h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffd700;
}

.position-btn .default-btn {
    background: #ffffff;
    color: #1a73e8;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.position-btn .default-btn:hover {
    background: #ffd700;
    color: #1a1a1a;
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.4);
}

/* ===== 9. Responsive Enhancements ===== */
@media (max-width: 991px) {
    .slider-text h1 {
        font-size: 42px;
        font-size: clamp(28px, 2.625rem, 48px);
        font-family: var(--font-primary);
    }
    
    .slider-text h3 {
        font-size: 18px;
    }
    
    .single-counter h2 {
        font-size: 48px;
    }
    
    .call-us h2 {
        font-size: 28px;
    }
    
    .call-us {
        padding: 40px 30px;
    }
}

@media (max-width: 767px) {
    .hero-slider-four .hero-slider-item {
        min-height: calc(66.67vh - 70px);
aspect-ratio: 16 / 9;
        height: calc(66.67vh - 70px);

    }
    
    .hero-slider-four .owl-nav,
    .slider-section-four .owl-nav {
        display: none !important;
    }
    
    .slider-text h1 {
        font-size: 32px;
        font-size: clamp(24px, 2rem, 36px);
        font-family: var(--font-primary);
    }
    
    .slider-text h3 {
        font-size: 16px;
    }
    
    .slider-text .typewrite {
        font-size: 18px;
    }
    
    .slide-button .default-btn {
        padding: 14px 30px;
        font-size: 16px;
    }
    
    .single-counter {
        padding: 30px 20px;
    }
    
    .single-counter h2 {
        font-size: 40px;
    }
    
    .call-us {
        padding: 30px 20px;
    }
    
    .call-us h2 {
        font-size: 24px;
    }
    
    .single-testimoinal {
        padding: 30px 25px;
    }
    
    .choose-text-wrapper {
        padding: 20px;
    }
}

/* ===== 10. Scroll Animations ===== */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== 11. Loading States ===== */
.section-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.section-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 4px solid rgba(26, 115, 232, 0.2);
    border-top-color: #1a73e8;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}
/* ===================================
   Sections Distinction Styles
   طھظ…ظٹظٹط² ط§ظ„ط£ظ‚ط³ط§ظ… ط§ظ„ظ…ط®طھظ„ظپط©
   =================================== */

/* ===== Services Carousel Section ===== */
.services-carousel-section {
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
    position: relative;
}

.services-carousel-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: radial-gradient(circle at top center, rgba(26, 115, 232, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.services-carousel-section .section-title-left {
    text-align: center;
    max-width: 100%;
}

.services-carousel-section .section-title-left h4 {
    color: #1a73e8;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.services-carousel-section .section-title-left h4::after {
    display: none;
}

.services-carousel-section .section-title-left h2 {
    font-size: 38px;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.services-carousel-section .section-title-left p {
    font-size: 17px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.services-carousel-section .single-team-wrapper {
    background: #ffffff;
    border-radius: 20px;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.services-carousel-section .single-team-wrapper:hover {
    border-color: #1a73e8;
    transform: translateY(-10px) scale(1.05);
}

.services-carousel-section .team-icon.service-icon {
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    width: 50px;
    height: 50px;
}

.services-carousel-section .team-icon.service-icon:hover {
    background: linear-gradient(135deg, #0d47a1 0%, #1a73e8 100%);
    transform: translateY(-50%) scale(1.15);
}

/* ===== Projects Grid Section ===== */
.projects-grid-section {
    background: linear-gradient(135deg, #fff3e0 0%, #ffffff 100%);
    position: relative;
}

.projects-grid-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: radial-gradient(circle at top center, rgba(255, 152, 0, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.projects-grid-section .section-title-left {
    text-align: center;
    max-width: 100%;
}

.projects-grid-section .section-title-left h4 {
    color: #ff9800;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.projects-grid-section .section-title-left h4::after {
    display: none;
}

.projects-grid-section .section-title-left h2 {
    font-size: 38px;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.projects-grid-section .section-title-left h2 span {
    color: #ff9800;
}

.projects-grid-section .section-title-left p {
    font-size: 17px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.projects-grid-section .single-team-wrapper {
    background: #ffffff;
    border-radius: 20px;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.projects-grid-section .single-team-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.projects-grid-section .single-team-wrapper:hover::before {
    opacity: 1;
}

.projects-grid-section .single-team-wrapper:hover {
    border-color: #ff9800;
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 152, 0, 0.2);
}

.projects-grid-section .single-team {
    position: relative;
    z-index: 2;
}

.projects-grid-section .single-team-title {
    position: relative;
    z-index: 2;
}

.projects-grid-section .team-icon.project-icon {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    width: 50px;
    height: 50px;
}

.projects-grid-section .team-icon.project-icon:hover {
    background: linear-gradient(135deg, #f57c00 0%, #ff9800 100%);
    transform: translateY(-50%) scale(1.15) rotate(360deg);
}

.projects-grid-section .team-icon.project-icon i {
    font-size: 20px;
}

/* Join Card in Projects Section */
.projects-grid-section .join-img {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}

.projects-grid-section .join-icon {
    background: #ffffff;
}

.projects-grid-section .join-icon i {
    color: #ff9800;
}

.projects-grid-section .join-us-today h4 {
    color: #ff9800;
}

/* ===== Text Alignment Fixes ===== */
.section-title-left.home-page-four-section-title {
    margin-bottom: 50px;
}

.text-center .section-title-left {
    text-align: center;
}

.text-center .section-title-left h4::after {
    right: 50%;
    transform: translateX(50%);
}

/* ===== About Section Title Fix ===== */
.about-section-four .section-title-left h4 {
    text-align: right;
}

.about-section-four .section-title-left h4::after {
    right: 0;
    transform: none;
}

.about-section-four .section-title-left h2,
.about-section-four .section-title-left p {
    text-align: right;
}

/* ===== Choose Section Title Fix ===== */
.choose-section .section-title-left h4 {
    text-align: right;
}

.choose-section .section-title-left h4::after {
    right: 0;
    transform: none;
}

.choose-section .section-title-left h2,
.choose-section .section-title-left p {
    text-align: right;
}

/* ===== Position Section Title Fix ===== */
.position-section-four .section-title-left h4 {
    text-align: right;
}

.position-section-four .section-title-left h4::after {
    right: 0;
    transform: none;
}

.position-section-four .section-title-left h2 {
    text-align: right;
}

/* ===== Testimonial Section Title Fix ===== */
.testimoinal-section-four .section-title-left h4 {
    text-align: right;
}

.testimoinal-section-four .section-title-left h4::after {
    right: 0;
    transform: none;
}

.testimoinal-section-four .section-title-left h2 {
    text-align: right;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 991px) {
    .services-carousel-section .section-title-left h2,
    .projects-grid-section .section-title-left h2 {
        font-size: 32px;
    }
    
    .services-carousel-section .section-title-left p,
    .projects-grid-section .section-title-left p {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .services-carousel-section .section-title-left h2,
    .projects-grid-section .section-title-left h2 {
        font-size: 26px;
    }
    
    .services-carousel-section .section-title-left h4,
    .projects-grid-section .section-title-left h4 {
        font-size: 14px;
    }
    
    .services-carousel-section .section-title-left p,
    .projects-grid-section .section-title-left p {
        font-size: 15px;
    }
    
    .services-carousel-section .team-icon.service-icon,
    .projects-grid-section .team-icon.project-icon {
        width: 45px;
        height: 45px;
    }
}

/* ===== Additional Enhancements ===== */
.services-carousel-section .owl-nav button {
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%) !important;
    color: #ffffff !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.services-carousel-section .owl-nav button:hover {
    background: linear-gradient(135deg, #0d47a1 0%, #1a73e8 100%) !important;
    transform: scale(1.1);
}

.projects-grid-section .mb-50 {
    margin-bottom: 50px;
}

/* Center alignment for section headers */
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}
/* ===================================
   Sections Improvements
   طھط­ط³ظٹظ†ط§طھ ط´ط§ظ…ظ„ط© ظ„ظ„ط£ظ‚ط³ط§ظ…
   =================================== */

/* ===== 1. About Section Improvements ===== */
.about-section-four {
    padding: 80px 0;
    will-change: auto;
}

.about-section-four .experience-video {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.about-section-four .experience-video:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.about-section-four .experience-video img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    display: block;
}

.about-section-four .experience-year {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(26, 115, 232, 0.4);
    backdrop-filter: blur(10px);
}

.about-section-four .experience-year span {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    display: block;
    line-height: 1;
}

.about-section-four .experience-year h2 {
    font-size: 20px;
    color: #ffffff;
    margin: 5px 0;
}

.about-section-four .experience-year p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.about-section-four .about-text-wrapper {
    padding-right: 30px;
}

.about-section-four .about-lists {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    border-left: 4px solid #1a73e8;
    transition: all 0.3s ease;
}

.about-section-four .about-lists:hover {
    background: #e3f2fd;
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(26, 115, 232, 0.15);
}

.about-section-four .about-lists h4 {
    margin: 0;
    font-size: 16px;
    color: #1a1a1a;
}

.about-section-four .about-lists i {
    color: #1a73e8;
    margin-left: 10px;
}

/* ===== 2. Choose Section Improvements ===== */
.choose-section {
    background: #f8f9fa;
    padding: 80px 0;
    position: relative;
}

.choose-section .choose-bg {
    background-image: url('../assets/choose-bg-2.webp');
    background-size: cover;
    background-position: center;
    height: 100%;
    min-height: 600px;
    position: relative;
}

.choose-section .choose-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.85) 0%, rgba(13, 71, 161, 0.75) 100%);
}

.choose-section .choose-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
}

.choose-section .choose-full-wrapper {
    padding: 50px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.choose-section .choose-text-wrapper {
    background: #ffffff;
    padding: 30px 25px;
    border-radius: 15px;
    border: 2px solid #e0e0e0;
    margin-bottom: 25px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.choose-section .choose-text-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, #1a73e8 0%, #0d47a1 100%);
    transition: height 0.4s ease;
}

.choose-section .choose-text-wrapper:hover::before {
    height: 100%;
}

.choose-section .choose-text-wrapper:hover {
    border-color: #1a73e8;
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(26, 115, 232, 0.2);
}

.choose-section .choose-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.choose-section .choose-text-wrapper:hover .choose-icon {
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    transform: rotate(360deg) scale(1.1);
}

.choose-section .choose-icon i {
    font-size: 32px;
    color: #1a73e8;
    transition: all 0.3s ease;
}

.choose-section .choose-text-wrapper:hover .choose-icon i {
    color: #ffffff;
}

.choose-section .choose-text h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.choose-section .choose-text-wrapper:hover .choose-text h4 {
    color: #1a73e8;
}

.choose-section .choose-text p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* ===== 3. Contact/Position Section Improvements ===== */
.position-section-four {
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.position-section-four::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatBubble 20s ease-in-out infinite;
}

.position-section-four .call-us {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 50px 40px;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

.position-section-four .call-us h2 {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.4;
}

.position-section-four .call-us h3 {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.position-section-four .call-us p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.position-section-four .contact-form-wrapper {
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.position-section-four .form-group {
    margin-bottom: 25px;
}

.position-section-four .form-group label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.position-section-four .form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    color: #1a1a1a;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.position-section-four .form-control:focus {
    outline: none;
    border-color: #1a73e8;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.1);
}

.position-section-four .form-control::placeholder {
    color: #999;
}

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

.position-section-four .submit-btn {
    width: 100%;
    padding: 16px 30px;
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.position-section-four .submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: width 0.6s ease, height 0.6s ease;
}

.position-section-four .submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

.position-section-four .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(26, 115, 232, 0.4);
}

.position-section-four .submit-btn span {
    position: relative;
    z-index: 2;
}

/* ===== 4. Unified Section Titles ===== */
.section-title-left.home-page-four-section-title h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a73e8;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.section-title-left.home-page-four-section-title h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1a73e8 0%, #0d47a1 100%);
    border-radius: 3px;
}

.section-title-left.home-page-four-section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.3;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.section-title-left.home-page-four-section-title h2 span {
    color: #1a73e8;
    position: relative;
}

.section-title-left.home-page-four-section-title p {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ===== Responsive Design ===== */
@media (max-width: 991px) {
    .about-section-four {
        min-height: 600px;
        contain-intrinsic-size: 600px 100vw;
    }
    
    .about-section-four,
    .choose-section,
    .position-section-four {
        padding: 60px 0;
    }
    
    .about-section-four .about-text-wrapper {
        padding-right: 15px;
        margin-top: 30px;
    }
    
    .about-section-four .experience-video img {
        max-height: 500px;
    }
    
    .choose-section .choose-full-wrapper {
        padding: 40px 30px;
    }
    
    .choose-section .choose-bg {
        min-height: 400px;
        margin-top: 30px;
    }
    
    .position-section-four .call-us,
    .position-section-four .contact-form-wrapper {
        padding: 40px 30px;
        margin-bottom: 30px;
    }
    
    .section-title-left.home-page-four-section-title h2 {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .about-section-four {
        min-height: 550px;
        contain-intrinsic-size: 550px 100vw;
    }
    
    .about-section-four,
    .choose-section,
    .position-section-four {
        padding: 50px 0;
    }
    
    .about-section-four .experience-video img {
        max-height: 400px;
    }
    
    .about-section-four .experience-year {
        bottom: 20px;
        left: 20px;
        padding: 20px;
    }
    
    .about-section-four .experience-year span {
        font-size: 36px;
    }
    
    .choose-section .choose-full-wrapper {
        padding: 30px 20px;
    }
    
    .choose-section .choose-text-wrapper {
        padding: 25px 20px;
    }
    
    .choose-section .choose-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }
    
    .choose-section .choose-icon i {
        font-size: 28px;
    }
    
    .position-section-four .call-us h2 {
        font-size: 26px;
    }
    
    .section-title-left.home-page-four-section-title h2 {
        font-size: 28px;
    }
    
    .section-title-left.home-page-four-section-title h4 {
        font-size: 14px;
    }
}

@media (max-width: 575px) {
    .about-section-four {
        min-height: 700px;
        contain-intrinsic-size: 700px 100vw;
    }
    
    .about-section-four .experience-video img {
        max-height: 350px;
    }
    
    .choose-section .choose-bg {
        min-height: 300px;
    }
    
    .position-section-four .call-us,
    .position-section-four .contact-form-wrapper {
        padding: 30px 20px;
    }
}

/* ===== Print Styles ===== */
@media print {
    .about-section-four,
    .choose-section,
    .position-section-four {
        break-inside: avoid;
    }
    
    .position-section-four {
        background: #ffffff;
        color: #000000;
    }
}
/* ===================================
   Features Bar Section
   =================================== */

.features-bar-section {
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 240px;
    contain: layout style paint;
    content-visibility: auto;
    contain-intrinsic-size: 240px 100vw;
}

.features-bar-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
    will-change: auto;
    contain: layout style paint;
}

.features-bar-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    will-change: auto;
    contain: layout style paint;
}

@keyframes floatBubble {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-50px, 50px) scale(1.1);
    }
}

.features-bar-wrapper {
    position: relative;
    z-index: 2;
    padding: 40px 0;
    will-change: auto;
    min-height: 160px;
}

/* Feature Bar Item */
.feature-bar-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    height: 100%;
}

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

.feature-bar-item:hover::before {
    left: 100%;
}

.feature-bar-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Icon */
.feature-bar-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
}

.feature-bar-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

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

.feature-bar-item:hover .feature-bar-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(360deg) scale(1.1);
}

.feature-bar-icon i {
    font-size: 28px;
    color: #ffffff;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.feature-bar-item:hover .feature-bar-icon i {
    transform: scale(1.2);
}

/* Content */
.feature-bar-content {
    flex: 1;
}

.feature-bar-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 5px 0;
    transition: all 0.3s ease;
}

.feature-bar-item:hover .feature-bar-content h4 {
    transform: translateX(-5px);
}

.feature-bar-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    transition: all 0.3s ease;
}

.feature-bar-item:hover .feature-bar-content p {
    color: rgba(255, 255, 255, 1);
    transform: translateX(-5px);
}

/* Decorative Elements */
.feature-bar-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 40px 40px;
    border-color: transparent transparent rgba(255, 255, 255, 0.1) transparent;
    transition: all 0.3s ease;
}

.feature-bar-item:hover::after {
    border-width: 0 0 60px 60px;
    border-color: transparent transparent rgba(255, 255, 255, 0.2) transparent;
}

/* Responsive Design */
@media (max-width: 991px) {
    .features-bar-section {
        min-height: 200px;
        contain-intrinsic-size: 200px 100vw;
    }
    
    .features-bar-wrapper {
        padding: 30px 0;
    }
    
    .features-bar-wrapper .row {
        margin-right: -15px;
        margin-left: -15px;
        row-gap: 20px;
    }
    
    .features-bar-wrapper .row > [class*="col-"] {
        padding-right: 15px;
        padding-left: 15px;
        margin-bottom: 0;
    }
    
    .feature-bar-item {
        padding: 18px 12px;
        margin-bottom: 0;
        gap: 12px;
        height: 100%;
    }
    
    .feature-bar-icon {
        width: 55px;
        height: 55px;
        min-width: 55px;
    }
    
    .feature-bar-icon i {
        font-size: 24px;
    }
    
    .feature-bar-content h4 {
        font-size: 16px;
    }
    
    .feature-bar-content p {
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .features-bar-section {
        min-height: 240px;
        contain-intrinsic-size: 240px 100vw;
    }
    
    .features-bar-wrapper {
        padding: 25px 0;
    }
    
    .features-bar-wrapper .row {
        margin-right: -8px;
        margin-left: -8px;
        row-gap: 15px;
    }
    
    .features-bar-wrapper .row > [class*="col-"] {
        padding-right: 8px;
        padding-left: 8px;
        margin-bottom: 0;
    }
    
    .feature-bar-item {
        padding: 15px 12px;
        margin-bottom: 0;
        gap: 10px;
        height: 100%;
    }
    
    .feature-bar-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }
    
    .feature-bar-icon i {
        font-size: 22px;
    }
    
    .feature-bar-content h4 {
        font-size: 15px;
        margin-bottom: 3px;
    }
    
    .feature-bar-content p {
        font-size: 12px;
        line-height: 1.4;
    }
}

@media (max-width: 575px) {
    .features-bar-section {
        min-height: 320px;
        contain-intrinsic-size: 320px 100vw;
    }
    
    .features-bar-wrapper {
        padding: 20px 0;
        min-height: 280px;
    }
    
    .features-bar-wrapper .row {
        margin-right: -8px;
        margin-left: -8px;
    }
    
    .features-bar-wrapper .row > [class*="col-"] {
        padding-right: 8px;
        padding-left: 8px;
    }
    
    .feature-bar-item {
        padding: 15px 10px;
        margin-bottom: 10px;
        gap: 8px;
        flex-direction: column;
        text-align: center;
    }
    
    .col-12 .feature-bar-item {
        flex-direction: row;
        text-align: right;
        justify-content: flex-start;
        padding: 18px 15px;
    }
    
    .col-12 .feature-bar-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }
    
    .col-12 .feature-bar-content h4 {
        font-size: 16px;
    }
    
    .col-12 .feature-bar-content p {
        font-size: 13px;
    }
    
    .feature-bar-icon {
        width: 45px;
        height: 45px;
        min-width: 45px;
    }
    
    .feature-bar-icon i {
        font-size: 20px;
    }
    
    .feature-bar-content h4 {
        font-size: 14px;
        margin-bottom: 2px;
    }
    
    .feature-bar-content p {
        font-size: 11px;
        line-height: 1.3;
    }
}

/* Alternative Style - Minimal */
.features-bar-section.minimal-style {
    background: #ffffff;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.features-bar-section.minimal-style::before,
.features-bar-section.minimal-style::after {
    display: none;
}

.features-bar-section.minimal-style .feature-bar-item {
    background: transparent;
    border: none;
    border-right: 1px solid #e0e0e0;
    border-radius: 0;
    padding: 30px 20px;
    margin-bottom: 0;
}

.features-bar-section.minimal-style .feature-bar-item:last-child {
    border-right: none;
}

.features-bar-section.minimal-style .feature-bar-icon {
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
}

.features-bar-section.minimal-style .feature-bar-content h4 {
    color: #1a1a1a;
}

.features-bar-section.minimal-style .feature-bar-content p {
    color: #666;
}


/* Print Styles */
@media print {
    .features-bar-section {
        background: #ffffff;
        border: 1px solid #ddd;
    }
    
    .features-bar-section::before,
    .features-bar-section::after {
        display: none;
    }
    
    .feature-bar-item {
        background: transparent;
        border: 1px solid #ddd;
        break-inside: avoid;
    }
    
    .feature-bar-icon {
        background: #f5f5f5;
    }
    
    .feature-bar-icon i,
    .feature-bar-content h4,
    .feature-bar-content p {
        color: #000;
    }
}

/* Accessibility */
.feature-bar-item:focus-within {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 4px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .features-bar-section::after,
    .feature-bar-icon::before {
        animation: none;
    }
    
    .feature-bar-item,
    .feature-bar-icon,
    .feature-bar-content h4,
    .feature-bar-content p {
        transition: none;
    }
}
/* ===================================
   Artistic Project Cards
   ظƒط§ط±ط¯ط§طھ ط§ظ„ظ…ط´ط§ط±ظٹط¹ ط§ظ„ظپظ†ظٹط©
   =================================== */

.project-card-artistic {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.project-card-artistic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.05) 0%, rgba(255, 193, 7, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.project-card-artistic:hover::before {
    opacity: 1;
}

.project-card-artistic:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(255, 152, 0, 0.25);
}

/* Card Link */
.project-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    position: relative;
    z-index: 2;
}

/* Image Wrapper - Golden Rule: CSS controls shape, srcset controls quality */
.project-card-image-wrapper {
    --layout-ratio: 0.30; /* 3 columns on desktop */
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f5f5f5;
}

.project-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card-artistic:hover .project-card-image {
    transform: scale(1.15) rotate(2deg);
}

/* Overlay */
.project-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.9) 0%, rgba(251, 140, 0, 0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.project-card-artistic:hover .project-card-overlay {
    opacity: 1;
}

/* Icon in Overlay */
.project-card-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transform: scale(0) rotate(-180deg);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.project-card-artistic:hover .project-card-icon {
    transform: scale(1) rotate(0deg);
}

.project-card-icon i {
    font-size: 28px;
    color: #ffffff;
}

/* Card Content */
.project-card-content {
    padding: 30px 25px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 280px;
}

.project-card-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 25px;
    right: 25px;
    height: 3px;
    background: linear-gradient(90deg, #ff9800 0%, #ffc107 50%, transparent 100%);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.project-card-artistic:hover .project-card-content::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Card Header */
.project-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.project-card-number {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s ease;
}

.project-card-artistic:hover .project-card-number {
    transform: scale(1.1);
}

.project-card-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, #ff9800 0%, transparent 100%);
    position: relative;
    overflow: hidden;
}

.project-card-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, #ffc107 50%, transparent 100%);
    transition: left 0.6s ease;
}

.project-card-artistic:hover .project-card-line::after {
    left: 100%;
}

/* Card Title */
.project-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 15px 0;
    line-height: 1.4;
    transition: color 0.3s ease;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.project-card-artistic:hover .project-card-title {
    color: #ff9800;
}

/* Card Description */
.project-card-description {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin: 0 0 20px 0;
    height: 76px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Card Footer */
.project-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    margin-top: auto;
}

.project-card-cta {
    font-size: 15px;
    font-weight: 600;
    color: #ff9800;
    transition: all 0.3s ease;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.project-card-artistic:hover .project-card-cta {
    transform: translateX(-5px);
}

.project-card-footer i {
    font-size: 20px;
    color: #ff9800;
    transition: all 0.3s ease;
}

.project-card-artistic:hover .project-card-footer i {
    transform: translateX(-8px);
    color: #f57c00;
}

/* Decorative Corner */
.project-card-artistic::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 60px 60px 0;
    border-color: transparent #fff3e0 transparent transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.project-card-artistic:hover::after {
    opacity: 1;
}

/* Projects Row Spacing */
.projects-row {
    margin-bottom: -30px;
}

.projects-row > [class*="col-"] {
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .project-card-image-wrapper {
        --layout-ratio: 0.46; /* 2 columns on tablet */
        aspect-ratio: 4 / 3;
    }
    
    .project-card-title {
        font-size: 20px;
    }
    
    .project-card-number {
        font-size: 28px;
    }
    
    .project-card-content {
        min-height: 260px;
    }
    
    .project-card-description {
        height: 68px;
    }
}

@media (max-width: 767px) {
    .project-card-image-wrapper {
        --layout-ratio: 0.92; /* 1 column on mobile */
        aspect-ratio: 4 / 3;
    }
    
    .project-card-content {
        padding: 25px 20px;
        min-height: 240px;
    }
    
    .project-card-title {
        font-size: 18px;
    }
    
    .project-card-description {
        font-size: 14px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        height: 56px;
    }
    
    .project-card-number {
        font-size: 24px;
    }
    
    .project-card-icon {
        width: 60px;
        height: 60px;
    }
    
    .project-card-icon i {
        font-size: 24px;
    }
    
    .projects-row > [class*="col-"] {
        margin-bottom: 25px;
    }
}

@media (max-width: 575px) {
    .project-card-image-wrapper {
        --layout-ratio: 0.92; /* 1 column on small mobile */
    }
    
    .project-card-content {
        min-height: 220px;
    }
    
    .project-card-description {
        height: 48px;
    }
    
    .projects-row > [class*="col-"] {
        margin-bottom: 20px;
    }
}

/* Animation Keyframes */
@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Loading State */
.project-card-artistic.loading {
    pointer-events: none;
}

.project-card-artistic.loading .project-card-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    animation: shimmer 1.5s infinite;
}

/* Accessibility */
.project-card-link:focus {
    outline: 3px solid #ff9800;
    outline-offset: 4px;
}

.project-card-link:focus-visible {
    outline: 3px solid #ff9800;
    outline-offset: 4px;
}

/* Print Styles */
@media print {
    .project-card-artistic {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .project-card-overlay,
    .project-card-icon {
        display: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .project-card-artistic {
        border: 2px solid #000;
    }
    
    .project-card-title,
    .project-card-description {
        color: #000;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .project-card-artistic,
    .project-card-image,
    .project-card-icon,
    .project-card-number,
    .project-card-cta,
    .project-card-footer i {
        transition: none;
    }
    
    .project-card-artistic:hover {
        transform: none;
    }
}

.partner-section,
.partner-section-four {
    background: var(--light-color);
    padding: 80px 0;
}

.partner-wrapper {
    display: flex;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.single-partner {
    flex: 0 0 auto;
    padding: var(--spacing-lg);
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    min-height: 120px;
}

.single-partner:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.single-partner a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.single-partner img {
    max-width: 150px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all var(--transition-base);
}

.single-partner:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.position-section,
.position-section-four {
    background: url('../assets/contact-bg.webp') center/cover no-repeat;
    padding: 80px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.position-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 115, 232, 0.92);
    pointer-events: none;
}

.call-us {
    position: relative;
    z-index: 2;
}

.call-us h2 {
    font-size: var(--font-size-4xl);
    color: var(--white);
    margin-bottom: var(--spacing-lg);
    font-weight: 700;
}

.call-us h3 {
    font-size: var(--font-size-xl);
    color: var(--accent-color);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.call-us p {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.position-btn {
    margin-top: var(--spacing-xl);
}

.position-btn .default-btn {
    background: var(--accent-color);
    color: var(--dark-color);
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: var(--font-size-xl);
    font-weight: 700;
}

.position-btn .default-btn:hover {
    background: var(--white);
    color: var(--primary-color);
}

.testimoinal-section-four {
    background: url('../assets/testi-bg.webp') center/cover no-repeat;
    position: relative;
}

.testimoinal-section-four::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.92);
    z-index: 0;
}

.testimoinal-section-four .container,
.testimoinal-section-four .row,
.testimoinal-section-four .section-title-left {
    position: relative;
    z-index: 2;
}

.testimoinal-wrapper-four {
    margin-top: var(--spacing-xl);
    position: relative;
    z-index: 2;
}

.testimoinal-wrapper-four .single-testimoinal {
    display: none;
}

.testimoinal-wrapper-four .single-testimoinal:first-child {
    display: block;
}

.single-testimoinal {
    background: rgba(255, 255, 255, 0.95);
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-lg);
    border-right: 4px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    min-height: 250px;
    backdrop-filter: blur(10px);
}

.single-testimoinal:hover {
    box-shadow: var(--shadow-xl);
    transform: translateX(-5px);
    background: rgba(255, 255, 255, 1);
}

.testimony-nav-buttons {
    position: absolute;
    top: 50%;
    left: -60px;
    right: -60px;
    transform: translateY(-50%);
    display: none;
    justify-content: space-between;
    z-index: 2;
    pointer-events: none;
}

.testimony-nav-buttons button {
    pointer-events: all;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border: none;
    border-radius: var(--border-radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    color: var(--white);
    font-weight: bold;
}

.testimony-nav-buttons button:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

.testimony-dots {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-top: var(--spacing-xl);
    position: relative;
    z-index: 2;
}

.testimony-dot {
    width: 12px;
    height: 12px;
    background: var(--gray-400);
    border-radius: var(--border-radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.testimony-dot:hover,
.testimony-dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

.single-testimoinal h3 {
    font-size: var(--font-size-xl);
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.single-testimoinal p {
    font-size: var(--font-size-base);
    line-height: 1.8;
    color: var(--gray-700);
    font-style: italic;
}

.single-testimoinal::before {
    content: '"';
    font-size: var(--font-size-5xl);
    color: var(--primary-color);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 0;
    display: block;
    margin-bottom: var(--spacing-md);
}

.experience-videoss {
    display: none;
}

@media (max-width: 991px) {
    .call-us h2 {
        font-size: var(--font-size-3xl);
    }
    
    .experience-videoss {
        min-height: 300px;
        margin-top: var(--spacing-xl);
    }
}

@media (max-width: 991px) {
    .testimony-nav-buttons {
        left: -40px;
        right: -40px;
    }
    
    .testimony-nav-buttons button {
        width: 45px;
        height: 45px;
        font-size: var(--font-size-lg);
    }
}

@media (max-width: 767px) {
    .partner-wrapper {
        gap: var(--spacing-md);
    }
    
    .single-partner {
        min-width: 150px;
        min-height: 100px;
        padding: var(--spacing-md);
    }
    
    .call-us h2 {
        font-size: var(--font-size-2xl);
    }
    
    .call-us h3 {
        font-size: var(--font-size-lg);
    }
    
    .testimony-nav-buttons {
        left: 0;
        right: 0;
        padding: 0 var(--spacing-sm);
    }
    
    .testimony-nav-buttons button {
        width: 40px;
        height: 40px;
        font-size: var(--font-size-base);
    }
    
    .single-testimoinal {
        padding: var(--spacing-lg);
        min-height: 200px;
    }
}
.header {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: var(--z-sticky);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12);
    background: #ffffff;
}

.header-wrapper-one,
.header-wrapper-four {
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    background: linear-gradient(135deg, var(--primary-color) 0%, #2563eb 100%);
    position: relative;
    overflow: hidden;
    min-height: 100px;
    display: flex;
    align-items: center;
}

.header-wrapper-one::before,
.header-wrapper-four::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer-header 3s infinite;
    will-change: transform;
    transform: translateZ(0);
    pointer-events: none;
    contain: strict;
}

@keyframes shimmer-header {
    0% { 
        left: -100%; 
        transform: translateZ(0);
    }
    100% { 
        left: 100%; 
        transform: translateZ(0);
    }
}

.navbar-brand {
    display: flex;
    align-items: center;
    height: 100%;
    transition: opacity var(--transition-fast);
}

.navbar-brand:hover {
opacity: 0.8;
}

.navbar-brand img {
    width: auto;
    height: auto;
    max-height: 60px;
    object-fit: contain;
    aspect-ratio: 300 / 90;
}

.contact-info-wrapper {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 15px;
height: 100%;
    justify-content: flex-end;
    gap: 15px;
    height: 100%;
}

.contact-info {
    position: relative;
    padding: 12px 18px;
    padding-right: 60px;
    padding-left: 20px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    min-height: 65px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    margin: 0;
    flex: 1;
    max-width: 280px;
}

.contact-info:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info p,
.contact-info a {
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
    color: var(--white);
    font-weight: 500;
    transition: color 0.3s ease;
    text-align: right;
    position: relative;
    z-index: 1;
}

.contact-info a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.contact-info .clock-icon,
.contact-info .call-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #fbbf24 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
    transition: all 0.3s ease;
    z-index: 2;
}

.contact-info:hover .clock-icon,
.contact-info:hover .call-icon {
    transform: translateY(-50%) scale(1.1) rotate(5deg);
    box-shadow: 0 6px 18px rgba(251, 191, 36, 0.4);
}

.right-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.right-btn a {
    display: block;
    padding: var(--spacing-sm);
    cursor: pointer;
}

.contact-info-three {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0;
}

.contact-info-three li {
    list-style: none;
}

.contact-info-three li span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
}

.right-btn a:hover .contact-info-three li span {
    background: var(--accent-color);
}

.navbar-area {
    background: linear-gradient(135deg, #1e40af 0%, var(--primary-color) 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.construction-nav-one,
.construction-nav-four {
    padding: 0;
}

.navbar {
    padding: 0;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 5px;
    width: 100%;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--accent-color);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    transform: translateY(-2px);
}

.nav-link:hover::before {
    width: 80%;
}

.nav-item.active .nav-link {
    background: rgba(255, 255, 255, 0.2);
}

.nav-item.active .nav-link::before {
    width: 80%;
}

/* Dropdown Arrow Indicator */
.nav-link.dropdown-toggle::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23ffffff' d='M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
    vertical-align: middle;
}

.nav-item:hover .nav-link.dropdown-toggle::after {
    transform: rotate(180deg);
}

.nav-item.get-free-quote .nav-link {
    background: linear-gradient(135deg, var(--accent-color) 0%, #fbbf24 100%);
    color: var(--dark-color);
    border-radius: 10px;
    font-weight: 700;
    margin-right: auto;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
    padding: 14px 28px;
    position: relative;
    overflow: hidden;
}

.nav-item.get-free-quote .nav-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

.nav-item.get-free-quote .nav-link:hover::before {
    width: 300px;
    height: 300px;
}

.nav-item.get-free-quote .nav-link:hover {
    background: linear-gradient(135deg, #fbbf24 0%, var(--accent-color) 100%);
    color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    min-width: 220px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: var(--z-dropdown);
    border: 1px solid rgba(59, 130, 246, 0.1);
    margin-top: 8px;
}

.nav-item:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu .nav-link {
    color: var(--dark-color);
    padding: 12px 20px;
    font-size: 14px;
    position: relative;
}

.dropdown-menu .nav-link::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 70%;
    background: var(--primary-color);
    transition: width 0.3s ease;
    border-radius: 4px 0 0 4px;
}

.dropdown-menu .nav-link:hover {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.05) 0%, transparent 100%);
    color: var(--primary-color);
    padding-right: 25px;
}

.dropdown-menu .nav-link:hover::before {
    width: 4px;
}

.dropdown-menu .nav-item {
    position: relative;
}

/* Submenu Arrow Indicator */
.dropdown-menu .nav-link.dropdown-toggle::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    position: absolute;
    left: 15px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='currentColor' d='M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s ease;
}

.dropdown-menu .nav-link.dropdown-toggle:hover::after {
    left: 10px;
}

.dropdown-menu .dropdown-menu {
    right: 100%;
    top: 0;
    margin-right: var(--spacing-xs);
}

.mobile-nav {
    display: none;
    padding: var(--spacing-md);
    background: var(--primary-color);
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
}

@media (min-width: 992px) {
    .mobile-nav {
        display: none !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .header-wrapper-one,
    .header-wrapper-four {
        padding: 20px 0;
    }
    
    .navbar-brand img {
        max-height: 55px;
    }
    
    .contact-info {
        min-height: 60px;
        padding: 12px 16px;
        padding-right: 50px;
        max-width: 240px;
    }
    
    .right-btn a {
        height: 60px;
        width: 60px;
        padding: 12px;
    }
    
    .nav-link {
        font-size: 15px;
        padding: 10px 12px;
    }
}

@media (max-width: 991px) {
    .header-wrapper-one,
    .header-wrapper-four {
        display: none;
    }
    
    .mobile-nav {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
    }
    
    .construction-nav-one,
    .construction-nav-four {
        display: none;
    }
}

@media (max-width: 767px) {
    .mobile-nav {
        padding: 12px;
    }
    
    .mobile-nav .logo img {
        max-height: 40px;
    }
    
    .mobile-menu-toggle span {
        width: 25px;
    }
    
    .contact-info-wrapper {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .contact-info {
        min-height: 55px;
        padding: 8px 12px;
        padding-right: 45px;
        padding-left: 15px;
        max-width: 100%;
    }
    
    .contact-info p,
    .contact-info a {
        font-size: 12px;
    }
    
    .contact-info .clock-icon,
    .contact-info .call-icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
        right: 10px;
    }
}
.mobile-nav {
    display: none;
    padding: var(--spacing-md);
    background: var(--primary-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: var(--z-sticky);
    justify-content: space-between;
    align-items: center;
}

.mobile-nav .logo {
    display: flex;
    align-items: center;
}

.mobile-nav .logo img {
    width: auto;
    height: auto;
    max-height: 50px;
    object-fit: contain;
    aspect-ratio: 300 / 90;
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: var(--spacing-sm);
    background: none;
    border: none;
}

.mobile-menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--white);
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-base);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
}

.sidebar-modal .modal {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    will-change: transform;
    pointer-events: none;
}

.sidebar-modal .modal.show {
    transform: translateX(0);
    pointer-events: auto;
}

#myModal2 {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    will-change: transform;
    pointer-events: none;
}

#myModal2.show {
    transform: translateX(0);
    pointer-events: auto;
}

.modal-backdrop,
#modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    display: none;
    -webkit-tap-highlight-color: transparent;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.modal-backdrop.show,
#modal-backdrop.show {
    opacity: 1;
    visibility: visible;
    display: block;
}

.mobile-menu-header,
.modal-header {
    padding: 15px 18px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2563eb 100%);
    flex-shrink: 0;
    min-height: 65px;
    position: relative;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu-header h3,
.modal-header h2,
.modal-title {
    margin: 0;
    font-size: var(--font-size-lg);
    color: var(--white);
    flex: 1;
}

.modal-header .modal-title img {
    max-height: 40px;
    width: auto;
    display: block;
}

.modal-close,
.close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    font-size: var(--font-size-xl);
    color: var(--white);
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    border-radius: 8px;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
}

.modal-close:hover,
.close:hover {
    background: rgba(255, 255, 255, 0.3);
    color: var(--accent-color);
    transform: scale(1.05) rotate(90deg);
}

.close span {
    font-size: var(--font-size-2xl);
}

.mobile-menu-body,
.modal-body {
    padding: 20px;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    scroll-behavior: smooth;
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: var(--gray-100);
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--gray-500);
}

.modal-content {
    background: var(--white);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-dialog {
    margin: 0;
    height: 100%;
    width: 100%;
    max-width: none;
}

.sidebar-modal-widget {
    margin-bottom: 30px;
    animation: fadeInUp 0.4s ease forwards;
    opacity: 0;
}

.sidebar-modal-widget:nth-child(1) {
    animation-delay: 0.1s;
}

.sidebar-modal-widget:nth-child(2) {
    animation-delay: 0.2s;
}

.sidebar-modal-widget:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal.show .sidebar-modal-widget {
    opacity: 1;
}

.sidebar-modal-widget .title {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    padding-right: 12px;
    border-bottom: 3px solid var(--primary-color);
    font-weight: 700;
    position: relative;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.05) 0%, transparent 100%);
    border-radius: 4px;
}

.sidebar-modal-widget .title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 60px;
    height: 2px;
    background: var(--accent-color);
}

.sidebar-modal-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-modal-widget ul li {
    margin-bottom: var(--spacing-sm);
}

.sidebar-modal-widget ul li a {
    color: var(--dark-color);
    font-size: var(--font-size-base);
    transition: all var(--transition-fast);
    display: block;
    padding: var(--spacing-xs) 0;
}

.sidebar-modal-widget ul li a:hover {
    color: var(--primary-color);
    padding-right: var(--spacing-sm);
}

.sidebar-modal-widget ul li i {
    margin-left: var(--spacing-sm);
    color: var(--primary-color);
}

.sidebar-modal-widget ul li span {
    display: block;
    color: var(--gray-600);
    font-size: var(--font-size-sm);
    margin-top: var(--spacing-xs);
}

.sidebar-modal-widget .social-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: flex-start;
    align-items: center;
}

.sidebar-modal-widget .social-list li {
    margin: 0;
    flex: 0 0 auto;
}

.sidebar-modal-widget .social-list a {
    width: auto;
    height: auto;
    background: transparent;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    transition: all 0.3s ease;
    box-shadow: none;
    font-size: 28px;
    padding: 0;
}

.sidebar-modal-widget .social-list a:hover {
    background: transparent;
    color: var(--accent-color);
    transform: translateY(-3px) scale(1.15);
    padding: 0;
    box-shadow: none;
}

.mobile-menu-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.mobile-menu-nav > li {
    border-bottom: 1px solid var(--gray-200);
    position: relative;
    width: 100%;
}

.mobile-menu-nav > li:last-child {
    border-bottom: none;
}

.mobile-menu-nav a {
    display: block;
    padding: 15px 12px;
    color: var(--dark-color);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.25s ease;
    border-radius: 8px;
    text-decoration: none;
    width: 100%;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    overflow: hidden;
}

.mobile-menu-nav > li > a {
    font-size: 16px;
    font-weight: 600;
    padding: 16px 10px;
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a:active {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    color: var(--primary-color);
    padding-right: 16px;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.mobile-menu-nav .menu-item-with-children {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    position: relative;
}

.mobile-menu-nav .menu-link {
    flex: 1;
    display: block;
    padding: 16px 12px;
    color: var(--dark-color);
    font-size: 16px;
    font-weight: 600;
    transition: all 0.25s ease;
    border-radius: 8px;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: auto;
    position: relative;
}

.mobile-menu-nav .menu-link.more-text {
    cursor: default;
    pointer-events: none;
}

.mobile-menu-nav .menu-link:hover,
.mobile-menu-nav .menu-link:active {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    color: var(--primary-color);
    padding-right: 16px;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.mobile-menu-nav .dropdown-toggle-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-radius: 8px;
    transition: all 0.25s ease;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.mobile-menu-nav .dropdown-toggle-icon::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%233b82f6' d='M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s ease;
}

.mobile-menu-nav .dropdown-toggle-icon:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.mobile-menu-nav .dropdown-toggle-icon:hover::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23ffffff' d='M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z'/%3E%3C/svg%3E");
}

.mobile-menu-nav .dropdown-toggle-icon.active::after {
    transform: rotate(-180deg);
}

.mobile-menu-nav .dropdown-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.03) 0%, rgba(59, 130, 246, 0.01) 100%);
    border-radius: 10px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, padding 0.3s ease;
    opacity: 0;
    display: block;
    visibility: hidden;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    transform: none !important;
    box-shadow: none !important;
    min-width: auto !important;
    width: 100%;
    margin-top: 8px;
    border: 1px solid rgba(59, 130, 246, 0.08);
    pointer-events: none;
}

.mobile-menu-nav .dropdown-menu.show {
    max-height: 2000px !important;
    opacity: 1 !important;
    padding: 10px !important;
    padding-right: 15px !important;
    overflow: visible !important;
    display: block !important;
    visibility: visible !important;
    pointer-events: auto;
}

.mobile-menu-nav .dropdown-menu li {
    border-bottom: 1px solid var(--gray-200);
    display: block !important;
    visibility: visible !important;
}

.mobile-menu-nav .dropdown-menu li:last-child {
    border-bottom: none;
}

.mobile-menu-nav .dropdown-menu a {
    font-size: 14px;
    padding: 12px 10px;
    color: var(--gray-700);
    font-weight: 400;
    display: block !important;
    visibility: visible !important;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-nav .dropdown-menu a:hover,
.mobile-menu-nav .dropdown-menu a:active {
    background: rgba(0, 0, 0, 0.05);
    color: var(--primary-color);
}

.mobile-menu-nav .dropdown-menu .dropdown-menu {
    padding-right: var(--spacing-lg);
    background: var(--white);
    margin-top: 8px;
    border-radius: 8px;
}

.mobile-menu-nav > li {
    position: relative;
}

.mobile-menu-nav .menu-item-with-children {
    position: relative;
    z-index: 1;
}

.mobile-menu-nav .get-quote-link {
    background: linear-gradient(135deg, var(--accent-color) 0%, #fbbf24 100%);
    color: var(--dark-color);
    font-weight: 700;
    text-align: center;
    margin-top: 15px;
    padding: 16px 10px !important;
    border-radius: 10px;
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
    position: relative;
    overflow: hidden;
}

.mobile-menu-nav .get-quote-link:hover,
.mobile-menu-nav .get-quote-link:active {
    background: linear-gradient(135deg, #fbbf24 0%, var(--accent-color) 100%);
    color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
    padding-right: 10px !important;
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    transition: all 0.25s ease;
    border: none;
}

.contact-info-list li:hover {
    transform: translateX(-3px);
}

.contact-info-list li i {
    font-size: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.contact-info-list li div {
    flex: 1;
    min-width: 0;
}

.contact-info-list li strong {
    display: none;
}

.contact-info-list li span,
.contact-info-list li a {
    display: block;
    color: var(--dark-color);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    word-break: break-word;
    transition: color 0.2s ease;
}

.contact-info-list li a:hover {
    color: var(--primary-color);
}

.sidebar-modal-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid rgba(59, 130, 246, 0.1);
    text-align: center;
}

.sidebar-modal-footer .copyright-text {
    margin: 0;
    padding: 12px 15px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(59, 130, 246, 0.02) 100%);
    border-radius: 8px;
    color: var(--gray-600);
    font-size: 13px;
    line-height: 1.6;
    font-weight: 500;
}

@media (min-width: 992px) {
    .mobile-menu-toggle,
    [data-toggle="modal"] {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .mobile-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .construction-nav-one,
    .construction-nav-four {
        display: none !important;
    }
    
    .header-wrapper-one,
    .header-wrapper-four {
        display: none;
    }
}

@media (min-width: 769px) and (max-width: 991px) {
    #myModal2,
    .sidebar-modal .modal {
        width: 70%;
        max-width: 380px;
    }
    
    .modal-header {
        padding: 14px 18px;
        min-height: 66px;
    }
    
    .modal-header .modal-title img {
        max-height: 40px;
    }
    
    .modal-close,
    .close {
        width: 36px;
        height: 36px;
    }
    
    .sidebar-modal-widget .title {
        font-size: 19px;
    }
    
    .mobile-menu-nav > li > a {
        font-size: 17px;
        padding: 18px 14px;
    }
    
    .mobile-menu-nav .dropdown-toggle-icon {
        width: 46px;
        height: 46px;
    }
    
    .contact-info-list li {
        padding: 16px;
    }
    
    .sidebar-modal-widget .social-list {
        gap: 18px;
    }
    
    .sidebar-modal-widget .social-list a {
        font-size: 30px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    #myModal2,
    .sidebar-modal .modal {
        width: 80%;
        max-width: 340px;
    }
    
    .modal-header {
        padding: 14px 16px;
        min-height: 64px;
    }
    
    .modal-header .modal-title img {
        max-height: 38px;
    }
    
    .modal-close,
    .close {
        width: 34px;
        height: 34px;
    }
    
    .sidebar-modal-widget .title {
        font-size: 18px;
    }
    
    .mobile-menu-nav > li > a {
        font-size: 16px;
        padding: 16px 12px;
    }
    
    .sidebar-modal-widget .social-list {
        gap: 16px;
    }
    
    .sidebar-modal-widget .social-list a {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    #myModal2,
    .sidebar-modal .modal {
        width: 92%;
        max-width: 300px;
    }
    
    .modal-header {
        padding: 12px 15px;
        min-height: 60px;
    }
    
    .modal-header .modal-title img {
        max-height: 35px;
    }
    
    .modal-close,
    .close {
        width: 32px;
        height: 32px;
        font-size: var(--font-size-lg);
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .mobile-menu-nav .menu-link {
        font-size: 15px;
        padding: 14px 8px;
    }
    
    .mobile-menu-nav .dropdown-toggle-icon {
        width: 40px;
        height: 40px;
    }
    
    .sidebar-modal-widget {
        margin-bottom: 25px;
    }
    
    .sidebar-modal-widget .title {
        font-size: 16px;
        padding-bottom: 8px;
    }
    
    .contact-info-list li {
        padding: 12px;
        gap: 12px;
    }
    
    .sidebar-modal-widget .social-list {
        gap: 14px;
    }
    
    .sidebar-modal-widget .social-list a {
        font-size: 26px;
    }
    
    .contact-info-list li {
        margin-bottom: 10px;
    }
    
    .contact-info-list li i {
        font-size: 18px;
        width: 22px;
    }
    
    .contact-info-list li span,
    .contact-info-list li a {
        font-size: 13px;
    }
    
    .sidebar-modal-footer {
        margin-top: 20px;
        padding-top: 15px;
    }
    
    .sidebar-modal-footer .copyright-text {
        font-size: 12px;
        padding: 10px 12px;
    }
}

@media (min-width: 992px) {
    #myModal2 {
        display: none !important;
    }
}
.footer,
.footer-top,
.footer-top-four {
    background: url('../assets/footer-bg.webp') center/cover no-repeat;
    color: var(--gray-300);
    padding: 60px 0 30px;
    margin-top: 60px;
    position: relative;
}

.footer::before,
.footer-top::before,
.footer-top-four::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 24, 39, 0.95);
    z-index: 0;
}

.footer > *,
.footer-top > *,
.footer-top-four > * {
    position: relative;
    z-index: 1;
}

.footer-widget,
.single-widget {
    margin-bottom: 40px;
}

.single-widget img {
    width: auto;
    max-height: 60px;
    object-fit: contain;
}

.footer-widget h3,
.single-widget h3 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    font-weight: 600;
}

.footer-widget p,
.single-widget p {
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    color: var(--gray-300);
}

.footer-widget ul,
.single-widget ul {
    list-style: none;
}

.footer-widget ul li,
.single-widget ul li {
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.footer-widget ul li i,
.single-widget ul li i {
    color: var(--primary-color);
    margin-top: 5px;
    flex-shrink: 0;
}

.footer-widget ul li span,
.single-widget ul li span {
    color: var(--white);
    font-weight: 600;
}

.footer-widget ul li a,
.single-widget ul li a {
    color: var(--gray-300);
    transition: all var(--transition-fast);
}

.footer-widget ul li a:hover,
.single-widget ul li a:hover {
    color: var(--primary-color);
    padding-right: var(--spacing-xs);
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-links li {
    margin: 0;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: var(--border-radius-full);
    transition: all var(--transition-fast);
    font-size: var(--font-size-lg);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.footer-bottom {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.98) 0%, rgba(31, 41, 55, 0.95) 100%);
    border-top: 2px solid rgba(59, 130, 246, 0.3);
    padding: 30px 0;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom .row {
    width: 100%;
    align-items: center;
}

.footer-bottom .single-widget,
.footer-bottom .single-widgets {
    margin: 0;
}

.footer-bottom .single-widget {
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 15px;
    color: var(--gray-300);
    line-height: 1.8;
    letter-spacing: 0.3px;
}

.footer-bottom a {
    color: var(--primary-color);
    font-weight: 600;
    transition: all var(--transition-fast);
    position: relative;
    display: inline-block;
}

.footer-bottom a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width var(--transition-fast);
}

.footer-bottom a:hover {
    color: var(--accent-color);
    transform: translateY(-1px);
}

.footer-bottom a:hover::after {
    width: 100%;
}

.footer-bottom .social-links {
    justify-content: flex-end;
    margin: 0;
}

.footer-bottom .social-links a {
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    font-size: 16px;
    position: relative;
    overflow: hidden;
}

.footer-bottom .social-links a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all var(--transition-normal);
    z-index: -1;
}

.footer-bottom .social-links a:hover::before {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.footer-bottom .social-links a:hover {
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px) rotate(5deg);
}

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

@media (min-width: 768px) and (max-width: 1024px) {
    .footer,
    .footer-top,
    .footer-top-four {
        padding: 55px 0 25px;
    }
    
    .footer-widget,
    .single-widget {
        margin-bottom: 35px;
    }
    
    .footer-widget h3,
    .single-widget h3 {
        font-size: 19px;
    }
    
    .footer-bottom {
        padding: 22px 0;
    }
}

@media (max-width: 991px) {
    .footer-bottom .container {
        flex-direction: column;
        gap: var(--spacing-lg);
        text-align: center;
    }
    
    .footer-bottom .row {
        flex-direction: column;
        gap: 25px;
    }
    
    .footer-bottom .social-links {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .footer,
    .footer-top,
    .footer-top-four {
        padding: 45px 0 20px;
        margin-top: 50px;
    }
    
    .footer-widget,
    .single-widget {
        margin-bottom: 30px;
    }
    
    .footer-widget h3,
    .single-widget h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .footer-widget p,
    .single-widget p {
        font-size: 14px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .social-links a {
        width: 42px;
        height: 42px;
    }
    
    .footer-bottom {
        padding: 25px 0;
    }
    
    .footer-bottom p {
        font-size: 14px;
    }
    
    .footer-bottom .social-links {
        justify-content: center;
        margin-top: 15px;
    }
    
    .footer-bottom .social-links a {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}
.articles-section {
    padding: var(--spacing-3xl) 0;
}

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

.section-title h2 {
    font-size: var(--font-size-3xl);
    color: var(--dark-color);
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

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

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.article-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.article-image {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: var(--gray-200);
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.article-category {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: var(--primary-color);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    z-index: 1;
}

.article-date-badge {
    position: absolute;
    bottom: var(--spacing-md);
    left: var(--spacing-md);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 14px;
    border-radius: 10px;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-card:hover .article-date-badge {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.article-date-badge i {
    color: var(--primary-color);
    font-size: 15px;
}

.article-date-badge span {
    color: var(--dark-color);
    font-size: 13px;
    font-weight: 600;
}

.article-content {
    padding: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-meta {
    display: none;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.article-title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-md);
    line-height: 1.4;
}

.article-title a {
    color: var(--dark-color);
    transition: color var(--transition-fast);
}

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

.article-excerpt {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--gray-200);
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: gap var(--transition-fast);
}

.read-more:hover {
    gap: var(--spacing-md);
}

.article-tags {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
    margin-top: var(--spacing-md);
}

.article-tag {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    font-size: var(--font-size-xs);
    transition: all var(--transition-fast);
}

.article-tag:hover {
    background: var(--primary-color);
    color: var(--white);
}

.slider-section {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-bottom: var(--spacing-3xl);
}

.slider-item {
    position: relative;
    height: 100%;
    display: none;
}

.slider-item.active {
    display: block;
}

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-content {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    max-width: 600px;
    background: rgba(255, 255, 255, 0.95);
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
}

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

.slider-content p {
    font-size: var(--font-size-lg);
    color: var(--gray-700);
    margin-bottom: var(--spacing-lg);
}

.slider-controls {
    position: absolute;
    bottom: var(--spacing-xl);
    right: 50%;
    transform: translateX(50%);
    display: flex;
    gap: var(--spacing-md);
    z-index: 10;
}

.slider-control {
    width: 12px;
    height: 12px;
    border-radius: var(--border-radius-full);
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.slider-control.active,
.slider-control:hover {
    background: var(--white);
    transform: scale(1.2);
}

@media (max-width: 991px) {
    .articles-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: var(--spacing-lg);
    }
    
    .slider-section {
        height: 400px;
    }
    
    .slider-content {
        right: 5%;
        max-width: 500px;
        padding: var(--spacing-lg);
    }
    
    .slider-content h2 {
        font-size: var(--font-size-3xl);
    }
}

@media (max-width: 767px) {
    .articles-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .article-image {
        height: 200px;
    }
    
    .article-date-badge {
        bottom: 12px;
        left: 12px;
        padding: 8px 10px;
        gap: 6px;
    }
    
    .article-date-badge i {
        font-size: 13px;
    }
    
    .article-date-badge span {
        font-size: 12px;
    }
    
    .article-category {
        top: 12px;
        right: 12px;
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .slider-section {
        height: 300px;
    }
    
    .slider-content {
        right: var(--spacing-md);
        left: var(--spacing-md);
        max-width: none;
        padding: var(--spacing-md);
    }
    
    .slider-content h2 {
        font-size: var(--font-size-2xl);
    }
    
    .slider-content p {
        font-size: var(--font-size-base);
    }
}
.single-blog {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: var(--spacing-xl);
}

.single-blog:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.single-blog > a {
    display: block;
    position: relative;
    overflow: hidden;
    height: 250px;
}

.single-blog > a img,
.single-blog > a picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.single-blog:hover > a img,
.single-blog:hover > a picture img {
    transform: scale(1.1);
}

.blog-text-wrapper {
    padding: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-title {
    font-size: var(--font-size-xl);
    color: var(--dark-color);
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    display: block;
    transition: color var(--transition-fast);
}

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

.blog-meta {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--gray-200);
    font-size: var(--font-size-sm);
    color: var(--gray-500);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

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

.blog-excerpt {
    color: var(--gray-600);
    line-height: 1.7;
    margin-top: var(--spacing-md);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.contact-section {
    background: var(--light-color);
}

.Form-contact {
    background: var(--white);
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.Form-contact .section-title-left {
    margin-bottom: var(--spacing-xl);
}

.Form-contact .form-group {
    margin-bottom: var(--spacing-lg);
}

.Form-contact .form-control {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-base);
    transition: all var(--transition-fast);
}

.Form-contact .form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.Form-contact textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.Form-contact button[type="submit"] {
    width: 100%;
}

.contact-pic {
    height: 100%;
    min-height: 400px;
    background: url('../assets/contact-pic.webp') center/cover no-repeat;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 767px) {
    .single-blog > a {
        height: 200px;
    }
    
    .blog-text-wrapper {
        padding: var(--spacing-md);
    }
    
    .blog-title {
        font-size: var(--font-size-lg);
    }
    
    .Form-contact {
        padding: var(--spacing-lg);
    }
    
    .contact-pic {
        min-height: 300px;
        margin-top: var(--spacing-xl);
    }
}
/* ===================================
   Modern Articles Section Styles
   =================================== */

.modern-articles-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.modern-articles-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(180deg, rgba(26, 115, 232, 0.03) 0%, transparent 100%);
    pointer-events: none;
}

/* Section Header */
.modern-section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.2);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.section-badge i {
    font-size: 16px;
}

.modern-section-title {
    font-size: 42px;
    font-size: clamp(28px, 2.625rem, 48px);
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.2;
    font-family: var(--font-primary);
    letter-spacing: -0.5px;
}

.modern-section-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto 25px;
    line-height: 1.6;
}

.title-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.divider-dot {
    width: 8px;
    height: 8px;
    background: #1a73e8;
    border-radius: 50%;
    animation: dotPulse 1.5s ease-in-out infinite;
}

.divider-dot:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
}

.divider-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1a73e8 0%, #0d47a1 100%);
    border-radius: 2px;
}

/* Articles Grid */
.modern-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 35px;
    margin-bottom: 50px;
}

/* Article Card */
.modern-article-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    height: 100%;
}

.modern-article-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 45px rgba(26, 115, 232, 0.15);
}

.article-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Image Wrapper */
.article-image-wrapper {
    --layout-ratio: 0.30; /* 3 columns on desktop */
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.article-image-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.article-thumbnail,
.article-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modern-article-card:hover .article-thumbnail,
.modern-article-card:hover .article-thumbnail img {
    transform: scale(1.15) rotate(2deg);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.modern-article-card:hover .image-overlay {
    opacity: 1;
}

.read-more-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modern-article-card:hover .read-more-overlay {
    transform: translate(-50%, -50%) scale(1);
}

.read-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #ffffff;
    border-radius: 50%;
    color: #1a73e8;
    font-size: 24px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    animation: iconBounce 0.6s ease-in-out;
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.article-category-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    z-index: 3;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
    transition: transform 0.3s ease;
}

.modern-article-card:hover .article-category-badge {
    transform: translateY(-5px);
}

/* Article Date Badge on Image */
.article-date-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 16px;
    border-radius: 12px;
    z-index: 3;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modern-article-card:hover .article-date-badge {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.article-date-badge i {
    color: #1a73e8;
    font-size: 16px;
}

.article-date-badge span {
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

/* Content Wrapper */
.article-content-wrapper {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-meta-info {
    display: none;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #888;
    font-weight: 500;
}

.meta-item i {
    color: #1a73e8;
    font-size: 14px;
}

.article-title-modern {
    margin: 0 0 15px 0;
    line-height: 1.5;
}

.article-title-modern a {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.article-title-modern a:hover {
    color: #1a73e8;
}

.article-excerpt-modern {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Article Footer */
.article-footer-modern {
    margin-top: auto;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #1a73e8;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.read-more-btn::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1a73e8;
    transition: width 0.3s ease;
}

.read-more-btn:hover::after {
    width: 100%;
}

.read-more-btn i {
    transition: transform 0.3s ease;
}

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

/* View All Button */
.articles-view-all {
    text-align: center;
    margin-top: 50px;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    color: #ffffff;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(26, 115, 232, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

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

.view-all-btn:hover::before {
    left: 100%;
}

.view-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(26, 115, 232, 0.4);
}

.view-all-btn i {
    transition: transform 0.3s ease;
}

.view-all-btn:hover i {
    transform: translateX(-5px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .modern-articles-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 991px) {
    .modern-section-title {
        font-size: 36px;
    }
    
    .modern-section-subtitle {
        font-size: 16px;
    }
    
    .modern-articles-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .article-image-wrapper {
        --layout-ratio: 0.46; /* 2 columns on tablet */
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 767px) {
    .modern-section-header {
        margin-bottom: 40px;
    }
    
    .modern-section-title {
        font-size: 28px;
    }
    
    .modern-section-subtitle {
        font-size: 15px;
    }
    
    .modern-articles-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .article-image-wrapper {
        --layout-ratio: 0.92; /* 1 column on mobile */
        aspect-ratio: 4 / 3;
    }
    
    .article-content-wrapper {
        padding: 20px;
    }
    
    .article-title-modern a {
        font-size: 19px;
    }
    
    .article-excerpt-modern {
        font-size: 14px;
    }
    
    .view-all-btn {
        padding: 14px 32px;
        font-size: 15px;
    }
    
    .article-date-badge {
        bottom: 15px;
        left: 15px;
        padding: 10px 12px;
    }
    
    .article-date-badge i {
        font-size: 14px;
    }
    
    .article-date-badge span {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .modern-section-title {
        font-size: 24px;
    }
    
    .section-badge {
        font-size: 13px;
        padding: 6px 16px;
    }
    
    .article-image-wrapper {
        --layout-ratio: 0.92; /* 1 column on small mobile */
        aspect-ratio: 4 / 3;
    }
    
    .article-meta-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .article-title-modern a {
        font-size: 18px;
    }
    
    .article-date-badge {
        bottom: 12px;
        left: 12px;
        padding: 8px 10px;
        gap: 8px;
    }
    
    .article-date-badge i {
        font-size: 13px;
    }
    
    .article-date-badge span {
        font-size: 12px;
    }
    
    .article-category-badge {
        top: 12px;
        right: 12px;
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* Animation for cards on scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modern-article-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.modern-article-card:nth-child(1) { animation-delay: 0.1s; }
.modern-article-card:nth-child(2) { animation-delay: 0.2s; }
.modern-article-card:nth-child(3) { animation-delay: 0.3s; }
.modern-article-card:nth-child(4) { animation-delay: 0.4s; }
.modern-article-card:nth-child(5) { animation-delay: 0.5s; }
.modern-article-card:nth-child(6) { animation-delay: 0.6s; }
.modern-article-card:nth-child(7) { animation-delay: 0.7s; }
.modern-article-card:nth-child(8) { animation-delay: 0.8s; }
.modern-article-card:nth-child(9) { animation-delay: 0.9s; }

/* Loading State */
.modern-article-card.loading {
    pointer-events: none;
    opacity: 0.6;
}

.modern-article-card.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-base);
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-fast);
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
}

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

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

.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
}

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

.btn-outline {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

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

.btn-sm {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: var(--font-size-sm);
}

.card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all var(--transition-base);
    margin-bottom: 30px;
}

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

.card-header {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--gray-200);
    background: var(--gray-100);
}

.card-body {
    padding: 25px;
}

.card-footer {
    padding: var(--spacing-lg);
    border-top: 1px solid var(--gray-200);
    background: var(--gray-100);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: var(--font-size-xs);
    font-weight: 600;
    border-radius: var(--border-radius-full);
    background: var(--gray-200);
    color: var(--gray-700);
}

.badge-primary {
    background: var(--primary-color);
    color: var(--white);
}

@media (min-width: 768px) and (max-width: 1024px) {
    .card {
        margin-bottom: 25px;
    }
    
    .card-body {
        padding: 22px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 15px;
    }
}

@media (max-width: 767px) {
    .card {
        margin-bottom: 20px;
    }
    
    .card-body {
        padding: 18px;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .btn-lg {
        padding: 12px 24px;
        font-size: 16px;
    }
}

.badge-secondary {
    background: var(--secondary-color);
    color: var(--white);
}

.badge-success {
    background: var(--secondary-color);
    color: var(--white);
}

.badge-danger {
    background: var(--danger-color);
    color: var(--white);
}

.badge-warning {
    background: var(--accent-color);
    color: var(--dark-color);
}

.alert {
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--border-radius-md);
    margin-bottom: var(--spacing-md);
    border: 1px solid transparent;
}

.alert-info {
    background: #e3f2fd;
    border-color: #90caf9;
    color: #1565c0;
}

.alert-success {
    background: #e8f5e9;
    border-color: #81c784;
    color: #2e7d32;
}

.alert-warning {
    background: #fff3e0;
    border-color: #ffb74d;
    color: #e65100;
}

.alert-danger {
    background: #ffebee;
    border-color: #e57373;
    color: #c62828;
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    color: var(--dark-color);
}

.form-control {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-base);
    line-height: 1.5;
    color: var(--dark-color);
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius-md);
    transition: all var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.form-control::placeholder {
    color: var(--gray-400);
}

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

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: var(--z-modal);
    display: none;
    overflow: hidden;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: var(--z-modal-backdrop);
}

.modal-dialog {
    position: relative;
    width: 90%;
    max-width: 600px;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    z-index: var(--z-modal);
}

.modal-header {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    margin: 0;
    font-size: var(--font-size-xl);
}

.modal-close {
    background: none;
    border: none;
    font-size: var(--font-size-2xl);
    cursor: pointer;
    color: var(--gray-500);
    transition: color var(--transition-fast);
}

.modal-close:hover {
    color: var(--danger-color);
}

.modal-body {
    padding: var(--spacing-lg);
}

.modal-footer {
    padding: var(--spacing-lg);
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: flex-end;
    gap: var(--spacing-md);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: var(--spacing-md) 0;
    list-style: none;
    background: transparent;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "\f104";
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome";
    font-weight: 900;
    padding: 0 var(--spacing-sm);
    color: var(--gray-400);
    font-size: var(--font-size-xs);
}

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

.breadcrumb-item.active {
    color: var(--gray-600);
}

.pagination {
    display: flex;
    gap: var(--spacing-xs);
    justify-content: center;
    margin-top: var(--spacing-xl);
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: var(--spacing-xs) var(--spacing-sm);
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius-md);
    color: var(--dark-color);
    transition: all var(--transition-fast);
}

.pagination a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.pagination .active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid var(--gray-200);
    border-top-color: var(--primary-color);
    border-radius: var(--border-radius-full);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.skeleton {
    background: var(--gray-100);
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: var(--border-radius-md);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text {
    height: 1em;
    margin-bottom: var(--spacing-sm);
}

.skeleton-title {
    height: 2em;
    margin-bottom: var(--spacing-md);
}

.skeleton-image {
    height: 200px;
    margin-bottom: var(--spacing-md);
}
.flaticon-telephone-handle-silhouette,
.flaticon-right-arrow,
.flaticon-search,
.flaticon-check-mark,
.flaticon-target,
.flaticon-consultant-services,
.flaticon-work-team,
.flaticon-process,
.flaticon-left,
.flaticon-add-plus-button,
.flaticon-play-button,
.flaticon-clock-of-circular-shape-outline {
    font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands';
    font-style: normal;
    font-weight: 900;
    display: inline-block;
}

.flaticon-telephone-handle-silhouette::before { content: '\f095'; }
.flaticon-right-arrow::before { content: '\f060'; }
.flaticon-search::before { content: '\f002'; }
.flaticon-check-mark::before { content: '\f00c'; }
.flaticon-target::before { content: '\f140'; }
.flaticon-consultant-services::before { content: '\f0c0'; }
.flaticon-work-team::before { content: '\f0c0'; }
.flaticon-process::before { content: '\f013'; }
.flaticon-left::before { content: '\f053'; }
.flaticon-add-plus-button::before { content: '\f067'; }
.flaticon-play-button::before { content: '\f04b'; }
.flaticon-clock-of-circular-shape-outline::before { content: '\f017'; }

/* Font Awesome icon fonts replaced with SVG icons - see svg-icons.css */
/* .fa,
.fa-whatsapp::before,
.fa-phone::before {
    font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands';
    font-style: normal;
    font-weight: 900;
    display: inline-block;
}

.fa-whatsapp::before { content: '\f232'; font-family: 'Font Awesome 5 Brands'; }
.fa-phone::before { content: '\f095'; }
.fa-facebook::before { content: '\f09a'; font-family: 'Font Awesome 5 Brands'; }
.fa-twitter::before { content: '\f099'; font-family: 'Font Awesome 5 Brands'; }
.fa-instagram::before { content: '\f16d'; font-family: 'Font Awesome 5 Brands'; }
.fa-linkedin::before { content: '\f0e1'; font-family: 'Font Awesome 5 Brands'; }
.fa-youtube::before { content: '\f167'; font-family: 'Font Awesome 5 Brands'; }
.fa-snapchat::before { content: '\f2ac'; font-family: 'Font Awesome 5 Brands'; }
.fa-tiktok::before { content: '\e07b'; font-family: 'Font Awesome 5 Brands'; } */

.icon-float {
    position: fixed;
    bottom: 100px;
    left: 30px;
    z-index: var(--z-fixed);
    animation: pulse 2s infinite;
}

.icon-float-call {
    bottom: 30px;
}

.icon-float .float {
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-2xl);
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-base);
    text-decoration: none;
}

.icon-float-call .float {
    background: var(--primary-color);
}

.icon-float .float:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

.icon-float-call .float:hover {
    box-shadow: 0 10px 30px rgba(26, 115, 232, 0.5);
}

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

@media (max-width: 767px) {
    .icon-float {
        bottom: 80px;
        left: 20px;
    }
    
    .icon-float-call {
        bottom: 20px;
    }
    
    .icon-float .float {
        width: 50px;
        height: 50px;
        font-size: var(--font-size-xl);
    }
}
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-xl);
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: var(--z-fixed);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.notification {
    animation: slideInRight 0.3s ease-out;
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-up {
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.zoom-in {
    animation: zoomIn 0.3s ease-out;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-dark { color: var(--dark-color) !important; }
.text-light { color: var(--light-color) !important; }
.text-muted { color: var(--gray-500) !important; }
.text-white { color: var(--white) !important; }

.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }
.bg-dark { background-color: var(--dark-color) !important; }
.bg-light { background-color: var(--light-color) !important; }
.bg-white { background-color: var(--white) !important; }

.border { border: 1px solid var(--gray-300) !important; }
.border-top { border-top: 1px solid var(--gray-300) !important; }
.border-bottom { border-bottom: 1px solid var(--gray-300) !important; }
.border-right { border-right: 1px solid var(--gray-300) !important; }
.border-left { border-left: 1px solid var(--gray-300) !important; }
.border-0 { border: 0 !important; }

.rounded { border-radius: var(--border-radius-md) !important; }
.rounded-sm { border-radius: var(--border-radius-sm) !important; }
.rounded-lg { border-radius: var(--border-radius-lg) !important; }
.rounded-full { border-radius: var(--border-radius-full) !important; }
.rounded-0 { border-radius: 0 !important; }

.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }
.shadow-xl { box-shadow: var(--shadow-xl) !important; }
.shadow-none { box-shadow: none !important; }

.w-25 { width: 25% !important; }
.w-50 { width: 50% !important; }
.w-75 { width: 75% !important; }
.w-100 { width: 100% !important; }
.w-auto { width: auto !important; }

.h-25 { height: 25% !important; }
.h-50 { height: 50% !important; }
.h-75 { height: 75% !important; }
.h-100 { height: 100% !important; }
.h-auto { height: auto !important; }

.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.position-fixed { position: fixed !important; }
.position-sticky { position: sticky !important; }

.overflow-hidden { overflow: hidden !important; }
.overflow-auto { overflow: auto !important; }
.overflow-scroll { overflow: scroll !important; }

.cursor-pointer { cursor: pointer !important; }
.cursor-default { cursor: default !important; }

.user-select-none { user-select: none !important; }

@media (max-width: 767px) {
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: var(--font-size-lg);
    }
}
/* ===================================
   Testimonials Section - طھط­ط³ظٹظ†ط§طھ ظƒط§ط±ط¯ط§طھ ط¢ط±ط§ط، ط§ظ„ط¹ظ…ظ„ط§ط،
   =================================== */

.testimoinal-section-four {
    background: url('../assets/testi-bg.webp') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.testimoinal-section-four::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(255, 255, 255, 0.95) 50%, rgba(59, 130, 246, 0.05) 100%);
    z-index: 0;
}

.testimoinal-section-four .container,
.testimoinal-section-four .row,
.testimoinal-section-four .section-title-left {
    position: relative;
    z-index: 2;
}

.testimoinal-wrapper-four {
    margin-top: var(--spacing-xl);
    position: relative;
    z-index: 2;
}

.testimoinal-wrapper-four .single-testimoinal {
    display: none;
}

.testimoinal-wrapper-four .single-testimoinal:first-child {
    display: block;
}

/* ===== Testimonial Card Design ===== */
.single-testimoinal {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    padding: 45px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.08);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-right: 4px solid var(--primary-color);
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Testimonial Header with Avatar */
.testimonial-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.2);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 32px;
}

.testimonial-info {
    flex: 1;
}

.testimonial-info h3 {
    margin: 0 0 5px 0;
}

.testimonial-position {
    display: block;
    color: var(--gray-500);
    font-size: 14px;
    font-weight: 500;
    font-style: italic;
}

/* Decorative Elements */
.single-testimoinal::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 120px;
    color: rgba(59, 130, 246, 0.08);
    font-family: Georgia, serif;
    line-height: 1;
    z-index: 0;
    font-weight: bold;
}

.single-testimoinal::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.5s ease;
}

/* Hover Effects */
.single-testimoinal:hover {
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.15);
    transform: translateY(-8px) translateX(-3px);
    background: linear-gradient(145deg, #ffffff 0%, #f0f9ff 100%);
    border-right-width: 6px;
}

.single-testimoinal:hover::after {
    bottom: -30px;
    left: -30px;
    width: 180px;
    height: 180px;
}

/* Content Styling */
.single-testimoinal h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}


.single-testimoinal p {
    font-size: 16px;
    line-height: 1.9;
    color: #475569;
    font-style: italic;
    position: relative;
    z-index: 1;
    text-align: justify;
}

/* Rating Stars */
.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.testimonial-rating i {
    color: #fbbf24;
    font-size: 18px;
}

/* Navigation Buttons */
.testimony-nav-buttons {
    position: absolute;
    top: 50%;
    left: -60px;
    right: -60px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 3;
    pointer-events: none;
}

.testimony-nav-buttons button {
    pointer-events: all;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2563eb 100%);
    border: 3px solid white;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    font-weight: bold;
}

.testimony-nav-buttons button:hover {
    background: linear-gradient(135deg, #2563eb 0%, var(--primary-color) 100%);
    transform: scale(1.15);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

.testimony-nav-buttons button:active {
    transform: scale(0.95);
}

/* Dots Navigation */
.testimony-dots {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 35px;
    position: relative;
    z-index: 2;
}

.testimony-dot {
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.testimony-dot:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
    border-color: white;
}

.testimony-dot.active {
    background: white;
    transform: scale(1.4);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2), 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ===== Responsive Design ===== */
@media (min-width: 768px) and (max-width: 1024px) {
    .single-testimoinal {
        padding: 35px 30px;
        min-height: 240px;
    }
    
    .single-testimoinal h3 {
        font-size: 20px;
    }
    
    .single-testimoinal p {
        font-size: 15px;
    }
    
    .testimony-nav-buttons {
        left: -50px;
        right: -50px;
    }
    
    .testimony-nav-buttons button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .single-testimoinal {
        padding: 30px 25px;
        min-height: 220px;
        border-radius: 16px;
    }
    
    .testimonial-avatar {
        width: 60px;
        height: 60px;
        border-width: 2px;
    }
    
    .avatar-placeholder {
        font-size: 26px;
    }
    
    .testimonial-header {
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .testimonial-position {
        font-size: 13px;
    }
    
    .single-testimoinal::before {
        font-size: 80px;
        top: 15px;
        right: 20px;
    }
    
    .single-testimoinal h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .single-testimoinal p {
        font-size: 15px;
        line-height: 1.7;
    }
    
    .testimony-nav-buttons {
        display: none;
    }
    
    .testimony-dots {
        margin-top: 25px;
        gap: 10px;
    }
    
    .testimony-dot {
        width: 12px;
        height: 12px;
    }
}

/* ===== Animation Classes ===== */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.single-testimoinal.slide-in-right,
.single-testimoinal.slide-in-left {
    animation: testimonialFadeIn 0.6s ease-out;
}

@keyframes testimonialFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Prevent CLS from Font Awesome icons */
.fa, .fas, .far, .fab, .fal, .fad {
    display: inline-block;
    min-width: 1em;
    text-align: center;
    width: 1em;
    height: 1em;
}

/* Reserve space for icons before font loads */
i[class*="fa-"]:before {
    display: inline-block;
    min-width: 1em;
    width: 1em;
    height: 1em;
}

/* Prevent icon layout shift */
i[class*="fa-"] {
    width: 1em;
    height: 1em;
    display: inline-block;
}

/* Prevent layout shift in sidebar widgets */
.widget {
    min-height: 50px;
}

/* Prevent layout shift in blog section */
.blogs-section.blog-details-section {
    min-height: 1200px;
}

/* Prevent layout shift in blog content */
.blog-details-text {
    min-height: 800px;
    font-size: 16px;
    line-height: 1.8;
    contain-intrinsic-size: auto 800px;
    will-change: contents;
}

.blog-details-text > * {
    font-family: var(--font-primary);
    visibility: visible;
    opacity: 1;
}

/* Ensure consistent font rendering */
.blog-details-text p,
.blog-details-text h1,
.blog-details-text h2,
.blog-details-text h3,
.blog-details-text h4,
.blog-details-text h5,
.blog-details-text h6 {
    font-family: var(--font-primary);
    margin-bottom: 1rem;
}

/* Prevent shift from images loading */
.blog-details-text img {
    max-width: 100%;
    height: auto;
    display: block;
    aspect-ratio: attr(width) / attr(height);
}

/* Reserve space for headings */
.blog-details-text h1 {
    min-height: 2.5em;
    font-size: clamp(24px, 2.25rem, 48px);
    font-family: var(--font-primary);
}

.blog-details-text h2 {
    min-height: 2em;
}

.blog-details-text h3,
.blog-details-text h4 {
    min-height: 1.8em;
}

/* Prevent layout shift from paragraphs */
.blog-details-text p {
    min-height: 1.8em;
}

/* Prevent header layout shift */
.header-wrapper-one,
.header-wrapper-four {
    position: relative;
    overflow: hidden;
}

/* ===================================
   SITE FOOTER - Modern Design
   =================================== */
.site-footer {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    bottom: 100px;
    left: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.float-btn.whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.float-btn.phone {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d5bba 100%);
}

.float-btn .svg-icon {
    width: 24px;
    height: 24px;
    fill: #fff;
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    left: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d5bba 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 998;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.scroll-top-btn .svg-icon {
    width: 20px;
    height: 20px;
    fill: #fff;
}

/* Footer Info Bar */
.footer-info-bar {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.footer-info-item .icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d5bba 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-info-item .icon .svg-icon {
    width: 22px;
    height: 22px;
    fill: #fff;
}

.footer-info-item .content h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #fff;
}

.footer-info-item .content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.6;
}

.footer-info-item .content a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-info-item .content a:hover {
    color: var(--primary-color);
}

/* Footer Main */
.footer-main {
    padding: 60px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
}

/* Footer Widget */
.footer-widget h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #fff;
    position: relative;
    padding-bottom: 15px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    border-radius: 2px;
}

/* Footer Logo */
.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-width: 180px;
    height: auto;
}

.footer-about {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-social a .svg-icon {
    width: 18px;
    height: 18px;
    fill: #fff;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

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

.footer-links li a .svg-icon {
    width: 12px;
    height: 12px;
    fill: var(--primary-color);
    transition: transform 0.3s ease;
}

.footer-links li a:hover .svg-icon {
    transform: translateX(-3px);
}

/* Footer Tags */
.footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-tags a {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-tags a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

/* Footer Bottom */
.site-footer .footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom-content p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-content .developer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-bottom-content .developer a:hover {
    color: #fff;
}

/* Footer Responsive */
@media (max-width: 1199px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .footer-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .floating-buttons {
        bottom: 80px;
        left: 15px;
    }
    
    .float-btn {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 767px) {
    .footer-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-info-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-widget h4::after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .footer-logo {
        display: flex;
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-links li a {
        justify-content: center;
    }
    
    .footer-tags {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .floating-buttons {
        bottom: 70px;
        left: 10px;
    }
    
    .float-btn {
        width: 45px;
        height: 45px;
    }
    
    .float-btn .svg-icon {
        width: 20px;
        height: 20px;
    }
    
    .scroll-top-btn {
        width: 45px;
        height: 45px;
        bottom: 20px;
        left: 10px;
    }
}

@media (max-width: 575px) {
    .footer-info-bar {
        padding: 30px 0;
    }
    
    .footer-main {
        padding: 40px 0;
    }
    
    .footer-widget h4 {
        font-size: 18px;
    }
}
