/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-image:linear-gradient(to top,red,white,blue);
}

header {
    background-color: #333;
    color: #fff;
    padding: 10px 0;
}

header nav ul {
    list-style: none;
    text-align: center;
}

header nav ul li {
    display: inline;
    margin-right: 20px;
}
header nav ul li:hover {
   background-color: green;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}
.sig{
    background-image:linear-gradient(to left,blue,white,red);
    border-radius: 25%;
    color:black;
}
.log{
    background-color: green;
    border-radius: 25%;
}
.hero {
    background-color: #007bff;
    color: #fff;
    padding: 50px 20px;
    text-align: center;
}

.features {
    display: flex;
    justify-content: space-around;
    padding: 40px 20px;
    background-color: #f4f4f4;
}
.features2{
    display: flex;
    justify-content: space-around;
    padding: 40px 20px;
    
}

.feature {
    width: 30%;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: #fff;
}
.search{
   border-radius: 50% 0% 50% 0%;
   text-align: center;
   border-style: none;
   outline: 0;
}
        /* Section container */
        .section-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 40px;
            /* background-color: #fff; */
            
            margin: 20px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        /* Image styles */
        .image-container {
            flex: 1;
            max-width: 45%;
        }

        .image-container img {
            width: 100%;
            height: auto;
            border-radius: 8px;
        }

        /* Text Box styles */
        .text-container {
            flex: 1;
            padding: 20px;
            margin-left: 20px;
            background-color:black;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            border: 5px solid;
            border-image: linear-gradient(45deg, #ff6f61, #ff9800, #8bc34a,red,yellow,blue) 1;
        }

        .text-container h2 {
            color: blue;
            margin-bottom: 20px;
            text-align: center;
        }

        .text-container p {
            color: white;
            line-height: 1.6;
        }
        .container {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100%;
        }
        
        .form-container {
            background-color: #fff;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            width: 350px;
            transition: transform 0.3s ease-in-out;
            box-sizing: border-box;
        }
        
        .form-container .form {
            display: none;
        }
        
        .form-container button {
            background-color: #007bff;
            color: #fff;
            border: none;
            padding: 10px;
            width: 100%;
            cursor: pointer;
            margin-top: 10px;
            transition: background-color 0.3s;
        }
        
        .form-container button:hover {
            background-color: #0056b3;
        }
        
        .form-container input {
            width: 100%;
            padding: 10px;
            margin: 10px 0;
            border: 1px solid #ddd;
            border-radius: 5px;
            box-sizing: border-box;
        }
        
        footer {
            background-color: #1e1e1e;
            color: #fff;
            padding: 30px 20px;
            text-align: center;
            margin-top: 1%;
        }

        footer .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        footer p {
            margin: 10px 0;
            font-size: 14px;
        }

        footer a {
            color: #fff;
            margin: 0 15px;
            text-decoration: none;
            font-size: 14px;
        }

        footer a:hover {
            text-decoration: underline;
        }

        footer .social-links {
            margin-top: 15px;
        }

        footer .social-links a {
            margin: 0 10px;
        }

        footer .footer-note {
            margin-top: 20px;
            font-size: 12px;
            color: #bbb;
        }

        /* Logo styling */
        footer .footer-logo {
            max-width: 200px;
            margin-bottom: 20px;
        }
        /* form {
            background-color: #fff;
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            max-width: 400px;
            width: 100%;
            animation: fadeIn 1s ease-out;
            margin-left: 30%;
            margin-top: 2%;
        }
        
        /* Input Fields */
        input[type="text"],
        input[type="email"],
        input[type="password"] {
            width: 100%;
            padding: 12px;
            margin: 8px 0;
            border: 1px solid #ccc;
            border-radius: 4px;
            font-size: 16px;
            box-sizing: border-box;
            transition: all 0.3s ease;
        }
        .sub{
            width:10px;
        }
        input[type="text"]:focus,
        input[type="email"]:focus,
        input[type="password"]:focus {
            border-color: #4CAF50;
            outline: none;
            box-shadow: 0 0 8px rgba(72, 191, 119, 0.6);
        } */
        
        /* Labels */
        label {
            font-weight: bold;
            display: block;
            margin-bottom: 5px;
            color: #555;
        }
        
        /* Submit Button */
        /* button[type="submit"] {
            background-color: #4CAF50;
            color: white;
            border: none;
            padding: 12px;
            width: 100%;
            border-radius: 4px;
            font-size: 16px;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        
        button[type="submit"]:hover {
            background-color: #45a049;
        }
        
        button[type="submit"]:active {
            background-color: #3e8e41;
        } */
        .slider-container {
            position: relative;
            width: 100%;
            max-width: 900px;
            margin: 50px auto;
            overflow: hidden;
            border-radius: 10px;
        }
        
        .slider-wrapper {
            display: flex;
            transition: transform 0.5s ease;
        }
        
        .slide {
            min-width: 100%;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background-color: #fff;
            padding: 20px;
            text-align: center;
        }
        
        .image-container img {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            margin-bottom: 20px;
        }
        
        .text-container h2 {
            font-size: 28px;
            color:blue;
            margin-bottom: 10px;
        }
        
        .text-container p {
            font-size: 16px;
            color:white;
            line-height: 1.6;
        }
        
        /* PDF Link Section */
        .pdf-container {
            margin-top: 20px;
        }
        
        .pdf-link {
            font-size: 18px;
            color: #007bff;
            text-decoration: none;
            padding: 10px 15px;
            border: 1px solid #007bff;
            border-radius: 5px;
            transition: background-color 0.3s ease;
        }
        
        .pdf-link:hover {
            background-color: #007bff;
            color: #fff;
        }
        
        /* PDF Preview */
        .pdf-preview {
            margin-top: 20px;
            width: 100%;
            height: 400px;
            display: none;
        }
        
        /* Navigation Arrows */
        button {
            position: absolute;
            top: 50%;
            background-color: rgba(0, 0, 0, 0.5);
            color: #fff;
            border: none;
            font-size: 24px;
            padding: 10px;
            cursor: pointer;
            z-index: 10;
            border-radius: 50%;
            transform: translateY(-50%);
        }
        
        button:hover {
            background-color: rgba(0, 0, 0, 0.8);
        }
        
        .prev {
            left: 10px;
        }
        
        .next {
            right: 10px;
        }
        .submit-btn {
            width: 100px;
            padding: 12px;
            background-color: #007bff;
            color: white;
            border: none;
            border-radius: 5px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
            margin-top: 155px;
        }
        
        /* Hover and Focus Effects for the Submit Button */
        .submit-btn:hover {
            background-color: #0056b3;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
            transform: translateY(-3px);
        }
        
        .submit-btn:focus {
            outline: none;
            background-color: #004085;
        }
        
        /* Button Animation: Pulse Effect */
        .submit-btn {
            animation: pulse 2s infinite ease-in-out;
        }
        
        


/* Responsive Styles using Media Queries */

/* For tablets and below (max width 768px) */
@media (max-width: 768px) {
    body{
        background-image:linear-gradient(to top,yellow,white,yellow);
    }
    .features,
    .features2 {
        flex-direction: column;
        align-items: center;
    }

    .feature {
        width: 80%;
        margin-bottom: 20px;
    }

    .section-container {
    flex-direction: column;
    text-align: center;
}

   .text-container {
    margin-left: 0;
    margin-top: 20px;
}
.form-container {
    width: 80%; /* More responsive on smaller screens */
    padding: 20px;
}

.form-container button,
.form-container input {
    font-size: 14px; /* Adjust font size on smaller screens */
}

footer {
    padding: 20px 10px;
}

footer .footer-content {
    padding: 0 10px;
}

footer .social-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

footer .social-links a {
    margin: 10px 0;
}

footer p {
    font-size: 12px;
}

footer .footer-logo {
    max-width: 150px;
    margin-bottom: 10px;
}

.form-container .form {
    padding: 10px;
}
form {
    width: 90%;
    padding: 20px;
}

/* button[type="submit"] {
    padding: 14px;
} */
.submit-btn {
    font-size: 14px;
    padding: 10px;
}

}


/* For mobile devices (max width 480px) */
@media (max-width: 480px) {
    body{
        background-image:linear-gradient(to top,blue,white,blue);
    }
    header nav ul li {
        display: block;
        margin: 10px 0;
    }

    .hero {
        padding: 30px 20px;
    }

    .features,
    .features2 {
        padding: 20px 10px;
    }

    .feature {
        width: 90%;
    }
    .form-container {
        width: 90%; /* Even smaller width for very small screens */
    }

    .form-container input {
        padding: 12px; /* Slightly bigger input fields on smaller screens */
    }

    .form-container button {
        padding: 12px; /* Larger buttons */
        font-size: 16px;
    }
    footer p {
        font-size: 11px;
    }

    footer .social-links a {
        font-size: 12px;
    }

    footer .footer-logo {
        max-width: 120px;
    }
    form{
        margin-left: 10px;
    }
    .submit-btn{
        margin-top: 340px;
    }
    
}
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

/* Error Message Styling */
.alert {
    color: #ff4d4d;
    font-size: 14px;
    margin-top: 10px;
}

/* Password mismatch error shake animation */
input:invalid {
    animation: shake 0.3s ease-in-out;
}
@keyframes pulse {
    0% {
        transform: scale(1);
        background-color: #007bff;
    }
    50% {
        transform: scale(1.1);
        background-color: #0056b3;
    }
    100% {
        transform: scale(1);
        background-color: #007bff;
    }
}
