﻿
.base-color {
    background-color: #2663eb;
}
/* Form Section */
section {
    background-color: #202020;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

    .form-group label {
        font-size: 0.875rem;
        font-weight: 500;
        color: #333;
        display: block;
        margin-bottom: 0.5rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 1rem;
        margin-top: 0.5rem;
        border: 1px solid #ccc;
        border-radius: 0.375rem;
        box-sizing: border-box;
        font-size: 1rem;
        background-color: white;
        color: #333;
        transition: border 0.3s ease, box-shadow 0.3s ease;
    }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #3498db;
            box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.5);
        }

    .form-group textarea {
        resize: vertical;
    }

    /* Submit Button */
    .form-group button {
        background-color: #e74c3c;
        color: white;
        padding: 1rem 2rem;
        font-size: 1.125rem;
        font-weight: 600;
        border: none;
        border-radius: 9999px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

        .form-group button:hover {
            background-color: #c0392b;
        }

/* Responsive Styles */
@media (max-width: 640px) {
    .container {
        padding: 10px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.875rem;
        padding: 0.75rem;
    }

    .form-group button {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
}


/* Fixed Call Button Styling */
.fixed-call-button {
    position: fixed;
    bottom: 20px; /* Distance from the bottom of the screen */
    left: 50%; /* Centers the button horizontally */
    transform: translateX(-50%); /* Adjusts for perfect horizontal alignment */
    background-color: #2663eb; /* Black background */
    color: #ffffff; /* White text color */
    font-size: 22px; /* Slightly larger font size for visibility */
    padding: 20px 30px; /* Adjust padding for height and width */
    border-radius: 50px; /* Rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Shadow for better visibility */
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    z-index: 1000; /* Ensures the button stays on top of other elements */
    width: 90%; /* Occupies 90% of the screen width */
    max-width: 500px; /* Limits the width to a maximum of 500px */
    transition: background-color 0.3s ease;
    overflow: hidden; /* Ensures the animation stays within the button */
    position: fixed;
}

/* Thunder Effect Animation */
.fixed-call-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%; /* Start off-screen */
    width: 200%; /* Span across the button for smooth animation */
    height: 100%; /* Matches the button height */
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 70%);
    animation: thunder-effect 2s infinite ease-in-out;
    transform: skewX(-30deg); /* Creates a diagonal wave effect */
    border-radius: 50px; /* Matches the button's rounded corners */
}

/* Keyframe for thunder effect animation */
@keyframes thunder-effect {
    0% {
        left: -100%; /* Start off-screen on the left */
    }

    100% {
        left: 100%; /* Move off-screen to the right */
    }
}

/* Hover effect */
.fixed-call-button:hover {
    background-color: #444444; /* Darker shade on hover */
}

    /* Stop the effect on hover */
    .fixed-call-button:hover::before {
        animation-play-state: paused;
    }

/* Mobile-specific styles */
@media screen and (max-width: 650px) {
    .fixed-call-button {
        bottom: 10px; /* Adjust bottom margin for smaller screens */
        font-size: 18px; /* Adjust font size for better fit */
        padding: 15px 20px; /* Reduce padding for smaller screens */
    }
}



