/* --- Global Reset & Base --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #ffffff;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 5.5%; /* Matches Figma's 5.49% side alignment */
}

/* --- Header / Nav Bar --- */
.site-header {
    width: 100%;
    height: 108px;           /* Figma Height */
    background: #F5F5F5;     /* Figma Background */
    box-shadow: 1px 1px 5.2px rgba(0, 0, 0, 0.25); /* Figma Shadow */
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-img {
    height: 64px; /* Scaled to fit 108px header comfortably */
    width: auto;
    display: block;
}

/* --- Navigation Links --- */
.nav-links {
    display: flex;
    gap: 25px; /* Figma Gap */
}

.nav-link {
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;      /* Figma Font Size */
    line-height: 21px;    /* Figma Line Height */
    color: #0D3B66;       /* Figma Text Color */
    position: relative;   /* For the custom underline */
    padding: 0;
    transition: color 0.2s ease;
}

/* Active State: The Underline */
.nav-link.is-active {
    font-weight: 500; /* Makes active link slightly more prominent */
}

.nav-link.is-active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #0D3B66;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .site-header {
        height: auto;
        padding: 15px 0;
    }
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* --- Contact Hero Section --- */
.contact-hero {
    margin-top: 4px;
    background-color: #0D3B66; /* TradePro Navy Blue */
    min-height: 80vh; /* Keeps video full screen */
    padding: 80px 0;           /* Vertical spacing */
    color: #ffffff;
    text-align: center;
    display: flex;
    justify-content: center; /* horizontal */
    align-items: center;     /* vertical */

    /* Background Image Settings */
    background-image: url('../images/contact-bg.png'); /* Replace with your image path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* The Dark Tint Overlay */
.hero-overlay {
    top: 108px; /* To account for the fixed header height */
    position: absolute;
    inset: 0;
    background: rgba(13, 59, 102, 0.75); /* TradePro Navy with 75% opacity */
    z-index: 1;
}

.contact-hero-content {
  display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
}

.contact-hero h1 {
    font-family: "League Spartan", sans-serif;
    font-size: 55px; /* Responsive size */
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.contact-hero p {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    line-height: 1.6;
    opacity: 0.9;
    font-weight: 300;
}

/* Responsive adjustment for smaller screens */
@media (max-width: 768px) {
    .contact-hero {
        padding: 60px 0;
    }
}

/* --- Contact Page Styles --- */
/* --- Contact Page Redesign --- */
.contact-section {
  padding: 6rem 0;
  background-color: #f8f9fa;
}

/* Intro Section */
.contact-intro {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  margin-bottom: -5px;
}

.intro-image img {
  max-width: 450px;
  height: auto;
}

.brand-blue {
  color: #0d3b66; /* Main brand blue */
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.intro-text p {
  line-height: 1.8;
  color: #444;
  font-size: 1.1rem;
}

/* Form Card Container */
.contact-form-card {
  background: #F5F5F5;
  border-radius: 25px;
  padding: 4rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.06);
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(13, 59, 102, 0.15);
}

.card-title {
  text-align: center;
  margin-bottom: 3.5rem;
}

.card-title p {
  color: #666;
  font-weight: 500;
}

/* Grid for Inputs */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.form-field label {
  font-weight: 600;
  color: #333;
}

.form-field input,
.form-field textarea {
  padding: 1.2rem;
  background-color: #0D3B661A; /* Light grey inputs */
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  box-shadow: 0 2px 6px #0D3B661A;
}

.full-width {
  grid-column: span 2;
}

/* Selection Boxes (Methods & Privacy) */
.selection-row {
  margin: 2rem 0;
   display: flex;
    justify-content: space-between;
    align-items: center;
}

.options-group {
  display: flex;
  gap: 2rem;
  /* margin-top: 1rem; */
}

.custom-option {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
}

.custom-option input {
  display: none; /* Hide native input */
}

.custom-box {
  width: 22px;
  height: 22px;
  border: 1px solid #ccc;
  border-radius: 4px;
  /* background: #fff; */
  display: inline-block;
  position: relative;
}
.custom-box2 {
  width: 22px;
  height: 22px;
  border: 1px solid #ccc;
  border-radius: 4px;
  /* background: #fff; */
  display: inline-block;
  position: relative;
}
/* Container */
.privacy-row {
  margin-top: 1.5rem;
}

/* Label layout */
.agree-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 15px;
  line-height: 1.5;
  color: #333;
  user-select: none;
}

/* Custom checkbox */
.ack-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border: 1.5px solid #333;
  border-radius: 5px;
  background-color: transparent;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  margin-top: 2px; /* aligns with first line of text */
}

/* Checkmark */
.ack-checkbox:checked::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 12px;
  border: solid #333;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  top: 3px;
  left: 7px;
}

/* Hover feedback */
.ack-checkbox:hover {
  background-color: #f2f2f2;
}

/* Text */
.agree-text {
  flex: 1;
}

/* =====================
   Responsive Text Only
===================== */

@media (max-width: 768px) {
  .agree-option {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .agree-option {
    font-size: 13px;
    line-height: 1.6;
  }
}



/* Blue indicator for selection */
.blue-box,
.custom-option input:checked + .custom-box {
  background-color: #0d3b66;
  border-color: #0d3b66;
}
.custom-option:last-child input:checked + .custom-box::after {
  border-color: #fff;
}
/* Submit Button */
.submit-btn {
  width: 100%;
  padding: clamp(0.9rem, 2.5vw, 1.2rem);
  background-color: #0d3b66;
  color: #ffffff;
  border: none;
  border-radius: 12px;

  /* Typography */
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: clamp(1rem, 3.5vw, 1.3rem);
  line-height: 1.4;
  text-align: center;

  cursor: pointer;
  margin-top: 2rem;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

/* Hover effect */
.submit-btn:hover {
  transform: translateY(-2px);
  background-color: #092a4a;
}

/* Mobile optimization */
@media (max-width: 480px) {
  .submit-btn {
    border-radius: 10px;
  }
}

/* Mobile Adjustments */
@media (max-width: 992px) {
  .contact-intro { flex-direction: column-reverse; text-align: center; }
  .form-grid { grid-template-columns: 1fr; }
  .full-width { grid-column: span 1; }
  .options-group { flex-wrap: wrap; }
}
/*=============================
  * Contact Form Section
  =============================*/

/*=============================
  Contact Social Section
=============================*/

.contact-social {
  padding: 5rem 0;
  background-color: #ffffff;
  overflow-x: hidden;
}

/* Wrapper */
.social-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Illustration */
.social-illustration {
  flex: 1.2;
  z-index: 2;
}

.social-illustration img {
  width: 100%;
  max-width: 760px;
  height: auto;
  border-radius: 200px;
  display: block;
}

/* Pill Card */
.social-handles-card {
  flex: 1;
  background-color: #e9ecef;
  border-radius: 300px 24px 24px 300px;
  padding: 3rem 3rem 3rem 8rem;
  margin-left: -15%;
  max-width: 820px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  z-index: 1;
}

/* Social Grid */
.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 2rem;
}

/* Social Item */
.social-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

/* Icon */
.social-png {
  width: 36px;
  height: auto;
  object-fit: contain;
}

/* Text */
.social-item span {
  font-size: 1.2rem;
  color: #0d3b66;
  font-weight: 500;
  white-space: nowrap;
}

/* =============================
   RESPONSIVE
============================= */

/* Tablet */
@media (max-width: 1024px) {
  .social-wrapper {
    gap: 3rem;
  }

  .social-handles-card {
    margin-left: 0;
    padding: 3rem;
    border-radius: 60px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .social-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .social-illustration img {
    border-radius: 40px;
  }

  .social-handles-card {
    width: 100%;
    max-width: 420px;
    padding: 2.5rem;
    border-radius: 30px;
    margin: 0 auto;
  }

  .social-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .social-item {
    justify-content: center;
  }

  .social-item span {
    font-size: 1.1rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .social-png {
    width: 32px;
  }

  .social-item span {
    font-size: 1rem;
  }
}

/*=============================
  End Contact Social Section
=============================*/


  /*=============================
  *  Footer Section
  =============================*/
  /* --- Footer Styles --- */
.main-footer {
    background-color: #F5F5F5;
    padding-top: 5rem;
    border-top: 1px solid #eee; /* Subtle separator */
    box-shadow: 1px 1px 5.2px rgba(0, 0, 0, 0.25);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 2fr; /* Matches your design layout */
  gap: 6rem;
  padding-bottom: 2rem;

  /* Centering Logic */
  max-width: 1200px;      /* Adjust this to match your site's content width */
  margin: 0 auto;         /* Perfectly centers the grid horizontally */
  padding-left: 0px;     /* Adds a safety gutter for mobile */
  padding-right: 0px;

  /* Optional: Vertically aligns columns if they have different heights */
  align-items: start;
}
.footer-logo {
  height: 106px;
  width: 145px;
  /* margin-bottom: .5rem; */
}

.footer-desc {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links img {
  width: 32px;
  transition: opacity 0.3s;
}

.social-links img:hover {
  opacity: 0.7;
}

/* Links Column */
.footer-links{
margin-top: 3rem !important;
}
.footer-links h3,
.footer-app h3 {
  font-family: "Inter", sans-serif ;
  color: #0d3b66;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

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

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #0d3b66;
}

/* App Column */
.footer-app {
  position: relative;
}

.app-text-phone {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.2rem;
  margin-top: 3rem !important;
}

.footer-phone-mockup {
  width: 140px;
  margin-top: 10px; /* Pulls the phone up slightly like the design */
  /* margin-left: -600px !important;   */
}

.app-badges {
  display: flex;
  gap: 15px;
  margin-top: 0rem;
  /* margin-right: -10% !important; */
  align-items: center;
  justify-content: center;
}

.app-badges img {
  height: 77px;
}

/* Copyright Bar */
.footer-bottom {
  background-color: #0d3b66; /* Your brand blue */
  color: #ffffff;
  text-align: center;
  padding: 1.5rem 0;
}

.footer-bottom p {
  font-family: "inter", sans-serif;
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 10px;
  }

  .social-links, .app-badges {
    justify-content: center;
  }

  .footer-phone-mockup {
    /* display: none; Hide phone on mobile to save space */
  }
  .footer-desc{
        margin: 0 15px;
  }
}
/* This targets tablets and mobile phones */
@media (max-width: 992px) {
  .app-badges {
    /* Reset the margins used for desktop alignment */
    margin-right: 0 !important;
    margin-left: 0 !important;
    margin-top: 2rem; /* Adds space between the text/phone and the buttons */

    /* Ensure it spans the width of the column to allow centering */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
  }

  /* Optional: Stack buttons vertically on very small screens (phones) */
  @media (max-width: 480px) {
    .app-badges {
      flex-direction: column;
      gap: 10px;
      margin-top: 0 !important;
    }
  }
}
@media (max-width: 992px) {
  .app-text-phone {
  display: flex;
    /* Change from horizontal to vertical */
    flex-direction: column;

    /* Center the flex items (text and phone) */
    align-items: center;

    /* Center the text itself */
    text-align: center;

    /* Give them some breathing room when stacked */
    gap: 2rem;

    /* Ensure the container takes full width to allow centering */
    width: 100%;
  }

  /* Reset the phone mockup margins for mobile */
  .footer-phone-mockup {
    margin-top: 0;
    margin-right: 0;
    width: 120px; /* Optional: scale the phone down slightly for mobile */
  }
}
/*=============================
  * End of Footer Section
