/* === General Styling === */
* {
    box-sizing: border-box;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f5f5f5; /* Light background */
    color: #111C26; /* Deep blue */
}

h1, h2 {
    margin: 0;
}

.title{
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #111C26;
}

@media (max-width: 768px) {
    .title {
        font-size: 2rem;
    }
}

/* === Header === */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 50px;
    background-color: #111C26; /* Deep blue */
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
}

header img {
    height: 80px;
}

header nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: #BF8C80; /* Soft red */
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
        padding: 10px 20px;
    }

    header nav {
        margin-top: 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    header nav a {
        font-size: 1rem;
        margin: 5px 0;
    }
}

/* === Pricing Section === */
#pricing {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(180deg, #111C26, #61788C); /* Deep blue to slate gray */
    color: white;
}

#pricing h2 {
    color: #F2F2F2;
}

#pricing p {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 40px;
}

#prices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

#prices article {
    background-color: #D9D1B8; /* Sand color */
    color: #111C26; /* Deep blue */
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

@media (max-width: 768px) {

    #pricing p {
        font-size: 1rem;
    }

    #prices article {
        padding: 15px;
    }
}




/* === Contact Section === */
#contact {
    text-align: center;
    padding: 60px 20px;
    background: #f5f5f5; /* Light background */
    color: #111C26;
}

#contact p {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #000000; /* Slate gray */
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    max-width: 600px; /* Limit form width */
    margin: 0 auto; /* Center form on desktop */
    padding: 20px;
    border-radius: 8px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #D9D1B8;
    border-radius: 5px;
    font-size: 1rem;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* Subtle input shadow */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #BF8C80; /* Soft red */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    outline: none;
}

.contact-form textarea {
    resize: none; /* Prevent resizing */
    height: 120px;
}

/* Consent Label */
.contact-form label {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #555;
    gap: 10px; /* Proper spacing */
    width: 100%;
    text-align: left;
}

.contact-form label input[type="checkbox"] {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    accent-color: #BF8C80; /* Soft red */
    border: 1px solid #D9D1B8;
    border-radius: 3px;
    cursor: pointer;
}

/* Submit Button */
.contact-form button {
    padding: 15px 30px;
    color: #111C26; /* Deep blue text */
    font-size: 1rem;
    font-weight: bold;
    border: 2px solid #111C26;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%;
    max-width: 200px;
    margin-top: 15px;
}

.contact-form button:hover {
    background-color: #111C26;
    color: white;
    cursor: pointer;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #contact {
        padding: 40px 10px; /* Reduced padding for smaller screens */
    }

    .contact-form {
        max-width: 90%; /* Ensure form uses most of the screen width */
        padding: 15px;
    }

    .contact-form label {
        font-size: 0.85rem; /* Slightly smaller text for compact layout */
    }
}



/* === Footer === */
/* Footer General Styles */
footer {
    background-color: #111C26; /* Deep blue */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 50px;
    width: 100%; /* Ensure the footer does not exceed the viewport width */
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Footer Content Section */
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 40px 20px;
    gap: 20px;
    box-sizing: border-box; /* Enforce consistent sizing */
}

/* Footer Columns */
.footer-info,
.footer-contact,
.footer-links,
.footer-social {
    flex: 1 1 200px;
    margin: 10px;
    max-width: 300px; /* Prevent stretching on small screens */
    text-align: center;
}

/* Footer Headings */
.footer-info h3,
.footer-contact h4,
.footer-links h4,
.footer-social h4 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #D9D1B8; /* Sand color */
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #BF8C80; /* Soft red underline */
    display: inline-block;
    padding-bottom: 5px;
}

/* Contact Links */
.footer-contact a {
    color: #BF8C80; /* Soft red */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #D9D1B8; /* Sand color */
}

/* Footer Links */
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin: 10px 0;
}

.footer-links li a {
    color: #F2F2F2; /* Off-white */
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease, transform 0.2s ease;
}

.footer-links li a:hover {
    color: #BF8C80; /* Soft red */
    transform: translateX(5px); /* Subtle slide effect */
}

/* Social Media Icons */
.footer-social {
    display: flex;
    flex-direction: column;
}

.footer-social a {
    color: white;
    font-size: 1.8rem;
    margin: 0 15px;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    color: #BF8C80; /* Soft red */
    transform: scale(1.2) rotate(-5deg); /* Zoom with a slight rotation */
}

.footer-social i {
    transition: all 0.3s ease;
}

/* Footer Bottom Section */
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    background-color: #0A141F; /* Slightly darker blue */
    font-size: 0.9rem;
    color: #D9D1B8; /* Sand color */
    border-top: 1px solid #D9D1B8; /* Subtle top border for separation */
}

.footer-bottom a {
    color: #F2F2F2; /* Soft red */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    margin: 0 10px;
}

.footer-bottom a:hover {
    color: #BF8C80; /* Off-white */
    text-decoration: underline;
}

.footer-bottom img {
    height: 30px;
    margin-right: 15px;
}

.footer-legal-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 10px;
}

.footer-legal {
    margin: 0 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 20px 10px;
    }

    .footer-info,
    .footer-contact,
    .footer-links,
    .footer-social {
        margin-bottom: 20px;
    }



    .footer-social a {
        margin: 10px 5px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal-container {
        flex-direction: column;
        margin-top: 15px;
}
}
