/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Fix Navbar at the Top */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000; /* Ensures it stays above all content */
  background-color: #cddbd8; /* Same as your navbar background */
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

body {
  padding-top: 80px; /* adjust height according to navbar height */
}


/* Navbar Styling */
.navbar {
    font-family: "Poppins", sans-serif;
    background-color: #f8f9fa;
    
}

.navbar-brand {
    font-weight: 600;
    color: #02c423;
    font-size: 1.5rem;

}

.navbar-brand img{
    object-fit: contain;
    
}

.navbar-brand i {
    color: #02c423;
    /* Icon color */
    margin-right: 5px;
    font-size: 25px;
}

.collapse,
ul,
li.nav-item {
    padding: 4px 10px 4px 30px;
    font-size: 20px;
}


/* Navbar link styling */
.navbar-nav .nav-link {
    color: black;
    transition: color 0.3s ease;
    font-weight: 500;
}

/* Active link (Home) */
.navbar-nav .nav-link.active {
    color: #02c423;
    /* green (you can change this) */
    font-weight: 600;
}

/* Hover effect for About, Service, Contact */
.nav-link:hover {
    color: #02c423;
    /* Red color on hover */
}

.navbar-brand:hover {
    color: #02c423;
    /* Red color on hover */
}

.navbar {
    background-color: #cddbd8;
    /* Light background */
}

/* Make the hamburger icon visible and change color */
.navbar-light .navbar-toggler-icon {
    color: black;
}



/* Home page background */
.home-page img {
    background-image: url('');
    /* Apni image ka path yaha */
    background-size: cover;
    /* Image ko container ke size me fit kare */
    background-position: center;
    /* Centered image */
    background-repeat: no-repeat;
    /* Repeat na ho */
    height: 80vh;
    /* Full viewport height */
    width: 100%;
}


/* About Section  */

.about-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
    font-family: "Poppins", sans-serif;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 40px;
    /* Space between image and text */
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    /* Responsive wrap for smaller screens */
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #007bff;
}

.about-text h2 {
    font-size: 3.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #02c423;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #333;
}

.about-text .btn {
    padding: 10px 20px;
}




/* About Section  */

.service-section {
    font-family: "Poppins", sans-serif;
}

.txtser {
    text-align: center;
    color: #02c423;
}

.card {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    background-color: white;
}


/* Team Section */

.txtteam {
    text-align: center;
    color: #02c423;
}

.team-container {
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
    position: relative;
}

.team-slider {
    display: flex;
    gap: 20px;
    animation: scrollTeam 25s linear infinite;
}

.team-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    flex: 0 0 250px;
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-card h3 {
    margin: 10px 0 5px;
    color: #333;
}

.team-card p {
    margin-bottom: 15px;
    color: #777;
}

/* Auto Scroll Animation */
@keyframes scrollTeam {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .team-card {
        flex: 0 0 200px;
    }

    .team-card img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .team-card {
        flex: 0 0 160px;
    }

    .team-card img {
        height: 160px;
    }
}




.footer-logo {
  width: 100px;          /* responsive size */
  height: 100px;
  object-fit: cover;
  border: 3px solid #fff; /* white border for circle */
}

@media (max-width: 576px) {
  .footer-logo {
    width: 80px;
    height: 80px;
  }
  .text-uppercase{
    text-align: center;
  }
}




.contact-section {
  background: #f8f9fa;
}

.contact-info {
  background: linear-gradient(135deg, #006400, #008000);
}

.contact-section input,
.contact-section textarea {
  border: 2px solid #dee2e6;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.contact-section input:focus,
.contact-section textarea:focus {
  border-color: #198754;
  box-shadow: 0 0 5px rgba(25, 135, 84, 0.3);
}




.scroll-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #198754; /* Green color */
  color: white;
  font-size: 20px;
  padding: 12px 15px;
  border-radius: 50%;
  text-align: center;
  display: none;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s ease;
}

.scroll-to-top:hover {
  background-color: #145c32; /* Darker green on hover */
  transform: scale(1.1);
}


.btn{
    background-color: #02c423;
    border: #02c423;
    border-radius: 50px;
}

.btn:hover{
    background-color: #008000;
}

html {
  scroll-behavior: smooth;
}





/* Mobile Responsive */
@media (max-width: 768px) {

    .navbar-brand {
        font-size: 1rem;
    }

    .about-container {
        flex-direction: column;
        /* Stack image and text */
        text-align: center;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .about-image img {
        margin-bottom: 20px;
    }


     .navbar-nav {
        padding-left: 0;  /* remove default padding */
    }

    .navbar-nav .nav-item {
        padding: 0;       /* remove extra padding from li */
        margin: 0;        /* optional: remove margin if added */
        text-align: center; /* optional: center links */
    }

    .navbar-nav .nav-link {
        font-size: 16px; /* adjust for mobile */
        padding: 10px 0; /* spacing between links */
    }

    .collapse.show {
        text-align: center; /* optional: center the menu items when expanded */
    }


}

/* Mobile specific styles */
@media (max-width: 768px) {
    /* Navbar aur image ke upar se gap kam karna */
    body, header, nav {
        margin-top: 0;  /* agar body ya header me default margin hai to remove kare */
        padding-top: 0; /* padding ko bhi reset kare */
    }

    /* Navbar links ka font size kam karna */
    nav a {
        font-size: 14px; /* aap 12px-16px me adjust kar sakte ho */
        padding: 10px 8px; /* mobile me thoda compact links */
    }

    /* Agar image ke upar bhi extra space hai */
    img {
        margin-top: 0px;
    }
}






