/*

Tooplate 2115 Marvel

https://www.tooplate.com/view/2115-marvel

*/


@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --primary-color: #d4a35a;
  --secondary-color: #474559;
  --accent-color: #ffc200;
  --copper-light: #e8b87a;
  --copper-dark: #b8864a;
  --copper-burnished: #cd853f;
  --moroccan-blue: #2c5f7c;
  --moroccan-terracotta: #c45a2b;
  --text-dark: #2c2c2c;
  --text-light: #6c6c6c;
  --bg-light: #fafafa;
  --bg-white: #ffffff;
  --bg-cream: #fef9f3;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
  --shadow-copper: 0 4px 20px rgba(212, 163, 90, 0.25);
  --gradient-primary: linear-gradient(135deg, #d4a35a 0%, #c49350 100%);
  --gradient-copper: linear-gradient(135deg, #e8b87a 0%, #d4a35a 50%, #b8864a 100%);
  --gradient-overlay: linear-gradient(135deg, rgba(212, 163, 90, 0.9) 0%, rgba(71, 69, 89, 0.9) 100%);
  --gradient-moroccan: linear-gradient(135deg, rgba(212, 163, 90, 0.1) 0%, rgba(44, 95, 124, 0.1) 50%, rgba(196, 90, 43, 0.1) 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  padding-top: 80px;
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  background: var(--bg-cream);
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(212, 163, 90, 0.02) 2px,
      rgba(212, 163, 90, 0.02) 4px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(212, 163, 90, 0.02) 2px,
      rgba(212, 163, 90, 0.02) 4px
    );
  pointer-events: none;
  z-index: 0;
  opacity: 0.3;
}

body > * {
  position: relative;
  z-index: 1;
}

.full-screen {
  padding: 120px 0;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
}

.small-text {
  color: var(--copper-dark);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 35px;
  border-radius: 50px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(212, 163, 90, 0.15) 0%, rgba(232, 184, 122, 0.15) 100%);
  display: inline-block;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease;
  border: 1px solid rgba(212, 163, 90, 0.2);
  box-shadow: 0 2px 8px rgba(212, 163, 90, 0.1);
  position: relative;
}

.small-text::before {
  content: '✦';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  opacity: 0.6;
  color: var(--copper-burnished);
}

.small-text::after {
  content: '✦';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  opacity: 0.6;
  color: var(--copper-burnished);
}

ul {
  margin: 0;
  padding: 0;
}
ul li {
  list-style: none;
}

a {
  font-weight: normal;
  text-decoration: none !important;
  transition: all 0.4s ease;
}
a:hover {
  color: #ffc200 !important;
}

.navbar-brand .uil {
  font-size: 40px;
}

p {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  letter-spacing: -1px;
}

h1 {
  font-family: "Playfair Display", serif;
  color: var(--text-dark);
  font-size: 3.5em;
  margin: 24px 0;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -1.5px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-subtitle {
  font-size: 1.4em;
  color: var(--copper-dark);
  font-weight: 600;
  margin: 15px 0 20px 0;
  font-style: italic;
  font-family: "Playfair Display", serif;
  animation: fadeInUp 0.8s ease 0.3s both;
  text-shadow: 0 2px 4px rgba(212, 163, 90, 0.1);
}

h2 {
  font-family: "Playfair Display", serif;
  color: var(--text-dark);
  font-size: 2.8em;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-copper);
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(212, 163, 90, 0.3);
}

h2::before {
  content: '✦';
  position: absolute;
  bottom: -15px;
  left: calc(50% - 50px);
  color: var(--copper-burnished);
  font-size: 12px;
  opacity: 0.6;
}

h2 {
  position: relative;
}

h2::before {
  content: '✦';
  position: absolute;
  bottom: -15px;
  left: calc(50% - 50px);
  color: var(--copper-burnished);
  font-size: 12px;
  opacity: 0.6;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-copper);
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(212, 163, 90, 0.3);
}

h2::after::before {
  content: '✦';
  position: absolute;
  bottom: -5px;
  right: -20px;
  color: var(--copper-burnished);
  font-size: 12px;
  opacity: 0.6;
}

h2::after::after {
  content: '✦';
  position: absolute;
  bottom: -5px;
  left: -20px;
  color: var(--copper-burnished);
  font-size: 12px;
  opacity: 0.6;
}

h3 {
  font-family: "Playfair Display", serif;
  color: var(--text-dark);
  font-size: 1.8em;
  font-weight: 600;
}

h3,
b, strong {
  font-weight: bold;
}

.custom-btn {
  background: var(--bg-white);
  color: var(--primary-color);
  font-weight: 600;
  border-radius: 50px;
  padding: 16px 35px;
  font-size: 15px;
  line-height: normal;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid var(--primary-color);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  animation: fadeInUp 0.8s ease 0.6s both;
}

.custom-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: left 0.4s ease;
  z-index: -1;
}

.custom-btn:hover {
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.custom-btn:hover::before {
  left: 0;
}

.custom-btn i {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.custom-btn:hover i {
  transform: translateX(5px);
}

.custom-btn.custom-btn-bg {
  background: var(--gradient-primary);
  color: #ffffff;
  border-color: transparent;
}

.custom-btn.custom-btn-bg::before {
  background: var(--secondary-color);
}

.custom-btn.custom-btn-bg:hover {
  background: var(--secondary-color);
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.animated {
  position: relative;
}

.animated-info {
  display: inline-block;
  vertical-align: top;
  margin-top: 5px;
  min-width: 260px;
  position: relative;
}

.animated-item {
  color: var(--primary-color);
  font-weight: 700;
}

.animated-item {
  font-size: 38px;
  line-height: inherit;
  display: block;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  animation: BottomTotop 6s linear infinite 0s;
}
.animated-item:nth-child(2n+2) {
  animation-delay: 2s;
}
.animated-item:nth-child(3n+3) {
  animation-delay: 4s;
}

@keyframes BottomTotop {
  0% {
    opacity: 0;
  }
  5% {
    opacity: 0;
    transform: translateY(5px);
  }
  10% {
    opacity: 1;
    transform: translateY(0px);
  }
  25% {
    opacity: 1;
    transform: translateY(0px);
  }
  30% {
    opacity: 0;
    transform: translateY(5px);
  }
  80% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 999999;
  will-change: transform;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(254, 249, 243, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(212, 163, 90, 0.1);
  border-bottom: 2px solid rgba(212, 163, 90, 0.15);
  width: 100%;
}

/* Ensure navbar container doesn't overflow on mobile */
@media (max-width: 991px) {
  .navbar .container {
    width: 100%;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }
}

.navbar[class*="-unpinned"] {
  transform: translate(0, -150%);
}

.navbar[class*="-pinned"] {
  transform: translate(0, 0);
}

.navbar[class*="headroom--not-top"] {
  background: rgba(254, 249, 243, 0.98);
  border-bottom: 2px solid rgba(212, 163, 90, 0.2);
  padding-top: 15px;
  padding-bottom: 15px;
  box-shadow: var(--shadow-copper);
}

.navbar-brand {
  font-weight: bold;
  transition: transform 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.navbar-brand img {
  max-width: 200px;
  width: auto;
  height: auto;
  max-height: 80px;
  object-fit: contain;
  transition: all 0.3s ease;
  display: block;
}

.navbar-brand:hover img {
  filter: brightness(1.1);
  transform: scale(1.05);
}

@media (max-width: 991px) {
  .navbar-brand img {
    max-width: 180px;
    max-height: 70px;
  }
}

@media (max-width: 767px) {
  .navbar-brand img {
    max-width: 150px;
    max-height: 60px;
  }
}

.navbar-expand-sm .navbar-nav .nav-link {
  padding: 0 20px;
}

/* Mobile nav links - stack vertically */
@media (max-width: 991px) {
  .navbar-expand-sm .navbar-nav .nav-link {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 20px !important;
  }
}

.nav-link {
  font-weight: 500;
  font-size: 16px;
  overflow: hidden;
  color: var(--text-dark) !important;
  position: relative;
  padding: 8px 0 !important;
  margin: 0 5px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 3px;
  background: var(--gradient-copper);
  transition: transform 0.3s ease;
  box-shadow: 0 2px 6px rgba(212, 163, 90, 0.3);
  border-radius: 2px;
}

.nav-link span {
  position: relative;
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link span:before {
  position: absolute;
  top: 100%;
  content: attr(data-hover);
  transform: translate3d(0, 0, 0);
  color: var(--primary-color);
}

.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
  font-weight: 600;
}

.navbar-light .navbar-nav .nav-link:focus::after,
.navbar-light .navbar-nav .nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.navbar-light .navbar-nav .nav-link:focus span,
.navbar-light .navbar-nav .nav-link:hover span {
  transform: translateY(-100%);
}

.navbar-light .navbar-toggler-icon {
  background: none;
}

.navbar-toggler {
  border: 0;
  padding: 0;
  width: 32px;
  height: 32px;
  line-height: 32px;
  outline: none;
  cursor: pointer;
  margin-right: 10px;
  z-index: 10000;
  position: relative;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 163, 90, 0.25);
}

/* Ensure toggler is visible on mobile */
@media (max-width: 991px) {
  .navbar-toggler {
    display: block !important;
  }
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:first-child {
  transform: rotate(45deg);
  top: 6px;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:nth-child(2) {
  display: none;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:last-child {
  transform: rotate(-45deg);
  bottom: 1px;
}
.navbar-toggler .navbar-toggler-icon {
  background: #212121;
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  transition: all 0.4s ease;
  position: relative;
}

.copyright-text {
  font-size: 16px;
  font-weight: normal;
  display: block;
}

.color-mode {
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(212, 163, 90, 0.2);
  border-radius: 25px;
  color: var(--text-dark);
  font-size: 14px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  white-space: nowrap;
}

.color-mode:hover {
  background: rgba(212, 163, 90, 0.1);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 163, 90, 0.2);
}

.color-mode-icon {
  position: relative;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.color-mode-icon:after {
  font-family: 'unicons';
  content: '\ea9f';
  font-size: 18px;
  font-weight: 300;
  font-style: normal;
  display: block;
  color: var(--text-dark);
}

.color-mode-icon.active:after {
  font-family: 'unicons';
  content: '\eb65';
  font-size: 18px;
  color: var(--primary-color);
}

.dark-mode {
  background: #0c0c0d;
}
.dark-mode .navbar-light .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.8);
}
.dark-mode .navbar-light .navbar-nav .nav-link:hover {
  color: #ffc200;
}
.dark-mode .navbar[class*="headroom--not-top"] {
  background: #0c0c0d;
  border-bottom: 1px solid #1f1f1f;
}
.dark-mode .small-text {
  background: #0d0c15;
  color: #ffffff;
}
.dark-mode .feature-card .uil,
.dark-mode .navbar-light .navbar-brand,
.dark-mode h1, .dark-mode h2, .dark-mode h3, .dark-mode h4, .dark-mode h5, .dark-mode h6 {
  color: #ffffff;
}

.dark-mode .color-mode {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(30, 30, 30, 0.5);
  border-color: rgba(212, 163, 90, 0.3);
}

.dark-mode .color-mode:hover {
  background: rgba(212, 163, 90, 0.2);
  border-color: var(--primary-color);
}

.dark-mode .color-mode-icon:after {
  color: rgba(255, 255, 255, 0.9);
}

.dark-mode .color-mode-icon.active:after {
  color: var(--primary-color);
}
.dark-mode .owl-carousel .owl-nav button.owl-next,
.dark-mode .owl-carousel .owl-nav button.owl-prev,
.dark-mode .owl-carousel button.owl-dot {
  color: #ffffff;
}

.timeline-wrapper {
  position: relative;
  padding: 22px 0;
}
.timeline-wrapper:last-child:before {
  height: 0;
}
.timeline-wrapper:before {
  content: "";
  background: #474559;
  width: 3px;
  height: 100%;
  position: absolute;
  left: 38px;
}

.timeline-yr {
  background: #474559;
  border-radius: 100%;
  position: absolute;
  width: 75px;
  height: 75px;
  line-height: 75px;
  text-align: center;
}
.timeline-yr span {
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  display: block;
  line-height: 75px;
}

.timeline-info {
  display: inline-block;
  vertical-align: top;
  max-width: 432px;
  margin-left: 6em;
}
.timeline-info small {
  color: #474559;
  font-size: 16px;
  font-weight: bold;
  display: inline-block;
  vertical-align: middle;
  margin-left: 15px;
}

.owl-carousel .owl-nav span {
  display: none;
}
.owl-carousel .owl-nav .owl-prev:before,
.owl-carousel .owl-nav .owl-next:before {
  background: none;
  padding: 0;
  display: block;
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  font-family: 'unicons';
  font-size: 100px;
  line-height: normal;
}
.owl-carousel .owl-nav .owl-prev:before {
  content: '\e833';
  left: -60px;
  color: var(--primary-color);
  text-shadow: 0 2px 10px rgba(212, 163, 90, 0.3);
  transition: all 0.3s ease;
}

.owl-carousel .owl-nav .owl-prev:hover:before {
  transform: translateX(-5px);
  text-shadow: 0 4px 15px rgba(212, 163, 90, 0.5);
}

.owl-carousel .owl-nav .owl-next:before {
  content: '\e836';
  right: -60px;
  color: var(--primary-color);
  text-shadow: 0 2px 10px rgba(212, 163, 90, 0.3);
  transition: all 0.3s ease;
}

.owl-carousel .owl-nav .owl-next:hover:before {
  transform: translateX(5px);
  text-shadow: 0 4px 15px rgba(212, 163, 90, 0.5);
}

.owl-theme .owl-nav [class*=owl-] {
  background: none;
  border-radius: 0;
  margin: 0;
  padding: 0;
  font-size: inherit;
}
.owl-theme .owl-nav [class*=owl-]:hover {
  color: var(--primary-color);
}
.owl-theme .owl-dots .owl-dot {
  outline: none;
}
.owl-theme .owl-dots .owl-dot span {
  width: 12px;
  height: 12px;
  background: rgba(212, 163, 90, 0.3);
  transition: all 0.3s ease;
}

.owl-theme .owl-dots .owl-dot.active span, 
.owl-theme .owl-dots .owl-dot:hover span {
  background: var(--primary-color);
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(212, 163, 90, 0.5);
}

.google-map {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.google-map:hover {
  transform: scale(1.02);
}

.google-map iframe {
  width: 100%;
  height: 450px;
  border: 0;
  display: block;
}

.contact-form {
  position: relative;
}
.contact-form .form-control {
  background: transparent;
  border-radius: 2px;
  outline: none;
  box-shadow: none;
  font-weight: bold;
  margin: 16px 0;
}
.contact-form .form-control:not(textarea) {
  height: 48px;
}
.contact-form .form-control:hover, 
.contact-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(212, 163, 90, 0.1);
}
.contact-form .submit-btn {
  background: var(--gradient-primary);
  border-radius: 50px;
  color: #ffffff;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  padding: 16px 40px;
  font-size: 16px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.contact-form .submit-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.contact-form .submit-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.contact-form .submit-btn:hover::before {
  width: 300px;
  height: 300px;
}

.contact-form .submit-btn:active {
  transform: translateY(-1px);
}

.contact-info {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #3a3847 100%);
  border-radius: 0 0 12px 12px;
  position: relative;
  bottom: 8px;
  box-shadow: var(--shadow-md);
  padding: 25px !important;
}

.contact-info p, 
.contact-info a {
  color: #ffffff;
  font-size: 16px;
}

.contact-info h3 {
  color: var(--primary-color);
  font-size: 1.5em;
  margin-bottom: 15px;
  font-family: "Playfair Display", serif;
  font-weight: 700;
}

.contact-info-item p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.contact-info-item i {
  color: var(--primary-color);
  margin-right: 12px;
  font-size: 18px;
}

.social-links .uil {
  color: #f7f3f3;
  font-size: 20px;
  display: block;
  margin: 5px 0;
}
.social-links .uil {
  transition: all 0.3s ease;
}

.social-links .uil:hover {
  color: var(--primary-color);
  transform: translateY(-3px) scale(1.2);
}

@media (min-width: 1270px) {
  .owl-theme .owl-dots {
    position: relative;
    bottom: 50px;
  }
}
@media (max-width: 991px) {
  .full-screen {
    padding-bottom: 4rem;
  }

  /* Show color mode on mobile but make it smaller */
  .color-mode {
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
  }
  
  .color-mode span {
    display: none !important; /* Hide text label on mobile, show only icon */
  }
  
  .color-mode {
    padding: 8px 12px;
    gap: 6px;
  }
  
  .color-mode-icon {
    font-size: 24px;
  }

    .about-image {
    margin-top: 4em;
    position: relative;
    animation: fadeInRight 1s ease 0.6s both;
  }

  .mobile-mt-2,
  .contact-form {
    margin-top: 2em;
  }

  .contact-info {
    padding: 0 2rem;
  }
}
@media (max-width: 767px) {
  h1 {
    font-size: 2.8em;
  }

  h2 {
    font-size: 2.2em;
  }
  
  h2::after {
    width: 40px;
  }

  .animated-item {
    font-size: 28px;
  }

  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    text-align: center;
    padding: 20px;
    margin-top: 15px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .navbar-expand-sm .navbar-nav .nav-link {
    padding: 3px 20px;
  }
  
  /* Ensure navbar-nav items stack properly on mobile */
  .navbar-nav.mx-auto {
    width: 100%;
    margin-bottom: 15px;
  }
  
  .navbar-nav.ml-lg-auto {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .navbar-nav.ml-lg-auto > div {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-left: 0 !important;
  }
  
  /* Ensure color mode is visible on mobile */
  .navbar-nav.ml-lg-auto .color-mode {
    display: flex !important;
    margin-top: 0;
  }
}
@media (max-width: 580px) {
	.animated-info {
		min-width: 200px;
	}
  .animated-item {
    font-size: 30px;
  }

  .custom-btn-group {
    text-align: center;
  }

  .custom-btn {
    display: block;
    margin: 10px 0;
  }

  .owl-theme .owl-nav {
    display: none;
  }

  .timeline-info small {
    display: block;
    margin: 10px 0 0 0;
  }
}
@media (max-width: 320px) {
  .animated-text {
    margin-top: 0;
  }

  .about-text {
    text-align: center;
  }

  .full-screen {
    padding: 4rem 0;
  }

  .mobile-block {
    display: block;
  }

  .contact-info {
    flex-direction: column;
  }

  .social-links li {
    display: inline-block;
    vertical-align: top;
  }
}

/* Professional Enhancements */
.services-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  animation: fadeInUp 0.8s ease 0.5s both;
}

.services-list li {
  padding: 12px 0;
  color: var(--text-light);
  font-size: 17px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 35px;
}

.services-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.services-list li:hover {
  color: var(--text-dark);
  padding-left: 40px;
}

.services-list li:hover::before {
  width: 25px;
}

.services-list li i {
  color: var(--primary-color);
  margin-right: 15px;
  font-size: 20px;
  transition: transform 0.3s ease;
  position: absolute;
  left: 0;
}

.services-list li:hover i {
  transform: scale(1.2) rotate(5deg);
}

.lead {
  font-size: 1.25em;
  font-weight: 400;
  color: var(--text-light);
  margin-bottom: 40px;
  line-height: 1.8;
  font-style: italic;
  position: relative;
  padding-left: 30px;
}

.lead::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 3em;
  color: var(--primary-color);
  opacity: 0.3;
  font-family: "Playfair Display", serif;
}

/* Project Card Enhancements */
.project-info {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow-copper);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: var(--bg-white);
  border: 2px solid rgba(212, 163, 90, 0.2);
  position: relative;
}

.project-info::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-copper);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-info:hover::after {
  opacity: 1;
}

.project-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-overlay);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.project-info:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-copper);
  border-color: var(--copper-dark);
  border-width: 2px;
}

.project-info:hover::before {
  opacity: 1;
}

.project-info img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: brightness(1);
}

.project-info:hover img {
  transform: scale(1.1);
  filter: brightness(0.9);
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(44, 44, 44, 0.98) 0%, transparent 100%);
  color: #ffffff;
  padding: 30px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 2;
}

.project-info:hover .project-overlay {
  transform: translateY(0);
}

.project-overlay h4 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1.5em;
  font-family: "Playfair Display", serif;
  font-weight: 700;
}

.project-overlay p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-size: 1em;
  font-weight: 400;
}

/* Contact Form Enhancements */
.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form .form-control {
  padding: 12px 20px;
  font-size: 16px;
  border: 2px solid #e0e0e0;
  transition: all 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: #ffc200;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 194, 0, 0.1);
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 300px;
}

.contact-btn i {
  margin-right: 10px;
  font-size: 18px;
}

.email-btn {
  background: #474559;
  color: #ffffff;
  border: 2px solid #474559;
}

.email-btn:hover {
  background: #ffc200;
  border-color: #ffc200;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 194, 0, 0.3);
}

.whatsapp-btn {
  background: #25d366;
  color: #ffffff;
  border: 2px solid #25d366;
}

.whatsapp-btn:hover {
  background: #128c7e;
  border-color: #128c7e;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Section Improvements with Moroccan Theme */
.project {
  background: var(--gradient-moroccan);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.project::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-copper);
  box-shadow: 0 2px 10px rgba(212, 163, 90, 0.3);
}

.project::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 20px,
      rgba(212, 163, 90, 0.02) 20px,
      rgba(212, 163, 90, 0.02) 40px
    );
  pointer-events: none;
  opacity: 0.5;
}

.about {
  background: linear-gradient(135deg, var(--bg-cream) 0%, #ffffff 50%, var(--bg-cream) 100%);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(212, 163, 90, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(71, 69, 89, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 20%, rgba(196, 90, 43, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.about::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 163, 90, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

/* Hero Background */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background: 
    radial-gradient(circle at 30% 40%, rgba(212, 163, 90, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(71, 69, 89, 0.08) 0%, transparent 50%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
  transition: transform 0.1s ease-out;
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Floating Shapes */
.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
  transition: transform 0.1s ease-out;
}

.shape {
  position: absolute;
  opacity: 0.1;
  animation: floatShape 20s infinite ease-in-out;
}

.shape-1 {
  width: 150px;
  height: 150px;
  background: var(--primary-color);
  border-radius: 50%;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 100px;
  height: 100px;
  background: var(--secondary-color);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  top: 60%;
  right: 15%;
  animation-delay: 5s;
}

.shape-3 {
  width: 120px;
  height: 120px;
  background: var(--primary-color);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  bottom: 20%;
  left: 20%;
  animation-delay: 10s;
}

@keyframes floatShape {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(30px, -30px) rotate(90deg);
  }
  50% {
    transform: translate(-20px, 20px) rotate(180deg);
  }
  75% {
    transform: translate(20px, 30px) rotate(270deg);
  }
}

.about .container {
  position: relative;
  z-index: 1;
}

/* Section Divider */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 163, 90, 0.3), transparent);
  margin: 40px 0;
  position: relative;
}

.section-divider::before,
.section-divider::after {
  content: '';
  position: absolute;
  top: -2px;
  width: 6px;
  height: 6px;
  background: var(--primary-color);
  border-radius: 50%;
}

.section-divider::before {
  left: 50%;
  transform: translateX(-50%);
}

.section-divider::after {
  left: 50%;
  transform: translateX(calc(-50% + 20px));
  animation: dividerPulse 2s infinite;
}

@keyframes dividerPulse {
  0%, 100% {
    opacity: 1;
    transform: translateX(calc(-50% + 20px)) scale(1);
  }
  50% {
    opacity: 0.5;
    transform: translateX(calc(-50% + 20px)) scale(1.5);
  }
}

/* Statistics Section */
.statistics {
  background: var(--gradient-moroccan);
  padding: 80px 0;
  position: relative;
  border-top: 3px solid transparent;
  border-image: var(--gradient-copper) 1;
  border-bottom: 3px solid transparent;
  border-image: var(--gradient-copper) 1;
}

.statistics::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 50px,
      rgba(212, 163, 90, 0.03) 50px,
      rgba(212, 163, 90, 0.03) 100px
    );
  pointer-events: none;
  opacity: 0.5;
}

.statistics::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-copper);
  box-shadow: 0 2px 10px rgba(212, 163, 90, 0.3);
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: var(--shadow-copper);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  border: 2px solid rgba(212, 163, 90, 0.15);
}

.stat-item.revealed {
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.6s ease forwards;
}

.stat-item:nth-child(1).revealed {
  animation-delay: 0.1s;
}

.stat-item:nth-child(2).revealed {
  animation-delay: 0.2s;
}

.stat-item:nth-child(3).revealed {
  animation-delay: 0.3s;
}

.stat-item:nth-child(4).revealed {
  animation-delay: 0.4s;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 163, 90, 0.1), transparent);
  transition: left 0.6s ease;
}

.stat-item:hover::before {
  left: 100%;
}

.stat-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-copper);
  border: 2px solid var(--copper-dark);
  background: linear-gradient(135deg, #ffffff 0%, var(--bg-cream) 100%);
}

.stat-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: var(--gradient-copper);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #ffffff;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(212, 163, 90, 0.3);
  position: relative;
}

.stat-icon::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  background: var(--gradient-copper);
  opacity: 0.3;
  z-index: -1;
  filter: blur(8px);
}

.stat-item:hover .stat-icon {
  transform: scale(1.15) rotate(10deg);
  box-shadow: 0 8px 25px rgba(212, 163, 90, 0.5);
  background: var(--gradient-copper);
}

.stat-item:hover .stat-icon::before {
  opacity: 0.5;
  filter: blur(12px);
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-dark);
  font-family: "Playfair Display", serif;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.stat-item:hover .stat-number {
  color: var(--copper-dark);
  transform: scale(1.05);
  text-shadow: 0 2px 8px rgba(212, 163, 90, 0.2);
}

.stat-label {
  font-size: 16px;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Services Showcase Section */
.services-showcase {
  background: linear-gradient(135deg, var(--bg-cream) 0%, #ffffff 50%, var(--bg-cream) 100%);
  padding: 100px 0;
  position: relative;
}

.services-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 10% 20%, rgba(212, 163, 90, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(196, 90, 43, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

.service-card {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: var(--shadow-copper);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(212, 163, 90, 0.2);
  opacity: 0;
  transform: translateY(30px);
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-copper);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.service-card.revealed {
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.6s ease forwards;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-copper);
  border-color: var(--copper-dark);
  background: linear-gradient(135deg, #ffffff 0%, var(--bg-cream) 100%);
}

.service-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, rgba(212, 163, 90, 0.1) 0%, rgba(71, 69, 89, 0.1) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  color: var(--primary-color);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.service-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background: var(--gradient-primary);
  border-radius: 50%;
  transition: all 0.4s ease;
  z-index: -1;
}

.service-card:hover .service-icon {
  background: var(--gradient-copper);
  color: #ffffff;
  transform: scale(1.15) rotate(10deg);
  box-shadow: 0 10px 35px rgba(212, 163, 90, 0.4);
  border-color: var(--copper-dark);
}

.service-card:hover .service-icon::after {
  width: 120px;
  height: 120px;
}

.service-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.service-card:hover h3 {
  color: var(--copper-dark);
}

.service-card p {
  color: var(--text-light);
  line-height: 1.8;
  margin: 0;
}

/* Testimonials Section */
.testimonials {
  background: var(--gradient-moroccan);
  padding: 100px 0;
  position: relative;
}

.testimonials::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-copper);
  box-shadow: 0 -2px 10px rgba(212, 163, 90, 0.3);
}

.testimonial-card {
  background: #ffffff;
  padding: 40px 35px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  position: relative;
  border: 2px solid transparent;
  opacity: 0;
  transform: translateY(30px);
}

.testimonial-card.revealed {
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.6s ease forwards;
}

.testimonial-card:nth-child(1).revealed {
  animation-delay: 0.1s;
}

.testimonial-card:nth-child(2).revealed {
  animation-delay: 0.2s;
}

.testimonial-card:nth-child(3).revealed {
  animation-delay: 0.3s;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(212, 163, 90, 0.02) 0%, rgba(71, 69, 89, 0.02) 100%);
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.testimonial-card:hover::before {
  opacity: 1;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-copper);
  border-color: var(--copper-dark);
  background: linear-gradient(135deg, #ffffff 0%, var(--bg-cream) 100%);
}

.testimonial-card:hover::after {
  transform: scaleX(1);
}

.testimonial-quote {
  position: absolute;
  top: 20px;
  right: 25px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #ffffff;
  opacity: 0.2;
  transition: all 0.4s ease;
  z-index: 1;
}

.testimonial-card:hover .testimonial-quote {
  opacity: 1;
  transform: scale(1.25) rotate(15deg);
  box-shadow: 0 8px 25px rgba(212, 163, 90, 0.5);
  background: var(--gradient-copper);
}

.testimonial-text {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 25px;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(212, 163, 90, 0.1);
  position: relative;
  z-index: 1;
}

.author-info h4 {
  font-family: "Playfair Display", serif;
  font-size: 1.2em;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.author-info span {
  font-size: 14px;
  color: var(--text-light);
}

.testimonial-rating {
  color: var(--primary-color);
  font-size: 18px;
}

.testimonial-rating i {
  margin-left: 2px;
}

.contact {
  padding: 100px 0;
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 50%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 80% 20%, rgba(212, 163, 90, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(71, 69, 89, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

/* Footer Enhancements */
.footer {
  background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 163, 90, 0.5), transparent);
}

.footer .copyright-text {
  color: #b0b0b0;
  font-size: 15px;
  margin-bottom: 5px;
}

.footer .copyright-text a {
  color: var(--primary-color);
  transition: all 0.3s ease;
  font-weight: 600;
  position: relative;
}

.footer .copyright-text a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.footer .copyright-text a:hover {
  color: #ffffff;
}

.footer .copyright-text a:hover::after {
  width: 100%;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.5;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.about-image svg,
.about-image .craft-icon {
  animation: float 6s ease-in-out infinite;
}

.image-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(212, 163, 90, 0.05) 0%, rgba(71, 69, 89, 0.05) 100%);
  border-radius: 20px;
  overflow: hidden;
}

.craft-icon {
  position: relative;
  z-index: 2;
}

.craft-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 163, 90, 0.1) 0%, transparent 70%);
  animation: pulse 3s ease-in-out infinite;
}

/* Moroccan Craft Icon */
.moroccan-craft-icon {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.moroccan-craft-icon i {
  font-size: 120px;
  color: var(--primary-color);
  opacity: 0.4;
  z-index: 3;
  position: relative;
  filter: drop-shadow(0 4px 8px rgba(212, 163, 90, 0.2));
  animation: float 6s ease-in-out infinite;
}

/* Moroccan Geometric Patterns */
.craft-pattern {
  position: absolute;
  opacity: 0.15;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  animation: rotatePattern 20s linear infinite;
}

.pattern-1 {
  width: 180px;
  height: 180px;
  border-style: solid;
  border-width: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-duration: 25s;
}

.pattern-2 {
  width: 140px;
  height: 140px;
  border-style: dashed;
  border-width: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  animation: rotatePatternReverse 30s linear infinite;
}

.pattern-3 {
  width: 100px;
  height: 100px;
  border-style: solid;
  border-width: 1px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(90deg);
  animation-duration: 35s;
  border-radius: 20%;
}

.craft-icon-large .pattern-4 {
  width: 220px;
  height: 220px;
  border-style: dotted;
  border-width: 1px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 30%;
}

/* Additional decorative elements for Moroccan style */
.craft-pattern::before,
.craft-pattern::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
  opacity: 0.3;
}

.pattern-1::before {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.pattern-1::after {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.pattern-2::before {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.pattern-2::after {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.pattern-3::before {
  top: 10px;
  left: 10px;
}

.pattern-3::after {
  bottom: 10px;
  right: 10px;
}

@keyframes rotatePattern {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.pattern-4,
.craft-icon-large .pattern-4 {
  animation: rotatePatternReverse 40s linear infinite;
}

@keyframes rotatePatternReverse {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}

.image-placeholder::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(212, 163, 90, 0.03) 10px,
      rgba(212, 163, 90, 0.03) 20px
    );
  pointer-events: none;
}

/* Responsive Improvements */
@media (max-width: 991px) {
  .contact-buttons {
    align-items: center;
  }
  
  .contact-btn {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .project-overlay {
    transform: translateY(0);
    position: relative;
    background: #474559;
    margin-top: -5px;
  }
  
  .project-info:hover .project-overlay {
    transform: translateY(0);
  }
  
  .services-list li {
    font-size: 14px;
  }
  
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 18px;
  }

  .stat-number {
    font-size: 36px;
  }

  .stat-icon {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }

  .service-card,
  .testimonial-card {
    margin-bottom: 20px;
  }

  .floating-shapes {
    display: none;
  }
}

@media (max-width: 480px) {
  .scroll-to-top {
    bottom: 80px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

/* ===================================
   ABOUT PAGE STYLES
   =================================== */

/* About Hero Section */
.about-hero {
  position: relative;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--bg-cream) 0%, #ffffff 50%, var(--bg-cream) 100%);
  overflow: hidden;
  min-height: 60vh;
  display: flex;
  align-items: center;
  border-bottom: 3px solid var(--gradient-copper);
  box-shadow: 0 2px 15px rgba(212, 163, 90, 0.2);
}

.about-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 30% 40%, rgba(212, 163, 90, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(71, 69, 89, 0.08) 0%, transparent 50%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  z-index: 0;
  pointer-events: none;
}

.about-hero-content {
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease;
}

.about-hero-title {
  font-family: "Playfair Display", serif;
  font-size: 3.5em;
  font-weight: 700;
  color: var(--text-dark);
  margin: 20px 0;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.about-hero-subtitle {
  font-size: 1.3em;
  color: var(--text-light);
  font-weight: 400;
  animation: fadeInUp 0.8s ease 0.4s both;
}

/* About Content Section */
.about-content {
  padding: 100px 0;
  background: #ffffff;
  position: relative;
}

.about-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-placeholder {
  position: relative;
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(212, 163, 90, 0.1) 0%, rgba(71, 69, 89, 0.1) 100%);
  border-radius: 20px;
}

.craft-icon-large {
  position: relative;
  width: 250px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.craft-icon-large .moroccan-craft-icon {
  width: 250px;
  height: 250px;
}

.craft-icon-large .moroccan-craft-icon i {
  font-size: 150px;
  opacity: 0.35;
}

.craft-icon-large .pattern-1 {
  width: 220px;
  height: 220px;
}

.craft-icon-large .pattern-2 {
  width: 180px;
  height: 180px;
}

.craft-icon-large .pattern-3 {
  width: 140px;
  height: 140px;
}

.about-content-text {
  padding: 20px 0;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 2.5em;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.lead-text {
  font-size: 1.2em;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 20px;
}

.about-content-text p {
  font-size: 17px;
  line-height: 1.9;
  color: var(--text-light);
  margin-bottom: 20px;
}

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.badge-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(212, 163, 90, 0.1);
  color: var(--primary-color);
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.badge-item:hover {
  background: var(--gradient-primary);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.badge-item i {
  font-size: 18px;
}

/* Expertise Section */
.expertise {
  padding: 100px 0;
  background: linear-gradient(135deg, #ffffff 0%, var(--bg-cream) 50%, #ffffff 100%);
  position: relative;
  border-top: 3px solid var(--gradient-copper);
  border-bottom: 3px solid var(--gradient-copper);
}

.expertise::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(212, 163, 90, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(196, 90, 43, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.section-subtitle {
  font-size: 1.1em;
  color: var(--text-light);
  margin-top: -10px;
  margin-bottom: 50px;
}

.expertise-card {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.expertise-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.expertise-card:hover::before {
  transform: scaleX(1);
}

.expertise-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-copper);
  border-color: var(--copper-dark);
  background: linear-gradient(135deg, #ffffff 0%, var(--bg-cream) 100%);
}

.expertise-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, rgba(212, 163, 90, 0.15) 0%, rgba(232, 184, 122, 0.15) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  color: var(--copper-dark);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid rgba(212, 163, 90, 0.2);
  box-shadow: 0 4px 12px rgba(212, 163, 90, 0.15);
}

.expertise-card:hover .expertise-icon {
  background: var(--gradient-copper);
  color: #ffffff;
  transform: scale(1.15) rotate(10deg);
  box-shadow: 0 10px 35px rgba(212, 163, 90, 0.4);
  border-color: var(--copper-dark);
}

.expertise-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.expertise-card:hover h3 {
  color: var(--copper-dark);
}

.expertise-card p {
  color: var(--text-light);
  line-height: 1.8;
  margin: 0;
}

/* Values Section */
.values {
  padding: 100px 0;
  background: var(--gradient-moroccan);
  position: relative;
}

.values::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-copper);
  box-shadow: 0 -2px 10px rgba(212, 163, 90, 0.3);
}

.value-item {
  text-align: center;
  padding: 30px 20px;
  background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
  border-radius: 20px;
  transition: all 0.4s ease;
  height: 100%;
  border: 2px solid transparent;
}

.value-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-copper);
  border-color: var(--copper-dark);
  background: #ffffff;
}

.value-item i {
  font-size: 48px;
  color: var(--copper-dark);
  margin-bottom: 20px;
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(212, 163, 90, 0.2));
}

.value-item:hover i {
  transform: scale(1.25) rotate(10deg);
  color: var(--copper-burnished);
  filter: drop-shadow(0 4px 8px rgba(212, 163, 90, 0.4));
}

.value-item h4 {
  font-family: "Playfair Display", serif;
  font-size: 1.3em;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.value-item p {
  color: var(--text-light);
  margin: 0;
  font-size: 15px;
}

/* About CTA Section */
.about-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #3a3847 100%);
  position: relative;
  overflow: hidden;
}

.about-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 30% 40%, rgba(212, 163, 90, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  color: #ffffff;
}

.cta-title {
  font-family: "Playfair Display", serif;
  font-size: 3em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

.cta-text {
  font-size: 1.2em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.about-cta .social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.social-link {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #ffffff;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-link:hover {
  background: var(--primary-color);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 20px rgba(212, 163, 90, 0.3);
  color: #ffffff !important;
}

/* ===================================
   CONTACT PAGE STYLES
   =================================== */

/* Contact Hero Section */
.contact-hero {
  position: relative;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 50%, #ffffff 100%);
  overflow: hidden;
  min-height: 50vh;
  display: flex;
  align-items: center;
}

.contact-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 30% 40%, rgba(212, 163, 90, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(71, 69, 89, 0.08) 0%, transparent 50%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  z-index: 0;
  pointer-events: none;
}

.contact-hero-content {
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease;
}

.contact-hero-title {
  font-family: "Playfair Display", serif;
  font-size: 3.5em;
  font-weight: 700;
  color: var(--text-dark);
  margin: 20px 0;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.contact-hero-subtitle {
  font-size: 1.3em;
  color: var(--text-light);
  font-weight: 400;
  animation: fadeInUp 0.8s ease 0.4s both;
}

/* Contact Info Wrapper */
.contact-info-wrapper {
  position: sticky;
  top: 100px;
}

.google-map {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 30px;
}

.google-map iframe {
  width: 100%;
  height: 450px;
  border: 0;
  display: block;
}

.contact-info-card {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #3a3847 100%);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 30% 40%, rgba(212, 163, 90, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.contact-info-title {
  font-family: "Playfair Display", serif;
  font-size: 2em;
  color: var(--primary-color);
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.contact-info-items {
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 25px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.contact-info-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #ffffff;
  flex-shrink: 0;
}

.contact-details {
  flex: 1;
}

.contact-label {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.contact-value {
  display: block;
  font-size: 18px;
  color: #ffffff;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-value:hover {
  color: var(--primary-color);
}

.social-links-section {
  position: relative;
  z-index: 1;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links-section h4 {
  color: #ffffff;
  font-size: 1.2em;
  margin-bottom: 20px;
  font-family: "Playfair Display", serif;
}

.contact-info-card .social-links {
  display: flex;
  gap: 15px;
}

.social-link-item {
  min-width: auto;
  width: auto;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  font-size: 20px;
  color: #ffffff;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  padding: 0 16px;
  text-decoration: none;
  white-space: nowrap;
}

.social-link-item i {
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.social-link-item span {
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
  display: block;
  white-space: nowrap;
}

.social-link-item:hover {
  background: var(--primary-color);
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 20px rgba(212, 163, 90, 0.3);
  color: #ffffff !important;
}

.social-link-item:hover span {
  color: #ffffff !important;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
  background: #ffffff;
  border-radius: 20px;
  padding: 50px;
  box-shadow: var(--shadow-md);
}

.contact-form-header {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 2px solid rgba(212, 163, 90, 0.1);
}

.contact-form-title {
  font-family: "Playfair Display", serif;
  font-size: 2.5em;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.contact-form-description {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.8;
  margin: 0;
}

.form-label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.contact-form .form-control {
  padding: 14px 20px;
  font-size: 16px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: #fafafa;
}

.contact-form .form-control:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 4px rgba(212, 163, 90, 0.1);
  background: #ffffff;
}

.contact-form textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

.contact-form .submit-btn {
  padding: 16px 40px;
  font-size: 17px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contact-form .submit-btn i {
  font-size: 20px;
}

.contact-alternative {
  text-align: center;
  padding-top: 30px;
  border-top: 2px solid rgba(212, 163, 90, 0.1);
}

.alternative-text {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 20px;
  font-style: italic;
}

.contact-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-btn {
  padding: 14px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.contact-btn i {
  font-size: 20px;
}

.email-btn {
  background: var(--secondary-color);
  color: #ffffff;
}

.email-btn:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(212, 163, 90, 0.3);
  color: #ffffff !important;
}

.whatsapp-btn {
  background: #25d366;
  color: #ffffff;
}

.whatsapp-btn:hover {
  background: #128c7e;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
  color: #ffffff !important;
}

/* Nav Active State */
.nav-link.active {
  color: var(--primary-color) !important;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
}

/* Responsive Styles for About and Contact Pages */
@media (max-width: 991px) {
  .about-hero-title,
  .contact-hero-title {
    font-size: 2.5em;
  }

  .about-image-placeholder {
    min-height: 400px;
  }

  .contact-info-wrapper {
    position: relative;
    top: 0;
  }
}

@media (max-width: 767px) {
  .about-hero-title,
  .contact-hero-title {
    font-size: 2em;
  }

  .section-title {
    font-size: 2em;
  }

  .contact-form-wrapper {
    padding: 30px 20px;
  }

  .contact-info-card {
    padding: 30px 20px;
  }

  .cta-title {
    font-size: 2em;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  .contact-buttons {
    flex-direction: column;
  }

  .contact-buttons .btn {
    width: 100%;
  }
}

/* Contact Form Messages */
.alert {
  padding: 15px 20px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.alert-success {
  background-color: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
}

.alert-danger {
  background-color: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
}

.alert i {
  font-size: 20px;
}

.contact-form button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.contact-form button .uil-spinner-alt {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-copper);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-copper);
}

/* Floating Homepage Button */
.floating-home-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--gradient-copper);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 30px;
  box-shadow: var(--shadow-copper);
  transition: all 0.3s ease;
  font-size: 16px;
}

.floating-home-btn:hover {
  background: var(--gradient-copper);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(212, 163, 90, 0.5);
  color: #ffffff;
  text-decoration: none;
}

.floating-home-btn i {
  font-size: 18px;
}

.floating-home-btn .btn-text {
  display: inline-block;
}

/* Hide text on smaller screens */
@media (max-width: 480px) {
  .floating-home-btn {
    bottom: 20px;
    right: 20px;
    padding: 12px;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    justify-content: center;
  }
  
  .floating-home-btn .btn-text {
    display: none;
  }
  
  .floating-home-btn i {
    margin: 0;
  }

  .scroll-to-top {
    bottom: 20px;
    left: 20px;
  }
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-copper);
  background: var(--copper-dark);
}

.scroll-to-top i {
  transition: transform 0.3s ease;
}

.scroll-to-top:hover i {
  transform: translateY(-3px);
}

/* ===================================
   COMPREHENSIVE RESPONSIVE DESIGN
   =================================== */

/* Extra Large Screens (1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  h1 {
    font-size: 4em;
  }
  
  .about-hero-title,
  .contact-hero-title {
    font-size: 4em;
  }
}

/* Large Screens (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
  .container {
    max-width: 1140px;
  }
}

/* Medium Screens - Tablets Landscape (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .full-screen {
    min-height: 80vh;
  }
  
  h1 {
    font-size: 3em;
  }
  
  h2 {
    font-size: 2.5em;
  }
  
  .about-hero-title,
  .contact-hero-title {
    font-size: 3em;
  }
  
  .section-title {
    font-size: 2.5em;
  }
  
  .project-info {
    margin-bottom: 30px;
  }
  
  .service-card,
  .testimonial-card,
  .expertise-card {
    margin-bottom: 30px;
  }
}

/* Small Screens - Tablets Portrait (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .full-screen {
    min-height: 70vh;
    padding: 80px 0 60px;
  }
  
  h1 {
    font-size: 2.5em;
  }
  
  h2 {
    font-size: 2em;
  }
  
  .small-text {
    font-size: 13px;
    padding: 6px 16px;
  }
  
  .hero-subtitle {
    font-size: 1.1em;
  }
  
  .about-hero,
  .contact-hero {
    padding: 100px 0 60px;
    min-height: 50vh;
  }
  
  .about-hero-title,
  .contact-hero-title {
    font-size: 2.5em;
  }
  
  .about-hero-subtitle,
  .contact-hero-subtitle {
    font-size: 1.1em;
  }
  
  .section-title {
    font-size: 2em;
  }
  
  .about-content,
  .expertise,
  .values,
  .about-cta {
    padding: 60px 0;
  }
  
  .navbar-brand img {
    max-width: 180px;
    max-height: 70px;
  }
  
  .nav-link {
    padding: 8px 0 !important;
    margin: 0 3px;
    font-size: 15px;
  }
  
  .custom-btn {
    padding: 12px 28px;
    font-size: 15px;
  }
  
  .project-info {
    margin-bottom: 25px;
  }
  
  .stat-item {
    margin-bottom: 25px;
  }
  
  .stat-number {
    font-size: 40px;
  }
  
  .stat-icon {
    width: 70px;
    height: 70px;
    font-size: 32px;
  }
  
  .service-card,
  .testimonial-card,
  .expertise-card,
  .value-item {
    margin-bottom: 25px;
    padding: 25px;
  }
  
  .contact-form-wrapper,
  .contact-info-card {
    padding: 35px 25px;
    margin-bottom: 30px;
  }
  
  .contact-services {
    padding: 60px 0;
  }
  
  .service-feature-card {
    margin-bottom: 20px;
    padding: 25px;
  }
  
  .cta-buttons {
    gap: 15px;
  }
  
  .color-mode {
    font-size: 14px;
  }
  
  .scroll-to-top {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }
}

/* Extra Small Screens - Mobile Landscape (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .full-screen {
    min-height: 60vh;
    padding: 60px 0 40px;
  }
  
  h1 {
    font-size: 2em;
  }
  
  h2 {
    font-size: 1.8em;
  }
  
  .small-text {
    font-size: 12px;
    padding: 5px 14px;
  }
  
  .hero-subtitle {
    font-size: 1em;
  }
  
  .about-hero,
  .contact-hero {
    padding: 80px 0 50px;
    min-height: 45vh;
  }
  
  .about-hero-title,
  .contact-hero-title {
    font-size: 2em;
  }
  
  .about-hero-subtitle,
  .contact-hero-subtitle {
    font-size: 1em;
  }
  
  .section-title {
    font-size: 1.8em;
  }
  
  .about-content,
  .expertise,
  .values,
  .about-cta {
    padding: 50px 0;
  }
  
  .navbar-brand img {
    max-width: 150px;
    max-height: 60px;
  }
  
  .navbar-nav {
    text-align: center;
    margin-top: 20px;
  }
  
  .nav-link {
    padding: 10px 0 !important;
    margin: 5px 0;
    font-size: 16px;
  }
  
  .custom-btn {
    padding: 12px 24px;
    font-size: 14px;
    width: 100%;
    max-width: 300px;
  }
  
  .project-info {
    margin-bottom: 20px;
  }
  
  .services-list {
    padding-left: 20px;
  }
  
  .services-list li {
    font-size: 15px;
    margin-bottom: 10px;
  }
  
  .stat-item {
    margin-bottom: 20px;
    padding: 25px;
  }
  
  .stat-number {
    font-size: 36px;
  }
  
  .stat-icon {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }
  
  .service-card,
  .testimonial-card,
  .expertise-card,
  .value-item {
    margin-bottom: 20px;
    padding: 20px;
  }
  
  .service-icon,
  .expertise-icon {
    width: 70px;
    height: 70px;
    font-size: 32px;
    margin-bottom: 20px;
  }
  
  .testimonial-quote {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
  
  .contact-form-wrapper,
  .contact-info-card {
    padding: 30px 20px;
    margin-bottom: 25px;
  }
  
  .contact-services {
    padding: 50px 0;
  }
  
  .service-feature-card {
    margin-bottom: 20px;
    padding: 20px;
  }
  
  .service-feature-icon {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }
  
  .cta-title {
    font-size: 1.8em;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .contact-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .contact-btn {
    width: 100%;
  }
  
  .scroll-to-top {
    bottom: 20px;
    left: 20px;
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
  
  .floating-home-btn {
    bottom: 20px;
    right: 20px;
  }
  
  .hero-background,
  .floating-shapes {
    display: none;
  }
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575px) {
  .full-screen {
    min-height: 50vh;
    padding: 50px 0 30px;
  }
  
  h1 {
    font-size: 1.75em;
    line-height: 1.3;
  }
  
  h2 {
    font-size: 1.6em;
    line-height: 1.3;
  }
  
  h3 {
    font-size: 1.3em;
  }
  
  .small-text {
    font-size: 11px;
    padding: 4px 12px;
  }
  
  .hero-subtitle {
    font-size: 0.95em;
    line-height: 1.6;
  }
  
  p {
    font-size: 15px;
    line-height: 1.7;
  }
  
  .about-hero,
  .contact-hero {
    padding: 60px 0 40px;
    min-height: 40vh;
  }
  
  .about-hero-title,
  .contact-hero-title {
    font-size: 1.75em;
    line-height: 1.3;
  }
  
  .about-hero-subtitle,
  .contact-hero-subtitle {
    font-size: 0.95em;
    line-height: 1.6;
  }
  
  .hero-description {
    font-size: 14px;
    line-height: 1.7;
  }
  
  .section-title {
    font-size: 1.6em;
    line-height: 1.3;
  }
  
  .section-subtitle {
    font-size: 0.9em;
  }
  
  .about-content,
  .expertise,
  .values,
  .about-cta,
  .contact-services {
    padding: 40px 0;
  }
  
  .navbar {
    padding: 10px 0;
  }
  
  .navbar-brand img {
    max-width: 120px;
    max-height: 50px;
  }
  
  .navbar-nav {
    text-align: center;
    margin-top: 15px;
    padding: 10px 0;
  }
  
  .nav-link {
    padding: 12px 0 !important;
    margin: 0;
    font-size: 15px;
  }
  
  .color-mode {
    justify-content: center;
    margin-top: 10px;
    font-size: 13px;
  }
  
  .custom-btn {
    padding: 12px 20px;
    font-size: 14px;
    width: 100%;
    max-width: 100%;
  }
  
  .custom-btn i {
    font-size: 16px;
  }
  
  .project-info {
    margin-bottom: 20px;
  }
  
  .services-list {
    padding-left: 20px;
    margin: 20px 0;
  }
  
  .services-list li {
    font-size: 14px;
    margin-bottom: 10px;
    padding-left: 25px;
  }
  
  .services-list li i {
    font-size: 16px;
  }
  
  .statistics {
    padding: 40px 0;
  }
  
  .stat-item {
    margin-bottom: 20px;
    padding: 20px;
  }
  
  .stat-number {
    font-size: 32px;
  }
  
  .stat-label {
    font-size: 14px;
  }
  
  .stat-icon {
    width: 55px;
    height: 55px;
    font-size: 26px;
    margin-bottom: 15px;
  }
  
  .services-showcase,
  .testimonials {
    padding: 40px 0;
  }
  
  .service-card,
  .testimonial-card,
  .expertise-card,
  .value-item {
    margin-bottom: 20px;
    padding: 20px 15px;
  }
  
  .service-card h3,
  .expertise-card h3,
  .value-item h4 {
    font-size: 1.2em;
    margin-bottom: 15px;
  }
  
  .service-card p,
  .expertise-card p,
  .value-item p {
    font-size: 14px;
    line-height: 1.7;
  }
  
  .service-icon,
  .expertise-icon {
    width: 60px;
    height: 60px;
    font-size: 28px;
    margin-bottom: 15px;
  }
  
  .testimonial-quote {
    width: 45px;
    height: 45px;
    font-size: 22px;
    top: -15px;
  }
  
  .testimonial-text {
    font-size: 14px;
    line-height: 1.7;
  }
  
  .testimonial-author {
    font-size: 15px;
  }
  
  .about-image-placeholder {
    min-height: 300px;
    margin-bottom: 30px;
  }
  
  .craft-icon-large {
    width: 180px;
    height: 180px;
  }
  
  .craft-icon-large .moroccan-craft-icon {
    width: 180px;
    height: 180px;
  }
  
  .craft-icon-large .moroccan-craft-icon i {
    font-size: 100px;
  }
  
  .about-content-text {
    padding: 0;
  }
  
  .about-content-text .lead-text {
    font-size: 1.1em;
  }
  
  .about-badges {
    flex-direction: column;
    gap: 10px;
  }
  
  .badge-item {
    width: 100%;
    padding: 8px 15px;
    font-size: 14px;
  }
  
  .contact-form-wrapper,
  .contact-info-card {
    padding: 25px 15px;
    margin-bottom: 20px;
  }
  
  .card-header-decorative h3 {
    font-size: 1.3em;
  }
  
  .form-label {
    font-size: 14px;
    margin-bottom: 8px;
  }
  
  .form-control,
  .form-select {
    padding: 12px 15px;
    font-size: 14px;
  }
  
  .form-hint {
    font-size: 12px;
  }
  
  .submit-btn {
    padding: 12px 24px;
    font-size: 15px;
    width: 100%;
  }
  
  .contact-info-item {
    padding: 15px;
    margin-bottom: 15px;
  }
  
  .contact-icon {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
  
  .contact-services {
    padding: 40px 0;
  }
  
  .service-feature-card {
    margin-bottom: 20px;
    padding: 20px 15px;
  }
  
  .service-feature-icon {
    width: 55px;
    height: 55px;
    font-size: 26px;
    margin-bottom: 15px;
  }
  
  .service-feature-card h4 {
    font-size: 1.1em;
    margin-bottom: 10px;
  }
  
  .service-feature-card p {
    font-size: 13px;
  }
  
  .working-hours-section,
  .social-links-wrapper {
    margin-top: 25px;
  }
  
  .hours-title,
  .social-title {
    font-size: 1.1em;
    margin-bottom: 15px;
  }
  
  .hours-item {
    padding: 10px 0;
    font-size: 14px;
  }
  
  .social-link-item {
    min-width: 45px;
    width: auto;
    height: 45px;
    padding: 0 12px;
    gap: 10px;
  }
  
  .social-link-item i {
    font-size: 18px;
  }
  
  .social-link-item span {
    font-size: 14px;
  }
  
  .map-container {
    height: 250px;
  }
  
  .cta-title {
    font-size: 1.6em;
  }
  
  .cta-text {
    font-size: 14px;
    line-height: 1.7;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 100%;
    padding: 12px 20px;
    font-size: 14px;
  }
  
  .social-links {
    margin-top: 20px;
    gap: 15px;
  }
  
  .social-link {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
  
  .contact-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .contact-btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
  }
  
  .footer {
    padding: 40px 0 20px;
  }
  
  .copyright-text {
    font-size: 13px;
    line-height: 1.8;
  }
  
  .scroll-to-top {
    bottom: 80px;
    left: 20px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .floating-home-btn {
    bottom: 20px;
    right: 20px;
    padding: 12px;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    justify-content: center;
  }
  
  .floating-home-btn span {
    display: none;
  }
  
  .floating-home-btn i {
    margin: 0;
  }
  
  .hero-background,
  .floating-shapes {
    display: none;
  }
  
  .section-divider {
    height: 2px;
  }
}

/* Very Small Screens (up to 360px) */
@media (max-width: 360px) {
  .navbar-brand img {
    max-width: 100px;
    max-height: 40px;
  }
  
  h1 {
    font-size: 1.5em;
  }
  
  h2 {
    font-size: 1.4em;
  }
  
  .about-hero-title,
  .contact-hero-title {
    font-size: 1.5em;
  }
  
  .section-title {
    font-size: 1.4em;
  }
  
  .custom-btn {
    padding: 10px 18px;
    font-size: 13px;
  }
  
  .stat-number {
    font-size: 28px;
  }
  
  .stat-icon,
  .service-icon,
  .expertise-icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
  
  .contact-icon,
  .service-feature-icon {
    width: 45px;
    height: 45px;
    font-size: 22px;
  }
  
  .contact-form-wrapper,
  .contact-info-card {
    padding: 20px 12px;
  }
  
  .scroll-to-top {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }
  
  .floating-home-btn {
    width: 44px;
    height: 44px;
  }
}

/* Dark Mode Responsive Adjustments */
@media (max-width: 767px) {
  .dark-mode .navbar-collapse {
    background: rgba(12, 12, 13, 0.95) !important;
    border-radius: 10px;
    margin-top: 10px;
    padding: 15px 10px;
    border: 1px solid rgba(212, 163, 90, 0.2);
  }
  
  .dark-mode .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
  }
  
  .dark-mode .nav-link:hover {
    color: #ffc200 !important;
  }
  
  /* Ensure dark mode toggle is visible in dark mode */
  .dark-mode .color-mode {
    display: flex !important;
  }
  
  /* Dark mode icon visibility */
  .dark-mode .color-mode-icon:after {
    color: rgba(255, 255, 255, 0.8);
  }
  
  .dark-mode .color-mode-icon.active:after {
    color: #ffc200;
  }
}

/* ===================================
   LANGUAGE SWITCHER
   =================================== */

.language-switcher-wrapper {
  position: relative;
  margin-left: 0;
  margin-right: 10px;
}

/* Desktop: show side by side */
@media (min-width: 992px) {
  .navbar-nav.ml-lg-auto > div {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }
  
  .language-switcher-wrapper {
    margin-right: 10px;
  }
}

.language-switcher {
  position: relative;
  display: inline-block;
}

.language-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(212, 163, 90, 0.2);
  border-radius: 25px;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.language-btn:hover {
  background: rgba(212, 163, 90, 0.1);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 163, 90, 0.2);
}

.language-btn i {
  font-size: 16px;
}

.current-lang-text {
  font-weight: 600;
}

.language-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 10000;
  overflow: hidden;
  border: 1px solid rgba(212, 163, 90, 0.1);
}

.language-switcher:hover .language-dropdown,
.language-switcher.active .language-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  color: var(--text-dark);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.language-option:last-child {
  border-bottom: none;
}

.language-option:hover {
  background: rgba(212, 163, 90, 0.1);
  color: var(--primary-color);
  padding-left: 25px;
}

.language-option.lang-active {
  background: rgba(212, 163, 90, 0.15);
  color: var(--primary-color);
  font-weight: 600;
}

.language-option i {
  font-size: 18px;
  width: 20px;
  text-align: center;
}

.language-flag {
  font-size: 18px;
}

/* RTL Support */
[dir="rtl"] .language-dropdown {
  right: auto;
  left: 0;
}

[dir="rtl"] .language-option:hover {
  padding-left: 12px;
  padding-right: 25px;
}

[dir="rtl"] .navbar-nav {
  direction: rtl;
}

[dir="rtl"] .text-left {
  text-align: right !important;
}

[dir="rtl"] .text-right {
  text-align: left !important;
}

[dir="rtl"] .mr-2 {
  margin-right: 0 !important;
  margin-left: 0.5rem !important;
}

[dir="rtl"] .ml-2 {
  margin-left: 0 !important;
  margin-right: 0.5rem !important;
}

/* Dark Mode Language Switcher */
.dark-mode .language-btn {
  background: rgba(30, 30, 30, 0.5);
  border-color: rgba(212, 163, 90, 0.3);
  color: rgba(255, 255, 255, 0.9);
}

.dark-mode .language-btn:hover {
  background: rgba(212, 163, 90, 0.2);
  border-color: var(--primary-color);
}

.dark-mode .language-dropdown {
  background: #2a2a2a;
  border-color: rgba(212, 163, 90, 0.3);
}

.dark-mode .language-option {
  color: rgba(255, 255, 255, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .language-option:hover {
  background: rgba(212, 163, 90, 0.2);
  color: var(--primary-color);
}

.dark-mode .language-option.lang-active {
  background: rgba(212, 163, 90, 0.25);
  color: var(--primary-color);
}

/* Responsive Language Switcher */
@media (max-width: 991px) {
  .language-switcher-wrapper {
    margin-left: 0 !important;
    margin-top: 0;
    margin-bottom: 10px;
    width: 100%;
    text-align: center;
  }
  
  .language-switcher {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .language-btn {
    width: 100%;
    justify-content: center;
    max-width: 200px;
  }
  
  .language-dropdown {
    right: auto;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    min-width: 180px;
  }
  
  .language-switcher:hover .language-dropdown,
  .language-switcher.active .language-dropdown {
    transform: translateX(-50%) translateY(0);
  }
}

@media (max-width: 767px) {
  .language-btn {
    padding: 10px 18px;
    font-size: 13px;
  }
  
  .language-dropdown {
    min-width: 160px;
  }
}

/* Landscape Orientation for Mobile */
@media (max-width: 767px) and (orientation: landscape) {
  .full-screen {
    min-height: 100vh;
    padding: 40px 0 30px;
  }
  
  .about-hero,
  .contact-hero {
    padding: 50px 0 30px;
    min-height: 60vh;
  }
  
  h1 {
    font-size: 2em;
  }
  
  .about-hero-title,
  .contact-hero-title {
    font-size: 2em;
  }
}