/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}

body {
  line-height: 1.6;
  background-color: #f8fafc;
}

/* Layout Container & Grid */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.bg-light {
  background-color: #ffffff;
}

h2 {
  font-size: 2rem;
  color: #003366;
  text-align: center;
  margin-bottom: 0.25rem;
}

.subtitle {
  text-align: center;
  color: #64748b;
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #d97706;
  color: #fff;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #b45309;
}

.whatsapp-btn {
  background-color: #25d366;
  color: #ffffff;
}

.whatsapp-btn:hover {
  background-color: #1da851;
}

/* Navbar with Logo aligned properly from root folder (logo.png) */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 2rem;
  background-color: #003366;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  height: 45px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block; 
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #f59e0b;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Slider Section */
.hero-slider {
  position: relative;
  height: 75vh;
  min-height: 450px;
  overflow: hidden;
  background: #0f172a; 
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain; 
  background-color: #0f172a;
  filter: brightness(0.9);
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  width: 90%;
  max-width: 800px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.slide-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.slide-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  padding: 1rem;
  cursor: pointer;
  font-size: 1.2rem;
  border-radius: 50%;
  transition: background 0.3s;
  z-index: 10;
}

.slider-btn:hover {
  background: rgba(217, 119, 6, 0.8);
}

.prev-btn { left: 1.5rem; }
.next-btn { right: 1.5rem; }

.slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background: #d97706;
}

/* Cards */
.card {
  background: #fff;
  padding: 1.75rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.highlight-card {
  background: #003366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight-card h3 {
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.6;
  text-align: center;
}

.vision-grid .card {
  text-align: center;
}

.vision-grid .icon, .service-card .icon {
  font-size: 2rem;
  color: #d97706;
  margin-bottom: 1rem;
}

.vision-grid h3, .service-card h3 {
  margin-bottom: 0.5rem;
  color: #003366;
}

/* SOP Table */
.table-wrapper {
  overflow-x: auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th, td {
  padding: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

th {
  background-color: #003366;
  color: #fff;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  height: 200px;
  cursor: pointer;
  background-color: #0f172a;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.05);
}

/* Client Grid Styling */
.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.client-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-top: 3px solid #d97706;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.client-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.logo-wrapper {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border-radius: 6px;
  overflow: hidden;
}

.client-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.client-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.client-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #1e293b;
  line-height: 1.3;
}

.client-location {
  font-size: 0.825rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
}

.client-location i {
  color: #d97706;
  font-size: 0.75rem;
}

/* Footer & Form */
footer {
  background: #001f3f;
  color: #fff;
  padding: 4rem 0 1rem;
}

footer h3 {
  color: #f59e0b;
  margin-bottom: 1rem;
}

footer p {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input, .contact-form textarea {
  padding: 0.75rem;
  border-radius: 4px;
  border: 1px solid #334155;
  background: #0f172a;
  color: #fff;
  font-family: inherit;
}

.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #1e293b;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 2000;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 85%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}

.lightbox-caption {
  color: #fff;
  margin-top: 15px;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #003366;
    padding: 1.5rem;
  }
  .nav-links.show { display: flex; }
  .hero-slider { height: 50vh; min-height: 350px; }
  .slide-content h1 { font-size: 1.5rem; }
  .slide-content p { font-size: 0.9rem; }
}