/* 🌍 Global Styling */
body {
  margin: 0;
/*  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
  background-color: #ffffff;
  color: #000;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'IBM Plex Sans', sans-serif;
}

h1, h2, h3 {
  font-family: 'Inter', sans-serif;
}

/* 🌍 Unified Header */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 2rem;
  background: linear-gradient(90deg, #000035, #000080);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
/* Premium divider */
.main-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;

  width: 100%;
  height: 3px;

  background: linear-gradient(
    to right,
    #3FA9F5,
    transparent
  );
  box-shadow: 0 0 12px rgba(63,169,245,0.6);
}

/* 🌍 Logo Section */
.logo-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  background-color: #ffffff;
  border-bottom: 2px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.logo {
  height: 80px; /* balanced with navbar */
  width: auto;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-header h1 {
  font-size: 1.8rem;
  color: #14469F;
  margin: 0;
  font-weight: 700;
}

/* 🌍 Navbar */
.navbar {
  display: flex;
  gap: 2rem;
}

.navbar a {
  padding: 0.4rem 0;
  color: #BFC7D5;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  position: relative;
  transition: 0.3s;
  letter-spacing: 0.3px;
}

.navbar a:hover,
.navbar a.active {
  color: #3FA9F5;
  transform: translateY(-1px);
}

.navbar a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #3FA9F5;
  transition: width 0.3s ease;
}

.navbar a:hover::after,
.navbar a.active::after {
  width: 100%;
}

@media (max-width: 768px) {
  .main-header {
    flex-direction: column;
    gap: 0.8rem;
    padding: 0.8rem 1.2rem;
  }

  .logo {
    height: 60px;
  }

  .navbar {
    gap: 1.2rem;
  }

  .navbar a {
    font-size: 0.95rem;
  }
}



main.container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 420px;
  background: radial-gradient(
    circle at left,
    rgba(63,169,245,0.08),
    transparent 60%
  );
  z-index: -1;
}



/* 🌍 Main Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
  flex: 1;
  display: flex;
  justify-content: center;
  flex-direction: column;
  background: linear-gradient(
    to bottom,
    #f3f6fb 0%,
    #ffffff 40%
  );
}

/* 🌍 Content Wrapper */
.content-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding-top: 2rem;
  max-width: 1200px;
  width: 100%;
  flex-wrap: wrap;
  animation: heroReveal 0.9s ease-out;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .content-wrapper {
    flex-direction: column;
    gap: 2rem;
    padding-top: 1rem;
  }

  .text-box {
    padding: 2rem 1.8rem;
  }

  .image-box img {
    transform: none;
    max-height: 320px;
    object-fit: cover;
  }
}


/* 🌍 Text Box */
.text-box {
  flex: 1;
  background: rgba(255, 255, 255, 0.9);
  padding: 2.5rem;
  border-radius: 20px;

  /* Softer, layered shadow */
  box-shadow:
    0 20px 40px rgba(20, 70, 159, 0.08),
    0 6px 15px rgba(0, 0, 0, 0.05);

  backdrop-filter: blur(6px);
  min-width: 280px;
  text-align: left;
}


.text-box h2 {
  color: #0f3b86;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.25;
}

.text-box p {
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  line-height: 1.7;
}



/* 🌍 Image beside text */
.image-box {
  flex: 1;
  text-align: center;
}

.image-box img {
  max-width: 100%;
  border-radius: 20px;

  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.25);

  transform: translateY(-10px);
}

/* 🌍 Footer (matches navbar gradient) */
footer {
  background: linear-gradient(90deg, #000080, #000035);
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

/* 🌍 Products Page */
.container h2 {
  color: #14469F;
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: 700;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

/* 🌍 Card Design */
.card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  text-decoration: none;
  color: #000;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.card h3 {
  color: #14469F;
  margin: 0.5rem 0;
  font-size: 1.3rem;
}

.card p {
  color: #444;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* 🌍 Animation Effects */
.fade-in {
  animation: fadeIn 0.8s ease-in;
}

.zoom-in {
  animation: zoomIn 0.6s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes zoomIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* 🌍 Responsive Adjustments */
@media (max-width: 768px) {
  .products-grid {
    gap: 1.5rem;
    padding: 0 1rem;
  }
  .card img {
    height: 160px;
  }
}

@media (max-width: 480px) {
  .card {
    padding: 1rem;
  }
  .card h3 {
    font-size: 1.1rem;
  }
  .card p {
    font-size: 0.9rem;
  }
}

/* 🌍 Modal Popup Styling */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

/* 🌟 Modal Title - Consistent Blue Heading */
.modal-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0056b3; /* same rich blue as your theme */
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

/* Optional: adjust text inside modal for consistency */
.modal-content p {
  color: #333;
  line-height: 1.6;
  font-size: 1rem;
}

/* Make sure modal layout stays centered and balanced */
.modal-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  border-radius: 16px;
  background-color: #fff;
  padding: 2rem;
  max-width: 900px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}


.modal-content img {
  width: 45%;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.modal-text {
  flex: 1;
}



.close,
.back-btn {
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: #14469F;
  font-weight: bold;
  transition: color 0.3s ease;
}

.close:hover,
.back-btn:hover {
  color: #FFD700;
}

/* 🌍 Floating Back Button (visible during scroll) */
.back-page {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1500;
}

.back-page button {
  background: linear-gradient(135deg, #14469F, #1E56B3);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.8rem 1.8rem;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.back-page button:hover {
  background: linear-gradient(135deg, #0f3b86, #174ca4);
  transform: translateY(-3px);
}

/* Responsive modal */
@media (max-width: 768px) {
  .modal-content {
    flex-direction: column;
    text-align: center;
  }

  .modal-content img {
    width: 80%;
  }

  .back-page {
    bottom: 20px;
    right: 20px;
  }

  .back-page button {
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
  }
}
/* Preserve line breaks and spacing in modal description */
.modal-text p {
  white-space: pre-line;
}

/* 🌍 Contact Page Container */
.contact-container {
  position: relative;
  padding-top: 3rem;
}

/* Section title */
.section-title {
  font-family: 'Inter', sans-serif;
  font-size: 2.2rem;
  color: #0f3b86;
  margin-bottom: 2rem;
  text-align: center;
}

/* Wrapper alignment */
.contact-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

/* Contact Card */
.contact-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 20px;
  padding: 2.5rem;

  box-shadow:
    0 20px 45px rgba(20, 70, 159, 0.1),
    0 8px 18px rgba(0, 0, 0, 0.05);

  backdrop-filter: blur(6px);
}

/* Rows */
.contact-row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1.6rem;
}

/* Labels */
.contact-row .label {
  font-size: 0.85rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #6b7a99;
  font-weight: 600;
}

/* Values */
.contact-row .value {
  font-size: 1.05rem;
  color: #1a1a1a;
  line-height: 1.6;
}

/* Email styling */
.contact-row a {
  color: #14469F;
  font-weight: 500;
  text-decoration: none;
}

.contact-row a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-card {
    padding: 2rem 1.5rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
}
.contact-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 320px;

  background: radial-gradient(
    circle at top left,
    rgba(63,169,245,0.08),
    transparent 60%
  );

  z-index: -1;
}

/* Divider */
.contact-divider {
  border: none;
  height: 1px;
  margin: 2.5rem 0;
  background: linear-gradient(
    to right,
    rgba(63,169,245,0.4),
    transparent
  );
}

/* =========================
   CONTACT FORM – PREMIUM
========================= */

.contact-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
  border-radius: 18px;
  padding: 3rem 3.5rem;
  max-width: 900px;
  margin: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
}

/* Title */
.form-title {
  font-family: "Inter", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: #0f2a44;
}

/* Grid */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.2rem 2.8rem;
}

/* Full width */
.form-group.full {
  grid-column: span 2;
}

/* Labels */
.form-group label {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #5a6b80;
}

/* Inputs */
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid #d6dfec;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.95rem;
  background-color: #ffffff;
  transition: all 0.25s ease;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Focus state */
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3fa9f5;
  box-shadow: 0 0 0 4px rgba(63, 169, 245, 0.15);
}

/* CTA */
.form-btn {
  min-height: 44px;
  margin-top: 2.8rem;
  padding: 0.9rem 2.8rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  background: linear-gradient(135deg, #0f2a44, #163b5c);
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.form-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(15, 42, 68, 0.35);
}

/* Success Message */
.form-success {
  display: none;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: #0f766e;
  font-weight: 500;
}

/* Mobile */
@media (max-width: 768px) {
  .contact-card {
    padding: 2rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full {
    grid-column: span 1;
  }
}

/* Inline validation hints */
.hint {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  color: #7b8ca6;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.form-group input:focus + .hint,
.form-group textarea:focus + .hint {
  opacity: 1;
}

/* Error state */
.form-group.error input,
.form-group.error textarea {
  border-color: #e11d48;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.12);
}

.form-group.error .hint {
  opacity: 1;
  color: #e11d48;
}

@media (max-width: 600px) {
  footer {
    font-size: 0.85rem;
    padding: 0.8rem 1rem;
  }
}

@media (max-width: 600px) {
  .main-header {
    padding: 0.6rem 1rem;
  }

  .logo {
    height: 52px;
  }

  .navbar {
    width: 100%;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
  }

  .navbar a {
    font-size: 0.9rem;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 2rem 1rem;
  }

  .container h2 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    padding: 0;
  }
}
@media (max-width: 600px) {
  .card img {
    height: 140px;
    object-fit: contain;
    padding: 0.5rem;
  }

  .card {
    padding: 1.2rem;
    border-radius: 14px;
  }

  .card h3 {
    font-size: 1.15rem;
  }

  .card p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}
@media (max-width: 600px) {
  .zoom-in {
    animation: fadeIn 0.6s ease-in;
  }
}
@media (max-width: 600px) {
  .back-page {
    bottom: 16px;
    right: 16px;
  }

  .back-page button {
    padding: 0.6rem 1.4rem;
    font-size: 0.85rem;
  }
}
