.professional-brand {
    font-family: 'Poppins', sans-serif;
    /* Modern sans-serif font */
    font-size: 2rem;
    /* Large and bold font size for prominence */
    font-weight: 800;
    /* Extra bold weight for impact */
    color: #2c3e50;
    /* Dark, elegant color */
    text-transform: capitalize;
    /* Capitalize each word for sophistication */
    letter-spacing: 0.5px;
    /* Slight letter spacing for clarity */
    position: relative;
    /* Enable pseudo-element styling */
}

.professional-brand::after {
    content: '';
    /* Decorative underline */
    display: block;
    width: 50%;
    /* Underline spans 50% of the text */
    height: 3px;
    /* Thin underline */
    background: linear-gradient(to right, #481fff, #34d399);
    /* Gradient color */
    margin: 5px auto 0;
    /* Centered and spaced below text */
    transition: width 0.3s ease;
    /* Smooth expansion effect */
}

.professional-brand:hover::after {
    width: 100%;
    /* Expand underline on hover */
}

.professional-brand:hover {
    color: #481fff;
    /* Subtle green color on hover */
    text-shadow: 0 3px 10px rgba(78, 156, 129, 0.4);
    /* Soft glowing shadow */
    transition: color 0.3s ease, text-shadow 0.3s ease;
    /* Smooth hover effect */
}

body {
    background: linear-gradient(to bottom right, #f8f9fa, #198cff);
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
    color: #212529;
}

@keyframes popupAnimation {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.form-container {
    background: #ffffff;
    border-radius: 10px;
    padding: 40px;
    margin-top: -80px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
    animation: popupAnimation 0.5s ease-in-out; /* Add this line */
}
.hah{
    
    background: url('bg2.png') no-repeat center center; 
    background-size: cover;
}
.form-container input,
.form-container .dropdown-toggle {
    font-size: 1.25rem;
    /* Increased font size */
    padding: 0.75rem;
    /* Increased padding */
    height: auto;
    /* Ensure proper height with padding */
    border-radius: 8px;
    /* Rounded inputs for better aesthetics */
}

.form-container .form-label {
    font-size: 1.2rem;
    /* Increased font size for labels */
    font-weight: 600;
}

.register-btn {
    background: linear-gradient(to right, #481fff, #34d399);
    font-size: 1.5rem;
    /* Increased button font size */
    font-weight: bold;
    color: white;
    transition: background 0.3s ease;
    padding: 1rem;
    /* Increased button padding */
}

.register-btn:hover {
    background: linear-gradient(to left, #481fff, #34d399);
    color: white;
}

.dynamic-title {
    font-size: 3rem;
    /* Increased title size */
    font-weight: 900;
    color: #481fff;
    text-align: center;
    margin-top: 100px;
}

/* Adjustments for input groups */
.input-group {
    margin-bottom: 1.5rem;
    /* Increased spacing between inputs */
}

.input-group-text {
    background-color: #f0f4f2;
    border-radius: 8px 0 0 8px;
    font-size: 1.25rem;
    /* Match input font size */
    padding: 0.75rem;
}

/* Country select styles */
.country-select {
    position: relative;
    min-width: 100px;
}

.country-select .dropdown-toggle {
    font-size: 1.25rem;
    /* Match input font size */
    padding: 0.75rem;
    border-radius: 8px;
}

.country-select .dropdown-menu {
    width: auto;
    min-width: 300px;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ced4da;
    border-radius: 8px;
}

.country-option {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.country-option:hover {
    background-color: #e9f7f1;
}

.country-option img {
    width: 20px;
    margin-right: 10px;
}

.selected-flag {
    width: 20px;
    margin-right: 8px;
}

@media (max-width: 768px) {
    .form-container {
        padding: 20px;
    }

    .dynamic-title {
        font-size: 2.5rem;
    }

    .form-container input,
    .form-container .dropdown-toggle {
        font-size: 1rem;
        padding: 0.5rem;
    }

    .register-btn {
        font-size: 1.25rem;
        padding: 0.75rem;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* Section Styles */
.feature-icon {
    width: 40px;
    height: 40px;
    background-color: #e9f7f1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #481fff;
    transition: background-color 0.3s ease;
}

.feature-icon:hover {
    background-color: #c1e7d9;
}

.feature-item {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
}

.process-step {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
}

.process-step h2 {
    font-size: 2rem;
    color: #481fff;
    margin-bottom: 15px;
}

.process-step h5 {
    color: #481fff;
    margin-bottom: 10px;
}

.btn-primary {
    background-color: #481fff;
    border-color: #481fff;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #34d399;
    border-color: #34d399;
}

footer {
    background-color: #481fff;
}

footer p {
    margin: 0;
    font-size: 1rem;
}

/* Error Message Styles */
#errorMsg {
    font-size: 0.9rem;
}