@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Montserrat:wght@600&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    scroll-behavior: smooth;
}

html {
    scroll-padding-top: 70px;
}

body {
    background-color: #0a1e33;
    color: #f4f7f6;
    font-size: 1.1em;
    line-height: 1.6;
}

p {
    margin-bottom: 1em;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #1b3b4f;
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav-logo {
    max-width: 50px;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar a {
    color: #1dbbb4;
    font-weight: 600;
    text-decoration: none;
}

.hamburger {
    display: none; /* Initially hide the hamburger icon */
    cursor: pointer;
}

/* Hero Banner */
.hero-banner {
    text-align: center;
    padding: 50px 20px; /* Default padding for larger screens */
    background: linear-gradient(135deg, #1b3b4f, #0a1e33);
    color: #1dbbb4;
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
}

.hero-banner h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5em; /* Default font size for larger screens */
    font-weight: 700;
    margin-bottom: 10px;
    overflow-wrap: break-word; /* Allow breaking long words */
}

.hero-banner h2 {
    font-size: 1.5em; /* Default font size for larger screens */
    margin-bottom: 20px;
}

.center-logo {
    display: block;
    margin: 20px auto;
    max-width: 150px;
}

.cta-button {
    display: inline-block;
    background-color: #1dbbb4;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
}

.cta-button:hover {
    background-color: #17a49c;
    transform: scale(1.05);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .navbar ul {
        flex-direction: column;
        align-items: flex-start;
        background-color: #1b3b4f;
        position: absolute;
        top: 60px; /* Adjust based on navbar height */
        left: 0;
        width: 100%;
        display: none; /* Hide by default */
    }

    .navbar.active ul {
        display: flex; /* Show when active */
    }

    .hero-banner {
        padding: 30px 10px; /* Reduce padding for mobile */
    }

    .hero-banner h1 {
        font-size: 5vw; /* Responsive font size */
        line-height: 1.2; /* Adjust line height for better spacing */
        margin: 0; /* Remove margin to prevent overflow */
    }

    .hero-banner h2 {
        font-size: 4vw; /* Responsive font size for subheading */
        margin: 10px 0; /* Add a bit of margin */
    }

    .center-logo {
        max-width: 100px; /* Smaller logo on mobile */
    }

    /* Ensure other sections look good on mobile */
    .section {
        padding: 20px 10px; /* Reduce padding for mobile devices */
    }

    .service-card {
        padding: 15px; /* Adjust padding for service cards */
    }

    .trust-signals {
        flex-direction: column; /* Stack trust signals vertically */
        align-items: center; /* Center align on mobile */
    }

    .trust-item {
        margin-bottom: 20px; /* Space between items */
    }
}

.emotional-factors {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 20px;
}

.factor {
    text-align: center;
    max-width: 150px;
    margin: 10px;
}

.factor i {
    font-size: 2.5em;
    color: #1dbbb4;
    margin-bottom: 10px;
}

.section {
    background-color: #f4f7f6;
    color: #0a1e33;
    padding: 40px 20px;
    margin: 20px auto;
    max-width: 1000px;
    border-radius: 10px;
}

.trust-signals {
    display: flex;
    justify-content: space-around;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}

.trust-item {
    max-width: 250px;
}

.trust-item i {
    font-size: 2em;
    color: #1dbbb4;
    margin-bottom: 10px;
}

.service-card {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5em;
    color: #0a1e33;
    font-weight: 600;
    text-align: left;
    margin-bottom: 10px;
}

.service-divider {
    height: 40px;
}

#contact form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: auto;
    padding: 25px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

#contact form label {
    font-weight: 600;
    color: #0a1e33;
}

#contact form input,
#contact form textarea,
#contact form button {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    width: 100%;
}

#contact form textarea {
    resize: none;
}

.footer {
    background-color: #1b3b4f;
    text-align: center;
    padding: 20px;
    color: #ffffff;
    border-radius: 8px;
}

.footer-links {
    margin-bottom: 10px;
}

.footer-links a {
    color: #1dbbb4;
    margin: 0 5px;
    text-decoration: none;
}

.footer-links a:hover {
    color: #17a49c;
}

.social-icons i {
    color: #1dbbb4;
    font-size: 1.5em;
    margin: 0 10px;
    transition: color 0.3s;
}

.social-icons i:hover {
    color: #17a49c;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #1dbbb4; }
}
