html,
body {
    margin: 0;
    /* Remove default margins */
    padding: 0;
    /* Remove default padding */
    width: 100%;
    /* Ensure it spans the full width */
    overflow-y: auto;
    overflow-x:hidden;
    /* Ensure vertical scrolling is enabled */
    scroll-behavior: smooth;
    /* Smooth scrolling for better UX */
}

/* Scrollbar Styling */
body::-webkit-scrollbar {
    width: 5px;
    /* Width of the scrollbar */
}

body::-webkit-scrollbar-track {
    background: #f1f1f1;
    /* Background color of the track */
    border-radius: 10px;
    /* Rounded corners for the track */
}

body::-webkit-scrollbar-thumb {
    background: #1f3a52;
    /* Color of the scrollbar */
    border-radius: 10px;
    /* Rounded corners for the thumb */
}

body::-webkit-scrollbar-thumb:hover {
    background: #555;
    /* Darker color when hovered */
}

/* Navbar Styles */
header {

    color: #fff;
    padding: 1px;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    /* keeps social-media and nav-links spread out */
    align-items: center;
}

.social-media-icons {
    display: flex;
    align-items: center;


}

.social-media-icons a {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    gap: 0;
    /* remove gap */
    font-size: 18px;
}

.social-media-icons a p {
    margin: 2px 0;
    /* control spacing only with paragraph margin */
    margin-left: 40px;
}



.nav-links {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    padding: 0;
    margin: 0;
}

.nav-links li {
    margin: 0 1rem;
}

.nav-links a {
    color: white;
    font-weight: bold;
    font-family: 'Open Sans', sans-serif;
    font-style: italic;
    text-decoration: none;

    /* Transition effects */

}

.logo-container {

    display: flex;
    align-items: center;
    margin-right: 50px;
    margin-left: 80px;
    /* Add some margin to separate the logo from the nav */
    flex-shrink: 0;
    /* Prevent it from shrinking on small screens */
    position: relative;
    cursor: pointer;
    margin-top: 260px;
    z-index: 2;
}

.logo-video {
    width: 280px;
    height: auto;
    /* avoid percent-based shrinking */
    object-fit: contain;
    border-radius: 10%;
    object-fit: contain;
}




.nav-links a:hover {
    animation: shake 0.5s forwards;
    /* Shake effect on hover */
    color: darkgray;
    /* Change color on hover */
}


/* Registration Section Styles */
#registration {
    position: relative;
    /* Add position relative to contain the overlay */
   background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 0 10px;
    color: white;
    opacity: 1;
    height: 100vh;
    width: 100vw;

}

#registration .contact-form {
    position: relative;
    z-index: 1001;
    /* higher than header (header is 1000) */
}

/* Overlay for the background image */
#registration::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    /* Ensure it only covers the image height */
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Dark overlay */
    z-index: 0;
    /* Place it behind the content */
}

#registration:hover .contact-form:hover {
    animation: shake 0.5s forwards;
}

/* Contact form styling to appear above the overlay */
.contact-form {
    position: relative;
    z-index: 2;
    /* Ensure the form appears above the overlay */

}

/* Headings */
.contact-heading {
    text-align: center;
    color: white;
    margin-bottom: -11px;
    /* Reduce spacing between heading and content */
    font-size: 1.5rem;
    /* Reduce from current size */
}

.contact-form h4 {
    margin-top: -3px;
    font-size: 1.0rem;
    font-family: 'Arial', sans-serif;
    color: white;

}

.contact-container {
    margin-top: auto;
    /* Push the button to the bottom */
    text-align: center;
    /* Center align the button */
}


.contact-form h4 a {
    color: green;
    text-decoration: underline;
}

/* Social Login Styles */
.social-login {
    margin-top: 20px;
    text-align: center;
}

.social-login p {
    margin-top: 0px;
    color: white;
}

.social-login a {
    display: inline-flex;
    align-items: center;
    margin: 0 10px;
    font-size: 1rem;
    color: white;
    text-decoration: none;
    border: 1px solid #ccc;
    padding: 2px 10px;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

.social-login a:hover {
    background-color: #f0f0f0;
    color: #000;
}

/* Scrollable Form Styling */
#registration form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: flex-start;
    max-width: 600px;
    margin-left: 410px;
    /* original horizontal positioning */
    margin-right: auto;
    margin-top: -20px;
    /* original vertical spacing */
    padding: 2rem;
    border-radius: 20px;
    color: white;
    text-align: center;

    /* Glassy techy background */
 background: linear-gradient(
        135deg,
        rgba(15, 32, 39, 0.85) 0%,   /* dark moody base */
        rgba(32, 58, 67, 0.7) 50%,   /* slightly lighter mid-tone */
        rgba(112, 184, 0, 0.15) 100% /* subtle MoodPàdi green tint */
    );

    /* semi-transparent techy dark blue */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    /* Subtle border and shadow for glass effect */
    border: 1px solid rgba(255, 255, 255, 0.2);
      box-shadow:
  0 8px 25px rgba(32, 58, 67, 0.5),   /* deep teal outer glow */
  0 6px 15px rgba(112, 184, 0, 0.25), /* subtle MoodPàdi green lift */
  inset 0 1px 2px rgba(255, 255, 255, 0.05); /* soft inner light */

    /* Scrollable form */
    max-height: 515px;
    overflow-y: auto;

    transition: transform 0.4s ease, box-shadow 0.3s ease;
}

/* Hover effect */
#registration form:hover {
   transform: translate(-50%, -50%) scale(1.03);
  box-shadow:
    0 12px 35px rgba(32, 58, 67, 0.55),   /* deeper teal for consistency */
    0 8px 25px rgba(112, 184, 0, 0.35),   /* MoodPàdi green aura */
    0 0 15px rgba(112, 184, 0, 0.25);     /* soft neon edge glow */
}

/* Webkit Scrollbar Styling */
#registration form::-webkit-scrollbar {
    width: 1px;
}

#registration form::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

#registration form::-webkit-scrollbar-thumb {
    background: rgba(0, 114, 255, 0.3);
    border-radius: 10px;
}

#registration form::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 198, 255, 0.5);
}

#registration form {
    scrollbar-width: thin;
    scrollbar-color: rgba(31, 127, 246, 0.3) rgba(255, 255, 255, 0.05);
}

/* Input fields inside signup form */
#registration form input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    outline: none;
    color: white;
    transition: background 0.3s ease, transform 0.3s ease;
}

#registration form input:focus {
    background: rgba(0, 198, 255, 0.15);
    transform: scale(1.02);
}

/* Keyframes for animating the gradient */
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


/* Label Styling */
#registration form label {
    color: #fff;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Input and Select Styling */
#registration form input,
#registration form select,
#registration form textarea {
    border: none;
    /* Remove solid border */
    border-bottom: 2px solid grey;
    /* Initial underline color */
    background-color: transparent;
    /* Transparent background */
    outline: none;
    /* Remove default focus outline */
    width: 100%;
    /* Full width */
    font-size: 1rem;
    /* Adjust font size */
    padding: 8px 0;
    /* Spacing inside inputs */
    transition: border-color 0.3s ease;
    /* Smooth transition on focus */
    color: white;
    /* Text color */
}



/* Textarea Specific Styling */
#registration form textarea {
    height: 150px;
    resize: vertical;
}

/* Button Styling */


#registration form button {
    position: relative;
    width: 27%;
    padding: 10px;
    border: none;
    border-radius: 25px;

    /* Techy gradient matching the signup/login form */
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.8), rgba(0, 114, 255, 0.8));
    color: whitesmoke;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    /* Center horizontally */
    margin: 20px auto;

    /* Glassy shadow effect */
    box-shadow: 0 6px 18px rgba(0, 114, 255, 0.3), 0 4px 10px rgba(0, 198, 255, 0.2);

    /* Smooth hover transition */
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

#registration form button:hover {
    transform: scale(0.95);
    /* Shrink slightly on hover */
    background: linear-gradient(135deg, rgba(0, 198, 255, 1), rgba(0, 114, 255, 1));
    /* Slightly brighter gradient */
    box-shadow: 0 10px 25px rgba(0, 114, 255, 0.5), 0 6px 15px rgba(0, 198, 255, 0.4);
}


/* Initially position icon outside */
.icon {
    position: absolute;
    right: 10px;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* On hover, slide the icon in */
#registration form button:hover .icon {
    opacity: 1;
    transform: translateX(-10px);
}

/* On click, slide the icon out */
#registration form button:active .icon {
    transform: translateX(30px);
    opacity: 0;
}


#successMessage {
    position: fixed;
    top: 50%;
    left: -100%;
    /* Initially off-screen */
    transform: translateY(-50%);
    background-color: #4CAF50;
    color: white;
    padding: 15px 20px;
    font-size: 1.125rem;
    font-weight: bold;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: left 0.5s ease-in-out;
    z-index: 1000;
}

#successMessage i {
    font-size: 1.5rem;
}



/* Gender Radio Buttons Styling */
.gender-group {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
    margin-top: 24px;
}

.gender-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gender-group input[type="radio"] {
    margin: 0;
    accent-color: #70B800;
    /* nice green */
}


/* Style for Terms and Conditions Checkbox */
.terms-wrapper {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.terms-wrapper input[type="checkbox"] {
    margin-right: 5px;
    width: auto;
    height: auto;
    accent-color: #70B800;
    /* nice green */
}

.terms-wrapper label {
    font-size: 0.9rem;
}

.terms-wrapper label a {
    color: lightblue;
    text-decoration: underline;
}

/* Add this CSS rule to create rows for form fields */
.form-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 7px;
}

.form-group {
    flex-basis: 48%;
}



/* Base styles for inputs and select */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="password"],
select {
    border: none;
    border-bottom: 2px solid grey !important;
    /* Initial underline color */
    background-color: transparent;
    /* Transparent background */
    outline: none;
    /* Remove default focus outline */
    width: 100%;
    /* Full width */
    font-size: 1rem;
    /* Adjust font size */
    padding: 8px 0;
    /* Spacing inside inputs */
    transition: border-color 0.3s ease;
    /* Smooth transition on focus */
    color: #1b1919;
    /* Text color */
}

/* Highlight underline on focus */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="password"]:focus,
select:focus {
    border-bottom: 2px solid white !important;
    /* Highlight color */
}


  #registration form select {
      background-color: #fff !important;     /* solid white background */
      color: #000 !important;                /* black text for readability */
      border: 1px solid rgba(0, 0, 0, 0.2);  /* subtle border */
      border-radius: 6px;
      padding: 8px 10px;
      font-size: 0.85rem;
      appearance: none;                      /* removes OS default arrow style */
      -webkit-appearance: none;
      -moz-appearance: none;
  }

  /* Optional: add a subtle dropdown arrow */
  #registration form select::-ms-expand {
      display: none; /* hide default arrow in IE */
  }

  /* Style the dropdown when opened (for Safari/Chrome mobile) */
  #registration form option {
      color: #000 !important;
      background-color: #fff !important;
  }
@keyframes shake {
    0% {
        transform: translate(0);
    }

    25% {
        transform: translate(-5px, 0);
    }

    50% {
        transform: translate(5px, 0);
    }

    75% {
        transform: translate(-5px, 0);
    }

    100% {
        transform: translate(0);
    }
}


.error-message {
    color: rgb(185, 34, 34) !important;
    font-size: 0.9375rem;
    margin-top: 5px;
    font-weight: bold;
    font-family: 'Open Sans', sans-serif;

}

/* Style the dropdown itself */
#country {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #f9f9f9;
    /* light grey (can change to white if you prefer) */
    color: #333;
    font-size: 14px;
    cursor: pointer;
}

/* Style the dropdown options */
#country option {
    background-color: #f9f9f9;
    /* grey background for options */
    color: #000;
    padding: 6px;
}

#successMessage {
    position: fixed;
    top: 500px;
    left: -100%;
    /* start hidden off-screen */
    background: #28a745;
    color: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: left 0.5s ease;
    z-index: 9999;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

#successMessage i {
    font-size: 18px;
}



/* ---------------------------------------------------------------------------------------------------------------------------------------------------------
   📱 Media Queries for Responsiveness
-------------------------------------------------- */



/*MEDIA QUERY FOR BACKGROUND SECTION*/

/* === Circles Responsive Layout === */

/* Extra Large Monitors (≥2080px) */
/* === Extra Large Monitors (≥2080px) === */




@media (min-width: 2080px) {

    /* Maintain full-screen layout */
    #registration {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        /* logo beside form */
        height: 100vh;
        width: 100vw;
        padding: 80px 0;
        position: relative;
    }

    /* Keep overlay consistent */
    #registration::before {
        background: rgba(0, 0, 0, 0.5);
    }

    /* Logo positioning and size */
    .logo-container {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 120px 0 0;
        /* spacing between logo and form */
        margin-top: 480px;
        margin-left: 200px;
        position: relative;
        z-index: 2;
    }

    .logo-video {
        width: 400px;
        /* larger logo for big screens */
        height: auto;
        border-radius: 10%;
        object-fit: contain;
        filter: drop-shadow(0 0 25px rgba(0, 198, 255, 0.4));
        transition: transform 0.4s ease, filter 0.3s ease;
    }

    .logo-video:hover {
        transform: scale(1.05);
        filter: drop-shadow(0 0 40px rgba(0, 198, 255, 0.6));
    }

    /* Registration form beside logo */
    #registration form {
        max-width: 750px;
        padding: 3rem;
        margin: 0;
        /* side-by-side layout */
        background: rgba(30, 60, 114, 0.25);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 25px;
        box-shadow: 0 10px 30px rgba(0, 114, 255, 0.3), 0 8px 20px rgba(0, 198, 255, 0.25);
        transform: translateY(0);
        transition: all 0.4s ease;
        max-height: 600px;
        overflow-y: auto;
    }

    /* Hover animation for interactivity */
    #registration form:hover {
        transform: scale(1.02);
        box-shadow: 0 15px 40px rgba(0, 114, 255, 0.5), 0 10px 30px rgba(0, 198, 255, 0.4);
    }

    /* Inputs and labels scaling */
    #registration form input,
    #registration form select,
    #registration form textarea {
        font-size: 1.1rem;
        padding: 14px 0;
    }

    #registration form label {
        font-size: 1.1rem;
    }

    /* Button scaling */
    #registration form button {
        width: 30%;
        font-size: 18px;
        padding: 12px;
        border-radius: 30px;
        box-shadow: 0 8px 22px rgba(0, 114, 255, 0.4), 0 6px 15px rgba(0, 198, 255, 0.3);
    }

    #registration form button:hover {
        transform: scale(0.96);
        box-shadow: 0 12px 30px rgba(0, 114, 255, 0.6), 0 8px 22px rgba(0, 198, 255, 0.5);
    }

    /* Adjust headings */
    .contact-heading {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .contact-form h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 2079px) and (min-width: 1600px) {

    /* Maintain centered side-by-side layout */
    #registration {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        /* logo beside form */
        height: 100vh;
        width: 100vw;
        padding: 60px 0;
        position: relative;
    }

    /* Overlay consistency */
    #registration::before {
        background: rgba(0, 0, 0, 0.5);
    }

    /* Logo section */
    .logo-container {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 100px 0 0;
        /* slightly reduced spacing */
        margin-top: 400px;
        /* adjusted vertical positioning */
        margin-left: 40px;
        /* balanced left margin */
        position: relative;
        z-index: 2;
    }

    .logo-video {
        width: 340px;
        /* smaller than ultra-wide version */
        height: auto;
        border-radius: 10%;
        object-fit: contain;
        filter: drop-shadow(0 0 20px rgba(0, 198, 255, 0.35));
        transition: transform 0.4s ease, filter 0.3s ease;
    }

    .logo-video:hover {
        transform: scale(1.05);
        filter: drop-shadow(0 0 30px rgba(0, 198, 255, 0.5));
    }

    /* Registration form beside logo */
    #registration form {
        max-width: 700px;
        padding: 2.5rem;
        margin: 0;
        background: rgba(30, 60, 114, 0.22);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.22);
        border-radius: 22px;
        box-shadow: 0 8px 25px rgba(0, 114, 255, 0.3), 0 6px 18px rgba(0, 198, 255, 0.25);
        transform: translateY(0);
        transition: all 0.4s ease;
        max-height: 580px;
        overflow-y: auto;
    }

    /* Hover interaction */
    #registration form:hover {
        transform: scale(1.02);
        box-shadow: 0 12px 35px rgba(0, 114, 255, 0.45), 0 8px 25px rgba(0, 198, 255, 0.35);
    }

    /* Inputs and labels */
    #registration form input,
    #registration form select,
    #registration form textarea {
        font-size: 1.05rem;
        padding: 12px 0;
    }

    #registration form label {
        font-size: 1.05rem;
    }

    /* Buttons */
    #registration form button {
        width: 28%;
        font-size: 17px;
        padding: 11px;
        border-radius: 28px;
        box-shadow: 0 7px 20px rgba(0, 114, 255, 0.35), 0 5px 15px rgba(0, 198, 255, 0.25);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    #registration form button:hover {
        transform: scale(0.97);
        box-shadow: 0 10px 25px rgba(0, 114, 255, 0.5), 0 7px 20px rgba(0, 198, 255, 0.4);
    }

    /* Headings */
    .contact-heading {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .contact-form h4 {
        font-size: 1.15rem;
    }
}

@media (max-width: 1599px) and (min-width: 1440px) {

    /* Maintain full-screen layout */
    #registration {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        /* logo beside form */
        height: 100vh;
        width: 100vw;
        padding: 60px 0;
        position: relative;
    }

    /* Overlay consistency */
    #registration::before {
        background: rgba(0, 0, 0, 0.5);
    }

    /* Logo positioning and size */
    .logo-container {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 100px 0 0;
        /* spacing between logo and form */
        margin-top: 420px;
        margin-left: 10px;
        position: relative;
        z-index: 2;
    }

    .logo-video {
        width: 330px;
        height: auto;
        border-radius: 10%;
        object-fit: contain;
        filter: drop-shadow(0 0 20px rgba(0, 198, 255, 0.4));
        transition: transform 0.4s ease, filter 0.3s ease;
    }

    .logo-video:hover {
        transform: scale(1.05);
        filter: drop-shadow(0 0 35px rgba(0, 198, 255, 0.6));
    }

    /* Registration form beside logo */
    #registration form {
        max-width: 650px;
        padding: 2.8rem;
        margin: 0;
        background: rgba(30, 60, 114, 0.25);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 25px;
        box-shadow: 0 8px 25px rgba(0, 114, 255, 0.3), 0 6px 18px rgba(0, 198, 255, 0.25);
        transform: translateY(0);
        transition: all 0.4s ease;
        max-height: 580px;
        overflow-y: auto;
        margin-left: 130px;
    }

    #registration form:hover {
        transform: scale(1.02);
        box-shadow: 0 12px 35px rgba(0, 114, 255, 0.5), 0 8px 25px rgba(0, 198, 255, 0.4);
    }

    /* Inputs and labels */
    #registration form input,
    #registration form select,
    #registration form textarea {
        font-size: 1rem;
        padding: 12px 0;
    }

    #registration form label {
        font-size: 1rem;
    }

    /* Button styling */
    #registration form button {
        width: 35%;
        font-size: 16px;
        padding: 12px;
        border-radius: 30px;
        box-shadow: 0 8px 20px rgba(0, 114, 255, 0.4), 0 6px 15px rgba(0, 198, 255, 0.3);
    }

    #registration form button:hover {
        transform: scale(0.96);
        box-shadow: 0 12px 28px rgba(0, 114, 255, 0.6), 0 8px 22px rgba(0, 198, 255, 0.5);
    }

    /* Headings */
    .contact-heading {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }

    .contact-form h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 1439px) and (min-width: 1281px) {

    /* Maintain the same flex layout */
    #registration {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        /* logo beside form */
        height: 100vh;
        width: 100vw;
        padding: 50px 0;
        position: relative;
    }

    /* Overlay consistency */
    #registration::before {
        background: rgba(0, 0, 0, 0.5);
    }

    /* Logo container */
    .logo-container {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 90px 0 0;
        margin-top: 380px;
        margin-left: 40px;
        position: relative;
        z-index: 2;
    }

    .logo-video {
        width: 290px;
        height: auto;
        border-radius: 10%;
        object-fit: contain;
        filter: drop-shadow(0 0 18px rgba(0, 198, 255, 0.4));
        transition: transform 0.4s ease, filter 0.3s ease;
    }

    .logo-video:hover {
        transform: scale(1.05);
        filter: drop-shadow(0 0 30px rgba(0, 198, 255, 0.6));
    }

    /* Registration form styling */
    #registration form {
        max-width: 600px;
        padding: 2.5rem;
        margin: 0;
        background: rgba(30, 60, 114, 0.25);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 25px;
        box-shadow: 0 8px 22px rgba(0, 114, 255, 0.3), 0 6px 15px rgba(0, 198, 255, 0.25);
        transform: translateY(0);
        transition: all 0.4s ease;
        max-height: 560px;
        overflow-y: auto;
        margin-left: 140px;
    }

    #registration form:hover {
        transform: scale(1.02);
        box-shadow: 0 12px 30px rgba(0, 114, 255, 0.5), 0 8px 20px rgba(0, 198, 255, 0.4);
    }

    /* Inputs and labels */
    #registration form input,
    #registration form select,
    #registration form textarea {
        font-size: 0.95rem;
        padding: 11px 0;
    }

    #registration form label {
        font-size: 0.95rem;
    }

    /* Button */
    #registration form button {
        width: 38%;
        font-size: 15px;
        padding: 11px;
        border-radius: 28px;
        box-shadow: 0 6px 18px rgba(0, 114, 255, 0.4), 0 6px 15px rgba(0, 198, 255, 0.3);
    }

    #registration form button:hover {
        transform: scale(0.96);
        box-shadow: 0 12px 26px rgba(0, 114, 255, 0.6), 0 8px 22px rgba(0, 198, 255, 0.5);
    }

    /* Headings */
    .contact-heading {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }

    .contact-form h4 {
        font-size: 1rem;
    }
}

@media (max-width: 1279px) and (min-width: 1024px) {

    /* Maintain side-by-side layout */
    #registration {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        height: 100vh;
        width: 100vw;
        padding: 40px 0;
        position: relative;
    }

    /* Overlay consistency */
    #registration::before {
        background: rgba(0, 0, 0, 0.5);
    }

    /* Logo container positioning */
    .logo-container {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 70px 0 0;
        margin-top: 320px;
        margin-left: 50px;
        position: relative;
        z-index: 2;
    }

    .logo-video {
        width: 250px;
        /* slightly smaller */
        height: auto;
        border-radius: 10%;
        object-fit: contain;
        filter: drop-shadow(0 0 15px rgba(0, 198, 255, 0.4));
        transition: transform 0.4s ease, filter 0.3s ease;
    }

    .logo-video:hover {
        transform: scale(1.05);
        filter: drop-shadow(0 0 25px rgba(0, 198, 255, 0.6));
    }

    /* Registration form beside logo */
    #registration form {
        max-width: 520px;
        padding: 2rem;
        margin: 0;
        background: rgba(30, 60, 114, 0.25);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 22px;
        box-shadow: 0 8px 22px rgba(0, 114, 255, 0.3), 0 6px 15px rgba(0, 198, 255, 0.25);
        transform: translateY(0);
        transition: all 0.4s ease;
        max-height: 530px;
        overflow-y: auto;
        margin-left: 220px;
    }


    #registration form:hover {
        transform: scale(1.02);
        box-shadow: 0 12px 30px rgba(0, 114, 255, 0.5), 0 8px 20px rgba(0, 198, 255, 0.4);
    }

    /* Inputs and labels */
    #registration form input,
    #registration form select,
    #registration form textarea {
        font-size: 0.9rem;
        padding: 10px 0;
    }

    #registration form label {
        font-size: 0.9rem;
    }

    /* Button styling */
    #registration form button {
        width: 40%;
        font-size: 14px;
        padding: 10px;
        border-radius: 26px;
        box-shadow: 0 6px 18px rgba(0, 114, 255, 0.4), 0 6px 15px rgba(0, 198, 255, 0.3);
    }

    #registration form button:hover {
        transform: scale(0.96);
        box-shadow: 0 12px 26px rgba(0, 114, 255, 0.6), 0 8px 22px rgba(0, 198, 255, 0.5);
    }

    /* Headings */
    .contact-heading {
        font-size: 1.4rem;
        margin-bottom: 6px;
    }

    .contact-form h4 {
        font-size: 0.95rem;
    }
}


/* === Small Laptops / Tablets Landscape (10243px – 768px) === */
@media (max-width: 1023px) and (min-width: 768px) {

    /* Maintain centered side-by-side layout */
    #registration {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        height: 100vh;
        width: 100vw;
        padding: 40px 0;
        position: relative;
    }

    /* Keep overlay consistent */
    #registration::before {
        background: rgba(0, 0, 0, 0.5);
    }

    /* Logo positioning and scaling */
    .logo-container {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 50px 0 0;
        margin-top: 250px;
        margin-left: 10px;
        position: relative;
        z-index: 2;
    }

    .logo-video {
        width: 200px;
        /* smaller to fit tablets */
        height: auto;
        border-radius: 10%;
        object-fit: contain;
        filter: drop-shadow(0 0 12px rgba(0, 198, 255, 0.4));
        transition: transform 0.4s ease, filter 0.3s ease;
    }

    .logo-video:hover {
        transform: scale(1.05);
        filter: drop-shadow(0 0 22px rgba(0, 198, 255, 0.6));
    }

    /* Registration form */
    #registration form {
        max-width: 450px;
        padding: 1.8rem;
        margin: 0;
        background: rgba(30, 60, 114, 0.25);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 20px;
        box-shadow: 0 6px 18px rgba(0, 114, 255, 0.3), 0 5px 15px rgba(0, 198, 255, 0.25);
        transform: translateY(0);
        transition: all 0.4s ease;
        max-height: 480px;
        overflow-y: auto;
        margin-left: 200px;
    }

    #registration form:hover {
        transform: scale(1.02);
        box-shadow: 0 10px 25px rgba(0, 114, 255, 0.5), 0 8px 20px rgba(0, 198, 255, 0.4);
    }

    /* Inputs, labels, and fields */
    #registration form input,
    #registration form select,
    #registration form textarea {
        font-size: 0.85rem;
        padding: 9px 0;
    }

    #registration form label {
        font-size: 0.85rem;
    }

    /* Button adjustments */
    #registration form button {
        width: 45%;
        font-size: 13px;
        padding: 9px;
        border-radius: 24px;
        box-shadow: 0 5px 14px rgba(0, 114, 255, 0.4), 0 5px 12px rgba(0, 198, 255, 0.3);
    }

    #registration form button:hover {
        transform: scale(0.96);
        box-shadow: 0 10px 20px rgba(0, 114, 255, 0.6), 0 8px 18px rgba(0, 198, 255, 0.5);
    }

    /* Headings */
    .contact-heading {
        font-size: 1.3rem;
        margin-bottom: 6px;
    }

    .contact-form h4 {
        font-size: 0.9rem;
    }
}



/******GOOGLE STANDARD MEDIA QUERY RANGES******/
/* ✅ Small / short phones or landscape */
@media (max-width: 414px) and (min-height: 412px) {
 /* Registration container */
  #registration {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      min-height: 100vh;
      width: 100vw;
      padding: 20px 12px;
      box-sizing: border-box;
      overflow-x: hidden;
      position: relative;
      background-size: cover;
      background-position: center;
     
  }

  #registration::before {
      content: "";
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0, 0, 0, 0.55);
      z-index: 1;
  }

  /* FORM styling */
  #registration form {
      position: relative;
      z-index: 2;
      width: 85%;                    /* ✅ narrower for balanced spacing */
      max-width: 340px;
      margin: 40px auto;
      padding: 1.5rem;
     
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border: 1px solid rgba(255, 255, 255, 0.25);
      border-radius: 20px;
      transition: all 0.4s ease;
      transform: none;
      opacity: 1;

      /* ✅ Internal scroll for long forms */
      max-height: 80vh;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
       margin-top:115px;
  }

  /* Smooth entry animation */
  @keyframes register-enter {
      from {
          opacity: 0;
          transform: translateY(24px) scale(.98);
      }
      to {
          opacity: 1;
          transform: translateY(0) scale(1);
      }
  }
.contact-heading{
    font-size: 14px;
}
  #registration form.show {
      animation: register-enter 0.45s cubic-bezier(.22, .9, .35, 1) both;
  }
 #registration form::-webkit-scrollbar {
      width: 6px;                     /* thin scrollbar */
  }

  #registration form::-webkit-scrollbar-track {
      background: rgba(255, 255, 255, 0.1);  /* faint track */
      border-radius: 10px;
  }

  #registration form::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.8);  /* white thumb */
      border-radius: 10px;
  }

  #registration form::-webkit-scrollbar-thumb:hover {
      background: rgba(255, 255, 255, 1);    /* solid white on hover */
  }

  /* Firefox scrollbar color */
  #registration form {
      scrollbar-color: rgba(255, 255, 255, 0.8) rgba(255, 255, 255, 0.1);
      scrollbar-width: thin;
  }
  /* Logo */
  .logo-container {
      display: flex;
      justify-content: center;
      align-items: center;
      margin-top: 40px;
      position: relative;
      z-index: 2;
  }

  .logo-video {
      width: 130px;
      height: auto;
      object-fit: contain;
      border-radius: 10%;
      filter: drop-shadow(0 0 12px rgba(0, 198, 255, 0.4));
      transition: transform 0.3s ease, filter 0.3s ease;
  }

  .logo-video:hover {
      transform: scale(1.04);
      filter: drop-shadow(0 0 22px rgba(0, 198, 255, 0.6));
  }

  /* Inputs and button */
  #registration form input,
  #registration form select,
  #registration form textarea {
      font-size: 0.8rem;
      padding: 7px 6px;
      width: 100%;
      box-sizing: border-box;
  }

  #registration form button {
      width: 100%;
      font-size: 0.85rem;
      padding: 10px;
      margin-top: 14px;
      border-radius: 20px;
      box-shadow: 0 5px 14px rgba(0, 114, 255, 0.4),
                  0 5px 12px rgba(0, 198, 255, 0.3);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  #registration form button:hover {
      transform: scale(0.97);
      box-shadow: 0 10px 20px rgba(0, 114, 255, 0.6),
                  0 8px 18px rgba(0, 198, 255, 0.5);
  }

  html, body {
      overflow-x: hidden;
  }
}

@media (max-width: 599px) and (max-height: 667px) {

  /* Registration container */
  #registration {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      min-height: 100vh;
      width: 100vw;
      padding: 20px 12px;
      box-sizing: border-box;
      overflow-x: hidden;
      position: relative;
      background-size: cover;
      background-position: center;
     
  }

  #registration::before {
      content: "";
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0, 0, 0, 0.55);
      z-index: 1;
  }

  /* FORM styling */
  #registration form {
      position: relative;
      z-index: 2;
      width: 85%;                    /* ✅ narrower for balanced spacing */
      max-width: 340px;
      margin: 40px auto;
      padding: 1.5rem;
     
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border: 1px solid rgba(255, 255, 255, 0.25);
      border-radius: 20px;
      transition: all 0.4s ease;
      transform: none;
      opacity: 1;

      /* ✅ Internal scroll for long forms */
      max-height: 80vh;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
       margin-top:115px;
  }

  /* Smooth entry animation */
  @keyframes register-enter {
      from {
          opacity: 0;
          transform: translateY(24px) scale(.98);
      }
      to {
          opacity: 1;
          transform: translateY(0) scale(1);
      }
  }

  #registration form.show {
      animation: register-enter 0.45s cubic-bezier(.22, .9, .35, 1) both;
  }
 #registration form::-webkit-scrollbar {
      width: 6px;                     /* thin scrollbar */
  }

  #registration form::-webkit-scrollbar-track {
      background: rgba(255, 255, 255, 0.1);  /* faint track */
      border-radius: 10px;
  }

  #registration form::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.8);  /* white thumb */
      border-radius: 10px;
  }

  #registration form::-webkit-scrollbar-thumb:hover {
      background: rgba(255, 255, 255, 1);    /* solid white on hover */
  }

  /* Firefox scrollbar color */
  #registration form {
      scrollbar-color: rgba(255, 255, 255, 0.8) rgba(255, 255, 255, 0.1);
      scrollbar-width: thin;
  }
  /* Logo */
  .logo-container {
      display: flex;
      justify-content: center;
      align-items: center;
      margin-top: 40px;
      position: relative;
      z-index: 2;
  }

  .logo-video {
      width: 130px;
      height: auto;
      object-fit: contain;
      border-radius: 10%;
      filter: drop-shadow(0 0 12px rgba(0, 198, 255, 0.4));
      transition: transform 0.3s ease, filter 0.3s ease;
  }

  .logo-video:hover {
      transform: scale(1.04);
      filter: drop-shadow(0 0 22px rgba(0, 198, 255, 0.6));
  }

  /* Inputs and button */
  #registration form input,
  #registration form select,
  #registration form textarea {
      font-size: 0.8rem;
      padding: 7px 6px;
      width: 100%;
      box-sizing: border-box;
  }

  #registration form button {
      width: 100%;
      font-size: 0.85rem;
      padding: 10px;
      margin-top: 14px;
      border-radius: 20px;
      box-shadow: 0 5px 14px rgba(0, 114, 255, 0.4),
                  0 5px 12px rgba(0, 198, 255, 0.3);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  #registration form button:hover {
      transform: scale(0.97);
      box-shadow: 0 10px 20px rgba(0, 114, 255, 0.6),
                  0 8px 18px rgba(0, 198, 255, 0.5);
  }
.contact-heading{
    font-size: 14px;
}
  html, body {
      overflow-x: hidden;
  }
}

@media (max-width: 599px) and (min-height: 668px) and (max-height: 812px) {
/* Registration container */
  #registration {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      min-height: 100vh;
      width: 100vw;
      padding: 20px 12px;
      box-sizing: border-box;
      overflow-x: hidden;
      position: relative;
      background-size: cover;
      background-position: center;
     
  }

  #registration::before {
      content: "";
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0, 0, 0, 0.55);
      z-index: 1;
  }

  /* FORM styling */
  #registration form {
      position: relative;
      z-index: 2;
      width: 85%;                    /* ✅ narrower for balanced spacing */
      max-width: 340px;
      margin: 40px auto;
      padding: 1.5rem;
   
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border: 1px solid rgba(255, 255, 255, 0.25);
      border-radius: 20px;
      transition: all 0.4s ease;
      transform: none;
      opacity: 1;

      /* ✅ Internal scroll for long forms */
      max-height: 80vh;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
       margin-top:115px;
  }

  /* Smooth entry animation */
  @keyframes register-enter {
      from {
          opacity: 0;
          transform: translateY(24px) scale(.98);
      }
      to {
          opacity: 1;
          transform: translateY(0) scale(1);
      }
  }

  #registration form.show {
      animation: register-enter 0.45s cubic-bezier(.22, .9, .35, 1) both;
  }
 #registration form::-webkit-scrollbar {
      width: 6px;                     /* thin scrollbar */
  }
.contact-heading{
    font-size: 14px;
}
  #registration form::-webkit-scrollbar-track {
      background: rgba(255, 255, 255, 0.1);  /* faint track */
      border-radius: 10px;
  }

  #registration form::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.8);  /* white thumb */
      border-radius: 10px;
  }

  #registration form::-webkit-scrollbar-thumb:hover {
      background: rgba(255, 255, 255, 1);    /* solid white on hover */
  }

  /* Firefox scrollbar color */
  #registration form {
      scrollbar-color: rgba(255, 255, 255, 0.8) rgba(255, 255, 255, 0.1);
      scrollbar-width: thin;
  }
  /* Logo */
  .logo-container {
      display: flex;
      justify-content: center;
      align-items: center;
      margin-top: 40px;
      position: relative;
      z-index: 2;
  }

  .logo-video {
      width: 130px;
      height: auto;
      object-fit: contain;
      border-radius: 10%;
      filter: drop-shadow(0 0 12px rgba(0, 198, 255, 0.4));
      transition: transform 0.3s ease, filter 0.3s ease;
  }

  .logo-video:hover {
      transform: scale(1.04);
      filter: drop-shadow(0 0 22px rgba(0, 198, 255, 0.6));
  }

  /* Inputs and button */
  #registration form input,
  #registration form select,
  #registration form textarea {
      font-size: 0.8rem;
      padding: 7px 6px;
      width: 100%;
      box-sizing: border-box;
  }

  #registration form button {
      width: 100%;
      font-size: 0.85rem;
      padding: 10px;
      margin-top: 14px;
      border-radius: 20px;
      box-shadow: 0 5px 14px rgba(0, 114, 255, 0.4),
                  0 5px 12px rgba(0, 198, 255, 0.3);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  #registration form button:hover {
      transform: scale(0.97);
      box-shadow: 0 10px 20px rgba(0, 114, 255, 0.6),
                  0 8px 18px rgba(0, 198, 255, 0.5);
  }

  html, body {
      overflow-x: hidden;
  }
}


/* TEST VIEW PORT 500 * 966  ✅*/
/* ✅ Large or tall phones (new iPhones, Ultra phones) */
@media (max-width: 599px) and (min-height: 933px) and (max-height: 1000px) {

   /* Registration container */
  #registration {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      min-height: 100vh;
      width: 100vw;
      padding: 20px 12px;
      box-sizing: border-box;
      overflow-x: hidden;
      position: relative;
      background-size: cover;
      background-position: center;
     
  }

  #registration::before {
      content: "";
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0, 0, 0, 0.55);
      z-index: 1;
  }

  /* FORM styling */
  #registration form {
      position: relative;
      z-index: 2;
      width: 85%;                    /* ✅ narrower for balanced spacing */
      max-width: 340px;
      margin: 40px auto;
      padding: 1.5rem;
    
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border: 1px solid rgba(255, 255, 255, 0.25);
      border-radius: 20px;
      transition: all 0.4s ease;
      transform: none;
      opacity: 1;

      /* ✅ Internal scroll for long forms */
      max-height: 80vh;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
       margin-top:115px;
  }

  /* Smooth entry animation */
  @keyframes register-enter {
      from {
          opacity: 0;
          transform: translateY(24px) scale(.98);
      }
      to {
          opacity: 1;
          transform: translateY(0) scale(1);
      }
  }
.contact-heading{
    font-size: 14px;
}
  #registration form.show {
      animation: register-enter 0.45s cubic-bezier(.22, .9, .35, 1) both;
  }
 #registration form::-webkit-scrollbar {
      width: 6px;                     /* thin scrollbar */
  }

  #registration form::-webkit-scrollbar-track {
      background: rgba(255, 255, 255, 0.1);  /* faint track */
      border-radius: 10px;
  }

  #registration form::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.8);  /* white thumb */
      border-radius: 10px;
  }

  #registration form::-webkit-scrollbar-thumb:hover {
      background: rgba(255, 255, 255, 1);    /* solid white on hover */
  }

  /* Firefox scrollbar color */
  #registration form {
      scrollbar-color: rgba(255, 255, 255, 0.8) rgba(255, 255, 255, 0.1);
      scrollbar-width: thin;
  }
  /* Logo */
  .logo-container {
      display: flex;
      justify-content: center;
      align-items: center;
      margin-top: 40px;
      position: relative;
      z-index: 2;
  }

  .logo-video {
      width: 130px;
      height: auto;
      object-fit: contain;
      border-radius: 10%;
      filter: drop-shadow(0 0 12px rgba(0, 198, 255, 0.4));
      transition: transform 0.3s ease, filter 0.3s ease;
  }

  .logo-video:hover {
      transform: scale(1.04);
      filter: drop-shadow(0 0 22px rgba(0, 198, 255, 0.6));
  }

  /* Inputs and button */
  #registration form input,
  #registration form select,
  #registration form textarea {
      font-size: 0.8rem;
      padding: 7px 6px;
      width: 100%;
      box-sizing: border-box;
  }

  #registration form button {
      width: 100%;
      font-size: 0.85rem;
      padding: 10px;
      margin-top: 14px;
      border-radius: 20px;
      box-shadow: 0 5px 14px rgba(0, 114, 255, 0.4),
                  0 5px 12px rgba(0, 198, 255, 0.3);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  #registration form button:hover {
      transform: scale(0.97);
      box-shadow: 0 10px 20px rgba(0, 114, 255, 0.6),
                  0 8px 18px rgba(0, 198, 255, 0.5);
  }

  html, body {
      overflow-x: hidden;
  }
}

/*ANCHOR POINT (IPHONE 16 PRO MAX) ✅*/
@media (max-width: 430px) and (max-height: 932px) {

  /* Registration Container */
  #registration {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      min-height: 100vh;
      width: 100vw;
      padding: 16px 10px;
      box-sizing: border-box;
      overflow-x: hidden;
      position: relative;
      background-size: cover;
      background-position: center;
  }

  #registration::before {
      content: "";
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0, 0, 0, 0.55);
      z-index: 1;
  }

  /* Form styling */
  #registration form {
      position: relative;
      z-index: 2;
      width: 88%;                     /* slightly narrower for mobile thumb reach */
      max-width: 320px;
      margin: 70px auto 20px;
      padding: 1.2rem;
    
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border: 1px solid rgba(255, 255, 255, 0.25);
      border-radius: 18px;
      transition: all 0.4s ease;
      max-height: 78vh;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      top:30px;
  }

  /* Scrollbar styling */
  #registration form::-webkit-scrollbar {
      width: 5px;
  }

  #registration form::-webkit-scrollbar-track {
      background: rgba(255, 255, 255, 0.1);
      border-radius: 10px;
  }

  #registration form::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.75);
      border-radius: 10px;
  }

  #registration form::-webkit-scrollbar-thumb:hover {
      background: rgba(255, 255, 255, 0.9);
  }

  #registration form {
      scrollbar-color: rgba(255, 255, 255, 0.75) rgba(255, 255, 255, 0.1);
      scrollbar-width: thin;
  }

  /* Smooth entry animation */
  @keyframes register-enter {
      from {
          opacity: 0;
          transform: translateY(24px) scale(.96);
      }
      to {
          opacity: 1;
          transform: translateY(0) scale(1);
      }
  }

  #registration form.show {
      animation: register-enter 0.45s cubic-bezier(.22, .9, .35, 1) both;
  }

  /* Logo Section */
  .logo-container {
      display: flex;
      justify-content: center;
      align-items: center;
      margin-top: 20px;
      position: relative;
      z-index: 2;
  }

  .logo-video {
      width: 115px;
      height: auto;
      object-fit: contain;
      border-radius: 10%;
      filter: drop-shadow(0 0 10px rgba(0, 198, 255, 0.4));
      transition: transform 0.3s ease, filter 0.3s ease;
  }

  .logo-video:hover {
      transform: scale(1.04);
      filter: drop-shadow(0 0 20px rgba(0, 198, 255, 0.5));
  }

  /* Inputs and Buttons */
  #registration form input,
  #registration form select,
  #registration form textarea {
      font-size: 0.78rem;
      padding: 6px 5px;
      width: 100%;
      margin-bottom: 10px;
      box-sizing: border-box;
  }

  #registration form button {
      width: 100%;
      font-size: 0.82rem;
      padding: 9px;
      margin-top: 10px;
      border-radius: 18px;
      box-shadow: 0 4px 12px rgba(0, 114, 255, 0.4),
                  0 3px 10px rgba(0, 198, 255, 0.3);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  #registration form button:hover {
      transform: scale(0.97);
      box-shadow: 0 8px 16px rgba(0, 114, 255, 0.5),
                  0 6px 14px rgba(0, 198, 255, 0.4);
  }

  .contact-heading {
      font-size: 13px;
  }

  html, body {
      overflow-x: hidden;
  }
}



@media (max-width: 767px) and (min-width: 600px) and (max-height: 568px) {

   /* Registration container */
  #registration {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      min-height: 100vh;
      width: 100vw;
      padding: 20px 12px;
      box-sizing: border-box;
      overflow-x: hidden;
      position: relative;
      background-size: cover;
      background-position: center;
     
  }

  #registration::before {
      content: "";
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0, 0, 0, 0.55);
      z-index: 1;
  }

  /* FORM styling */
  #registration form {
      position: relative;
      z-index: 2;
      width: 85%;                    /* ✅ narrower for balanced spacing */
      max-width: 340px;
      margin: 40px auto;
      padding: 1.5rem;
    
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border: 1px solid rgba(255, 255, 255, 0.25);
      border-radius: 20px;
      transition: all 0.4s ease;
      transform: none;
      opacity: 1;

      /* ✅ Internal scroll for long forms */
      max-height: 80vh;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
       margin-top:115px;
  }

  /* Smooth entry animation */
  @keyframes register-enter {
      from {
          opacity: 0;
          transform: translateY(24px) scale(.98);
      }
      to {
          opacity: 1;
          transform: translateY(0) scale(1);
      }
  }

  #registration form.show {
      animation: register-enter 0.45s cubic-bezier(.22, .9, .35, 1) both;
  }
 #registration form::-webkit-scrollbar {
      width: 6px;                     /* thin scrollbar */
  }

  #registration form::-webkit-scrollbar-track {
      background: rgba(255, 255, 255, 0.1);  /* faint track */
      border-radius: 10px;
  }

  #registration form::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.8);  /* white thumb */
      border-radius: 10px;
  }

  #registration form::-webkit-scrollbar-thumb:hover {
      background: rgba(255, 255, 255, 1);    /* solid white on hover */
  }

  /* Firefox scrollbar color */
  #registration form {
      scrollbar-color: rgba(255, 255, 255, 0.8) rgba(255, 255, 255, 0.1);
      scrollbar-width: thin;
  }
  /* Logo */
  .logo-container {
      display: flex;
      justify-content: center;
      align-items: center;
      margin-top: 40px;
      position: relative;
      z-index: 2;
  }

  .logo-video {
      width: 130px;
      height: auto;
      object-fit: contain;
      border-radius: 10%;
      filter: drop-shadow(0 0 12px rgba(0, 198, 255, 0.4));
      transition: transform 0.3s ease, filter 0.3s ease;
  }

  .logo-video:hover {
      transform: scale(1.04);
      filter: drop-shadow(0 0 22px rgba(0, 198, 255, 0.6));
  }

  /* Inputs and button */
  #registration form input,
  #registration form select,
  #registration form textarea {
      font-size: 0.8rem;
      padding: 7px 6px;
      width: 100%;
      box-sizing: border-box;
  }

  #registration form button {
      width: 100%;
      font-size: 0.85rem;
      padding: 10px;
      margin-top: 14px;
      border-radius: 20px;
      box-shadow: 0 5px 14px rgba(0, 114, 255, 0.4),
                  0 5px 12px rgba(0, 198, 255, 0.3);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  #registration form button:hover {
      transform: scale(0.97);
      box-shadow: 0 10px 20px rgba(0, 114, 255, 0.6),
                  0 8px 18px rgba(0, 198, 255, 0.5);
  }

  html, body {
      overflow-x: hidden;
  }
}