@import url("contract-form.css");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scrollbar-gutter: stable;
}

a,
a:visited,
a:hover,
a:active {
  text-decoration: none;
}

@font-face {
  font-family: 'Roboto Condensed';
  src: url('../fonts/RobotoCondensed-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto Condensed';
  src: url('../fonts/RobotoCondensed-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


body {
  font-family: 'Roboto Condensed', Arial, sans-serif;
  background: #fff;
  color: #000;
  -webkit-font-smoothing: antialiased;   /* macOS/iOS: thinner + smoother */
  -moz-osx-font-smoothing: grayscale;    /* macOS Firefox */
}
.container {
  max-width: 1065px;
  margin: 0 auto;
  padding: 1rem;
}
.navbar {
  background: #fff;
  border-bottom: 1px solid #ccc;
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo,
.logo:link,
.logo:visited,
.logo:hover,
.logo:active {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: bold;
  font-size: 24px;

  text-decoration: none;
  color: inherit;
}


.nav-links, .nav-txt {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-txt a {
  text-decoration: none;
  color: inherit; /* fallback; overridden below */
  position: relative;
  transition: color 0.2s ease-in-out;
}

.nav-txt a:visited,
.nav-txt a.active {
  color: #00497A;
}

.nav-txt a:hover {
  color: #000;
}

.flag {
  width: 20px;
  height: auto;
}
.btn {
  padding: 6px 12px;
  border: none;
  background-color: #00497A;
  color: white;
  cursor: pointer;
  font-size: 14px;
  border-radius: 4px;
  min-width:85px;
  min-height: 30px;
}

.btn:hover {
    background-color: #3399ff;
}

.btn:active {
    transform: translateY(1px);
}

.signup {
  background-color: #0080ff;
}

/* MODAL */
.modal-centre { 
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  z-index: 9999;
}

.modal-overlay.is-open {
  display: flex;
}

.modal {
  width: 100%;
  max-width: 420px;
  background: #F0F3FF;
  border-radius: 2px;
  padding: 1.5rem;
  position: relative;
}

.modal-title {
  margin: 0 0 1rem 0;
  color: #00497A;
  text-align: centre;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: #00497A;
}

.modal-form {
  display: flex;
  flex-direction: column;
}

.modal-form label {
  font-weight: 300;
  margin-bottom: 4px;
  color: #00497A;
}

.modal-form input {
  padding: 10px;
  margin-bottom: 14px;
  border-radius: 6px;
  border: 1px solid #ccd6ff;
  font-size: 14px;
  font-family: inherit;
}

.modal-form input:focus {
  outline: none;
  border-color: #00497A;
}

.modal-submit {
  width: 100%;
  margin-top: 4px;
}


.hero {
  display: flex;
  flex-wrap: nowrap;           /* Do NOT allow wrapping */
  gap: 1rem;
  margin-top: 2rem;
}
.hero-left {
  flex: 0 0 33.3333%;
  max-width: 33.3333%;
  min-width: 0;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical centring */
  align-items: center;     /* horizontal centring */
  text-align: center;
  background-color: #F0F3FF;
  padding:25px;
}
.hero-left h1 {
  font-size: 30px;
  margin-bottom: 1rem;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero {
    margin-top: 0.5rem;
  }

}

.start {
  background-color: #00497A;
  height:30px;
  width: 100px;
  font-size: 17px !important;
  padding: 3px;
  border: none;
  color: white;
  cursor: pointer;
  border-radius: 4px;
  margin-top: 1rem;
}

.hero-right {
  display: flex;
  flex: 0 0 66.6666%;
  max-width: 66.6666%;
  min-width: 250px;
  background-color: #00497A;
  color: white;
  padding: 1rem;
  min-height: 300px;
}
.hero-steps {
  list-style-type: none;
  margin: 0;
  padding: 0;
  counter-reset: hero-step;
}

.hero-steps li {
  counter-increment: hero-step;
  position: relative;
  padding-left: 32px;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.5;
}

.hero-steps li::before {
  content: counter(hero-step);
  position: absolute;
  left: 0;
}

.hero-steps li::before {
  content: counter(hero-step);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);  /* vertically centre */
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.hero-right ol {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    padding-inline-start: 40px;
    unicode-bidi: isolate;
}

.hero-box {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.templates {
  margin-top: 3rem;
}
.templates h2 {
  text-align: center;
  margin-bottom: 1rem;
}
.template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}
.template-card {
  overflow: hidden;
  background: white;
  text-align: center;
  padding-bottom: 12px;
}

.template-title {
  background-color: #F0F3FF;
  padding: 10px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 14px;
}

.template-card img {
  width: 100%;
  height: auto;
}

.template-card btn {
  font-weight: bold;
}

.image-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 15px;
}

.image-wrapper img {
  width: 100%;
  display: block;
  cursor: pointer;
}

.image-overlay {
  font-size: 15px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(240, 243, 255, 0.8); /* #F0F3FF with 80% opacity */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Align horizontally to the left */
  align-items: flex-start;     /* Align vertically to the top */
  text-align: left;

}

.pricing {
  display: flex;
  flex-wrap: wrap;
  margin-top: 3rem;
  background-color: #f0f4ff;
  min-height: 260px; 
}
.pricing-left,
.pricing-right {
  flex: 1;
  min-width: 250px;
  padding: 1.5rem;
  display: flex;        
  flex-direction: column;       /* requirement 2 */
  justify-content: center;    /* horizontal centre */
  align-items: center;        /* vertical centre */
  text-align: center;
}
.pricing-left{
  font-size: 24px;
 
}
.pricing-right {
  background-color: #00497A;
  color: white;
}
.pricing-right li{
  margin-top:20px;
}
.pricing-right ul {
  list-style: none;
  padding-left: 0;
}

.how-it-works {
  margin-top: 3rem;
}

.how-it-works h2 {
  text-align: center;
  font-size: 26px;
  margin-bottom: 1.2rem;
  color: #000000;
}

/* this is now the blue panel (not the section) */
.how-box {
  background: #F0F3FF;
  border-radius: 2px;
  padding: 2rem 1.5rem;
}

.how-box ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 820px;
}

.how-box li {
  background: #fff;
  border: 1px solid #e3e8ff;
  border-radius: 6px;
  padding: 0.9rem 1rem 0.9rem 3rem;
  margin-bottom: 0.75rem;
  position: relative;
  line-height: 1.45;
}

.how-box li::before {
  content: "✓";
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #00497A;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

/* CONTACT US */
.contact-us {
  margin-top: 3rem;
}

.contact-us h2 {
  text-align: center;
  font-size: 26px;
  margin-bottom: 1.2rem;
  color: #000000;
}

.contact-box {
  display: flex;
  gap: 2rem;
  background: #F0F3FF;
  border-radius: 2px;
  padding: 2rem;
}

/* LEFT - form */
.contact-left form {
  display: flex;
  flex-direction: column;
}

.contact-left label {
  font-weight: 600;
  margin-bottom: 4px;
  color: #00497A;
}

.contact-left input,
.contact-left textarea {
  padding: 10px;
  margin-bottom: 14px;
  border-radius: 6px;
  border: 1px solid #ccd6ff;
  font-size: 14px;
  font-family: inherit;
}

.contact-left input:focus,
.contact-left textarea:focus {
  outline: none;
  border-color: #000000;
}

/* RIGHT - centred message */
.contact-right {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 20px;
  line-height: 1.5;
  padding: 3rem;
  background-color: #e8ecf8;
}

.contact-left,
.contact-right {
  flex: 1;
  min-height: 150px;

}


/* Mobile stack */
@media (max-width: 768px) {
  .contact-box {
    flex-direction: column;
  }
}


/* FOOTER */
.site-footer {
  margin-top: 3rem;
  background: #00497A;           /* matches your dark blue theme */
  color: #fff;
  border-radius: 8px 8px 0 0;     /* soft like your other panels */

}

.footer-inner {
  max-width: 1100px;             /* match your site container width if you have one */
  margin: 0 auto;
  padding: 2.25rem 1.25rem;
  display: flex;
  gap: 2rem;
}

.footer-column {
  flex: 1;
  min-width: 220px;
}

.footer-logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.2px;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  margin: 0 0 1rem 0;
  opacity: 0.9;
}

.footer-heading {
  margin: 0 0 0.75rem 0;
  font-size: 16px;
  font-weight: 700;
  opacity: 0.95;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin: 0.4rem 0;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
  font-weight: 100;
  font-size: 14px;
}

.footer-links a:hover {
  text-decoration: underline;
  opacity: 1;
}

.footer-small {
  margin: 0 0 0.9rem 0;
  opacity: 0.9;
  line-height: 1.4;
}

.footer-form {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.footer-form input {
  flex: 1;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
}

.footer-form input::placeholder {
  color: rgba(255,255,255,0.75);
}

.footer-form input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.16);
}

/* bottom strip */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.18);
  padding: 1rem 1.25rem;
  text-align: center;
  opacity: 0.9;
  font-size: 14px;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 4px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Mobile layout */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
  }

  .footer-form {
    flex-direction: column;
    align-items: stretch;
  }
}


/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero, .pricing, .footer {
    flex-direction: column;
  }

}

@media (max-width: 768px) {
  .nav-txt{
    display:none;
  }

  .hero {
    flex-direction: column;
  }

  .hero-left,
  .hero-right {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ── Hamburger button ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  min-width: unset;
  min-height: unset;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #00497A;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Animate to X when open */
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile menu drawer ── */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid #e2e2e2;
  padding: 0.75rem 1rem 1rem;
  gap: 0;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  font-size: 16px;
  color: #000;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover {
  color: #00497A;
}

.mobile-menu-divider {
  height: 1px;
  background: #ccc;
  margin: 0.5rem 0;
}

.mobile-menu.is-open {
  display: flex;
}

/* ── Show hamburger, hide desktop auth buttons on mobile ── */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  /* Hide the desktop auth buttons and flag on mobile —
     they're duplicated inside the mobile menu drawer */
  .nav-links .btn,
  .nav-links .flag {
    display: none;
  }
}

