body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    font-family: 'Arial', 'Futura', sans-serif; 
    scroll-behavior: smooth;
}

.custom-navbar {
    background-color: #ffffff !important; 
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1030; 
    transition: background-color 0.3s ease;
}

.navbar .nav-link {
    color: #333 !important;
    font-weight: 500;
}

.navbar .nav-link:hover {
    color: #007bff !important;
}

.custom-dropdown {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.custom-dropdown .dropdown-item {
    padding: 10px 20px;
    transition: background 0.2s, color 0.2s;
}

.custom-dropdown .dropdown-item:hover {
    background-color: #f1f1f1;
    color: #007bff;
}

.navbar-brand {
    font-size: 1.5rem;
}

.img-logo{
    width:40px;
    height: 40px;
    margin-right: 20px;
}
.section {
    display: flex;
    align-items: center;
    text-align: left;
    padding: 60px 20px;
    transition: background 0.3s ease-in-out;
}

.first-section {
    min-height: 100vh;
}

.white-bg {
    background-color: #ffffff;
    color: #002741;
}

.text-content h1 {
    font-size: 3rem !important;
}

.text-content p {
    font-size: 1.5rem;
    color: #383838;
    margin-bottom: 20px;
}

.btn-primary {
    background-color: #0091f1;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    color: white;
    transition: background-color 0.3s ease;
    border-radius: 50px;
}

.btn-primary:hover {
    background-color: #007bff;
    cursor: pointer;
}

.first-section {
    background-image: url('images/mbg.webp');
    background-size: cover;
    
}

.section h1, .section h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #002741 !important;
}


.section.blue-bg {
    background-color: #e6f2ff;
    padding: 60px 0;
}

.section.blue-bg h2 {
    color: #003366;
    font-weight: bold;
    margin-bottom: 25px;
}

.service-list {
    list-style: none;
    padding: 0;
    font-size: 1.1rem;
    color: #003366;
}

.service-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.service-list li i {
    margin-right: 10px;
    color: #00c6ff;
}

.carousel-inner {
    padding: 10px;
}

.carousel-item {
    box-shadow: 0 8px 16px rgba(0, 102, 153, 0.1);
    border-radius: 8px;
    padding: 20px;
    background-color: #fff;
    margin-bottom: 20px;
}

.carousel-item .row {
    width: 100%;
    height: 100%;
}
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 145, 241, 0.8); 
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    transition: background-color 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: #007bff; 
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 70% 70%;
    filter: invert(1); 
}

.carousel-control-prev {
    left: -25px;
}

.carousel-control-next {
    right: -25px;
}


.service-img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    animation: fadeInLeft 1s ease;
}

.carousel-item h3 {
    font-weight: bold;
    color: #003366;
}

.carousel-item p {
    font-size: 1.1rem;
    color: #003366;
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.service-card {
    display: block;
    background: #fff;
    border-radius: 10px;
    padding: 30px 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: #333;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    color: #000;
    text-decoration: none;
}

.service-icon {
    font-size: 48px;
    margin-bottom: 15px;
    color: #007bff;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotate(10deg) scale(1.2);
}

.third-section {
    animation: fadeInUp 1s ease forwards;
}

.third-section h2 {
    font-size: 3rem;
}
.third-section p {
    text-align: center;
    font-size: 1.2rem;
}

.section-intro {
    font-size: 1.1rem;
    text-align: center;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #007bff;
    color: white;
    padding: 12px;
    border-radius: 50%;
    display: none;
    z-index: 1000;
    font-size: 24px;
    text-align: center;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.scroll-top:hover {
    background-color: #bfdeff;
}

.scroll-top i {
    pointer-events: none; 
}

@keyframes slideRight {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideRight 1s ease-out forwards;
}

.faqs-section {
    padding: 60px 20px;
}

.faqs-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: #003366;
}

.accordion .card {
    border: none;
    margin-bottom: 20px;
}

.accordion .card-header {
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 15px;
}

.accordion .card-header button {
    font-size: 1.1rem;
    font-weight: bold;
    color: #003366;
    text-align: left;
    width: 100%;
    padding: 10px;
    background-color: #f8f8f8;
    border: none;
    transition: background-color 0.3s ease;
}

.accordion .card-body {
    font-size: 1rem;
    color: #383838;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
}

.card-body {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.faq-text {
    white-space: normal;
}

/* --- Footer --- */
.site-footer {
    background-color: #1c1c1c;
    color: #dcdcdc;
    padding: 50px 0 20px;
    font-size: 0.95rem;
}

.site-footer h5 {
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: bold;
}

.footer-about p {
    color: #aaaaaa;
}

.footer-contact ul {
    padding-left: 0;
}

.footer-contact li {
    margin-bottom: 10px;
    color: #dcdcdc;
}

.footer-contact a {
    color: #dcdcdc;
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-social a {
    font-size: 20px;
    color: #dcdcdc;
    margin-right: 15px;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: #00c6ff;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 15px;
    color: #999;
    font-size: 0.85rem;
}

.developer-credit {
    font-size: 0.8rem;
    color: #aaa;
    margin-top: 5px;
}

.developer-credit a {
    color: #00c6ff;
    text-decoration: none;
}

.developer-credit a:hover {
    text-decoration: underline;
}

.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

/* --- RESPONSIVENESS --- */
@media (max-width: 576px) {
    .faq-text {
        display: block; 
        word-wrap: break-word;
    }

    .faq-text::after {
        content: ""; 
        display: block;
    }
    
    .navbar .navbar-brand {
        font-size: .95rem;
    }
    
    .container {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    
    .first-section {
        min-height: 50vh;
    }

}

/* Tablets and small desktops */
@media (max-width: 768px) {
    .faqs-section h2 {
        font-size: 2rem;
    }

    .accordion .card-header button {
        font-size: 1rem;
        padding: 10px;
    }

    .accordion .card-body {
        font-size: 0.9rem;
    }

    .carousel-control-prev {
        left: 5px;
    }

    .carousel-control-next {
        right: 5px;
    }

    .navbar .navbar-brand {
        font-size: 1rem;
    }

    .navbar .nav-link {
        font-size: 0.9rem;
    }

    .third-section {
        padding: 0 15px;
    }


    .text-content h1 {
        font-size: 2.5rem;
    }

    .text-content p {
        font-size: 1.2rem;
    }

    .service-list li {
        font-size: 1rem;
    }

    .service-card {
        width: 60%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .carousel-item {
        padding: 15px;
    }

    .carousel-item h3 {
        font-size: 1.5rem;
    }

    .carousel-item p {
        font-size: 1rem;
    }

    .service-img {
        height: 200px;
    }

    .scroll-top {
        font-size: 18px;
        padding: 10px;
        bottom: 15px;
        right: 20px;
    }
    
    .third-section {
        padding: 0 15px;
    }

    .third-section h2 {
        font-size: 2rem;
    }

    .third-section p {
        font-size: 1rem;
    }

    .site-footer {
        padding: 30px 5px 15px;
        font-size: 0.9rem;
    }

    .footer-social a {
        font-size: 18px;
    }
    .container {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    
    .first-section {
        min-height: 50vh;
    }    
}

@media (max-width: 480px) {
    
    .accordion .card-header button {
        font-size: 0.9rem;
    }

    .accordion .card-body {
        font-size: 0.8rem;
    }
    
    .navbar .navbar-brand {
        font-size: .85rem;
    }
    
    .about-content h2,
    .services-video-section h2 {
        font-size: 1.5rem;
    }

    .about-content p,
    .services-video-section p {
        font-size: 0.85rem;
    }

    .site-footer {
        font-size: 0.8rem;
    }

    .footer-social a {
        font-size: 16px;
    }

    .scroll-top {
        font-size: 16px;
        padding: 8px;
        bottom: 10px;
        right: 10px;
    }

    .services-video-section {
        padding: 20px 10px;
    }

    .services-video-section video {
        width: 100%;
        margin-left: 0;
    }

    .about-img {
        width: 100%;
        max-width: 100%;
        margin: 0 auto 20px;
        display: block;
    }
    
    .container {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    
    .first-section {
        min-height: 50vh;
    }    
}

@media (max-width: 576px) {
    .about-section {
        padding: 20px 0; 
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 10px 0; 
    }
}

@media (max-width: 400px) {
    .navbar-brand {
        font-size: 1rem;
        white-space: nowrap; 
    }
    .navbar {
        padding-left: 10px;
        padding-right: 10px;
    }

    .navbar-toggler {
        margin-left: auto; 
    }
    
    .container {
        padding-top: 10px;
        padding-bottom: 10px;
    }    
}

@media (max-width: 576px) {
    .section {
        padding: 30px 15px;
        flex-direction: column;
    }

    .text-content h1 {
        font-size: 2rem !important;
    }

    .text-content p {
        font-size: 1rem;
    }

    .third-section h2 {
        font-size: 2rem;
    }

    .third-section p {
        font-size: 1rem;
    }

    .text-content {
        margin-top: 90px;  
    }

}

@media (max-width: 576px) {
  .third-section .col-md-3 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 15px; 
  }

  .third-section .service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    aspect-ratio: 1 / 1; 
    height: auto; 
    width: 80%;

    background: white; 
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);

    text-align: center;
    padding: 10px;
  }

  .third-section .service-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #007bff;
  }

  .third-section .service-card h4 {
    font-size: 1.1rem;
    margin: 0;
  }
}



