/* Application: Flutter Application Developer */
body {
  margin: 0;
background: #132338;
  color: white;
 
}

/* =========================
   Inter
========================= */

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter_28pt-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter_28pt-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter_28pt-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

/* =========================
   DM Sans
========================= */

@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/DMSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/DMSans-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/DMSans-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

/* ----------------------------------------------------------------------------------- */

/* ================= TOPBAR ================= */

.topbar {
  width: 100%;
  height: 60px;
  background: #091B32;
  border-bottom: 4px solid #1D3555;
  

}

.topbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.breadcrumb {
  display: flex;
  gap: 10px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
}

.breadcrumb a {
  color: #ffffffaa;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
}

.breadcrumb span {
  color: #ffffff;
}

.exit-btn {
  background: #1E77BC;
  padding: 8px 20px;
  border-radius: 4px;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s ease;
  font-family: 'Inter', sans-serif;
}


/* * Make PNG blue on hover */ 
.btn-primary:hover .btn-icon {
  filter: brightness(0) saturate(100%)
          invert(35%) sepia(95%)
          saturate(2000%)
          hue-rotate(180deg);
}
/* -------------------------------------------------------------------------------------------------------------- */
/* SECTION */
.apply-section {
  position: relative;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  padding: 40px 5%;
}

.apply-header h2 {
  color: #F3A804;
  font-size: 40px;
  text-align: center;
margin-bottom: 20px;
font-family: 'DM Sans', sans-serif;
}

.apply-header p {
  text-align: center;
  margin-bottom: 50px;
  font-family: 'DM Sans', sans-serif;
}

/* FORM CARD */
.form-card {
  background: white;
  padding: 60px;
  border-radius: 16px;
  border-top: 6px solid #F3A804;
  color: black;
}

/* FORM */
/* FORM GROUP */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;   /* Equal spacing for ALL */
}
/* REMOVE extra label margin */
.form-group label {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: #091B32;
  font-family: 'DM Sans', sans-serif;
}
/* * Red required star */ 
.required{
  color:#E10600;
  font-weight:600;  
}
/* =============================== */
/* INPUT + SELECT + TEXTAREA */
/* =============================== */


.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  height: 48px;                 /* same height everywhere */
  padding: 0 16px;
  border-radius: 6px;
  border: 1px solid #CFCFCF;
  font-size: 14px;
  background: #ffffff;
  box-sizing: border-box;
  font-family: 'DM Sans', sans-serif;
}


/* Focus State */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #091B32;
  box-shadow: 0 0 0 3px rgba(0, 36, 54, 0.2);
}

/* Textarea */
.form-group textarea {
  resize: none;
  height: 110px;
}


/* =============================== */
/* CUSTOM DROPDOWN ARROW */
/* =============================== */

.form-group select,
.phone-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23091B32' height='40' viewBox='0 0 24 24' width='0' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 45px;
  cursor: pointer;
}

/* =============================== */
/* PHONE FIELD LAYOUT */
/* =============================== */

.phone-wrapper {
  display: flex;
  gap: 12px;
}

.phone-wrapper select {
  width: 110px;
  /* padding: 14px 45px 14px 16px; */
}

.phone-wrapper input {
  flex: 1;
  height: 44px;
  min-height: 44px;
  line-height: normal;
}

/* UPLOAD */
.upload-area {
  position: relative;
  border: 1px solid #CFCFCF;
  background: #efefefc3;
  padding: 25px;
  border-radius: 8px;
  cursor: pointer;
}

.upload-area input {
  display: none;
}


.upload-area.success {
  border: 2px solid #38b653;
  background: #f3fff6;
}

.upload-area.success .upload-icon {
  filter: hue-rotate(90deg);
}
.upload-content {
  text-align: center;
  color: #1E77BC;
}
.file-name {
  margin-top: 8px;
  font-size: 14px;
  color: #091B32;
}

.upload-icon {
  width: 48px;
  height: 48px;
  display: block;
  margin: 0 auto 10px;
}
.upload-success {
  margin-top: 6px;
  font-size: 14px;
  color: #38b653;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
}

.upload-area.success {
  border: 2px solid #38b653;
  background: #f3fff6;
}
* When upload success */
.upload-area.success {
  border: 2px solid #38b653;
  background: #f3fff6;
}

/* Change icon color */
.upload-area.success .upload-icon {
  filter: brightness(0) saturate(100%)
          invert(49%) sepia(92%)
          saturate(400%)
          hue-rotate(90deg);
}

/* Change inside text color */
.upload-area.success .upload-content span {
  color: #38b653;
}

/* File name color */
.upload-area.success .file-name {
  color: #091B32;
}
/* BUTTON */
.demo-btn {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  background: #A5CBE1;
  color: #ffffff;
  cursor: not-allowed;
  transition: all 0.3s ease;
  font-family: 'DM Sans', sans-serif;
}

/* Active state when form valid */
.demo-btn.active {
  background: #1E77BC;
  cursor: pointer;
}

.demo-btn.active:hover {
  background: #1E77BC;
}
/* ---------------------------------------------------------------------------------------------------------------------- */
/* Contact Us */
/* ============================= */
/* SECTION BACKGROUND            */
/* ============================= */

.cta-section {
  position: relative;
  width: 100vw;              /* Full viewport width */
  left: 50%;
  right: 50%;
  margin-left: -50vw;        /* Break out of parent */
  margin-right: -50vw;

  padding: 100px 20px;
  background: #091B32;

  display: flex;
  justify-content: center;
  box-sizing: border-box;
}

/* ============================= */
/* INNER GRADIENT CARD           */
/* ============================= */

.cta-container {
  width: 90%;
  max-width: 1600px;
  padding: 40px 40px;
  border-radius: 16px;
  text-align: center;
  background: linear-gradient(180deg, #1E77BC 0%,#1E77BC , #091B32 100%);
}

/* ============================= */
/* TEXT                          */
/* ============================= */

.cta-title {
  font-size: 40px;
  color: #F3A804;
  margin-bottom: 10px;
  font-family: 'DM Sans', sans-serif;
}

.cta-subtitle {
  font-size: 20px;
  color: #ffffff;
  max-width: 1400px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
  font-family: 'DM Sans', sans-serif;
}

/* ============================= */
/* BUTTONS WRAPPER               */
/* ============================= */

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

/* ============================= */
/* COMMON BUTTON STYLE           */
/* ============================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}

/* ============================= */
/* PRIMARY BUTTON (Blue)         */
/* ============================= */

.btn-primary {
  background-color: #1E77BC;
  color: #ffffff;
  
}

/* Hover + Click */
.btn-primary:hover,
.btn-primary:active {
  background-color: #ffffff;
  color: #1E77BC;
}

/* ============================= */
/* OUTLINE BUTTON (White)        */
/* ============================= */

.btn-outline {
  
  color: #ffffff;
  border: 2px solid #1E77BC;
}

/* Hover + Click */
.btn-outline:hover,
.btn-outline:active {
  background-color: #ffffff;
  color: #1E77BC;

}

/* ============================= */
/* ICON                          */
/* ============================= */

.btn-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
/* --------------------------------------------------------------------------------------------------------------------------- */
/* <!-- Footer --> */

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* FULL WIDTH FOOTER BACKGROUND */
.footer {
  width: 100vw;                         /* Force full viewport width */
  margin-left: calc(50% - 50vw);         /* Break out of parent */
  background: linear-gradient(180deg, #152131 0%, #091B32 100%);
  color: #ffffff;
  position: relative;
}

/* INNER CONTENT ALIGNMENT */
.footer-wrapper {
  max-width: 1440px;   /* Design width */
  margin: 0 auto;
  padding: 40px 40px;
  box-sizing: border-box;
}




/* Wrapper Alignment */
.footer-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  padding: 60px 40px;
}


/* Top Row */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  width: 150px; /* PNG Logo */
}

.footer-copy {
  font-size: 14px;
  opacity: 0.8;
  color:#F7F8F9;
  font-family: 'Inter', sans-serif;
}

/* Divider */
.footer-divider {
  height: 1px;
  background: #323E4F;
  margin: 30px 0 50px 0;
}

/* Grid Layout */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 80px;
}

.footer-about {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.9;
  color: #F7F8F9;
  font-family: 'Inter', sans-serif;
}

.footer-column h4 {
  margin-bottom: 20px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
}

/* Links */
.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: #F7F8F9;
  text-decoration: none;
  position: relative;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
}

/* Underline animation */
.footer-column ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 1px;
  background: #F7F8F9;
  transition: width 0.3s ease;
}

.footer-column ul li a:hover::after {
  width: 100%;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 20px;
}

.social-icons img {
  width: 36px;
  height: 36px;
  transition: transform 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.1);
}

/* ============================= */
/* SCROLL TO TOP CIRCLE         */
/* ============================= */

.scroll-top {
  position: absolute;
  right: 60px;
  bottom: 60px;
  width: 60px;
  height: 60px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  
}

/* Rotating SVG */
.rotating-text {
  width: 100%;
  height: 100%;
 
  animation: rotateText 15s linear infinite;
}

/* Rotation animation */
@keyframes rotateText {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Static Arrow Centered */
.scroll-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  color: #ffffff;
  pointer-events: none; /* ensures click works on parent */
}
/* ------------------------------------------------------------------------------------------------ */
/* =======================================================
   GLOBAL RESPONSIVE FIX
======================================================= */

/* Make everything scale properly */
* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}


/* =======================================================
   LARGE TABLET (1024px and below)
======================================================= */
@media (max-width: 1024px) {

  .apply-section {
    padding: 40px 40px 60px;
  }

  .apply-header h2 {
    font-size: 32px;
  }

  .apply-header p {
    font-size: 15px;
    line-height: 1.6;
  }

  .form-card {
    padding: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }

  .cta-title {
    font-size: 32px;
  }

  .cta-subtitle {
    font-size: 18px;
  }

  .scroll-top {
    right: 30px;
    bottom: 30px;
  }
}


/* =======================================================
   TABLET (768px and below)
======================================================= */
@media (max-width: 768px) {

  body {
    font-size: 14px;
  }

  .apply-section {
    padding: 30px 20px 50px;
  }

  .apply-header h2 {
    font-size: 26px;
  }

  .apply-header p {
    font-size: 14px;
  }

  .form-card {
    padding: 30px 20px;
  }

  /* Phone layout stack */
  .phone-wrapper {
    flex-direction: column;
    gap: 10px;
  }

  .phone-wrapper select {
    width: 100%;
  }

  .phone-wrapper input {
    width: 100%;
  }

  /* Upload area */
  .upload-area {
    padding: 20px;
  }

  .upload-icon {
    width: 40px;
    height: 40px;
  }

  /* CTA section */
  .cta-container {
    padding: 30px 20px;
  }

  .cta-title {
    font-size: 24px;
  }

  .cta-subtitle {
    font-size: 14px;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  /* Footer */
  .footer-top {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-wrapper {
    padding: 40px 20px;
  }

  .scroll-top {
    width: 50px;
    height: 50px;
    right: 20px;
    bottom: 20px;
  }
}


/* =======================================================
   SMALL MOBILE (480px and below)
======================================================= */
@media (max-width: 480px) {

  .apply-header h2 {
    font-size: 22px;
  }

  .apply-header p {
    font-size: 13px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    height: 44px;
    font-size: 13px;
  }

  .upload-content span {
    font-size: 13px;
  }

  .file-name {
    font-size: 12px;
  }

  .demo-btn {
    padding: 14px;
    font-size: 14px;
  }

  .btn {
    font-size: 14px;
    padding: 12px 18px;
  }

  .footer-copy {
    font-size: 12px;
  }

  .social-icons img {
    width: 28px;
    height: 28px;
  }
}
/* ======================================================
   MOBILE FULL WIDTH FIX
====================================================== */

@media (max-width: 768px) {

  .apply-section {
    padding: 20px 16px 40px;  /* small safe padding */
  }

  .form-card {
    padding: 25px 16px;
  }

}
@media (max-width: 768px) {

  .form-card {
    padding: 24px;
  }

}