/* ========================================
   Modern Elegant Website Design - RTL
   ======================================== */

/* ========================================
   CSS Variables & Root Settings
   ======================================== */
:root {
    /* الخلفيات الرئيسية */
  --primary-color: #2fb6b3;   /* تركواز متوسط مشرق بدون فاقعية */
  
  /* الألوان التفاعلية */
  --secondary-color: #3498db; /* أزرق متزن للأزرار */
  --accent-color: #34d1cc;    /* إبراز أفتح قليلًا من الأساسي */

  /* الحالات */
  --success-color: #27ae60;

  /* الخلفيات الثانوية */
  --light-color: #f5fefe;
  --bg-gray: #f4f7f8;

  /* النص */
  --text-color: #1f2937;      /* داكن نظيف */
  --dark-color: #0f172a;

  /* الحدود والظلال */
  --border-color: #dbe5e7;
  --shadow-sm: 0 2px 4px rgba(15,23,42,0.08);
  --shadow-md: 0 6px 16px rgba(15,23,42,0.12);
  --shadow-lg: 0 12px 28px rgba(15,23,42,0.16);
    --transition-speed: 0.3s;
    --border-radius: 8px;
    --font-family: Cairo, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ========================================
   Base & Reset Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.7;
    background-color: #fff;
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-speed) ease;
}

a:hover {
    color: var(--secondary-color);
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* ========================================
   Container & Layout
   ======================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.navbar-container .container {
    padding: 0 20px;
}

/* Ensure consistent spacing for all sections */
.section {
    padding: 60px 0;
}

.section .container {
    width: 100%;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

[class*="col-"] {
    padding: 0 15px;
}

/* ========================================
   Grid System for Cards
   ======================================== */
.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    width: 100%;
}


/* Large Desktop: 3 columns */
@media (min-width: 992px) {
    .grid-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

/* Tablet: 2 columns */
@media (max-width: 991px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .section {
        padding: 50px 0;
    }
}

/* Mobile: 1 column */
@media (max-width: 767px) {
    .grid-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .section {
        padding: 40px 0;
    }
}

/* ========================================
   HEADER & NAVIGATION STYLES
   ======================================== */

/* Header Container */
.navbar-container {
    background: var(--primary-color);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    width: 100%;
    left: 0;
    right: 0;
    margin: 0;
}

.navbar-container.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 0.3rem 0;
}

/* Navbar Main Structure */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: relative;
    transition: padding 0.3s ease;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.navbar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Brand Logo */
.navbar-brand {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff !important;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

.navbar-brand:hover {
    color: #f0f0f0 !important;
    transform: scale(1.02);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.navbar-brand span {
    display: inline-block;
}

/* Navigation Menu */
.navbar-collapse {
    display: flex;
    align-items: center;
}

.navbar-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 0.5rem;
}

.navbar-nav > li {
    position: relative;
}

.navbar-nav > li > a,
.navbar-nav > li .nav-link {
    color: #fff;
    padding: 0.8rem 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.navbar-nav > li > a::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    width: 0;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
}

.navbar-nav > li > a:hover::before,
.navbar-nav > li.active > a::before {
    width: 80%;
    right: 10%;
}

.navbar-nav > li > a:hover,
.navbar-nav > li.active > a {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Mobile Toggle Button */
.navbar-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    position: relative;
    z-index: 10001;
}

.navbar-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    transform: scale(1.05);
}

.navbar-toggle .icon {
    transition: transform 0.3s ease;
    display: inline-block;
}

/* Transform toggle button icon when sidebar is open */
.navbar-toggle.active .icon {
    transform: rotate(90deg);
}

/* Dropdown Menu Styles */
.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    min-width: 240px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 0.8rem 0;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown:hover .dropdown-menu,
.has-children:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu li a {
    padding: 0.9rem 1.5rem;
    display: block;
    color: var(--text-color);
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
    border-right: 3px solid transparent;
}

.dropdown-menu li a::before {
    content: '◀';
    margin-left: 8px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--secondary-color);
    font-size: 0.7rem;
}

.dropdown-menu li a:hover::before,
.dropdown-menu li.active a::before {
    opacity: 1;
    transform: translateX(0);
}

.dropdown-menu li a:hover,
.dropdown-menu li.active a {
    background: var(--bg-gray);
    color: var(--secondary-color);
    padding-right: 2.5rem;
    border-right-color: var(--secondary-color);
}

/* Hide default caret to avoid duplication */
.dropdown-toggle .caret {
    display: none;
}

/* Hide desktop dropdown arrow by default (mobile/tablet) */
.dropdown-arrow-desktop {
    display: none !important;
}

/* Desktop: Hide mobile elements, show desktop elements */
@media (min-width: 992px) {
    .dropdown-toggle-btn {
        display: none !important;
    }
    
    /* Show dropdown arrow on desktop only */
    .dropdown-arrow-desktop {
        display: inline-flex !important;
    }

    .mobile-only {
        display: none !important;
    }

    .desktop-only {
        display: inline !important;
    }

    .mobile-menu-footer {
        display: none !important;
    }

    .nav-item-wrapper {
        display: inline-block;
    }
    
    /* Desktop dropdown behavior */
    .navbar-nav > li.dropdown > .nav-item-wrapper > a {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    /* Show dropdown arrow on desktop */
    .dropdown-arrow-desktop {
        display: inline-flex;
        align-items: center;
        font-size: 0.8rem;
        transition: transform 0.3s ease;
    }
    
    .navbar-nav > li.dropdown:hover .dropdown-arrow-desktop {
        transform: rotate(180deg);
    }
    
    /* Ensure sidebar overlay is hidden on desktop */
    .sidebar-overlay {
        display: none !important;
    }
    
    /* Reset navbar positioning for desktop */
    .navbar-collapse,
    .navbar-main-collapse,
    #main-nav {
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        padding: 0 !important;
        box-shadow: none !important;
        overflow: visible !important;
        display: flex !important;
        right: auto !important;
    }
}

/* Arrow Icons for Menu Items with Children */
.has-children > a.category-link {
    position: relative;
    padding-left: 1.8rem;
}

/* Mobile dropdown arrow now handled by SVG in dropdown-toggle-btn - no ::after needed */

/* Menu Item Organization */
.navbar-nav > li {
    position: relative;
    margin: 0;
}

.navbar-nav > li > a {
    position: relative;
}

.navbar-nav > li > a span {
    display: inline-block;
}

/* Ensure proper spacing between items */
.navbar-nav {
    gap: 0.2rem;
}

/* ========================================
   CAROUSEL/SLIDER STYLES
   ======================================== */

/* Slider Container */
.carousel {
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    width: 100%;
}

.carousel.slide {
    transition: transform 0.6s ease-in-out;
}

/* Slider Items */
.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: calc((100vh - 80px) * 0.66);
}

.carousel .item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc((100vh - 80px) * 0.66);
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.carousel .item.active {
    opacity: 1;
    z-index: 2;
    position: relative;
}

.carousel .item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.carousel .item img,
.carousel .item picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel .item.active img {
    animation: subtleZoom 10s ease-out forwards;
}

@keyframes subtleZoom {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.05);
    }
}

/* Slider Caption */
.carousel-caption {
    position: absolute;
    bottom: 20%;
    right: 10%;
    left: 10%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.carousel-caption.animated {
    animation: fadeInUp 1s ease-out;
}

.carousel-caption h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 1.2rem;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.5);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1px;
}

.carousel-caption p {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 1.8rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    line-height: 1.6;
}

/* Slider Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: #fff;
    width: 55px;
    height: 55px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 100;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    text-decoration: none;
    opacity: 0.8;
}

.carousel-control:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
    color: #fff;
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.6);
}

.carousel-control:focus {
    outline: none;
    color: #fff;
}

.carousel-control.left {
    left: 25px;
}

.carousel-control.right {
    right: 25px;
}

.carousel-control i {
    font-size: 1.5rem;
    line-height: 1;
    display: block;
}

.carousel-control .glyphicon {
    display: none;
}

/* Testimonial Controls - Specific styling */
.testimonial-control {
    background: rgba(255, 255, 255, 0.2);
    width: 45px;
    height: 45px;
}

.testimonial-control:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-50%) scale(1.15);
}

/* Slider Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 25px;
}

.carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    list-style: none;
}

.carousel-indicators li:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.carousel-indicators li.active {
    background: #fff;
    width: 35px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.5);
}

/* ========================================
   Card & Team Styles (Category Cards)
   ======================================== */
.team {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.team img,
.team picture {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team:hover img {
    transform: scale(1.15);
}

.team .button {
    margin-top: 1rem;
    width: 100%;
    text-align: center;
}

.team-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ========================================
   Blog Card Styles
   ======================================== */
.blog-one {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-one:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.blog-one-header {
    position: relative;
    overflow: hidden;
    height: 260px;
}

.blog-one-header img,
.blog-one-header picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-one:hover .blog-one-header img {
    transform: scale(1.15);
}

.blog-one-body {
    padding: 1.8rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.5;
    font-weight: 700;
}

.blog-title a {
    color: var(--primary-color);
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.blog-title a:hover {
    color: var(--secondary-color);
}

.blog-one-body p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1rem;
    flex: 1;
}

.blog-one-footer {
    padding: 1.2rem 1.8rem;
    background: var(--bg-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
}

.blog-one-footer a {
    color: var(--secondary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-one-footer a:hover {
    color: var(--primary-color);
    transform: translateX(-5px);
}

.blog-one-footer i {
    margin-left: 0.5rem;
    color: #999;
    font-size: 0.9rem;
}

/* ========================================
   Button Styles
   ======================================== */
.button {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.button:hover::before {
    width: 300px;
    height: 300px;
}

.button-primary {
    background: var(--secondary-color);
    color: #fff;
}

.button-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.button-pasific {
    background: var(--secondary-color);
    color: #fff;
}

.button-pasific:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.button-blue {
    background: #3498db;
    color: #fff;
}

.button-blue:hover {
    background: #2980b9;
}

.button-green {
    background: var(--success-color);
    color: #fff;
}

.button-green:hover {
    background: #229954;
}

.button-gray {
    background: var(--bg-gray);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.button-gray:hover {
    background: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
}

.button-rounded {
    border-radius: 25px;
}

.button-circle {
    border-radius: 50px;
}

.button-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.button-md {
    padding: 0.75rem 2rem;
}

.button-sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

.button-o {
    background: transparent;
    border: 2px solid #fff;
}

.button-o:hover {
    background: #fff;
    color: var(--primary-color);
}

/* ========================================
   Background & Section Styles
   ======================================== */
.bg-gray {
    background-color: var(--bg-gray);
}

.bg-light {
    background-color: var(--light-color);
}

.bg-grad-stellar {
    background: var(--secondary-color);
}

.parallax-window,
.parallax-windowCarousel {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 4rem 0;
}

.parallax-windowCarousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 62, 80, 0.85);
    z-index: 0;
}

.parallax-windowCarousel .container {
    position: relative;
    z-index: 1;
}

/* ========================================
   Spacing Utilities
   ======================================== */
.mt10 { margin-top: 10px; }
.mt20 { margin-top: 20px; }
.mt25 { margin-top: 25px; }
.mt30 { margin-top: 30px; }
.mt50 { margin-top: 50px; }
.mb5 { margin-bottom: 5px; }
.mb20 { margin-bottom: 20px; }
.mb25 { margin-bottom: 25px; }
.mb50 { margin-bottom: 50px; }
.pt30 { padding-top: 30px; }
.pt50 { padding-top: 50px; }
.pt75 { padding-top: 75px; }
.pt100 { padding-top: 100px; }
.pb30 { padding-bottom: 30px; }
.pb35 { padding-bottom: 35px; }
.pb50 { padding-bottom: 50px; }
.pb75 { padding-bottom: 75px; }
.pb100 { padding-bottom: 100px; }
.mr10 { margin-right: 10px; }

/* ========================================
   Text Utilities
   ======================================== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.color-light { color: #fff !important; }
.font-pacifico { font-family: 'Pacifico', cursive; }
.text-capitalize { text-transform: capitalize; }
.text-uppercase { text-transform: uppercase; }
.font-size-normal { font-size: 1rem; }

/* ========================================
   Form Styles
   ======================================== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: all var(--transition-speed) ease;
    font-family: var(--font-family);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.input-rounded {
    border-radius: 25px;
}

/* ========================================
   Testimonial Styles
   ======================================== */
.testimonials {
    padding: 5rem 0;
    background: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.testimonials::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"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.section-header .section-title {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header .section-title::after {
    display: none;
}

.section-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.testimonials-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
}

.testimonials-wrapper {
    position: relative;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.testimonial-slide.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    right: 30px;
    font-size: 8rem;
    color: rgba(102, 126, 234, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 0.25rem 0;
}

.author-title {
    font-size: 0.95rem;
    color: #7f8c8d;
    margin: 0;
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.testimonial-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.testimonial-nav.prev {
    right: -70px;
}

.testimonial-nav.next {
    left: -70px;
}

.testimonial-nav i {
    font-size: 1.2rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
}

.testimonial-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dots .dot:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.testimonial-dots .dot.active {
    background: #fff;
    width: 30px;
    border-radius: 10px;
}

@media (max-width: 991px) {
    .testimonial-nav.prev {
        right: -15px;
    }
    
    .testimonial-nav.next {
        left: -15px;
    }
    
    .testimonial-nav {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 767px) {
    .testimonials {
        padding: 3rem 0;
    }
    
    .section-header .section-title {
        font-size: 2rem;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    .testimonial-text {
        font-size: 1.05rem;
    }
    
    .testimonial-nav {
        display: none;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* ========================================
   Tags Section
   ======================================== */
.tags-section {
    padding: 4rem 0;
}

.section-subtitle {
    color: #7f8c8d;
    font-size: 1.05rem;
}

.tag-item {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    margin: 0.4rem;
    background: #fff;
    border: 2px solid var(--accent-color);;
    border-radius: 25px;
    color: var(--accent-color);;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.tag-item:hover {
    background: var(--accent-color);;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    text-decoration: none;
}

.tag-item i {
    margin-left: 0.5rem;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(52, 152, 219, 0.9);
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-content {
    padding: 2rem;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}

.btn-cta-primary {
    background: #fff;
    color: var(--accent-color);;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.btn-cta-primary:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: var(--accent-color);;
    text-decoration: none;
}

.btn-cta-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-cta-secondary:hover {
    background: #fff;
    color: var(--accent-color);;
    transform: translateY(-3px);
    text-decoration: none;
}

/* ========================================
   Contact Section
   ======================================== */
.contact-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.contact-section .container {
    max-width: 1200px;
}

.contact-section .section-title {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-section .section-subtitle {
    color: var(--accent-color);;
    font-size: 1.2rem;
}

.mb60 {
    margin-bottom: 4rem;
}

.contact-section .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    align-items: stretch;
}

.contact-section .col-md-6 {
    padding: 0 15px;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .contact-section .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.contact-info-wrapper {
    background: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.contact-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.contact-details {
    flex: 1;
}

.contact-details h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.contact-details p,
.contact-details a {
    color: #666;
    margin: 0;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-details a:hover {
    color: var(--accent-color);;
}

.contact-form-wrapper {
    background: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.form-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.contact-form .form-control {
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--accent-color);;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
    outline: none;
}

.contact-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.btn-submit {
    background: var(--secondary-color);
    color: #fff;
    padding: 1rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* ========================================
   Modern Footer
   ======================================== */
.modern-footer {
    background: var(--primary-color);
    color: #fff;
    padding: 4rem 0 0;
}



.footer-content .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    align-items: center;
}

.footer-content .row > [class*="col-"] {
    position: relative;
    width: 100%;
    padding: 0 15px;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-content .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    
    .footer-content .row > [class*="col-"] {
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {
    .footer-content .col-sm-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .footer-content {
        text-align: center;
    }
}

.footer-heading {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1.1rem;
}

.social-link:hover {
    background: var(--accent-color);;
    transform: translateY(-5px) scale(1.1);
    color: #fff;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.footer-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin: 0;
    font-size: 1rem;
}

.footer-company-message {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.8;
    margin: 0;
}

.developer-link {
    color: var(--accent-color);;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.developer-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem 0;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-text {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.95rem;
}

/* ========================================
   Floating Buttons
   ======================================== */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.float-btn i {
    color: #fff;
    font-size: 1.8rem;
}

.whatsapp-btn {
    background: #25D366;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    color: #fff !important;
}

.call-btn {
    background: var(--secondary-color);
}

.call-btn:hover {
    background: var(--accent-color);
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
    color: #fff !important;
}

/* Responsive */
@media (max-width: 768px) {
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-subtitle {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-cta {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .contact-info-wrapper {
        margin-bottom: 2rem;
    }
    
}

/* ========================================
   Floating Action Buttons
   ======================================== */
.icon-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.icon-float-call {
    bottom: 100px;
}

.icon-float .float {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    color: #fff;
    font-size: 1.8rem;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-speed) ease;
    animation: pulse 2s infinite;
}

.icon-float-call .float {
    background: var(--secondary-color);
}

.icon-float .float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

/* ========================================
   Border Utilities
   ======================================== */
.bb-solid-1 {
    border-bottom: 2px solid var(--border-color);
}

/* ========================================
   Section Spacing
   ======================================== */
.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

/* ========================================
   Responsive Design - Large Tablets
   ======================================== */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
        padding: 0 20px;
    }
    
    .navbar-nav {
        gap: 0.3rem;
    }
    
    .navbar-nav > li > a,
    .navbar-nav > li .nav-link {
        padding: 0.7rem 1.2rem;
        font-size: 0.95rem;
    }
    
    .carousel-control {
        width: 50px;
        height: 50px;
    }
    
    .carousel-control i {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* ========================================
   Responsive Design - Tablets
   ======================================== */
@media (max-width: 991px) {
    .container {
        max-width: 720px;
        padding: 0 20px;
    }
    
    .navbar-toggle {
        display: block;
    }
    
    /* Carousel controls for tablets */
    .carousel-control {
        width: 45px;
        height: 45px;
    }
    
    .carousel-control.left {
        left: 15px;
    }
    
    .carousel-control.right {
        right: 15px;
    }
    
    .carousel-control i {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .carousel-inner {
        height: calc((100vh - 70px) * 0.66);
    }
    
    .carousel .item {
        height: calc((100vh - 70px) * 0.66);
    }
    
    /* Contact Section - Tablet */
    .contact-section .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .contact-info-wrapper,
    .contact-form-wrapper {
        margin-bottom: 2rem;
    }
    
    /* Slide-in Sidebar Styles */
    .navbar-collapse,
    .navbar-main-collapse,
    #main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        max-width: 85vw;
        height: 100vh;
        background: var(--primary-color);
        padding: 80px 0 20px 0;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
        z-index: 10000;
        overflow-y: auto;
        overflow-x: hidden;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        display: block !important;
    }
    
    .navbar-collapse.sidebar-open,
    .navbar-main-collapse.sidebar-open,
    #main-nav.sidebar-open {
        right: 0;
    }
    
    /* Sidebar Overlay */
    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
        backdrop-filter: blur(2px);
    }
    
    .sidebar-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Sidebar Header */
    .navbar-collapse::before,
    .navbar-main-collapse::before {
        content: 'القائمة الرئيسية';
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        padding: 20px;
        background: rgba(0, 0, 0, 0.2);
        color: #fff;
        font-size: 1.2rem;
        font-weight: 600;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-nav {
        flex-direction: column;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .navbar-nav > li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-nav > li > a,
    .navbar-nav > li .nav-link {
        width: 100%;
        padding: 15px 20px;
        color: #fff;
        font-size: 1rem;
        transition: all 0.3s ease;
        display: block;
    }
    
    .navbar-nav > li > a:hover,
    .navbar-nav > li .nav-link:hover {
        background: rgba(255, 255, 255, 0.15);
        padding-right: 30px;
    }
    
    .navbar-nav > li.active > a,
    .navbar-nav > li.active .nav-link {
        background: rgba(255, 255, 255, 0.2);
        border-right: 4px solid #fff;
    }
    
    /* Mobile Dropdown Styles */
    .nav-item-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .dropdown-toggle-btn {
        background: none;
        border: none;
        color: #fff;
        padding: 0.5rem 1rem;
        cursor: pointer;
        font-size: 1rem;
        transition: all 0.3s ease;
        display: inline-block;
    }

    .dropdown-toggle-btn:hover {
        color: var(--secondary-color);
    }

    .dropdown-toggle-btn i {
        transition: transform 0.3s ease;
    }

    .dropdown.open .dropdown-toggle-btn i {
        transform: rotate(180deg);
    }

    .mobile-only {
        display: inline-block;
    }

    .desktop-only {
        display: none;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.2);
        margin: 0;
        padding: 0;
        display: none;
        border: none;
        border-right: 3px solid rgba(255, 255, 255, 0.3);
    }

    .dropdown.open .dropdown-menu {
        display: block;
        animation: slideDown 0.3s ease;
    }
    
    .dropdown-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .dropdown-menu li a {
        color: #fff;
        padding: 12px 20px 12px 40px;
        font-size: 0.95rem;
        display: block;
        transition: all 0.3s ease;
    }

    .dropdown-menu li a:hover {
        background: rgba(255, 255, 255, 0.1);
        padding-right: 50px;
    }
    
    .dropdown-menu li a::before {
        content: '◀';
        margin-left: 10px;
        opacity: 0.5;
        font-size: 0.8rem;
        transition: all 0.3s ease;
    }
    
    .dropdown-menu li a:hover::before {
        opacity: 1;
        margin-left: 15px;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            max-height: 0;
        }
        to {
            opacity: 1;
            max-height: 500px;
        }
    }

    /* Sidebar Footer */
    .mobile-menu-footer {
        position: sticky;
        bottom: 0;
        margin-top: auto;
        padding: 1.5rem 1rem;
        background: rgba(0, 0, 0, 0.3);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-menu-social-title {
        color: #fff;
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 1rem;
        text-align: center;
    }

    .mobile-menu-social-icons {
        display: flex;
        justify-content: center;
        gap: 0.8rem;
        flex-wrap: wrap;
        margin-bottom: 1rem;
    }

    .mobile-menu-social-icons a {
        width: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 50%;
        color: #fff;
        font-size: 1.1rem;
        transition: all 0.3s ease;
        border: 2px solid transparent;
    }

    .mobile-menu-social-icons a:hover {
        background: #fff;
        color: var(--accent-color);;
        transform: scale(1.15);
        border-color: #fff;
    }

    .mobile-menu-copyright {
        text-align: center;
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .mobile-menu-copyright p {
        margin: 0;
    }
    
    .carousel-inner {
        height: calc((100vh - 70px) * 0.66);
    }
    
    .carousel .item {
        height: calc((100vh - 70px) * 0.66);
    }
    
    .carousel-caption h1 {
        font-size: 2rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
}

/* ========================================
   Responsive Design - Mobile
   ======================================== */
@media (max-width: 767px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    /* Hide carousel controls on mobile */
    .carousel-control {
        display: none !important;
    }
    
    .carousel-inner {
        height: 350px;
    }
    
    .carousel .item {
        height: 350px;
    }
    
    .carousel-caption {
        bottom: 15%;
        padding: 1rem;
        right: 5%;
        left: 5%;
        text-align: center;
    }
    
    .carousel-caption h1 {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }
    
    .carousel-caption p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    /* Hide carousel controls on mobile */
    .carousel-control {
        display: none;
    }
    
    .team img,
    .team picture {
        height: 240px;
    }
    
    .blog-one-header {
        height: 220px;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    /* Contact Section - Mobile */
    .contact-section {
        padding: 3rem 0;
    }
    
    .contact-section .section-title {
        font-size: 1.8rem;
    }
    
    .contact-section .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0 15px;
    }
    
    .contact-info-wrapper {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .contact-details h4 {
        font-size: 1rem;
    }
    
    .form-title {
        font-size: 1.3rem;
    }
    
    /* Footer - Mobile */
    .modern-footer {
        padding: 3rem 0 0;
    }
    
    .footer-company-message {
        font-size: 1.1rem;
    }
    
    .footer-text {
        font-size: 0.95rem;
    }
    
    /* Floating Buttons - Mobile (Larger) */
    .floating-buttons {
        bottom: 20px;
        left: 20px;
        gap: 0.8rem;
    }
    
    .float-btn {
        width: 65px;
        height: 65px;
        font-size: 2rem;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    }
    
    .float-btn i {
        font-size: 2rem;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    h4 { font-size: 1.1rem; }
    
    .button {
        padding: 0.6rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .icon-float {
        right: 15px;
        bottom: 20px;
    }
    
    .icon-float-call {
        bottom: 90px;
    }
    
    .icon-float .float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .footer-social {
        flex-wrap: wrap;
    }
}

/* ========================================
   Stats Section - Positioned at Slider Bottom
   ======================================== */
.stats-section {
    position: relative;
    margin-top: 0;
    padding: 1.5rem 0;
    height: calc((100vh - 80px) * 0.34);
    z-index: 10;
    background: #fff;
    display: flex;
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(47, 182, 179, 0.15);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(47, 182, 179, 0.15);
    background: rgba(255, 255, 255, 1);
}

.stat-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.08);
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 0.4rem 0;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.95rem;
    color: #6c757d;
    font-weight: 600;
    margin: 0;
}

/* Stats Section - Tablet */
@media (max-width: 991px) {
    .stats-section {
        padding: 1.25rem 0;
        height: calc((100vh - 70px) * 0.34);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        max-width: 700px;
    }
    
    .stat-card {
        padding: 1.25rem 1rem;
    }
    
    .stat-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.35rem;
        margin-bottom: 0.85rem;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
}

/* Stats Section - Mobile (Artistic Layout) */
@media (max-width: 767px) {
    .carousel-inner {
        height: calc((100vh - 60px) * 0.66);
    }
    
    .carousel .item {
        height: calc((100vh - 60px) * 0.66);
    }
    
    .stats-section {
        margin-top: 0;
        padding: 1rem 0;
        height: calc((100vh - 60px) * 0.34);
        display: flex;
        align-items: center;
    }
    
    .stats-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        max-width: 100%;
    }
    
    .stat-card {
        padding: 1rem 0.75rem;
        border-radius: 8px;
    }
    
    .stat-card:nth-child(3) {
        grid-column: 1 / -1;
        background: linear-gradient(135deg, rgba(47, 182, 179, 0.05), rgba(52, 209, 204, 0.05));
        border: 2px solid rgba(47, 182, 179, 0.2);
        width: 100%;
        max-width: 100%;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

/* ========================================
   Responsive Design - Small Mobile
   ======================================== */
@media (max-width: 480px) {
    .carousel-inner {
        height: calc((100vh - 60px) * 0.66);
    }
    
    .carousel .item {
        height: calc((100vh - 60px) * 0.66);
    }
    
    .stats-section {
        height: calc((100vh - 60px) * 0.34);
        padding: 0.75rem 0;
    }
    
    .stat-card {
        padding: 0.85rem 0.6rem;
    }
    
    .stat-card:nth-child(3) {
        width: 100%;
        margin-top: 0.75rem;
    }
    
    .stat-icon {
        width: 38px;
        height: 38px;
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .carousel-caption {
        bottom: 20%;
        padding: 0.75rem;
    }
    
    .carousel-caption h1 {
        font-size: 1.2rem;
        margin-bottom: 0.4rem;
    }
    
    .carousel-caption p {
        font-size: 0.85rem;
    }
    
    /* Hide carousel controls on small mobile */
    .carousel-control {
        display: none;
    }
    
    .button-lg {
        padding: 0.75rem 1.75rem;
        font-size: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .navbar,
    .carousel-control,
    .carousel-indicators,
    .icon-float,
    .button {
        display: none !important;
    }
}

/* ========================================
   Accessibility
   ======================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
}

/* ========================================
   Performance Optimizations
   ======================================== */
.will-change-transform {
    will-change: transform;
}

.will-change-opacity {
    will-change: opacity;
}
