/* Kuwait Government Customization for Personal Shape Template */

/* Kuwait Government Color Palette */
:root {
    --kuwait-primary: #14264a;
    --kuwait-secondary: #1e3a8a;
    --kuwait-accent: #d4af37;
    --kuwait-light-accent: #f4d03f;
    --kuwait-dark-accent: #b8860b;
    --kuwait-white: #ffffff;
    --kuwait-light-gray: #f8f9fa;
    --kuwait-medium-gray: #6c757d;
    --kuwait-dark-gray: #343a40;
    --kuwait-accent-blue: #3b82f6;
    --kuwait-accent-green: #10b981;
    --kuwait-accent-red: #ef4444;
    
    /* Gradients */
    --kuwait-gradient-primary: linear-gradient(135deg, var(--kuwait-primary) 0%, var(--kuwait-secondary) 100%);
    --kuwait-gradient-accent: linear-gradient(135deg, var(--kuwait-accent) 0%, var(--kuwait-light-accent) 100%);
    --kuwait-gradient-hero: linear-gradient(135deg, var(--kuwait-primary) 0%, #1e40af 50%, var(--kuwait-primary) 100%);
    
    /* Typography */
    --font-arabic: 'Tajawal', 'Cairo', 'Amiri', sans-serif;
    --font-english: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
}

/* Override Template Colors */
:root {
    --primary-color: var(--kuwait-primary);
    --secondary-color: var(--kuwait-secondary);
    --accent-color: var(--kuwait-accent);
    --accent-pink: var(--kuwait-light-accent);
    --accent-cyan: var(--kuwait-accent-blue);
    --text-primary: var(--kuwait-primary);
    --text-secondary: var(--kuwait-medium-gray);
    --text-light: var(--kuwait-white);
    --bg-primary: var(--kuwait-white);
    --bg-secondary: var(--kuwait-light-gray);
    --bg-dark: var(--kuwait-primary);
    --bg-card: rgba(255, 255, 255, 0.95);
    --gradient-primary: var(--kuwait-gradient-primary);
    --gradient-secondary: var(--kuwait-gradient-accent);
    --gradient-tertiary: linear-gradient(135deg, var(--kuwait-accent-blue) 0%, var(--kuwait-primary) 100%);
    --gradient-elegant: var(--kuwait-gradient-primary);
}

/* Body Typography */
body {
    font-family: var(--font-arabic);
}

body[dir="rtl"] {
    font-family: var(--font-arabic);
}

/* Logo Customization */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

/* Navigation Background - Light Mode */
nav {
    background: var(--kuwait-primary) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2) !important;
}

nav.scrolled {
    background: var(--kuwait-primary) !important;
    box-shadow: 0 4px 20px rgba(20, 38, 74, 0.3) !important;
}

/* Navigation Links */
.nav-links a {
    color: var(--kuwait-white) !important;
    font-family: var(--font-arabic) !important;
    font-weight: 500 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

.nav-links a:hover {
    color: var(--kuwait-accent) !important;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.4) !important;
}

.nav-links a::after {
    background: var(--kuwait-gradient-accent) !important;
}

/* Mobile Menu */
.mobile-menu {
    background: var(--kuwait-primary) !important;
}

/* Hamburger Menu Icon */
.hamburger {
    background: var(--kuwait-white) !important;
}

.mobile-nav-links a {
    color: #ffffff !important;
    font-family: var(--font-arabic) !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

.mobile-nav-links a:hover {
    color: var(--kuwait-accent) !important;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.4) !important;
}

/* Maximum specificity for mobile navigation */
body .mobile-menu .mobile-nav-links a,
body .mobile-menu.active .mobile-nav-links a {
    color: #ffffff !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

body .mobile-menu .mobile-nav-links a:hover,
body .mobile-menu.active .mobile-nav-links a:hover {
    color: var(--kuwait-accent) !important;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.4) !important;
}

/* Ultimate specificity override */
html body .mobile-menu .mobile-nav-links li a,
html body .mobile-menu.active .mobile-nav-links li a {
    color: #ffffff !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
    -webkit-text-fill-color: #ffffff !important;
    text-fill-color: #ffffff !important;
}

html body .mobile-menu .mobile-nav-links li a:hover,
html body .mobile-menu.active .mobile-nav-links li a:hover {
    color: var(--kuwait-accent) !important;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.4) !important;
    -webkit-text-fill-color: var(--kuwait-accent) !important;
    text-fill-color: var(--kuwait-accent) !important;
}

/* Hero Section */
.hero {
    background: var(--kuwait-gradient-hero) !important;
}

.hero::before {
    background: radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(244, 208, 63, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(20, 38, 74, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 60% 20%, rgba(212, 175, 55, 0.15) 0%, transparent 50%) !important;
}

.hero-subtitle {
    color: var(--kuwait-accent) !important;
    font-family: var(--font-arabic) !important;
}

.hero h1 {
    color: var(--kuwait-white) !important;
    font-family: var(--font-arabic) !important;
    font-weight: 700 !important;
}

.hero .subtitle {
    color: var(--kuwait-light-gray) !important;
    font-family: var(--font-arabic) !important;
}

/* CTA Button */
.cta-button {
    background: var(--kuwait-gradient-accent) !important;
    color: var(--kuwait-primary) !important;
    border: 2px solid var(--kuwait-accent) !important;
    font-family: var(--font-arabic) !important;
    font-weight: 600 !important;
}

.cta-button:hover {
    background: var(--kuwait-primary) !important;
    color: var(--kuwait-accent) !important;
    border-color: var(--kuwait-accent) !important;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5) !important;
}

/* Floating Shapes */
.shape {
    background: var(--kuwait-accent) !important;
    opacity: 0.1 !important;
}

.shape-1, .shape-2, .shape-3, .shape-4, .shape-5, .shape-6 {
    background: var(--kuwait-accent) !important;
}

/* Section Titles */
.section-title {
    color: var(--kuwait-primary) !important;
    font-family: var(--font-arabic) !important;
    font-weight: 700 !important;
    font-size: 2rem !important;
    margin-bottom: 2rem !important;
}

.section-title::after {
    background: var(--kuwait-gradient-accent) !important;
}

/* About Section */
.about {
    background: var(--kuwait-light-gray) !important;
    padding: 4rem 0 !important;
}

.about::before {
    background: radial-gradient(circle at 30% 30%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(20, 38, 74, 0.1) 0%, transparent 50%) !important;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    position: relative;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
}

.about-text {
    padding: 0;
}

.about-text h3 {
    color: var(--kuwait-primary) !important;
    font-family: var(--font-arabic) !important;
    font-weight: 600 !important;
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
}

.about-text p {
    color: var(--kuwait-medium-gray) !important;
    font-family: var(--font-arabic) !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin-bottom: 0.75rem !important;
}

/* Skills Tags */
.skill-tag {
    background: var(--kuwait-gradient-accent) !important;
    color: var(--kuwait-primary) !important;
    font-family: var(--font-arabic) !important;
    font-weight: 500 !important;
}

.skill-tag:hover {
    background: var(--kuwait-primary) !important;
    color: var(--kuwait-accent) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3) !important;
}

/* Stats Overview */
.stats-overview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--kuwait-accent) !important;
    font-family: var(--font-arabic) !important;
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    font-size: 1rem;
    color: var(--kuwait-primary) !important;
    font-family: var(--font-arabic) !important;
    font-weight: 500 !important;
}

/* Block Main Image (First Block Image in About Style Section) */
.block-main-image {
    width: 100%;
    height: 400px;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.block-main-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(135deg, rgba(20, 38, 74, 0.2) 0%, rgba(212, 175, 55, 0.1) 100%); */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.block-main-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

.block-main-image:hover::before {
    opacity: 1;
}

/* Blocks Overview (First 2 Blocks in About Section) */
.blocks-overview {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    max-height: 600px;
    overflow-y: auto;
}

.block-item {
    background: var(--kuwait-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.block-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    border-color: var(--kuwait-accent);
}

.block-image {
    width: 100%;
    height: 200px;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
}

.block-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(20, 38, 74, 0.3) 0%, rgba(212, 175, 55, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.block-item:hover .block-image::before {
    opacity: 1;
}

.block-content {
    padding: 1.5rem;
}

.block-content h4 {
    color: var(--kuwait-primary) !important;
    font-family: var(--font-arabic) !important;
    font-weight: 600 !important;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.block-content p {
    color: var(--kuwait-medium-gray) !important;
    font-family: var(--font-arabic) !important;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.block-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.block-tech .tech-tag {
    background: var(--kuwait-gradient-accent) !important;
    color: var(--kuwait-primary) !important;
    font-family: var(--font-arabic) !important;
    font-weight: 500 !important;
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.block-tech .tech-tag:hover {
    background: var(--kuwait-primary) !important;
    color: var(--kuwait-accent) !important;
    transform: translateY(-1px);
}

/* Portfolio Section */
.portfolio {
    background: var(--kuwait-white) !important;
    padding: 4rem 0 !important;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.portfolio-item {
    background: var(--kuwait-white) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    box-shadow: var(--shadow-md) !important;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    /* border-color: var(--kuwait-accent) !important; */
    /* box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3) !important; */
    transform: translateY(-5px) !important;
}

.portfolio-image {
    width: 100%;
    height: 250px;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
    overflow: hidden;
}

.portfolio-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(135deg, rgba(20, 38, 74, 0.2) 0%, rgba(212, 175, 55, 0.1) 100%); */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-image::before {
    opacity: 1;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h4 {
        line-height: 1.2;
    color: var(--kuwait-primary) !important;
    font-family: var(--font-arabic) !important;
    font-weight: 600 !important;
    margin-bottom: 1rem;
}

.portfolio-content p {
    color: var(--kuwait-medium-gray) !important;
    font-family: var(--font-arabic) !important;
}

/* Block Description Container with Auto-Expand on Hover */
.block-description-container {
    position: relative;
    max-height: 60px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover .block-description-container {
    max-height: 300px;
    overflow-y: auto;
}

.block-description-text {
    margin: 0;
    line-height: 1.6;
    color: var(--kuwait-medium-gray) !important;
    font-family: var(--font-arabic) !important;
    font-size: 0.9rem;
    word-wrap: break-word;
}

/* Quill Editor Content Styling */
.block-description-text p {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    color: var(--kuwait-medium-gray) !important;
    font-family: var(--font-arabic) !important;
    font-size: 0.9rem !important;
}

.block-description-text p:last-child {
    margin-bottom: 0;
}

.block-description-text strong,
.block-description-text b {
    font-weight: 600;
    color: var(--kuwait-primary) !important;
}

.block-description-text em,
.block-description-text i {
    font-style: italic;
}

.block-description-text ul,
.block-description-text ol {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.block-description-text li {
    margin-bottom: 0.25rem;
    line-height: 1.6;
    color: var(--kuwait-medium-gray) !important;
    font-family: var(--font-arabic) !important;
    font-size: 0.9rem;
}

/* Hover indicator for expandable content */
.portfolio-item {
    position: relative;
    cursor: pointer;
}

.portfolio-item::after {
    content: '';
    position: absolute;
    bottom: 10px;
    right: 15px;
    width: 20px;
    height: 20px;
    background: var(--kuwait-gradient-accent);
    border-radius: 50%;
    opacity: 0.3;
    transition: all 0.3s ease;
    pointer-events: none;
}

.portfolio-item:hover::after {
    opacity: 0.8;
    transform: scale(1.2);
}

/* Tech Tags */
.tech-tag {
    background: var(--kuwait-gradient-accent) !important;
    color: var(--kuwait-primary) !important;
    font-family: var(--font-arabic) !important;
    font-weight: 500 !important;
}

.tech-tag:hover {
    background: var(--kuwait-primary) !important;
    color: var(--kuwait-accent) !important;
}

/* Category Title */
.category-title {
    color: var(--kuwait-primary) !important;
    font-family: var(--font-arabic) !important;
    font-weight: 700 !important;
    font-size: 2rem !important;
    margin-bottom: 2rem !important;
    text-align: center !important;
}

/* Clients Section */
.clients {
    background: var(--kuwait-primary) !important;
    padding: 1rem 0 !important;
    position: relative;
    overflow: hidden;
    margin-bottom: 80px;
}
.clients-floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.clients-shape {
    position: absolute;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.clients-shape-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.clients-shape-2 {
    width: 60px;
    height: 60px;
    top: 20%;
    right: 15%;
    animation-delay: 1s;
}

.clients-shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 2s;
}

.clients-shape-4 {
    width: 40px;
    height: 40px;
    bottom: 30%;
    right: 10%;
    animation-delay: 3s;
}

.clients-shape-5 {
    width: 70px;
    height: 70px;
    top: 50%;
    left: 5%;
    animation-delay: 4s;
}

.clients-shape-6 {
    width: 50px;
    height: 50px;
    top: 60%;
    right: 25%;
    animation-delay: 5s;
}

.clients-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.clients-content .section-title {
    color: var(--kuwait-white) !important;
    margin-bottom: 1rem !important;
}

/* Override the general section-title color for clients section */
#clients .section-title {
    color: var(--kuwait-white) !important;
}
.clients-content p {
    margin-bottom: 1.5rem !important;
    font-size: 1rem !important;
}

/* Clients Slider */
.clients-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
}

.clients-swiper {
    overflow: hidden;
}

/* Center client slide content */
.clients .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo-container {
    width: 150px !important;
    height: 100px !important;
}

.client-logo {
    width: 100%;
    height: 100%;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 2px solid rgba(212, 175, 55, 0.2);
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.3);
    border-color: var(--kuwait-accent);
}

/* Clients Slider Navigation */
.clients-swiper-button-next,
.clients-swiper-button-prev {
    color: var(--kuwait-accent) !important;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.clients-swiper-button-next:hover,
.clients-swiper-button-prev:hover {
    background: var(--kuwait-accent) !important;
    color: var(--kuwait-primary) !important;
    transform: scale(1.1);
}

.clients-swiper-button-next::after,
.clients-swiper-button-prev::after {
    font-size: 16px;
    font-weight: bold;
}

/* Clients Slider Pagination */
.clients-swiper-pagination {
    position: relative;
    margin-top: 2rem;
}

.clients-swiper-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.clients-swiper-pagination .swiper-pagination-bullet-active {
    background: var(--kuwait-accent) !important;
    transform: scale(1.2);
}

/* No Clients Message */
.no-clients-message {
    text-align: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.no-clients-message p {
    color: var(--kuwait-white) !important;
    font-family: var(--font-arabic) !important;
    font-size: 1.1rem !important;
    margin: 0;
    opacity: 0.8;
}

/* Contact Section */
.contact {
    background: var(--kuwait-gradient-primary) !important;
}

.contact::before {
    background: radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(244, 208, 63, 0.15) 0%, transparent 50%) !important;
}

.contact .section-title {
    color: var(--kuwait-white) !important;
}

.contact p {
    color: var(--kuwait-light-gray) !important;
    font-family: var(--font-arabic) !important;
}

/* Contact Shapes */
.contact-shape {
    background: var(--kuwait-accent) !important;
    opacity: 0.1 !important;
}

/* Contact Form */
.form-group label {
    color: var(--kuwait-accent) !important;
    font-family: var(--font-arabic) !important;
    font-weight: 600 !important;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    color: var(--kuwait-white) !important;
    font-family: var(--font-arabic) !important;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--kuwait-accent) !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3) !important;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
    font-family: var(--font-arabic) !important;
}

.submit-btn {
    background: var(--kuwait-gradient-accent) !important;
    color: var(--kuwait-primary) !important;
    font-family: var(--font-arabic) !important;
    font-weight: 600 !important;
    border: 2px solid var(--kuwait-accent) !important;
}

.submit-btn:hover {
    background: var(--kuwait-primary) !important;
    color: var(--kuwait-accent) !important;
    border-color: var(--kuwait-accent) !important;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5) !important;
}

/* Footer */
.footer {
    background: var(--kuwait-gradient-primary) !important;
    border-top: 3px solid var(--kuwait-accent) !important;
    padding: 3rem 0 2rem !important;
}

.footer::before {
    opacity: 0.2 !important;
}

.footer::after {
    background: radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(244, 208, 63, 0.08) 0%, transparent 50%) !important;
}

/* Footer Contact Section */
.footer-contact-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.footer-title {
    color: var(--kuwait-white) !important;
    font-family: var(--font-arabic) !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    margin-bottom: 2rem !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.footer-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.footer-contact-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.footer-contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    border-color: var(--kuwait-accent);
}

.footer-contact-item h4 {
    color: var(--kuwait-accent) !important;
    font-family: var(--font-arabic) !important;
    font-weight: 600 !important;
    font-size: 1.2rem !important;
    margin-bottom: 1rem !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

.footer-contact-item .address {
    color: var(--kuwait-light-gray) !important;
    font-family: var(--font-arabic) !important;
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1rem !important;
}

.footer-contact-item .phone {
    color: var(--kuwait-white) !important;
    font-family: var(--font-arabic) !important;
    font-size: 0.9rem !important;
    margin-bottom: 0.5rem !important;
}

.footer-contact-item .phone:before {
    content: "📞 ";
    margin-right: 0.5rem;
}

 

/* QR Code Styling */
.qr-code {
    text-align: center;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
}

.qr-code img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 0.5rem;
    width: 150px;
    height: 150px;
}

.qr-code small {
    display: block;
    color: var(--kuwait-primary) !important;
    font-family: var(--font-arabic) !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
}

/* Footer Form Styling */
.footer-form-container {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-title {
    color: var(--kuwait-primary) !important;
    font-family: var(--font-arabic) !important;
    font-weight: 700 !important;
    font-size: 1.8rem !important;
    margin-bottom: 0.5rem !important;
}

.form-subtitle {
    color: var(--kuwait-medium-gray) !important;
    font-family: var(--font-arabic) !important;
    font-size: 1rem !important;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-left p {
    color: var(--kuwait-light-gray) !important;
    font-family: var(--font-arabic) !important;
    margin-bottom: 0.5rem !important;
}

.footer-right {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-right a {
    color: var(--kuwait-light-gray) !important;
    font-family: var(--font-arabic) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-right a:hover {
    color: var(--kuwait-accent) !important;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.4) !important;
}

.footer-right a i {
    font-size: 1rem;
}

 

.footer-left p {
    color: var(--kuwait-light-gray) !important;
    font-family: var(--font-arabic) !important;
}

.footer-right a {
    color: var(--kuwait-light-gray) !important;
    font-family: var(--font-arabic) !important;
}

.footer-right a:hover {
    color: var(--kuwait-accent) !important;
}

.footer-right a::after {
    background: var(--kuwait-gradient-accent) !important;
}

/* Hero Slider Integration */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: var(--kuwait-primary);
}

.hero-slider .swiper {
    width: 100%;
    height: 100%;
}

.hero-slider .swiper-slide {
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* Ensure the hero section itself takes full height */
.hero {
    min-height: 100vh !important;
    height: 100vh !important;
    position: relative;
    overflow: hidden;
}

/* Ensure the hero slider container takes full height */
.hero-slider {
    height: 100vh !important;
    width: 100% !important;
}

.hero-slider .swiper {
    height: 100vh !important;
    width: 100% !important;
}

.hero-slider .swiper-wrapper {
    height: 100vh !important;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
       background: rgba(20, 38, 74, 0.6) !important;

}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 90%;
    max-width: 800px;
}

.slide-title {
    color: var(--kuwait-white) !important;
    font-family: var(--font-arabic) !important;
    font-size: 3.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
}

/* Swiper Navigation */
.swiper-pagination-bullet {
    background: var(--kuwait-accent) !important;
    opacity: 0.7 !important;
}

.swiper-pagination-bullet-active {
    background: var(--kuwait-accent) !important;
    opacity: 1 !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--kuwait-accent) !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: var(--kuwait-light-accent) !important;
}

/* RTL Support */
[dir="rtl"] .nav-links {
    flex-direction: row-reverse;
    text-align: right;
    justify-content: flex-end;
}

[dir="rtl"] .nav-links a {
    margin-left: 0;
    margin-right: 2rem;
}

[dir="rtl"] .nav-links li:first-child {
    order: 3;
}

[dir="rtl"] .nav-links li:nth-child(2) {
    order: 2;
}

[dir="rtl"] .nav-links li:last-child {
    order: 1;
}

[dir="rtl"] .logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

[dir="rtl"] .stats-overview {
    direction: rtl;
}

[dir="rtl"] .form-row {
    flex-direction: row-reverse;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-image {
        height: 40px;
        max-width: 150px;
    }
    
    .footer-contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-contact-item {
        padding: 1rem;
    }
    
    .footer-title {
        font-size: 1.5rem !important;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-right {
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2.5rem !important;
    }
    
    .slide-title {
        font-size: 2.5rem !important;
    }
    
    .section-title {
        font-size: 1.8rem !important;
    }
    
    .category-title {
        font-size: 1.5rem !important;
    }
    
    .stats-overview {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem !important;
    }
    
    .blocks-overview {
        padding: 1rem;
        gap: 1.5rem;
    }
    
    .block-content {
        padding: 1rem;
    }
    
    .block-content h4 {
        font-size: 1.1rem;
    }
    
    .block-content p {
        font-size: 0.9rem;
    }
    
    .block-description-container {
        max-height: 50px;
    }
    
    .portfolio-item:hover .block-description-container {
        max-height: 200px;
    }
    
    /* Clients Section Mobile */
    .clients-slider {
        padding: 0 20px;
    }
    
    .client-logo-container {
        height: 120px;
        padding: 15px;
    }
    
    .clients-content p {
        font-size: 1rem !important;
        margin-bottom: 2rem !important;
    }
}

/* Animation Enhancements */
@keyframes kuwaitGlow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    }
    50% { 
        box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
    }
}

.portfolio-item:hover {
    animation: kuwaitGlow 2s ease-in-out infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--kuwait-light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--kuwait-gradient-accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--kuwait-accent);
} 

/* Language Switcher and Dark Mode Styles */

/* Navigation Controls */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 25px;
    padding: 4px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.lang-btn {
    background: transparent;
    border: none;
    color: #333;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
    text-decoration: none;
    display: inline-block;
}

.lang-btn.active {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lang-btn:hover:not(.active) {
    background: rgba(0, 0, 0, 0.05);
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.dark-mode-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.dark-mode-toggle .sun-icon,
.dark-mode-toggle .moon-icon {
    font-size: 18px;
    transition: all 0.3s ease;
}

.dark-mode-toggle .moon-icon {
    display: none;
}

/* Mobile Controls */
.mobile-controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Dark Mode Styles */
[data-theme="dark"] {
    --bg-primary: #2a2a2a;
    --bg-secondary: #3d3d3d;
    --bg-tertiary: #4a4a4a;
    --text-primary: #ffffff;
    --text-secondary: #f5f5f5;
    --text-muted: #e0e0e0;
    --border-color: #505050;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --accent-color: #4a90e2;
    --accent-hover: #357abd;
}

[data-theme="dark"] body {
    background: var(--bg-primary) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] * {
    /* background-color: inherit; */
    color: inherit;
}

/* Ensure all text elements are visible in dark mode */
[data-theme="dark"] p,
[data-theme="dark"] span,
[data-theme="dark"] div,
[data-theme="dark"] li,
[data-theme="dark"] td,
[data-theme="dark"] th,
[data-theme="dark"] label,
[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select,
[data-theme="dark"] button {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
    color: var(--text-primary) !important;
}

[data-theme="dark"] a {
    color: var(--accent-color) !important;
}

[data-theme="dark"] a:hover {
    color: var(--accent-hover) !important;
}

[data-theme="dark"] #navbar,
[data-theme="dark"] nav {
    background: rgba(61, 61, 61, 0.95) !important;
    border-bottom: 1px solid var(--border-color) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

[data-theme="dark"] .nav-links a {
    color: var(--text-secondary) !important;
    font-weight: 500 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .nav-links a:hover {
    color: var(--accent-color) !important;
    text-shadow: 0 0 8px rgba(74, 144, 226, 0.3) !important;
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%) !important;
}

[data-theme="dark"] .hero-content h1 {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .hero-content .subtitle {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .hero-subtitle {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .section-title {
    color: #ffffff !important;
    font-weight: bold !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

/* Ensure all section titles are white in dark mode */
[data-theme="dark"] .section-title,
[data-theme="dark"] .section-title.fade-in,
[data-theme="dark"] .section-title.animate,
[data-theme="dark"] h1.section-title,
[data-theme="dark"] h2.section-title,
[data-theme="dark"] h3.section-title,
[data-theme="dark"] h4.section-title,
[data-theme="dark"] h5.section-title,
[data-theme="dark"] h6.section-title {
    color: #ffffff !important;
    font-weight: bold !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .about {
    background: var(--bg-secondary) !important;
}

[data-theme="dark"] .about-text {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .portfolio {
    background: var(--bg-primary) !important;
}

[data-theme="dark"] .portfolio-item {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
}

[data-theme="dark"] .portfolio-content h4 {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .block-description-text {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .clients {
    background: var(--bg-secondary) !important;
}

[data-theme="dark"] .clients-content h2 {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .clients-content p {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .no-clients-message p {
    color: var(--text-secondary) !important;
}

/* Additional text visibility improvements */
[data-theme="dark"] .hero-content p,
[data-theme="dark"] .about-content p,
[data-theme="dark"] .portfolio-content p,
[data-theme="dark"] .clients-content p {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .hero-content h2,
[data-theme="dark"] .about-content h2,
[data-theme="dark"] .portfolio-content h2,
[data-theme="dark"] .clients-content h2 {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .hero-content h3,
[data-theme="dark"] .about-content h3,
[data-theme="dark"] .portfolio-content h3,
[data-theme="dark"] .clients-content h3 {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .hero-content h4,
[data-theme="dark"] .about-content h4,
[data-theme="dark"] .portfolio-content h4,
[data-theme="dark"] .clients-content h4 {
    color: var(--text-primary) !important;
}

/* Ensure form elements are visible */
[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="email"],
[data-theme="dark"] input[type="password"],
[data-theme="dark"] textarea {
    background-color: var(--bg-secondary) !important;
    color: var(--text-secondary) !important;
    border: 1px solid var(--border-color) !important;
}

[data-theme="dark"] input[type="text"]::placeholder,
[data-theme="dark"] input[type="email"]::placeholder,
[data-theme="dark"] input[type="password"]::placeholder,
[data-theme="dark"] textarea::placeholder {
    color: var(--text-muted) !important;
}

/* Comprehensive dark mode for all sections */
[data-theme="dark"] .hero::before {
    background: var(--bg-primary) !important;
}

[data-theme="dark"] .about::before {
    background: var(--bg-secondary) !important;
}

[data-theme="dark"] .portfolio::before {
    background: var(--bg-primary) !important;
}

[data-theme="dark"] .clients::before {
    background: var(--bg-secondary) !important;
}

[data-theme="dark"] .contact::before {
    background: var(--bg-primary) !important;
}

[data-theme="dark"] .footer::before {
    background: var(--bg-secondary) !important;
}

[data-theme="dark"] .footer::after {
    background: var(--bg-secondary) !important;
}

/* Stats and blocks sections */
[data-theme="dark"] .stats-overview {
    background: var(--bg-secondary) !important;
}

[data-theme="dark"] .stat-item {
    background: var(--bg-tertiary) !important;
    border: 1px solid var(--border-color) !important;
}

[data-theme="dark"] .stat-number {
    color: var(--accent-color) !important;
}

[data-theme="dark"] .stat-label {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .blocks-overview {
    background: var(--bg-primary) !important;
}

[data-theme="dark"] .block-item {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
}

[data-theme="dark"] .block-content h4 {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .block-content p {
    color: var(--text-secondary) !important;
}

/* Contact form */
[data-theme="dark"] .contact {
    background: var(--bg-secondary) !important;
}

[data-theme="dark"] .form-group label {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .submit-btn {
    background: var(--accent-color) !important;
    color: #fff !important;
}

[data-theme="dark"] .submit-btn:hover {
    background: var(--accent-hover) !important;
}

/* Swiper elements */
[data-theme="dark"] .swiper-pagination-bullet {
    background: var(--border-color) !important;
}

[data-theme="dark"] .swiper-pagination-bullet-active {
    background: var(--accent-color) !important;
}

[data-theme="dark"] .swiper-button-next,
[data-theme="dark"] .swiper-button-prev {
    color: var(--accent-color) !important;
}

[data-theme="dark"] .swiper-button-next:hover,
[data-theme="dark"] .swiper-button-prev:hover {
    color: var(--accent-hover) !important;
}

[data-theme="dark"] .footer {
    background: var(--bg-secondary) !important;
    border-top: 1px solid var(--border-color) !important;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2) !important;
}

[data-theme="dark"] .footer-content {
    color: var(--text-secondary) !important;
    font-weight: 500 !important;
}

[data-theme="dark"] .footer a {
    color: var(--text-secondary) !important;
    font-weight: 500 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .footer a:hover {
    color: var(--accent-color) !important;
    text-shadow: 0 0 8px rgba(74, 144, 226, 0.3) !important;
}

[data-theme="dark"] .footer-link {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .footer-link:hover {
    color: white !important;
    background: transparent !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .footer-link::after {
    background: white !important;
}

[data-theme="dark"] .footer-email-link {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .footer-email-link:hover {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .footer-email-link::after {
    background: white !important;
}

[data-theme="dark"] .footer-moe-link {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .footer-moe-link:hover {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .footer-moe-link::after {
    background: white !important;
}

/* Dark mode styling for footer sections to match other cards */
[data-theme="dark"] .footer-section {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .footer-section h4 {
    color: var(--text-primary) !important;
    border-bottom: 2px solid var(--border-color) !important;
}

[data-theme="dark"] .footer-section p {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .qr-code img {
    background: white !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .mobile-menu {
    background: var(--bg-secondary) !important;
    border-top: 1px solid var(--border-color) !important;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2) !important;
}

[data-theme="dark"] .mobile-nav-links a {
    color: var(--text-primary) !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .mobile-nav-links a:hover {
    color: var(--accent-color) !important;
    text-shadow: 0 0 8px rgba(74, 144, 226, 0.4) !important;
}

[data-theme="dark"] .language-switcher {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .lang-btn {
    color: var(--text-secondary) !important;
    font-weight: 500 !important;
}

[data-theme="dark"] .lang-btn.active {
    background: var(--accent-color) !important;
    color: #fff !important;
    font-weight: bold !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .lang-btn:hover:not(.active) {
    background: var(--bg-tertiary) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .dark-mode-toggle {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

[data-theme="dark"] .dark-mode-toggle .sun-icon {
    display: none;
}

[data-theme="dark"] .dark-mode-toggle .moon-icon {
    display: block;
}

/* RTL Support for Arabic */
[dir="rtl"] .nav-controls {
    flex-direction: row-reverse;
    align-items: center;
}

[dir="rtl"] .language-switcher {
    flex-direction: row-reverse;
}

/* Ensure login button stays at the end in both LTR and RTL */
[dir="rtl"] .login-btn {
    order: 1;
}

/* Fix vertical alignment for all controls */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.login-btn {
    align-self: center;
}

.dark-mode-toggle {
    align-self: center;
}

.language-switcher {
    align-self: center;
}

[dir="rtl"] .mobile-controls {
    align-items: flex-end;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-controls {
        display: none;
    }
    
    .mobile-controls {
        display: flex;
    }
    
    .language-switcher {
        align-self: center;
    }
    
    /* Mobile navigation improvements */
    .mobile-menu {
        padding: 2rem 1rem;
    }
    
    .mobile-nav-links {
        margin-bottom: 2rem;
    }
    
    .mobile-nav-links a {
        font-size: 1.2rem;
        padding: 1rem 0;
    }
    
    /* Mobile controls spacing */
    .mobile-controls {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* Mobile login button */
    .mobile-login-btn {
        width: 100%;
        margin: 1rem 0;
        padding: 1rem;
        font-size: 1.1rem;
    }
}

/* Tablet responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    .nav-controls {
        gap: 0.5rem;
    }
    
    .login-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .language-switcher {
        font-size: 0.9rem;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .logo-image {
        height: 35px;
        max-width: 120px;
    }
    
    .mobile-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .mobile-login-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .language-switcher {
        width: 100%;
        max-width: 200px;
    }
    
    .dark-mode-toggle {
        width: 50px;
        height: 50px;
    }
}

/* Large screens */
@media (min-width: 1200px) {
    .nav-controls {
        gap: 1.5rem;
    }
    
    .login-btn {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }
    
    .language-switcher {
        font-size: 1rem;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-color, #4a90e2);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top:hover {
    background: var(--accent-hover, #357abd);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

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

/* Dark mode scroll to top */
[data-theme="dark"] .scroll-to-top {
    background: var(--accent-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .scroll-to-top:hover {
    background: var(--accent-hover);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}

/* Animation for theme switching */
body {
    transition: background-color 0.3s ease, color 0.3s ease;
}

* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Ensure animated section titles are white in dark mode */
[data-theme="dark"] .fade-in.section-title,
[data-theme="dark"] .animate.section-title,
[data-theme="dark"] .section-title.fade-in,
[data-theme="dark"] .section-title.animate {
    color: #ffffff !important;
    font-weight: bold !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

/* Override any existing color styles for section titles in dark mode */
[data-theme="dark"] .section-title[style*="color"] {
    color: #ffffff !important;
}

/* Override gradient text effects in dark mode */
[data-theme="dark"] .section-title {
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    color: #ffffff !important;
}

/* Force white color for all section titles in dark mode */
[data-theme="dark"] .section-title,
[data-theme="dark"] .section-title.fade-in,
[data-theme="dark"] .section-title.animate,
[data-theme="dark"] h1.section-title,
[data-theme="dark"] h2.section-title,
[data-theme="dark"] h3.section-title,
[data-theme="dark"] h4.section-title,
[data-theme="dark"] h5.section-title,
[data-theme="dark"] h6.section-title {
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    color: #ffffff !important;
    font-weight: bold !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

/* Maximum specificity override for template gradient */
body[data-theme="dark"] .section-title,
body[data-theme="dark"] .section-title.fade-in,
body[data-theme="dark"] .section-title.animate,
body[data-theme="dark"] h1.section-title,
body[data-theme="dark"] h2.section-title,
body[data-theme="dark"] h3.section-title,
body[data-theme="dark"] h4.section-title,
body[data-theme="dark"] h5.section-title,
body[data-theme="dark"] h6.section-title {
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    color: #ffffff !important;
    font-weight: bold !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

/* Only the Partners (الشركاء) section title - make it white in both modes */
body .clients .section-title,
body[data-theme="dark"] .clients .section-title,
body #clients .section-title,
body[data-theme="dark"] #clients .section-title {
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    color: #ffffff !important;
    font-weight: bold !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    margin-bottom: 3rem !important;
}

/* Add bottom margin to the partners description text */
body .clients-content p,
body[data-theme="dark"] .clients-content p {
    margin-bottom: 2rem !important;
}

/* Login Button Styles */
.login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--accent-color, #4a90e2);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    margin-left: 1rem;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}

.login-icon {
    font-size: 1rem;
    line-height: 1;
}

.login-text {
    line-height: 1;
}

.login-btn:hover {
    background: var(--accent-hover, #357abd);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4);
    color: white;
    text-decoration: none;
}

.login-btn:active {
    transform: translateY(0);
}

/* Mobile login button */
.mobile-login-btn {
    margin: 0.5rem 0;
    width: 100%;
    justify-content: center;
    padding: 1rem;
    font-size: 1rem;
}

/* Dark mode login button */
[data-theme="dark"] .login-btn {
    background: var(--accent-color);
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.4);
}

[data-theme="dark"] .login-btn:hover {
    background: var(--accent-hover);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.5);
}

/* Logo image visibility in all modes */
.logo-image {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Dark mode - show original white logo */
[data-theme="dark"] .logo-image {
    filter: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
} 

/* Dynamic Footer Styles */
.footer {
    background: #14264a;
    color: white;
    padding: 40px 0 20px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #8b5cf6, transparent);
}

.footer-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    width: 100%;
}

.footer-header h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: var(--kuwait-gradient-accent) !important;
    border-radius: 1px;
}

.footer-sections {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.footer-section {
    background: #14264a;
    border-radius: 8px;
    padding: 20px;
    padding-bottom: 80px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    display: flex;
    flex-direction: column;
    /* height: 100%; */
    /* min-height: 400px; */
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
    text-align: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
    flex-shrink: 0;
}

.footer-section p {
    margin: 8px 0;
    line-height: 1.6;
    color: white;
    font-size: 0.9rem;
    text-align: center;
    font-weight: 500;
    flex-shrink: 0;
}

.footer-section .content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.qr-code {
    text-align: center;
    margin-top: 15px;
    padding: 0;
    background: none;
    border-radius: 0;
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    flex-shrink: 0;
}

.qr-code img {
    max-width: 150px;
    max-height: 150px;
    border-radius: 8px;
    margin-bottom: 0;
    background: white;
    padding: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.qr-code p {
    display: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.footer-contact {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
}

.footer-contact p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
    font-size: 0.95rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-contact i {
    color: white;
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    margin: 5px 0;
    color: white;
    font-size: 0.9rem;
    opacity: 0.9;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Footer Links */
.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    width: 100%;
}

.footer-link {
    font-size: 1em;
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    opacity: 0.8;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 4px;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-link:hover {
    opacity: 1;
    color: var(--kuwait-accent) !important;
    background: transparent;
    transform: none;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.4) !important;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--kuwait-accent);
    transition: width 0.3s ease;
}

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

/* Footer Email Link */
.footer-email-link {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

.footer-email-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--kuwait-accent);
    transition: width 0.3s ease;
}

.footer-email-link:hover {
    color: var(--kuwait-accent) !important;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.4) !important;
}

.footer-email-link:hover::after {
    width: 100%;
}

/* Footer MOE Link */
.footer-moe-link {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

.footer-moe-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--kuwait-accent);
    transition: width 0.3s ease;
}

.footer-moe-link:hover {
    color: var(--kuwait-accent) !important;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.4) !important;
}

.footer-moe-link:hover::after {
    width: 100%;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-sections {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .footer-sections {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-contact {
        flex-direction: column;
        gap: 10px;
        justify-content: center;
    }
    
    .footer-copyright {
        text-align: center;
        margin-bottom: 15px;
    }
    
    .footer-header h3 {
        font-size: 2rem;
    }
    
    .footer-sections {
        padding: 0 15px;
    }
    
    .footer-bottom {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .footer-section {
        padding: 15px;
        padding-bottom: 180px;
        position: relative;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .footer-link {
        font-size: 0.8rem;
        padding: 8px 15px;
    }
    
    /* Mobile responsive QR code adjustments */
    .qr-code {
        position: static;
        transform: none;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    
    .qr-code img {
        max-width: 120px;
        max-height: 120px;
    }
}

/* Additional mobile phone adjustments */
@media (max-width: 480px) {
    .footer-section {
        padding: 15px;
        padding-bottom: 20px;
    }
    
    .qr-code {
        position: static;
        transform: none;
        margin-top: 15px;
        margin-bottom: 10px;
    }
    
    .qr-code img {
        max-width: 100px;
        max-height: 100px;
    }
}

/* Statistics Section Styles - Enhanced Design */
.statistics {
    padding: 1rem 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.statistics::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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><line x1="0" y1="0" x2="100" y2="100" stroke="%23e9ecef" stroke-width="0.5" opacity="0.3"/><line x1="100" y1="0" x2="0" y2="100" stroke="%23e9ecef" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.statistics-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.statistics-header h2 {
    position: relative;
    margin-bottom: 1.5rem;
}

.statistics-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--kuwait-accent);
    border-radius: 2px;
}

.statistics-header p {
    font-size: 1.2rem;
    color: var(--kuwait-medium-gray);
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-family: var(--font-arabic);
}

.statistics-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.statistics-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 0;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: visible;
    height: 280px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    padding-top: 50px;
}

.statistics-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Icon Section - Half Inside, Half Outside */
.statistics-icon {
    background: var(--kuwait-primary);
    width: 80px;
    height: 80px;
    border-radius: 8px;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.statistics-icon i {
    font-size: 2rem;
    color: #ffffff;
    opacity: 1;
    filter: none;
    display: block;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Hover effect for icon */
.statistics-card:hover .statistics-icon {
    background: var(--kuwait-primary);
    transform: translateX(-50%) translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-radius: 50%;
}

.statistics-card:hover .statistics-icon i {
    color: #ffd700;
    transform: scale(1.1);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Content Section - White Body */
.statistics-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem 1rem;
    background: #ffffff;
    transition: all 0.3s ease;
    border-radius: 12px;
}

/* Bottom Label Section */
.statistics-label {
    background: var(--kuwait-primary);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem;
    text-align: center;
    font-family: var(--font-arabic);
    border-radius: 0 0 12px 12px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.statistics-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--kuwait-primary);
    margin: 0 0 0.5rem 0;
    text-shadow: none;
    line-height: 1;
    font-family: var(--font-arabic);
    display: block;
    transition: all 0.3s ease;
}

/* Hover effect for content */
.statistics-card:hover .statistics-content {
    background: #f8f9fa;
}

.statistics-card:hover .statistics-number {
    color: var(--kuwait-accent-blue);
    transform: scale(1.05);
}

/* Dark mode hover effects */
[data-theme="dark"] .statistics-card:hover .statistics-content {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .statistics-card:hover .statistics-number {
    color: var(--kuwait-accent);
    transform: scale(1.05);
}

[data-theme="dark"] .statistics-card:hover .statistics-icon {
    background: #333333;
}

[data-theme="dark"] .statistics-card:hover .statistics-label {
    background: #333333;
}

/* Dark mode statistics */
[data-theme="dark"] .statistics {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    position: relative;
}

[data-theme="dark"] .statistics::before {
    background: 
        linear-gradient(45deg, rgba(255, 255, 255, 0.03) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255, 255, 255, 0.03) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.03) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.03) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

[data-theme="dark"] .statistics-card {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    border: 1px solid #404040;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .statistics-card:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    transform: translateY(-5px);
    border-color: var(--kuwait-accent);
}

[data-theme="dark"] .statistics-number {
    color: var(--kuwait-accent);
}

[data-theme="dark"] .statistics-icon {
    background: #333333;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .statistics-icon i {
    color: #ffffff;
}

[data-theme="dark"] .statistics-label {
    background: #333333;
    color: #ffffff;
}

[data-theme="dark"] .statistics-header h2 {
    color: #ffffff;
}

[data-theme="dark"] .statistics-header p {
    color: #e0e0e0;
}

[data-theme="dark"] .statistics-content {
    background: transparent;
}

 /* Responsive Statistics */
 @media (max-width: 768px) {
     .statistics {
         padding: 3rem 0;
     }
     
     .statistics-grid {
         gap: 2.5rem;
         flex-wrap: wrap;
     }
     
     .statistics-card {
         margin-bottom: 1.5rem;
     }
     
     .statistics-icon {
         top: -35px;
         width: 70px;
         height: 70px;
     }
     
     .statistics-card {
         height: 240px;
         min-width: 200px;
         max-width: 250px;
     }
     
     .statistics-number {
         font-size: 2.5rem;
     }
     
     .statistics-label {
         font-size: 0.9rem;
         padding: 0.8rem;
     }
     
     .statistics-icon {
         width: 70px;
         height: 70px;
         top: -35px;
     }
     
     .statistics-icon i {
         font-size: 1.8rem;
     }
     
     .statistics-content {
         padding: 1rem;
     }
 }

 @media (max-width: 480px) {
     .statistics-grid {
         gap: 3rem;
         flex-direction: column;
         align-items: center;
     }
     
     .statistics-card {
         margin-bottom: 2rem;
         position: relative;
     }
     
     .statistics-icon {
         top: -30px;
         width: 60px;
         height: 60px;
     }
     
     .statistics-card {
         height: 220px;
         min-width: 100%;
         max-width: 300px;
     }
     
     .statistics-number {
         font-size: 2rem;
     }
     
     .statistics-label {
         font-size: 0.8rem;
         padding: 0.7rem;
     }
     
     .statistics-icon {
         width: 60px;
         height: 60px;
         top: -30px;
     }
     
     .statistics-icon i {
         font-size: 1.5rem;
     }
     
     .statistics-content {
         padding: 0.8rem;
     }
 }

/* Clients Grid */
.clients-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}