/* ==== UI STYLING ==== */
.contact-section {
  padding: 80px 20px;
  background: #fff;
  text-align: center;
}
.title {
  font-size: 2rem;
  font-weight: 700;
  color: #0070f3;
  margin-bottom: 10px;
}
.title-line {
  all: unset;                /* wipe browser default styles */
  display: block;            /* make it behave like <hr> */
  height: 2px;               /* thickness */
  width: 80px;               /* length */
  background-color: #000;    /* PURE black */
  margin: 10px auto 20px;    /* center + spacing */
}

.subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #333;
}
.contact-form {
  max-width: 900px;
  margin: 0 auto;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  width: 100%;
  text-align: left;
}
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  background: #f9f9f9;
  transition: border 0.3s;
  z-index: 1;
  height: 50px;
}
input:focus, select:focus, textarea:focus {
  border-color: #0070f3;
  outline: none;
  background: #fff;
}
textarea {
  resize: none;
  height: 50px;
}
.error-msg {
  color: red;
  font-size: 12px;
  margin-top: 4px;
  display: none;
}
.consent {
  font-size: 12px;
  color: #555;
  margin: 20px 0;
  line-height: 1.4;
}
.btn-submit {
  background: #0070f3;
  color: #fff;
  border: none;
  padding: 12px 40px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s;
  width:500px;
}
.btn-submit:hover {
  background: #005bb5;
}
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}
/* intl-tel-input full width */
.iti { width: 100% !important;}
.iti input {
  width: 100% !important;
  height: 48px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  padding: 12px 14px;
  background: #f9f9f9;
  
}
/* Force intl-tel-input dropdown above all form fields */
.iti {
  position: relative !important;
  /* z-index: 9999 !important; */
}

.iti__country-list {
  position: absolute !important;
  /* z-index: 99999 !important; */
  background: #fff;   /* ensure it doesn’t look transparent */
}


/* Error styles */
input.error, select.error, textarea.error {
  border-color: red !important;
}

.error-msg {
  color: red;
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

/* Custom select styling for #contact form */
#contact select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  width: 100%;
  padding: 12px 14px;
  padding-right: 40px; /* Space for custom arrow */
  font-size: 14px;
  border: 1.8px solid #ccc; /* Visible border */
  border-radius: 8px;
  background-color: #f9f9f9;
  background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

/* On focus or active */
#contact select:focus {
  border-color: #0070f3;
  background-color: #fff;
  box-shadow: 0 0 4px rgba(0, 112, 243, 0.3);
  outline: none;
}

/* Make sure the select box looks inset when opened */
#contact select:active {
  border-color: #0070f3;
}

/* Force visible border when dropdown opens (Chrome/Webkit only) */
#contact select::-ms-expand {
  display: none;
}

/* Fix for Firefox */
#contact select:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #000;
}

/* Style for options */
#contact select option {
  padding: 10px 14px;
  font-size: 14px;
  color: #333;
  background-color: #fff;
}

/* Hover/focus state for options (some browsers) */
#contact select option:hover,
#contact select option:focus {
  background-color: #f2f7ff;
  color: #0070f3;
}

/* ================= CLEAN WHITE FOOTER ================= */
.footer {
  background: #fff;
  color: #000;
  padding: 60px 20px 25px;
  border-top: 2px solid #111;
  font-size: 1.05rem; /* Global base font size */
}

/* --- Layout: Equal spacing & center alignment --- */
.footer-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: flex-start;
  justify-items: center;
  gap: 97px; /* Equal gap between all columns */
  max-width: 1200px;
  margin: 0 auto;
}

/* --- Brand Column --- */
.footer-col.brand {
  text-align: center;
}

.footer-col.brand img {
  display: block;
  margin: 0 auto 12px;
  max-width: 120px;
  height: auto;
}

.footer-col.brand p {
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
  color: #000;
}

/* --- Column Headings --- */
.footer-col h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #000;
  font-weight: 600;
}

/* --- Column Links --- */
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #000;
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-col ul li a:hover {
  color: #0070f3;
}

/* --- Social & Contact --- */
.footer-col .contact-link {
  color: #0070f3;
  font-weight: 600;
  text-decoration: none;
}

.footer-col .contact-link:hover {
  text-decoration: underline;
}

.footer-col .socials {
  margin: 10px 0;
}

.footer-col .socials a {
  color: #000;
  font-size: 1.3rem;
  margin-right: 10px;
  transition: 0.3s ease;
}

.footer-col .socials a:hover {
  color: #0070f3;
}

.footer-col .mail {
  font-weight: 500;
  color: #000;
  margin: 4px 0;
  font-size: 0.95rem;
}

/* --- Bottom Section --- */
.footer-bottom {
  text-align: center;
  border-top: 1px solid #ddd;
  margin-top: 40px;
  padding-top: 15px;
  font-size: 1.5rem;
  color: #000;
}

/* --- Responsive Fixes --- */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
  }
}

@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .footer-col h4 {
    margin-top: 10px;
  }

  .footer-col .socials a {
    margin: 0 8px;
  }
}




/* =======================================================
   ✅ RESPONSIVE MEDIA QUERIES (with Fixed iPad Navbar)
   ======================================================= */

/* ============================
   📱 MOBILE VIEW (max 480px)
   ============================ */
@media (max-width: 480px) {
  /* ---- Contact Section ---- */
  .contact-section {
    padding: 40px 15px;
  }

  .title {
    font-size: 1.4rem;
    line-height: 1.3;
  }

  .subtitle {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 25px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  input,
  select,
  textarea {
    font-size: 13px;
    height: 45px;
  }

  .btn-submit {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    border-radius: 6px;
  }

  .consent {
    font-size: 11px;
    text-align: center;
  }

  /* ---- Navbar ---- */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .navbar .logo {
    margin-left: 10px;
  }

  .navbar .logo img {
    max-width: 110px;
    height: auto;
  }

  /* Hamburger button */
  .navbar-toggler {
    margin-left: auto;
    margin-right: 15px;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    outline: none !important;
    z-index: 1001;
  }

  .navbar-toggler-icon {
    width: 25px;
    height: 2px;
    background-color: #000;
    position: relative;
    transition: all 0.3s ease;
  }

  .navbar-toggler-icon::before,
  .navbar-toggler-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 25px;
    height: 2px;
    background-color: #000;
    transition: all 0.3s ease;
  }

  .navbar-toggler-icon::before {
    top: -7px;
  }

  .navbar-toggler-icon::after {
    top: 7px;
  }

  .navbar-toggler.active .navbar-toggler-icon {
    background-color: transparent;
  }

  .navbar-toggler.active .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 0;
  }

  .navbar-toggler.active .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    top: 0;
  }

  /* Slide-in menu */
  .navbar-collapse {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background-color: #fff;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    transition: left 0.4s ease;
    z-index: 1000;
    padding-top: 80px;
    text-align: left;
  }

  .navbar-collapse.show {
    left: 0;
  }

  .navbar-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 20px;
  }

  .navbar-nav .nav-item {
    margin: 15px 0;
  }

  .navbar-nav .nav-link {
    font-size: 18px;
    color: #000;
    font-weight: 500;
    transition: color 0.3s;
  }

  .navbar-nav .nav-link:hover {
    color: #0070f3;
  }

  /* Close button (inside slide menu) */
.close-btn {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 28px;
  font-weight: bold;
  color: #000;
  cursor: pointer;
  z-index: 1100; /* make sure it’s above all content */
}

/* Ensure slide menu itself is clickable area */
.navbar-collapse {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  height: 100vh;
  background-color: #fff;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
  transition: left 0.4s ease;
  z-index: 1000;
  padding-top: 80px;
  text-align: left;
}

.navbar-collapse.show {
  left: 0;
}


  /* ---- Footer ---- */
  .footer-top {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 30px 15px;
    text-align: center;
  }

  .footer-top .footer-col {
    width: 100%;
  }

  .footer-top .footer-col.brand img {
    max-width: 120px;
    margin: 0 auto 10px;
  }

  .footer-top .footer-col h4 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .footer-top .footer-col ul li a {
    font-size: 14px;
  }

  .footer-top .footer-col .socials a {
    font-size: 18px;
    margin: 0 6px;
  }

  .footer-bottom {
    text-align: center;
    padding: 15px 10px;
    font-size: 13px;
  }
}

/* ============================
   📲 TABLETS (481px – 767px)
   ============================ */
@media (min-width: 481px) and (max-width: 767px) {
  .contact-section {
    padding: 60px 25px;
  }

  .title {
    font-size: 1.7rem;
  }

  .subtitle {
    font-size: 1.1rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .btn-submit {
    width: 80%;
    font-size: 15px;
  }

  /* Navbar with hamburger */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .navbar-toggler {
    margin-left: auto;
    margin-right: 20px;
    border: none !important;
    background: none !important;
    z-index: 1001;
  }

  .navbar-collapse {
    position: fixed;
    top: 0;
    left: -100%;
    width: 65%;
    height: 100vh;
    background-color: #fff;
    transition: left 0.4s ease;
    z-index: 1000;
    padding-top: 80px;
  }

  .navbar-collapse.show {
    left: 0;
  }

  .navbar-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 20px;
  }

  .navbar-nav .nav-item {
    margin: 10px 0;
  }

  .navbar-nav .nav-link {
    font-size: 18px;
    color: #000;
    font-weight: 500;
  }

  .navbar .logo img {
    max-width: 130px;
  }

  .close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    color: #000;
    cursor: pointer;
    z-index: 1100;
  }

  /* Footer */
  .footer-top {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 40px 25px;
    text-align: center;
  }
}

/* ============================
   💻 IPAD & SMALL LAPTOPS (768px – 1023px)
   ============================ */
@media (min-width: 768px) and (max-width: 1023px) {
  .contact-section {
    padding: 80px 50px;
  }

  .title {
    font-size: 1.9rem;
  }

  .subtitle {
    font-size: 1.15rem;
  }

  /* ✅ Show full menu (no hamburger) */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .navbar-toggler {
    display: none !important;
  }

  .navbar-collapse {
    position: static;
    width: auto;
    height: auto;
    background: none;
    box-shadow: none;
    display: flex !important;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    padding-top: 0;
  }

  .navbar-nav {
    display: flex;
    flex-direction: row;
    gap: 25px;
  }

  .navbar-nav .nav-link {
    font-size: 16px;
    color: #000;
    font-weight: 500;
  }

  .navbar-nav .nav-link:hover {
    color: #0070f3;
  }

  .navbar .logo img {
    max-width: 150px;
  }

  .footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 15px;
    gap: 25px;
  }

  .footer-top .footer-col {
    width: 100%;
    max-width: 320px;
    margin-bottom: 20px;
  }

  .footer-top .footer-col.brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .footer-top .footer-col.brand img {
    display: block;
    margin: 0 auto 10px;
    max-width: 130px;
    height: auto;
  }

  .footer-top .footer-col h4 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .footer-top .footer-col ul li a {
    font-size: 14px;
  }

  .footer-top .footer-col .socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
  }

  .footer-top .footer-col .socials a {
    font-size: 20px;
    color: #000;
    transition: color 0.3s;
  }

  .footer-top .footer-col .socials a:hover {
    color: #0070f3;
  }

  .footer-bottom {
    text-align: center;
    padding: 15px 10px;
    font-size: 13px;
  }
}

/* ============================
   🖥️ DESKTOPS (≥1024px)
   ============================ */
@media (min-width: 1024px) {
  .contact-section {
    padding: 100px 60px;
  }

  .title {
    font-size: 2.2rem;
  }

  .subtitle {
    font-size: 1.2rem;
  }

  .form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }

  .btn-submit {
    width: 400px;
  }

  /* Full desktop navbar */
  .navbar-nav {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 25px;
  }

  .navbar-nav .nav-item {
    margin-left: 20px;
  }

  .navbar-nav .nav-link {
    color: #000;
    font-weight: 500;
  }

  /* ===== Footer Cleanup for iPad Pro & Desktop ===== */
  .footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 40px 60px 20px;
    text-align: left;
  }

  .footer-top .footer-col {
    flex: 1;
    max-width: 280px;
    margin-bottom: 0;
  }

  .footer-top .footer-col.brand {
    align-items: flex-start;
    text-align: left;
  }

  .footer-top .footer-col.brand img {
    margin: 0 0 10px 0;
    max-width: 120px;
  }

  .footer-top .footer-col h4 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .footer-top .footer-col ul {
    padding: 0;
    margin: 0;
  }

  .footer-top .footer-col ul li {
    margin-bottom: 6px;
  }

  .footer-top .footer-col ul li a {
    font-size: 14px;
  }

  .footer-top .footer-col .socials {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 8px;
  }

  .footer-bottom {
    padding: 10px 0 20px;
    text-align: center;
    font-size: 13px;
  }
}

/* Extra fallback for <1024px if needed */
@media (max-width: 1023px) {
  .footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .footer-top .footer-col {
    width: 100%;
    max-width: 300px;
    margin-bottom: 20px;
  }

  .footer-top .footer-col.brand img {
    display: block;
    margin: 0 auto 10px;
  }

  .footer-top .footer-col .socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
  }

  .footer-top .footer-col .socials a {
    font-size: 20px;
    color: #000;
    transition: color 0.3s;
  }

  .footer-top .footer-col .socials a:hover {
    color: #0070f3;
  }

  .footer-bottom {
    text-align: center;
    padding: 15px 10px;
    font-size: 13px;
  }
}
/* ===============================
   COMPANY INTRO SECTION (Desktop)
   =============================== */
.company-intro {
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}

.company-intro .intro-container {
  max-width: 950px;
  text-align: center;
}

.company-intro .intro-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
}

.company-intro .intro-text {
  font-size: 17px;
  line-height: 1.7;
  max-width: 850px;
  margin: 0 auto 30px;
  text-align: justify;
}

.company-intro .link-with-arrow {
  font-weight: 600;
  font-size: 16px;
  display: inline-block;
  margin-top: 10px;
}



/* ===============================
   📱 MOBILE VIEW (max 576px)
   =============================== */
@media (max-width: 576px) {

  .company-intro {
    padding: 50px 15px;
  }

  .company-intro .intro-container {
    text-align: center;
  }

  .company-intro .intro-title {
    font-size: 30px;
    line-height: 1.3;
  }

  .company-intro .intro-text {
    font-size: 15px;
    line-height: 1.6;
    text-align: justify;
    padding: 0 5px;
  }

  .company-intro .link-with-arrow {
    font-size: 14px;
    margin-top: 15px;
  }
}



/* ===============================
   📱 TABLET VIEW (min 577px – max 768px)
   =============================== */
@media (min-width: 577px) and (max-width: 768px) {

  .company-intro {
    padding: 60px 20px;
  }

  .company-intro .intro-title {
    font-size: 35px;
  }

  .company-intro .intro-text {
    font-size: 16px;
    max-width: 700px;
  }
}

/* Slide Menu (hidden by default on the left) */
.slide-menu {
  position: fixed;
  top: 0;
  left: -300px; /* hide offscreen to the left */
  width: 280px;
  height: 100%;
  background: #fff;
  box-shadow: 2px 0 8px rgba(0,0,0,0.2);
  transition: left 0.3s ease;
  padding: 20px;
  z-index: 1050; /* above navbar */
}

/* Show menu */
.slide-menu.open {
  left: 0; /* slide in from left */
}

/* Close button inside slide menu */
.slide-menu .close-btn {
  font-size: 28px;
  font-weight: bold;
  border: none;
  background: transparent;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 20px; /* you can move it to left: 20px if you prefer */
}

/* Slide menu links */
.slide-menu .nav-link {
  display: block;       /* each link on its own line */
  margin: 8px 0;        /* reduce vertical spacing */
  font-size: 18px;      /* keep size consistent */
  text-decoration: none;
  color: #000;
  font-weight: 500;
  transition: color 0.3s ease;
}

.slide-menu .nav-link:hover {
  color: #ff6600; /* optional hover color */
}

  /* ===== Banner Base Style ===== */


/* ===== Mobile (up to 480px) ===== */
@media (max-width: 480px) {
  .banner{
    height: 127px;
  }
}


/* ===== Tablet (481px - 768px) ===== */
@media (min-width: 481px) and (max-width: 768px) {
 .banner{
  height: 254px;
 }
}


/* ===== Tablet Landscape / Small Laptop (769px - 1024px) ===== */
@media (min-width: 769px) and (max-width: 1024px) {
  .banner{
    height: 335px;
  }
}



@media (max-width: 480px) {

  .footer-top {
    display: grid;
    grid-template-columns: 1fr;  
    gap: 15px;
    padding: 20px 15px;
    text-align: center;
  }

  /* Brand column takes full width */
  .footer-top .footer-col.brand {
    grid-column: 1 / -1;
    text-align: center;
  }

  .footer-top .footer-col.brand img {
    max-width: 100px;
    margin: 0 auto 8px;
  }

  .footer-top .footer-col.brand p {
    font-size: 13px;
    margin-top: 5px;
  }

  /* Other columns wrapped inside a 2-column group */
  .footer-columns-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
    width: 100%;
  }

  .footer-columns-wrap .footer-col {
    text-align: left;
  }

  .footer-top .footer-col h4 {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .footer-top .footer-col ul li a {
    font-size: 12px;
    line-height: 1.4;
  }

  .footer-top .footer-col .socials a {
    font-size: 16px;
    margin-right: 6px;
  }

  .footer-bottom {
    padding: 10px 0;
    font-size: 11px;
    text-align: center;
  }
}
