        .form-modal {
            position: fixed;
            top: 0; left: 0;
            width: 100%; height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }

        .form-container {
            background: white;
            padding: 20px;
            border-radius: 10px;
            text-align: center;
            width: 350px;
            max-width: 90%;
            position: relative;
        }

        .form-toggle button {
            margin: 5px;
            padding: 8px 12px;
            border: none;
            background-color: #007bff;
            color: white;
            border-radius: 5px;
            cursor: pointer;
        }

        .form-toggle button:hover {
            background-color: #0056b3;
        }

        .form input, .form select {
            margin: 10px 0;
            padding: 8px;
            width: 90%;
            border: 1px solid #ddd;
            border-radius: 5px;
        }

        ul {
            color: red;
            text-align: center;
            list-style: none;
            padding: 0;
        }
.language-bar {
    background-color: #f5c8f5;
    padding: 15px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    border-bottom: 2px solid #7e738a;
    height: 80px;
}

/* Bigger buttons */
.lang-btn {
    border: none;
    font-size: 45px;   /* Increased font size */
    padding: 12px 24px; /* Bigger button size */
    background-color: transparent;
    
    cursor: pointer;
   
    transition: background-color 0.3s;
}

/* Remove hover effect */
.lang-btn:hover {
    background-color: transparent; /* No hover color */
}

.lang-btn.active {
  
    color: #5306a5;
}
        .main-section {
            text-align: center;
            padding: 50px 20px;
            background-color: #e7dcfc;
            min-height: 600px;
        }

        .main-title {
            font-size: clamp(40px, 8vw, 80px);
            font-family: 'Akaya Kanadaka', cursive;
            color: #5306a5;
            margin: 20px 0;
            line-height: 1.2;
        }

          .quote-box {
            width: 100%;
            background-color: #f5c8f5;
            color: #5306a5;
            margin-top: 40px;
            text-align: center;
            border: 2px solid #5306a5;
            box-sizing: border-box;
            height: 50px;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .quote-box #main-text {
            font-size: 20px;
            margin: 0;
        }

        #main-text {
            font-size: 20px;
            margin-top: 30px;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
            line-height: 1.6;
        }

        .form h3 {
            margin-bottom: 20px;
            color: #333;
        }

        .form input[type="submit"] {
            background-color: #007bff;
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 16px;
        }

        .form input[type="submit"]:hover {
            background-color: #0056b3;
        }

        .language-selection {
            text-align: center;
        }

        .language-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            margin: 20px 0;
        }
  /* Ensure html and body take full height */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #feeafe; /* Your pink background */
    display: flex;
    flex-direction: column;
}

/* Main content should grow to fill space */
.main-section {
    flex: 1;
    padding: 50px 20px;
    background-color: #e7dcfc;
    text-align: center;
}


.language-bar {
    background-color: #f5c8f5; /* purple background */
    padding: 15px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    border-bottom: 2px solid #7e738a;
    height: 80px;
}

.lang-btn {
  border: none;
  font-size: 35px;  
  padding: 8px 16px;
  background-color: transparent;
  color: #000;
  cursor: pointer;
  color: #5306a5;
 
}
.language-options {
  display: flex;
  flex-wrap: wrap;         /* allows buttons to wrap to next line */
  gap:60px; 
  color: #5306a5;              /* space between buttons */
}
.main-title {
    font-size: clamp(60px, 12vw, 140px); /* scales between 60px and 140px based on viewport */
    font-family: 'Akaya Kanadaka', cursive;
    text-align: center;
    margin: 40px 0;
    line-height: 1; /* keep it tight since it's one logical word */
}

/* Color classes */
.blue {
    color: #033c79;
    font-size: 7vw;
}

.red {
    color: #a30717;
    font-size: 6vw;
}

.purple {
    color: #62398f;
    font-size: 7vw;
}




.language-bar .login-btn  {
    color: #a40a1d; /* red text */
    font-size: 1.2em;
}

.main-section {
    text-align: center;
    padding: 50px 20px;
     background-color: #e7dcfc; /* purple */
     height: 450px;

}

.main-title {
    font-size: 60pt;
    font-family: 'Akaya Kanadaka', cursive;
    color: #5306a5;
}

.quote-box {
    width: 100%;
    background-color: #f5c8f5;      /* pink background */
    color: #5306a5;                 /* purple text */
   margin-top: 40px;
    text-align: center;
    border: 2px solid #5306a5;      /* purple border */
    white-space: nowrap;           /* force all text in one line */
             /* add scroll if text overflows */
    box-sizing: border-box;
    height: 50px;

}

.quote-box #main-text {
    font-size: 20px;
    margin: 0;
    display: inline-block;
    margin-top: 8px;
}

#main-text {
    font-size: 20px;
    margin-top: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.footer {
    text-align: center;
    /* margin-top: 60px; */
    padding: 20px 10px;
    background-color: #f5c8f5;
    border:2px solid #62398f;
}

.logo {
    max-height: 120px;
    margin-bottom: 20px;
}

.footer p {
    color: #5306a5;
    font-size: 14px;
}

/* Fullscreen Modal Background */
.form-modal {
    display: none; /* hidden when page loads */
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
}


/* Modal Container */
.form-container {
    background: #fff;
    border-radius: 12px;
    padding: 40px 50px;
    width: 100%;
    max-width: 500px; /* larger form */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
}

/* Toggle Button Bar */
.form-toggle {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.form-toggle button {
    flex: 1;
    padding: 14px;
    margin: 0 6px;
    border: none;
    background-color: #f0f0f0;
    font-weight: 600;
    font-size: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.form-toggle button:hover {
    background-color: #e0e0e0;
}

/* Form Layout */
.form {
    display: flex;
    flex-direction: column;
}

.form h3 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 25px;
    color: #333;
}

/* Input Fields */
.form input[type="text"],
.form input[type="email"],
.form input[type="password"] {
    padding: 14px;
    margin-bottom: 20px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.form input:focus {
    border-color: #007bff;
    outline: none;
}

/* Submit Button */
.form input[type="submit"] {
    padding: 14px;
    background-color: #007bff;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form input[type="submit"]:hover {
    background-color: #0056b3;
}

#form-language-select {
    width: 100%;
    max-width: 350px;
    padding: 12px 16px;
    font-size: 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

#form-language-select:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
    background-color: #fefefe;
    cursor: pointer;
}

/* Language Selection Form Styling */
.language-selection-form {
    margin: 20px 0;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    border: 2px solid #e9ecef;
}

.language-selection-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

.language-select {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 15px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.language-select:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
    background-color: #fefefe;
    cursor: pointer;
}

.language-selection {
    max-width: 600px;
    margin: 50px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.language-selection h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: 600;
    color: #333;
    letter-spacing: 0.5px;
}

.language-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.lang-option {
    padding: 12px 18px;
    background: linear-gradient(135deg, #6a5acd, #7b68ee);
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.lang-option:hover {
    background: linear-gradient(135deg, #7b68ee, #6a5acd);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.25);
}

.lang-option:active {
    transform: scale(0.95);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

#login {
    font-weight: bold;
}

/* Footer Styling */
/* Footer Styling */
  .footer {
   
    text-align: center;
    padding: 6px 0; /* reduced padding for narrow footer */
    border-top: 2px solid #f5c8f5; /* matches theme */
    border:2px solid #62398f;
  }

  .footer-text {
    margin: 0;
    padding:20px;
    font-size: 10px; /* smaller copyright size */
    font-family: Arial, sans-serif;
    color: #62398f; /* purple text by default */
  }

  /* Color classes */
  .blue1 {
    color: #033c79;
    font-size: 12px;
    font-weight: bold;
  }

  .red1 {
    color: #a30717;
    font-size: 16px; /* differentiate the "2" */
    font-weight: bold;
  }

  .purple1 {
    color: #62398f;
    font-size: 16px;
    font-weight: bold;
  }
 
@media (max-width: 768px) {
  .main-title {
    font-size: clamp(32px, 8vw, 60px);
    line-height: 1.1;
  }

}

  .language-options {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .lang-btn {
    width: 100%;
    text-align: left;
  }


  .main-section {
    padding: 30px 15px;
    height: auto;
  }

  .quote-box {
    height: auto;
    padding: 10px;
    white-space: normal;
  }

  #main-text {
    font-size: 16px;
    padding: 10px;
  }

  .form-container {
    padding: 20px;
    position: relative;
    width: 90%;
  }

  .form-toggle button {
    font-size: 14px;
    padding: 10px;
  }

  .lang-option {
    padding: 10px;
    font-size: 0.9rem;
  }

  .language-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
  }

  .footer-text {
    font-size: 10px;
    padding: 10px;
  }
.form-container{
    padding: 20px;
    position: relative;
    width: 90%;
}
  .footer {
    background-color: #f5c8f5;
   
    border:2px solid #62398f;
  }


@media (max-width: 480px) {
  .main-title {
    font-size: clamp(28px, 9vw, 48px);
  }

  .lang-btn {
    font-size: 18px;
    padding: 6px 10px;
  }

  .language-bar {
    height: auto;
    flex-direction: column;
    padding: 10px;
  }

  .language-options {
    gap: 8px;
    flex-wrap: wrap;
  }

  .form input[type="text"],
  .form input[type="email"],
  .form input[type="password"],
  .language-select {
    font-size: 14px;
    padding: 10px;
  }

  .form input[type="submit"] {
    font-size: 14px;
    padding: 10px;
  }

  .form-toggle {
    flex-direction: column;
  }

  .form-toggle button {
    margin: 5px 0;
  }

}
@media (max-width: 600px) {
  .language-bar {
    flex-direction: column;
    align-items: center;
    padding: 10px;
  }

  .language-options {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .lang-btn {
    font-size: 18px;
    padding: 8px 12px;
    width: 90%;
    text-align: center;
  }

  .login {
    margin-top: 10px;
    font-size: 16px;
    display: block;
    text-align: center;
  }

  .main-title {
    font-size: clamp(28px, 9vw, 48px);
    line-height: 1.1;
    text-align: center;
    margin: 10px 0;
  }

  .quote-box {
    width: 90%;
    margin: 20px auto;
    padding: 15px;
    font-size: 16px;
    white-space: normal;
    box-sizing: border-box;
  }

  #main-text {
    font-size: 16px;
    text-align: center;
  }
}
.red.big {
  font-size: 9vw; /* or whatever size you want */
  font-weight: bold;
  color: #a30717;
}
.btn-purple {
  background-color: #5306a5;
  color: white;
  border: none;
  font-weight: bold;
  padding: 5px;
}

.btn-purple:hover {
  background-color: #3d057d;
  color: white;
}

.language-buttons button {
    font-size: 16px;
    font-weight: 500;
    color: #5306a5;
    background: transparent;
    border: none;
    transition: color 0.3s;
}

.language-buttons button:hover {
    color: #3d057d;
    text-decoration: underline;
}
.custom-navbar {
    z-index: 1100;
    font-weight: bold;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    background-color: #f5c8f5 !important;  /* This ensures override */
    padding: 20px 20px;
}

@media (max-width: 768px) {
  .language-buttons {
    display: none !important;
  }
}
.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    border: none;
    font-size: 28px;
    font-weight: bold;
    color: #62398f;
    cursor: pointer;
    z-index: 9999;
}

.modal-close-btn:hover {
    color: #000; 
}
.btn-link {
  color: #5306a5 !important;  /* or #62398f */
  text-decoration: none;
  font-weight: bold;
}

.btn-link:hover {
  color: #3d057d !important;  /* optional darker hover */
}