* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

:root {
  --primary: #830202;
  --secondary: #ff0015;
  --space: #0a1128;
  --accent-blue: #1565c0;
  --accent-red: #d32f2f;
  --text: #ffffff;
  --hover-blue: #0d47a1;
  --hover-red: #b71c1c;
}

/* ========== Body ========== */
body {
  background-image: url("photo/back.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text);
  overflow-x: hidden;
}

/* ========== Topbar Styling ========== */
.topbar {
  background-color: var(--accent-blue);
  padding: 0.5rem 0;
  font-size: 0.9rem;
}

.container {
  width: 100%%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.topbar-left,
.topbar-right {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.topbar-left a,
.topbar-right a {
  font: 1.3rem sans-serif;
  text-decoration: none;
  color: white;
  display: flex;
  align-items: center;
  gap: 1 rem;
  transition: color 0.3s ease;
}

.topbar-left a:hover,
.topbar-right a:hover {
  color: #ff0000;
}

.topbar i {
  font-size: 1.7rem;
  margin-right: 10px;
}

/* ========== Mobile Menu Button ========== */
/* Hide menu button on desktop */
@media (max-width: 769px) {
  .topbar a {
    font-size: 1rem;
  }

  .topbar-left {
    margin-left: 20px;
  }

  .topbar-right {
    gap: 1rem;
    margin-top: 20px;
  }

  .topbar-right a {
    text-align: center;
    font-size: 2.5rem;
  }

  .topbar-right i {
    align-items: center;
    font-size: 1.2rem;
    margin-left: 28px;
  }
}
/* ========== Navbar ========== */
#navbar {
  position: fixed;
  width: 100%;
  top: 15;
  left: 0;
  right: 0;
  padding: 1rem;
  background: transparent;
  z-index: 1000;
  transition: background 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#navbar.scrolled {
  position: fixed;
  top: 0%;
  background: linear-gradient(to right, #ffffff, #ffffff);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: bold;
  font-size: 1.5rem;
  color: var(--text);
}

.logo-text {
  color: var(--secondary);
  text-decoration: none;
}

/* ========== Nav Links ========== */
.nav-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.nav-links button {
  background: none;
  border: none;
  color: var(--space);
  font-weight: bold;
  padding: 0.5rem 0.7rem;
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.3s;
  text-decoration: solid;
}

.nav-links button:hover {
  color: var(--secondary);
}

/* CTA Button */
.cta-button {
  background-color: var(--secondary) !important;
  border-radius: 0.375rem;
}

.cta-button:hover {
  background-color: #d14050 !important;
  color: var(--text) !important;
}

/* ========== Dropdown Menu ========== */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--space);
  min-width: 200px;
  border-radius: 0.375rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  display: block;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: var(--text);
  transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
  background-color: var(--primary);
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* ========== Mobile Menu Button ========== */
/* Hide menu button on desktop */
@media (min-width: 769px) {
  #mobile-menu-btn {
    display: none;
  }

  .close-btn {
    display: none;
  }
}

/* Show mobile menu button only on mobile */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* Hide desktop nav on mobile */
  }

  .logo-text {
    font-size: 1.5rem;
  }

  #mobile-menu-btn {
    /* display: fixed;  */
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--space, #000);
    /* position: fixed; */
    top: 5rem;
    right: 1rem;
    z-index: 10001;
  }

  #nav-menu.scrolled {
    /* position: fixed; */
    top: 0%;
  }

  /* Off-canvas nav menu */
  .nav-menu {
    position: fixed;
    top: 7%;
    right: -300px; /* Hidden off screen */
    width: 280px;
    height: 100%;
    background-color: var(--space, #222);
    box-shadow: -3px 0 8px rgba(0, 0, 0, 0.3);
    padding: 2rem 1rem;
    transition: right 0.3s ease;
    z-index: 10000;
    overflow-y: auto;
  }

  /* Show menu when open */
  .nav-menu.open {
    right: 0;
  }

  .nav-menu .close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text, #fff);
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 0rem;
  }

  .nav-menu .nav-links {
    flex-direction: column;
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
  }

  .nav-menu .dropdown {
    position: relative;
    display: block;
  }

  .nav-menu .dropdown-content {
    position: static; /* Make dropdown content relative to nav-menu */
    display: none;
    background-color: var(--space, #333);
    padding-left: 1rem;
    margin-top: 0.5rem;
    border-radius: 0.3rem;
  }

  /* Show dropdown content when active */
  .nav-menu .dropdown.active > .dropdown-content {
    display: block;
  }

  .nav-menu .dropdown-content a {
    color: var(--text, #fff);
    padding: 0.5rem 0;
    display: block;
    text-decoration: none;
  }

  .nav-menu .dropdown-content a:hover {
    background-color: var(--primary, #555);
  }

  /* Buttons inside menu */
  .nav-menu button {
    color: var(--text, #fff);
    background: none;
    border: none;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    text-align: left;
    width: 100%;
  }
}

/*========== Message ========== */
/* Message button style */
.message-btn {
  position: fixed;
  bottom: 40px;
  left: 40px;
  background-color: #ef4444; /* Tailwind Red */
  color: white;
  border: none;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(239, 68, 68, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, transform 0.3s ease,
    box-shadow 0.3s ease;
  animation: pulseGlow 1.5s infinite;
  z-index: 1000;
}

.message-btn:hover {
  background-color: #dc2626;
  transform: scale(1.1);
  animation: pulseGlow 1.5s infinite;
  box-shadow: 0 0 15px 4px rgba(220, 38, 38, 0.6);
  transition: background-color 0.3s ease, transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* Keyframes for pulse glow */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 20px 6px rgba(220, 38, 38, 0.7);
  }
  50% {
    box-shadow: 0 0 30px 10px rgba(220, 38, 38, 0.9);
  }
  100% {
    box-shadow: 0 0 20px 6px rgba(220, 38, 38, 0.7);
  }
}

.modal h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #1e293b; /* Dark gray */
  text-align: center;
}

.model span {
  color: #ef4444; /* Tailwind red-500 */
}

.message-btn:hover {
  background-color: var(--hover-blue);
}

/* Modal background */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(30, 41, 59, 0.7); /* Dark transparent */
  backdrop-filter: blur(3px);
}

/* Modal content box */
.modal-content {
  background-color: #fff;
  margin: 8% auto;
  padding: 30px 40px;
  border-radius: 12px;
  max-width: 400px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  position: relative;
}

/* Close button */
.close-btn {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 28px;
  font-weight: 700;
  color: #ef4444;
  cursor: pointer;
}

/* Form styles */
form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #1e293b;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form input[type="datetime-local"],
form textarea,
form select {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 18px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  color: #334155;
  transition: border-color 0.3s ease;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="tel"]:focus,
form input[type="datetime-local"]:focus,
form textarea:focus,
form select:focus {
  border-color: #ef4444;
  outline: none;
}

/* Submit button */
.submit-btn {
  background-color: #ef4444;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #dc2626;
}

/* ========== Hero Section ========== */

/* Landmarks section  */
.success {
  padding: 60px 20px;
  text-align: center;
  background-color: linear-gradient(180deg, #1a17c1 50%, #fce4ec 100%);
  box-shadow: #000;
}

.success h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--hover-blue);
}

.underline-red {
  border-bottom: 3px solid #ef4444;
}

.marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.marquee-content {
  display: flex;
  width: max-content;
  animation: scroll-left 40s linear infinite;
}

.marquee-group {
  display: flex;
}

.marquee-group .team-member {
  display: flex;
  align-items: center;
  margin-right: 50px;
}

.type {
  font-size: 1rem;
  color: var(--text);
  font-weight: bold;
  text-align: center;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(135deg, #e3f2fd 0%, #fce4ec 100%);
  color: #0d47a1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10rem 1rem;
}

a {
  color: var(--text);
  text-decoration: none;
}

.bubble {
  position: absolute;
  width: 80px;
  height: 80px;
  background: radial-gradient(
    circle,
    rgba(0, 123, 255, 0.7),
    rgba(0, 123, 255, 0.3)
  );
  border-radius: 50%;
  pointer-events: none;
  transition: transform 0.1s linear;
  opacity: 70%;
}

.bubble1 {
  top: 10%;
  left: 15%;
}
.bubble2 {
  top: 30%;
  right: 20%;
}
.bubble3 {
  bottom: 25%;
  left: 25%;
}
.bubble4 {
  bottom: 10%;
  right: 10%;
}

.hero h1 {
  font-size: 4rem;
}
.breadcrumb {
  margin-top: 0.5rem;
  font-size: 1rem;
}
.breadcrumb span {
  color: #ff9933;
}

/*========== Why-Section ========== */
.why-section {
  padding: 4rem 1.5rem;
  background-color: white;
}

.why-wrapper {
  display: grid;
  grid-template-columns: 1.5fr 0.5fr;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2.5rem;
  align-items: start;
}

.why-wrap {
  display: grid;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2.5rem;
  align-items: start;
}

.why-container {
  width: 100%;
}

.why-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.why-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.why-pic {
  width: 50%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.why-paragraph {
  color: #333;
  line-height: 1.6;
}

.why-list {
  color: #000;
  list-style: circle;
  margin-left: 40px;
}

.why-animation {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.card {
  background: white;
  padding: 1.5rem;
  color: #000;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-top: 4px solid #2653ce;
  border-radius: 8px;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #2653ce; /* blue-600 */
  text-align: center;
  font-weight: bold;
}

.bton {
  color: rgb(0, 0, 0);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: none;
  margin-top: 10px;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.bton a {
  color: var(--space);
  font-weight: bold;
  text-decoration: none;
}

.bton:hover {
  background-color: #1d4ed8; /* blue-700 */
  color: white;
}

.bton:hover a {
  color: white;
}

@media (min-width: 768px) {
  .why-container {
    grid-template-columns: 1fr 1fr;
  }
}

/* Left content */
.why-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.why-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937; /* gray-800 */
}

.why-titlee {
  color: #000000; /* red-500 */
  font-size: 1.5rem;
  margin-bottom: -10px;
}

.why-paragraph {
  color: #4b5563; /* gray-600 */
  line-height: 1.75;
}

.list-why {
  color: #000000;
  margin-top: 0;
  margin-left: 40px;
  padding-top: 0%;
  line-height: 1.75;
}

/* Button */
.why-button {
  background-color: #2563eb; /* blue-600 */
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.why-button:hover {
  background-color: #1d4ed8; /* blue-700 */
}

/* Animation area */
.why-animation {
  display: flex;
  justify-content: center;
}

.why-animation button {
  background-color: #2563eb; /* blue-600 */
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
  height: 50px;
}

.why-animation button:hover {
  background-color: #a60606; /* blue-700 */
}

.card p,
.card a {
  color: #032b63;
  font-size: 1rem;
  line-height: 1.5;
  text-decoration: double;
  text-decoration-color: #1d4ed8; /* blue-700 */
}

p {
  text-align: justify;
}

/* .card a:hover {
  color: #c40000;
  font-size: 1.2rem;
} */

.why-animation lottie-player {
  width: 100%;
  max-width: 400px;
}

.image-container {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.why-imge {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.hover-message {
  position: absolute;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  width: 100%;
  font-size: 2rem;
  padding: 10px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-container:hover .why-imge {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.image-container:hover .hover-message {
  opacity: 1;
}

@media (max-width: 460px) {
  .hero h1 {
    font-size: 2rem;
  }

  .why-wrapper {
    display: flex;
    flex-direction: column;
  }
}

/* ========== Footer ========== */
.footer {
  background-color: #1e293b;
  color: #e2e8f0;
  padding: 50px 40px 30px;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-newsletter {
  flex: 1 1 300px;
  min-width: 250px;
}

.footer-newsletter h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #ef4444; /* red */
}

.footer-newsletter p {
  margin-bottom: 20px;
  color: #cbd5e1;
}

.newsletter-form {
  display: flex;
  max-width: 350px;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 10px 15px;
  border: none;
  border-radius: 4px 0 0 4px;
  font-size: 1rem;
  outline: none;
}

.newsletter-form button {
  background-color: #ef4444;
  color: white;
  border: none;
  padding: 10px 20px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 0 4px 4px 0;
  transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #dc2626;
}

/* Footer Links Sections */
.footer-links {
  flex: 1 1 150px;
  min-width: 150px;
}

.footer-links h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #ef4444;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #ef4444;
}

/* ========== MAP ==========  */
.map {
  flex: 1 1 300px;
  min-width: 150px;
  color: #ef4444;
}

.map h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #ef4444;
}

/* Responsive iframe for mobile */
.map iframe {
  width: 100%;
  height: 150px;
  border-radius: 8px;
  border: none;
}

/* Optional: Responsive tweaks */
@media (max-width: 768px) {
  .map iframe {
    height: 200px;
  }
}

/* Contact Info Section */
.footer-contact {
  flex: 1 1 250px;
  min-width: 250px;
}

.footer-contact h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #ef4444;
}

.footer-contact p {
  margin-bottom: 10px;
  color: #cbd5e1;
}

.footer-contact a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: #ef4444;
}

/* Footer Bottom */
.footer-bottom {
  margin-top: 30px;
  text-align: center;
  border-top: 1px solid #334155;
  padding-top: 20px;
  font-size: 0.85rem;
  color: #94a3b8;
}

.footer-bottom p {
  text-align: center;
  color: #94a3b8;
}

.footer-bottom a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-bottom a:hover {
  color: #ef4444;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .footer-newsletter,
  .footer-links,
  .footer-contact {
    min-width: auto;
  }

  .newsletter-form {
    flex-direction: column;
    max-width: 100%;
  }

  .newsletter-form input[type="email"],
  .newsletter-form button {
    border-radius: 4px;
  }

  .newsletter-form button {
    margin-top: 10px;
  }
}

/* ========== Back to Top Button ========== */
#backToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background-color: #ef4444; /* red */
  color: white;
  border: none;
  border-radius: 50%;
  padding: 15px;
  font-size: 24px;
  cursor: pointer;
  display: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

#backToTopBtn:hover {
  background-color: white;
  color: #ef4444;
  transform: translateY(-5px) rotate(-10deg);
  box-shadow: 0 12px 24px rgba(239, 68, 68, 0.4);
}

@keyframes flyUp {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(-500px) rotate(-45deg);
    opacity: 0;
  }
}

#backToTopBtn.fly {
  animation: flyUp 0.8s forwards;
}

/* ==================== Document Check List ==================== */

.doc-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 20px;
  max-width: 1200px;
  margin: auto;
}

.top-row {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
  flex-wrap: wrap;
}

.one,
.two {
  flex: 1 1 48%;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.three {
  width: 1200px;
  background-color: #eef6ff;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.three .why-title {
  text-align: center;
}

/* ========== CEO PAGE DESIGN ========== */
/* Container */
.main-section {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.image-md,
.message-md {
  flex: 1;
}

.image-md .image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.ceo-image {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* ==================== Message Section ==================== */
.message-md {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 0;
  background-color: #f8f9fa;
}

.message-container {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  max-width: 700px;
}

.message-container h6 {
  font-size: 20px;
  font-weight: 600;
  color: #0056b3;
  margin-bottom: 16px;
}

.message-container p {
  margin-bottom: 16px;
  font-size: 16px;
  color: #444;
}

/* ==================== List Styling ==================== */
.md-list ul {
  list-style: none;
  padding-left: 0;
  margin: 16px 0;
  color: #0a1128;
}

.md-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
}

.md-list li::before {
  content: "✔️";
  position: absolute;
  left: 0;
  color: #00a859;
}

/* ==================== Signature ==================== */
.signature {
  margin-top: 30px;
  font-style: italic;
  font-weight: bold;
  color: #0056b3;
  text-align: right;
}

/* ==================== Social Media Section ==================== */
/* === Footer inside Left Section (Image Side) === */
.md-details {
  gap: 20px;
  flex-wrap: wrap;
  padding: 10px 20px;
}

.md-details h3 {
  font-style: italic;
  font-size: 26px;
  color: #020482;
  margin-bottom: 10px;
}

.md-details h4 {
  font-weight: bold;
  font-size: 23px;
  color: #970101;
}

.md-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
  padding: 10px 20px;
  background-color: #f1f5f9;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* === Certifications on Left === */
.md-certifications {
  flex: 1;
  min-width: 220px;
}

.md-certifications h4 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #0056b3;
}

.md-certifications ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #444;
}

.md-certifications li {
  font-size: 15px;
  margin-bottom: 5px;
}

/* === Social Links on Right === */
.md-social {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 25px;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  background-color: #3b3b3b;
  transition: transform 0.2s ease, background-color 0.3s ease;
}

.social-link i {
  font-size: 20px;
}

/* Specific platform colors */
.social-link:nth-child(1) {
  background-color: #3b5998;
} /* Facebook */
.social-link:nth-child(2) {
  background-color: #e4405f;
} /* Instagram */
.social-link:nth-child(3) {
  background-color: #0077b5;
} /* LinkedIn */
.social-link:nth-child(4) {
  background-color: #000000;
} /* TikTok */

.social-link p {
  font-size: 1rem;
  margin: 0;
  color: #fff;
}

.social-link:hover {
  transform: scale(1.05);
}

.hidden-md {
  display: inline;
}

/* === Responsive Design === */
@media (max-width: 768px) {
  .md-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .md-social {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .hidden-md {
    display: none;
  }
}

/* =============== Team Page ================== */
/* =============== Team Page ================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  justify-items: center;
}

/* Tablet (768px and up to 1024px) */
@media (max-width: 1024px) and (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile (below 768px) */
@media (max-width: 767px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .flip-card {
    width: 90vw; /* or 100%, to make cards fit nicely */
    max-width: 300px; /* prevent it from getting too large on wider phones */
    height: auto; /* adjust height if needed */
  }

  .card-front img {
    width: 100%;
    height: auto;
  }
}

.team-member {
  perspective: 1000px;
}

.flip-card {
  width: 300px;
  height: 400px;
  position: relative;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  margin-bottom: 20px;
  margin-top: 40px;
}

.team-member:hover .flip-card {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-front {
  background-color: white;
  border: 6px solid transparent;
  background-image: linear-gradient(white, white),
    linear-gradient(to right, #0b2e59, #c4002b);
  background-origin: border-box;
  background-clip: content-box, border-box;
}

.card-front img {
  width: 290px;
  height: 350px;
  /* border-radius: 50%; */
  margin-bottom: 5px;
}

.card-front h4,
.card-front p {
  color: #0b2e59;
}

.card-front h4 {
  font-size: 18px;
}

.card-front p {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px;
}
.card-back {
  transform: rotateY(180deg);
  background-color: #0b2e59;
  color: #fff;
  padding: 20px;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Add this new pseudo-element */
.card-back::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(https://i.postimg.cc/5NNkmjT2/logo.png);
  background-size: 80%;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.7; /* Only image is semi-transparent */
  z-index: 0;
}

/* Ensure text stays above the background image */
.card-back * {
  position: relative;
  z-index: 1;
}

.card-back h5 {
  margin-bottom: 10px;
  font-size: 16px;
}

.card-back ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-back li {
  margin: 4px 0;
}
/* =================  Contact Page ================= */
/* contact page  */

.contact-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 40px 20px;
  background: #ffffff;
}

/* Contact Header Section */
.contact-header {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-image {
  flex: 1;
  width: 200px;
  height: 400px;
  margin: 0 auto;
  /* border: 1px solid #000000; Visual boundary */
}

.contact-image img {
  height: 400px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info h2 {
  color: #2a2a72;
  font-size: 2.5rem;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.info-item {
  margin-top: 50px;
  margin-left: 100px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 35px;
  color: #060279;
  font-size: 2rem;
}

.info-item a {
  color: #060279;
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-item:hover a {
  color: #cd0000;
}

/* Contact Form Section */
.contact-form-section {
  background: #f8f9ff;
  padding: 60px 0;
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.form-container h1 {
  text-align: center;
  color: #2a2a72;
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.sectionn h2 {
  text-align: start;
  margin-bottom: 30px;
  color: #0066cc;
}

.sectionn {
  margin-bottom: 30px;
}

.sectionn h3 {
  color: #444;
  margin-bottom: 15px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 5px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

select {
  width: 100%;
  display: block;
  margin-top: 0; /* remove any margin pushing it upward */
  margin-bottom: 15px; /* space below */
  padding: 8px 10px;
  font-size: 16px;
  appearance: none; /* Remove default arrow on some browsers */
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: white
    url("data:image/svg+xml;utf8,<svg fill='gray' height='10' viewBox='0 0 24 24' width='10' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>")
    no-repeat right 10px center;
  background-size: 10px;
}

input[type="text"],
input[type="email"],
input[type="date"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  transition: 0.3s;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #0066cc;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 102, 204, 0.2);
}

textarea {
  min-height: 100px;
  resize: vertical;
}

input[type="radio"],
input[type="checkbox"] {
  margin-right: 8px;
}

.radio-group,
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 20px;
}

.radioo {
  color: #000;
  gap: 10px;
}

button[type="submit"] {
  background-color: #0066cc;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #004999;
}

.success-message {
  color: green;
  font-weight: 600;
  margin-top: 20px;
  text-align: center;
}

.error-message {
  color: red;
  font-weight: 600;
  margin-top: 20px;
  text-align: center;
}

/* Responsive */
@media (max-width: 600px) {
  .contact-header {
    margin-left: 0;
    margin-top: 20px;
    font-size: 1.5rem;
    display: flex;
    flex-direction: column-reverse;
  }

  .contact-info {
    margin-left: 0;
    margin-bottom: 20px;
  }

  .contect-info h2 {
    font-size: 1.25rem;
    margin-bottom: 20px;
  }

  .info-item {
    font-size: 1.1rem;
    margin-left: 0;
    margin-top: 10px;
  }

  .info-item i {
    font-size: 1.1rem;
  }

  input,
  select,
  textarea {
    font-size: 14px;
  }
  label,
  select {
    margin-top: 8px; /* space below the question label */
    margin-bottom: 20px; /* extra space after select */
  }

  button.submit-btn {
    font-size: 15px;
  }

  .sectionn .checkbox-group label {
    min-width: 100%;
  }
}
