@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;900&display=swap');

body, html {
  font-family: 'Tajawal', Arial, Helvetica, sans-serif !important;
  background: #f6f6f7;
  color: #232323;
  line-height: 1.9;
  direction: rtl;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Tajawal', Arial, Helvetica, sans-serif !important;
  font-weight: 900;
  color: #bfa76a;
  letter-spacing: 0.5px;
}

.navbar-nav .nav-link, .navbar-brand, .sicosal-media, .link-footer, .btn, .feature-item, .team-item, .footer, .copyright {
  font-family: 'Tajawal', Arial, Helvetica, sans-serif !important;
}

/* تحسين الأزرار بتدرج لوني وتأثير */
.btn, .btn-link {
  background: #ece6d9;
  color: #232323 !important;
  border: none;
  border-radius: 14px;
  font-size: 1.12em;
  font-weight: 700;
  padding: 10px 28px;
  box-shadow: 0 2px 8px rgba(191, 167, 106, 0.08);
  transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
}
.btn:hover, .btn-link:hover {
  background: #bfa76a;
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(191, 167, 106, 0.13);
  transform: translateY(-2px) scale(1.04);
}

/* ظلال أعمق للكروت والبطاقات */
.mabutt, .feature-item, .team-item {
  background: #fff;
  border-radius: 20px !important;
  box-shadow: 0 4px 18px rgba(191, 167, 106, 0.07), 0 1.5px 6px rgba(0,0,0,0.03);
  border: 1.5px solid #ece6d9;
  margin-bottom: 24px;
  transition: box-shadow 0.3s, transform 0.2s;
  animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.mabutt:hover, .feature-item:hover, .team-item:hover {
  box-shadow: 0 8px 32px rgba(191, 167, 106, 0.13), 0 2px 8px rgba(0,0,0,0.05);
  transform: translateY(-4px) scale(1.02);
}

/* تأثير حركة عند الظهور */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}
.mabutt, .feature-item, .team-item {
  animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

/* إبراز الأيقونات الاجتماعية فقط بألوانها الرسمية */
.fa-facebook-f, .fab.fa-facebook-f { color: #1877f3 !important; background: none; }
.fa-whatsapp, .fab.fa-whatsapp { color: #25d366 !important; background: none; }
.fa-youtube, .fab.fa-youtube { color: #ff0000 !important; background: none; }
.fa-linkedin-in, .fab.fa-linkedin-in { color: #0077b5 !important; background: none; }
.fa-twitter, .fab.fa-twitter { color: #1da1f2 !important; background: none; }

/* Override for social icons in header */
.social-icon .fa-facebook-f, 
.social-icon .fab.fa-facebook-f { color: white !important; }
.social-icon .fa-whatsapp, 
.social-icon .fab.fa-whatsapp { color: white !important; }
.social-icon .fa-youtube, 
.social-icon .fab.fa-youtube { color: white !important; }
.social-icon .fa-linkedin-in, 
.social-icon .fab.fa-linkedin-in { color: white !important; }
.social-icon .fa-twitter, 
.social-icon .fab.fa-twitter { color: white !important; }
.fa-envelope { color: #bfa76a !important; background: none; }
.fa-phone-alt { color: #bfa76a !important; background: none; }

.fa, .fab, .bi {
  font-size: 1.25em;
  transition: color 0.2s, transform 0.2s;
}
.fa:hover, .fab:hover, .bi:hover {
  filter: brightness(1.2);
  transform: scale(1.12) rotate(-4deg);
}

/* تحسين المساحات البيضاء */
.container, .container-xxl {
  padding-top: 40px;
  padding-bottom: 40px;
}
.row.g-0, .row.g-4, .feature-row {
  margin-bottom: 24px;
}

/* تحسين شريط التنقل */
.navbar, .sticky-top {
  background: rgba(255,255,255,0.98) !important;
  box-shadow: 0 2px 16px rgba(191, 167, 106, 0.07);
  border-bottom: 2px solid #ece6d9;
  border-radius: 0 0 18px 18px;
}
.navbar-nav .nav-link, .navbar-brand {
  font-weight: 700;
  font-size: 1.1em;
  color: #232323 !important;
  padding: 10px 18px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.navbar-nav .nav-link.active, .navbar-nav .nav-link:hover {
  background: #f9f7f2;
  color: #bfa76a !important;
  border-bottom: 2.5px solid #bfa76a;
}

/* تحسين الفوتر */
.footer {
  display: flex;
  flex-direction: column;
  direction: rtl;
  text-align: right;
  background: linear-gradient(100deg, #bfa76a 0%, #232323 100%) !important;
  color: #fff;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -4px 32px rgba(191, 167, 106, 0.13), 0 -1.5px 8px rgba(0,0,0,0.07);
  padding: 32px 0 16px 0;
  min-height: 64px;
  font-size: 1.08em;
  position: relative;
  overflow: hidden;
}
.footer .container {
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0 32px;
}
.footer .footer-col {
  flex: 1 1 0;
  min-width: 220px;
  margin-bottom: 0;
  background: linear-gradient(90deg, #bfa76a11 0%, transparent 100%);
  border-radius: 18px;
  box-shadow: 0 2px 12px #bfa76a0a;
  padding: 0 12px 0 0;
}
.footer .footer-col:first-child {
  padding-right: 0;
}
.footer .footer-col:last-child {
  padding-left: 0;
}
.footer h4, .footer .footer-title {
  direction: rtl;
  text-align: right !important;
  color: #fff !important;
  font-weight: 900;
  font-size: 1.18em;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
.footer a, .footer p, .footer .footer-link {
  color: #fff !important;
  margin-bottom: 8px;
  font-size: 1em;
  transition: color 0.2s, text-shadow 0.2s;
  text-align: right;
  direction: rtl;
}
.footer a:hover, .footer .footer-link:hover {
  color: #ffe7b0 !important;
  text-shadow: 0 2px 8px #bfa76a44;
  text-decoration: underline;
}
.footer .btn-square, .footer .social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  margin-right: 0;
  background: rgba(255,255,255,0.08);
  box-shadow: 0 2px 8px rgba(191, 167, 106, 0.10);
  transition: background 0.2s, transform 0.2s;
  font-size: 1.25em;
  border: 1.5px solid #fff2;
}
.footer .btn-square:hover, .footer .social-icon:hover {
  background: #bfa76a;
  color: #fff !important;
  transform: scale(1.12) rotate(-6deg);
  box-shadow: 0 6px 18px #bfa76a33;
}
.footer .footer-links-list, .footer-services ul {
  direction: rtl;
  text-align: right !important;
  padding-right: 0;
  list-style: none;
  margin-bottom: 0;
}
.footer .footer-link {
  display: block;
  padding: 4px 0;
  border-radius: 8px;
  font-weight: 600;
  text-align: right !important;
  direction: rtl;
}
.footer .footer-link:before {
  content: '\2022';
  color: #ffe7b0;
  margin-left: 8px;
  font-size: 1.1em;
  vertical-align: middle;
}
.footer .footer-link:hover:before {
  color: #fff;
}
.footer .footer-title {
  border-right: 4px solid #ffe7b0;
  padding-right: 10px;
  border-radius: 0 8px 8px 0;
  background: linear-gradient(90deg, #bfa76a22 0%, transparent 100%);
}
.footer .copyright-text, .footer .company-name {
  color: #ffe7b0 !important;
  font-weight: 700;
  text-align: right;
  letter-spacing: 0.5px;
}
.footer .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.footer .footer-logo-img {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  box-shadow: 0 2px 8px #bfa76a33;
  object-fit: contain;
  background: #fff;
}
.footer .footer-company-name {
  color: #ffe7b0 !important;
  font-size: 1.25em;
  font-weight: 900;
  margin: 0;
  text-align: right;
}
.footer .footer-social-icons {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0 0;
}
.footer .footer-description {
  color: #fff;
  font-size: 1.08em;
  margin-bottom: 0;
  text-align: right;
}
@media (max-width: 991.98px) {
  .footer .container {
    flex-direction: column;
    gap: 18px 0;
  }
  .footer .footer-col {
    min-width: 0;
    margin-bottom: 18px;
    padding: 0;
  }
  .footer .footer-social-icons {
    justify-content: center;
    margin: 16px 0 0 0;
  }
  .footer .footer-logo {
    justify-content: center;
    text-align: center;
  }
  .footer .footer-company-name {
    text-align: center;
    width: 100%;
  }
  .footer .footer-description {
    text-align: center;
  }
}
@media (max-width: 767.98px) {
  .footer {
    padding: 18px 0 8px 0;
    border-radius: 18px 18px 0 0;
    font-size: 0.98em;
  }
  .footer h4, .footer .footer-title {
    font-size: 1em;
    margin-bottom: 10px;
    padding-right: 6px;
  }
  .footer .btn-square, .footer .social-icon {
    width: 34px;
    height: 34px;
    font-size: 1em;
    margin-left: 4px;
  }
}

/* تحسين المؤشرات في الكاروسيل */
.carousel-indicators li {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #bfa76a;
  margin: 0 4px;
}
.carousel-indicators .active {
  background: #ece6d9;
  border-color: #bfa76a;
}

/* تحسين زر العودة للأعلى */
.back-to-top {
  background: #bfa76a;
  color: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(191, 167, 106, 0.13);
  transition: background 0.2s, color 0.2s;
}
.back-to-top:hover {
  background: #8c7a4f;
  color: #fff;
}

/* تحسين الحواف للصور */
img, .carousel-inner img {
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(191, 167, 106, 0.05);
}

/* تحسين الروابط */
a {
  color: #bfa76a;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #8c7a4f;
  text-decoration: underline;
}

/* تحسين الفوتر */
.footer a:hover {
  color: #bfa76a !important;
}

/* تحسين الكاروسيل */
.carousel-caption {
  background: rgba(34, 34, 34, 0.45);
  border-radius: 18px;
  padding: 24px 32px;
}

/* تحسين البطاقات الشخصية للفريق */
.team-item {
  background: #fff;
  border: 1px solid #f6c27022;
  box-shadow: 0 2px 12px rgba(246, 194, 112, 0.09);
  transition: box-shadow 0.2s, transform 0.2s;
}
.team-item:hover {
  box-shadow: 0 8px 32px rgba(246, 194, 112, 0.18);
  transform: translateY(-6px) scale(1.03);
}

/* تحسين المسافات */
.container, .container-xxl {
  padding-top: 24px;
  padding-bottom: 24px;
}

/* تحسين الحواف للنصوص والصور */
img, .carousel-inner img {
  border-radius: 12px;
}

/* تحسين الروابط في الفوتر */
.link-footer {
  color: #bfa76a !important;
  font-weight: 700;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.link-footer:hover {
  color: #fff !important;
  text-decoration: underline;
}

/* تحسين النصوص الصغيرة */
small, .fs-5, .fs-4, .fs-7 {
  font-family: 'Tajawal', Arial, Helvetica, sans-serif !important;
}

/* تحسين تباعد الفقرات */
p {
  margin-bottom: 1.3em;
  font-size: 1.12em;
}

/* تحسين العناوين الفرعية */
h5 {
  font-size: 1.3em;
  color: #bfa76a;
  font-weight: 900;
  margin-bottom: 18px;
}

/* تحسين المؤشرات */
.carousel-indicators li {
  background-color: #bfa76a;
}

/* تحسين خطوط الجداول (إن وجدت) */
table {
  border-radius: 12px;
  overflow: hidden;
}

/* تحسينات عامة */
::-webkit-scrollbar {
  width: 8px;
  background: #ece6d9;
}
::-webkit-scrollbar-thumb {
  background: #bfa76a;
  border-radius: 8px;
}

/********** Template CSS **********/
:root {
    --primary: #bfa76a;
    --secondary: #232323;
    --light: #F1F3FA;
    --dark: #1C2035;
    --gradient-primary: linear-gradient(135deg, #bfa76a 0%, #d4c08a 100%);
    --gradient-secondary: linear-gradient(135deg, #232323 0%, #3a3a3a 100%);
    --shadow-light: 0 5px 15px rgba(191, 167, 106, 0.1);
    --shadow-medium: 0 10px 30px rgba(191, 167, 106, 0.2);
    --shadow-heavy: 0 20px 60px rgba(191, 167, 106, 0.3);
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-medium {
    font-weight: 500;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--dark);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
    margin-right: 0;
}

/* RTL specific dropdown arrow */
@media (min-width: 992px) {
    .navbar .dropdown-toggle::after {
        margin-left: 8px;
        margin-right: 0;
    }
}

/* Dropdown Menu Styles */
.navbar .nav-item .dropdown-menu {
    border: none;
    margin-top: 0;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    background: #efeded !important;
    border: 1px solid #ece6d9;
    text-align: right;
    direction: rtl;
    min-width: 200px;
    z-index: 1000;
}

.navbar .dropdown-item {
    color: #232323;
    font-weight: 600;
    padding: 12px 20px;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0;
    text-align: right;
    direction: rtl;
    font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
}

.navbar .dropdown-item:hover {
    background: var(--primary);
    color: #fff;
}

/* Desktop Dropdown (992px and above) */
@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        transform: translateY(-10px);
        right: 0;
        left: auto;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }
    .navbar .nav-item.dropdown {
        position: relative;
    }
    .navbar .nav-item .dropdown-menu {
        position: absolute;
        right: 0;
        left: auto;
    }
}

/* Mobile and Tablet Dropdown (below 992px) */
@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0;
        position: relative;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }

    .navbar .nav-item .dropdown-menu {
        display: none;
        position: static;
        float: none;
        width: 100%;
        background: #f8f9fa;
        border: none;
        box-shadow: none;
        margin-top: 0;
        padding: 0;
        border-radius: 0;
    }

    .navbar .nav-item .dropdown-menu.show {
        display: block !important;
        animation: slideDown 0.3s ease;
        opacity: 1;
        visibility: visible;
    }

    .navbar .dropdown-item {
        padding: 12px 25px;
        margin: 0;
        border-radius: 0;
        border-bottom: 1px solid #e9ecef;
        background: #fff;
        font-size: 0.95em;
        transition: all 0.3s ease;
    }

    .navbar .dropdown-item:hover {
        background: var(--primary);
        color: #fff;
    }

    .navbar .dropdown-item.active {
        background: var(--primary);
        color: #fff;
    }

    /* Dropdown toggle arrow for mobile */
    .navbar .dropdown-toggle::after {
        float: left;
        margin-top: 8px;
        transition: transform 0.3s ease;
        margin-left: 8px;
    }

    .navbar .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(180deg);
    }

    /* Enhanced touch targets for mobile */
    .navbar .dropdown-toggle {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* Better visual feedback */
    .navbar .nav-item.dropdown {
        border-bottom: 1px solid #f0f0f0;
    }

    .navbar .nav-item.dropdown:last-child {
        border-bottom: none;
    }
}

/* Animation for mobile dropdown */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Touch feedback for mobile dropdown */
.navbar .dropdown-toggle.touch-active {
    background-color: rgba(191, 167, 106, 0.1);
    transform: scale(0.98);
}

/* Ensure dropdown works on all devices */
.navbar .dropdown-menu {
    z-index: 1000;
}

/* Fix for Bootstrap 5 compatibility */
@media (max-width: 991.98px) {
    .navbar .dropdown-menu.show {
        display: block !important;
        position: static !important;
        float: none !important;
        width: 100% !important;
        margin-top: 0 !important;
        transform: none !important;
        text-align: right !important;
        direction: rtl !important;
    }
}

/* Additional RTL fixes */
.navbar .dropdown-menu {
    text-align: right !important;
    direction: rtl !important;
}

.navbar .dropdown-item {
    text-align: right !important;
    direction: rtl !important;
}

/* Ensure proper positioning for desktop */
@media (min-width: 992px) {
    .navbar .nav-item.dropdown {
        position: relative;
    }
    
    .navbar .nav-item .dropdown-menu {
        position: absolute;
        right: 0;
        left: auto;
        text-align: right;
        direction: rtl;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .1);
    z-index: 1;
}

/* Enhanced Carousel Styles */
.carousel {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin: 20px 0;
}

.carousel-inner {
    border-radius: 20px;
    overflow: hidden;
}

.carousel-item {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    filter: none !important;
}

.carousel-item:hover img {
    transform: scale(1.05);
}

.carousel-caption {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 30px;
    margin: 20px;
    text-align: center;
    direction: rtl;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel-caption h3 {
    font-size: 2.5em;
    font-weight: 900;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8), 1px 1px 2px rgba(0, 0, 0, 0.6);
    font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
    letter-spacing: 1px;
}

.carousel-caption p {
    font-size: 1.2em;
    color: #fff;
    margin-bottom: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 1px 1px 2px rgba(0, 0, 0, 0.6);
    font-family: 'Tajawal', Arial, sans-serif;
    line-height: 1.6;
    font-weight: 600;
}

/* Enhanced Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(191, 167, 106, 0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 20px;
    border: 3px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

/* Enhanced Carousel Indicators */
.carousel-indicators {
    bottom: 30px;
    margin-bottom: 0;
}

.carousel-indicators li {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid #fff;
    background: rgba(191, 167, 106, 0.7);
    margin: 0 6px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.carousel-indicators .active {
    background: var(--primary);
    border-color: #fff;
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(191, 167, 106, 0.4);
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 3.5rem;
    background-color: var(--primary);
    border: 15px solid var(--primary);
}

/* Responsive Carousel Styles */
@media (max-width: 1200px) {
    .carousel-item {
        height: 450px;
    }
    
    .carousel-caption h3 {
        font-size: 2.2em;
    }
    
    .carousel-caption p {
        font-size: 1.1em;
    }
}

@media (max-width: 992px) {
    .carousel-item {
        height: 400px;
    }
    
    .carousel-caption {
        padding: 25px;
        margin: 15px;
    }
    
    .carousel-caption h3 {
        font-size: 2em;
        margin-bottom: 12px;
    }
    
    .carousel-caption p {
        font-size: 1em;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
        margin: 0 15px;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 25px;
        height: 25px;
    }
}

@media (max-width: 768px) {
    .carousel {
        border-radius: 15px;
        margin: 15px 0;
    }
    
    .carousel-inner {
        border-radius: 15px;
    }
    
    .carousel-item {
        height: 350px;
    }
    
    .carousel-caption {
        padding: 20px;
        margin: 10px;
        border-radius: 12px;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
        backdrop-filter: blur(3px);
    }
    
    .carousel-caption h3 {
        font-size: 1.8em;
        margin-bottom: 10px;
    }
    
    .carousel-caption p {
        font-size: 0.95em;
        line-height: 1.5;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 45px;
        height: 45px;
        margin: 0 10px;
        border-width: 2px;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 20px;
        height: 20px;
    }
    
    .carousel-indicators {
        bottom: 20px;
    }
    
    .carousel-indicators li {
        width: 12px;
        height: 12px;
        margin: 0 4px;
        border-width: 2px;
    }
}

@media (max-width: 576px) {
    .carousel-item {
        height: 300px;
    }
    
    .carousel-caption {
        padding: 15px;
        margin: 8px;
        border-radius: 10px;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
        backdrop-filter: blur(2px);
    }
    
    .carousel-caption h3 {
        font-size: 1.5em;
        margin-bottom: 8px;
    }
    
    .carousel-caption p {
        font-size: 0.9em;
        line-height: 1.4;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
        margin: 0 8px;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 18px;
        height: 18px;
    }
    
    .carousel-indicators {
        bottom: 15px;
    }
    
    .carousel-indicators li {
        width: 10px;
        height: 10px;
        margin: 0 3px;
    }
}

/* Special styles for very small screens */
@media (max-width: 480px) {
    .carousel-item {
        height: 250px;
    }
    
    .carousel-caption {
        padding: 12px;
        margin: 5px;
    }
    
    .carousel-caption h3 {
        font-size: 1.3em;
        margin-bottom: 6px;
    }
    
    .carousel-caption p {
        font-size: 0.85em;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 35px;
        height: 35px;
        margin: 0 5px;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 16px;
        height: 16px;
    }
}

/* Carousel Animation Enhancements */
.carousel-item {
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Enhanced Carousel Loading */
.carousel-item img {
    filter: none !important;
}

.carousel-item.active img {
    filter: none !important;
}

/* Carousel Touch Improvements */
.carousel {
    touch-action: pan-y pinch-zoom;
}

/* Carousel Performance Optimizations */
.carousel-item img {
    will-change: transform;
    backface-visibility: hidden;
}

/* Carousel Accessibility */
.carousel-control-prev:focus,
.carousel-control-next:focus {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

.carousel-indicators li:focus {
    outline: 2px solid var(--primary);
    outline-offset: 1px;
}

/* Carousel Loading and Enhancement Effects */
.carousel-item img.loading {
    filter: none !important;
    transition: filter 0.3s ease;
}

.carousel-item img.enhanced {
    filter: none !important;
    transition: filter 0.5s ease;
}

.carousel-caption.animated {
    animation: captionSlideIn 0.6s ease-out;
}

@keyframes captionSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Carousel Touch Feedback */
.carousel.touch-active {
    transform: scale(0.98);
    transition: transform 0.2s ease;
}

/* Carousel Control Visibility */
.carousel-control-prev,
.carousel-control-next {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 1;
}

/* Carousel Image Quality Improvements */
.carousel-item img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    /* Enhanced visibility */
    filter: none !important;
    transition: filter 0.3s ease;
}

/* Ensure images are always visible */
.carousel-item.active img {
    filter: none !important;
}

/* Alternative caption style for better image visibility */
.carousel-caption.alternative {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: none;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Carousel Smooth Transitions */
.carousel-item {
    transition: all 0.6s ease-in-out;
}

.carousel-item.active {
    z-index: 2;
}

.carousel-item-next,
.carousel-item-prev {
    z-index: 1;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Features ***/
.feature-row {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.feature-item {
    border-color: rgba(0, 0, 0, .03) !important;
}


/*** About ***/
.about {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/about.jpg) left center no-repeat;
    background-size: cover;
}

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 36px;
    height: 46px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--primary);
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 90px;
    height: 90px;
    background: var(--primary);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 90px;
    height: 90px;
    background: var(--primary);
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: 3px;
    border-left: 30px solid #FFFFFF;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Service ***/
.service-item .service-text {
    position: relative;
    width: 100%;
    top: 0;
    left: 0;
    text-align: center;
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .06);
    transition: .5s;
    z-index: 2;
}

.service-item:hover .service-text {
    top: -1.5rem;
}

.service-item .service-text h5 {
    transition: .5s;
}

.service-item:hover .service-text h5 {
    color: var(--primary);
}

.service-item .service-btn {
    position: absolute;
    width: 80%;
    height: 3rem;
    left: 10%;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    transition: .5s;
    z-index: 1;
}

.service-item:hover .service-btn {
    bottom: -1.5rem;
}




/*** Project ***/
.project-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.project-item .project-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    padding-top: 60px;
    transition: .5s;
}

.project-item:hover .project-overlay {
    opacity: 1;
    padding-top: 0;
}




/*** Team ***/
.team-item {
    position: relative;
    text-align: center;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.team-item .team-social {
    position: absolute;
    padding: 0;
    top: 15px;
    left: 0;
    overflow: hidden;
}

.team-item .team-social li {
    list-style-type: none;
    margin-bottom: 10px;
    margin-left: -50px;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social li {
    margin-left: 15px;
    opacity: 1;
}

.team-item .team-social li .btn {
    background: #FFFFFF;
    color: var(--primary);
    border-radius: 40px;
    transition: .5s;
}

.team-item .team-social li .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.team-item .team-social li:nth-child(1) {
    transition-delay: .1s;
}

.team-item .team-social li:nth-child(2) {
    transition-delay: .2s;
}

.team-item .team-social li:nth-child(3) {
    transition-delay: .3s;
}

.team-item .team-social li:nth-child(4) {
    transition-delay: .4s;
}

.team-item .team-social li:nth-child(5) {
    transition-delay: .5s;
}


/*** Testimonial ***/
.testimonial-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    transition: .5s;
}

.owl-item .testimonial-item,
.testimonial-item * {
    transition: .5s;
}

.owl-item.center .testimonial-item,
.testimonial-item:hover {
    background: var(--primary);
}

.owl-item.center .testimonial-item *,
.testimonial-item:hover * {
    color: #FFFFFF !important;
}

.testimonial-item img {
    width: 100px !important;
    height: 100px !important;
    border-radius: 100px;
}




/*** Footer ***/
.copyright {
    color: #B0B9AE;
}

.copyright {
    background: #111111;
}

.copyright a:hover {
    color: var(--primary) !important;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .container, .container-xxl {
    padding-left: 18px;
    padding-right: 18px;
  }
  .navbar-nav .nav-link, .navbar-brand {
    font-size: 1em;
    padding: 8px 12px;
  }
}
@media (max-width: 992px) {
  .navbar-nav {
    text-align: right;
  }
  .mabutt, .feature-item, .team-item {
    margin-bottom: 18px;
  }
  .container, .container-xxl {
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .footer {
    padding: 12px 0 4px 0;
    border-radius: 14px 14px 0 0;
    font-size: 0.97em;
  }
  .footer h4 {
    font-size: 1em;
  }
  .footer .btn-square {
    width: 32px;
    height: 32px;
    font-size: 1em;
  }
}
@media (max-width: 768px) {
  h1, h2, h3, h4, h5, h6 {
    font-size: 1.1em;
  }
  .btn, .btn-link {
    font-size: 1em;
    padding: 8px 16px;
  }
  .mabutt, .feature-item, .team-item {
    padding: 12px 8px;
    font-size: 0.98em;
  }
  .footer {
    padding: 8px 0 2px 0;
    border-radius: 8px 8px 0 0;
    font-size: 0.95em;
  }
  .footer h4 {
    font-size: 0.98em;
  }
  .footer .btn-square {
    width: 28px;
    height: 28px;
    font-size: 0.95em;
  }
}
@media (max-width: 576px) {
  .navbar, .sticky-top {
    border-radius: 0;
    padding: 0 2px;
  }
  .container, .container-xxl {
    padding-left: 4px;
    padding-right: 4px;
  }
  .mabutt, .feature-item, .team-item {
    border-radius: 10px !important;
    font-size: 0.93em;
  }
  img, .carousel-inner img {
    border-radius: 8px;
  }
  .footer {
    border-radius: 8px 8px 0 0;
  }
}

/* ===== NEW ENHANCED STYLES ===== */

/* Social Media Icons */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon i {
    font-size: 18px;
    color: white !important;
    transition: all 0.3s ease;
}

.facebook-icon {
    background: #1877f3;
}

.twitter-icon {
    background: #1da1f2;
}

.linkedin-icon {
    background: #0077b5;
}

.whatsapp-icon {
    background: #25d366;
}

.youtube-icon {
    background: #ff0000;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.social-icon:hover i {
    color: white !important;
}

/* Services Section */
.services-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.services-section::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"><circle cx="50" cy="50" r="1" fill="%23bfa76a" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.section-title {
    color: var(--primary);
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    font-family: 'Cairo', sans-serif;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    font-family: 'Tajawal', sans-serif;
}

.service-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.service-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-icon::after {
    opacity: 1;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h4 {
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Cairo', sans-serif;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    font-family: 'Tajawal', sans-serif;
}

/* Statistics Section */
.statistics-section {
    background: var(--gradient-secondary);
    color: #fff;
    position: relative;
}

.statistics-section::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="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23fff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-family: 'Cairo', sans-serif;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    font-family: 'Tajawal', sans-serif;
}

/* Enhanced Dropdown */
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-medium);
    border-radius: 10px;
    padding: 0.5rem 0;
    margin-top: 0;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    color: var(--secondary);
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: 'Tajawal', sans-serif;
}

.dropdown-item:hover {
    background: var(--gradient-primary);
    color: #fff;
}

/* Enhanced Typography */
body {
    font-family: 'Tajawal', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cairo', sans-serif;
}

/* Enhanced Buttons */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Enhanced Cards */
.feature-item {
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

/* Certificates Section */
.certificates-section {
    background: #fff;
    position: relative;
}

.certificate-card {
    background: #fff;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    border: 2px solid transparent;
}

.certificate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.certificate-card:hover::before {
    opacity: 0.05;
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary);
}

.certificate-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.certificate-icon i {
    font-size: 1.5rem;
    color: white;
}

.certificate-card h5 {
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Cairo', sans-serif;
}

.certificate-card p {
    color: #666;
    font-size: 0.9rem;
    font-family: 'Tajawal', sans-serif;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .certificate-card {
        padding: 1.5rem 1rem;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
    }
    
    .social-icon i {
        font-size: 16px;
    }
}

/* Footer Social Icons - New Style */
.footer .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    margin-right: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.footer .social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.footer .social-icon:hover::before {
    left: 100%;
}

.footer .social-icon i {
    color: white !important;
    font-size: 18px;
    z-index: 1;
    position: relative;
}

.footer .social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.footer .social-icon.twitter-icon:hover {
    background: linear-gradient(135deg, #1da1f2, #0d8bd9);
}

.footer .social-icon.facebook-icon:hover {
    background: linear-gradient(135deg, #1877f3, #0d6efd);
}

.footer .social-icon.youtube-icon:hover {
    background: linear-gradient(135deg, #ff0000, #cc0000);
}

.footer .social-icon.whatsapp-icon:hover {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.footer .social-icon.linkedin-icon:hover {
    background: linear-gradient(135deg, #0077b5, #005885);
}

/* ==== Footer Modern Styles ==== */
.footer-section {
    background: var(--gradient-secondary);
    color: #fff;
    padding: 0;
    border-radius: 32px 32px 0 0;
    box-shadow: 0 -2px 24px rgba(191, 167, 106, 0.09);
    margin-top: 32px;
}
.footer-main {
    background: transparent;
    border-radius: 32px 32px 0 0;
}
.footer-logo-img {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    margin-left: 10px;
    box-shadow: 0 2px 8px rgba(191, 167, 106, 0.13);
    background: #fff;
    padding: 4px;
}
.footer-company-name {
    display: inline-block;
    font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
    font-size: 1.5em;
    font-weight: 900;
    color: var(--primary);
    margin: 0 0 0 8px;
    vertical-align: middle;
}
.footer-description {
    font-size: 1.08em;
    color: #ece6d9;
    margin-bottom: 18px;
    margin-top: 8px;
}
.footer-social-icons {
    margin-top: 12px;
}
.footer-title {
    color: var(--primary);
    font-size: 1.18em;
    font-weight: 800;
    margin-bottom: 18px;
    letter-spacing: 1px;
}
.footer-links-list, .footer-services ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-link {
    color: #fff;
    display: block;
    margin-bottom: 8px;
    font-size: 1.08em;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 600;
}
.footer-link:hover {
    color: var(--primary);
    text-decoration: underline;
}
.footer-contact .contact-info {
    margin-top: 8px;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}
.contact-icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    margin-left: 10px;
    box-shadow: 0 2px 8px rgba(191, 167, 106, 0.13);
}
.contact-details h6 {
    margin: 0 0 2px 0;
    font-size: 1em;
    color: var(--primary);
    font-weight: 700;
}
.contact-details a, .contact-details p {
    color: #ece6d9;
    font-size: 1em;
    margin: 0;
    text-decoration: none;
}
.contact-details a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Newsletter */
.footer-newsletter {
    margin: 0 auto;
    max-width: 320px;
}
.newsletter-text {
    color: #fff;
    font-size: 1.08em;
    margin-bottom: 8px;
    font-weight: 700;
}
.newsletter-form {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(191, 167, 106, 0.10);
}
.newsletter-input {
    border: none;
    outline: none;
    padding: 10px 16px;
    font-size: 1em;
    flex: 1;
    border-radius: 24px 0 0 24px;
}
.newsletter-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0 18px;
    font-size: 1.2em;
    border-radius: 0 24px 24px 0;
    cursor: pointer;
    transition: background 0.2s;
}
.newsletter-btn:hover {
    background: #8c7a4f;
}

/* Copyright Section */
.copyright-section {
    background: #181818;
    color: #ece6d9;
    padding: 18px 0 8px 0;
    font-size: 1.08em;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 -2px 24px rgba(191, 167, 106, 0.09);
}
.copyright-text {
    margin: 0;
    font-size: 1em;
    color: #ece6d9;
}
.company-name {
    color: var(--primary);
    font-weight: 800;
}
.footer-credits {
    font-size: 1em;
    color: #ece6d9;
}
.designer-link {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}
.designer-link:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 991px) {
    .footer-section .row > div {
        margin-bottom: 32px;
    }
    .footer-main, .footer-section {
        padding: 0 0 24px 0;
    }
}
@media (max-width: 767px) {
    .footer-section, .footer-main {
        border-radius: 18px 18px 0 0;
    }
    .footer-logo-img {
        width: 40px;
        height: 40px;
    }
    .footer-company-name {
        font-size: 1.1em;
    }
    .footer-title {
        font-size: 1em;
    }
    .newsletter-form {
        flex-direction: column;
        border-radius: 18px;
    }
    .newsletter-input, .newsletter-btn {
        border-radius: 18px !important;
        width: 100%;
        margin-bottom: 6px;
    }
}

@media (max-width: 600px) {
  .carousel,
  .carousel-inner,
  .carousel-item,
  .carousel-item img {
    margin: 0 !important;
    padding: 0 !important;
    height: 250px !important;
    min-height: 250px !important;
    max-height: 250px !important;
    box-sizing: border-box;
  }
}

.navbar .dropdown-item.active {
    background: transparent !important;
    color: #232323 !important;
}

.footer .footer-links-list li, .footer .footer-links-list a {
  direction: rtl !important;
  text-align: right !important;
}