/* ============================================
   GLOBAL STYLES
   ============================================ */
body {
  font-family: 'Dubai', sans-serif;
  overflow-x: hidden;
}

/* ============================================
   HERO SLIDER SECTION
   ============================================ */
.hero-slider-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-slide {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Background Image Layer */
.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
  z-index: 1;
}

/* Overlay Layer */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

/* Content Layer */
.hero-content {
  position: relative;
  z-index: 3;
}

/* Carousel Fade Effect */
.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.carousel-fade .carousel-item.active {
  opacity: 1;
}

/* Carousel Indicators */
.carousel-indicators {
  bottom: 40px;
  z-index: 10;
  gap: 8px;
  margin-bottom: 0;
}

.carousel-indicators [data-bs-target] {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin: 0 8px;
  background-color: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.carousel-indicators [data-bs-target]:hover {
  background-color: rgba(255, 255, 255, 0.7);
  transform: scale(1.1);
  border-color: white;
}

.carousel-indicators .active {
  background-color: white;
  width: 50px;
  border-radius: 8px;
  border-color: white;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
  width: 60px;
  height: 60px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.8;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin: 0 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.2);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Glass Card Effect */
.glass-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Stat Cards in Hero */
.stat-card-hero {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card-hero:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  right: 40px;
  left: auto;
  transform: none;
  z-index: 10;
  width: 35px;
  height: 55px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
}

.scroll-indicator:hover {
  border-color: white;
  background: rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
}

.scroll-indicator span {
  width: 6px;
  height: 12px;
  background: white;
  border-radius: 3px;
  animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
  0%, 100% {
    transform: translateY(0);
    opacity: 0;
  }
  50% {
    transform: translateY(15px);
    opacity: 1;
  }
}

/* Animation Classes */
.animate-slide-up {
  animation: slideUp 1s ease-out;
}

.animate-fade-in {
  animation: fadeIn 1.2s ease-out 0.3s backwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Button Enhancements */
.btn-lg {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.btn-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: none;
}

.btn-success:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.btn-outline-light {
  border: 2px solid white;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}

.btn-outline-light:hover {
  background: white;
  color: #10b981 !important;
}

/* Navbar Scrolled Effect */
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.navbar.scrolled .nav-link {
  color: #333 !important;
}

.navbar.scrolled .navbar-brand {
  color: #10b981 !important;
}

/* Navbar Brand Logo Size */
.navbar-brand img {
  height: 56px;
  width: auto;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 991px) {
  .hero-slide {
    min-height: auto;
    padding: 100px 0 60px;
  }
  
  .hero-content .row {
    min-height: auto !important;
    padding: 40px 0;
  }
  
  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
    height: 40px;
    margin: 0 10px;
  }
  
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 20px;
    height: 20px;
  }
  
  .scroll-indicator {
    right: 20px;
    bottom: 30px;
    width: 30px;
    height: 50px;
  }
}

@media (max-width: 767px) {
  .hero-slide h1 {
    font-size: 2rem !important;
  }
  
  .hero-slide .lead {
    font-size: 1rem !important;
  }
  
  .btn-lg {
    padding: 0.75rem 2rem !important;
    font-size: 0.9rem;
  }
  
  .stat-card-hero h3 {
    font-size: 2rem !important;
  }
  
  .carousel-indicators {
    bottom: 20px;
  }
  
  .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    margin: 0 5px;
  }
  
  .carousel-indicators .active {
    width: 35px;
  }
}

/* ============================================
   CERTIFICATION CARDS
   ============================================ */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.cert-card {
  background: white;
  border: 1px solid #e5e7eb;
  padding: 2rem;
  text-align: center;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.cert-card img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: #10b981;
}

.cert-icon i {
  transition: transform 0.3s ease;
}

.cert-card:hover .cert-icon i {
  transform: scale(1.1);
}

@media (max-width: 1199px) {
  .cert-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 576px) {
  .cert-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .cert-card {
    padding: 1.5rem;
  }
}

/* ============================================
   USP CARDS
   ============================================ */
.usp-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.usp-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: #10b981;
}

.usp-icon {
  font-size: 3rem;
  color: #10b981;
}

.usp-icon i {
  transition: transform 0.3s ease;
}

.usp-card:hover .usp-icon i {
  transform: scale(1.1);
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.product-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-card img {
  transition: transform 0.5s ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

/* ============================================
   STAT CARDS
   ============================================ */
.stat-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.2);
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
  position: relative;
  padding: 40px 0;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #10b981 0%, #059669 100%);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 60px;
  width: calc(50% - 40px);
  padding: 20px 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.timeline-item:nth-child(odd) {
  margin-left: 0;
  margin-right: auto;
  text-align: right;
  padding-right: 40px;
}

.timeline-item:nth-child(even) {
  margin-left: auto;
  margin-right: 0;
  text-align: left;
  padding-left: 40px;
}

.timeline-badge {
  position: absolute;
  top: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: 5px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
  z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-badge {
  right: -70px;
}

.timeline-item:nth-child(even) .timeline-badge {
  left: -70px;
}

.timeline-item h3 {
  color: #10b981;
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 1.25rem;
}

.timeline-item p {
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .timeline {
    padding: 20px 0;
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-item {
    width: calc(100% - 80px);
    margin-left: 80px !important;
    margin-right: 0 !important;
    text-align: left !important;
    padding: 20px !important;
  }
  
  .timeline-item:nth-child(odd) .timeline-badge,
  .timeline-item:nth-child(even) .timeline-badge {
    left: -55px;
    right: auto;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

/* ============================================
   CONTACT CARD
   ============================================ */
.contact-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1px solid #bbf7d0;
  border-radius: 12px;
}

/* ============================================
   IMAGE STACK
   ============================================ */
.image-stack {
  position: relative;
  height: 500px;
}

.image-stack img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.image-stack img:last-child {
  width: 70%;
  height: 70%;
  object-fit: cover;
  bottom: -20px;
  right: -20px;
  z-index: 2;
  border: 4px solid white;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://images.unsplash.com/photo-1464226184884-fa280b87c399?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 0;
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

.footer a {
  color: #d1d5db;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #10b981;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: #10b981;
  color: white;
  transform: translateY(-3px);
}

/* ============================================
   FLOATING CTA
   ============================================ */
.floating-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: none;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
  }
  50% {
    box-shadow: 0 8px 35px rgba(16, 185, 129, 0.6);
  }
}

.floating-cta:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  border: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  animation: whatsapp-pulse 2s infinite;
}

.floating-whatsapp i {
  font-size: 28px;
  color: white;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  background: #128C7E;
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes whatsapp-pulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
  }
}

@media (max-width: 768px) {
  .floating-whatsapp {
    width: 50px;
    height: 50px;
    bottom: 20px;
    left: 20px;
  }
  
  .floating-whatsapp i {
    font-size: 24px;
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.min-vh-100 {
  min-height: 100vh;
}

@media (max-width: 991px) {
  .min-vh-100 {
    min-height: auto;
  }
}

/* ============================================
   ADDITIONAL MOBILE RESPONSIVENESS
   ============================================ */
@media (max-width: 768px) {
  /* Typography adjustments */
  h1, .h1 {
    font-size: 2rem !important;
  }
  
  h2, .h2 {
    font-size: 1.75rem !important;
  }
  
  .display-4 {
    font-size: 2.5rem !important;
  }
  
  /* Padding adjustments */
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  /* Team cards */
  .team-card {
    margin-bottom: 1.5rem;
  }
  
  /* Value cards */
  .value-card {
    margin-bottom: 1.5rem;
  }
  
  /* Timeline adjustments */
  .timeline-list {
    padding-right: 1rem;
  }
  
  /* Contact cards */
  .contact-card {
    margin-bottom: 1.5rem;
  }
  
  /* Product cards */
  .product-card {
    margin-bottom: 1.5rem;
  }
  
  /* Stats section */
  .stat-item {
    margin-bottom: 1.5rem;
  }
  
  /* Navbar mobile */
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 0;
  }
  
  /* Buttons mobile */
  .btn {
    display: block;
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .btn-group .btn {
    width: auto;
  }
  
  /* Language switcher mobile */
  .language-switcher {
    justify-content: center;
    margin: 1rem 0;
  }
  
  /* Images mobile */
  img.w-100 {
    margin-bottom: 2rem;
  }
}
