* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  :root {
    --color-primary: #001626;
    --color-green: #05a173;
    --color-white: #ffffff;
    --color-gray: #646d73;
    --color-light-gray: #b2bdc6;
    --color-bg-light: #f0f0f0;
    --font-kanit: 'Kanit';
    --font-inter: 'Inter';
    --font-assistant: 'Assistant';
  }
  
  body {
    font-family: var(--font-inter);
    color: var(--color-primary);
    background: var(--color-white);
    overflow-x: hidden;
  }
  
  /* Animations */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .fade-in {
    animation: fadeIn 1s ease forwards;
    opacity: 0;
  }
  
  .delay-200 { animation-delay: 0.2s; }
  .delay-400 { animation-delay: 0.4s; }
  .delay-600 { animation-delay: 0.6s; }
  .delay-800 { animation-delay: 0.8s; }
  
  /* Header */
  .header {
    background: var(--color-white);
    padding: 20px 100px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }
  
  .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1440px;
    margin: 0 auto;
  }
  
  .logo {
    width: 143px;
    height: 27px;
  }
  
  .mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
  }

  .mobile-contact {
    display: none;
  }

  .desktop-contact {
    display: block;
  }
  
  .mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-primary);
    transition: all 0.3s ease;
  }

  .close-menu {
    display: none;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
  }

  .nav-links a {
    font-family: var(--font-inter);
    font-weight: 500;
    font-size: 16px;
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .nav-links a:hover {
    color: var(--color-green);
  }
  
  .btn {
    font-family: var(--font-inter);
    font-weight: 500;
    font-size: 16px;
    padding: 10px 26px;
    border-radius: 7px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
  }
  
  .btn-primary:hover {
    background: var(--color-green);
  }
  
  .btn-green {
    background: var(--color-green);
    color: var(--color-white);
    font-weight: 700;
  }
  
  .btn-green:hover {
    background: #048f66;
  }
  
  /* Hero Section */
  .hero-section {
    background: url('img/hero/hero-bg.png') no-repeat center center;
    background-size: cover;
    /*padding: 291px 100px 100px;*/
    min-height: 600px;
  }

  .hero-content {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }

  .hero-text {
    flex: 1;
    max-width: 433px;
  }

  .hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
  }

  .hero-image img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
  }
  
  .hero-title {
    font-family: var(--font-kanit);
    font-size: 64px;
    line-height: 64px;
    color: var(--color-white);
    margin-bottom: 20px;
    font-weight: 400;
    font-style: "Regular";
  }
  
  .hero-description {
    font-family: var(--font-inter);
    font-size: 14px;
    line-height: 17px;
    color: var(--color-light-gray);
    max-width: 433px;
  }
  
  /* About Section */
  .about-section {
    background: var(--color-bg-light);
    padding: 60px 100px;
  }
  
  .about-container {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1440px;
    margin: 0 auto;
  }
  
  .about-content {
    flex: 1;
    max-width: 606px;
  }
  
  .section-title {
    font-family: var(--font-kanit);
    font-size: 64px;
    line-height: 64px;
    color: var(--color-primary);
    margin-bottom: 20px;
    font-weight: 400;
  }
  
  .about-text {
    font-family: var(--font-inter);
    font-size: 14px;
    line-height: 17px;
    color: var(--color-gray);
    max-width: 433px;
  }
  
  .about-image {
    flex: 1;
    display: flex;
    justify-content: center;
  }
  
  .about-image img {
    width: 100%;
    max-width: 753px;
    height: auto;
    object-fit: cover;
  }
  
  /* Maatra HR Section */
  .maatra-hr-section {
    background: var(--color-primary);
    padding: 60px 100px;
  }
  
  .section-title-center {
    font-family: var(--font-kanit);
    font-size: 64px;
    line-height: 64px;
    text-align: center;
    margin-bottom: 82px;
  }
  
  .text-white { color: var(--color-white); }
  .text-green { color: var(--color-green); }
  .text-dark { color: var(--color-primary); }
  
  .feature-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1240px;
    margin: 0 auto 82px;
  }
  
  .feature-reverse {
    flex-direction: row-reverse;
  }
  
  .feature-content {
    flex: 1;
    max-width: 400px;
  }
  
  .feature-tag {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
  }
  
  .feature-tag img {
    width: 17px;
    height: 12px;
  }
  
  .feature-tag span {
    font-family: var(--font-inter);
    font-weight: 600;
    font-size: 16px;
    color: var(--color-bg-light);
    opacity: 0.5;
  }
  
  .feature-tag-dark span {
    color: var(--color-primary);
  }
  
  .feature-title {
    font-family: var(--font-kanit);
    font-size: 35px;
    line-height: 40px;
    color: var(--color-white);
    margin-bottom: 16px;
  }
  
  .feature-title-dark {
    color: var(--color-primary);
  }
  
  .feature-description {
    font-family: var(--font-inter);
    font-size: 14px;
    line-height: 17px;
    color: var(--color-light-gray);
    max-width: 435px;
  }
  
  .feature-description-dark {
    color: var(--color-gray);
  }
  
  .feature-images {
    position: relative;
    flex: 1;
  }
  
  .feature-images-1 {
    width: 611px;
    height: 299px;
  }
  
  .feature-img-2 {
    position: absolute;
    top: 88px;
    left: 301px;
    width: 314px;
    height: 219px;
  }
  
  .feature-img-1 {
    position: absolute;
    top: 0;
    left: -3px;
    width: 302px;
    height: 271px;
  }
  
  .feature-images-2 {
    position: relative;
    width: 507px;
    height: 372px;
    flex: 1;
  }
  
  .feature-img-wrapper {
    position: absolute;
    top: 91px;
    left: 0;
    width: 241px;
    height: 209px;
    background: #fcfcfc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .feature-img-3 {
    width: 241px;
    height: 209px;
  }
  
  .feature-img-main {
    position: absolute;
    top: -5px;
    left: 251px;
    width: 261px;
    height: 382px;
  }
  
  /* Maatra Money Section */
  .maatra-money-section {
    background: var(--color-white);
    padding: 60px 100px;
  }
  
  .money-feature {
    margin-bottom: 60px;
  }
  
  .money-feature-images {
    position: relative;
    width: 670px;
    height: 400px;
    flex: 1;
  }
  
  .money-shadow {
    position: absolute;
    top: 313px;
    left: 89px;
    width: 500px;
    height: 9px;
    background: #bbbbbb;
    border-radius: 250px;
    filter: blur(3.5px);
  }
  
  .money-dashboard {
    position: absolute;
    top: 75px;
    left: 142px;
    width: 387px;
    height: 253px;
  }
  
  .money-feature-img {
    position: absolute;
    top: 42px;
    left: 93px;
    width: 485px;
    height: 316px;
    object-fit: cover;
  }
  
  .money-feature-images-2 {
    position: relative;
    width: 633px;
    height: 362px;
    flex: 1;
  }
  
  .money-feature-2 {
    position: absolute;
    top: 98px;
    left: 324px;
    width: 314px;
    height: 273px;
  }
  
  .money-feature-1 {
    position: absolute;
    top: 0;
    left: -4px;
    width: 320px;
    height: 275px;
    border-radius: 8px;
    object-fit: cover;
  }
  
  /* CTA Section */
  .cta-section {
    background: var(--color-white);
    padding: 0 100px 60px;
  }
  
  .cta-container {
    background: var(--color-primary);
    border-radius: 24px;
    padding: 0px 60px;
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 1440px;
    margin: 0 auto;
  }
  
  .cta-content {
    flex: 1;
    max-width: 358px;
  }
  
  .cta-title {
    font-family: var(--font-kanit);
    font-size: 35px;
    line-height: 40px;
    color: var(--color-white);
    margin-bottom: 30px;
    font-weight: 400;
  }
  
  .cta-description {
    font-family: var(--font-inter);
    font-size: 14px;
    line-height: 17px;
    color: var(--color-light-gray);
    margin-bottom: 30px;
    font-weight: 400;
  }
  
  .cta-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
  }
  
  .cta-image img {
    max-width: 520px;
    height: auto;
  }
  /* MAIN FOOTER */
    .maatra-footer {
        background: #061423;
        padding: 80px 20px;
        color: #D6DCE5;
        font-family: 'Inter', sans-serif;
    }

    .footer-container {
        width: 100%;
        max-width: 1200px;
        margin: auto;
    }

    /* DIVIDERS */
    .footer-divider {
        height: 1px;
        background: rgba(255,255,255,0.25);
        margin: 40px 0;
    }

    /* MAIN CONTENT (DESKTOP) */
    .footer-main {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 40px;
    }

    /* LOGO */
    .footer-logo img {
        width: 240px;
        height: auto;
        margin-top: 10px;
    }

    /* INFO BLOCK */
    .footer-details {
        display: flex;
        flex-direction: column;
        gap: 35px;
    }

    /* ROWS */
    .footer-row {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    /* For mobile wrapping */
    .footer-row-wrap {
        flex-wrap: wrap;
        gap: 20px;
    }

    /* ICONS */
    .footer-icon {
        width: 22px;
        height: 22px;
    }

    /* TEXT */
    .footer-text {
        font-size: 14px;
        line-height: 18px;
        color: rgba(255,255,255,0.85);
    }

    /* SOCIAL SECTION */
    .footer-social {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .footer-social-icons {
        display: flex;
        gap: 20px;
        flex-wrap: wrap; /* responsive */
    }

    .footer-social-icons img {
        width: 22px;
        height: 22px;
        opacity: 0.85;
        transition: 0.3s;
    }

    .footer-social-icons img:hover {
        opacity: 1;
    }

    /* BOTTOM NAVIGATION */
    .footer-bottom-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    .footer-bottom-nav a {
        font-size: 14px;
        color: rgba(255,255,255,0.75);
        text-decoration: none;
        transition: 0.3s;
    }

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

    .footer-copy {
        font-size: 14px;
        color: rgba(255,255,255,0.75);
    }

  /* Footer */

  /* Responsive Design */
  @media (max-width: 1440px) {
    .hero-section {
      padding: 200px 80px 80px;
    }

    .hero-content {
      gap: 30px;
    }

    .hero-title {
      font-size: 56px;
      line-height: 60px;
    }

    .section-title,
    .section-title-center {
      font-size: 56px;
      line-height: 60px;
    }
  }

  @media (max-width: 1200px) {
    .header,
    .hero-section,
    .about-section,
    .maatra-hr-section,
    .maatra-money-section,
    .cta-section {
      padding-left: 60px;
      padding-right: 60px;
    }

    .footer {
      padding: 60px 80px;
    }

    .feature-container {
      max-width: 100%;
      gap: 40px;
    }

    .hero-section {
      padding: 180px 60px 60px;
    }

    .hero-title {
      font-size: 48px;
      line-height: 52px;
    }

    .section-title,
    .section-title-center {
      font-size: 48px;
      line-height: 52px;
    }

    .cta-container {
      padding: 0px 60px;
    }
  }

  @media (max-width: 1024px) {
    .hero-section {
      padding: 160px 50px 50px;
    }

    .hero-content {
      gap: 25px;
    }

    .hero-title {
      font-size: 44px;
      line-height: 48px;
    }

    .section-title,
    .section-title-center {
      font-size: 44px;
      line-height: 48px;
    }

    .feature-container {
      gap: 30px;
    }
  }

  @media (max-width: 992px) {
    .mobile-menu-toggle {
      display: flex;
    }

    .mobile-contact {
      display: block;
    }

    .desktop-contact {
      display: none;
    }

    .nav-links {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: var(--color-white);
      flex-direction: column;
      padding: 20px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
      transform: translateY(-100%);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: all 0.3s ease;
      z-index: 1001;
    }

    .nav-links.active {
      transform: translateY(0);
      opacity: 1;
      visibility: visible;
      pointer-events: all;
      z-index: 1001;
    }

  .close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
    color: var(--color-primary);
    cursor: pointer;
    display: block;
  }

    .hero-section {
      padding: 140px 40px 40px;
    }

    .hero-content {
      flex-direction: column;
      text-align: center;
      gap: 30px;
    }

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

    .hero-image {
      justify-content: center;
    }

    .hero-title {
      font-size: 40px;
      line-height: 44px;
    }

    .section-title,
    .section-title-center {
      font-size: 40px;
      line-height: 44px;
    }

    .about-container {
      flex-direction: column;
      gap: 30px;
    }

    .feature-container,
    .feature-reverse {
      flex-direction: column;
      gap: 30px;
    }

    .money-feature {
      display: flex;
      flex-direction: column;
    }

    .feature-images-1 {
      width: 100%;
      max-width: 350px;
      margin: 0 auto;
      display: flex;
      flex-direction: row;
    }

    .feature-img-2 {
      width: 160px;
      height: 110px;
      top: 150px;
      left: 120px;
    }

    .feature-img-1 {
      width: 160px;
      height: 140px;
      top: 0;
      left: 0;
    }

    .feature-images-2 {
      width: 100%;
      max-width: 350px;
      margin: 0 auto;
      display: flex;
      flex-direction: row;
    }

    .feature-img-wrapper {
      width: 130px;
      height: 110px;
      top: 230px;
      left: 0;
    }

    .feature-img-3 {
      width: 130px;
      height: 110px;
    }

    .feature-img-main {
      width: 160px;
      height: 220px;
      top: 0;
      left: 130px;
    }

    .feature-img-1,
    .feature-img-2,
    .feature-img-3,
    .feature-img-main {
      position: static !important;
      display: block !important;
      margin: 10px auto;
      max-width: 100%;
    }

    .feature-img-wrapper {
      position: static !important;
      margin: 10px auto;
    }

    .money-feature-images {
      width: 100%;
      height: 320px;
      max-width: 500px;
      margin: 0 auto;
    }

    .money-shadow {
      width: 400px;
      top: 250px;
      left: 70px;
    }

    .money-dashboard {
      width: 310px;
      height: 200px;
      top: 60px;
      left: 110px;
    }

    .money-feature-img {
      display: none;
    }

    .money-feature-images-2 {
      width: 100%;
      height: auto;
      max-width: 500px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
    }

    .money-feature-2 {
      width: 250px;
      height: 220px;
      top: 80px;
      left: 260px;
    }

    .money-feature-1 {
      width: 260px;
      height: 220px;
      top: 0;
      left: -2px;
    }

    .money-feature-2,
    .money-feature-1 {
      position: static !important;
      display: block !important;
      margin: 10px auto;
      max-width: 100%;
    }

    .money-feature-1 {
      width: 200px;
      height: 180px;
    }

    .money-feature .feature-content {
      order: 1;
    }

    .money-feature .money-feature-images-2 {
      order: 2;
    }

    .cta-container {
      flex-direction: column;
      text-align: center;
      padding: 40px 40px;
    }

    .cta-content {
      max-width: 100%;
    }

    .cta-image {
      display: none;
    }

    .footer-main {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-logo img {
        margin-bottom: 20px;
    }
    .footer-details {
        width: 100%;
    }
    .footer-bottom-nav {
        justify-content: center;
        gap: 25px;
        text-align: center;
    }
  }

  @media (max-width: 768px) {
    .header,
    .hero-section,
    .about-section,
    .maatra-hr-section,
    .maatra-money-section,
    .cta-section {
      padding-left: 30px;
      padding-right: 30px;
    }

    .footer {
      padding: 40px 30px;
    }

    .hero-section {
      padding: 120px 30px 30px;
      min-height: 500px;
    }

    .hero-title {
      font-size: 32px;
      line-height: 36px;
    }

    .section-title,
    .section-title-center {
      font-size: 32px;
      line-height: 36px;
      margin-bottom: 50px;
    }

    .feature-title,
    .cta-title {
      font-size: 26px;
      line-height: 30px;
    }

    .cta-container {
      padding: 30px 30px;
    }

    .footer-phones {
      flex-direction: column;
      gap: 15px;
    }

    .footer-logo img {
      width: 200px;
      height: auto;
    }

    .feature-container {
      margin-bottom: 50px;
    }
  }

  @media (max-width: 640px) {
    .hero-section {
      padding: 100px 20px 20px;
    }

    .hero-title {
      font-size: 28px;
      line-height: 32px;
    }

    .section-title,
    .section-title-center {
      font-size: 28px;
      line-height: 32px;
      margin-bottom: 40px;
    }

    .feature-title,
    .cta-title {
      font-size: 24px;
      line-height: 28px;
    }

    .btn {
      font-size: 14px;
      padding: 12px 20px;
    }

    .nav-links {
      padding: 15px;
    }

    .nav-links a {
      font-size: 14px;
    }
  }

  @media (max-width: 992px) {
    /* Fix text and image overlapping on mobile */
  
    .money-feature {
      display: flex;
      flex-direction: column; /* stack text and image */
      align-items: center;
      justify-content: center;
      text-align: center;
      gap: 20px;
    }
  
    .money-feature .feature-content {
      order: 1; /* text comes first */
      max-width: 100%;
    }
  
    .money-feature .money-feature-images {
      order: 2;
      position: static !important;
      width: 100% !important;
      height: auto !important;
      max-width: 400px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
  
    .money-feature .money-feature-images img {
      position: static !important;
      width: 100% !important;
      height: auto !important;
      object-fit: contain;
      margin: 10px 0;
    }
  
    .money-shadow {
      display: none; /* optional: hide the shadow on small screens */
    }
  }

  /* 📱 Mobile (≤ 576px) */
  @media (max-width: 576px) {
      .maatra-footer {
          padding: 50px 15px;
      }

      .footer-divider {
          margin: 30px 0;
      }

      .footer-main {
          align-items: flex-start;
          gap: 25px;
      }

      .footer-row {
          flex-wrap: wrap;
          gap: 10px;
      }

      .footer-social-icons {
          justify-content: flex-start;
          gap: 16px;
      }

      .footer-bottom-nav {
          flex-direction: column;
          text-align: center;
          gap: 12px;
      }

      .footer-bottom-nav a,
      .footer-copy {
          display: block;
          width: 100%;
      }
  }
  
  @media (max-width: 480px) {
    .header,
    .hero-section,
    .about-section,
    .maatra-hr-section,
    .maatra-money-section,
    .cta-section {
      padding-left: 20px;
      padding-right: 20px;
    }

    .footer {
      padding: 30px 20px;
    }

    .hero-section {
      padding: 80px 20px 20px;
      min-height: 400px;
    }

    .hero-title {
      font-size: 24px;
      line-height: 28px;
      margin-bottom: 15px;
    }

    .hero-description {
      font-size: 13px;
      line-height: 16px;
    }

    .section-title,
    .section-title-center {
      font-size: 24px;
      line-height: 28px;
      margin-bottom: 30px;
    }

    .feature-title,
    .cta-title {
      font-size: 20px;
      line-height: 24px;
    }

    .feature-description,
    .about-text,
    .cta-description {
      font-size: 13px;
      line-height: 16px;
    }

    .btn {
      width: 100%;
      font-size: 14px;
      padding: 14px 20px;
    }

    .feature-container {
      margin-bottom: 40px;
      gap: 20px;
    }

    .about-container {
      gap: 20px;
    }

    .cta-container {
      padding: 25px 20px;
      border-radius: 16px;
    }

    .footer-main {
      margin-bottom: 60px;
    }

    .footer-divider {
      margin-bottom: 60px;
    }

    .footer-contact,
    .footer-phones {
      flex-direction: column;
      gap: 15px;
      align-items: flex-start;
    }

    .contact-item {
      gap: 10px;
    }

    .social-icons {
      gap: 20px;
    }
  }

  @media (max-width: 360px) {
    .hero-title {
      font-size: 20px;
      line-height: 24px;
    }

    .section-title,
    .section-title-center {
      font-size: 20px;
      line-height: 24px;
    }

    .feature-title,
    .cta-title {
      font-size: 18px;
      line-height: 22px;
    }

    .hero-description,
    .feature-description,
    .about-text,
    .cta-description {
      font-size: 12px;
      line-height: 15px;
    }

    .btn {
      padding: 12px 16px;
      font-size: 13px;
    }

    .nav-links a {
      font-size: 13px;
    }

    .footer-logo img {
      width: 150px;
      height: auto;
    }
  }

  /* Modal */
  .modern-modal {
  border-radius: 18px;
  padding: 10px 20px;
  background: #ffffff;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  font-family: 'Inter', sans-serif;
}

.modern-input {
  border-radius: 10px !important;
  padding: 10px 14px;
  border: 1px solid #ddd;
}

.purpose-option input {
  display: none;
}

.option-box {
  border: 2px solid #eee;
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  cursor: pointer;
  transition: all .3s ease;
}

.option-box:hover {
  border-color: #05A174;
  background: #f0fdf6;
}

.purpose-option input:checked + .option-box {
  border-color: #05A174;
  background: #05A17410;
}

.purpose-icon {
  width: 40px;
  margin-bottom: 10px;
}
/* Modal End */