

/* General Reset */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}



body {

    font-family: 'Open Sans', sans-serif;

    line-height: 1.6;

    color: #333;

    background: #f5f7fa;

    scroll-behavior: smooth;

}



/* Container */

.container {

    width: 90%;

    max-width: 1200px;

    margin: 0 auto;

}



/* Header */

header {

    background: #003087;

    padding: 0.75rem 0;

    position: fixed;

    width: 100%;

    top: 0;

    z-index: 1000;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

}



header .container {

    display: flex;

    justify-content: space-between;

    align-items: center;

}



.logo {

    font-family: 'Roboto', sans-serif;

    font-weight: 700;

    font-size: 1.6rem;

    color: #fff;

}



nav ul {

    list-style: none;

    display: flex;

    gap: 1rem;

}



nav a {

    color: #fff;

    text-decoration: none;

    font-family: 'Roboto', sans-serif;

    font-weight: 400;

    font-size: 0.9rem;

    transition: color 0.3s;

}



nav a:hover {

    color: #00a3e0;

}



/* Hero Section with Background Image */

.hero {

    height: 100vh;

    background: url('background.webp') no-repeat center center;

    background-size: cover; /* Ensures the 1024x1024 image covers the section */

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding-top: 80px; /* Default offset for fixed header */

}



/* Fallback for high-resolution displays */

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {

    .hero {

        background-size: contain; /* Prevents pixelation on retina displays */

    }

}



.text-frame {

    background: rgba(255, 255, 255, 0.2);  /* transparence */

    padding: 2rem;

    border-radius: 10px;

    border: 1px solid #003087;

    max-width: 600px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

    text-align: center; /* Center h2 */

}



.text-frame h2 {

    font-family: 'Roboto', sans-serif;

    font-weight: 700;

    font-size: 2.5rem;

    color: #fff;

    margin-bottom: 1rem;

}



.text-frame p {

    font-size: 1.2rem;

    color: #fff;

    margin-bottom: 1.5rem;

    text-align: left; /* Left-align paragraph */

}



.text-frame p strong {

    color: #fff; /* Ensure strong tags are also white */

}



.text-frame .btn {

    display: inline-block;

    padding: 0.75rem 1.5rem;

    background: #00a3e0;

    color: #fff;

    text-decoration: none;

    border-radius: 5px;

    font-family: 'Roboto', sans-serif;

    font-weight: 600;

    transition: background 0.3s, transform 0.3s;

    text-align: center; /* Center button text */

}



.text-frame .btn:hover {

    background: #005b96;

    transform: translateY(-2px);

}



/* Text Frames Section */

.text-section {

    padding: 4rem 0;

    background: #00a3e0; /* Cream background */

}



.text-frame-split {

    display: flex;

    gap: 2rem;

    justify-content: space-between;

}



.text-frame-left, .text-frame-right {

    flex: 1;

    background: #f5f7fa; /* Light gray for contrast */

    padding: 2rem;

    border-radius: 10px;

    border: 2px solid #003087;

    text-align: center; /* Center h3 */

    transition: box-shadow 0.3s;

}



.text-frame-left:hover, .text-frame-right:hover {

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

}



.text-frame-left h3, .text-frame-right h3 {

    font-family: 'Roboto', sans-serif;

    font-weight: 600;

    font-size: 1.8rem;

    color: #003087;

    margin-bottom: 1rem;

}



.text-frame-left p, .text-frame-right p {

    font-family: 'Roboto', sans-serif;

    font-size: 1.1rem;

    color: #555;

    text-align: left; /* Left-align paragraphs */

}



.text-frame-right ul {

    font-family: 'Roboto', sans-serif;

    font-size: 1.1rem;

    color: #333;

    text-align: left; /* Left-align unordered list */

    margin-bottom: 1.5rem;

    padding-left: 1.5rem; /* Indent for bullets */

}



.text-frame-right ul li {

    margin-bottom: 0.5rem; /* Spacing between list items */

}



/* Contact Page */

.contact-section {

    padding: 8rem 0 4rem;

    background: #00a3e0; /* Light blue background */

    text-align: center;

}



.contact-section .container {

    background: rgba(255, 255, 255, 0.9);

    padding: 2rem;

    border-radius: 10px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

    max-width: 600px;

}



.contact-section h2 {

    font-family: 'Roboto', serif;

    font-weight: 700;

    font-size: 2.5rem;

    color: #333;

    margin-bottom: 1rem;

}



.contact-section p {

    font-size: 1.2rem;

    color: #555;

    margin-bottom: 2rem;

}



.contact-section form {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 2rem; /* Maintains gap for spacing */

    max-width: 300px;

    margin: auto;

}



.contact-section input,

.contact-section textarea {

    display: block;

    width: 100%;

    max-width: 500px;

    padding: 0.75rem;

    border: 2px solid #003087;

    border-radius: 5px;

    font-family: 'Roboto', sans-serif;

    font-size: 1rem;

    background: #fff;

    color: #333;

}



.contact-section textarea {

    resize: vertical;

    min-height: 120px;

}



.contact-section .btn {

    display: inline-block;

    padding: 1rem 2rem;

    background: #003087; /* Dark blue button */

    color: #fff;

    border: none;

    border-radius: 5px;

    font-family: 'Roboto', sans-serif;

    font-weight: 600;

    text-align: center;

    cursor: pointer;

    transition: background 0.3s, transform 0.3s;

    width: 100%;

    max-width: 200px;

}



.contact-section .btn:hover {

    background: #005b96;

    transform: translateY(-2px);

}



/* Footer */

footer {

    background: #003087;

    color: #fff;

    text-align: center;

    padding: 1rem 0;

    font-family: 'Roboto', sans-serif;

}


.split-frame {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    justify-content: space-between;
}

.split-box {
    flex: 1 1 45%;
    min-width: 300px;
    background: #f9f9f9;
    padding: 1.5em;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
    .split-frame {
        flex-direction: column;
        align-items: stretch;
    }

    .split-box {
        width: 100%;
    }
}


/* Responsive Design */

@media (max-width: 767px) {

    header {

        padding: auto; /* Minimize header height */

    }



    header .container {

        flex-direction: column;

        gap: 0.3rem; /* Tight spacing */

        align-items: center;

    }



    .logo {

        font-size: 1.2rem; /* Smaller logo */

        line-height: 1.2;

        text-align: center;

        margin-bottom: 0.5rem; /* Space below logo */

    }



    nav ul {

        flex-direction: row; /* Keep nav links in a single row */

        gap: 0.5rem; /* Tight spacing for horizontal layout */

        justify-content: center;

        flex-wrap: nowrap; /* Prevent wrapping */

    }



    nav a {

        font-size: 0.75rem; /* Smaller font for mobile */

        padding: 0.2rem 0.5rem; /* Compact padding */

    }



    .hero {

        padding-top: 120px; /* Increased further to avoid overlap */

    }



    .text-frame h2, .contact-section h2 {

        font-size: 1.8rem; /* Slightly smaller headings */

    }



    .text-frame-split {

        flex-direction: column;

        gap: 1.5rem;

    }



    .text-frame-left, .text-frame-right {

        margin: 0;

    }



    .hero {

        background-size: cover; /* Maintains cover for smaller screens */

    }



    .contact-section form {

        gap: 1rem; /* Reduced gap for mobile */

    }



    .contact-section .container {

        padding: 1.5rem; /* Reduced padding for mobile */

    }

}