@charset "UTF-8";
/* CSS Document */

/* About Me and Contact Form Layout */
#section4 .innersection {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Adds spacing between columns */
    justify-content: space-between;
    align-items: flex-start; /* Align items to the top */
}

#section4 .innersection > div {
    flex: 1; /* Allows the divs to grow/shrink equally */
    min-width: 300px; /* Ensures the columns don't get too narrow */
	padding-bottom: 0px;
}


        .contact-form {
			margin-left: 80px;
            background: #fff;
            padding: 10px;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
            width: 100%;
            max-width: 400px;
            position: relative;
        }

        .contact-form h2 {
			font-weight: bold;
			margin-top: 20px;
            margin-bottom: 10px;
            font-size: 24px;
            color: #333;
        }

        .contact-form label {
            display: block;
            margin-bottom: 8px;
            font-weight: bold;
            color: #555;
			text-align: left;
        }

       .contact-form input,
        .contact-form textarea {
            width: 96%;
            padding: 10px 0 10px 10px;
            margin-bottom: 20px;
            border: 1px solid #ccc;
            border-radius: 4px;
            font-size: 16px;
			text-align: left;
        }

        .contact-form textarea {
            resize: vertical;
            min-height: 100px;
        }

        .contact-form button {
            width: 100%;
            padding: 10px;
            border: none;
            border-radius: 4px;
            background-color: #007BFF;
            color: #fff;
            font-size: 16px;
            cursor: pointer;
        }

        .contact-form button:hover {
            background-color: #0056b3;
        }

        .progress-bar {
            position: absolute;
            top: 0;
            left: 0;
            width: 0;
            height: 5px;
            background-color: #007BFF;
            transition: width 0.2s;
        }

        .spinner {
            display: none;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            border: 4px solid #f3f3f3;
            border-top: 4px solid #007BFF;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% {
                transform: translate(-50%, -50%) rotate(0deg);
            }
            100% {
                transform: translate(-50%, -50%) rotate(360deg);
            }
        }

        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            justify-content: center;
            align-items: center;
        }

        .modal-content {
            background: white;
            padding: 20px;
            border-radius: 8px;
            text-align: center;
            width: 300px;
            max-width: 80%;
        }

        .modal-content p {
            margin: 0 0 20px;
        }

        .modal-content button {
            padding: 10px 20px;
            border: none;
            border-radius: 4px;
            background-color: #007BFF;
            color: white;
            cursor: pointer;
        }

        .modal-content button:hover {
            background-color: #0056b3;
        }
@media (max-width: 1100px) {
	.contact-form { margin-bottom: 80px;
		
	} 
}