
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
 
  
  /* Navbar */
  /* Default Navbar */
.navbar {
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1rem 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    position: fixed;
    top: 30;
    left: 0;
    transition: background-color 0.3s ease;

  }

.logo img,
.logo svg {
  height: 10px;
  width: auto;
  display: block;
  
}

#logo-img {
    margin-left: -20px; /* or less */
  }
  
  
  /* Transparent navbar style for hero section */
  .navbar.transparent {
    background: transparent;
    position: fixed;
    width: 100%;
    z-index: 10;
    transition: background 0.3s ease;
  }
  
  .navbar.solid {
    background: white;
    box-shadow: 0 1px 10px rgba(0,0,0,0.1);
  }
  
  .navbar.transparent a,
  .navbar.transparent .logo,
  .navbar.transparent button {
    color: white;
  }
  .navbar.hero-transparent {
    background-color: transparent !important;
    box-shadow: none !important;
    color: white;
    transition: background-color 0.3s ease;
  }
  
  .navbar.hero-transparent a,
  .navbar.hero-transparent .logo,
  .navbar.hero-transparent button {
    color: white;
  }
    
  
  
  .nav-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 1rem;   
    padding-top: 30px ;
    
  }
  
  .nav-container > * {
  display: flex;
  align-items: center;  /* center each child inside the navbar */
  height: 100%;         /* make each child match navbar height */
  margin: 0;            /* reset margins */
  padding: 0;           /* reset padding */
}

  .logo {
    font-weight: bold;
    font-size: 1.8rem;
  }
  
  .nav-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 0.6rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    position: relative;
    z-index: 10;
    transition: background-color 0.3s ease;
  }
  
  /* Make sure nav links inside look good */
  .nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
  }

  /* Style on hero section (default) */
.nav-box.transparent {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  
  .nav-box.transparent .nav-links li a {
    color: white;
  }
  
  /* Style after scrolling down */
  .nav-box.solid {
    background: rgba(255, 255, 255, 0.95);
  }
  
  .nav-box.solid .nav-links li a {
    color: #222;
  }
  
  
  .nav-links li a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    transition: background 0.3s ease;
    
  }
  
  .nav-links li a:hover {
    background: rgba(255, 255, 255, 0.2);
  }
  
  
  .nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    display: flex;
    height: 100%; /* Make sure it fills the navbar height */
    padding: 0 0.5rem; /* Horizontal spacing between links */
  }
  
.navbar {
  transition: transform 0.4s ease;
}
.navbar.nav-hidden {
  transform: translateY(-100%);
}

  
  
  .lang-switch button {
    background: none;
    border: none;
    font-weight: bold;
    font-size: 0.9rem;
    cursor: pointer;
    color: #333;
    margin-left: -20px; /* or less */

  }
  
  #lang-options {
    position: absolute;
    top: 110%;
    left: 0;
    background: transparent;  /* no white background */
    border: none;             /* no border */
    box-shadow: none;         /* no shadow */
    min-width: auto;
    padding: 0;
    margin: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
  }
  
  .lang-option-item {
    padding: 2px 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    color: inherit;  /* inherits text color */
  }
  
  .lang-option-item:hover {
    background-color: rgba(0,0,0,0.1); /* subtle highlight */
    border-radius: 4px;
  }
  
  #lang-active-btn {
    background: none;
    border: none;
    padding: 6px 10px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: inherit;
  }
  
  /* Transparent style for hero */
.lang-btn.transparent {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
  }
  
  /* Solid style after scrolling */
  .lang-btn.solid {
    background: white;
    color: #222;
    border: 1px solid #ccc;
  }

     /* Lang part */
     .lang-switcher {
      position: relative;
      display: inline-block;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      user-select: none;
      font-weight: 600;
    }
    
    .lang-btn {
      background-color: #fff;
      border: 1px solid #ccc;
      border-radius: 6px;
      padding: 8px 16px;
      font-size: 14px;
      color: #333;
      cursor: pointer;
      min-width: 90px;
      text-align: left;
      display: flex;
      align-items: center;
      gap: 8px;
      transition: border-color 0.3s ease, background-color 0.3s ease;
    }
    
    .lang-btn:hover,
    .lang-btn:focus {
      border-color: #0077cc;
      background-color: #f0f8ff;
      outline: none;
    }
    
    .flag {
      font-size: 18px;
      line-height: 1;
    }
    
    .lang-options {
      position: absolute;
      top: calc(100% + 6px);
      left: 0;
      background-color: #fff;
      border: 1px solid #ccc;
      border-radius: 6px;
      box-shadow: 0 8px 16px rgba(0,0,0,0.12);
      min-width: 90px;
      z-index: 1000;
      padding: 4px 0;
      user-select: none;
    }
    
    .lang-options button {
      background: none;
      border: none;
      width: 100%;
      padding: 8px 16px;
      font-size: 14px;
      text-align: left;
      color: #333;
      cursor: pointer;
      transition: background-color 0.2s ease;
      display: flex;
      align-items: center;
      gap: 8px;
      border-radius: 0;
    }
    
    .lang-options button:hover,
    .lang-options button:focus {
      background-color: #0077cc;
      color: #fff;
      outline: none;
    }
    
    .hidden {
      display: none !important;
    }
    
      
      
    .fade-in {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
      }
      
      .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
      }
      






  /* Force logo to stay white on contact page */
body.contact-page #logo-img {
  filter: brightness(0) invert(1) !important;
}

/* Make language button text white */
body.contact-page .lang-btn {
  color: white !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
}

/* Optional: language dropdown background + items white style */
body.contact-page .lang-options {
  background-color: #ffffff;
  color: #000000;
}

body.contact-page .lang-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

body.contact-page .icon-btn:hover .bar {
  opacity: 0.8;
}













/* ================= HERO ================= */
.contact-hero-section {
  background-color: #0F1D56; /* dark blue */
  color: white;
  padding: 120px 40px 80px;
}

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

.contact-title {
  font-size: 48px;
  font-weight: bold;
}

.company-name {
  font-size: 24px;
  margin-top: 8px;
}

.contact-description {
  font-size: 18px;
  font-style: italic; /* ➤ Italic Adobe font */
  font-family: var(--font-owners-medium-italic);
  text-align: right;
}

.contact-hello {
  font-size: 28px;
  font-weight: bold;
  text-align: right;
  margin-top: 12px;
  color: white;
}

/* ================= FORM LAYOUT ================= */
.contact-form-section {
  background-color: white;
  padding: 60px 40px;
}

.contact-form-container {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
}

.form-left {
  flex: 1 1 55%;
}

.form-left label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  margin-top: 16px;
  color: #555;
}

.form-left input,
.form-left select,
.form-left textarea {
  width: 100%;
  padding: 16px 20px;
  font-size: 16px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 30px;
  background-color: #fefbf4;
  outline: none;
  margin-bottom: 10px;
}

.submit-btn {
  margin-top: 20px;
  background-color: #0F1D56;
  color: white;
  font-weight: bold;
  font-size: 16px;
  padding: 18px 48px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
}

.form-right {
  flex: 1 1 35%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.form-right-text {
  font-size: 30px;
  font-weight: 600;
  font-style: italic;
  font-family: var(--font-owners-medium-italic);
  color: #0F1D56;
}

/* ================= CONTACT DETAILS ================= */
.contact-details-section {
  padding: 40px 40px;
  background-color: #fff;
}

.contact-details-container {
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.map-container iframe {
  width: 100%;
  height: 350px;
  border-radius: 12px;
  border: none;
}

.contact-info p {
  font-size: 18px;
  margin-bottom: 10px;
}

.contact-info a {
  text-decoration: none;
  color: #0F1D56;
}

.social-icon {
  width: 22px;
  height: 22px;
  margin-right: 6px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .contact-container,
  .contact-form-container,
  .contact-details-container {
    flex-direction: column;
  }
  .form-right {
    margin-top: 30px;
  }
}






  /* ===== FIRST SECTION  ===== */

  .contact-hero-section {
    background-color: darkblue;
    padding: 120px 40px 60px;
  }
  
  .contact-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    align-items: center;
  }
  
  .contact-left {
    flex: 1;
  }
  
  .contact-title {
    font-size: 48px;
    margin-bottom: 10px;
    margin-top: 100px; /* ⬅️ pushes section down */
    padding-left: 100px;
  }
  
  .company-name {
    font-size: 24px;
    color: white;
    padding-left: 100px;
  }
  
  .contact-right {
    flex: 1;
    
  }
  
  .contact-description {
    font-family: var(--font-tangier-bold);
    font-size: 18px;
    color: white;
    line-height: 1.6;
    margin-top: 100px; /* ⬅️ pushes section down */
    padding-left: 150px; /* Adjust value as needed */
    font-size: 1.7rem;
    font-weight: 800;
  }
  

  body.contact-page .navbar {
    background-color: rgb(15, 29, 86);
    box-shadow: none; /* optional: remove shadow */
  }
  
  .contact-hero-section {
    background-color: rgb(15, 29, 86);
    padding: 120px 40px 60px;
    margin-top: 0; /* remove any spacing between navbar and section */
  }



/* ===== TEXT ONLY LETS SECTION ===== */
.lets-text-section {
  background-color: #ffffff;
  padding: 60px 40px 40px;
}

.lets-container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
}

.lets-text {
  font-family: var(--font-tangier-bold);
  font-weight: 700;
  font-size: 3rem;
  color: #0F1D56;
  text-align: left;
}




  /* ===== SECOND SECTION FORM ===== */
.contact-form-section {
  background: white;
  padding: 4rem 2rem;
  margin-top: -30px;
}

.contact-form-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.form {
  flex: 1 1 100%;
}

.form label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
  color: #555;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  font-size: 1rem;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 50px;
  background: #FFFCEB;
  margin-bottom: 1rem;
  font-family: var(--font-owners-regular);
}

.form select {
  appearance: none;
}

.form textarea {
  min-height: 120px;
  border-radius: 25px;
  resize: vertical;
}

.submit-btn {
  margin-top: 1rem;
  background: rgb(15, 29, 86);
  color: white;
  font-weight: bold;
  font-size: 1rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
}

.form-col {
  flex: 0 0 calc(50% - 1rem);
  display: flex;
  flex-direction: column;
}

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

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 1rem;
  width: 100%; /* ✅ Force full width so .form-col can take 50% */
}

.submit-row {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.submit-btn {
  width: 100%;
  max-width: 520px; /* adjust tastefully */
  text-align: center;

  background: rgb(15, 29, 86);
  color: white;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 1.2rem 2rem;

  border: none;
  border-radius: 50px;
  cursor: pointer;

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* ================= MAP SECTION ================= */
.contact-map-section {
  background-color: #ffffff;
  padding: 60px 40px 80px;
}

.contact-map-container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-map-container iframe {
  width: 100%;
  height: 420px;
  border: none;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* ================= SOCIALS SECTION ================= */
.socials-section {
  background: #ffffff;
  padding: 80px 40px;
}

.socials-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* SHARED CARD */
.social-card {
  background: rgb(15, 29, 86); /* dark blue */
  border-radius: 32px;
  padding: 40px;
  color: white;
}

/* LEFT CARD */
.left-card {
  display: flex;
  flex-direction: column;
}

/* Beige pill */
.social-pill {
  background: #fbf6e6;
  color: #4b8bdf;
  font-weight: 700;
  font-size: 1.6rem;
  padding: 16px 32px;
  border-radius: 999px;
  text-align: center;
  margin-bottom: 40px;
}

/* Social list */
.social-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.social-list li {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-list img {
  width: 40px;
  height: 40px;
}

.social-list a {
  font-size: 1.4rem;
  font-weight: 600;
  color: #cfe6ff;
  text-decoration: none;
}

.social-list a:hover {
  text-decoration: underline;
}

/* RIGHT CARD */
.right-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.social-text {
  font-size: 1.3rem;
  line-height: 1.6;
  color: beige;
  max-width: 90%;
  font-weight: 850;
}

.signature-img {
  width: 80px;        /* adjust if needed */
  height: auto;
  margin-top: 40px;
}


/* Warm regards */
.warm-regards {
  font-family: var(--font-tangier-bold);
  font-size: 3rem;
  color: #a8d2ff;
  margin-top: 10px;
  font-weight: 780;

}

.social-list img {
  width: 40px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.icon-wrap {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}






















  /* ==== NAVBAR FIXES FOR CONTACT PAGE ==== */

/* Show hamburger menu */
.icon-btn {
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  color: #222; /* solid color for contact page */
}

.icon-btn .bar {
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: opacity .2s ease;
}

.icon-btn:hover .bar {
  opacity: .8;
}

/* Force solid style so it's visible on light background */
.icon-btn.solid { color: #222; }

/* Align everything except logo to the right */
.nav-container {
  justify-content: flex-start; /* keep logo at start */
}

.nav-container > .nav-box,
.nav-container > .lang-switcher,
.nav-container > .menu-wrapper {
  margin-left: auto; /* push these to the far right */
}

/* Container for absolute dropdown positioning */
.menu-wrapper { position: relative; }

/* Drawer Styles */
.drawer {
  position: fixed;
  top: 0;
  right: -50%; /* hidden initially */
  width: 50%;
  height: 100%;
  background-color: rgb(75, 139, 223);
  box-shadow: -4px 0 12px rgba(0,0,0,0.2);
  z-index: 1001;
  transition: right 0.3s ease;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.drawer.open {
  right: 0;
}

.drawer-close {
  background: none;
  border: none;
  font-size: 2rem;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 2rem;
}

.drawer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.drawer-menu li a {
  text-decoration: none;
  font-size: 2rem;
  font-weight: 600;
  color: white;
  transition: color 0.2s;
  padding-top: 0.5rem 0;
}

.drawer-menu li a:hover {
  color: #1e3a8a; /* highlight color */
}

/* Overlay behind the drawer */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(15, 29, 86);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Menu Toggle Button */
.menu-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1100;
  background: #1e3a8a;
  color: #fff;
  border: none;
  padding: 0.7rem 1rem;
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: 6px;
}

/* Make hamburger icon bars white */
body.contact-page .icon-btn .bar {
  background: white !important;
}

/* utility */
.hidden { display: none !important; }


/* Make nav links dark on contact page */
body.contact-page .nav-links li a {
  color: #222;
}

/* Contact page navbar centering fix */
body.contact-page .nav-container {
  justify-content: center; /* center everything inside */
  gap: 40px; /* space between logo and nav items */
}

body.contact-page .logo {
  display: flex;
  align-items: center;
}

body.contact-page #logo-img {
  margin-left: 0; /* remove the negative margin */
}

body.contact-page .nav-box {
  margin: 0 auto; /* helps center the nav items */
}

body.contact-page .lang-switcher {
  position: relative;
}

/* ---------- CONTACT: make header match Home (logo left, pill centered, controls right) ---------- */

/* 1) Fix header position (you had top: 30 with no unit) */
body.contact-page .navbar { top: 0; }

/* 2) Use the container as the positioning context */
body.contact-page .nav-container {
  position: relative;              /* allow absolute centering */
  display: flex;
  align-items: center;
  justify-content: flex-start;     /* keep logo on the left */
  gap: 24px;
  
}

/* 3) Hard-center the pill like on Home */
body.contact-page #nav-box,
body.contact-page .nav-box {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  height: 50px; 
  
}

/* 4) Push language + hamburger to the right edge */
body.contact-page .lang-switcher { 
  margin-left: auto;
  
 }

body.contact-page .menu-wrapper   { 
  margin-left: 12px;
 
 }

/* 5) Remove the left pull on the logo for this page */
body.contact-page #logo-img { margin-left: 0; }

body.contact-page #logo-img,
body.contact-page .lang-switch button {
  margin: 0;
}


.contact-pill-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 130px;                 /* space between pills */
  padding: 80px 40px;
  background: #ffffff;
  margin-left: 60px;
  margin-top: -30px;
}

/* Base pill style */
.contact-pill {
  padding: 32px 64px;
  border-radius: 999px;      /* full pill */
  font-family: var(--font-owners-bold);
  font-size: 32px;
  font-weight: 800;
  white-space: nowrap;
}

/* Left – phone */
.phone-pill {
  background: #fbf7df;       /* beige */
  color: rgb(15, 29, 86);            /* dark blue text */
}

/* Right – email */
.email-pill {
  background: rgb(15, 29, 86);       /* dark blue */
  color: #ffffff;
}




















/* ===== Footer language bar ===== */
.site-footer {
    background-color: rgb(15, 29, 86);
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

.footer-main {
    padding: 40px 10%;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-columns h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

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

.footer-columns ul li {
    margin-bottom: 8px;
}

.footer-columns a {
    color: #ccc;
    text-decoration: none;
}

.footer-columns a:hover {
    color: #fff;
}

.footer-lang {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 15px;
    background-color: #fff;
    color: #333;
    font-size: 0.95rem;
}

.footer-lang span {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-lang span:hover {
    text-decoration: underline;
}

.footer-bottom {
    background-color: #0f0f0f;
    text-align: center;
    padding: 10px;
    font-size: 0.85rem;
    color: #aaa;
}

.footer-bottom a {
    color: #fff;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.footer-logo {
  max-width: 120px;   /* Adjust as needed */
  height: auto;       /* Keeps aspect ratio */
  display: block;     /* Prevents inline spacing issues */
}











/* ===== Global Font Setup (Adobe Fonts: Tangier + Owners) ===== */

:root {
  --font-tangier-bold: "tangier", sans-serif;           /* 700 normal */
  --font-owners-regular: "owners", sans-serif;          /* 400 normal */
  --font-owners-medium: "owners", sans-serif;           /* 500 normal */
  --font-owners-medium-italic: "owners", sans-serif;    /* 500 italic */
  --font-owners-bold: "owners", sans-serif;             /* 700 normal */
  --font-owners-bold-italic: "owners", sans-serif;      /* 700 italic */
  --font-owners-black: "owners", sans-serif;            /* 800 normal */
  --font-owners-black-italic: "owners", sans-serif;     /* 800 italic */
}

/* Base text */
html, body {
  font-family: var(--font-owners-regular);
  font-weight: 400;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Form elements inherit font */
button, input, select, textarea {
  font-family: inherit;
}


@media (max-width: 768px) {
  .form-col {
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  .contact-map-container iframe {
    height: 300px;
    border-radius: 14px;
  }
}

@media (max-width: 900px) {
  .socials-container {
    grid-template-columns: 1fr;
  }

  .social-card {
    padding: 32px;
  }

  .social-text {
    max-width: 100%;
  }
}


/* =========================================================
   CONTACT PAGE — RESPONSIVE OVERRIDES (MOBILE-FIRST LAYER)
   Desktop untouched. Mobile fixed properly.
   ========================================================= */

/* -------------------------
   GLOBAL FIXES
-------------------------- */

/* Fix invalid navbar top */
.navbar { top: 0 !important; }

/* Reserve space for fixed navbar */
:root { --nav-h: 110px; }

body {
  padding-top: var(--nav-h);
}

/* iOS safe-area support */
@supports (padding: max(0px)) {
  body {
    padding-top: max(var(--nav-h), calc(var(--nav-h) + env(safe-area-inset-top)));
  }
}

html, body {
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

/* -------------------------
   <= 1024px (tablets)
-------------------------- */
@media (max-width: 1024px) {
  :root { --nav-h: 100px; }

  .nav-container {
    padding-top: 16px;
  }

  #logo-img {
    margin-left: 0;
  }

  .contact-title,
  .company-name,
  .contact-description {
    padding-left: 0 !important;
    margin-top: 0 !important;
  }
}

/* -------------------------
   <= 768px (mobile baseline)
-------------------------- */
@media (max-width: 768px) {
  :root { --nav-h: 88px; }

  /* NAVBAR */
  .nav-box {
    display: none !important; /* rely on hamburger */
  }

  .lang-switcher {
    margin-left: auto;
  }

  /* HERO */
  .contact-hero-section {
    padding: calc(var(--nav-h) + 40px) 6vw 60px !important;
    text-align: left;
  }

  .contact-container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }

  .contact-title {
    font-size: 2.4rem;
  }

  .company-name {
    font-size: 1.2rem;
  }

  .contact-description {
    font-size: 1.2rem;
    padding-left: 0 !important;
    text-align: left;
  }

  /* LETS TEXT */
  .lets-text {
    font-size: 2.2rem;
  }

  /* CONTACT PILLS */
  .contact-pill-section {
    flex-direction: column;
    gap: 24px;
    margin-left: 0;
    padding: 40px 6vw;
  }

  .contact-pill {
    font-size: 1.2rem;
    padding: 16px 28px;
  }

  /* FORM */
  .contact-form-section {
    padding: 3rem 6vw;
    margin-top: 0;
  }

  .form-row {
    flex-direction: column;
    gap: 1.2rem;
  }

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

  .submit-btn {
    font-size: 1rem;
    padding: 1rem 1.5rem;
    max-width: 100%;
  }

  /* MAP */
  .contact-map-section {
    padding: 40px 6vw 60px;
  }

  .contact-map-container iframe {
    height: 300px;
  }

  /* SOCIALS */
  .socials-section {
    padding: 60px 6vw;
  }

  .socials-container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .social-card {
    padding: 28px;
  }

  .social-pill {
    font-size: 1.1rem;
    padding: 12px 24px;
  }

  .social-list a {
    font-size: 1.1rem;
  }

  .warm-regards {
    font-size: 2.2rem;
  }
}

/* -------------------------
   <= 430px (iPhone 12 / 13 / 14)
-------------------------- */
@media (max-width: 430px) {
  :root { --nav-h: 80px; }

  .contact-title {
    font-size: 2rem;
  }

  .contact-description {
    font-size: 1.1rem;
  }

  .lets-text {
    font-size: 2rem;
  }

  .contact-pill {
    font-size: 1.05rem;
    padding: 14px 24px;
  }

  .social-list img {
    width: 32px;
    height: 32px;
  }

  .social-text {
    font-size: 1.1rem;
  }
}

/* -------------------------
   <= 375px (small phones / SE)
-------------------------- */
@media (max-width: 375px) {
  :root { --nav-h: 74px; }

  .contact-title {
    font-size: 1.8rem;
  }

  .lets-text {
    font-size: 1.8rem;
  }

  .contact-pill {
    font-size: 0.95rem;
    padding: 12px 20px;
  }

  .warm-regards {
    font-size: 1.9rem;
  }
}

/* =========================================
   FIX: Right-align contact text on mobile
   ========================================= */

@media (max-width: 768px) {
  .contact-description,
  .contact-hello {
    text-align: right !important;
    align-self: flex-end;     /* push block to the right */
    margin-left: auto;       /* ensure right alignment */
    max-width: 100%;         /* prevent weird wrapping */
  }
}

@media (max-width: 768px) {
  .contact-description,
  .contact-hello {
    max-width: 85%;
  }
}
