/* 
Header CSS Start
*/

/* ===== NAVBAR BASE ===== */
.navbar-nav {
  list-style: none;
  display: flex;
  gap: 40px;
  padding: 0;
  margin: 0;
  align-items: center;
}

.navbar-nav li {
  position: relative;
}

/* ===== MENU LINKS ===== */
.navbar-nav li a {
  text-decoration: none;
  font-size: 18px;
  color: #333;
  padding: 10px 5px;
  display: inline-block;
  position: relative;
  transition: 0.3s;
}

/* ===== UNDERLINE EFFECT ===== */
.navbar-nav li a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background: #1e5bb8;
  transition: 0.3s;
}

.navbar-nav li:hover > a::before,
.navbar-nav .current-menu-item > a::before {
  width: 100%;
}

/* ===== DROPDOWN ARROW (AFTER TEXT) ===== */
.menu-item-has-children > a {
  padding-right: 15px;
}

.menu-item-has-children > a::after {
  content: "▼";
  font-size: 10px;
  margin-left: 6px;
  display: inline-block;
  transition: 0.3s;
}

/* Rotate arrow on hover */
.menu-item-has-children:hover > a::after {
  transform: rotate(180deg);
}

/* ===== DROPDOWN MENU ===== */
/* Default hidden */
.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #f2f2f2;
  min-width: 220px;
  list-style: none;
  padding: 0;
  margin: 0;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.3s;

  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  z-index: 999;
}

/* Show when active */
.menu-item-has-children.active .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ===== DROPDOWN ITEMS ===== */
.sub-menu li {
  width: 100%;
}

.sub-menu li a {
  display: block;
  padding: 12px 15px;
  font-size: 16px;
  color: #444;
  transition: 0.3s;
}

/* Hover effect for dropdown items */
.sub-menu li a:hover {
  background: #ddd;
  padding-left: 20px;
}

/* ===== SHOW DROPDOWN ===== */
.menu-item-has-children:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ===== OPTIONAL ACTIVE LINK COLOR ===== */
.navbar-nav .current-menu-item > a {
  color: #1e5bb8;
}

/* ===== RESPONSIVE (OPTIONAL BASIC) ===== */
@media (max-width: 768px) {
  .navbar-nav {
    flex-direction: column;
    gap: 10px;
  }
  .menu-item {
    text-align: center;
}

  .sub-menu {
    position: static;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
  }

  .menu-item-has-children.active .sub-menu {
    display: block;
  }
  
}
/* 
Header CSS End
*/


/* 
Hero Section CSS Start
*/

.hero-section {
  position: relative;
  height: 800px;
  overflow: hidden;
}

/* Video Styling */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: fill;
  background: #000;
  z-index: 1;
}

/* Optional overlay */
.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

/* Logo box */
.overlay-logo {
  position: absolute;
  right: 3.8%;
  top: 14%;
  transform: translateY(-50%);
  background: #fff;
  padding: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  z-index: 3;
}

.overlay-logo img {
  max-width: 150px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    height: 350px;
  }

  .overlay-logo {
    right: 50%;
    transform: translate(50%, -50%);
  }
  .overlay-logo.text-center {
    display: none;
  }
}

/* 
Hero Section CSS End
*/


/* Brands Section Start */
.brands-section {
  position: relative;
  padding: 40px 0;
  background: url('/wp-content/themes/my-theme/assets/images/0J1A1395-2_edit-scaled.webp') center center / cover no-repeat;
  background-attachment: fixed;
  overflow: hidden;
}

.brands-section::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgb(147 147 147 / 45%);
  top: 0;
  left: 0;
  z-index: 1;
}

.brands-title {
  position: relative;
  background: #e6d3a3;
  padding: 10px 0;
  margin-bottom: 30px;
  z-index: 2;
}

.brands-title h2 {
  font-weight: 700;
  letter-spacing: 2px;
}

.slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  z-index: 2;
}

.slide-track {
  display: flex;
  width: max-content;
}

.slide-track img {
  width: 220px;
  height: 110px;
  object-fit: contain;
  margin: 0 10px;
  filter: brightness(1.2);
}

.slider-left .slide-track {
  animation: scroll-left 40s linear infinite;
}

.slider-right .slide-track {
  animation: scroll-right 40s linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes scroll-right {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .slide-track img {
    width: 140px;
    height: 100px;
  }

  .brands-section {
    background-attachment: scroll;
  }
}

/* Brands Section End */


/* Our Legacy Section Start */
.our-legacy {
  padding: 80px 0;
  background: #f5f5f5;
}

.our-legacy h2 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 2px;
  margin-bottom: 30px;
}

.our-legacy p {
  max-width: 900px;
  margin: 0 auto 20px;
  font-size: 17px;
  line-height: 1.8;
  color: #6c757d;
}

@media (max-width: 768px) {
  .our-legacy {
    padding: 50px 20px;
  }

  .our-legacy h2 {
    font-size: 22px;
  }

  .our-legacy p {
    font-size: 15px;
  }
}

/* Our Legacy Section End */



/* Excellence Section Start */
.excellence-section {
  padding: 60px 0;
  background: #f4f1ea;
}

.excellence-section h2 {
  font-weight: 500;
  letter-spacing: 1px;
}

.excellence-card {
  position: relative;
  overflow: hidden;
}

.excellence-card img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  transition: 0.5s ease;
}

.excellence-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1;
  transition: 0.4s ease;
}

.excellence-card::after {
  content: "";
  position: absolute;
  inset: 20px;
  border: 2px solid #fff;
  opacity: 0;
  transform: scale(0.9);
  transition: 0.4s ease;
  z-index: 2;
}

/* Centered Text */
.overlay-text {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 1px;
  z-index: 3;
  text-align: center;
  width: 100%;
}

.excellence-card:hover img {
  transform: scale(1.08);
}

.excellence-card:hover::before {
  background: rgba(0, 0, 0, 0.45);
}

.excellence-card:hover::after {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 768px) {
  .excellence-card img {
    height: 300px;
  }

  .overlay-text {
    font-size: 18px;
  }
}

/* Excellence Section End */


/* Our Vision Section Start */
.our-vision {
  padding: 80px 0;
}

.our-vision h2 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.our-vision p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.8;
  color: #6c757d;
}

@media (max-width: 768px) {
  .our-vision {
    padding: 50px 20px;
  }

  .our-vision h2 {
    font-size: 22px;
  }

  .our-vision p {
    font-size: 15px;
  }
}

/* Our Vision Section End */


/* Counter Section Start */
.counter-section {
  padding: 100px 0;
  background: url('/wp-content/themes/my-theme/assets/images/counter_bg.jpg') center center / cover no-repeat;
  background-attachment: fixed;
}

.counter-section .container {
  max-width: 100%;
  padding: 0 40px;
}

.counter-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.counter-card {
  position: relative;
  background: #fff;
  padding: 30px 20px;
  border-radius: 18px;
  text-align: center;
  border: 2px solid #e6a34a;
  transition: 0.4s ease;
  height: 100%;
}

.counter-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}

.counter-card h3 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 5px;
}

.counter-card p {
  font-size: 14px;
  letter-spacing: 1px;
  color: #666;
}

.counter-card::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 4px;
  background: #f5c16c;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.counter-card:hover::after {
  transform: translateX(-150%);
  opacity: 0;
}

.counter-card:hover {
  transform: translateY(-10px);
}

@media (max-width: 992px) {
  .counter-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 576px) {
  .counter-section {
    padding: 60px 20px;
    background-attachment: scroll;
  }

  .counter-row {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* Counter Section End */


/* Ongoing Project Section Start */
.ongoing-project {
  padding: 60px 20px;
  background: #f4f1ea;
}

.ongoing-project h2 {
  font-weight: 500;
  letter-spacing: 2px;
}

.project-card {
  position: relative;
  overflow: hidden;
}

.project-card img {
  width: 100%;
  height: 800px;
  object-fit: cover;
  transition: 0.5s ease;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
  transition: 0.4s ease;
  z-index: 1;

}

.project-card::after {
  content: "";
  position: absolute;
  inset: 25px;
  border: 2px solid #fff;
  opacity: 0;
  transform: scale(0.9);
  transition: 0.4s ease;
  z-index: 2;
}

.project-card::before,
.project-card::after {
  pointer-events: none;
}

.project-content {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 3;
}

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

.project-card:hover::before {
  background: rgba(0, 0, 0, 0.5);
}

.project-card:hover::after {
  opacity: 1;
  transform: scale(1);
}

.project-content {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
  color: #fff;
}

.project-content h3 {
  font-size: 32px;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.btn-read {
  background: #e6a34a;
  color: #000;
  padding: 10px 25px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.btn-read:hover {
  background: #d4923f;
  color: #000;
}

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

.project-card:hover::before {
  background: rgba(0, 0, 0, 0.45);
}

@media (max-width: 768px) {
  .project-card img {
    height: 350px;
  }

  .project-content h3 {
    font-size: 24px;
  }
}

/* Ongoing Project Section End */


/* Our Values Section Start */
.our-values {
  padding: 80px 0;
  background: #f5f5f5;
}

.values-slider {
  position: relative;
  background: #eae3d8;
  padding: 60px 80px;
  overflow: hidden;
}

.values-track {
  display: flex;
  transition: transform 0.5s ease;
}

.value-item {
  min-width: 50%;
  text-align: center;
  padding: 0 20px;
}

.value-item h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.value-item p {
  max-width: 700px;
  margin: auto;
  font-size: 18px;
  line-height: 1.8;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #e6c98d;
  border: none;
  width: 60px;
  height: 60px;
  font-size: 28px;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.values-slider .value-item h3,
.values-slider .value-item p {
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.dots {
  margin-top: 20px;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #333;
  border-radius: 50%;
  margin: 0 5px;
  opacity: 0.4;
}

.dot.active {
  opacity: 1;
}

@media (max-width: 768px) {
  .values-slider {
    padding: 30px 20px;
  }
  .nav {
    background: transparent;
    width: 30px;
    height: 40px;
  }
  .value-item {
    min-width: 100% !important;
  }

  .value-item h3 {
    font-size: 22px;
  }

  .value-item p {
    font-size: 15px;
  }
}

/* Our Values Section End */


/* Chairman Section Start */

.chairman-section {
  position: relative;
  padding: 100px 0 100px;
  background: #f5f5f5;
  overflow: hidden;
}

.chairman-img {
  position: relative;
  overflow: hidden;
  z-index: 9;
}

.chairman-img img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.5s ease;
}

.chairman-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: 0.4s ease;
  z-index: 1;
}

.chairman-img::after {
  content: "";
  position: absolute;
  inset: 25px;
  /* 👈 controls inside spacing */
  /* border-top: 2px solid rgba(255, 255, 255, 0.8); */
  /* border-bottom: 2px solid rgba(255, 255, 255, 0.8); */
  transform: scale(1.3) rotate(0deg);
  opacity: 0;
  transition: all 0.5s ease;
  z-index: 2;
  pointer-events: none;
}



.chairman-img span {
  position: absolute;
  inset: 25px;
  border-top: 2px solid rgba(255, 255, 255, 0.8);
  border-bottom: 2px solid rgba(255, 255, 255, 0.8);
  transform: scale(1.3) rotate(45deg);
  opacity: 0;
  transition: all 0.5s ease;
  z-index: 2;
  pointer-events: none;
}

.chairman-img:hover img {
  transform: scale(1.05);
}

.chairman-img:hover::before {
  opacity: 1;
}

.chairman-img:hover::after {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.chairman-img:hover span {
  opacity: 1;
  transform: scale(1) rotate(45deg);
}

.chairman-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.chairman-content h3 {
  font-size: 28px;
  letter-spacing: 2px;
  margin-bottom: 8px;
  font-weight: 600;
}

.chairman-content span {
  display: block;
  font-size: 15px;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: #555;
}

.chairman-content p {
  font-size: 15px;
  color: #666;
  line-height: 1.9;
}

.bottom-shape {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 400px;
  background: #fff0d4;
  clip-path: polygon(0 100%,
      0 100%,
      40% 60%,
      100% 100%);
  z-index: 1;
}

@media (max-width: 992px) {

  .chairman-section {
    padding: 60px 0 140px;
    text-align: center;
  }

  .chairman-img img {
    height: 350px;
    margin-bottom: 30px;
  }

  .chairman-content {
    margin: auto;
  }
}

@media (max-width: 768px) {
    .chairman-section {
        padding: 60px 0 50px;
        text-align: center;
    }
}

/* Chairman Section End */


/* Map Section Start */

.contact-map-section {
  background: #f5f5f5;
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

.contact-info {
  padding: 60px 0;
}

.contact-info h4 {
  color: #d4a24c;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 15px;
  font-weight: 600;
}

.contact-info p {
  font-size: 15px;
  color: #666;
  line-height: 1.8;
  margin: 0;
}

@media (max-width: 768px) {
  .map-container iframe {
    height: 300px;
  }

  .contact-info {
    padding: 40px 0;
  }
}

/* Map Section End */


/* Footer Start */

.main-footer {
  font-family: sans-serif;
}

.footer-top {
  position: relative;
  background: url('/wp-content/themes/my-theme/assets/images/counter_bg.jpg') center/cover no-repeat;
  padding: 80px 0;
  color: #fff;
  text-align: center;
  border-bottom: 5px solid #ff9543;
}

.footer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.footer-top .container {
  position: relative;
  z-index: 2;
}

.footer-logo {
  max-width: 180px;
  margin-bottom: 20px;
  background-color: #fff;
  padding: 10px;
}

.footer-desc {
  max-width: 900px;
  margin: auto;
  font-size: 15px;
  line-height: 1.8;
}

.footer-bottom {
  background: #fff5e8;
  padding: 50px 0;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  text-decoration: none;
  color: #046bd2;
  font-size: 14px;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #000;
}

.footer-bottom p {
  font-size: 17px;
  color: #555;
  margin-bottom: 10px;
}

.footer-bottom p a {
    color: #555;
    text-decoration: none;
}

.footer-bottom p a:hover {
  color: #000;
}

.social-icons a {
  display: inline-flex;
  margin-left: 15px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  align-items: center;
}

.social-icons i {
  margin-right: 6px;
  font-size: 30px;
}

.fa-facebook-f {
  color: #3b5998;
}

.fa-instagram {
  color: #c13584;
}

.fa-linkedin-in {
  color: #0077b5;
}

@media (max-width: 768px) {
  .social-icons {
    text-align: center;
    margin-top: 20px;
  }
}

/* Footer End */


.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: none;
  z-index: 999;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 18px;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.back-to-top:hover {
  transform: translateY(-5px);
}

/* Global Page Start */
.about-banner {
    position: relative;
    height: 400px;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    color: #fff;
}

/* Overlay */
/* section.about-banner {
    height: 350px;
} */
.about-banner .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

/* Content */
.about-banner .content {
    position: relative;
    z-index: 2;
	color:#fff;
}

.about-banner h1 {
    font-size: 60px;
    font-weight: 500;
    letter-spacing: 3px;
}

@media (max-width: 768px) {
    .about-banner {
        background-attachment: scroll;
        height: 250px;
    }

    .about-banner h1 {
        font-size: 32px;
    }
}
/* Global Page End */

/* About Page Start */

/* Our Journey Section Start */

.our-journey {
  background: #ffffff;
  padding: 60px 0;
}

/* Image */
.our-journey .journey-image {
  margin-bottom: 30px;
}

.our-journey .journey-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

/* Heading */
.our-journey h2 {
/*   font-size: 16px; */
  letter-spacing: 2px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}

/* Text */
.our-journey p {
/*   font-size: 14px; */
  color: #666;
  line-height: 1.8;
/*   max-width: 900px; */
  margin: 0 auto 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .our-journey {
    padding: 40px 15px;
  }

  .our-journey h2 {
    font-size: 14px;
  }

  .our-journey p {
    font-size: 13px;
  }
}

/* Our Journey Section End */


/* About Page End */


/* Ongoing Page Start */

/* Projects Section Start */

.projects-section {
  background: #f5f5f5;
  padding: 60px 0;
}

/* Grid Fix */
.projects-section .row {
  display: flex;
  flex-wrap: wrap;
}

.projects-section .col-md-6 {
  display: flex;
}

/* Card */
.project-card {
  position: relative;
  width: 100%;
  height: 500px; /* FIXED HEIGHT for equal boxes */
  overflow: hidden;
}

/* Image */
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CENTER BOX (NOT FULL OVERLAY) */
.project-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  width: 80%;
  background: rgba(255, 255, 255, 0.9);
  padding: 25px;
  text-align: center;
	z-index: 9;
}

/* Content */
.project-overlay h3 {
  font-size: 26px;
  margin-bottom: 10px;
  color: #333;
}

.project-overlay p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Button */
.project-overlay a {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid #999;
  font-size: 12px;
  color: #333;
  text-decoration: none;
  transition: 0.3s;
}

.project-overlay a:hover {
  background: #d4a24c;
  color: #fff;
  border-color: #d4a24c;
}

/* Responsive */
@media (max-width: 768px) {
  .project-card {
    height: 300px;
  }

  .project-overlay {
    width: 90%;
    padding: 15px;
  }

  .project-overlay h3 {
    font-size: 18px;
  }
}

/* Projects Section End */

/* Ongoing Page End */


/* Completed Page Start */

/* Section Background */
.excellence-section {
  background: #f3f3f3;
  padding: 100px 20px;
  text-align: center;
}

/* Container */
.excellence-section .container {
  max-width: 900px;
  margin: 0 auto;
}

/* Heading */
.excellence-section .title {
  font-size: 28px;
  letter-spacing: 3px;
  font-weight: 500;
  margin-bottom: 25px;
  color: #111;
  text-transform: uppercase;
}

/* Paragraph */
.excellence-section .description {
/*   font-size: 16px; */
  line-height: 1.8;
  color: #777;
}

/* Responsive */
@media (max-width: 768px) {
  .excellence-section {
    padding: 60px 15px;
  }

  .excellence-section .title {
    font-size: 22px;
    letter-spacing: 2px;
  }

  .excellence-section .description {
    font-size: 14px;
  }
}


/* FULL WIDTH SECTION */
.vinayaka-section {
  width: 100%;
  margin: 0;
/*   padding: 0; */
}

/* CARD */
.vinayaka-card {
  position: relative;
  width: 100%;
  height: 600px; /* adjust height */
  overflow: hidden;
}

/* IMAGE */
.vinayaka-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* 🔥 ZOOM EFFECT */
.vinayaka-card:hover img {
  transform: scale(1.1);
}

/* OVERLAY DARK */
.vinayaka-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  transition: 0.4s;
}

/* DARKER ON HOVER */
.vinayaka-card:hover::after {
  background: rgba(0,0,0,0.6);
}

/* CONTENT */
.vinayaka-card .overlay {
  position: absolute;
  bottom: 60px;
  left: 0;
  width: 100%;
  text-align: center;
  color: #fff;
  padding: 0 20px;
  z-index: 2;
  transform: translateY(30px);
  transition: 0.5s;
}

/* TEXT ANIMATION */
.vinayaka-card:hover .overlay {
  transform: translateY(0);
}

/* TITLE */
.vinayaka-card h3 {
  font-size: 32px;
  letter-spacing: 3px;
  margin-bottom: 15px;
}

/* TEXT */
.vinayaka-card p {
  font-size: 16px;
  max-width: 900px;
  margin: auto;
  opacity: 0.9;
}

/* BORDER EFFECT */
.vinayaka-card::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 30px;
  right: 30px;
  bottom: 30px;
  border: 2px solid #fff;
  opacity: 0;
  transform: scale(1.05);
  transition: 0.4s ease;
  z-index: 2;
}

/* SHOW BORDER ON HOVER */
.vinayaka-card:hover::before {
  opacity: 1;
  transform: scale(1);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .vinayaka-card {
    height: 400px;
  }

  .vinayaka-card h3 {
    font-size: 22px;
  }

  .vinayaka-card p {
    font-size: 14px;
  }
}

/* Completed Page End */

/* Media Page Start */

/* Gallery Section Start */

.gallery-section {
  padding: 60px 0;
  background: #f5f5f5;
}

.gallery-item {
  position: relative;
  height: 250px; 
  overflow: hidden;
  margin-bottom: 25px;
  border-radius: 4px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  transition: 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.3s;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  color: #fff;
  font-size: 22px;
}

@media (max-width: 768px) {
  .gallery-item {
    height: 180px;
  }
}

/* Gallery Section End */

/* Media Page End */


/* Contact Page Start */

/* Contact Section Start */

.contact-section {
  background: #e6d2b5;
  padding: 60px 0;
}

.contact-form-box {
  background: #efefef;
  padding: 30px;
}

.contact-form-box label {
  font-size: 12px;
  margin-bottom: 5px;
  display: block;
  color: #333;
}

.contact-form-box input,
.contact-form-box select,
.contact-form-box textarea {
  width: 100%;
  border: 1px solid #ccc;
  padding: 8px;
  font-size: 13px;
  margin-bottom: 15px;
  background: #fff;
}

.form-row {
  display: flex;
  gap: 10px;
}

.form-row .col {
  flex: 1;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner {
  background: #2b6cb0;
  color: #fff;
  border: none;
  padding: 8px 20px;
  font-size: 13px;
  cursor: pointer;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner:hover {
  background: #1e4e8c;
}

.contact-info {
  padding-left: 40px;
}

.contact-info h5 {
  margin-bottom: 10px;
  color: #333;
}

.contact-info p {
  color: #555;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .contact-info {
    padding-left: 0;
    margin-top: 30px;
    text-align: center;
  }

  .form-row {
    flex-direction: column;
  }
}

/* Contact Section End */

/* Contact Page End */