/**
* Template Name: KAK Design Website
* Updated: December 2024
* Author: KAK Design Team
* Description: Professional flooring and construction services in Saudi Arabia
*/

/*--------------------------------------------------------------
# Table of Contents
--------------------------------------------------------------*/
/*
  1. CSS Variables & Color System
  2. Global Styles & Reset
  3. Typography & Fonts
  4. Header & Navigation
  5. Hero Section
  6. About Section
  7. Services Section
  8. Projects Section
  9. Team Section
  10. FAQ Section
  11. Contact Section
  12. Footer
  13. Utility Classes
  14. Media Queries
  15. Performance Optimizations
*/

/*--------------------------------------------------------------
# 1. CSS Variables & Color System
--------------------------------------------------------------*/
:root {
  /* Fonts */
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --heading-font: "Cairo", "Raleway", sans-serif;
  --nav-font: "Poppins", sans-serif;
  
  /* Colors */
  --background-color: #ffffff;
  --default-color: #1f1c1e;
  --heading-color: #1f1c1e;
  --accent-color: #d6974f;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
  
  /* Navigation Colors */
  --nav-color: #ffffff;
  --nav-hover-color: #d6974f;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #342c26;
  --nav-dropdown-hover-color: #d6974f;
  
  /* Spacing */
  --section-padding: 60px 0;
  --container-padding: 15px;
  
  /* Transitions */
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Light Background Preset */
.light-background {
  --background-color: #f9f7f6;
  --surface-color: #ffffff;
}

/* Dark Background Preset */
.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/*--------------------------------------------------------------
# 2. Global Styles & Reset
--------------------------------------------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  scroll-behavior: smooth;
}

body {
  font-family: var(--default-font);
  color: var(--default-color);
  background-color: var(--background-color);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

html {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: var(--transition-base);
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
}

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

/*--------------------------------------------------------------
# 3. Typography & Fonts
--------------------------------------------------------------*/
@font-face {
  font-family: 'All Genders';
  src: url('assets/fonts/all-genders-v4-regular-bold.ttf');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  color: var(--heading-color);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  font-weight: 400;
}

.lead-text {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.7;
}

/*--------------------------------------------------------------
# 3. Header & Navigation
--------------------------------------------------------------*/
.header {
  --background-color: transparent;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
  position: fixed;
  width: 100%;
  top: 0;
}

.header.scrolled {
  background: rgba(22, 15, 9, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.logo-wrapper {
  width: 140px !important;
  height: 100px !important;
  padding: 0 !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  z-index: 1000;
}

.full-size-img {
  height: 100% !important;
  width: auto;
  max-height: none !important;
  object-fit: contain !important;
  display: block !important;
  transition: var(--transition-base);
}

/* Desktop Navigation */
.desktop-nav {
  flex: 1;
  justify-content: center;
}

.nav-links-container {
  display: flex;
  list-style: none;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.nav-links-container li a {
  color: var(--nav-color);
  padding: 18px 15px;
  font-size: 16px;
  font-family: var(--nav-font);
  font-weight: 600;
  transition: var(--transition-base);
  position: relative;
  text-decoration: none;
}

.nav-links-container li a::after {
  content: '';
  position: absolute;
  bottom: 10px;
  right: 15px;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-links-container li a:hover::after,
.nav-links-container li a.active::after {
  width: calc(100% - 30px);
}

.nav-links-container li a:hover,
.nav-links-container li a.active {
  color: var(--nav-hover-color);
}

/* Scrolled navbar - different link colors */
.header.scrolled .nav-links-container li a {
  color: rgba(255, 255, 255, 0.9);
}

.header.scrolled .nav-links-container li a:hover,
.header.scrolled .nav-links-container li a.active {
  color: var(--accent-color);
}

.btn-getstarted {
  background: var(--accent-color);
  color: #ffffff !important;
  padding: 8px 25px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition-base);
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.btn-getstarted:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
  transform: translateY(-2px);
  color: #ffffff !important;
}

.btn-lang {
  background: transparent;
  color: #ffffff;
  padding: 6px 18px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition-base);
  border: 2px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.btn-lang:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #ffffff;
  transform: translateY(-2px);
}

.header.scrolled .btn-lang {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.header.scrolled .btn-lang:hover {
  background: var(--accent-color);
  color: #ffffff;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}

.mobile-menu-toggle .bar {
  width: 100%;
  height: 3px;
  background: #ffffff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

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

.mobile-menu-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(22, 15, 9, 0.98), rgba(10, 10, 10, 0.98));
  backdrop-filter: blur(20px);
  z-index: 998;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-menu-overlay.active {
  right: 0;
}

.mobile-menu-content {
  padding: 100px 30px 40px;
  max-width: 500px;
  margin: 0 auto;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-header img {
  height: 60px;
  width: auto;
}

.mobile-menu-close {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 28px;
  cursor: pointer;
  padding: 10px;
  line-height: 1;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  color: var(--accent-color);
  transform: rotate(90deg);
}

/* Mobile Navigation Links */
.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
}

.mobile-nav-links li {
  margin-bottom: 8px;
}

.mobile-nav-links li a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
}

.mobile-nav-links li a i {
  font-size: 20px;
  color: var(--accent-color);
  width: 24px;
  text-align: center;
}

.mobile-nav-links li a:hover,
.mobile-nav-links li a.active {
  background: linear-gradient(135deg, rgba(214, 151, 79, 0.2), rgba(214, 151, 79, 0.1));
  border-right: 3px solid var(--accent-color);
  transform: translateX(-5px);
}

/* Mobile Menu Actions */
.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 40px;
}

.btn-mobile-primary,
.btn-mobile-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 25px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-mobile-primary {
  background: linear-gradient(135deg, var(--accent-color), #e8a960);
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(214, 151, 79, 0.3);
}

.btn-mobile-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(214, 151, 79, 0.4);
  color: #ffffff;
}

.btn-mobile-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-mobile-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-color);
  color: #ffffff;
}

/* Mobile Menu Footer */
.mobile-menu-footer {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 25px;
}

.mobile-contact-info a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.mobile-contact-info a i {
  color: var(--accent-color);
  font-size: 16px;
}

.mobile-contact-info a:hover {
  color: var(--accent-color);
}

.mobile-social-links {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.mobile-social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.mobile-social-links a:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
  color: #ffffff;
}

/* Responsive Adjustments */
@media (max-width: 1199px) {
  .desktop-nav,
  .nav-actions {
    display: none !important;
  }
}

@media (min-width: 1200px) {
  .mobile-menu-toggle,
  .mobile-menu-overlay {
    display: none !important;
  }
}

@media (max-width: 576px) {
  .logo-wrapper {
    width: 100px !important;
    height: 70px !important;
  }
  
  .mobile-menu-content {
    padding: 80px 20px 30px;
  }
  
  .mobile-nav-links li a {
    font-size: 16px;
    padding: 15px 18px;
  }
}

/*--------------------------------------------------------------
/*--------------------------------------------------------------
# 4. Hero Section (Simple Clean Design)
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

#heroCarousel {
  width: 100%;
  height: 100vh;
}

.carousel-item {
  width: 100%;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
}

.carousel-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
  z-index: 2;
}

.carousel-item .container {
  position: relative;
  z-index: 10;
}

.hero-content {
  color: #ffffff;
  padding: 20px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(214, 151, 79, 0.2);
  border: 1px solid rgba(214, 151, 79, 0.4);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.hero-badge i {
  color: var(--accent-color);
  font-size: 16px;
}

.hero-content h1,
.hero-content h2 {
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent-color), #e8a960);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content .lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  margin-top: 30px;
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--accent-color), #e8a960);
  color: #ffffff;
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(214, 151, 79, 0.4);
  border: none;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(214, 151, 79, 0.5);
  color: #ffffff;
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--accent-color);
  color: #ffffff;
  transform: translateY(-3px);
}

.hero-stats-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-inline-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
}

.stat-inline-item i {
  font-size: 28px;
  color: var(--accent-color);
}

.stat-inline-item div {
  text-align: right;
}

.stat-inline-item strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 5px;
}

.stat-inline-item span {
  display: block;
  font-size: 0.9rem;
  opacity: 0.9;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
}

.carousel-control-prev,
.carousel-control-next {
  width: 60px;
  height: 60px;
  background: rgba(214, 151, 79, 0.3);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.8;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.carousel-control-prev {
  right: 30px;
  left: auto;
}

.carousel-control-next {
  left: 30px;
  right: auto;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: rgba(214, 151, 79, 0.6);
  opacity: 1;
}

.carousel-indicators {
  bottom: 2px;
  z-index: 15;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.carousel-indicators .active {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  width: 40px;
  border-radius: 10px;
}

.scroll-down-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  animation: bounce 2s infinite;
}

.scroll-down-indicator i {
  font-size: 32px;
  color: var(--accent-color);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Mobile Responsive */
@media (max-width: 991px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-stats-inline {
    gap: 15px;
    padding: 20px 15px;
  }
  
  .stat-divider {
    display: none;
  }
  
  .stat-inline-item {
    flex-direction: column;
    text-align: center;
  }
  
  .stat-inline-item div {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero,
  #heroCarousel,
  .carousel-item {
    height: 100vh;
    min-height: 100vh;
  }
  
  .hero-content {
    padding: 60px 0 20px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content .lead {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
    padding: 14px 25px;
  }
  
  .hero-stats-inline {
    flex-direction: column;
    gap: 15px;
  }
  
  .carousel-control-prev,
  .carousel-control-next {
    width: 45px;
    height: 45px;
  }
  
  .carousel-control-prev {
    right: 15px;
  }
  
  .carousel-control-next {
    left: 15px;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 1.75rem;
  }
  
  .hero-badge {
    font-size: 12px;
    padding: 8px 16px;
  }
  
  .stat-inline-item strong {
    font-size: 1.25rem;
  }
  
  .stat-inline-item span {
    font-size: 0.8rem;
  }
}

/*--------------------------------------------------------------
# 6. About Section
--------------------------------------------------------------*/
.services {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2::before {
  content: "";
  position: absolute;
  display: block;
  width: 160px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.service-item {
  background: var(--surface-color);
  padding: 40px 30px;
  border-radius: 12px;
  transition: var(--transition-base);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
}

.service-number {
  font-size: 14px;
  font-weight: 300;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.service-icon {
  width: 70px;
  height: 70px;
  background: rgba(var(--accent-color-rgb, 214, 151, 79), 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon i {
  font-size: 32px;
  color: var(--accent-color);
}

.service-item h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-item p {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  line-height: 1.7;
}

/*--------------------------------------------------------------
# 7. Services Section (Modern Cards Design)
--------------------------------------------------------------*/
.services-alt {
  padding: var(--section-padding);
  overflow: hidden;
}

.service-card-modern {
  background: var(--surface-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.service-icon-wrapper {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-color), #e8a960);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 5px 20px rgba(214, 151, 79, 0.4);
  transition: all 0.3s ease;
}

.service-card-modern:hover .service-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
}

.service-icon-main {
  font-size: 28px;
  color: #ffffff;
}

.service-visual {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.service-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card-modern:hover .service-visual img {
  transform: scale(1.1);
}

.service-overlay-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  pointer-events: none;
}

.service-content {
  padding: 30px 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--heading-color);
  line-height: 1.3;
}

.service-content > p {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
  flex-grow: 1;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--default-color);
}

.service-features li i {
  color: var(--accent-color);
  font-size: 16px;
  flex-shrink: 0;
}

.service-link-modern {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-color);
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  padding: 12px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: auto;
}

.service-link-modern:hover {
  gap: 15px;
  color: var(--heading-color);
}

.service-link-modern i {
  transition: transform 0.3s ease;
}

.service-link-modern:hover i {
  transform: translateX(-5px);
}

@media (max-width: 768px) {
  .service-card-modern {
    margin-bottom: 30px;
  }
  
  .service-visual {
    height: 200px;
  }
  
  .service-content {
    padding: 25px 20px;
  }
  
  .service-content h3 {
    font-size: 1.25rem;
  }
}
.flip-card {
  background-color: transparent;
  height: 280px;
  perspective: 1000px;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.flip-card-front {
  background-color: #ffffff;
  color: var(--heading-color);
}

.flip-card-back {
  background-color: var(--accent-color);
  color: #ffffff;
  transform: rotateY(180deg);
}

.flip-card-front h3 {
  font-weight: 800 !important;
  font-size: 1.4rem;
  margin: 0;
}

.flip-card-back p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/*--------------------------------------------------------------
# 8. Projects Section (Modern Design)
--------------------------------------------------------------*/
.projects {
  padding: var(--section-padding);
}

.project-card-modern {
  background: var(--surface-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.project-card-modern:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.project-card-modern.featured-project {
  border: 2px solid var(--accent-color);
}

.project-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg, #28a745, #20c997);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
}

.project-badge i {
  font-size: 14px;
}

.project-badge.in-progress {
  background: linear-gradient(135deg, var(--accent-color), #e8a960);
  box-shadow: 0 4px 15px rgba(214, 151, 79, 0.4);
}

.project-image {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card-modern:hover .project-image img {
  transform: scale(1.15);
}

.project-overlay-modern {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.project-quick-info {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.project-quick-info span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 500;
}

.project-quick-info i {
  color: var(--accent-color);
  font-size: 16px;
}

.project-info-modern {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.project-category-tag {
  display: inline-block;
  color: var(--accent-color);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  padding: 6px 12px;
  background: rgba(214, 151, 79, 0.1);
  border-radius: 4px;
  width: fit-content;
}

.project-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--heading-color);
  line-height: 1.3;
}

.project-description {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.project-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  padding-top: 15px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.project-features-list span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--default-color);
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 20px;
}

.project-features-list i {
  color: var(--accent-color);
  font-size: 14px;
}

.project-link-modern {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--accent-color);
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  padding: 12px 0;
  width: 100%;
}

.project-link-modern:hover {
  gap: 15px;
  color: var(--heading-color);
}

.project-link-modern i {
  transition: transform 0.3s ease;
}

.project-link-modern:hover i {
  transform: translateX(-5px);
}

@media (max-width: 768px) {
  .project-card-modern {
    margin-bottom: 30px;
  }
  
  .project-image {
    height: 220px;
  }
  
  .project-title {
    font-size: 1.15rem;
  }
}

/*--------------------------------------------------------------
# 9. Team Section
--------------------------------------------------------------*/
.about.section {
  padding: var(--section-padding);
}

.image-section {
  position: relative;
}

.main-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.main-image img {
  width: 100%;
  transition: transform 0.3s ease;
}

.main-image:hover img {
  transform: scale(1.02);
}

.floating-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--surface-color);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.badge-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.badge-content i {
  font-size: 2rem;
  color: var(--accent-color);
}

.badge-text .badge-title {
  display: block;
  font-weight: 500;
  color: var(--heading-color);
  font-size: 1rem;
}

/*--------------------------------------------------------------
# 10. FAQ Section (Modern Accordion)
--------------------------------------------------------------*/
.faq {
  padding: var(--section-padding);
  background: linear-gradient(135deg, #ffffff 0%, #f9f7f6 100%);
}

.faq-container-modern {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item-modern {
  background: #ffffff;
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item-modern:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.faq-item-modern.active {
  box-shadow: 0 15px 40px rgba(214, 151, 79, 0.15);
  border: 1px solid rgba(214, 151, 79, 0.2);
}

.faq-question-modern {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.faq-question-modern:hover {
  background: rgba(214, 151, 79, 0.03);
}

.faq-item-modern.active .faq-question-modern {
  background: linear-gradient(135deg, rgba(214, 151, 79, 0.08), rgba(214, 151, 79, 0.03));
  border-bottom: 1px solid rgba(214, 151, 79, 0.1);
}

.faq-number {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--accent-color), #e8a960);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(214, 151, 79, 0.3);
  transition: all 0.3s ease;
}

.faq-item-modern.active .faq-number {
  transform: scale(1.1);
}

.faq-question-modern h3 {
  flex: 1;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0;
  line-height: 1.5;
  transition: all 0.3s ease;
}

.faq-item-modern.active .faq-question-modern h3 {
  color: var(--accent-color);
}

.faq-toggle-icon {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.faq-toggle-icon i {
  font-size: 24px;
  color: var(--accent-color);
  transition: all 0.3s ease;
}

.faq-item-modern.active .faq-toggle-icon {
  transform: rotate(90deg);
}

.faq-answer-modern {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

.faq-answer-modern p {
  padding: 0 30px 25px 95px;
  margin: 0;
  line-height: 1.8;
  font-size: 1rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

/* Responsive */
@media (max-width: 768px) {
  .faq-question-modern {
    padding: 20px;
    gap: 15px;
  }
  
  .faq-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .faq-question-modern h3 {
    font-size: 1rem;
  }
  
  .faq-answer-modern p {
    padding: 0 20px 20px 75px;
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .faq-answer-modern p {
    padding: 0 20px 20px 20px;
  }
}

/*--------------------------------------------------------------
# 10. FAQ Section
--------------------------------------------------------------*/
.faq {
  padding: var(--section-padding);
}

.faq-card-custom {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: var(--transition-base);
}

.faq-card-custom:hover {
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-color);
}

.faq-toggle-input {
  display: none;
}

.faq-question-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 25px;
  cursor: pointer;
  margin-bottom: 0;
  font-weight: 700;
  color: var(--heading-color);
  transition: var(--transition-base);
}

.faq-arrow-icon {
  font-size: 1.1rem;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: #999;
}

.faq-answer-box {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease-out;
  background-color: #fcfcfc;
}

.inner-content {
  padding: 0 25px 25px 25px;
  color: var(--default-color);
  line-height: 1.8;
  font-size: 1.05rem;
}

.faq-toggle-input:checked + .faq-question-box {
  color: var(--accent-color);
}

.faq-toggle-input:checked + .faq-question-box .faq-arrow-icon {
  transform: rotate(180deg);
  color: var(--accent-color);
}

.faq-toggle-input:checked ~ .faq-answer-box {
  max-height: 300px;
}

/*--------------------------------------------------------------
# Why Us Section (Flip Cards)
--------------------------------------------------------------*/
.flip-card {
  background-color: transparent;
  height: 280px;
  perspective: 1000px;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.flip-card-front {
  background-color: #ffffff;
  color: var(--heading-color);
}

.flip-card-back {
  background-color: var(--accent-color);
  color: #ffffff;
  transform: rotateY(180deg);
}

.flip-card-front .service-icon {
  width: 70px;
  height: 70px;
  background: rgba(214, 151, 79, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.flip-card-front .service-icon i {
  font-size: 32px;
  color: var(--accent-color);
}

.flip-card-front h3 {
  font-weight: 800 !important;
  font-size: 1.4rem;
  margin: 0;
}

.flip-card-back p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  color: #ffffff;
}

/*--------------------------------------------------------------
# 11. Contact Section
--------------------------------------------------------------*/
.cta-section-modern {
  padding: 80px 0;
  background: linear-gradient(135deg, #f9f7f6 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.cta-wrapper-modern {
  background: linear-gradient(135deg, rgba(214, 151, 79, 0.05) 0%, rgba(214, 151, 79, 0.02) 100%);
  border-radius: 30px;
  padding: 60px 50px;
  border: 1px solid rgba(214, 151, 79, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  position: relative;
}

.cta-content-modern {
  padding: 20px;
}

.cta-icon-badge {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-color), #e8a960);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(214, 151, 79, 0.3);
}

.cta-icon-badge i {
  font-size: 36px;
  color: #ffffff;
}

.cta-content-modern h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--heading-color);
  line-height: 1.2;
}

.cta-subtitle {
  font-size: 1.1rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 40px;
}

.cta-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-bottom: 40px;
}

.cta-feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.cta-feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent-color), #e8a960);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon i {
  font-size: 22px;
  color: #ffffff;
}

.feature-text h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--heading-color);
}

.feature-text p {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0;
}

.cta-action-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--accent-color), #e8a960);
  color: #ffffff;
  padding: 18px 35px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(214, 151, 79, 0.3);
}

.btn-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(214, 151, 79, 0.4);
  color: #ffffff;
}

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  color: var(--accent-color);
  padding: 18px 35px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--accent-color);
  transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
  background: var(--accent-color);
  color: #ffffff;
  transform: translateY(-3px);
}

.cta-visual-modern {
  position: relative;
  padding: 40px;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}

.shape-1 {
  width: 200px;
  height: 200px;
  background: var(--accent-color);
  top: 10%;
  right: 10%;
  animation: float 6s ease-in-out infinite;
}

.shape-2 {
  width: 150px;
  height: 150px;
  background: var(--accent-color);
  bottom: 20%;
  left: 15%;
  animation: float 8s ease-in-out infinite reverse;
}

.shape-3 {
  width: 100px;
  height: 100px;
  background: var(--accent-color);
  top: 50%;
  right: 30%;
  animation: float 7s ease-in-out infinite;
}

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

.stats-cards-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 5;
}

.stat-card-modern {
  background: linear-gradient(135deg, #ffffff, #f9f7f6);
  padding: 25px 30px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.stat-card-modern:hover {
  transform: translateX(-10px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.stat-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent-color), #e8a960);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 5px 20px rgba(214, 151, 79, 0.3);
}

.stat-icon i {
  font-size: 30px;
  color: #ffffff;
}

.stat-info h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--heading-color);
  margin-bottom: 5px;
  line-height: 1;
}

.stat-info p {
  font-size: 1rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 0;
  font-weight: 600;
}

@media (max-width: 991px) {
  .cta-wrapper-modern {
    padding: 40px 30px;
  }
  
  .cta-content-modern h2 {
    font-size: 2rem;
  }
  
  .cta-features-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-visual-modern {
    margin-top: 40px;
    min-height: auto;
  }
}

@media (max-width: 576px) {
  .cta-action-buttons {
    flex-direction: column;
  }
  
  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
    justify-content: center;
  }
}
.call-to-action {
  padding: 60px 0;
}

.achievements-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.achievement-item {
  background: var(--surface-color);
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  transition: var(--transition-base);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.achievement-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.achievement-icon i {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.achievement-info h3 {
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--heading-color);
  margin-bottom: 8px;
}

.achievement-info span {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.action-panel {
  background: var(--surface-color);
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(214, 151, 79, 0.1);
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.btn-primary {
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 18px 25px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-base);
  border: none;
}

.btn-primary:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--heading-color);
  padding: 18px 25px;
  border-radius: 10px;
  border: 2px solid rgba(0, 0, 0, 0.15);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-base);
}

.btn-secondary:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  transform: translateY(-2px);
}

.contact-quick-box {
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-link-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.contact-icon i {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.contact-text .value {
  font-size: 1rem;
  color: var(--heading-color);
  font-weight: 600;
  text-decoration: none;
}

.contact-text .value:hover {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# 12. Footer
--------------------------------------------------------------*/
.footer {
  background: var(--background-color);
  padding: 80px 0 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-brand .tagline {
  line-height: 1.8;
  font-size: 0.95rem;
  opacity: 0.9;
  max-width: 350px;
  color: rgba(255, 255, 255, 0.85);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.3rem;
  transition: var(--transition-base);
}

.social-links a:hover {
  background: var(--accent-color);
  color: #fff;
  transform: translateY(-3px);
}

.footer-links h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  font-size: 0.95rem;
  opacity: 0.75;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-base);
  color: rgba(255, 255, 255, 0.7);
}

.footer-links ul li a::before {
  content: "\F12F";
  padding-left: 5px;
  font-family: "bootstrap-icons";
  font-size: 0.85rem;
}

.footer-links ul li a:hover {
  opacity: 1;
  padding-right: 5px;
  color: var(--accent-color);
  transform: translateX(-6px);
  font-size: 1.15rem;
}

.footer-bottom {
  margin-top: 40px;
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

/*--------------------------------------------------------------
# 13. Utility Classes
--------------------------------------------------------------*/
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 50px;
  height: 50px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: var(--transition-base);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: var(--accent-color);
  color: #fff;
}

.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: var(--transition-base);
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

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

#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: #160f09;
  transition: all 0.6s ease-out;
}

#preloader::before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid transparent;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# 14. Media Queries
--------------------------------------------------------------*/

/* Large Screens */
@media (min-width: 1200px) {
  .nav-links-container li a {
    margin-left: 20px;
  }
}

/* Tablets */
@media (max-width: 1199px) {
  .navmenu {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
  }
  
  .logo-wrapper {
    margin-left: auto;
  }
  
  .nav-links-container {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: block;
  }
  
  .nav-actions:not(:has(.mobile-nav-toggle)) {
    display: none;
  }
  
  .xy {
    margin: 25px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  /* Ensure 100% width on mobile */
  html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }
  
  .container,
  .container-fluid,
  .container-xl {
    width: 100%;
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
  }
  
  .row {
    margin-right: -15px;
    margin-left: -15px;
  }
  
  [class*="col-"] {
    padding-right: 15px;
    padding-left: 15px;
  }
  
  .hero,
  #heroCarousel,
  .carousel-item {
    height: 100vh !important;
    min-height: 100vh;
    width: 100%;
  }
  
  .hero-content {
    padding: 80px 15px 40px;
  }
  
  .hero-content h1 {
    font-size: 2rem !important;
  }
  
  .hero-content .lead {
    font-size: 1.1rem !important;
  }
  
  .stat-number {
    font-size: 22px;
  }
  
  .stat-item i {
    font-size: 1.5rem;
  }
  
  .carousel-indicators {
    bottom: 20px !important;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .achievements-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .action-panel {
    padding: 40px 30px;
    margin-top: 40px;
  }
  
  .floating-badge {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 2rem;
  }
  
  .faq-question-box {
    padding: 15px 20px;
    font-size: 1rem;
  }
  
  /* Services cards on mobile */
  .service-card-modern,
  .project-card-modern {
    margin-bottom: 20px;
  }
  
  /* Footer on mobile */
  .footer {
    padding: 60px 0 0;
  }
  
  .footer .row > div {
    margin-bottom: 30px;
  }
}

/* Small Mobile */
@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 1.75rem !important;
  }
  
  .hero-content .lead {
    font-size: 1rem !important;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-actions .btn,
  .btn-hero-primary,
  .btn-hero-secondary {
    display: block;
    margin: 10px auto;
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }
  
  .flip-card {
    height: 250px;
  }
  
  .service-item {
    padding: 30px 25px;
  }
  
  .logo-wrapper {
    width: 100px !important;
    height: 70px !important;
  }
  
  .header {
    padding: 10px 0;
  }
  
  /* Ensure hero stats fit properly */
  .hero-stats-inline {
    padding: 15px 10px;
    gap: 10px;
  }
  
  .stat-inline-item {
    font-size: 0.85rem;
  }
  
  .stat-inline-item strong {
    font-size: 1.2rem;
  }
  
  /* Section padding */
  section {
    padding: 60px 0 !important;
  }
  
  .section-title h2 {
    font-size: 1.75rem;
  }
}

/* Medium screens adjustments */
@media (min-width: 550px) {
  .xy {
    margin-left: 70px;
  }
}

@media (min-width: 462px) {
  .xy {
    color: white;
    margin: 25px;
  }
}

/*--------------------------------------------------------------
# Contact Page Styles
--------------------------------------------------------------*/

/* Contact Main Wrapper */
.contact-main-wrapper {
  display: grid;
  gap: 40px;
}

/* Map Wrapper */
.map-wrapper {
  width: 100%;
  height: 450px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Contact Content */
.contact-content {
  display: grid;
  gap: 40px;
}

/* Contact Cards Container */
.contact-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

/* Contact Card */
.contact-card {
  background: #ffffff;
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(214, 151, 79, 0.2);
}

.contact-card .icon-box {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-color), #e8a960);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

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

.contact-card:hover .icon-box {
  transform: scale(1.1) rotate(5deg);
}

.contact-card .contact-text {
  flex: 1;
  text-align: right;
}

.contact-card .contact-text h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 8px;
}

.contact-card .contact-text p {
  font-size: 0.95rem;
  color: #666;
  margin: 0;
  line-height: 1.6;
}

.contact-card a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

.contact-card a:hover {
  color: var(--accent-color);
}

/* Contact Form Container */
.contact-form-container {
  background: #ffffff;
  padding: 40px 35px;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.contact-form-container h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--heading-color);
  margin-bottom: 15px;
  text-align: right;
}

.contact-form-container > p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 30px;
  text-align: right;
  line-height: 1.8;
}

/* Contact Form */
.php-email-form .form-group {
  margin-bottom: 20px;
}

.php-email-form .form-control {
  padding: 14px 18px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-align: right;
  direction: rtl;
}

.php-email-form .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(214, 151, 79, 0.1);
  outline: none;
}

.php-email-form textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Form Submit Section */
.form-submit {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 25px;
}

.form-submit button {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  border: 0;
  padding: 16px 35px;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-submit button:hover {
  background: linear-gradient(135deg, #128c7e, #0d7a6f);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.form-submit button i {
  font-size: 20px;
}

/* Loading Message */
.loading {
  color: var(--accent-color);
  font-weight: 700;
  text-align: center;
  padding: 15px;
  background: rgba(214, 151, 79, 0.1);
  border-radius: 8px;
  display: none;
}

/* Social Links in Form */
.form-submit .social-links {
  display: flex;
  gap: 12px;
  margin-right: auto;
}

.form-submit .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(214, 151, 79, 0.1);
  color: var(--accent-color);
  font-size: 18px;
  transition: all 0.3s ease;
}

.form-submit .social-links a:hover {
  background: var(--accent-color);
  color: #ffffff;
  transform: translateY(-3px);
}

/* Page Title */
.page-title {
  padding: 160px 0 80px;
  background-size: cover;
  background-position: center;
  position: relative;
  color: #ffffff;
}

.page-title::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
}

.page-title .container {
  position: relative;
  z-index: 2;
}

.page-title h1 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 20px;
  color: #ffffff;
  text-align: center;
}

.page-title p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.8;
}

/* Breadcrumbs */
.breadcrumbs {
  margin-top: 20px;
}

.breadcrumbs ol {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 10px;
}

.breadcrumbs ol li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.breadcrumbs ol li::after {
  content: '/';
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumbs ol li:last-child::after {
  content: '';
}

.breadcrumbs ol li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: 0.3s;
}

.breadcrumbs ol li a:hover {
  color: var(--accent-color);
}

.breadcrumbs ol li.current {
  color: var(--accent-color);
  font-weight: 600;
}

/* Contact Section */
.contact.section {
  padding: 80px 0;
  background: #f9f7f6;
}

/* Responsive */
@media (max-width: 991px) {
  .contact-cards-container {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .page-title h1 {
    font-size: 2.5rem;
  }
  
  .page-title p {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .contact-main-wrapper {
    gap: 30px;
  }
  
  .map-wrapper {
    height: 350px;
  }
  
  .contact-cards-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .contact-card {
    padding: 25px 20px;
  }
  
  .contact-form-container {
    padding: 30px 20px;
  }
  
  .page-title {
    padding: 120px 0 60px;
  }
  
  .page-title h1 {
    font-size: 2rem;
  }
  
  .page-title p {
    font-size: 1rem;
  }
  
  .form-submit {
    flex-direction: column;
    align-items: stretch;
  }
  
  .form-submit button {
    width: 100%;
    justify-content: center;
  }
  
  .form-submit .social-links {
    justify-content: center;
    margin-right: 0;
  }
}

@media (max-width: 576px) {
  .contact-card .icon-box {
    width: 50px;
    height: 50px;
  }
  
  .contact-card .icon-box i {
    font-size: 24px;
  }
  
  .page-title h1 {
    font-size: 1.75rem;
  }
}

/*--------------------------------------------------------------
# Footer Styles Enhancement
--------------------------------------------------------------*/
.footer {
  padding: 60px 0 0;
  font-family: 'Cairo', sans-serif;
  background: #1a1a1a; /* Slightly lighter than pure black */
}

.footer .tagline {
  line-height: 1.8;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  opacity: 0.9;
  max-width: 350px;
}

.footer h3,
.footer h5.toggle-footer {
  font-size: 1.15rem;
  font-weight: 700;
  display: block;
  padding: 10px 0;
  margin-bottom: 15px;
  border-bottom: 2px solid rgba(214, 151, 79, 0.3);
  text-align: right;
  position: relative;
  color: #ffffff;
}

.footer-links ul,
.footer-links address {
  display: block;
  padding: 0;
  margin: 0;
  text-align: right;
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  font-size: 0.95rem;
  opacity: 0.85;
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.footer-links ul li a:hover,
.footer-links .xx:hover {
  opacity: 1;
  padding-right: 5px;
  color: var(--accent-color);
  transform: translateX(-3px);
}

.footer .social-links a {
  font-size: 1.3rem;
  margin-left: 15px;
  opacity: 0.8;
  color: #fff;
  transition: all 0.3s ease;
}

.footer .social-links a:hover {
  opacity: 1;
  color: #fff;
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 40px;
  padding: 20px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .small {
  font-size: 0.9rem;
}

.footer .text-white-50 {
  color: rgba(255, 255, 255, 0.75) !important;
  transition: all 0.3s ease;
}

.footer .text-white-50:hover {
  color: var(--accent-color) !important;
}

.footer .xx {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.75);
  transition: all 0.3s ease;
}

.footer .copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer .copyright strong {
  color: #ffffff;
  font-weight: 700;
}

/*--------------------------------------------------------------
# 15. Performance Optimizations
--------------------------------------------------------------*/

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Print styles */
@media print {
  .header,
  .footer,
  .whatsapp-float,
  .scroll-top,
  #preloader,
  .mobile-menu-overlay {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .service-item,
  .project-card,
  .faq-card-custom,
  .contact-card {
    border: 2px solid currentColor;
  }
}

/* Dark mode support (if needed in future) */
@media (prefers-color-scheme: dark) {
  /* Add dark mode styles here if needed */
}


/*--------------------------------------------------------------# 
# Contact Page Specific Styles
--------------------------------------------------------------*/
    .contact-layout-wrapper {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 30px;
      margin-top: 40px;
    }
    
    .map-section {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    
    .map-wrapper iframe {
      width: 100%;
      height: 400px;
      border-radius: 8px;
    }
    
    .contact-cards-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 15px;
    }
    
    .contact-card {
      display: flex;
      align-items: center;
      gap: 15px;
      padding: 20px;
      background: #f8f9fa;
      border-radius: 8px;
      transition: all 0.3s ease;
    }
    
    .contact-card:hover {
      background: #fff;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
      transform: translateY(-2px);
    }
    
    .contact-card .icon-box {
      width: 50px;
      height: 50px;
      background: linear-gradient(135deg, #d6974f 0%, #b8803f 100%);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    
    .contact-card .icon-box i {
      font-size: 24px;
      color: #fff;
    }
    
    .contact-card .contact-text h4 {
      margin: 0 0 5px 0;
      font-size: 16px;
      font-weight: 700;
      color: #2c3e50;
    }
    
    .contact-card .contact-text p {
      margin: 0;
      font-size: 14px;
      color: #666;
    }
    
    .contact-card .contact-text a {
      color: #d6974f;
      text-decoration: none;
    }
    
    .contact-card .contact-text a:hover {
      text-decoration: underline;
    }
    
    .form-section {
      background: #fff;
      padding: 30px;
      border-radius: 8px;
      box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    }
    
    .form-section h3 {
      margin: 0 0 10px 0;
      font-size: 24px;
      font-weight: 700;
      color: #2c3e50;
    }
    
    .form-section > p {
      margin: 0 0 25px 0;
      font-size: 14px;
      color: #666;
      line-height: 1.6;
    }
    
    .php-email-form .form-group {
      margin-bottom: 15px;
    }
    
    .php-email-form .form-control {
      padding: 12px 15px;
      border: 1px solid #ddd;
      border-radius: 6px;
      font-size: 14px;
      transition: all 0.3s ease;
    }
    
    .php-email-form .form-control:focus {
      border-color: #d6974f;
      box-shadow: 0 0 0 0.2rem rgba(214, 151, 79, 0.15);
    }
    
    .form-submit {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      margin-top: 20px;
    }
    
    .form-submit button {
      background: linear-gradient(135deg, #d6974f 0%, #b8803f 100%);
      border: none;
      padding: 12px 30px;
      border-radius: 6px;
      color: #fff;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 8px;
      cursor: pointer;
      transition: all 0.3s ease;
    }
    
    .form-submit button:hover {
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(214, 151, 79, 0.3);
    }
    
    .social-links {
      display: flex;
      gap: 10px;
    }
    
    .social-links a {
      width: 40px;
      height: 40px;
      /* background: #f8f9fa; */
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #666;
      transition: all 0.3s ease;
    }
    
    .social-links a:hover {
      background: #d6974f;
      color: #fff;
      transform: translateY(-2px);
    }
    
    @media (max-width: 992px) {
      .contact-layout-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
      }
      
      .contact-cards-grid {
        grid-template-columns: 1fr 1fr;
      }
    }
    
    @media (max-width: 576px) {
      .contact-cards-grid {
        grid-template-columns: 1fr;
      }
      
      .form-submit {
        flex-direction: column;
        align-items: stretch;
      }
      
      .form-submit button {
        justify-content: center;
      }
      
      .social-links {
        justify-content: center;
      }
    }
/*--------------------------------------------------------------# 
# Contact Page Specific Styles
--------------------------------------------------------------*/
  