/* General Reset for Box Sizing */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;

  /* vertical-align: center; */
}

body {
  font-size: 16px;
  /* Use rem units for font sizes */
  line-height: 1.5;
  margin: 0;
  overflow-x: hidden;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: "Open Sans", sans-serif;
  text-rendering: optimizeLegibility !important;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased !important;
  color: #777;
  font-weight: 400;
  width: 100% !important;
  height: 100% !important;
}

h2,
h3,
h4 {
  font-family: "Raleway", sans-serif;
}

h2 {
  text-transform: uppercase;
  margin: 0 0 20px;
  font-weight: 800;
  font-size: 36px;
  color: #333;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
}

h4 {
  font-size: 18px;
  color: #333;
  font-weight: 600;
}

h5 {
  text-transform: uppercase;
  font-weight: 700;
  line-height: 20px;
}

p {
  font-size: 15px;
}

p.intro {
  margin: 12px 0 0;
  line-height: 24px;
}

a {
  color: #1a5c1a;
  font-weight: 400;
}

a:hover,
a:focus {
  text-decoration: none;
  color: #2e8c00;
}

ul,
ol {
  list-style: none;
}

ul,
ol {
  padding: 0;
  webkit-padding: 0;
  moz-padding: 0;
}

hr {
  height: 2px;
  width: 70px;
  text-align: center;
  position: relative;
  background: linear-gradient(to right, #0d3b0d, #1a5c1a);
  margin-bottom: 20px;
  border: 0;
}


/* Navigation */
#menu {
  padding: 15px;
  transition: all 0.8s;

}

#menu.navbar-default {
  background-color: #fff;
  border-color: rgba(231, 231, 231, 0);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

#menu a.navbar-brand {
  font-family: "Raleway", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #333;
  display: flex;
  /* Make the brand a flex container */
  align-items: center;
  /* Align items (logo and text) vertically */
  gap: 10px;
  /* Space between the logo and the text */
}

.navbar-logo {
  height: 40px;
  width: auto;
  /* Adjusted height for a smaller logo */
  /* Maintain aspect ratio */
}

.navbar-slogan {
  font-size: 12px;
  /* Smaller text for the slogan */
  margin: 0;
  padding-top: 2px;
  color: #aaa;
  /* Light gray color for better contrast */
}

#menu.navbar-default .navbar-nav>li>a {
  font-family: "Lato", sans-serif;
  text-transform: uppercase;
  color: #555;
  font-size: 15px;
  font-weight: 400;
  padding: 8px 2px;
  border-radius: 0;
  margin: 9px 20px 0;
}

#menu.navbar-default .navbar-nav>li>a:after {
  display: block;
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #7aba00 0%, #5a9200 50%, #7aba00 100%);
  content: "";
  transition: width 0.2s;
}

#menu.navbar-default .navbar-nav>li>a:hover:after {
  width: 100%;
}

.navbar-default .navbar-nav>.active>a:after {
  width: 100%;
}

.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:focus {
  background-color: transparent;
  color: #1a5c1a;
}

.navbar-default .navbar-nav>.active>a:after,
.navbar-default .navbar-nav>.active>a:hover:after,
.navbar-default .navbar-nav>.active>a:focus:after {
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  bottom: -1px !important;
  width: 100% !important;
  height: 2px !important;
  background: linear-gradient(to right, #ffffff 0%, #f4f9f2 50%, #ffffff 100%);
  content: "" !important;
  transition: width 0.2s !important;
}

.navbar-toggle {
  border-radius: 0;
  /* margin-top: 0px; */
  margin-right: 0px;
  /* margin: 0px; */
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #ffffff00;
  border-color: #608dfd;
}

.navbar-default .navbar-toggle:hover>.icon-bar {
  background-color: #608dfd;
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
  #menu a.navbar-brand {
    font-size: 18px;
  }

  #menu.navbar-default .navbar-nav>li>a {
    font-size: 14px;
    margin: 5px 10px 0;
  }

  #features p {
    font-size: 20px;

  }

  #features h4 {
    font-size: 25px;

  }
}

@media (max-width: 768px) {
  #menu.navbar-default .navbar-nav {
    text-align: center;
  }

  #menu.navbar-default .navbar-nav>li {
    display: inline-block;
    margin: 5px;
  }

  .navbar-header {
    text-align: center;
    width: 100%;
    padding-bottom: 8px;
  }

  #features p {
    font-size: 15px;
  }

  /* Extend the collapse divider line to full width — no left gap */
  #menu .container {
    padding-left: 0;
    padding-right: 0;
  }

  #menu .navbar-collapse {
    margin-top: 8px;
    /* push line further below the logo */
    border-top-width: 1px;
    padding-left: 15px;
    padding-right: 15px;
  }

  #menu div {
    margin-right: 0;
  }

  #features h4 {
    font-size: 20px;
  }
}

@media (max-width: 576px) {
  #menu a.navbar-brand {
    font-size: 12px;
  }

  #menu.navbar-default .navbar-nav>li>a {
    font-size: 13px;
    padding: 10px 5px;
  }

  #menu div {
    margin-right: -15px;
  }

  .navbar-toggle {
    font-size: 20px;
  }

  #features p {
    font-size: 10px;

  }

  #features h4 {
    font-size: 15px;

  }

  .navbar-slogan {
    font-size: 8px;
    /* Smaller text for the slogan */
    margin: 0;
    padding-top: 2px;
    color: #aaa;
    /* Light gray color for better contrast */
  }

}

/* Transparent Navbar */
.navbar-transparent {
  background-color: transparent !important;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-shadow: none;
}

/* White Navbar */
.navbar-white {
  background: #ffffff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Text Colors */
.text-white .navbar-brand,
.text-white .navbar-nav>li>a {
  color: #fff !important;
  /* White text */
}

.text-gray .navbar-brand,
.text-gray .navbar-nav>li>a {
  color: #555 !important;
  /* Gray text */
}

/* Hover Effects */
.text-white .navbar-nav>li>a:hover {
  color: #ddd !important;
}

.text-gray .navbar-nav>li>a:hover {
  color: #1a5c1a !important;
}

/* Icon Bars for Toggle Button */
.navbar-transparent .navbar-toggle .icon-bar {
  background-color: #fff !important;
  /* White icons for transparent background */
}

.navbar-white .navbar-toggle .icon-bar {
  background-color: #555 !important;
  /* Gray icons for white background */
}








/* Header Section */

.intro {
  display: table;
  width: 100%;
  padding: 0;
  height: 100vh;
  overflow: hidden;
  max-width: 100%;
  background: url('../img/aradhnagroup-webbanner.webp') center center no-repeat;
  background-color: #1a2a1a;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
}

/* Mobile banner for smaller screens */
@media (max-width: 768px) {
  .intro {
    height: 100vh;
    background: url('../img/aradhnagroup-webbanner-mobile.webp') center top no-repeat;
    background-size: cover;
    background-position: center 15%;
  }
}

.intro .overlay {
  background: linear-gradient(to bottom, 
    rgba(0, 0, 0, 0.7) 0%, 
    rgba(0, 0, 0, 0.3) 20%, 
    rgba(0, 0, 0, 0.1) 50%, 
    rgba(0, 0, 0, 0.3) 80%, 
    rgba(0, 0, 0, 0.7) 100%);
  height: 100%;
}

/* Statistics Section */
#statistics {
  padding: 30px 0 80px;
  background: linear-gradient(135deg, #1a2a1a 0%, #2a3a2a 100%);
  position: relative;
  overflow: hidden;
}

#statistics::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../img/aradhnagroup-webbanner.webp') center center no-repeat;
  background-size: cover;
  opacity: 0.1;
  z-index: 0;
}

#statistics .container {
  position: relative;
  z-index: 1;
}

.stat-item {
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  margin: 15px 0;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: #F4D03F;
  margin: 0;
  font-family: "Raleway", sans-serif;
}

.stat-label {
  font-size: 14px;
  color: #FFFFFF;
  margin: 0 0 8px;
  font-weight: 400;
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  #statistics {
    padding: 20px 0 60px;
  }
  
  .stat-item {
    margin: 10px 0;
    padding: 20px 15px;
  }
  
  .stat-number {
    font-size: 28px;
  }

  .stat-label {
    font-size: 12px;
  }
}

.intro h1 {
  font-family: "Raleway", sans-serif;
  color: #F4D03F;
  font-size: 40px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -2px;
  margin-top: 0;
  text-align: center;
  margin-bottom: 10px;
  white-space: pre-line;
  line-height: 1.2;
}

.intro h1 span {
  font-weight: 800;
  color: #4ab800;
}

.intro p {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 900;
  font-family: "Raleway", sans-serif;
  margin-top: 10px;
  margin-bottom: 60px;
}

header .intro-text {
  padding-top: 50%;
  padding-bottom: 22%;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  height: 100vh;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  header .intro-text {
    padding-top: 20%;
    padding-bottom: 38%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    height: 100vh;
    margin-bottom: 0;
  }

  .intro h1 {
    font-family: "Raleway", sans-serif;
    color: #F4D03F;
    font-size: 7vw;
    padding: 0;
    margin: 0 auto;
    /* Center the text container */
    max-width: 100%;
    /* Avoid exceeding the screen width */
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 10px;
    white-space: pre-line;
    line-height: 1.2;
  }

  .intro p {
    color: #FFFFFF;
    font-size: 3.5vw;
    font-weight: 900;
    line-height: 30px;
    margin: 0 auto;
    margin-bottom: 60px;
  }

  .gujarati-headline {
    font-size: 6vw !important;
    line-height: 1.3 !important;
  }

  .english-subtext {
    font-size: 3.5vw !important;
    letter-spacing: 1px !important;
  }
}

/* Gujarati headline text - Golden/Yellow */
.gujarati-headline {
  font-family: 'Mukta', 'Noto Sans Gujarati', sans-serif;
  color: #F4D03F;           /* brighter golden color */
  font-size: 28px;
  font-weight: 700;
}

/* English subtext - White */
.english-subtext {
  font-family: 'Montserrat', 'Rajdhani', sans-serif;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.btn-custom {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(to right, #0d3b0d 0%, #1a5c1a 100%);
  padding: 14px 34px;
  letter-spacing: 1px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  border-radius: 25px;
  transition: all 0.5s linear;
  border: 0;
}

.btn-custom:hover,
.btn-custom:focus,
.btn-custom.focus,
.btn-custom:active,
.btn-custom.active {
  color: #fff;
  background-image: none;
  background-color: #071a07;
}

.btn:active,
.btn.active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

a:focus,
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
  outline: none;
  outline-offset: none;
}








/* ===================== */
/* Certifications Section */
/* ===================== */
#certifications {
  padding: 70px 0 60px;
  background: #ffffff;
}

#certifications .section-title h2 {
  color: #222;
  font-size: 28px;
  margin-bottom: 10px;
}

.cert-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, #7aba00, #5a9200);
  margin: 0 auto 18px;
  border-radius: 2px;
}

#certifications .section-title p {
  color: #666;
  font-size: 15px;
  margin-bottom: 40px;
}

.cert-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 860px;
  margin: 0 auto;
}

.cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: default;
  flex: 0 1 350px;
}

.cert-logo-box {
  width: 180px;
  height: 120px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-item:hover .cert-logo-box {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(122, 186, 0, 0.25);
}

.cert-logo {
  width: 140px;
  height: 90px;
  object-fit: contain;
}

.cert-label {
  font-size: 13px;
  font-weight: 700;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

@media (max-width: 768px) {
  .cert-grid {
    gap: 30px;
  }

  .cert-item {
    flex: 0 1 280px;
  }

  .cert-logo-box {
    width: 140px;
    height: 100px;
  }

  .cert-logo {
    width: 110px;
    height: 75px;
  }
}

@media (max-width: 480px) {
  .cert-grid {
    gap: 15px;
    flex-direction: row;
    align-items: flex-start;
  }

  .cert-item {
    flex: 0 1 calc(50% - 15px);
  }

  .cert-logo-box {
    width: 130px;
    height: 90px;
  }

  .cert-logo {
    width: 100px;
    height: 65px;
  }

  .cert-label {
    font-size: 11px;
  }

  #certifications .section-title h2 {
    font-size: 22px;
  }
}

/* Features Section */
#features {
  background: #f6f6f6;
  max-width: 100%;
}

#features h2 {
  font-size: 25px;

}

#features i.fa {
  font-size: 38px;
  margin-bottom: 20px;
  transition: all 0.5s;
  color: #ffffff;
  width: 100px;
  height: 100px;
  padding: 30px 0;
  border-radius: 50%;
  background: linear-gradient(to right, #0d3b0d 0%, #1a5c1a 100%);
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.08);
}





/* Features Section */
#Features {
  background: #ffffff;
  max-width: 100%;
}

#Features h2 {
  position: relative;
  margin-bottom: 15px;
  font-size: 25px;
  padding-bottom: 15px;
}

#Features h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, #7aba00, #5a9200);
  height: 4px;
  width: 60px;
  bottom: 0;
  left: 45%;
  border-radius: 2px;
}

#features i.fa {
  font-size: 38px;
  margin-bottom: 20px;
  transition: all 0.5s;
  color: #fff;
  width: 50px;
  height: 50px;
  padding: 30px 0;
  border-radius: 50%;
  background: linear-gradient(to right, #0d3b0d 0%, #1a5c1a 100%);
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.08);
}




#about {
  padding: 100px 0;
}

#about h3 {
  font-size: 22px;
  margin: 0 0 20px;
}

#about h2 {
  position: relative;
  margin-bottom: 15px;
  padding-bottom: 15px;
}

#about h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, #7aba00, #5a9200);
  height: 4px;
  width: 60px;
  bottom: 0;
  left: 0;
  border-radius: 2px;
}

#about .about-text li {
  margin-bottom: 6px;
  margin-left: 6px;
  list-style: none;
  padding: 0;
}

#about .about-text li:before {
  content: "\f00c";
  font-family: "FontAwesome";
  color: #1a5c1a;
  font-size: 11px;
  font-weight: 300;
  padding-right: 8px;
}

.about-img-frame {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.06);
}

.about-img-mobile {
  display: none;
  margin: 18px 0 24px;
}

@media (max-width: 767px) {
  #about .about-img-col {
    display: none;
  }
  #about .about-img-mobile {
    display: block;
  }
}

#about img {
  width: 100%;
  display: block;
  transform: scale(1.25);
  transform-origin: center center;
}

@media (max-width: 767px) {
  #about img {
    margin-bottom: 30px;
  }
}

#about p {
  line-height: 24px;
  margin: 30px 0;
}

.float-image {
  float: left;
  box-shadow: 0 4px 10px rgb(0, 0, 0);
  border-radius: 15px;
  margin: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.float-image:hover {
  transform: scale(1.05);
  /* Slight zoom effect */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  /* Stronger shadow on hover */
}










/* Services Section */
#services {
  padding: 100px 0;
  background: linear-gradient(to right, #071a07 0%, #0d3b0d 50%, #071a07 100%);
  color: #fff;
}

#services .row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

#services .col-md-4 {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}


#services .service-desc {
  margin: 10px 10px 20px;
}

#services h2 {
  color: #fff;
}

#services i.fa {
  font-size: 42px;
  width: 120px;
  height: 120px;
  padding: 40px 0;
  background: linear-gradient(to right, #1a5c1a 0%, #2e8c00 100%);
  border-radius: 50%;
  color: #fff;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.15);
}

#services h3 {
  font-weight: 500;
  padding: 5px 0;
  color: #fff;
}

#services p {
  color: rgba(255, 255, 255, 0.75);
}

#services .service-desc {
  margin-bottom: 40px;
}

.service-image {
  width: 92%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-image:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(13, 59, 13, 0.75);
}







/* Portfolio Section */
#portfolio {
  padding: 100px 0 10px;
  align-items: center;
}


/* Category Selector */
.category-selector {
  margin-bottom: 20px;
  text-align: center;
}

.category-selector .btn {
  margin: 12px;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.category-selector .btn-primary {
  background: linear-gradient(to right, #0d3b0d 0%, #1a5c1a 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 10px rgba(13, 59, 13, 0.35);
}

.category-selector .btn-secondary {
  background-color: #f8f9fa;
  color: #333;
  border-color: #ddd;
}

.category-selector .btn:hover {
  opacity: 0.9;
}

.portfolio-item {
  margin: auto;
  padding: 0;
  justify-items: center;
  border-radius: 15px;
  /* Round edges */
  overflow: hidden;
  /* Ensure the round edges are applied */
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0);
  /* Add box shadow */
  transition: transform 0.3s, box-shadow 0.3s;
  /* Smooth transition */
}

.portfolio-item:hover {
  transform: scale(1.05);
  /* Slightly enlarge on hover */
  box-shadow: 0 6px 12px rgb(0, 0, 0);
  /* Stronger shadow on hover */
}

.portfolio-item .hover-bg {
  overflow: hidden;
  position: relative;
  margin: 0;
  border-radius: inherit;
  /* Ensure the hover-bg respects round edges */
}

.hover-bg .hover-text {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  text-align: center;
  margin: 0 auto;
  color: #333;
  background: linear-gradient(to right, rgba(122, 186, 0, 0.85) 0%, rgba(90, 146, 0, 0.85) 100%);
  padding: 30% 0 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: all 0.5s;
  border-radius: inherit;
  /* Ensure the hover-text respects round edges */
}

.hover-bg .hover-text>h4 {
  opacity: 0;
  color: #fff;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
  transition: all 0.3s;
  font-size: 18px;
  letter-spacing: 1px;
  font-weight: 500;
  text-transform: uppercase;
}

.hover-bg:hover .hover-text>h4 {
  opacity: 1;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

.hover-bg:hover .hover-text {
  opacity: 1;
}

#portfolio .section-title h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, #7aba00, #5a9200);
  height: 4px;
  width: 60px;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}


/* Buttons (Show More / Show Less) */
.text-center .btn {
  margin: 15px 10px;
  padding: 10px 20px;
  font-size: 1.5rem;
  background-color: #55595d;
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out, transform 0.2s, box-shadow 0.3s;
}

.text-center .btn:hover {
  background: linear-gradient(to right, #ffffff99 0%, #f4f9f2cc 50%, #ffffff99 100%);
  transform: translateY(-2px);
  /* Slight lift on hover */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  /* Add a soft shadow */
}

.text-center .btn:active {
  transform: translateY(1px);
  /* Subtle press effect */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  /* Reduce shadow */
}

.text-center .btn-secondary {
  background-color: #f8f9fa;
  color: #000000;
  border: 1px solid #000000;
  transition: background-color 0.3s ease-in-out, transform 0.2s, box-shadow 0.3s;
}

.text-center .btn-secondary:hover {
  background: linear-gradient(to right, #ffffffbb 0%, #f4f9f2dd 50%, #ffffffbb 100%);
  transform: translateY(-2px);
  /* Slight lift on hover */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  /* Add a soft shadow */
}

.text-center .btn-secondary:active {
  transform: translateY(1px);
  /* Subtle press effect */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  /* Reduce shadow */
}









@media (max-width: 768px) {


  #portfolio {
    padding: 100px 0 10px;
    align-items: center;
  }


  /* Category Selector */
  .category-selector {
    margin-bottom: 20px;
    text-align: center;
  }

  .category-selector .btn {
    margin: 12px;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 4px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
  }

  .category-selector .btn-primary {
    background: linear-gradient(to right, #ffffff 0%, #f4f9f2 50%, #ffffff 100%);

    background: linear-gradient(to right, #ffffff 0%, #f4f9f2 50%, #ffffff 100%);
  }

  .category-selector .btn-secondary {
    background-color: #f8f9fa;
    color: #333;
    border-color: #ddd;
  }

  .category-selector .btn:hover {
    opacity: 0.9;
  }

  .portfolio-item {
    margin: auto;
    padding: 0;
    justify-items: center;
    border-radius: 15px;
    /* Round edges */
    overflow: hidden;
    /* Ensure the round edges are applied */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0);
    /* Add box shadow */
    transition: transform 0.3s, box-shadow 0.3s;
    /* Smooth transition */
  }

  .portfolio-item:hover {
    transform: scale(1.05);
    /* Slightly enlarge on hover */
    box-shadow: 0 6px 12px rgb(0, 0, 0);
    /* Stronger shadow on hover */
  }

  .portfolio-item .hover-bg {
    overflow: hidden;
    position: relative;
    margin: 0;
    border-radius: inherit;
    /* Ensure the hover-bg respects round edges */
  }

  .hover-bg .hover-text {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    text-align: center;
    margin: 0 auto;
    color: #333;
    background: linear-gradient(to right, rgba(122, 186, 0, 0.85) 0%, rgba(90, 146, 0, 0.85) 100%);
    padding: 30% 0 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: all 0.5s;
    border-radius: inherit;
    /* Ensure the hover-text respects round edges */
  }

  .hover-bg .hover-text>h4 {
    opacity: 0;
    color: #ffffff;
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
    transition: all 0.3s;
    font-size: 18px;
    letter-spacing: 1px;
    font-weight: 500;
    text-transform: uppercase;
  }

  .hover-bg:hover .hover-text>h4 {
    opacity: 1;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  .hover-bg:hover .hover-text {
    opacity: 1;
  }

  #portfolio .section-title h2::after {
    position: absolute;
    content: "";
    background: linear-gradient(to right, #000000 0%, #000dff00 50%, #ffffff00 100%);
    height: 4px;
    width: 60px;
    bottom: -10px;
    /* Adjust this value to move the line closer or farther */
    left: 50%;
    transform: translateX(-50%);
  }


  /* Buttons (Show More / Show Less) */
  .text-center .btn {
    margin: 8px 8px;
    padding: 10px 15px;
    font-size: 1.3rem;
    background-color: #55595d;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, transform 0.2s, box-shadow 0.3s;
  }

  .text-center .btn:hover {
    background: linear-gradient(to right, #ffffff99 0%, #f4f9f2cc 50%, #ffffff99 100%);
    transform: translateY(-2px);
    /* Slight lift on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* Add a soft shadow */
  }

  .text-center .btn:active {
    transform: translateY(1px);
    /* Subtle press effect */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    /* Reduce shadow */
  }

  .text-center .btn-secondary {
    background-color: #f8f9fa;
    color: #000000;
    border: 1px solid #000000;
    transition: background-color 0.3s ease-in-out, transform 0.2s, box-shadow 0.3s;
  }

  .text-center .btn-secondary:hover {
    background: linear-gradient(to right, #ffffffbb 0%, #f4f9f2dd 50%, #ffffffbb 100%);
    transform: translateY(-2px);
    /* Slight lift on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Add a soft shadow */
  }

  .text-center .btn-secondary:active {
    transform: translateY(1px);
    /* Subtle press effect */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Reduce shadow */
  }

}











/* Testimonials Section */
#testimonials {
  padding: 100px 0;
  background: #f6f6f6;
}

#testimonials i {
  color: #e6e6e6;
  font-size: 32px;
  margin-bottom: 20px;
}

.testimonial {
  position: relative;
  padding: 20px;
}

.testimonial-image {
  float: left;
  margin-right: 15px;
}

.testimonial-image,
.testimonial-image img {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 50%;
}

.testimonial-content {
  position: relative;
  overflow: hidden;
}

.testimonial-content p {
  margin-bottom: 0;
  font-size: 14px;
  font-style: italic;
}

.testimonial-meta {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #666;
}

#testimonials .section-title h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, #7aba00, #5a9200);
  height: 4px;
  width: 60px;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}


/* Team Section */
#team {
  padding: 10px 0;
}

#team h4 {
  margin: 5px 0;
}

#team .team-img {
  width: 240px;
}

#team .thumbnail {
  background: transparent;
  border: 0;
}

#team .thumbnail .caption {
  padding: 10px 0 0;
  color: #888;
}

#team .section-title h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, #7aba00, #5a9200);
  height: 4px;
  width: 60px;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

@media (max-width: 768px) {
  #team .section-title h2 {
    font-size: 8vw;
  }
}



/* Contact Section */
#contact {
  padding: 100px 0 60px;
  background: linear-gradient(to right, #071a07 0%, #0d3b0d 50%, #071a07 100%);
  color: rgba(255, 255, 255, 0.75);
}

#contact .section-title {
  margin-bottom: 40px;
}

#contact .section-title p {
  font-size: 16px;
}

#contact h2 {
  color: #fff;
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
}

#contact h3 {
  color: #fff;
  margin-top: 80px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  font-weight: 400;
}

#contact form {
  padding-top: 20px;
}

#contact .text-danger {
  color: #cc0033;
  text-align: left;
}

#contact .btn-custom {
  margin: 30px 0;
  background: linear-gradient(to right, #7aba00 0%, #5a9200 100%) !important;
  border: none;
  border-radius: 50px;
  color: #fff !important;
  padding: 10px 36px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(122, 186, 0, 0.4);
  transition: all 0.3s ease;
}

#contact .btn-custom:hover {
  color: #fff !important;
  background: linear-gradient(to right, #5a9200 0%, #3d6600 100%) !important;
  background-image: unset !important;
  box-shadow: 0 6px 15px rgba(122, 186, 0, 0.55);
  transform: translateY(-2px);
}

label {
  font-size: 12px;
  font-weight: 400;
  font-family: "Open Sans", sans-serif;
  float: left;

}




/* Placeholder style when input is not focused */
input:not(:focus)::placeholder,
textarea:not(:focus)::placeholder {
  color: #ffffff91;
  /* Placeholder color when inactive */
  font-style: normal;
  /* Optional: Normal text style when inactive */
}

/* Placeholder style when input is focused */
input:focus::placeholder,
textarea:focus::placeholder {
  color: #ffffff85;
  /* Placeholder color when active (focused) */
  font-style: italic;
  /* Optional: Italic text style when focused */
}



.form-container {
  background-color: rgba(255, 255, 255, 0.183);
  /* White with transparency */
  border-radius: 15px;
  /* Rounded corners */
  padding: 20px;
  /* Padding inside the box */
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.5);
  /* Optional shadow for better visibility */
  margin: 20px 0;
  /* Spacing around the box */
  width: 100%;
}

#contact .form-control {
  display: block;
  width: 100%;
  padding: 6px 12px;
  font-size: 16px;
  line-height: 1.42857143;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.17);
  /* White with transparency */
  background-image: none;
  border: 1px solid #dddddd71;
  border-radius: 5px;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: none;
  -o-transition: none;
  transition: none;
}

#contact .form-control:focus {
  border-color: #ffffff;
  outline: 0;
  -webkit-box-shadow: transparent;
  box-shadow: transparent;
}

.form-control::-webkit-input-placeholder {
  color: #777;
}

.form-control:-moz-placeholder {
  color: #777;
}

.form-control::-moz-placeholder {
  color: #777;
}

.form-control:-ms-input-placeholder {
  color: #777;
}

#contact .contact-item {
  margin: 20px 0;
}

#contact .contact-item span {
  color: rgba(255, 255, 255, 1);
  margin-bottom: 10px;
  display: block;
}

#contact .contact-item i.fa {
  margin-right: 10px;
}

#contact .social {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 50px;
  margin-top: 50px;
  text-align: center;
}

#contact .social ul li {
  display: inline-block;
  margin: 0 20px;
}

#contact .social i.fa {
  font-size: 22px;
  width: 48px;
  height: 48px;
  padding: 12px 0;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 50%;
  transition: all 0.3s;
}

#contact .social i.fa:hover {
  color: #1a5c1a;
  background: #fff;
  border-color: #1a5c1a;
}





/* Footer Section*/
#footer {
  background: #f6f6f6;
  padding: 5px 0;
}

#footer p {
  color: #888;
  font-size: 14px;
}

#footer a {
  color: #888;
  text-decoration: none;
  /* Ensures no underline by default */
  transition: color 0.3s ease, border-bottom 0.3s ease;
  /* Smooth transition */
}

#footer a:hover {
  color: #1a5c1a;
  /* Change text color on hover */
}


@media (max-width: 768px) {
  #about img {
    margin: 10px 0 20px;
  }
}













.service-image-wrapper {
  width: 100%;
  height: auto;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}




.portfolio-image-wrapper {
  width: 100%;
  height: 40%;
  /* Set a fixed height */
  overflow: hidden;
  /* Ensure content stays within bounds */
  display: flex;
  border-radius: 30px;
  /* Optional: Add rounded corners */
  justify-content: center;
  align-items: center;
  vertical-align: center;
  margin-bottom: 20px;
}

.portfolio-image {
  width: 100%;
  height: 100%;
  vertical-align: center;
  background-color: rgba(207, 204, 204, 0.816);
  object-fit: cover;
  /* Ensures the image covers the container while maintaining aspect ratio */
  border-radius: 30px;
  /* Optional: Add rounded corners */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  /* Optional: Add shadow for better aesthetics */
}

}