.body{
    font-family: "poppins";
}

/* Navbar styling */
/* Default navbar - Transparent */
.navbar {
    position: absolute;
    width: 100%;
    background: transparent !important;
    font-family: "Poppins", sans-serif;
    z-index: 3;
    font-size: 20px;
    transition: background 0.3s ease-in-out;
}

/* Navbar links */
.navbar .nav-link {
    color: white;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    font-size: 18px;
}

/* Hover & Active states */
.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #ffc107;
}

/* Navbar container */
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
}

/* Logo Size Adjustments */
.logo {
    width: 150px;
    transition: width 0.3s ease;
}

/* Reduce logo size on smaller screens */
@media (max-width: 991px) {
    .logo {
        width: 140px;
    }
}

@media (max-width: 767px) {
    .logo {
        width: 120px;
    }
}

/* --- TRANSLUCENT BG WHEN HAMBURGER MENU IS OPEN --- */

/* When hamburger menu is opened */
.navbar-toggler[aria-expanded="true"] + .navbar-collapse {
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    backdrop-filter: blur(10px); /* Glass effect */
    padding: 15px;
    border-radius: 10px;
}

/* Adjust mobile menu items */
@media (max-width: 991px) {
    .navbar .nav-link {
        color: white !important;
        text-align: center;
        display: block;
        padding: 10px;
    }

    /* Hover & active states */
    .navbar .nav-link:hover,
    .navbar .nav-link.active {
        color: #ffc107 !important;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 5px;
    }
}

@media (max-width: 776px) {
    .navbar .nav-link {
        color: white !important;
        text-align: center;
        display: block;
        padding: 10px;
    }

    /* Hover & active states */
    .navbar .nav-link:hover,
    .navbar .nav-link.active {
        color: #ffc107 !important;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 5px;
    }
}


/* Button styling */
.btn-custom {
    background-color: #ffc107;
    border: none;
    padding: 10px 20px;
    font-size: 18px;
}
.btn-custom:hover{
    color: #f8f9fa;
    background-color: #072f5f;
}
/* Make sure the hero section takes full height */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url('./images/header.jpeg') no-repeat center center/cover;
    display: flex;
    align-items: center;  /* Centers vertically */
    justify-content: center; /* Centers horizontally */
    text-align: center;
}

/* Dark overlay for better readability */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

/* Ensuring content is above the overlay */
.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
    padding: 20px;
}

/* Responsive typography */
.hero-content h1 {
    font-size: 48px; /* Desktop */
    font-weight: bold;
    margin-top: 2%;
}
/* Ensure content is properly spaced */
.hero-content h1 {
    font-size: 48px; /* Large size for desktop */
    font-weight: bold;
    margin-bottom: 20px; /* Space below heading */
}

/* Reduce font size & spacing for tablets */
/* Adjust heading spacing */
.hero-content h1 {
    font-size: 48px; /* Desktop */
    font-weight: bold;
    margin-bottom: 25px; /* Adds space below heading */
    line-height: 1.3; /* Improves text readability */
}

/* Medium screen adjustments */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 38px;
        margin-bottom: 20px;
        line-height: 1.4; /* More spacing between lines */
    }
}

/* Mobile screen adjustments */
@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 28px;
        margin-bottom: 15px;
        line-height: 1.5; /* More breathing space */
    }
}

/* Paragraph spacing */
.hero-content p {
    font-size: 20px;
    margin-bottom: 30px; /* Increased space below paragraph */
    line-height: 1.6; /* Improves text flow */
}

/* Adjust paragraph spacing on medium screens */
@media (max-width: 991px) {
    .hero-content p {
        font-size: 18px;
        margin-bottom: 25px;
        line-height: 1.7; /* Adds vertical spacing */
    }
}

/* Adjust paragraph spacing on mobile */
@media (max-width: 767px) {
    .hero-content p {
        font-size: 16px;
        margin-bottom: 20px;
        line-height: 1.8; /* Better readability */
    }
}


/* Button container for spacing */
.btn-container {
    display: flex;
    justify-content: center;
    gap: 25px;; /* Adds space between buttons */
    margin-top: 20px; /* Space between paragraph and buttons */
}

/* Mobile: Buttons stack with more space */
@media (max-width: 767px) {
    .btn-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .btn-container a {
        width: 100%;
        text-align: center;
        padding: 12px;
    }
}

/* about us */
.title-about{
    text-align: center;
    font-size: medium;
    font-family: "poppins";
    color: #072f5f;
    margin-bottom: 2%;

}

.vision-mission-section {
    padding: 6rem 0; /* Adjusted padding to avoid navbar overlap */
    background-color: #f8f9fa;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-direction: column; /* Stacks items vertically */
    align-items: flex-end;  /* Aligns all items to the right by default */
}

.vision-box,
.mission-box {
    width: 60%;
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.vision-box {
    background-color: #e9f5ff;
    align-self: flex-start; /* Aligns the vision box to the left */
}

.mission-box {
    background-color: #e9f5ff;
    align-self: flex-end; /* Aligns the mission box to the right */
}

.vision-box h2,
.mission-box h2 {
    margin-bottom: 1rem;
    color: #333;
}

.vision-box p,
.mission-box p {
    color: black;
    line-height: 1.6;
    font-size: 18px;
}

@media (max-width: 991px) {
    .about-container {
        flex-direction: column; /* Ensures vertical stacking */
        align-items: center; /* Centers the boxes */
    }

    .vision-box,
    .mission-box {
        width: 80%; /* Makes them slightly wider on tablets */
        align-self: center; /* Centers the boxes */
    }
}

/* Mobile View */
@media (max-width: 767px) {
    .vision-box,
    .mission-box {
        width: 90%; /* Makes them more responsive */
        padding: 1.5rem; /* Adjust padding for better fit */
    }

    .vision-box h2,
    .mission-box h2 {
        font-size: 22px; /* Slightly smaller heading */
    }

    .vision-box p,
    .mission-box p {
        font-size: 16px; /* Smaller text for readability */
        line-height: 1.5;
    }
}

/* Services */

.title{
    color: black;
    font-family: "poppins";
    text-align: center;
    font-size: 20px;
}
.services-section {
    padding: 4rem 0; /* Add padding for spacing */
    background-color: #e9ecef /* Optional: Add a background color to the section */
}


.container-service {
    max-width: 1200px; /* Set a max-width for the container */
    margin: 0 auto; /* Center the container */
    margin-top: 3%;
    padding: 0 15px; /* Add padding to the sides */
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2x2 grid */
    grid-template-rows: repeat(2, 1fr); /* 2x2 grid */
    gap: 3rem; /* Space between grid items */
    place-items: center; /* Center items in the grid */
    position: relative; /* For positioning the central image */
    
}

.central-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the image */
    z-index: 3; /* Higher z-index to bring the image to the foreground */
}

.central-image img {
    max-width: 200px; /* Adjust image size */
    height: auto;
    border-radius: 8px; /* Optional: Add rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow */
}

.service-box {
    background-color: #072f5f; /* Background color for the boxes */
    padding: 2rem; /* Add padding inside the boxes */
    border-radius: 8px; /* Optional: Add rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow */
    text-align: center; /* Center text */
    z-index: 2; /* Lower z-index to keep boxes behind the image */
    width: 100%; /* Full width of the grid cell */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
}

.service-box:hover {
    transform: scale(1.05); /* Slightly increase size */
    background-color: #0a3d7a; /* Brighter background color */
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); /* Stronger shadow on hover */
}
.service-box .icon {
    font-size: 2rem; /* Icon size */
    margin-bottom: 1rem; /* Space below the icon */
}

.service-box h3 {
    margin-bottom: 1rem; /* Space below the heading */
    color:white; /* Heading color */
}

.service-box p {
    color: white; /* Paragraph text color */
    line-height: 1.6; /* Improve readability */
}

@media (max-width: 991px) {
    .container-service {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        gap: 2rem; /* Maintain spacing */
        padding: 3rem 15px;
        
    }
    .services-section{
        background-image: url('./images/service1.jpeg'); /* Set image as background */
        background-size: cover;
        background-position: center;
        background-color: rgba(0, 0, 0, 0.3);
        background-repeat: no-repeat;
        background-blend-mode: darken;
        backdrop-filter: blur(10px);
        

    }
    .title-service{
        color: white;
    }

    .container-service::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
         /* Dark overlay for readability */
    }

    .central-image {
        display: none; /* Hide the central image */
    }

    .service-box {
        width: 80%;; /* Adjust width */
        height: 80%;
        z-index: 2; /* Keep boxes above background */
    }

    .service-box h3 {
        font-size: 20px;
    }

    .service-box p {
        font-size: 16px;
    }
}

/* Mobile View */
@media (max-width: 767px) {
    .service-box {
        width: 80%; /* Full width */
        height: 80%;
        padding: 1.5rem;
    }

    .service-box h3 {
        font-size: 18px;
    }

    .service-box p {
        font-size: 14px;
    }
}


/* project */
.project-body {
    background-color: #E5F9FF;
    padding: 5%;
}

.project-card {
    cursor: pointer;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure all cards have the same height */
    border: 1px solid #ddd; /* Optional: Add a border */
    border-radius: 8px; /* Optional: Add rounded corners */
    overflow: hidden; /* Ensure the image doesn't overflow */
    background-color: white; /* Card background color */
}

.project-card:hover {
    transform: scale(1.05);
}

.project-card img {
    width: 100%;
    height: 300px; /* Fixed height for the image */
    object-fit: cover; /* Ensure the image covers the area */
    padding: 10px; /* Equal padding around the image */
}

.project-card .card-body {
    padding: 15px;
    background-color:#072f5f; /* Black background for the text section */
    color: white; /* White text color */
    text-align: center;
    flex-grow: 1; /* Ensure the text section takes up remaining space */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center text vertically */
}

.project-card .card-title {
    font-size: 18px;
    margin: 0;
    color: white; /* Ensure the title is white */
}

.project-card .card-title a {
    color: white; /* Ensure the link is white */
    text-decoration: none; /* Remove underline */
}

@media (max-width: 991px) {
    .project-body {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .project-card {
        flex-direction: row;
        align-items: center;
        background: #072f5f;
        color: white;
        width: 80%;
        margin: auto; /* Centers the card */
    }

    .project-card img {
        width: 40%;
        height: auto;
        padding: 0;
    }

    .project-card .card-body {
        flex-grow: 1;
        padding: 15px;
        text-align: left;
        background: #072f5f;
    }

    .project-title {
        font-size: 21px; 
    }
    .project-title2 {
        font-size: 15px; 
        margin-top: auto;
    }
}

@media (max-width: 767px) {
    .project-body {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .project-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 90%;
        margin: auto;
    }

    .project-card img {
        width: 100%;
        height: 220px;
    }

    .project-card .card-body {
        padding: 12px;
        background-color: rgba(7, 47, 95, 0.7);
    }

    .project-title {
        font-size: 21px; 
    }
    .project-title2 {
        font-size: 15px; 
        margin-top: auto;
    }
}

/* testimonials */

.testimonials-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
    text-align: center;
    background: url('./images/test1.jpg')no-repeat center center/cover;
}


.testimonials-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}
.title-test{
    color: white;
}
.testimonial-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 40%; /* Decreased width */
    min-width: 280px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease-in-out;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.client-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-content {
    flex: 1;
}

.testimonial-content h5 {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0;
}

.client-project {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 5px;
}

.client-testimonial {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.4;
}




/* Hide scrollbar */
#project-gallery .scroll-container::-webkit-scrollbar {
    display: none;
}
/* faq */
.faq-section {
    width: 100%;
    padding: 50px 8%;
    background: #f9f9f9;
}

.faq-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-top: 3%;
}

/* Left Side: Image */
.faq-section {
    width: 100%;
    padding: 50px 8%;
    background: #f9f9f9;
}

.faq-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Left Side: Image */
.faq-image {
    flex: 1;
}

.faq-image img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Right Side: FAQ Content */
.faq-content {
    flex: 1;
}

.faq-content h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

/* FAQ Items */
.faq-item {
    background: #fff;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.faq-item:hover {
    transform: translateY(-3px);
}

.faq-question {
    font-size: 18px;
    color: #222;
    margin: 0;
    cursor: pointer;
    position: relative;
}

.faq-question::after {
    content: "▼";
    font-size: 14px;
    position: absolute;
    right: 10px;
    top: 5px;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(180deg);
}

.faq-answer {
    font-size: 16px;
    color: #555;
    margin-top: 8px;
    display: none;
}



@media (max-width: 991px) {
    .faq-section {
        background-image: url('./images/faq.jpeg'); /* Set background image */
        background-size: cover;
        background-position: center;
        background-color: rgba(0, 0, 0, 0.3);
        background-repeat: no-repeat;
        background-blend-mode: darken;
        backdrop-filter: blur(10px);
        padding: 4rem 8%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .faq-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .faq-image {
        display: none; /* Hide the image */
    }

    .faq-content {
        width: 100%;
        max-width: 90%;
        text-align: left;
    }

    .faq-content h2 {
        font-size: 22px; /* Reduce title size */
        color: white; /* Title in white for visibility */
        text-align: center;
    }

    .faq-item {
        background: rgba(255, 255, 255, 0.9); /* Semi-transparent white for readability */
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
        cursor: pointer;
        transition: 0.3s ease-in-out;
    }
    .title-faq{
        color: white;
    
    }
    .faq-item:hover {
        transform: translateY(-3px);
    }

    .faq-question {
        font-size: 16px; /* Adjusted size */
        color: black;
    }

    .faq-answer {
        font-size: 14px; 
        color: black;
    }
}
@media (max-width: 767px) {
    .faq-section {
        background-image: url('./images/faq.jpeg'); /* Set background image */
        background-size: cover;
        background-position: center;
        background-color: rgba(0, 0, 0, 0.3);
        background-repeat: no-repeat;
        background-blend-mode: darken;
        backdrop-filter: blur(10px);
        padding: 4rem 8%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .faq-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .faq-image {
        display: none; /* Hide the image */
    }

    .faq-content {
        width: 100%;
        max-width: 90%;
        text-align: left;
    }

    .faq-content h2 {
        font-size: 22px; /* Reduce title size */
        color: white; /* Title in white for visibility */
        text-align: center;
    }

    .faq-item {
        background: rgba(255, 255, 255, 0.9); /* Semi-transparent white for readability */
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
        cursor: pointer;
        transition: 0.3s ease-in-out;
    }

    .faq-item:hover {
        transform: translateY(-3px);
    }

    .faq-question {
        font-size: 16px; /* Adjusted size */
        color: black;
    }

    .faq-answer {
        font-size: 14px; 
        color: black;
    }
}



.container-contact {
    text-align: center;
    padding: 50px 10%;
    background: #E5F9FF;
}

.title-about {
    font-size: 16px;
    color: #0a2239;
    margin-bottom: 20px;
}






/* Contact Box Container */
.contact-box-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Contact Box */
.contact-box {
    background: #fff;
    padding: 20px;
    width: 220px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.contact-box:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
}

.contact-box img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.contact-box h4 {
    font-size: 18px;
    margin: 10px 0;
    color: #222;
}

.contact-box p {
    font-size: 14px;
    color: #555;
}
/* Hide "Call Us" on Desktop & Show Only on Mobile */
.phone-call {
    display: none; /* Hidden by default */
}

@media (max-width: 768px) { 
    .phone-call {
        display: block; /* Show only on mobile */
    }
}



/* Footer */
.footer {
    background: #0a2239;
    color: white;
    padding: 40px 10%;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* Footer Sections */
.footer-section {
    flex: 1;
    min-width: 250px;
}

/* Remove Quick Links on Small Screens */
@media (max-width: 768px) {
    .footer-section:nth-child(2) {
        display: none;
    }
}

/* Footer Logo */
.footer-logo {
    font-size: 24px;
    color: #fdbb2d;
    margin-bottom: 10px;
}

/* Social Media Icons */
.footer-social {
    margin-top: 10px;
}

.footer-social a {
    margin-right: 10px;
    display: inline-block;
}

.footer-social img {
    width: 24px;
    height: 24px;
    transition: 0.3s ease;
}

.footer-social img:hover {
    transform: scale(1.1);
}

/* Navigation Links */
.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: 0.3s ease;
}

.footer-section ul li a:hover {
    color: #fdbb2d;
}

/* Contact Info */
.footer-section p a {
    color: #fdbb2d;
    text-decoration: none;
}

.footer-section p a:hover {
    text-decoration: underline;
}
/* Shift Quick Links to the right ONLY on Desktop */
@media (min-width: 1024px) { 
    .footer-section:nth-child(2) { 
        margin-left: 150px; /* Adjust as needed */
    }
}


@media (max-width: 767px) {
    .footer-section.quick-links {
        display: none;
    }
}
@media (max-width: 768px) {
    .footer-section.quick-links {
        display: none;
    }
    .footer-section:nth-child(2) { /* Target the second section (Quick Links) */
        display: none;
    }
    
}
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}
@media (max-width: 480px) {
    .footer-logo {
        font-size: 20px;
    }

    .footer-section h5 {
        font-size: 18px;
    }

    .footer-section p {
        font-size: 14px;
    }

    .footer-social img {
        width: 20px;
        height: 20px;
    }
}


#topBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #fdbb2d;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: none; /* Initially hidden */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s, transform 0.3s;
}

/* Hover Effect */
#topBtn:hover {
    background-color: #fdbb2d;
    transform: scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) { /* For tablets & mobile */
    #topBtn {
        bottom: 70px; /* Raise button to avoid footer overlap */
        right: 15px;  /* Adjust position */
        z-index: 9999; /* Highest priority */
    }
}


@media (max-width: 480px) {
    #topBtn {
        width: 35px;
        height: 35px;
        font-size: 18px;
        bottom: 10px;
        right: 10px;
    }
}
