    * {
        box-sizing: border-box;
    }
    
    body {
        overflow-x: hidden;
    }
    img {
        max-width: 100%;
        height: auto;
    }
    .container {
        /*width: 100%;*/
        overflow-x: hidden;
    }
    
    .flex-container {
        display: flex;
        flex-wrap: wrap;
    }
    
    .flex-item {
        flex: 1;
        min-width: 0;
    }
    .error-message{
        color:Red;
    }
    .outer.page-header {
            background-color: #fff;
            padding: 5px 0;
            border-bottom: 1px solid #ddd;
        }
        .page-header{
            position: absolute;
        }

        .navbar-brand img {
            max-height: 50px;
        }

        .navbar-nav > li > a {
            padding: 15px 20px;
            font-size: 16px;
        }

        .social-nav {
            display: flex;
            align-items: center;
            padding: 0 20px;
        }

        .social-nav a {
            margin-left: 10px;
            font-size: 20px;
            color: #333;
        }
        .banner {
            margin-top: 68px;
            position: relative;
            background-image: url('../images/invest-plan-advisor.jpg');
            background-size: cover;
            background-position: center;
            height: 550px; 
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center; 
            padding: 0 50px; 
            color: white;
            z-index: 1;
        }
        
        .banner::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.4); 
            z-index: 1; 
        }
        
        .banner-content {
            display: flex;
            justify-content: space-between;
            width: 100%;
            max-width: 1200px;
            z-index: 2;
        }
        
        .banner-text {
            max-width: 50%; 
            padding: 20px;
            color: white;
            animation: fadeInLeft 1s ease-out;
        }
        
        .banner-text h1 {
            margin: 55px 0 15px;
            font-size: 3.5rem;
            color: #fff;
            animation: slideInLeft 1s ease-out;
        }
        
        .banner-text p {
            font-size: 1.25rem;
            line-height: 1.5;
        }
        
        .signup-form {
            width: 300px;
            padding: 20px;
            background-color: #ffffffcc;
            border-radius: 12px;
            box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
            text-align: left;
            opacity: 0;
            transform: translateX(-100%);
            transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
        }
        
        .signup-form.animate {
            opacity: 1;
            transform: translateX(0);
        }
        
        .signup-form h2 {
            margin: 0 0 0px;
            font-size: 15px;
            color: #333;
        }
        
        .signup-form input, .signup-form select {
            width: calc(100% - 16px); 
            height: 36px; 
            padding: 0 8px; 
            border: 1px solid #ddd;
            border-radius: 7px;
            color: black;
            outline: none;
            transition: border-color 0.3s ease;
        }
        
        .signup-form input:hover, .signup-form select:hover {
            border-color: #007bff; 
        }
        
        .signup-form button {
            margin-top: 15px;
            width: 100%;
            height: 36px; 
            border: none;
            background-color: #e94055;
            color: white;
            border-radius: 20px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }
        
        .signup-form button:hover {
            background-color: #d51930; 
        }
        
        .form-group {
            margin-bottom: 10px;
        }

        .form-row {
            display: flex;
            gap: 10px; 
            margin-bottom: 10px;
        }

        .form-group-half {
            flex: 1;
        }

        .form-group-half input, .form-group-half select {
            width: 86%; 
            border-radius: 8px;
            padding-left: 12px;
        }

        .city-input-container {
            position: relative;
        }

        .city-input-container select {
            position: absolute;
            right: 0;
            top: 0;
            height: 100%;
            width: 35%;
            border: 1px solid #ddd;
            border-radius: 20px;
            background-color: #fff;
            padding: 0;
            margin: 0;
            opacity: 0.7;
        }

        .city-input-container input {
            /* padding-right: 40%;  */
        }
        
        .section-heading {
            text-align: left;
            margin: 40px 0;
            color:#c41f1f;
        }
        .section-heading h2{
           font-size:2.5rem;
        }

        .text-section {
            margin: 20px 0;
        }

        .widget-container {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            justify-content: center;
            padding-bottom:80px;
        }

        .widget {
            width: 300px;
            padding: 20px;
            background-color: #f9f9f9;
            border-radius: 12px;
            box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
            text-align: center;
            opacity: 0;
            transform: translateX(100%);
            transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
        }

        .widget.animate {
            opacity: 1;
            transform: translateY(0);
            z-index:-1;
        }

        .widget i {
            font-size: 40px;
            color: #e94055;
            margin-bottom: 10px;
        }

        .widget h3 {
            margin: 10px 0;
            font-size: 1.25rem;
            color: #333;
        }

        .widget p {
            color: #666;
        }

        .text-section ul {
            list-style-type: disc;
            padding-left: 20px;
        }

        .text-section ul li {
            margin: 10px 0;
        }

        .fade-in {
            animation: fadeIn 1s ease-in-out forwards;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }
        
        /* Responsive Styles */
@media (max-width: 768px) {
    .banner-content {
        flex-direction: column;
        align-items: center;
    }
    .banner {
        height: 735px !important;
    }
    .heading {
        font-size: 25px !important;
    }

    .banner-text h1 {
        font-size: 1.75rem;
    }

    .banner-text p {
        font-size: 0.875rem;
    }
    .banner-text {
        max-width: 100%;
    }
    .signup-form {
        width: 90%;
        padding: 15px; 
        height: auto;
        margin-bottom:15px;
    }
    .signup-form h2 {
        font-size: 1.1rem; 
        margin-bottom: 10px;
    }

    .signup-form input, .signup-form select, .signup-form button {
        height: 32px; 
        font-size: 0.9rem;
    }

    .signup-form button {
        height: 32px;
        border-radius: 15px;
    }
}

@media (max-width: 480px) {
    .banner-text h1 {
        font-size: 1.5rem; 
    }
    .banner {
        height: 760px;
    }
        .heading {
        font-size: 21px !important;
    }
    .banner-text p {
        font-size: 0.75rem;
    }
    .h3 {
        font-size: 20px
    }

    .signup-form {
        width: 100%;
        margin-bottom: 45px;
    }
    .banner-text {
        max-width: 100%;
        padding: 0px;
    }
     .signup-form h2 {
        font-size: 1rem; 
        margin-bottom: 5px;
    }

    .signup-form input, .signup-form select, .signup-form button {
        height: 28px; 
        font-size: 0.8rem; 
    }

    .signup-form button {
        height: 28px; 
        border-radius: 10px; 
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}