/* Performance Optimizations */
* {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-sizing: border-box;
}

/* Reduce repaints and reflows */
img {
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Optimize animations */
.service-card,
.overview-container,
.cell-container {
    will-change: transform, opacity;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

body {
    background: #ffffff;
    min-height: 100vh;
    position: relative;
    color: #000000;
    padding-top: 90px;
    transition: padding-top 0.3s ease-in-out;
    overflow-x: hidden;
}

body::before {
    display: none;
}

@keyframes gradientBackground {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Navbar styles */
.navbar {
    width: 100%;
    height: 90px;
    background: transparent;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0; 
    box-shadow: none;
    border-bottom: 1px solid #000000;
    padding: 0 48px;
    margin-top: 0px;
    margin-left: 0;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

.navbar.hidden {
    transform: translateY(-100%);
}

.navbar-left {
    display: flex;
    align-items: center;
    flex: 1;
}

.navbar-right {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
}

.navbar-text {
    font-size: 1.9em;
    font-weight: bold;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #000000;
    letter-spacing: 1px;
    white-space: nowrap;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: flex-end;
    line-height: 1;
    transform: translateY(-2px);
}

.navbar-text a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 8px;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.navbar-text a:hover {
    color: #333333;
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.navbar-list {
    display: flex;
    gap: 34px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.navbar-list li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.navbar-list a {
    color: #000000;
    text-decoration: none;
    font-size: 1.08em;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: normal;
    padding: 10px 15px;
    border-radius: 25px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    position: relative;
    white-space: nowrap;
}

.navbar-list a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #ffd700;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-list a:hover::after,
.navbar-list a.active::after {
    width: 80%;
}

.navbar-list a:hover,
.navbar-list a.active {
    color: #000000;
    font-weight: bold;
    transform: translateY(-2px);
}


/* image transition */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 80vh;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #000000;
  z-index: 10;
  background: rgba(30, 58, 138, 0.15);
  padding: 40px 50px;
  border-radius: 20px;
  backdrop-filter: blur(3px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.text-overlay h1 {
  font-size: 3.5em;
  font-weight: bold;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin-bottom: 20px;
  background: linear-gradient(45deg, #1e3a8a, #ffffff, #1e3a8a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
  text-shadow: 0 0 30px rgba(30, 58, 138, 0.6), 0 0 60px rgba(255, 255, 255, 0.3);
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.text-overlay p {
  font-size: 1.3em;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: normal;
  margin-bottom: 25px;
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 215, 0, 0.3);
  line-height: 1.8;
}

.text-overlay .cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: linear-gradient(45deg, #1e3a8a, #ff69b4, #87ceeb);
  background-size: 300% 300%;
  animation: gradientShift 3s ease infinite;
  color: #000000;
  text-decoration: none;
  border-radius: 30px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.text-overlay .cta-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px rgba(30, 58, 138, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.dot.active {
  opacity: 1;
  background: linear-gradient(45deg, #1e3a8a, #ff69b4);
  box-shadow: 0 0 15px rgba(30, 58, 138, 0.6);
}

.ring-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring-inner img {
  width: 60px;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
  object-position: center;
  vertical-align: middle;
}
.cell-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 100px auto;
  max-width: 1000px;
  padding: 40px;
  gap: 20px;
  background: rgba(30, 58, 138, 0.08);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.image-box, .text-box {
  flex: 1;
  transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0;
  transform: translateX(100px);
  will-change: transform, opacity;
}

.image-box img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.image-box {
  transform: translateX(-100px);
}

.text-box {
  transform: translateX(100px);
}

.text-box h1 {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: bold;
  color: #000000;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
}

.text-box h3 {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: bold;
  color: #1e3a8a;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.text-box p {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: normal;
  color: #000000;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.6);
}

.image-box.show {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.1s;
}

.text-box.show {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.2s;
}

/* Featured Services Section */
.services-container {
  display: flex;
  justify-content: center;
  align-items: stretch; /* Changed to stretch for equal height */
  margin: 100px auto;
  max-width: 1200px;
  padding: 40px;
  gap: 32px;
  flex-wrap: wrap;
  color: #000000;
  text-align: center;
  align-content: center;
}

.service-card {
  flex: 1;
  min-width: 340px; /* Increased to accommodate larger images */
  max-width: 400px; /* Increased max-width for larger images */
  min-height: 480px; /* Increased min-height for larger images */
  background: linear-gradient(135deg, #1e3a8a 0%, #0ea5e9 50%, #87ceeb 100%);
  border-radius: 20px;
  padding: 35px;
  text-align: center;
  color: #000000;
  box-shadow: 0 15px 35px rgba(30, 58, 138, 0.4);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0;
  transform: translateY(60px) scale(0.95);
  will-change: transform, opacity;
  position: relative;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Distribute content evenly */
}

.service-card:hover {
  transform: scale(1.05);
}

.service-card.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.service-card.show:nth-child(1) {
  transition-delay: 0.1s;
}

.service-card.show:nth-child(2) {
  transition-delay: 0.3s;
}

.service-card.show:nth-child(3) {
  transition-delay: 0.5s;
}

.service-card.show:hover {
  transform: translateY(-5px) scale(1.05);
  transition: all 0.3s ease;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  height: 100%;
  text-align: center;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.service-card:hover::before {
  left: 100%;
}

.service-card img {
  width: 280px;
  height: 280px;
  margin-bottom: 25px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
  border: 3px solid rgba(255, 255, 255, 0.3);
  transition: none;
  object-fit: cover;
  object-position: center;
  position: relative;
  display: block;
  margin: 0 auto 25px auto;
}

.service-card h3 {
  font-size: 1.6em;
  margin-bottom: 18px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.4;
}

.service-card p {
  color: rgba(0, 0, 0, 0.95);
  line-height: 1.8;
  font-size: 1.05em;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: normal;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  margin-bottom: 15px;
}

/* Company Overview Section */
.overview-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 100px auto;
  max-width: 1000px;
  padding: 50px;
  gap: 40px;
  background: linear-gradient(135deg, #1e3a8a 0%, #0ea5e9 50%, #87ceeb 100%);
  border-radius: 25px;
  box-shadow: 0 20px 50px rgba(30, 58, 138, 0.4);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.overview-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  50% { transform: translateX(0%) translateY(0%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.overview-text {
  flex: 1;
  color: #000000;
  transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0;
  transform: translateX(-80px);
  will-change: transform, opacity;
}

.overview-text h2 {
  font-size: 2.8em;
  margin-bottom: 25px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: bold;
  color: #abafb8;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.overview-text p {
  font-size: 1.15em;
  line-height: 1.8;
  margin-bottom: 22px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: normal;
  color: rgba(0, 0, 0, 0.95);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.overview-image {
  flex: 1;
  transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0;
  transform: translateX(80px);
  will-change: transform, opacity;
}

.overview-image img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  border: 3px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.overview-image:hover img {
  transform: scale(1.05);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border: 3px solid rgba(255, 255, 255, 0.5);
}

.overview-text.show,
.overview-image.show {
  opacity: 1;
  transform: translateX(0);
}

.overview-text.show {
  transition-delay: 0.2s;
}

.overview-image.show {
  transition-delay: 0.4s;
}

/* Footer Styles */
.footer {
  background: linear-gradient(135deg, #000000 0%, #1e3a8a 50%, #0ea5e9 100%);
  color: #fff;
  padding: 60px 0 20px 0;
  margin-top: 100px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="0,100 1000,0 1000,100"/></svg>') no-repeat;
  background-size: cover;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-section h3 {
  color: #ffd700;
  font-size: 1.6em;
  margin-bottom: 25px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: bold;
}

.footer-section p,
.footer-section a {
  color: #ffffff;
  line-height: 1.8;
  text-decoration: none;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: normal;
  transition: all 0.3s ease;
  display: block;
  padding: 5px 0;
  border-radius: 5px;
  position: relative;
}

.footer-section a:hover {
  color: #ffd700;
  transform: translateX(8px);
  padding-left: 10px;
  background: rgba(255, 215, 0, 0.1);
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: #ffffff;
}

.footer-contact span {
  color: #ffffff;
}

.footer-contact img {
  width: 20px;
  height: 20px;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-social img {
  width: 35px;
  height: 35px;
  transition: transform 0.3s;
}

.footer-social img:hover {
  transform: scale(1.3) rotate(15deg);
  filter: brightness(1.3) saturate(1.5) drop-shadow(0 0 15px rgba(255, 107, 107, 0.6));
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid #333;
  color: #ffffff;
}

/* Loading Animation - Enhanced with Logo and Bouncing Ball */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e3a8a 0%, #0ea5e9 50%, #ffffff 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.3s ease-out;
}

.loading-logo {
  width: 120px;
  height: auto;
  margin-bottom: 30px;
  border-radius: 0;
  box-shadow: 0 0 30px rgba(30, 58, 138, 0.6);
  animation: logoFloat 2s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { 
    transform: translateY(0px) scale(1);
    box-shadow: 0 0 30px rgba(30, 58, 138, 0.6);
  }
  50% { 
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 10px 40px rgba(30, 58, 138, 0.8);
  }
}

.loading-text {
  font-size: 2.5em;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: bold;
  color: #1e3a8a;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
  margin-bottom: 40px;
  animation: textPulse 1.5s ease-in-out infinite;
}

@keyframes textPulse {
  0%, 100% { 
    opacity: 1;
    transform: scale(1);
  }
  50% { 
    opacity: 0.8;
    transform: scale(1.02);
  }
}

.bouncing-ball {
  width: 20px;
  height: 20px;
  background: linear-gradient(45deg, #1e3a8a, #ff69b4);
  border-radius: 50%;
  position: relative;
  animation: bounce 1.2s ease-in-out infinite;
  box-shadow: 0 0 15px rgba(30, 58, 138, 0.8);
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 0 15px rgba(30, 58, 138, 0.8);
  }
  25% {
    transform: translateY(-30px);
    box-shadow: 0 30px 20px rgba(30, 58, 138, 0.3);
  }
  50% {
    transform: translateY(-40px);
    box-shadow: 0 40px 25px rgba(30, 58, 138, 0.2);
  }
  75% {
    transform: translateY(-20px);
    box-shadow: 0 20px 15px rgba(30, 58, 138, 0.4);
  }
}

.bouncing-ball::after {
  content: '';
  position: absolute;
  bottom: -45px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 5px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  animation: shadow 1.2s ease-in-out infinite;
}

@keyframes shadow {
  0%, 100% {
    transform: translateX(-50%) scale(1);
    opacity: 0.8;
  }
  25% {
    transform: translateX(-50%) scale(0.8);
    opacity: 0.4;
  }
  50% {
    transform: translateX(-50%) scale(0.7);
    opacity: 0.3;
  }
  75% {
    transform: translateX(-50%) scale(0.9);
    opacity: 0.5;
  }
}

.loading-overlay.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* Search Box Styles */
.search-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  max-width: 400px;
  margin: 0 20px;
}

.search-box {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
  border-radius: 30px;
  padding: 10px 20px;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
  transition: all 0.4s ease;
  width: 300px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.search-box:focus-within {
  background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.95));
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
  width: 350px;
  border: 1px solid rgba(102, 126, 234, 0.5);
}
.search-input {
  border: none;
  outline: none;
  background: transparent;
  flex: 1;
  padding: 5px 10px;
  font-size: 0.9em;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: normal;
  color: #333;
}

.search-input::placeholder {
  color: #666;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.search-btn {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 5px;
  transition: color 0.3s ease;
}

.search-btn:hover {
  color: #ff69b4;
  transform: scale(1.1);
}

.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}

.search-result-item {
  padding: 15px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: background 0.3s ease;
}

.search-result-item:hover {
  background: #f5f5f5;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-title {
  font-weight: bold;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  margin-bottom: 5px;
}

.search-result-content {
  color: #666;
  font-size: 0.9em;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: normal;
  line-height: 1.4;
}

.no-results {
  padding: 20px;
  text-align: center;
  color: #666;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: normal;
  font-style: italic;
}
/* Enhanced Mobile Responsive Design */
/* Desktop: Hide mobile menu elements */
@media (min-width: 769px) {
  .mobile-menu-toggle,
  .mobile-menu,
  .mobile-menu-overlay {
    display: none !important;
  }
}

/* Mobile Hamburger Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  background: transparent;
  border: none;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 215, 0, 0.1);
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background: #000000;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  background: #ffd700;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
  background: #ffd700;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100%;
  background: linear-gradient(135deg, #1e3a8a 0%, #0ea5e9 100%);
  z-index: 1001;
  transition: right 0.3s ease;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu-logo {
  width: 50px;
  height: auto;
}

.mobile-menu-close {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffd700;
}

.mobile-menu-nav {
  padding: 20px 0;
}

.mobile-menu-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu-nav li {
  margin: 0;
}

.mobile-menu-nav a {
  display: block;
  padding: 15px 25px;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 500;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a.active {
  background: rgba(255, 215, 0, 0.1);
  color: #ffd700;
  border-left: 4px solid #ffd700;
  transform: translateX(5px);
}

.mobile-menu-nav a::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: currentColor;
  border-radius: 50%;
  margin-right: 12px;
  opacity: 0.7;
}

@media (max-width: 768px) {
  body {
    padding-top: 80px;
    font-size: 14px;
  }
  
  .navbar {
    flex-direction: row;
    height: 70px;
    padding: 8px 15px;
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    justify-content: space-between;
  }
  
  .navbar-left {
    margin-bottom: 0;
    justify-content: flex-start;
    gap: 8px;
  }
  
  .navbar-right {
    justify-content: flex-end;
  }
  
  .navbar-text {
    font-size: 1.4em;
    text-align: left;
  }
  
  .navbar-text a {
    padding: 6px 8px;
    border-radius: 6px;
    line-height: 1.2;
  }
  
  /* Hide desktop menu items */
  .search-container,
  .navbar-list {
    display: none;
  }
  
  /* Show mobile menu toggle */
  .mobile-menu-toggle {
    display: flex !important;
  }
  
  .mobile-menu,
  .mobile-menu-overlay {
    display: block !important;
  }

  /* Mobile Slider Optimizations */
  .slider-container {
    height: 50vh;
    min-height: 300px;
  }
  
  .text-overlay {
    padding: 15px 20px;
    width: 90%;
    max-width: 320px;
    margin: 0 auto;
  }
  
  .text-overlay h1 {
    font-size: 1.6em;
    line-height: 1.2;
    margin-bottom: 12px;
  }
  
  .text-overlay p {
    font-size: 0.85em;
    line-height: 1.4;
    margin-bottom: 15px;
  }
  
  .text-overlay .cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  /* Mobile Introduction Section */
  .cell-container {
    flex-direction: column;
    text-align: center;
    padding: 15px 10px;
    margin: 30px auto;
    gap: 15px;
  }
  
  .image-box img {
    max-width: 150px;
    height: auto;
  }
  
  .text-box h1 {
    font-size: 1.4em;
    margin-bottom: 12px;
  }
  
  .text-box h3 {
    font-size: 1.1em;
    margin-bottom: 8px;
  }
  
  .text-box h5 {
    font-size: 0.85em;
  }
  
  .text-box p {
    font-size: 0.85em;
    line-height: 1.5;
    margin-bottom: 12px;
  }

  /* Mobile Services Section */
  .services-container {
    flex-direction: column;
    gap: 15px;
    align-items: center;
    padding: 15px 10px;
    margin: 30px auto;
  }
  
  .service-card {
    min-width: auto;
    width: 95%;
    max-width: 320px;
    min-height: auto;
    padding: 15px;
    margin: 0 auto;
  }
  
  .service-card img {
    width: 200px;
    height: 180px;
    margin-bottom: 12px;
  }
  
  .service-card h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
  }
  
  .service-card p {
    font-size: 0.85em;
    line-height: 1.4;
  }

  /* Mobile Overview Section */
  .overview-container {
    flex-direction: column;
    text-align: center;
    padding: 20px 15px;
    margin: 30px auto;
    gap: 15px;
  }
  
  .overview-text h2 {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  
  .overview-text p {
    font-size: 0.9em;
    line-height: 1.5;
    margin-bottom: 12px;
  }
  
  .overview-image img {
    max-width: 100%;
    height: auto;
  }

  /* Mobile Footer */
  .footer {
    padding: 30px 0 15px 0;
    margin-top: 40px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
    padding: 0 15px;
  }
  
  .footer-section {
    margin-bottom: 15px;
  }
  
  .footer-section h3 {
    font-size: 1.2em;
    margin-bottom: 12px;
  }
  
  .footer-section p,
  .footer-section a {
    font-size: 0.85em;
    line-height: 1.5;
  }
  
  .footer-social {
    justify-content: center;
    gap: 10px;
  }
  
  .footer-social img {
    width: 28px;
    height: 28px;
  }
  
  .footer-contact {
    justify-content: center;
    font-size: 0.85em;
  }
  
  .footer-contact img {
    width: 16px;
    height: 16px;
  }
  
  /* Gallery and Features responsive styles */
  .gallery-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .features-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .image-gallery-section h2,
  .features-section h2 {
    font-size: 2em;
  }
}
  

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
  body {
    padding-top: 70px;
    font-size: 13px;
  }
  
  .navbar {
    height: 60px;
    padding: 5px 10px;
  }
  
  .navbar-text {
    font-size: 1.2em;
  }
  
  .mobile-menu {
    width: 260px;
  }
  
  .mobile-menu-nav a {
    padding: 12px 20px;
    font-size: 1em;
  }
  
  .slider-container {
    height: 45vh;
    min-height: 280px;
  }
  
  .text-overlay {
    padding: 12px 15px;
    max-width: 300px;
  }
  
  .text-overlay h1 {
    font-size: 1.4em;
  }
  
  .text-overlay p {
    font-size: 0.8em;
  }
  
  .service-card {
    max-width: 290px;
    padding: 12px;
  }
  
  .service-card img {
    width: 180px;
    height: 160px;
  }
  
  .service-card h3 {
    font-size: 1.1em;
  }
  
  .service-card p {
    font-size: 0.8em;
  }
  
  .cell-container {
    padding: 10px 8px;
    margin: 20px auto;
  }
  
  .text-box h1 {
    font-size: 1.3em;
  }
  
  .overview-text h2 {
    font-size: 1.6em;
  }
  
  .footer-section h3 {
    font-size: 1.1em;
  }
}

/* Smooth scrolling for the entire page */
html {
  scroll-behavior: smooth;
}

/* Image Gallery Section */
.image-gallery-section {
  margin: 100px auto;
  max-width: 1200px;
  padding: 40px;
  text-align: center;
}

.image-gallery-section h2 {
  font-size: 2.5em;
  color: #1e3a8a;
  margin-bottom: 50px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: bold;
  text-shadow: 0 0 20px rgba(30, 58, 138, 0.3);
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(30, 58, 138, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(30, 58, 138, 0.9));
  color: #000000;
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  font-size: 1.4em;
  margin-bottom: 8px;
  color: #1e3a8a;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.gallery-overlay p {
  font-size: 0.95em;
  opacity: 1;
  color: #000000;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Features Section */
.features-section {
  margin: 100px auto;
  max-width: 1200px;
  padding: 40px;
  text-align: center;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(14, 165, 233, 0.1));
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.features-section h2 {
  font-size: 2.5em;
  color: #1e3a8a;
  margin-bottom: 50px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: bold;
  text-shadow: 0 0 20px rgba(30, 58, 138, 0.3);
}

.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-item {
  padding: 30px;
  background: linear-gradient(135deg, #1e3a8a 0%, #0ea5e9 100%);
  border-radius: 15px;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(30, 58, 138, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(30, 58, 138, 0.4);
  border: 2px solid rgba(30, 58, 138, 0.3);
}

.feature-item img {
  width: 80px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 0;
  box-shadow: 0 5px 15px rgba(30, 58, 138, 0.3);
}

.feature-item h3 {
  font-size: 1.5em;
  color: #1e3a8a;
  margin-bottom: 15px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: bold;
}

.feature-item p {
  color: #000000;
  line-height: 1.6;
  font-size: 0.95em;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}


