* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  scroll-behavior: smooth;
}


/* NAVBAR STYLING */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  padding: 0 2rem;
  background-color: rgba(255, 255, 255, 0.8); /* translucent white */
  backdrop-filter: blur(10px); /* adds a blur effect behind the nav */
  -webkit-backdrop-filter: blur(10px); /* for Safari */
  color: #000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.logo {
  height: 50px;
}
.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.company-name {
  font-size: 1.2rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  white-space: nowrap;
}

.logo-container.show-name .company-name {
  opacity: 1;
  pointer-events: auto;
}

.nav-right {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links li a {
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 10px 12px;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #555;
}

/* Light mode navbar */
.navbar {
  background-color: #ffffff; /* or your light color */
  color: #000;
}

/* Dark mode navbar */
body.dark-mode .nav-container {
  background-color: rgba(30, 30, 30, 0.8); /* dark translucent */
  color: #ffffff;
}


.dark-mode-toggle {
  margin-left: 20px;
  padding: 8px;
  cursor: pointer;
  font-size: 18px;
  color: #333;
  transition: color 0.3s ease;
}

.dark-mode-toggle:hover {
  color: #007bff;
}

/* SECTIONS */
section {
  padding: 100px 20px;
  scroll-margin-top: 80px;
}

.section-grey {
  background-color: #f9f9f9;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
}

.centered-text {
  max-width: 800px;
  margin: auto;
  text-align: center;
  font-size: 1.1rem;
}

/* HERO SECTION */
#hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

#hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

#hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

#hero h1 {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  font-size: 4rem;
  margin-top: 40vh;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

/* CARD SECTION */
.card-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.card {
  position: relative;
  width: 300px;
  height: 400px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s ease;
}

/* WHY CHOOSE US */
.why-banner {
  margin: 60px auto;
  background-color: #003366;
  color: white;
  text-align: center;
  padding: 90px 80px;
  border-radius: 8px;
  max-width: 1780px;
  width: 90%;
  font-size: 1.15rem;
  line-height: 1.7;
}

/* FOOTER */
footer {
  background-color: #111;
  color: white;
  text-align: center;
  padding: 20px 10px;
  border-top: 1px solid #333;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.footer-links a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* POPUP */
.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  color: black;
  padding: 20px;
  border-radius: 8px;
  z-index: 1001;
  max-width: 90vw;
  max-height: 90vh;
  overflow: auto;
  display: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease-in-out;
}



.popup .close-btn {
  background-color: crimson;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  float: right;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}


/* CONTACT SECTION */
.contact-section {
  background-color: #111;
  color: white;
}

.contact-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.contact-left, .contact-right {
  flex: 1 1 250px;
  margin-bottom: 20px;
}

.contact-info {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.icon-box {
  width: 40px;
  height: 40px;
  border: 1px solid #d0d0d0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-right: 15px;
}

.contact-info a {
  color: white;
  text-decoration: none;
}

.cert-badge {
  width: 120px;
  margin-bottom: 20px;
}

.social-icons a {
  color: white;
}

/* STORY SECTION */
.story-container {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 20px;
}

.story-image {
  flex: 1 1 45%;
  min-width: 280px;
}

.story-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.story-text {
  flex: 1 1 50%;
  text-align: justify;
  font-size: 1.1rem;
  line-height: 1.7;
}

.story-heading {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  color: #003366;
  text-align: left;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px 20px;
  border-left: 5px solid #003366;
  padding-left: 15px;
}

/* BACK TO TOP */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 50%;
  padding: 12px 15px;
  font-size: 18px;
  cursor: pointer;
  display: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s ease;
}

#backToTop:hover {
  background-color: #0056b3;
}

/* ---------- DARK MODE START ---------- */
body.dark-mode {
  background-color: #121212;
  color: #e0e0e0;
}

body.dark-mode nav {
  background-color: #2e2e2e;
}

body.dark-mode .section-grey {
  background-color: #1e1e1e;
}

body.dark-mode .card {
  background-color: #2a2a2a;
  box-shadow: none;
  border: 1px solid #444;
}

body.dark-mode .popup,
body.dark-mode #backToTop {
  background-color: #333;
  color: #fff;
}

body.dark-mode footer {
  background-color: #1b1b1b;
  color: #aaa;
}

body.dark-mode .contact-section {
  background-color: #003366;
  color: white;
}

body.dark-mode .contact-section a {
  color: #aad4ff;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode p,
body.dark-mode a {
  color: #e0e0e0;
}
/* ---------- DARK MODE END ---------- */
.contact-right form {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.contact-right .form-group {
  flex: 1 1 48%;
  display: flex;
  flex-direction: column;
}

.contact-right .form-group.full {
  flex: 1 1 100%;
}

.contact-right label {
  font-weight: 600;
  margin-bottom: 8px;
  color: white;
}

.contact-right input,
.contact-right textarea {
  background-color: #1a1a1a;
  color: white;
  border: 1px solid #444;
  padding: 12px 15px;
  font-size: 1rem;
  border-radius: 8px;
}

.contact-right input::placeholder,
.contact-right textarea::placeholder {
  color: #bbb;
}

.contact-right textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-right button[type="submit"] {
  background-color: #2b52cc;
  color: white;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  width: 100%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-right button[type="submit"]:hover {
  background-color: #1d3da0;
}
#popup,
#overlay {
  display: none;
}
#why {
  height: 32vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-banner {
  padding: 60px 80px;
  margin: 0 auto;
  border-radius: 8px;
  max-width: 1780px;
  width: 90%;
  font-size: 1.15rem;
  line-height: 1.7;
  background-color: #003366;
  color: white;
  text-align: center;
}
