/* Navbar Styling */


/* Navbar Styling */


/* General Navbar Styling */

.navbar {
    padding: 15px 30px;
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    /* Ensures no wrapping in desktop view */
}


/* Logo Styling */

.logo {
    height: 70px;
    transition: transform 0.4s ease-in-out, filter 0.4s ease-in-out;
    filter: brightness(0.9);
}

.logo:hover {
    transform: scale(1.2);
    filter: brightness(6.9);
}


/* Navbar Links */

.navbar-nav {
    display: flex;
    align-items: center;
    margin-left: auto;
    /* Ensures items align to the right */
}

.navbar-nav .nav-link {
    font-size: 1.5rem;
    color: silver !important;
    padding: 10px 20px;
    font-weight: 600;
    position: relative;
    margin: 0 10px;
    transition: color 0.3s ease-in-out;
}

.navbar-nav .nav-link:before {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ffc107;
    transition: width 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover:before {
    width: 100%;
}

.navbar-nav .nav-link:hover {
    color: #ffc107 !important;
}


/* Navbar Toggler */

.navbar-toggler {
    border-color: #fff;
    transition: transform 0.4s ease-in-out;
}

.navbar-toggler:hover {
    transform: rotate(90deg);
}


/* Dropdown Menu Styling */

.dropdown-menu {
    background-color: #444;
    border: none;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.dropdown-item {
    color: #fff !important;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}

.dropdown-item:hover {
    background-color: #ffc107 !important;
    color: #333 !important;
}


/* Responsive Styling */

@media (max-width: 768px) {
    .navbar {
        justify-content: center;
        flex-wrap: wrap;
    }
    .logo {
        position: relative;
        left: 0;
        transform: none;
        height: 50px;
        margin-bottom: 10px;
        /* Center logo in mobile */
    }
    .navbar-toggler {
        position: absolute;
        right: 20px;
        top: 15px;
    }
    .collapse {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    .navbar-nav {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }
    .navbar-nav .nav-link {
        padding: 10px 0;
        margin: 0;
        width: 100%;
    }
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures video covers the container */
}


/* Carousel Caption Styling */


/* 
.carousel-caption h5 {
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
}

.carousel-caption p {
    font-size: 1.2rem;
} */


/* Footer Styles */

footer {
    background-color: red;
}

footer p {
    margin: 0;
}

footer a {
    color: #ffc107;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

footer a:hover {
    color: #ffffff;
}


/* Media Queries for Mobile Adjustments */

@media (max-width: 991px) {
    .navbar-nav .nav-item {
        text-align: center;
        padding: 10px 0;
    }
    .carousel-caption {
        bottom: 20px;
    }
    .carousel-caption h5 {
        font-size: 1.5rem;
    }
    .carousel-caption p {
        font-size: 1rem;
    }
}


/* Now its Css for Main File */


/* General styles for body */

.container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.box {
    flex: 1 1 calc(25% - 40px);
    /* Flexible width, considering gap */
    min-width: 250px;
    /* Minimum width to control size on smaller screens */
    background-color: #f9f9f9;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.box:hover {
    transform: scale(1.05);
}

.box_img {
    width: 100%;
    padding-bottom: 75%;
    /* Aspect ratio of the image */
    background-size: cover;
    background-position: center;
}

h3 {
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
}


/* Responsive Adjustments */

@media (max-width: 1024px) {
    .box {
        flex: 1 1 calc(33.333% - 30px);
        /* 3 boxes per row */
    }
}

@media (max-width: 768px) {
    .box {
        flex: 1 1 calc(50% - 20px);
        /* 2 boxes per row */
    }
}

@media (max-width: 576px) {
    .box {
        flex: 1 1 100%;
        /* Single column on small screens */
    }
}

.services-header {
    text-align: center;
    padding: 20px;
    background-color: #f5f5f5;
}

.services-header h1 {
    font-size: 2.5rem;
    /* Default font size for large screens */
    font-weight: bold;
    margin: 0;
    color: #333;
}


/* Responsive Adjustments */

@media (max-width: 1024px) {
    .services-header h1 {
        font-size: 2rem;
        /* Slightly smaller font for tablets */
    }
}

@media (max-width: 768px) {
    .services-header h1 {
        font-size: 1.75rem;
        /* Smaller font for smaller screens */
    }
}

@media (max-width: 576px) {
    .services-header h1 {
        font-size: 1.5rem;
        /* Even smaller for mobile devices */
    }
}


/* General styles for body */

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}


/* Container for the page content */

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}


/* Header styles */

header {
    background-color: #333;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}


/* Heading styles */

h1 {
    margin: 0;
}


/* Contact info section styles */

.contact-info {
    margin: 20px 0;
}

.contact-info h2 {
    color: #333;
}

.contact-details {
    display: flex;
    flex-wrap: wrap;
    /* Allow wrapping for smaller screens */
    justify-content: space-between;
}

.contact-item {
    flex: 1 1 calc(33% - 20px);
    /* Responsive columns */
    margin: 10px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


/* Contact form section styles */

.contact-form {
    margin: 20px 0;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    color: #333;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    color: #666;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}


/* Button styling */

.contact-form button {
    background-color: #333;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #555;
}


/* Map section styles */

.map {
    margin: 20px 0;
}

.map h2 {
    color: #333;
}


/* Footer styles */


/* Responsive styles */

@media (max-width: 768px) {
    .contact-details {
        flex-direction: column;
        /* Stack items on smaller screens */
    }
    .contact-item {
        flex: 1 1 100%;
        /* Full width for contact items */
    }
}


/* service */


/* General styles for body */

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}


/* Container for the page content */

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}


/* Header styles */

header {
    background-color: #333;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}


/* Heading styles */

h1 {
    margin: 0;
}


/* Company info section styles */

.company-info {
    margin: 20px 0;
}

.company-info h2 {
    color: #333;
}


/* Services section styles */

.services {
    margin: 20px 0;
}

.services h2 {
    color: #333;
}


/* Service boxes styling */

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

.service-box:hover {
    transform: scale(1.05);
}


/* Service heading styles */

.service-box h3 {
    color: #333;
    margin-top: 0;
}


/* Paragraph text styling */

.service-box p {
    color: #666;
}

.map-container {
    position: relative;
    padding-bottom: 56.25%;
    /* Aspect ratio: 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #f0f0f0;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

header {
    background: linear-gradient(#3667cd, #c51e2a);
    /* Changed to red */
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}


/* team */


/* Team Section Styling */

.team-section {
    padding: 50px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.team-section p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
}


/* Team Member Layout */

.team-member {
    margin-bottom: 30px;
    transition: transform 0.3s ease;
    padding: 10px;
    text-align: center;
    /* Removed outer border */
    /* Removed border: 2px solid #333; */
}

.team-member:hover {
    transform: translateY(-10px);
    /* Slight lift on hover */
}


/* Image Styling without border */

.team-member img {
    width: 100%;
    max-width: 200px;
    /*Fixed image size*/
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
    margin-bottom: 15px;
    /* Removed the border */
    /* Removed border: 4px solid #333; */
}


/* Hover effect on image */

.team-member:hover img {
    transform: scale(1.1);
    /* Zoom effect */
    opacity: 0.9;
    /* Slight transparency */
}


/* Text Styling */

.team-member h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-top: 10px;
}

.team-member p {
    color: #666;
    font-size: 1rem;
}


/* Hover effect on text */

.team-member:hover h3 {
    color: #ff6347;
    /* Change text color on hover */
}

.team-member:hover p {
    color: #333;
}


/* Adding gap between photos */

.team-member {
    margin: 0 15px;
    /* Adds horizontal spacing */
}


/* Responsive Adjustments */

@media (max-width: 768px) {
    .team-member img {
        max-width: 150px;
        /* Smaller image size for tablets */
    }
}

@media (max-width: 576px) {
    .team-member img {
        max-width: 130px;
        /* Smaller image size for mobile */
    }
    .team-member h3 {
        font-size: 1.2rem;
    }
    .team-member p {
        font-size: 0.9rem;
    }
}