/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Set body and html to take full height */
html, body {
    height: 100%;
}

/* Set the container to take full height and display flex */
body {
    display: flex;
    flex-direction: column;
}

/* Ensure main content takes available space */
main {
    flex: 1;
}

/* Typography and basic styling */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header styling */
header {
    background: #003366;
    color: white;
    padding: 1em 0;
}

/* Navigation styling with Bootstrap integration */
.navbar {
    background-color: #003366;
}

.navbar-brand {
    font-size: 1.5em;
    font-weight: bold;
}

.navbar-nav .nav-link {
    color: white !important;
    padding: 0.5em 1em;
    border: 1px solid white;
    border-radius: 5px;
    margin: 0 0.5em;
}

.navbar-nav .nav-link:hover {
    background-color: #0066cc;
    color: white !important;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath stroke="rgba%28255, 255, 255, 0.5%29" stroke-width="2" linecap="round" linejoin="round" d="M4 7h22M4 15h22M4 23h22"/%3E%3C/svg%3E');
}

.btn-primary {
    background-color: #0066cc;
    border-color: #0066cc;
}

.btn-primary:hover {
    background-color: #004a99;
    border-color: #004a99;
}

/* Hero section styling */
.hero {
    position: relative;
    width: 100%;
    height: calc(100vh / 3 * 2); /* Reduce height by 1/3 */
    background: url('../images/hero-background.webp') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content {
    background-color: rgba(0, 0, 0, 0.5); /* optional: adds a dark overlay for better text readability */
    padding: 4em; /* Increase padding */
    border-radius: 10px;
}

.hero-content h1 {
    font-size: 3em; /* Increase font size */
    margin-bottom: 0.5em;
}

.hero-content p {
    font-size: 1.5em; /* Increase font size */
    margin-bottom: 1em;
}

.hero .btn-warning {
    font-size: 1.5em; /* Increase button font size */
    padding: 0.75em 1.5em; /* Increase button padding */
    margin-top: 1em;
}

/* Services overview styling */
.services-overview {
    padding: 4em 0;
    background: #f0f0f0;
}

.services-overview h1 {
    text-align: center;
    margin-bottom: 2em;
    font-size: 2.5em;
    color: #003366;
}

.service {
    text-align: center;
    margin-bottom: 4em;
}

.service h2 {
    color: #0066cc;
    margin-bottom: 1em;
}

.service p, .service ul {
    font-size: 1.1em;
    line-height: 1.6;
    color: #333;
}

.service ul {
    list-style-type: disc;
    padding-left: 1.5em;
}

.service img {
    border-radius: 10px;
    max-width: 100%;
    height: auto;
}

/* About section styling */
.about {
    padding: 4em 2em;
    background-color: #f9f9f9;
}

.about h1 {
    text-align: center;
    margin-bottom: 1em;
    font-size: 2.5em;
    color: #003366;
}

.about p {
    font-size: 1.2em;
    margin-bottom: 1em;
}

.about h2 {
    font-size: 2em;
    color: #0066cc;
    margin-bottom: 0.5em;
    margin-top: 1em;
}

.team-member {
    text-align: center;
    margin: 2em 0;
}

.team-member img {
    border-radius: 50%;
    max-width: 150px;
    height: auto;
    margin-bottom: 1em;
}

.team-member h3 {
    font-size: 1.5em;
    color: #003366;
    margin-bottom: 0.5em;
}

.team-member p {
    font-size: 1.1em;
    color: #666;
}

/* Case Studies Section */
.case-studies-preview {
    padding: 4em 2em;
    background-color: #e0f7fa;
    text-align: center;
}

.case-studies-preview h2 {
    text-align: center;
    margin-bottom: 2em;
    font-size: 2.5em;
    color: #003366;
}

.case-study {
    margin-bottom: 2em;
    padding: 1em;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #f9f9f9;
}

.case-study img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1em;
}

.case-study h2 {
    font-size: 1.5em;
    margin-bottom: 0.5em;
}

.case-study p, .case-study ul {
    text-align: left;
    margin-bottom: 1em;
}

.case-study ul {
    list-style-type: disc;
    padding-left: 1.5em;
}

/* Testimonials Carousel */
.testimonials {
    background-color: #f8f9fa;
    padding: 50px 0;
}

.testimonial {
    text-align: center;
    padding: 20px;
    font-style: italic;
}

.carousel-item {
    background-color: #e9ecef;
    padding: 2em;
    border-radius: 10px;
}

.carousel-item p {
    font-size: 1.2em;
    margin-bottom: 1em;
}

.carousel-item cite {
    font-size: 1em;
    color: #666;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: #000;
    border-radius: 50%;
}

/* Blog preview styling */
.blog-preview {
    padding: 2em 0;
    text-align: center;
}

/* Footer styling */
footer {
    background: #003366;
    color: white;
    text-align: center;
    padding: 1em 0;
    width: 100%;
}

footer .contact-info {
    background-color: #003366;
    color: white;
    padding: 20px 0;
    text-align: center;
}

footer .social-media, footer .newsletter-signup {
    background-color: #001f3f;
    color: white;
    padding: 20px 0;
    text-align: center;
}

footer .contact-info, footer .social-media, footer .newsletter-signup {
    margin: 0.5em 0;
}

footer .newsletter-signup form {
    display: flex;
    justify-content: center;
    align-items: center;
}

footer .newsletter-signup input[type="email"] {
    padding: 0.5em;
    margin-right: 0.5em;
}

footer .newsletter-signup button {
    padding: 0.5em 1em;
    background: #0066cc;
    border: none;
    color: white;
    cursor: pointer;
}

/* Media Queries */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2em; /* Smaller font size for very small screens */
    }

    .hero-content p {
        font-size: 1.2em; /* Smaller font size for very small screens */
    }

    .hero-content {
        padding: 2em; /* Reduce padding for very small screens */
    }
}
