/* Typography */
h1, h2, h3 {
    color: #2c3e50;
    font-family: 'Arial', sans-serif;
    margin-bottom: 10px;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.2rem;
}

/* Buttons */
.cta-button {
    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: #2980b9;
    transform: scale(1.05);
}

/* General Body Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
    padding-top: 75px; /* Set padding equal to header height */
    box-sizing: border-box;
}

/* Main Content */
main {
    padding: 10px;
    min-height: calc(100vh - 90px); /* Adjust for header/footer */
}

/* Links */
a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2980b9;
}

/* Form Elements */
input, textarea, select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

input:focus, textarea:focus, select:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

button {
    background-color: #3498db;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #2980b9;
    transform: scale(1.05);
}

/* Lists */
ul, ol {
    margin: 20px 0;
    padding-left: 20px;
}

li {
    margin-bottom: 10px;
}


/* Contact Form Section */
/* Main Contact Form Section */
.contact-form {
    background: linear-gradient(to right, #d3cce3, #e9e4f0); /* Gradient background */
    padding: 80px 0;
    text-align: center;
    font-family: 'Lora', serif;
    min-height: 100vh;
}

.contact-form .form-container {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 40px 50px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
}

.contact-form .form-container:hover {
    transform: translateY(-10px); /* 3D hover effect */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 15px 25px rgba(0, 0, 0, 0.05);
}

.contact-form h2 {
    font-size: 36px;
    color: #5d3f6d;
    margin-bottom: 30px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-form .form-group {
    margin-bottom: 25px;
    text-align: left;
}

.contact-form label {
    font-size: 18px;
    color: #5d3f6d;
    font-weight: bold;
    margin-bottom: 8px;
    display: inline-block;
    transition: color 0.3s ease;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px;
    margin-top: 6px;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    font-size: 16px;
    color: #333;
    background: #f4f4f4;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Focus effect (3D border effect) */
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #5d3f6d;
    box-shadow: 0 0 10px rgba(93, 63, 109, 0.2);
    outline: none;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form button.cta-button {
    background: linear-gradient(45deg, #5d3f6d, #8a5c9b);
    color: white;
    padding: 16px 30px;
    border: none;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease, transform 0.3s ease;
}

/* Hover effect on submit button */
.contact-form button.cta-button:hover {
    background: linear-gradient(45deg, #8a5c9b, #5d3f6d);
    transform: scale(1.1);
}

.contact-form button.cta-button:active {
    transform: scale(1.05); /* Slight scale when clicked */
}

.success-message, .error-message {
    text-align: center;
    padding: 25px;
    margin: 30px auto;
    border-radius: 12px;
    width: 50%;
    font-family: 'Lora', serif;
    font-size: 18px;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease-out;
}

/* Success Message Styling */
.success-message {
    background-color: #4CAF50;
    animation: slideInFromBottom 1s ease-out;
}

/* Error Message Styling */
.error-message {
    background-color: #f44336;
    animation: slideInFromBottom 1s ease-out;
}

/* Keyframes for fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Keyframes for sliding in from bottom */
@keyframes slideInFromBottom {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}






/* Responsive Design */
@media only screen and (max-width: 768px) {
    body {
        font-size: 0.9rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    .cta-button {
        font-size: 0.9rem;
        padding: 8px 16px;
    }

    input, textarea, select {
        font-size: 0.9rem;
    }
}
 .contact-form .form-container {
        padding: 20px;
    }

    .contact-form h2 {
        font-size: 28px;
    }

    .contact-form label {
        font-size: 16px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 12px;
        font-size: 14px;
    }

    .contact-form button.cta-button {
        padding: 14px 25px;
        font-size: 16px;
    }

    .success-message, .error-message {
        width: 80%;
    }
/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.flex {
    display: flex;
    gap: 15px;
}

.text-center {
    text-align: center;
}

.hidden {
    display: none;
}
