/* Global Styles */
:root {
    --primary-color: #182438;
    --secondary-color: #13203b; /* Slightly lighter secondary color */
    --accent-color: #20ac8f;
    --text-light: white;
    --text-dark: #000000;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Navigation */
.navbar {
    background-color:#182438 !important;
    padding: 1em 0;
}

.navbar-brand {
    font-weight: light;
    font-size: 1.5rem;
}

.nav-link {
    color:rgb(255, 255, 255) !important;
    font-weight: 200;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    margin-inline: 20px;
}

.nav-link:hover {
    color: var( --accent-color) !important;
    text-decoration: underline solid 3px;
}

.nav-link.active {
    color:  var(--accent-color) !important;
}

/* Landing Section */
.landing {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding-top: 80px;
}

.landing h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.landing p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cl-btn {
    background-color: var(--accent-color);
    color: var(--text-light);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 10px;
}
.navabr-toggler{
      padding: 0.25rem 0.75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 0.25rem;
    transition: box-shadow 0.15s ease-in-out;
}
.cl-btn:hover {
    background-color: #208db4;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Added depth */
}

/* About Section */
#about {
    background-color: #f9fafb;  /* Light background for the About Us section */
    padding-top: 50px;
    padding-bottom: 50px;
}

#about h2 {
    color: #182438;  /* Dark primary color for the heading */
    font-size: 3rem;  /* Increase the heading size */
}

#about p {
    font-size: 15px;  /* Set a legible font size */
    color: #000000;  /* Darker text for readability */
    margin-bottom: 2rem;  /* Add space between paragraphs */
    max-width: 800px;  /* Limit paragraph width for readability */
    margin-left: auto;
    margin-right: auto;  /* Center text */
}

/* Button Styling */
#about .btn.cl-btn {
    background-color: #20ac8f;
    color: white;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#about .btn.cl-btn:hover {
    background-color: #1e9f80;
    transform: translateY(-2px);  /* Button lift effect */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);  /* Added shadow on hover */
}

/* Image Styling */
#about .img-fluid {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);  /* Soft shadow for the image */
}

/* Flexbox adjustments for better alignment */
#about .row {
    display: flex;
    justify-content: center;  /* Align both columns to the center */
}

/* Responsive Design */
@media (max-width: 768px) {
    #about h2 {
        font-size: 2.5rem;  /* Slightly smaller heading on mobile */
    }

    #about p {
        font-size: 1rem;  /* Adjust text size on mobile */
    }

    #about .btn.cl-btn {
        padding: 10px 25px;  /* Adjust button padding for mobile */
        font-size: 1rem;  /* Adjust button font size for mobile */
    }

    #about .col-lg-6 {
        margin-bottom: 2rem;  /* Add space between the image and text on mobile */
    }
}

/* Services Section */
#services {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 80px 0;
}

.service-box {
    background-color: rgba(255, 255, 255, 0.2); /* Increased opacity */
    transition: transform 0.3s ease;
    height: 100%;
    padding: 2rem; /* Added padding for content spacing */
}

.service-box:hover {
    transform: translateY(-5px);
}

.service-box h3 {
    color: var(--accent-color);
    margin: 1rem 0;
}

.service-box ul {
    list-style-type: none;
    padding-left: 0;
}

.service-box li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.icon {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Service Box Buttons */
.service-box .btn-outline-primary {
    color: #20ac8f;
    border-color: #20ac8f;
    transition: all 0.3s ease;
}

.service-box .btn-outline-primary:hover {
    background-color: #20ac8f;
    color: white;
    border-color: #20ac8f;
}

/* Contact Section */
#contact {
    background-color: var(--text-light);
}

.contact-box {
    background-color: var(--primary-color);
    color: var(--text-light);
    transition: transform 0.3s ease;
    padding: 2rem;
}

.contact-box:hover {
    transform: translateY(-5px);
}

.contact-box h3 {
    color: var(--accent-color);
    margin: 1rem 0;
}

/* Footer */
footer {
    background-color: var(--secondary-color); /* Changed for distinction */
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 0;
    }
    .landing h1 {
        font-size: 2rem;
    }

    .landing p {
        font-size: 1rem;
    }

    .service-box,
    .contact-box {
        margin-bottom: 1.5rem; /* Increased margin for better spacing */
    }

    .service-box {
        padding: 1.5rem; /* Adjusted padding */
    }

    .cl-btn {
        padding: 0.6rem 1.5rem; /* Adjusted button padding */
    }
}

/* Modal Styling */
.modal-content {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 15px;
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background-color: var(--primary-color);
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-color: var(--primary-color);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.modal-title {
    color: var(--text-light);
}

.modal .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.modal .btn-secondary {
    background-color: #34495e;
    border-color: #34495e;
    color: var(--text-light);
}

.modal .btn-secondary:hover {
    background-color: #2c3e50;
    border-color: #2c3e50;
}

.modal .btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--text-light);
}

.modal .btn-primary:hover {
    background-color: #1a8f77;
    border-color: #1a8f77;
}

.modal-dialog {
    display: flex;
    align-items: center;
    justify-content: center; /* Ensured centering */
    min-height: calc(100% - 1rem);
}

@media (min-width: 576px) {
    .modal-dialog {
        min-height: calc(100% - 3.5rem);
    }
}

.modal-body ul li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.modal-body h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}
