/* navbar css */
/* Sticky Header */
header {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: #aa3838;
  transition: all 0.3s ease;
  box-shadow: none;
}

header.scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Top Info Bar */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #efeceb;
  padding: 10px 20px;
  font-size: 14px;
}
.dropdown-menu {
  display: none;
  /* position: absolute; */
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
}

.dropdown:hover .dropdown-menu {
  display: block;
    background-color: #f5f5f5;

  
}

.dropdown-menu li {
  padding: 10px 20px;
}


.top-bar .left-info,
.top-bar .right-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.divider {
  margin: 0 10px;
}

/* Main Navbar */
.main-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  background: #d4d4d2;
}

.logo img {
  height: 50px;
  margin-left: 80px;
}

/* Nav Links */
.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
  align-items: center;
}

.nav-links li {
  position: relative;
}

.nav-links a,
.nav-links span {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  cursor: pointer;
}

.nav-links a.active {
  color: #ffc107;
}

/* Dropdown Menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 120%;
  left: 0;
  background: #822d2d;
  border: 1px solid #ddd;
  min-width: 180px;
  z-index: 99;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  padding: 10px 20px;
}

.dropdown-menu li:hover {
  background: #f0f0f0;
}

/* Hamburger Menu (Mobile) */
.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    background: #fff;
    width: 100%;
    height: 100vh;
    /* padding: 20px; */
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .hamburger {
    display: block;
    margin-bottom: 50px;
  }
  .logo{
    margin-bottom: 40px;
  }
  

  .dropdown-menu {
    position: relative;
    top: auto;
    border: none;
    background: #f9f9f9;
  }
 .dropdown span::after {
    content: ' ▼';
    font-size: 0.7rem;
  }
  .dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* ✅ Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    flex-direction: column;
    align-items: center;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }
  .main-navbar{
    height: 120px;
  }

  .nav-links.open {
    max-height: 400px; /* enough height for the menu items */
    /* padding: 20px 0; */
  }

  .nav-links li {
    margin: 16px 0;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    background: transparent;
    padding: 0;
  }

  .dropdown:hover .dropdown-menu {
    display: none;
  }

  .dropdown span {
    display: block;
    text-align: center;
    font-weight: 500;
    cursor: default;
  }

  .dropdown-menu li a {
    display: block;
    font-size: 12px;
  }

  .top-bar {
    flex-direction: column;
    text-align: center;
  }

  .left-info, .right-info {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .logo img {
    height: 40px;
    width: 90px;
  }

  .nav-links {
    font-size: 14px;
  }

  .nav-links.open {
    max-height: 500px;
  }
}
@media (max-width: 137) {
  .logo img {
    height: 40px;
    width: 10px;
    margin-right: 20px;
  }
}
@media (max-width: 768px) {
  .dropdown-menu {
    display: none;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }
}
@media (max-width: 238px){
.hamburger{
  margin-right: 40px;
}
}
@media (max-width: 320px) {
  .top-bar {
    height: 40px;
    font-size: 10px;
  }

  .main-navbar {
    height: 50px;
  }
  .logo{
    margin-top: 40px;
    margin-right: 20px;
  }
    svg{
      margin-top: 50px;
    }
  .top-bar span{
    margin-bottom: 50px;
    padding: 0px;
  }
  /* .right-info span{
  } */
  .top-bar{
    display: none;
  }

  .nav-links.open {
    max-height: 500px;
  }
   .dropdown-menu li{
    padding: 5px 10px;
   }



}

/* hero css */
.review-section {
  padding: 40px 20px;
  background-color: #f5f6f9;
}

.review-title {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  margin-bottom: 30px;
  text-align: center;
}

/* horizontal scroll container */
.review-list {
  display: flex;
  gap: 20px;
  overflow-x: auto;           /* enable horizontal scroll */
  scroll-behavior: smooth;    /* nice smooth scroll */
  padding-bottom: 10px;
}

/* hide scrollbar (optional) */
.review-list::-webkit-scrollbar {
  display: none;
}
.review-list {
  -ms-overflow-style: none;  /* IE/Edge */
  scrollbar-width: none;     /* Firefox */
}

/* each card inside */
.review-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  min-width: 280px;           /* important: fixed width for horizontal scroll */
  max-width: 300px;
  flex-shrink: 0;             /* don’t shrink on smaller screens */
  transition: transform 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.review-name {
  font-size: 18px;
  font-weight: 600;
  color: #222;
}

.stars {
  font-size: 14px;
  color: #fcb900;
}

.review-text {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
}

/* fade-in animation optional */
.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* responsive tweaks */
@media (max-width: 768px) {
  .review-title {
    font-size: 24px;
  }

  .review-card {
    min-width: 240px;
    padding: 15px;
  }

  .review-name {
    font-size: 16px;
  }

  .review-text {
    font-size: 14px;
  }
}

/* choose section */
.why-choose-modern {
  padding: 60px 70px;
  background: #f9f9f9;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.section-title {
  font-size: 2.8rem;
  color: #71b300;
  margin-bottom: 40px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.card-item {
  background: white;
  border-radius: 16px;
  padding: 30px 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  animation: zoomIn 0.6s ease forwards;
  opacity: 0;
}

.card-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.card-item .icon {
  font-size: 2.5rem;
  color: #5a9100;
  margin-bottom: 15px;
}

.card-item h3 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 10px;
}

.card-item p {
  color: #666;
  font-size: 0.95rem;
}

/* Entry animation */
@keyframes zoomIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ✅ Responsive Design for Small Screens */
/* @media (max-width: 768px) {
  .why-choose-modern {
    padding: 40px 15px;
    width: 100px;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .card-item {
    padding: 25px 15px;
    width: auto;
  }

  .card-item .icon {
    font-size: 2rem;
    width: auto;
  }

  .card-item h3 {
    font-size: 1.1rem;
        width: auto;

  }

  .card-item p {
    font-size: 0.9rem;
        width: auto;

  }

} */

@media (max-width: 480px) {
  .section-title {
    font-size: 1.8rem;
    
  }

  .card-item {
    padding: 20px 12px;
  }

  .cards-grid {
    gap: 20px;
        width: auto;

  }
}
  /* Existing styles assumed: .why-choose-modern, .section-title, .cards-grid, .card-item, etc. */

@media (max-width: 768px) {
  .why-choose-modern {
    padding: 40px 15px;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card-item {
    padding: 20px 15px;
    text-align: center;
  }

  .card-item h3 {
    font-size: 18px;
  }

  .card-item p {
    font-size: 14px;
  }

  .icon {
    font-size: 30px;
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 20px;
  }

  .icon {
    font-size: 26px;
  }

  .card-item h3 {
    font-size: 16px;
  }

  .card-item p {
    font-size: 13px;
  }
}

/* welcome section */
    .welcome {
    display: flex;
    flex-wrap: wrap;
    padding: 40px 20px;
    background-color: #f5f6f9;
    justify-content: center;
    align-items: center;
    gap: 30px;
  }

  .welcome-image {
    flex: 1 1 400px;
    max-width: 600px;
    animation: slideInLeft 1s ease;
  }

  .welcome-image img {
    width: 100%;
    height: 350px;
    border-radius: 10px;
    object-fit: contain;
    /* box-shadow: 0 10px 20px rgba(0,0,0,0.1); */
  }

  .welcome-content {
    flex: 1 1 400px;
    max-width: 600px;
    animation: slideInRight 1s ease;
  }

  .welcome-content h2 {
    font-size: 38px;
    margin-bottom: 20px;
    color:#71b300;
  }

  .welcome-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 20px;
  }

  .welcome-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
  }

  .welcome-content ul li {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .contact-btn {
    background-color: #fcb900;
    color: #000;
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  .contact-btn:hover {
    background-color: #e0a800;
  }

  /* Animations */
  @keyframes slideInLeft {
    from {
      opacity: 0;
      transform: translateX(-60px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes slideInRight {
    from {
      opacity: 0;
      transform: translateX(60px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    .welcome {
      flex-direction: column;
      padding: 30px 15px;
    }

    .welcome-content h2 {
      font-size: 22px;
    }

    .welcome-content p,
    .welcome-content ul li {
      font-size: 14px;
    }

    .contact-btn {
      width: 100%;
      text-align: center;
    }
    .welcome-image {
    flex: 1 1 400px;
    max-width: 500px; /* ↓ Adjust width here */
    animation: slideInLeft 1s ease;
    padding: 10px;
  }

  .welcome-image img {
    width: 100%;
    /* maintain aspect ratio */
    max-height: 350px; /* ↓ Control max height */
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }


  }
  .about-bullets p::before {
    content: '▪';
    color: #141111;
    font-size: 0.9rem;
    display: inline-block;
    width: 1em;
    margin-right: 10px;
  }

/* best services section */
     .services-section {
  padding: 60px 20px;
  text-align: center;
  background: #fff;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  position: relative;
}

.section-subtitle {
  color: #555;
  font-size: 16px;
  max-width: 700px;
  margin: 10px auto 40px;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.service-card {
  background: #f8f8f8;
  border-radius: 5px;
  overflow: hidden;
  width: 300px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 15px 20px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.arrow {
  font-size: 20px;
  color: #fcb900;
}

/* Button */
.all-services-btn-container {
  margin-top: 40px;
}

.all-services-btn {
  padding: 12px 30px;
  background: #fcb900;
  color: white;
  border: none;
  font-weight: bold;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.all-services-btn:hover {
  background: #e0a000;
}

/* Responsive */
@media (max-width: 768px) {
  .services-grid {
    flex-direction: column;
    align-items: center;
  }

  .service-card {
    width: 90%;
  }
 
  
}
.service-card {
  position: relative;
  background: #f8f8f8;
  border-radius: 6px;
  overflow: hidden;
  width: 300px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* ✅ Image hover opacity effect */
.service-card:hover img {
  opacity: 0.8;
  transform: scale(1.05);
}

/* Service info styling */
.service-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 15px 20px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.service-card:hover .arrow {
  transform: translateX(5px);
  transition: transform 0.3s ease;
}

/* Mobile First Responsive Styling */
@media (max-width: 768px) {
  .services-section {
    padding: 40px 15px;
  }

  .section-title {
    font-size: 24px;
  }

  .section-subtitle {
    font-size: 15px;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  .services-grid {
    flex-direction: column;
    gap: 20px;
  }

  .service-card {
    width: 90%;
    margin: 0 auto;
  }

  .service-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 15px;
  }

  .arrow {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 20px;
  }

  .service-card img {
    height: 160px;
  }

  .service-info {
    font-size: 14px;
  }

  .arrow {
    font-size: 16px;
  }
}

/* chatbox */
.whatsapp-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}

.whatsapp-button {
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.whatsapp-button img {
  width: 60px;
  height: 60px;
  transition: transform 0.3s ease;
}

.whatsapp-button img:hover {
  transform: scale(1.1);
}
.whatsapp-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.whatsapp-button {
  background-color: #25D366;
  border: none;
  border-radius: 50%;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  cursor: pointer;
  animation: pulse 2s infinite;
  transition: transform 0.3s ease;
}

.whatsapp-button:hover {
  transform: scale(1.1);
}

.whatsapp-button img {
  width: 32px;
  height: 32px;
}

/* Pulse animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}


/* featured projects */
*{
  margin: 0px;
  padding: 0px;
}

.featured-projects {
  height: 400px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  padding: 20px;
  color: #fff;
  text-align: center;
}

.title {
  font-size: 24px;
  font-weight: bold;
  margin-top: 10px;
  animation: fadeInDown 0.8s ease;
}

.divider-icon {
  font-size: 20px;
  color: #ffc107;
  margin: 10px 0 20px;
}

.project-gallery {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease;
}

.project-card {
  width: 200px;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover {
  transform: scale(1.05);
}

.project-card:hover img {
  transform: scale(1.1);
}

.all-projects-btn {
  margin-top: 20px;
  background-color: #ffc107;
  color: #fff;
  border: none;
  padding: 10px 24px;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.all-projects-btn:hover {
  background-color: #e6aa00;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Base styles already assumed present */

@media (max-width: 768px) {
  .featured-projects {
    padding: 40px 15px;
    background-size: cover;
    background-position: center;
  }

  .overlay {
    padding: 20px 10px;
    text-align: center;
  }

  .title {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .divider-icon {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .project-gallery {
    /* display: flex; */
    flex-wrap: wrap;
    /* flex-direction:row; */
              gap: 15px;
  }

  .project-card img {
    width: 150px;
    height: auto;
    border-radius: 8px;
    /* object-fit: cover; */
  }

  .all-projects-btn {
    margin-bottom: 60px;
    padding: 12px 25px;
    font-size: 14px;
    background: #fcb900;
    border: none;
    border-radius: 4px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  .all-projects-btn:hover {
    background: #e0a000;
  }
}

@media (max-width: 480px) {
  .title {
    font-size: 20px;
  }

  .divider-icon {
    font-size: 24px;
  }

  .all-projects-btn {
    padding: 10px 20px;
    font-size: 13px;
  }
}
@media (max-width: 600px) {
  .featured-projects {
    height: auto; /* Allow flexible height */
    padding: 30px 10px;
  }

  .project-card {
    width: 90%;
    height: auto;
    margin: 0 auto;
  }

  .project-card img {
    height: auto;
    max-height: 200px;
  }

  .project-gallery {
    gap: 20px;
    padding-bottom: 20px;
  }

  .overlay {
    padding: 15px;
  }

  .title {
    font-size: 20px;
  }

  .all-projects-btn {
    width: 100%;
    max-width: 300px;
  }
}
@media (max-width: 768px) {
  .featured-projects {
    padding: 40px 15px;
    background-size: cover;
    background-position: center;
    height: auto; /* Allow flexible height */
  }

  .overlay {
    padding: 20px 10px;
    text-align: center;
  }

  .title {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .divider-icon {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .project-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding-bottom: 20px;
  }

  .project-card {
    width: 45%;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
  }

  .project-card img {
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: cover;
    border-radius: 8px;
  }

  .all-projects-btn {
    margin-top: 20px;
    padding: 12px 25px;
    font-size: 14px;
    background: #fcb900;
    border: none;
    border-radius: 4px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  .all-projects-btn:hover {
    background: #e0a000;
  }
}
@media (max-width: 900px) {
  .featured-projects {
    padding: 40px 20px;
    height: auto;
    background-size: cover;
    background-position: center;
  }

  .overlay {
    padding: 25px;
    text-align: center;
  }

  .title {
    font-size: 26px;
    margin-bottom: 12px;
  }

  .divider-icon {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .project-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding-bottom: 20px;
  }

  .project-card {
    width: 30%;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
  }

  .project-card img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
  }

  .all-projects-btn {
    margin-top: 25px;
    padding: 12px 30px;
    font-size: 15px;
    background: #fcb900;
    border: none;
    border-radius: 4px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  .all-projects-btn:hover {
    background: #e0a000;
  }
}

/* review section */


.review-section {
  padding: 40px;
  background-color: #f9f9f9;
  text-align: center;
}

.review-title {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.review-card {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(40px);
  opacity: 0;
  animation: slideUp 0.6s ease forwards;
}

.review-card:nth-child(1) {
  animation-delay: 0.1s;
}
.review-card:nth-child(2) {
  animation-delay: 0.2s;
}
.review-card:nth-child(3) {
  animation-delay: 0.3s;
}
/* Add more nth-child as needed or use JavaScript for dynamic delays */

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.review-name {
  font-size: 1.2rem;
  font-weight: bold;
  color: #555;
}

.stars {
  color: #f7b731;
  font-size: 1rem;
}

.review-text {
  font-style: italic;
  color: #666;
}

/* Animation Keyframes */
@keyframes slideUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}


/* footer section */
.footer-section {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 2rem 1rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

.footer-about h3,
.footer-contact h3,
.footer-contact.links h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #f0f0f0;
}

.footer-about p,
.footer-contact p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #ccc;
}

.footer-ul ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-ul ul li {
  margin-bottom: 0.5rem;
}

.footer-ul ul li a {
  text-decoration: none;
  color: #ccc;
  transition: color 0.3s ease;
}

.footer-ul ul li a:hover {
  color: #ffffff;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  color: #ffffff;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #00aced; /* Highlight on hover */
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: #aaa;
  border-top: 1px solid #333;
  margin-top: 2rem;
}

/* ✅ Responsive for small screens */
@media (max-width: 700px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-ul ul li {
    display: inline-block;
    margin: 0 0.5rem 0.5rem;
  }

  .footer-ul ul li a {
    font-size: 0.9rem;
  }
}
@media (max-width: 219px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 0.5rem;
  }

  .footer-about h3,
  .footer-contact h3,
  .footer-contact.links h3 {
    font-size: 1rem;
  }

  .footer-about p,
  .footer-contact p,
  .footer-ul ul li a {
    font-size: 0.75rem;
  }

  .footer-ul ul li {
    display: block;
    margin: 0.3rem 0;
  }

  .footer-social {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .footer-social a {
    font-size: 1rem;
  }

  .footer-bottom {
    font-size: 0.7rem;
    padding-top: 1rem;
  }
}

/* about section */
/* ========= ANIMATIONS ========= */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ========= SECTION BASE STYLES ========= */
.welcome {
  padding: 40px 20px;
  background: #ffffff;
  font-family: 'Segoe UI', sans-serif;
  color: #333;
  animation: fadeInUp 1s ease forwards;
}

/* ========= TITLES ========= */
.about-titles {
  text-align: center;
  font-size: 40px;
  font-weight: bold;
  color: #7cc300;
  margin-top: 20px;
  margin-bottom: 30px;
  animation: slideIn 1s ease-out;
}
/* .academics-section{
    width: 1600px   ;
} */

.section-title {
  font-size: 38px;
  color: #7cc300;
  text-align: center;
  margin: 50px 0 25px;
  animation: fadeInUp 1s ease-in-out;
}

/* ========= IMAGES ========= */
.welcome-image,
.about-signature {
  text-align: center;
  margin-bottom: 30px;
}

.welcome-img {
  width: 100%;
  max-width: 800px;
  height: 500px;
  object-fit: cover;
  border-radius: 10px;
  animation: fadeInUp 1s ease-in-out;
}

.about-signature img {
  width: 100%;
  max-width: 990px;
  height: auto;
  border-radius: 10px;
  animation: fadeInUp 1.2s ease-in-out;
}

/* ========= CONTENT ========= */
.welcome-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 10px;
}

.about-bullets h6 {
  font-size: 18px;
  margin-bottom: 15px;
  animation: fadeInUp 1s ease-in-out;
}

.about-bullets p {
  position: relative;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease-in-out;
}

.about-bullets p::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: #7cc300;
  font-size: 20px;
}

/* ========= SKILLS LIST ========= */
.skills-list {
  list-style: none;
  padding-left: 0;
  max-width: 900px;
  margin: 20px auto;
  animation: fadeInUp 1s ease-in-out;
}

.skills-list li {
  margin-bottom: 12px;
  font-size: 16px;
  display: flex;
  align-items: flex-start;
}

.skills-list .dot {
  color: #7cc300;
  font-size: 18px;
  margin-right: 10px;
}

/* ========= RESPONSIVE DESIGN ========= */
@media (max-width: 768px) {
  .about-titles {
    font-size: 30px;
    margin-bottom: 20px;
  }

  .section-title {
    font-size: 24px;
  }

  .welcome-img {
    height: 320px;
  }

  .about-bullets p,
  .skills-list li {
    font-size: 14.5px;
  }
}

@media (max-width: 480px) {
  .about-titles {
    font-size: 24px;
  }

  .section-title {
    font-size: 22px;
  }

  .welcome-img {
    height: 250px;
  }

  .about-signature img {
    height: auto;
    width: 100%;
  }
}

@media (max-width: 320px) {
  .welcome {
    padding: 20px 10px;
  }

  .about-titles {
    font-size: 20px;
    margin-top: 10px;
    margin-bottom: 20px;
  }

  .section-title {
    font-size: 20px;
    margin: 30px 0 20px;
  }

  .welcome-img {
    height: 200px;
  }

  .about-bullets h6 {
    font-size: 15px;
  }

  .about-bullets p {
    font-size: 13px;
    line-height: 1.6;
  }

  .skills-list li {
    font-size: 13px;
  }

  .skills-list .dot {
    font-size: 16px;
  }
}
.academics-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  font-size: 18px;
  animation: fadeInUp 1s ease-in-out;
}

/* Responsive for tablets */
@media (max-width: 768px) {
  .academics-section {
    padding: 15px;
    font-size: 16px;
  }
}

/* Responsive for phones */
@media (max-width: 480px) {
  .academics-section {
    padding: 10px;
    font-size: 15px;
  }
}

/* Responsive for small phones (320px) */
@media (max-width: 320px) {
  .academics-section {
    padding: 8px;
    font-size: 13px;
  }
}

/* service section */
/* Global Section Styling */
.background-section {
  position: relative;
  padding: 60px 20px;
  color: #fff;
  overflow: hidden;
}

.section-overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-size: cover;
  background-position: center;
  padding: 190px 20px;
  border-radius: 12px;
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); */
  transition: all 0.4s ease;
}

.section-box {
  display: flex;
  flex-direction: row;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 20px;
  padding: 40px;
  max-width: 1200px;
  width: 100%;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
}

.section-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.section-image img:hover {
  transform: scale(1.03);
}

.section-text {
  flex: 1;
}

.section-text h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffd700;
}

.section-text p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 12px;
}

/* Background image overlays */
.bg3{
      background-image: url('../images/vasthu-bg.jpg'); /* Replace with your background */
       background-size: cover;
  background-position: center;

}
.bg2{
      background-image: url('../images/interior-bg.jpg'); /* Replace with your background */
       background-size: cover;
  background-position: center;

}
.bg1{
      background-image: url('../images/bg.jpg'); /* Replace with your background */
       background-size: cover;
  background-position: center;

}
.bg4{
        background-image: url('../images/floor-coat.jpg'); /* Replace with your background */
         background-size: cover;
  background-position: center;

}
.bg5{
        background-image: url('../images/water-proofing.webp'); /* Replace with your background */
         background-size: cover;
  background-position: center;

}


/* Responsive Design */
@media (max-width: 768px) {
  .section-box {
    flex-direction: column;
    padding: 20px;
  }

  .section-text h3 {
    font-size: 22px;
  }

  .section-text p {
    font-size: 15px;
  }

  .section-image img {
    max-width: 100%;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .background-section {
    padding: 40px 10px;
  }

  .section-box {
    padding: 15px;
  }

  .section-text h3 {
    font-size: 20px;
  }

  .section-text p {
    font-size: 14px;
  }
}

/* ===== Gallery Section ===== */
/* ===== Gallery Section ===== */
.gallery {
  padding: 40px 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #333;
}

/* ===== Category Filter ===== */
.category-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
}

.category-filter span {
  padding: 8px 16px;
  border-radius: 20px;
  background: #eee;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.category-filter span:hover,
.category-filter .active {
  background: #333;
  color: #fff;
  font-weight: 600;
}

/* ===== Gallery Grid ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 20px 10px;
  justify-items: center;
}

/* ===== Gallery Card ===== */
.gallery-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
  overflow: hidden;
  width: 100%;
  max-width: 300px;
}

.gallery-card:hover {
  transform: translateY(-5px);
}

/* ===== Gallery Image ===== */
.gallery-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  display: block;
}

/* ===== Info Section ===== */
.gallery-info {
  padding: 15px;
  text-align: left;
}

.gallery-info p {
  font-size: 14px;
  color: #444;
  margin: 5px 0;
}

/* ===== Modal Overlay & Carousel ===== */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 10px;
}

.modal-content {
  background: white;
  padding: 1rem;
  width: 100%;
  max-width: 800px;
  border-radius: 10px;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 4rem;
  cursor: pointer;
  color: #fefdfd;
  z-index: 10;
}

/* ===== Responsive Enhancements ===== */
@media (max-width: 768px) {
  .gallery-info {
    text-align: center;
  }

  .gallery-image {
    height: 180px;
  }

  .modal-content {
    max-width: 95%;
  }
}

@media (max-width: 480px) {
  .category-filter span {
    font-size: 12px;
    padding: 6px 12px;
  }

  .gallery-image {
    height: 150px;
  }

  .close-btn {
    font-size: 1.5rem;
    right: 15px;
  }
}
