/********** Template CSS **********/
:root {
    --primary: #0CDA9A;
    --secondary: #000000;
    --light: #F8F9FA;
    --dark: #176B22;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

/* Global Font Family */
body {
  font-family: 'Lato', sans-serif;
  line-height: 1.6;
  color: #333; /* Text color for better contrast */
}

/* Navbar font */
.navbar, .navbar-brand, .nav-link {
  font-family: 'Lato', sans-serif;
}

/* Active navbar link with a modern feel */
.nav-item .nav-link.active {
  font-weight: 600; /* Semi-bold */
  color: #0d6efd !important; /* Adjust to your theme's primary color */
}

/* Buttons and links */
button, a {
  font-family: 'Lato', sans-serif;
  text-decoration: none;
}

/* Update headings for a modern look */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Lato', sans-serif;
  font-weight: 600; /* Semi-bold for headings */
}

/* Adjust paragraph font size for readability */
p {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
}

/* Navbar item font weight adjustment */
.navbar-nav .nav-item {
  font-weight: 400; /* Regular weight for navbar items */
}

/* Optional: Improve button or link hover effects */
button:hover, a:hover {
  color: #0d6efd; /* Primary color on hover */
  text-decoration: underline; /* Underline on hover */
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/* Hero Section */
.hero {
  background-color: #176B22;
  color: #ffffff;
  padding: 6rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.25rem;
}

/*** Navbar ***/

/* Active link */
.nav-item .nav-link.active {
  font-weight: 600;
  color: #28a745 !important; /* Matching logo green */
}

/* Hover effect for nav links */
.nav-item .nav-link:hover {
  color: #28a745; /* Green color for hover */
  transition: color 0.3s ease;
}

/* Navbar items transition */
.navbar-nav .nav-item {
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Hover effect for nav items */
.navbar-nav .nav-item:hover {
  transform: translateY(-3px);
}

/* Navbar sticky transition */
.navbar.sticky-top {
    top: -100px;
    transition: top 0.5s ease;
}

/* Navbar link styling */
.navbar .navbar-nav .nav-link {
    margin-left: 20px; /* Reduced space between items */
    padding: 20px 0;
    color: #666; /* Dark grey for links */
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
    letter-spacing: 1px; /* Slight spacing for modern effect */
    font-family: 'Lato', sans-serif; /* Sleek font */
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Hover & active link */
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #28a745; /* Green for hover and active */
}

/* Dropdown toggle icon */
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107"; /* Downward arrow */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
    color: #28a745; /* Green color for dropdown icon */
    transition: color 0.3s ease;
}

/* Hover effect on dropdown icon */
.navbar .dropdown-toggle:hover::after {
    color: #0d6efd; /* Blue on hover */
}

/* Navbar responsive styles */
@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-left: 0;
        padding: 10px 0;
        font-size: 1.1rem; /* Slightly larger text for mobile */
    }

    .navbar .navbar-nav {
        margin-top: 25px;
        border-top: 1px solid #EEEEEE;
    }
}

/* Dropdown menu animation */
@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        right: 0;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s, visibility 0.5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        opacity: 1;
        transition: opacity 0.5s, visibility 0.5s;
    }
}

/* Header */
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem; /* Slightly smaller for minimalism */
    height: 3.5rem; /* Same size as width */
    background-color: transparent; /* Transparent background */
    border: 2px solid #28a745; /* Green border */
    border-radius: 50%; /* Circular arrow buttons */
    transition: transform 0.3s ease; /* Smooth transition for the hover effect */
}

/* Hover Effect for Minimal Arrows */
.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    transform: scale(1.1); /* Slight grow effect on hover */
    color: #28a745; /* Green color for the arrows on hover */
}

/* Ensure the text remains white and inviting */
.carousel-caption h1,
.carousel-caption h2,
.carousel-caption p {
    color: white !important;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
}

/* Improve the text styling */
.carousel-caption h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.carousel-caption h2 {
    font-size: 4.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.carousel-caption p {
    font-size: 1.25rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 400px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 3rem;
        height: 3rem;
        border-width: 2px;
    }

    .carousel-caption h1 {
        font-size: 2.5rem;
    }

    .carousel-caption h2 {
        font-size: 3rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }
}


.page-header {
    background: linear-gradient(rgba(0, 0, 0, .65), rgba(0, 0, 0, .65)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #FFFFFF;
}

/* About Section */
.about-section {
  background-color: #f9f9f9; /* Light background color for modern look */
  padding: 50px 0;  /* Reduced padding for tighter layout */
}

.about-img-wrapper {
  position: relative;
  max-height: 450px; /* Adjusted height */
  overflow: hidden;
  border-radius: 12px;
}

.about-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.about-img-wrapper img:hover {
  transform: scale(1.05); /* Slight zoom-in effect on hover */
}

.about-text .section-header h6 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 10px;  /* Reduced margin */
}

.about-text .section-header h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #333; /* Darker text color */
  margin-bottom: 20px;  /* Reduced bottom margin */
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.6;  /* Reduced line height for tighter text */
  color: #555; /* Softer gray for text */
  font-weight: 400;
  margin-bottom: 20px;  /* Reduced space between paragraphs */
}

.about-text .feature {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 5px 0;  /* Reduced padding */
  font-size: 1rem;
}

.about-text .feature i {
  margin-right: 12px;
  color: #28a745; /* Green from logo */
}

.about-text .feature h6 {
  font-weight: 600;
  margin: 0;
  color: #333; /* Dark color for feature titles */
}

@media (max-width: 991.98px) {
  .about-img-wrapper {
    max-height: 300px;  /* Reduced image height for mobile */
  }

  .about-text .section-header h1 {
    font-size: 1.8rem;  /* Reduced heading size */
  }

  .about-text p {
    font-size: 1rem;
  }
}

/*** Facts ***/
.facts-item {
  background-color: #28a745; /* Green background similar to the carousel */
  padding: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 300px; /* Adjust the height for better layout */
  border-radius: 10px; /* Rounded corners for a sleek look */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Light shadow for depth */
  margin-bottom: 30px;
}

.facts-overlay {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #fff; /* White text for contrast */
  text-align: left;
}

.facts-overlay h1 {
  font-size: 100px;
  color: transparent;
  -webkit-text-stroke: 3px #fff; /* White stroke for visibility */
  margin-bottom: 10px;
}

.facts-overlay h4 {
  font-size: 1.8rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.facts-overlay p {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
  color: #fff; /* Ensure text is white for readability */
  max-width: 280px;
}

/* Hover effect for facts items */
.facts-item:hover {
  background-color: #218838; /* Darker green for hover effect */
  transform: scale(1.05); /* Slight zoom effect */
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.facts-item:hover .facts-overlay h1 {
  -webkit-text-stroke: 3px #fff; /* Ensure the text stroke remains visible */
}

/* Styling for responsiveness */
@media (max-width: 768px) {
  .facts-item {
    height: 250px; /* Adjust height for smaller screens */
    margin-bottom: 20px;
  }

  .facts-overlay h1 {
    font-size: 80px; /* Smaller text size for mobile */
  }

  .facts-overlay h4 {
    font-size: 1.5rem;
  }

  .facts-overlay p {
    font-size: 0.9rem;
  }
}

/* Features Section */
#features {
  background-color: #f8f9fa;
  padding: 80px 0;
}

#features .display-4 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
}

#features .lead {
  font-size: 1.2rem;
  color: #666;
}

.feature-box {
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
  background-color: white;
  border: 1px solid #e0e0e0;
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.feature-box i {
  color: #28a745; /* Green from the logo */
}

.feature-box h5 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
}

.feature-box p {
  font-size: 1rem;
  color: #555;
}

/* Add a slight hover effect on the icons */
.feature-box i:hover {
  color: #0d6efd; /* Blue on hover */
}

@media (max-width: 768px) {
  #features .row-cols-md-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  #features .row-cols-lg-4 {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* Our Services Section */
#services {
  background-color: #ffffff; /* Maintain a clean white background */
  padding: 60px 0;  /* Increased padding for better spacing */
}

.service-card {
  background-color: #f7f7f7; /* Light gray background for each service card */
  border: 1px solid #ddd; /* Subtle border for separation */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px); /* Slight lift effect on hover */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Light shadow for depth */
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #333; /* Dark text for title */
  margin-bottom: 15px;
}

.service-description {
  font-size: 1rem;
  color: #555; /* Softer gray for description */
  line-height: 1.6;
}

@media (max-width: 991.98px) {
  .service-card {
    padding: 20px;
  }
  
  .service-title {
    font-size: 1.1rem;  /* Smaller titles on mobile */
  }

  .service-description {
    font-size: 0.9rem;  /* Smaller text for better readability */
  }
}

@media (max-width: 576px) {
  #services {
    padding: 40px 0; /* Less padding on small screens */
  }

  .service-title {
    font-size: 1rem; /* Even smaller title for mobile */
  }

  .service-description {
    font-size: 0.85rem; /* Smaller description for better fit */
  }
}

.card {
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card img {
    height: 200px;
    object-fit: cover;
}

/* Appointment Section */
#appointment {
    background-color: #ffffff; /* Light background color for modern, clean look */
    padding: 60px 0;  /* Enough padding for a spacious design */
}

#appointment .section-header {
    text-align: center; /* Centered title */
    margin-bottom: 30px; /* Space between the title and content */
}

#appointment .section-header h2 {
    font-size: 2.5rem;  /* Large and bold header */
    font-weight: 700;   /* Bold for emphasis */
    color: #333; /* Dark text for readability */
    margin-bottom: 10px; /* Spacing after the title */
}

#appointment .section-header p {
    font-size: 1.1rem;
    color: #555; /* Softer gray for subtitle text */
    font-weight: 400;  /* Regular weight */
    margin-bottom: 40px; /* Space between subtitle and form */
}

/* Appointment Form */
#appointment-form {
    background-color: #ffffff; /* White background for the form */
    padding: 30px;
    border-radius: 10px; /* Slight rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    max-width: 800px;
    margin: 0 auto; /* Center the form */
}

#appointment-form input,
#appointment-form select,
#appointment-form textarea {
    width: 100%; /* Full width for inputs */
    padding: 15px;
    border: 1px solid #ddd; /* Light border for inputs */
    border-radius: 8px; /* Rounded edges for inputs */
    font-size: 1rem;
    margin-bottom: 20px; /* Space between inputs */
    box-sizing: border-box; /* Prevents content from overflowing */
}

#appointment-form input:focus,
#appointment-form select:focus,
#appointment-form textarea:focus {
    outline: none;
    border-color: #0CDA9A; /* Green border for focus */
    box-shadow: 0 0 5px rgba(12, 218, 154, 0.5); /* Subtle glow effect */
}

#appointment-form button {
    background-color: #28a745; /* Green button background */
    color: #fff;  /* White text */
    font-size: 1.1rem;
    font-weight: 600;  /* Semi-bold text */
    padding: 15px 30px; /* Spacious button */
    border: none;
    border-radius: 8px; /* Rounded button edges */
    width: 100%;  /* Full width for button */
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Button Hover Effect */
#appointment-form button:hover {
    background-color: #218838; /* Darker green on hover */
}

#appointment-form .form-group {
    margin-bottom: 30px; /* Space between form groups */
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    #appointment-form {
        padding: 20px;
        margin: 0 15px; /* Less margin on smaller screens */
    }

    #appointment-form button {
        font-size: 1rem; /* Smaller button text on mobile */
    }

    #appointment .section-header h2 {
        font-size: 2rem;  /* Smaller header on mobile */
    }

    #appointment .section-header p {
        font-size: 1rem; /* Adjust paragraph text */
    }
}

/* Success or Error Message Styling */
#appointment-form .alert {
    font-size: 1.1rem;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;  /* Rounded alert boxes */
}

#appointment-form .alert-success {
    background-color: #28a745; /* Green background for success */
    color: white;
}

#appointment-form .alert-danger {
    background-color: #dc3545; /* Red background for error */
    color: white;
}

/* Mobile responsiveness for smaller screens */
@media (max-width: 576px) {
    #appointment .section-header h2 {
        font-size: 1.8rem; /* Smaller text for mobile */
    }

    #appointment-form button {
        font-size: 0.95rem; /* Smaller button font size */
    }

    #appointment-form .form-group {
        margin-bottom: 15px; /* Reduced space between fields on mobile */
    }
}

/* Partners */
 .partner-card {
            border: 2px solid var(--primary);
            border-radius: 10px;
            transition: transform 0.3s;
        }
        .partner-card:hover {
            transform: scale(1.05);
        }
        .partner-logo {
            max-width: 150px;
            height: auto;
        }

/* Form Styling */
form .form-floating {
  margin-bottom: 15px;
}

form input, form textarea {
  background-color: #333;
  border: 1px solid #444;
  color: black;
  padding: 15px;
  border-radius: 5px;
}

form textarea {
  resize: none;
}

form label {
  color: rgba(255, 255, 255, 0.7);
}

form button {
  background-color: #007bff;
  border: none;
  color: white;
  font-size: 1.2rem;
  padding: 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #0056b3;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .appointment-header h1 {
    font-size: 2rem;
  }

  form button {
    font-size: 1rem;
  }
}

/* Team Section Styles */
.team {
  background-color: #f9f9f9;
  padding-top: 60px;
  padding-bottom: 60px;
}

.team h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: #176B22;
  margin-bottom: 2rem;
}

.team-card {
  background-color: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  text-align: center;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-card h5 {
  font-size: 1.25rem;
  color: #176B22;
  margin-bottom: 0.5rem;
}

.team-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .team h2 {
    font-size: 2rem;
  }

  .team-card {
    padding: 20px;
  }
}

/* FadeInUp Animation */
.wow.fadeInUp {
    visibility: visible;
    animation: fadeInUp 1s ease-in-out;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.partners-item {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 40px;
    height: 200px;
}

.partners-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease-in-out;
}

.partner-logo {
    max-width: 120px;
    filter: grayscale(100%);
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
}

.partners-item:hover .partner-logo {
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Video Section Styles */
#video-section {
  background-color: #f8f9fa;
  padding: 60px 0;
}

.video-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.video-item video {
  width: 100%;
  height: auto;
}

.video-overlay {
  transition: opacity 0.3s ease;
  opacity: 0;
  z-index: 1;
}

.video-item:hover .video-overlay {
  opacity: 1; /* Show play icon on hover */
}

.video-overlay .fa-play {
  transition: transform 0.3s ease;
}

.video-item:hover .fa-play {
  transform: scale(1.2); /* Slightly enlarge play icon on hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .video-item video {
    height: 250px; /* Reduce video height on smaller screens */
  }
}


/* Modern Footer Styles */
.footer {
  color: #FFFFFF;
  background: #1d1f22; /* Dark background */
}

.footer-logo {
  text-align: center;
  display: block;
  margin-bottom: 20px;
}

.footer-logo-img {
  width: 150px; /* Adjust the size of the logo */
  height: auto;
  display: block;
  margin: 0 auto;
}

.footer-description {
  color: #B0B0B0; /* Lighter text for description */
  font-size: 1rem;
  text-align: center;
  margin-bottom: 20px;
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: #FFFFFF;
  font-weight: normal;
  text-transform: capitalize;
  transition: .3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105"; /* FontAwesome icon for link */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #FFFFFF;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  color: var(--light);
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .btn.btn-outline-light {
  transition: 0.3s ease-in-out;
}

.footer .btn-outline-light:hover {
  background-color: #ffffff;
  color: #1d1f22; /* Contrast with dark background */
}

.footer .copyright {
  padding: 25px 0;
  font-size: 15px;
  border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
  color: #B0B0B0;
}

.footer .copyright a:hover {
  color: #ffffff;
}

/* Responsive Footer Styling */
@media (max-width: 768px) {
  .footer .container {
    text-align: center;
  }

  .footer .footer-logo img {
    width: 130px;
  }

  .footer .d-flex {
    justify-content: center;
  }

  .footer-description {
    font-size: 1.1rem;
  }
}


