body {
  background: linear-gradient(135deg, #0b1f30, #0b1f30);
}

/* Reset default spacing */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Header styles */
header {
  width: 100%;
}

.fixed-whatsapp {
  position: fixed;
  right: 10px;
  bottom: 10px;
  text-align: center;
  z-index: 1000;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #555;
}

.fixed-whatsapp p {
  margin: 0 0 5px 0;
  background-color: orange;
  padding: 0 8px;
}

.fixed-whatsapp a {
  display: inline-block;
}

.btn-breathing img {
  width: 50px;
  height: 50px;
  /* animation: breathing 2s infinite; */
  cursor: pointer;
}

/* Needed for tooltip positioning */
.btn-breathing {
  position: relative;
}

/* Tooltip text */
.whatsapp-tooltip {
  position: absolute;
  right: 60px; /* left of icon */
  top: 50%;
  transform: translateY(-50%);
  background-color: #25d366;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Show on hover */
.btn-breathing:hover .whatsapp-tooltip {
  opacity: 1;
}

.header-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 20px;
  /* Adjust if you want some spacing inside header */
}

.logo img {
  height: 100px;
  /* Scale logo as needed */
  /* width: 200px; */
}

.site-title {
  font-size: 32px;
  font-weight: bold;
  color: #ffffff;
  text-transform: uppercase;
  font-family: "Trajan Pro";
  padding-left: 25px;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: rgb(255, 255, 255);
  font-size: 18px;
}

/* Section styling */
.pic {
  position: relative;
  width: 100%;
  height: 100vh;
  /* full screen height */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  /* fallback background */
}

/* Video styling */
.pic video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* fills section without distortion */
}

nav {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

nav a:hover {
  color: #ffe600;
}

.intro {
  text-align: center;
  padding: 50px 20px;
}

.intro h2 {
  font-size: 2.8rem;
  color: #ffffff;
}

.intro p {
  max-width: 850px;
  margin: 15px auto;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #ffffff;
}

.services {
  text-align: center;
  padding: 50px 20px;
}

.services h4 {
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 10px;
  font-size: 32px;
}

.services h2 {
  font-size: 30px;
  font-weight: bold;
  color: white;
}

.services h2 span {
  color: rgb(66, 172, 229);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
}

.card1-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.card1 {
  background: rgb(255, 255, 255);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s;
}

.card1:hover {
  transform: translateY(-5px);
}

.card1 img {
  width: 100px;
  height: 80px;
  margin-bottom: 15px;
}

/* Make card a hover container */
.card {
  position: relative;
  min-height: 200px;
  /* overflow: hidden; */
  cursor: pointer;
}

/* Front & back layers */
.card-front,
.card-back {
  position: absolute;
  inset: 0;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Default visible */
.card-front {
  flex-direction: column;
  gap: 10px;
  opacity: 1;
  transform: scale(1);
}

/* Hidden initially */
.card-back {
  opacity: 0;
  transform: scale(0.95);
}

/* Hover swap */
.card:hover .card-front {
  opacity: 0;
  transform: scale(0.95);
}

.card:hover .card-back {
  opacity: 1;
  transform: scale(1);
}

.contact {
  min-height: 100vh;
  background: #0b1f30;
  /* background: linear-gradient(135deg, #1f1b3a, #2e275e); */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.contact form {
  background: #f3f3ff;
  width: 600px;
  max-width: 100%;
  padding: 32px;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.contact input,
.contact textarea {
  padding: 12px 14px;
  font-size: 14px;
  border-radius: 4px;
  border: 1px solid #ddd;
  outline: none;
  background: #fff;
}

.contact input::placeholder,
.contact textarea::placeholder {
  color: #aaa;
}

.contact textarea {
  min-height: 180px;
  resize: none;
}
.contact button {
  position: relative;
  overflow: hidden; /* required for glare */
  background: #312e81;
  color: #fff;
  padding: 12px 26px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(49, 46, 129, 0.35);
}

/* Glare layer */
.contact button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  transform: skewX(-20deg);
}

/* On hover → sweep */
.contact button:hover::before {
  animation: glare 0.75s ease-in-out;
}

@keyframes glare {
  from {
    left: -75%;
  }
  to {
    left: 130%;
  }
}

.contact button:hover {
  transform: translateY(-1px);
}

.contact span {
  color: red;
}

/* Two column layout */
.contact-wrapper {
  display: flex;
  gap: 60px;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  align-items: center;
}

/* Right content */
.contact-info {
  color: #fff;
  max-width: 480px;
}

/* Badge */
.badge {
  display: inline-block;
  padding: 6px 14px;
  background: #ffedd5;
  color: #ea580c;
  font-size: 12px;
  border-radius: 999px;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

/* Heading */
.contact-info h2 {
  font-size: 36px;
  line-height: 1.3;
  margin-bottom: 24px;
}

/* Checklist */
.features {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}

.features li {
  position: relative;
  padding-left: 22px;
  color: #d1d5db;
}

.features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #fb923c;
  font-weight: bold;
}

/* Footer info */
.info-footer {
  display: flex;
  gap: 32px;
  align-items: center;
}

.info-footer h4 {
  font-size: 18px;
  margin-bottom: 6px;
}

.info-footer p {
  color: #c7c7d1;
  font-size: 14px;
}

/* Vertical divider */
.divider {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
}

/* Contact Section */
.contact-section {
  text-align: center;
  padding: 40px 20px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 60%;
  margin: 40px auto;
  border-radius: 6px;
}

.contact-section h2 {
  letter-spacing: 2px;
  font-weight: 500;
}

form {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.form-group {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  flex: 1 1 100%;
}

input,
textarea {
  padding: 10px;
  border: 1px solid #ccc;
  font-size: 14px;
  border-radius: 4px;
}

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

button {
  padding: 10px 20px;
  border: 1px solid #000;
  background: transparent;
  cursor: pointer;
  font-weight: bold;
  margin-top: 10px;
}

/* Footer Section */
footer {
  background: #0b1f30;
  padding: 40px 20px;
  text-align: center;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 50px;
  margin-bottom: 20px;
}

.footer-column {
  min-width: 150px;
  text-align: left;
}

.footer-column h4 {
  font-size: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: #0c8ac9;
}

.footer-column a {
  display: inline;
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  margin-bottom: 5px;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-top: 5px;
}

.footer-column a:hover {
  text-decoration: underline;
  color: #ffe600;
}

.footer-bottom {
  font-size: 12px;
  color: #ffffff;
}

.footer-brand {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  width: 500px;
  text-align: center;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
  justify-content: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-brand-logo {
  max-width: 170px;
  margin-bottom: 20px;
}

.footer-brand-contact {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-brand-contact p {
  gap: 10px;
  font-size: 14px;
  color: #ff6a00;
  margin-bottom: 10px;
  word-break: break-word;
  text-align: center;
  width: 100%;
}

.footer-brand-contact .icon {
  font-size: 16px;
}

/* Prevent stray horizontal scroll from 100vw */
html,
body {
  overflow-x: hidden;
}

/* More reliable hero height on mobile (uses dynamic viewport) */
#pic {
  width: 100%;
  height: 100dvh;
  overflow: hidden;
}

#pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.intro {
  text-align: center;
  padding: 80px 20px;
  color: #ffffff;
}

.contact-btn {
  display: inline-block;
  margin-top: 32px;
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 600;
  color: #0b1d2d;
  background: #ffffff;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-btn:hover {
  background: #e0e0e0;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* Hamburger Menu - RIGHT SIDE ONLY MOBILE */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 35px;
  height: 28px;
  cursor: pointer;
  z-index: 1001;
  padding: 5px;
  transition: opacity 0.3s ease; /* Smooth fade */
}

.mobile-menu-toggle span {
  width: 100%;
  height: 4px; /* THICKER */
  background: #ffffff !important;
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* NO ACTIVE TRANSFORMATIONS - STAYS 3 LINES */
.mobile-menu-toggle.active span {
  background: #ffffff !important; /* Just stays white */
}

.mobile-menu-toggle.active {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -320px; /* HIDDEN OFF RIGHT */
  width: 300px;
  height: 100vh;
  background: linear-gradient(135deg, #0b1f30 0%, #1a3a5e 100%);
  flex-direction: column;
  padding: 80px 30px 40px;
  transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  backdrop-filter: blur(20px);
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.7);
  z-index: 999;
}

/* CLOSE BUTTON - TOP RIGHT */
.menu-close {
  position: absolute;
  top: 25px;
  right: 20px;
  width: 40px; /* BIGGER */
  height: 40px; /* BIGGER */
  cursor: pointer;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.menu-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.menu-close span {
  width: 20px; /* PERFECT SIZE */
  height: 3px;
  background: #ffffff !important;
  border-radius: 2px;
  position: absolute;
}

.menu-close span:nth-child(1) {
  transform: rotate(45deg);
}

.menu-close span:nth-child(2) {
  transform: rotate(-45deg);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu a {
  color: #ffffff !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  padding: 18px 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease !important;
  opacity: 0;
  transform: translateX(30px);
  text-align: left;
  display: block;
}

.mobile-menu a:nth-child(1) {
  transition-delay: 0.1s;
}
.mobile-menu a:nth-child(2) {
  transition-delay: 0.2s;
}
.mobile-menu a:nth-child(3) {
  transition-delay: 0.3s;
}
.mobile-menu a:nth-child(4) {
  transition-delay: 0.4s;
}

.mobile-menu.active a {
  opacity: 1;
  transform: translateX(0) !important;
}

.mobile-menu a:hover {
  color: #ffe600 !important;
  padding-left: 15px;
  text-shadow: 0 0 10px rgba(255, 230, 0, 0.5);
}

.footer-brand-contact a {
  color: #ff6a00;
  text-decoration: none;
  font-size: 14px;
}

.footer-brand-contact a:hover {
  color: #e55a00;
  text-decoration: underline;
}

.footer-brand-contact p {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

/* DESKTOP NAV - KEEP EXACTLY SAME */
@media (min-width: 769px) {
  .desktop-nav {
    display: flex !important;
    gap: 20px;
  }

  .desktop-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    transition: 0.3s;
  }

  .desktop-nav a:hover {
    color: #ffe600;
  }
}

/* Base mobile rules (≤480px wide) */
@media (max-width: 768px) {
  .footer-brand {
    width: 100%;
    max-width: 360px; /* ⬅️ important */
    padding: 20px;
  }

  .footer-brand-logo {
    max-width: 140px; /* ⬅️ smaller logo */
    margin: 0 auto 16px;
    display: block;
  }
  .footer-brand-contact p {
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
    word-break: break-word; /* ⬅️ prevents overflow */
    flex-wrap: wrap; /* ⬅️ allows wrapping */
  }

  .footer-brand-contact .icon {
    flex-shrink: 0;
  }

  .contact-info h2 {
    font-size: 20px;
    line-height: 1.3;
    text-align: center;
  }

  .features li {
    font-size: 14px;
    text-align: left;
  }

  .info-footer {
    display: flex;
    flex-direction: column; /* ⬅️ stack */
    gap: 16px;
    text-align: center;
    margin-top: 24px;
  }

  .info-footer h4 {
    font-size: 14px;
  }

  .info-footer p {
    font-size: 13px;
    line-height: 1.4;
    word-break: break-word;
  }

  .header-container {
    flex-direction: row;
    /* Keep everything in a row */
    justify-content: space-around;
    /* Even spacing */
    align-items: center;
    flex-wrap: nowrap;
    /* Stop line breaks */
  }

  .logo img {
    height: 60px;
    /* Scale logo for mobile */
  }

  .site-title {
    font-size: 13px;
  }

  nav a {
    margin-left: 10px;
    font-size: 8px;
    /* Slightly smaller links */
    gap: 5px;
  }

  nav {
    gap: 5px;
  }

  /* Use dynamic vh so the address bar doesn't break layout */
  #pic {
    height: 60dvh;
  }

  .intro {
    padding: 20px 12px;
  }

  .intro h2 {
    font-size: 1.25rem;
  }

  .intro p {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .services {
    padding: 24px 12px;
  }

  .services h2 {
    font-size: 20px;
  }

  .card-grid,
  .card1-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card,
  .card1 {
    padding: 18px;
  }

  .card img {
    width: 56px;
    height: auto;
  }

  .card1 img {
    width: 80px;
    height: auto;
  }

  .contact-section {
    width: 94%;
    padding: 16px;
  }

  .contact-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-left: 0;
  }

  .divider {
    display: none;
  }

  form {
    flex-direction: column;
    gap: 12px;
  }

  .form-group {
    flex: 1 1 100%;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .footer-bottom {
    font-size: 11px;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-brand-contact p {
    justify-content: center;
  }

  .mobile-menu-toggle {
    display: flex !important;
  }

  .desktop-nav {
    display: none !important;
  }

  .header-container {
    justify-content: space-between;
    padding: 15px 20px;
  }

  .logo img {
    height: 55px;
  }

  .site-title {
    font-size: 20px;
    padding-left: 10px;
  }

  body.menu-open {
    overflow: hidden;
  }

  /* Extra-tight layout for short screens (≤480w and ≤600h) */
  @media screen and (max-width: 480px) and (max-height: 600px) {
    #pic {
      height: 50dvh;
    }

    /* free some vertical space */
    .intro {
      padding: 16px 12px;
    }

    .services {
      padding: 16px 12px;
    }
  }
}
