:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #0ea5e9;
    --light: #f8fafc;
    --dark: #0f172a;
    --gray: #64748b;
    --light-gray: #e9ecef;
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #334155;
    line-height: 1.6;
    background-color: #f8fafc;
    overflow-x: hidden;
    position: relative;
}

/* Ensure all major sections have proper stacking context */
section {
    position: relative;
    isolation: isolate;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--dark);
}


/* Header Styles */

.header {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.logo-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-right: 12px;
}

.brand-text span:first-child {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.brand-text span:last-child {
    font-size: 0.75rem;
    color: var(--gray);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-info {
    display: flex;
    align-items: center;
    padding: 0 15px;
    border-left: 1px solid #e2e8f0;
    margin-left: 15px;
}

.contact-icon {
    background: rgba(37, 99, 235, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-right: 12px;
}

.contact-text {
    line-height: 1.3;
}

.contact-text span:first-child {
    font-size: 0.8rem;
    color: var(--gray);
}

.contact-text span:last-child {
    font-weight: 600;
    color: var(--dark);
    font-size: 1.1rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.8rem 1.2rem !important;
    color: var(--dark) !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
}

.nav-link i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
    background: rgba(37, 99, 235, 0.05);
}

.nav-link.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15%;
    width: 70%;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 10px;
    margin-top: 10px;
}

.dropdown-item {
    padding: 10px 15px !important;
    border-radius: 8px;
    font-weight: 500;
    color: var(--dark);
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
}

.dropdown-item i {
    width: 25px;
    color: var(--primary);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.hero {
    background: linear-gradient(120deg, rgba(37, 99, 235, 0.9), rgba(14, 165, 233, 0.8)), url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: white;
    position: relative;
}

.hero-content {
    max-width: 650px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-btns .btn {
    padding: 12px 30px;
    font-weight: 600;
    font-size: 1.1rem;
    margin-right: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* Professional Hero Slider Section */
.hero-slider-section {
  position: relative;
  width: 100%;
  height: 65vh;
  overflow: hidden;
  max-height: 650px;
  z-index: 150;
  margin-bottom: 0;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #002244 0%, #001122 100%);
  isolation: isolate; /* Create new stacking context */
}

/* Add smooth loading transition */
.hero-slider-section .swiper {
  width: 100%;
  height: 100%;
  margin-bottom: 0;
  overflow: hidden;
  opacity: 0;
  animation: fadeIn 0.6s ease-out forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* Keyboard hint animation */
@keyframes fadeInOut {
  0% { 
    opacity: 0; 
    transform: translateX(-50%) translateY(-10px);
  }
  10%, 90% { 
    opacity: 1; 
    transform: translateX(-50%) translateY(0);
  }
  100% { 
    opacity: 0; 
    transform: translateX(-50%) translateY(-10px);
  }
}

.hero-slider-section .swiper-wrapper {
  height: 100%;
  overflow: hidden;
}

/* Smooth transitions - slides are always visible */
.hero-slider-section .swiper-slide {
  opacity: 1;
  transition: opacity 0.8s ease-in-out;
  cursor: grab;
}

.hero-slider-section .swiper-slide:active {
  cursor: grabbing;
}

/* Previous/next slides slightly dimmed for depth effect */
.hero-slider-section .swiper-slide-prev,
.hero-slider-section .swiper-slide-next {
  opacity: 1;
}

/* Add swipe indicator hint */
.hero-slider-section::before {
  content: '← Swipe →';
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  z-index: 5;
  animation: pulseSwipe 2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulseSwipe {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

/* Hide swipe indicator after first interaction */
.hero-slider-section.interacted::before {
  display: none;
}

.hero-slider-section::after {
  content: '';
  display: block;
  clear: both;
  height: 0;
}

/* Professional Slide Styling with Interactive Ken Burns Effect */
.hero-slider-section .swiper-slide {
  background-color: #001a33; /* fallback when background-image fails so next slide never shows section gradient */
  width: 100%;
  height: 100%;
  min-height: 100%;
  aspect-ratio: auto;
  position: relative;
  overflow: hidden;
}

.hero-slider-section .hero-slide-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  display: block;
}

/* Keep Swiper transform control on slides to avoid navigation glitches */
.hero-slider-section .swiper-slide-active {
  animation: none;
}

/* Leave slide transforms under Swiper's control */
.hero-slider-section .swiper-slide:hover {
  cursor: grab;
}

/* Perfect image sizing - maintains aspect ratio without zooming out */
/* Elegant overlay with interactive hover */
.hero-slider-section .swiper-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  z-index: 1;
  transition: opacity 0.4s ease;
}

/* Keep the active slide image bright enough to read as a photo, not a blue panel */
.hero-slider-section .swiper-slide-active::before {
  background: transparent;
}

/* Lighten overlay on hover for better image visibility */
.hero-slider-section .swiper-slide:hover::before {
  opacity: 0;
}

.hero-slider-section .swiper-slide > .container {
  position: relative;
  z-index: 2;
  /* Ensure content is always visible */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  width: 100%;
  max-width: 100%;
  padding: 0 15px;
}

.hero-slider-section .swiper-slide .hero-content {
  /* Ensure content doesn't get hidden */
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
}

/* Prevent any zoom/scale effects from Swiper - allow only slide transitions */
.hero-slider-section .swiper-slide {
  will-change: auto;
  /* Ensure no scale/zoom on the slide itself */
  transform-origin: center center;
}

/* Responsive adjustments for different screen sizes */
@media (max-width: 1200px) {
  .hero-slider-section .swiper-slide {
    background-attachment: scroll;
  }
}

@media (max-width: 768px) {
  .hero-slider-section {
    height: 50vh;
    max-height: 450px;
    overflow: hidden;
  }

  .hero-slider-section .swiper-slide > .container {
    align-items: flex-end;
    justify-content: flex-start;
    padding: 0 16px 72px;
  }

  .hero-slider-section .swiper-slide .hero-content {
    max-width: min(320px, 85vw);
    margin: 0;
    padding: 14px 16px;
    text-align: left;
    background: rgba(0, 0, 0, 0.28);
    border-radius: 14px;
    backdrop-filter: blur(4px);
  }

  .hero-content h1 {
    font-size: 1.35rem;
    margin-bottom: 10px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  }

  .hero-content p {
    font-size: 0.88rem;
    line-height: 1.4;
    margin-bottom: 14px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  }

  .hero-btns {
    justify-content: flex-start;
    gap: 8px;
  }

  .hero-btns .btn {
    padding: 8px 14px;
    font-size: 0.82rem;
  }
}

/* Fallback: show only first slide until Swiper initializes with loading effect */
.hero-slider-section .swiper:not(.swiper-initialized) {
  position: relative;
}

.hero-slider-section .swiper:not(.swiper-initialized)::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  z-index: 100;
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-slider-section .swiper:not(.swiper-initialized) .swiper-slide {
  display: none;
  opacity: 0.5;
}

.hero-slider-section .swiper:not(.swiper-initialized) .swiper-slide:first-child {
  display: flex;
  opacity: 1;
}

/* Responsive Design - Tablet */
@media (max-width: 1200px) {
  .hero-slider-section {
    height: 55vh;
    max-height: 500px;
  }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
  .hero-slider-section {
    height: 50vh;
    max-height: 450px;
  }
  
  .hero-slider-section .swiper-slide {
    background-attachment: scroll;
  }
}

/* Responsive Design - Small Mobile */
@media (max-width: 480px) {
  .hero-slider-section {
    height: 45vh;
    max-height: 400px;
  }
}

/* Professional Pagination */
.hero-slider-section .swiper-pagination {
  bottom: 30px !important;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  border-radius: 25px;
  width: fit-content;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s ease;
  z-index: 150;
}

.hero-slider-section:hover .swiper-pagination {
  background: rgba(0, 0, 0, 0.5);
  padding: 12px 24px;
}

.hero-slider-section .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.4);
  opacity: 1;
  margin: 0;
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  border: 2px solid transparent;
}

.hero-slider-section .swiper-pagination-bullet:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.2);
}

.hero-slider-section .swiper-pagination-bullet-active {
  background: white;
  width: 40px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Professional Navigation Buttons - z-index above autoplay so next button receives clicks */
.hero-slider-section .swiper-button-next,
.hero-slider-section .swiper-button-prev {
  color: white;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  opacity: 0.7;
  z-index: 200;
  pointer-events: auto;
}

/* Show buttons more prominently on slider hover */
.hero-slider-section:hover .swiper-button-next,
.hero-slider-section:hover .swiper-button-prev {
  opacity: 1;
}

.hero-slider-section .swiper-button-next::after,
.hero-slider-section .swiper-button-prev::after {
  content: '';
  display: none;
}

.hero-slider-section .swiper-button-next i,
.hero-slider-section .swiper-button-prev i {
  font-size: 20px;
}

.hero-slider-section .swiper-button-next:hover,
.hero-slider-section .swiper-button-prev:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #002244;
  transform: scale(1.1);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.hero-slider-section .swiper-button-next:active,
.hero-slider-section .swiper-button-prev:active {
  transform: scale(0.95);
}

.hero-slider-section .swiper-button-disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Autoplay Progress Indicator - left of next button so next arrow is fully clickable */
.hero-slider-section .autoplay-progress {
  position: absolute;
  right: 85px;
  bottom: 30px;
  z-index: 150;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.hero-slider-section .autoplay-progress:hover {
  transform: scale(1.15);
  opacity: 1;
}

.hero-slider-section .autoplay-progress svg {
  --progress: 0;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  stroke-width: 3px;
  stroke: rgba(255, 255, 255, 0.9);
  fill: none;
  stroke-dashoffset: calc(125.6 * (1 - var(--progress)));
  stroke-dasharray: 125.6;
  transform: rotate(-90deg);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.hero-slider-section .autoplay-progress span {
  font-size: 12px;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Mobile: Hide autoplay progress */
@media (max-width: 768px) {
  .hero-slider-section .autoplay-progress {
    display: none;
  }
  
  .hero-slider-section::before {
    bottom: 120px;
    font-size: 11px;
  }
  
  .hero-slider-section .swiper-button-next,
  .hero-slider-section .swiper-button-prev {
    width: 45px;
    height: 45px;
    opacity: 0.9;
  }
  
  .hero-slider-section .swiper-button-next i,
  .hero-slider-section .swiper-button-prev i {
    font-size: 16px;
  }
  
  .hero-slider-section .swiper-pagination {
    padding: 8px 16px;
  }
  
  /* Make touch interactions more responsive */
  .hero-content {
    padding: 25px;
    max-width: 95%;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .hero-btns .btn {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
}

/* Small mobile optimizations */
@media (max-width: 480px) {
  .hero-slider-section::before {
    display: none; /* Hide swipe hint on very small screens */
  }
  
  .hero-content h1 {
    font-size: 1.5rem;
  }
  
  .hero-content p {
    font-size: 0.9rem;
  }
  
  .hero-btns {
    flex-direction: column;
    gap: 10px;
  }
  
  .hero-btns .btn {
    width: 100%;
    text-align: center;
  }
}

/* Professional Hero Content with Interactive Animations */
.hero-content {
  max-width: 700px;
  text-align: center;
  background: transparent;
  padding: 40px;
  border-radius: 15px;
  backdrop-filter: none;
  border: none;
  box-shadow: none;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.1s ease-out;
  will-change: transform;
}

/* Interactive hover effect on hero content */
.hero-content:hover {
  transform: translateY(-5px);
  box-shadow: none;
  background: transparent;
}

/* Slide-in animation for active slide */
.swiper-slide-active .hero-content {
  animation: slideInFromLeft 0.8s ease-out forwards;
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 20px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  transition: all 0.3s ease;
}

/* Interactive heading effect */
.hero-content:hover h1 {
  transform: scale(1.02);
  text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.9);
}

/* Staggered fade-in for text elements */
.swiper-slide-active .hero-content h1 {
  animation: fadeInDown 0.6s ease-out forwards;
  animation-delay: 0.2s;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content p {
  font-size: 1.25rem;
  color: #ffffff;
  line-height: 1.6;
  margin-top: 15px;
  margin-bottom: 30px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.swiper-slide-active .hero-content p {
  animation: fadeInUp 0.6s ease-out forwards;
  animation-delay: 0.4s;
}

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

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.swiper-slide-active .hero-btns {
  animation: fadeInScale 0.6s ease-out forwards;
  animation-delay: 0.6s;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-btns .btn {
  padding: 12px 30px;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

/* Ripple effect on buttons */
.hero-btns .btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.hero-btns .btn:hover::before {
  width: 300px;
  height: 300px;
}

.hero-btns .btn-light {
  background: white;
  color: #002244;
  z-index: 1;
}

.hero-btns .btn-light:hover {
  background: #002244;
  color: white;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.hero-btns .btn-outline-light {
  border: 2px solid white;
  color: white;
  background: transparent;
  z-index: 1;
}

.hero-btns .btn-outline-light:hover {
  background: white;
  color: #002244;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-content {
    max-width: 95%;
    padding: 25px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .hero-btns {
    justify-content: center;
  }
  
  .hero-btns .btn {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--gray);
    font-size: 1.1rem;
}

.service-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin: 30px auto 25px;
}

.service-content {
    padding: 0 25px 30px;
    text-align: center;
}

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

.stats {
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    padding: 80px 0;
    color: white;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.stat-text {
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta {
    padding: 100px 0;
    background: linear-gradient(120deg, rgba(37, 99, 235, 0.03), rgba(14, 165, 233, 0.03));
}

.cta-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
}

.cta-content {
    padding: 60px;
    flex: 1;
}

.cta-image {
    flex: 1;
    background: url('https://images.unsplash.com/photo-1603732551681-2e91159b9dc2?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    background-position: center;
    height: 500px;
}

.site-footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 30px;
}

.site-footer .footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.site-footer .footer-logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-right: 15px;
}

.site-footer .footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 25px;
}

.site-footer .footer-links a {
    display: block;
    color: #94a3b8;
    margin-bottom: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.site-footer .footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.site-footer .footer-contact li {
    display: flex;
    margin-bottom: 15px;
}

.site-footer .footer-contact i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-right: 15px;
    width: 20px;
}

.site-footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.site-footer .social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.site-footer .copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    margin-top: 50px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

@media (min-width: 992px) {
  .site-footer .row {
    display: flex;
    flex-wrap: wrap;
  }
}


/* About Section */

.about-section {
    position: relative;
    overflow: visible;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 100px 0;
    z-index: 10;
    margin-top: 0;
    clear: both;
    isolation: isolate; /* Create new stacking context */
}

.about-section::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(14, 165, 233, 0.05) 100%);
    z-index: 0;
}

.about-section::after {
    content: "";
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(14, 165, 233, 0.05) 100%);
    z-index: 0;
}

.about-section .position-relative {
    z-index: 2;
}

.about-section .container {
    position: relative;
    z-index: 2;
}

.about-section .row {
    position: relative;
    z-index: 2;
}

.about-section h2,
.about-section p,
.about-section .lead,
.about-section .d-flex {
    position: relative;
    z-index: 3;
    color: #334155;
}

.about-section .img-fluid {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.about-section .img-fluid:hover {
    transform: scale(1.02);
}

.about-section .position-absolute {
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    color: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3);
    transform: translate(30px, 30px);
    z-index: 2;
}

.about-section .position-absolute h3 {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.about-section .position-absolute p {
    margin-bottom: 0;
    font-weight: 500;
}

.about-section h2 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
    color: #2563eb !important;
    z-index: 3;
}

.about-section h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #0ea5e9);
    border-radius: 2px;
}

.about-section .lead {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.7;
    color: #334155 !important;
    z-index: 3;
}

.about-section .d-flex>div {
    flex: 1;
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    margin: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.about-section .d-flex>div:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15);
}

.about-section .d-flex h3 {
    font-size: 2.2rem;
    color: #2563eb;
    margin-bottom: 5px;
}

.about-section .d-flex p {
    margin-bottom: 0;
    font-weight: 500;
    color: #334155 !important;
    z-index: 3;
}

.about-section p {
    color: #334155 !important;
    z-index: 3;
    position: relative;
}


/* Mission & Vision Section */

.mission-section {
    position: relative;
    background: white;
    overflow: hidden;
    padding: 100px 0;
}

.mission-section::before {
    content: "";
    position: absolute;
    top: 10%;
    left: -50px;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(14, 165, 233, 0.05) 100%);
    border-radius: 30px;
    transform: rotate(45deg);
    z-index: 0;
}

.mission-section::after {
    content: "";
    position: absolute;
    bottom: 10%;
    right: -50px;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(14, 165, 233, 0.05) 100%);
    border-radius: 30px;
    transform: rotate(45deg);
    z-index: 0;
}

.mission-section .text-center h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.mission-section .text-center h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #0ea5e9);
    border-radius: 2px;
}

.mission-section .text-center p {
    max-width: 600px;
    margin: 0 auto 50px;
    font-size: 1.15rem;
    color: #64748b;
}

.mission-section .card {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    border: none;
}

.mission-section .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.15);
}

.mission-section .card-body {
    padding: 40px;
}

.mission-section .icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    color: white;
}

.mission-section .card-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #0f172a;
    position: relative;
    padding-bottom: 15px;
}

.mission-section .card-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #2563eb;
    border-radius: 2px;
}

.mission-section .card-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #475569;
}


/* Core Values */

.mission-section .text-center h3 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 60px;
}

.mission-section .text-center h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #0ea5e9);
    border-radius: 2px;
}

.mission-section .card.py-4 {
    border-radius: 15px;
    transition: all 0.3s ease;
    border: none;
}

.mission-section .card.py-4:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.2);
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    color: white;
}

.mission-section .card.py-4:hover h5,
.mission-section .card.py-4:hover p {
    color: white;
}

.mission-section .card.py-4:hover .icon-circle-sm {
    background: white;
    color: #2563eb;
}

.icon-circle-sm {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    color: white;
    transition: all 0.3s ease;
}

.mission-section .card-body {
    text-align: center;
}

.mission-section .card-body h5 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #0f172a;
    transition: color 0.3s ease;
}

.mission-section .card-body p {
    color: #64748b;
    transition: color 0.3s ease;
    margin-bottom: 0;
}


/* Why Choose Section */

.why-choose {
    padding: 100px 0;
    background: white;
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin: 0 auto 25px;
}

.feature-content h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}


/* Testimonials */

.testimonials {
    padding: 100px 0;
    background: linear-gradient(120deg, rgba(37, 99, 235, 0.03), rgba(14, 165, 233, 0.03));
    position: relative;
    z-index: 10; /* Ensure testimonials are above other sections */
    isolation: isolate; /* Create new stacking context */
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    border: 1px solid #e2e8f0;
    position: relative;
    transition: all 0.3s ease;
    z-index: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.2);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: rgba(37, 99, 235, 0.08);
    font-family: Georgia, serif;
    line-height: 1;
    z-index: 0;
    transition: all 0.3s ease;
}

.testimonial-card:hover::before {
    color: rgba(37, 99, 235, 0.12);
    transform: scale(1.1);
}

.testimonial-card p {
    position: relative;
    z-index: 2;
    font-size: 1rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 20px;
}

.client-info {
    display: flex;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    position: relative;
    z-index: 2;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    color: white;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
    position: relative;
    transition: all 0.3s ease;
}

/* Professional avatar styling with initials */
.client-avatar::before {
    content: attr(data-initials);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Different gradient colors for variety */
.client-avatar:nth-child(1) {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
}

.testimonial-card:nth-child(2) .client-avatar {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
}

.testimonial-card:nth-child(3) .client-avatar {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
}

.testimonial-card:nth-child(4) .client-avatar {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
}

.testimonial-card:nth-child(5) .client-avatar {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
}

.testimonial-card:nth-child(6) .client-avatar {
    background: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%);
}

.client-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.4);
}

/* If image is used, style it properly */
.client-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-name h5 {
    margin-bottom: 2px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
}

.client-name p {
    color: #64748b;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.rating {
    color: #f59e0b;
    margin: 10px 0;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

.rating i {
    margin-right: 2px;
    transition: transform 0.2s ease;
}

.testimonial-card:hover .rating i {
    transform: scale(1.1);
}


/* Partners */

.partners {
    padding: 80px 0;
    background: white;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    padding: 20px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}


/* Coverage Map */

.coverage {
    padding: 100px 0;
    background: linear-gradient(120deg, rgba(37, 99, 235, 0.03), rgba(14, 165, 233, 0.03));
}

.map-container {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.map-image {
    background: url('https://images.unsplash.com/photo-1544620347-c4fd4a3d5957?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    height: 400px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.map-point {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.3);
    cursor: pointer;
}

.map-point:nth-child(1) {
    top: 30%;
    left: 25%;
}

.map-point:nth-child(2) {
    top: 40%;
    left: 60%;
}

.map-point:nth-child(3) {
    top: 70%;
    left: 45%;
}

.map-point:nth-child(4) {
    top: 20%;
    left: 75%;
}


/* News Section */

.news {
    padding: 100px 0;
    background: white;
}

.news-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid #e2e8f0;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.15);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

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

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 25px;
}

.news-date {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.news-date i {
    margin-right: 8px;
}

.news-content h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}


/* FAQ Section */

.faq {
    padding: 100px 0;
    background: linear-gradient(120deg, rgba(37, 99, 235, 0.03), rgba(14, 165, 233, 0.03));
}

.accordion-item {
    border: none;
    border-radius: 12px !important;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.accordion-button {
    background: white;
    border: none;
    border-radius: 12px !important;
    font-weight: 600;
    padding: 20px;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background: white;
    color: var(--primary);
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    padding: 20px;
    background: white;
}


/* Contact Section */

.contact {
    padding: 100px 0;
    background: white;
}

.contact-card {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    padding: 50px;
    color: white;
    height: 100%;
}

.contact-info-item {
    display: flex;
    margin-bottom: 30px;
}

.contact-icon-circle {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-form {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.form-control,
.form-select {
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-bottom: 20px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.15);
}


/* Floating Buttons */

.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    z-index: 90;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.floating-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

.whatsapp {
    background: #25D366;
}

.telegram {
    background: #0088cc;
}

.phone {
    background: var(--primary);
}

.back-to-top {
    background: var(--dark);
    display: none;
    /* Hidden by default */
}


/* Responsive Adjustments */

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    .contact-info {
        border: none;
        padding: 15px 0;
        margin: 0;
    }
    .cta-card {
        flex-direction: column;
    }
    .cta-image {
        width: 100%;
    }
    .about-section .position-absolute {
        position: relative !important;
        transform: none !important;
        margin-top: 30px;
        width: 100%;
    }
    .about-section .d-flex {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .floating-buttons {
        right: 16px;
        bottom: 16px;
        z-index: 90;
    }

    .floating-btn {
        width: 52px;
        height: 52px;
        font-size: 1.25rem;
        margin-bottom: 12px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
    }
    .hero h1 {
        font-size: 2.3rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .section-title h2 {
        font-size: 2rem;
    }
    .stat-number {
        font-size: 2.5rem;
    }
    .cta-content {
        padding: 40px 25px;
    }
    .footer-logo {
        justify-content: center;
    }
    .footer-col {
        margin-bottom: 40px;
        text-align: center;
    }
    .footer-links a {
        justify-content: center;
    }
    .footer-contact li {
        justify-content: center;
    }
    .social-links {
        justify-content: center;
    }
    .about-section .ps-lg-5 {
        padding-left: 0 !important;
        padding-top: 30px;
    }
    .mission-section .card-body {
        padding: 30px;
    }
    .mission-section .text-center p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-btns .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }
    .brand-text span:first-child {
        font-size: 1.4rem;
    }
    .contact-text span:last-child {
        font-size: 1rem;
    }
    .about-section .position-absolute {
        padding: 20px;
    }
    .about-section .position-absolute h3 {
        font-size: 2rem;
    }
    .mission-section .card-body {
        padding: 25px;
    }
    .mission-section .icon-circle {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    .mission-section .card-title {
        font-size: 1.6rem;
    }
}


/* === GLOBAL STYLES === */

body {
    background: #f4f6fa;
    font-family: 'Segoe UI', sans-serif;
    font-size: 16px;
    color: #333;
}

h3,
h5 {
    color: #2c3e50;
    font-weight: 600;
}

label {
    font-weight: 500;
    margin-bottom: 4px;
    display: inline-block;
}

input,
select,
textarea {
    border-radius: 8px;
    border: 1px solid #ccc;
    transition: all 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, .25);
    outline: none;
}


/* === FORM CONTAINER === */

.bg-white {
    background-color: #fff;
}

.shadow {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.btn {
    border-radius: 30px;
    font-weight: 500;
}


/* === PDF SECTION (hidden) === */

#pdfContent {
    padding: 20px;
    background-color: white;
    color: #000;
    font-size: 14px;
    line-height: 1.6;
}

#pdfContent h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

#pdfContent p {
    margin-bottom: 5px;
}


/* === RESPONSIVENESS === */

@media (max-width: 768px) {
    h3 {
        font-size: 22px;
        text-align: center;
    }
    .btn {
        margin-top: 10px;
    }
    .row>div {
        margin-bottom: 15px;
    }
    input,
    select {
        font-size: 15px;
    }
    .container {
        padding: 10px 15px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }
    .container {
        padding: 10px;
    }
    .btn {
        width: 100%;
    }
    #pdfContent {
        font-size: 13px;
    }
}
.install-box {
  background: #e0f7fa;
  padding: 10px;
  border: 1px solid #00796b;
  border-radius: 5px;
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  text-align: center;
  z-index: 1000;
}

/* ================================
   TEAM SECTION STYLES + ANIMATION
   ================================ */

#team {
  background: linear-gradient(135deg, #e0f7fa, #ffffff);
  padding-top: 60px;
  padding-bottom: 60px;
}

#team h2 {
  font-size: 2.5rem;
  font-weight: bold;
}

#team .card.team-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 0.8s ease both;
  cursor: pointer;
  border-radius: 12px;
  background-color: #ffffff;
}

#team .card.team-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 25px rgba(0, 123, 255, 0.15);
}

#team .card img {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  object-fit: cover;
  height: 320px;
  width: 100%;
}

#team .card-title {
  font-size: 1.2rem;
  font-weight: 600;
}

#team .card-body p {
  font-size: 0.95rem;
  color: #6c757d;
}

#team .card-body .fs-5 i {
  transition: transform 0.2s ease;
}

#team .card-body .fs-5 i:hover {
  transform: scale(1.3);
  color: #0d6efd;
}

/* ================
   ANIMATIONS
   ================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalZoomIn {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ========================
   MODAL CUSTOM STYLING
   ======================== */
.modal.fade .modal-dialog {
  transform: scale(0.85);
  transition: transform 0.3s ease-out;
}

.modal.fade.show .modal-dialog {
  animation: modalZoomIn 0.3s ease-out forwards;
}

.modal-content {
  border-radius: 16px;
  padding: 20px 10px;
  background: #ffffff;
  box-shadow: 0 0 30px rgba(13, 110, 253, 0.15);
}

.modal-img {
  max-width: 120px;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.modal-title {
  font-weight: 700;
  font-size: 1.3rem;
  color: #0d6efd;
}

#modalRole {
  font-size: 0.95rem;
  color: #6c757d;
}

#modalSocial a {
  transition: transform 0.2s ease;
  font-size: 1.25rem;
}

#modalSocial a:hover {
  transform: scale(1.2);
}

/* ========================
   RESPONSIVE DESIGN
   ======================== */
@media (max-width: 992px) {
  #team .card img {
    height: 280px;
  }
}

@media (max-width: 768px) {
  #team h2 {
    font-size: 2rem;
  }

  #team .card img {
    height: 240px;
  }

  .modal-dialog {
    margin: 1rem;
  }
}

    .certificate {
      width: 800px;
      height: 560px;
      margin: 40px auto;
      padding: 40px;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      border: 10px solid #333;
      box-shadow: 0 0 20px rgba(0,0,0,0.25);
      color: #000;
      position: relative;
      page-break-after: always;
      backdrop-filter: blur(2px);
    }

    .certificate h1 {
      text-align: center;
      font-size: 34px;
      color: #003366;
      margin-bottom: 10px;
      text-transform: uppercase;
    }

    .certificate h2 {
      text-align: center;
      font-size: 22px;
      font-weight: normal;
      color: #222;
      margin-bottom: 25px;
    }

    .certificate .content {
      text-align: center;
      font-size: 18px;
      color: #111;
      line-height: 1.6;
    }

    .certificate .signature {
      display: flex;
      justify-content: space-between;
      margin-top: 50px;
    }

    .signature div {
      width: 40%;
      text-align: center;
      border-top: 1px solid #000;
      padding-top: 10px;
      font-weight: bold;
    }

    .ribbon {
      position: absolute;
      top: -15px;
      width: 100%;
      text-align: center;
    }

    .ribbon span {
      background: rgba(0, 0, 0, 0.7);
      color: #fff;
      padding: 6px 24px;
      font-size: 16px;
      border-radius: 4px;
    }
 

button {
  background-color: #0d6efd;
  color: white;
  padding: 10px 20px;
  border: none;
  margin-top: 10px;
  cursor: pointer;
  border-radius: 5px;
}

/* PWA Install Banner */
.pwa-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: white;
  padding: 16px 24px;
  border-radius: 12px;
  z-index: 10000;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 300px;
  max-width: 90%;
  animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.pwa-banner p {
  margin: 0;
  font-weight: 500;
  font-size: 15px;
  flex: 1;
}

.pwa-banner button {
  background: white;
  color: #2563eb;
  border: none;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.pwa-banner button:hover {
  background: #f0f9ff;
  transform: scale(1.05);
}

.pwa-banner button:active {
  transform: scale(0.98);
}

.hidden {
  display: none !important;
  opacity: 0;
  pointer-events: none;
}

/* Mobile responsive PWA banner */
@media (max-width: 768px) {
  .pwa-banner {
    bottom: 10px;
    left: 10px;
    right: 10px;
    transform: none;
    min-width: auto;
    flex-direction: column;
    text-align: center;
  }
  
  .pwa-banner button {
    width: 100%;
  }
}

/* Homepage hero slider hard reset to ensure uploaded images render */
.hero-slider-section {
  background: #001122 !important;
}

.hero-slider-section::before,
.hero-slider-section::after,
.hero-slider-section .swiper-slide::before {
  content: none !important;
  display: none !important;
}

.hero-slider-section .swiper,
.hero-slider-section .swiper-wrapper,
.hero-slider-section .swiper-slide {
  height: 100% !important;
}

.hero-slider-section .swiper-slide {
  position: relative !important;
  background-color: #001122 !important;
}

.hero-slider-section .swiper-slide > .container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 2;
}

.hero-slider-section .hero-content,
.hero-slider-section .hero-content:hover {
  background: rgba(0, 0, 0, 0.2);
}

/* 5. Section Titles */
.section-title {
  margin-bottom: 30px;
}
.section-title h2 {
  font-size: 2.2rem;
  color: #002244;
}
.section-title p {
  color: #555;
}

/* Clean homepage hero slider */
.hero-slider-clean {
  position: relative;
  width: 100%;
  min-height: 65vh;
  height: 65vh;
  max-height: 650px;
  overflow: hidden;
  background: #001122;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
  z-index: 160;
}

.hero-swiper-clean,
.hero-slider-clean .swiper-wrapper,
.hero-slider-clean .swiper-slide {
  width: 100%;
  height: 100%;
}

.hero-clean-slide {
  position: relative;
  overflow: hidden;
  background: #001122;
}

.hero-clean-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.hero-clean-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 17, 34, 0.74) 0%, rgba(0, 17, 34, 0.42) 42%, rgba(0, 17, 34, 0.2) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-clean-shell {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  min-height: 100%;
}

.hero-clean-content {
  max-width: 680px;
  color: #fff;
}

.hero-clean-content h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.1;
  margin-bottom: 18px;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.hero-clean-content p {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  margin-bottom: 28px;
  max-width: 58ch;
}

.hero-clean-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-clean-buttons .btn {
  min-width: 170px;
}

.hero-clean-pagination,
.hero-clean-prev,
.hero-clean-next,
.hero-clean-progress {
  position: absolute;
  z-index: 4;
}

.hero-clean-pagination {
  left: 32px;
  bottom: 28px;
  width: auto !important;
}

.hero-clean-pagination .swiper-pagination-bullet {
  width: 14px;
  height: 14px;
  margin: 0 7px 0 0 !important;
  background: rgba(255, 255, 255, 0.38);
  opacity: 1;
  transition: transform 0.25s ease, background 0.25s ease;
}

.hero-clean-pagination .swiper-pagination-bullet-active {
  background: #fff;
  transform: scale(1.15);
}

.hero-clean-prev,
.hero-clean-next {
  top: 50%;
  width: 54px;
  height: 54px;
  margin-top: -27px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, opacity 0.25s ease;
}

.hero-clean-prev {
  left: 28px;
}

.hero-clean-next {
  right: 28px;
}

.hero-clean-prev:hover,
.hero-clean-next:hover {
  transform: scale(1.06);
  background: rgba(255, 255, 255, 0.18);
}

.hero-clean-progress {
  right: 96px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-clean-progress svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.hero-clean-progress circle {
  fill: none;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 4;
  stroke-dasharray: 125.6;
  stroke-dashoffset: calc(125.6 * (1 - var(--progress, 1)));
  transition: stroke-dashoffset 0.2s linear, stroke 0.2s ease;
}

.hero-clean-progress span {
  position: relative;
  z-index: 1;
}

@media (max-width: 992px) {
  .hero-slider-clean {
    min-height: 58vh;
    height: 58vh;
  }

  .hero-clean-slide::after {
    background: linear-gradient(180deg, rgba(0, 17, 34, 0.68) 0%, rgba(0, 17, 34, 0.48) 50%, rgba(0, 17, 34, 0.62) 100%);
  }
}

@media (max-width: 768px) {
  .hero-slider-clean {
    min-height: 52vh;
    height: 52vh;
  }

  .hero-clean-shell {
    align-items: flex-end;
    padding-bottom: 82px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .hero-clean-content {
    max-width: 92%;
  }

  .hero-clean-content h1 {
    font-size: clamp(1.7rem, 7.2vw, 2.45rem);
    line-height: 1.02;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
  }

  .hero-clean-content p {
    font-size: 0.92rem;
    line-height: 1.45;
    margin-bottom: 18px;
    max-width: 34ch;
  }

  .hero-clean-buttons .btn {
    min-width: 0;
    width: 100%;
    padding: 10px 18px;
    font-size: 0.98rem;
  }

  .hero-clean-prev,
  .hero-clean-next {
    top: auto;
    bottom: 82px;
    width: 46px;
    height: 46px;
    margin-top: 0;
  }

  .hero-clean-prev {
    left: 16px;
  }

  .hero-clean-next {
    right: 16px;
  }

  .hero-clean-pagination {
    left: 16px;
    bottom: 22px;
  }

  .hero-clean-progress {
    right: 16px;
    bottom: 12px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  .hero-slider-clean {
    min-height: 50vh;
    height: 50vh;
  }

  .hero-clean-shell {
    padding-bottom: 78px;
  }

  .hero-clean-content {
    max-width: 94%;
  }

  .hero-clean-content h1 {
    font-size: clamp(1.45rem, 8.3vw, 2.05rem);
    line-height: 1;
    margin-bottom: 10px;
  }

  .hero-clean-content p {
    font-size: 0.86rem;
    line-height: 1.38;
    max-width: 30ch;
    margin-bottom: 14px;
  }

  .hero-clean-prev,
  .hero-clean-next {
    width: 42px;
    height: 42px;
    bottom: 76px;
  }

  .hero-clean-pagination {
    bottom: 18px;
  }
}

/* Final homepage hero slider override: always render DB slide images */
.hero-slider-section,
.hero-slider-section .swiper,
.hero-slider-section .swiper-wrapper,
.hero-slider-section .swiper-slide {
  width: 100% !important;
  height: 100% !important;
}

.hero-slider-section {
  position: relative !important;
  overflow: hidden !important;
  background: #001122 !important;
}

.hero-slider-section .swiper-slide {
  position: relative !important;
  overflow: hidden !important;
  background: #001122 !important;
}

.hero-slider-section .hero-slide-image {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 1 !important;
  background: #001122 !important;
}

.hero-slider-section .swiper-slide > .container {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  display: flex !important;
  align-items: center !important;
}

.hero-slider-section .swiper-button-prev,
.hero-slider-section .swiper-button-next,
.hero-slider-section .swiper-pagination,
.hero-slider-section .autoplay-progress {
  z-index: 3 !important;
}

/* 6. Terms, Privacy, Cookie, Promise Sections */
.legal-section {
  background-color: #f7f7f7;
  padding: 40px 20px;
}
.legal-section h3 {
  font-size: 1.5rem;
  color: #002244;
  margin-top: 20px;
}
.legal-section p, .legal-section li {
  font-size: 1rem;
  color: #444;
  margin: 10px 0;
}

/* 8. Responsive Styling (responsive.css combined here) */
@media (max-width: 768px) {
  .navbar ul {
    flex-direction: column;
    gap: 15px;
  }
  #hero h1 {
    font-size: 2rem;
  }
  #hero p {
    font-size: 1rem;
  }
}


