body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #feeafe; /* pink background */
   
}

.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: 40px;  
  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;
}

.red {
    color: #a30717;
}

.purple {
    color: #62398f;
}




.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: 775px;

}

.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: 40px 20px;
}

.logo {
    max-height: 120px;
    margin-bottom: 20px;
}

.footer p {
    color: #5306a5;
    font-size: 14px;
}

/* Fullscreen Modal Background */
.form-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(33, 37, 41, 0.75); /* subtle dark overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

/* 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;
}

/* 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;
}
