/* ======================
   GLOBAL STYLES
   ====================== */

/* Font and General Body Styles */
html, body {
    font-family: 'Erply Ladna', sans-serif;
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

*,
*:before,
*:after {
    position: relative;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Remove default margins and paddings */
body, ul, h1, h2, h3, h4, h5, p, figure {
    margin: 0;
}

button, input, select, textarea {
    font: inherit;
    display: block;
    color: inherit;
}

/* Links */
a {
    color: inherit;
    text-decoration: none;
}

/* Images */
img {
    width: 100%;
    height: 100%;
}

/* Hide scrollbars */
.hiddenScrollbar::-webkit-scrollbar {
    display: none;
}

.hiddenScrollbar {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.highlight{
    color: var(--color-accent);
}

/* ======================
   CONTAINERS AND LAYOUT
   ====================== */

/* Main container layout */
.container {
    --container-padding: 2.5rem;
    padding-block: var(--container-padding);
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
}

.container--no-top-padding {
    padding-block: 0 var(--container-padding);
}

.container--no-bottom-padding {
    padding-block: var(--container-padding) 0;
}

/* Wrapper for content alignment */
.wrapper {
    max-width: var(--container-mw);
    margin-inline: auto;
}

/* Utility Classes */
.hiddenScrollbar {
    overflow: auto;
}

/* ======================
   TYPOGRAPHY
   ====================== */

/* General text styles */
.body {
    color: var(--color-foreground-subtle);
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.03rem;
}

/* Headings */
.h1-title {
    color: var(--color-primary-dark);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: clamp(36px, 6vw, 56px);
    letter-spacing: -1.68px;
}

.h2-title {
    color: var(--color-primary-dark);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 55px;
    margin-bottom: 1rem;
    letter-spacing: -2.75px;
}

.h3-text, .h4-text, .h5-text {
    color: var(--color-primary-dark);
}

.h3-text {
    font-size: 1.5rem;
    line-height: 30px;
    letter-spacing: -0.48px;
}

.h4-text {
    font-size: 1.125rem;
    line-height: 30px;
}

.h5-text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-accent);
}

/* Larger text blocks */
.title--large {
    font-size: 3.4375rem;
}

.title--xlarge {
    font-size: 4.25rem;
}

.copy {
    max-width: var(--copy-max-width);
}

.copy--centered {
    text-align: center;
    margin-inline: auto;
}

.body--large, .body--xlarge {
    font-size: 1.275rem;
}

/* ======================
   BUTTONS
   ====================== */

button {
    border: none;
    cursor: pointer;
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 1.125rem;
    border-radius: 6.1875rem;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: -0.02rem;
    cursor: pointer;
    transition: all 0.35s ease-out;
}

/* Primary Button */
.btn--primary {
    background: var(--light-buttons-button-inverted-pressed, linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 100%), #1f2937);
    color: white;
    box-shadow: 0 0 0 1px #030712cc, 0 1px 2px #03071266, 0 0.75px #fff3 inset;
}

.btn--primary:hover {
    filter: brightness(1.3);
    color: aliceblue;
}

/* Ghost Button */
.btn--ghost {
    color: var(--color-foreground);
    background: transparent;
}

.btn--ghost:hover {
    color: var(--color-accent);
}

/* Arrow inside buttons */
.btn__arrow {
    margin-top: 1.5px;
}

/* ======================
   SPECIFIC COMPONENTS
   ====================== */

/* Navbar */
.navbar__logo {
    width: 160px;
    height: 90px;
}

.navbar__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 3.875rem;
}

/* ======================
   UTILITY CLASSES
   ====================== */

ul {
    list-style: none;
}

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

/* Responsive Breakpoints for containers and text */
@media (min-width: 768px) {
    .container {
        --container-padding: 4.688rem;
    }

    .title {
        font-size: 3.4375rem;
    }
}

@media (max-width: 1024px) {
    .h1-title {
        font-size: 2.5rem;
    }

    .h2-title {
        font-size: 2rem;
    }

    .body {
        font-size: 1rem;
    }
}

@media (min-width: 1024px) {
    .title--xlarge {
        font-size: 5rem;
    }
}

/* ======================
   FONT IMPORTS
   ====================== */

@font-face {
    font-family: 'Erply Ladna';
    font-weight: 400;
    src: url('https://assets.erply.com/global/fonts/erply-ladna/WOFF/ErplyLadna-Regular.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Erply Ladna';
    font-weight: 500;
    src: url('https://assets.erply.com/global/fonts/erply-ladna/WOFF/ErplyLadna-Medium.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Erply Ladna';
    font-weight: 600;
    src: url('https://assets.erply.com/global/fonts/erply-ladna/WOFF/ErplyLadna-Bold.woff') format('woff');
    font-display: swap;
}

/* ======================
   COLOR VARIABLES
   ====================== */

:root {
    --color-bg: white;
    --color-accent: #215DE3;
    --color-primary-dark: #0B1E47;
    --color-foreground: #041c50;
    --color-foreground-subtle: #041C50;
    --border-color: rgba(0, 0, 0, 0.05);
    --container-mw: min(80rem, calc(100vw - 2rem));
    --copy-max-width: 41.5rem;
}


/* ======================
   TNAHKS MODAL
   ====================== */


.thankyou-modal {
    max-width: 500px;
    margin: 50px auto;
    padding: 30px;
    border: 2px solid #e0e0e0; 
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-family: Arial, sans-serif;
    background-color: #ffffff;
}
/* Modal Overlay */
.modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center; /* Align center */
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-in-out;
}

.modal-overlay.active {
    display: flex; /* Show modal when active class is added */
}
  /* Modal Content */
  .modal-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }

  /* Close Button */
  .modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: #555;
  }

  .modal-close:hover {
    color: #007BFF;
  }

  /* Fade-in Animation */
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  .g-recaptcha{
    margin-top:5px;
  }