/* main CSS styles for the index page design */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --color-bg: #F2EFE7;
  --color-bg-secondary: #9ACBD0;
  --color-accent: #48A6A7;
  --color-primary: #006A71;
  --color-white: #fff;
  --color-dark: #333;
  --color-light-gray: #e0e0e0;
  --color-premium: #FFD700; /* Gold color for premium */
  --color-free: #C0C0C0; /* Silver color for free */
  --radius: 12px;
  --shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  --font-main: 'Segoe UI', sans-serif;
  --border-radius: 12px;

  /* Font Sizes (Desktop Default) */
  --font-h1: 3rem;
  --font-h2: 2.5rem;
  --font-h3: 2rem;
  --font-h4: 1.75rem;
  --font-h5: 1.5rem;
  --font-h6: 1.25rem;
  --font-body: 1rem;
  --font-small: 0.875rem;
  

}

/* Responsive Font Sizes: Tablets */
@media (max-width: 992px) {
  :root {
    --font-h1: 2.5rem;
    --font-h2: 2rem;
    --font-h3: 1.75rem;
    --font-h4: 1.5rem;
    --font-h5: 1.25rem;
    --font-h6: 1.125rem;
    --font-body: 0.95rem;
    --font-small: 0.8rem;
  }
}

/* Responsive Font Sizes: Mobile */
@media (max-width: 576px) {
  :root {
    --font-h1: 2rem;
    --font-h2: 1.75rem;
    --font-h3: 1.5rem;
    --font-h4: 1.25rem;
    --font-h5: 1.125rem;
    --font-h6: 1rem;
    --font-body: 0.625rem;
    --font-small: 0.75rem;
    
  }
}


h1 { font-size: var(--font-h1); }
h2 { font-size: var(--font-h2); }
h3 { font-size: var(--font-h3); }
h4 { font-size: var(--font-h4); }
h5 { font-size: var(--font-h5); }
h6 { font-size: var(--font-h6); }

p {
  font-size: var(--font-body);
  margin-bottom: 1rem;
}

a {
  font-size: var(--font-body);
  color: var(--link-color);
  text-decoration: none;
}

a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
 }


 body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  margin: 0;
  padding: 0;
  color: var(--color-dark);
}

 /* hero section of index page */
   .top-bar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem 0;
}

.logo img {
  height: 60px;
}
  .hero-banner {
  background-image: url('images/front_image1.jpg');
  background-size: cover;
  background-position: center;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-overlay .logo {
  margin-left: 2rem;
  margin-top: 1rem;
  
}

.hero-content {
  max-width: 700px;
  margin-left: 2rem;
}

.hero-content h1 {
  font-size: var(--font-h1);
  margin-bottom: 1rem;
  color: var(--color-white);
}

.hero-content p {
  font-size: var(--font-h4);
  margin-bottom: 2rem;
  color: var(--color-white);
}

.hero-buttons button {
  background-color: var(--color-primary);
  border: none;
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  margin-right: 1rem;
  font-size: var(--font-body);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.hero-buttons button:hover {
  background-color: var(--color-accent);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content {
    margin-left: 1rem;
    text-align: center;
  }

  .hero-overlay {
    padding: 1rem;
    align-items: center;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons button {
    margin: 0.5rem 0;
    width: 100%;
  }

  .hero-overlay .logo {
    margin: 0 auto 1rem;
    text-align: center;
  }
}
 

/* container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 2rem 0;
}

.hero {
  background: linear-gradient(to right, var(--color-primary), var(--color-accent));
  color: var(--color-white);
  padding: 6rem 0;
  text-align: center;
}

.hero h1 {
  margin-bottom: 1rem;
}

.hero p {
  font-size: var(--font-h4);
  margin-bottom: 2rem;
}

.hero-buttons button {
  background-color: var(--color-white);
  color: var(--color-primary);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  margin: 0 10px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.hero-buttons button:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
}
/* end hero section of index page */


 /* style for logging modal  */
        .modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
  background-color: var(--color-white);
  margin: 5% auto;
  padding: 2rem;
  border-radius: var(--border-radius);
  max-width: 500px;
  position: relative;
  box-shadow: var(--shadow);
}

.modal-content h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.logo {
  display : block; 
  align-items: center;
  justify-content: center;
  text-align: center;
  gap  : 1rem;
}
.close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-dark);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-light-gray);
  border-radius: var(--border-radius);
  font-size: var(--font-body);
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: var(--font-small);
}

.btn-submit {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  padding: 0.75rem 1.5rem;
  width: 100%;
  font-weight: 600;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-submit:hover {
  background-color: var(--color-accent);
}

.social-login {
  text-align: center;
  margin-top: 1.5rem;
}

.social-buttons {
  display: flex;
  justify-content: space-around;
  margin-top: 1rem;
}

.social-buttons button {
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: var(--font-small);
}

.btn-google {
  background: #db4437;
  color: white;
}

.btn-facebook {
  background: #3b5998;
  color: white;
}

.btn-apple {
  background: #000;
  color: white;
}

.otp-section {
  text-align: center;
}

.otp-inputs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem 0;
}

.otp-input {
  width: 40px;
  height: 50px;
  font-size: 1.5rem;
  text-align: center;
  border: 1px solid var(--color-light-gray);
  border-radius: var(--border-radius);
}

.otp-section {
  text-align: center;
  padding-top: 1.5rem;
}

.otp-section h3 {
  font-size: var(--font-h4);
  margin-bottom: 0.5rem;
}

.otp-section p {
  font-size: var(--font-small);
  margin-bottom: 1rem;
}

.otp-inputs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.otp-input {
  width: 45px;
  height: 55px;
  font-size: 1.5rem;
  text-align: center;
  border: 1px solid var(--color-light-gray);
  border-radius: var(--border-radius);
  outline: none;
  transition: border-color 0.3s;
}

.otp-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 5px rgba(0, 106, 113, 0.3);
}

.btn-verify-otp {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
}

.btn-verify-otp:hover {
  background-color: var(--color-accent);
}

.resend-otp {
  font-size: var(--font-small);
  margin-top: 1rem;
}

.resend-otp a {
  color: var(--color-primary);
  text-decoration: underline;
  cursor: pointer;
}

.profile-options {
  display: flex;
  justify-content: space-around;
  margin-bottom: 1rem;
}

.profile-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dob-input {
  display: flex;
  gap: 0.5rem;
}

.mobile-input {
  display: flex;
  gap: 0.5rem;
}

.terms-agreement {
  font-size: var(--font-small);
  margin-bottom: 1rem;
}




/* trusted badge section*/
.trust-section {
  background-color: var(--color-bg);
  padding: 3rem 0;
}

.stats {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  text-align: center;
}

.stats div {
  flex: 1 1 200px;
  margin: 1rem;
}


/*hows its work section */

.how-it-works {
  background-color: var(--color-primary);
  color : white;
}


.how-it-works .steps {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  text-align: center;
  gap: 2rem;
}

.how-it-works h2{

text-align : center;
}

.steps div {
  flex: 1 1 200px;
}

/* download app section */
.app-links img {
  height: 50px;
  margin: 1rem;
}

