/* ================================================================
   Color Palette & Design Tokens
   ================================================================ */
   :root {
    --primary-color: #8B4513;  /* deep brown */
    --accent-color:  #D4AF37;  /* gold */
    --accent-color-2: #FFD700; /* bright gold */
    --dark:          #4A3728;  /* dark brown */
    --light:         #F5F5DC;  /* beige */
    --white:         #FFFFFF;
    --header-bg:     #2C1810;  /* darker brown for header */
  
    --radius: 0.75rem;
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px rgba(139, 69, 19, 0.1);
    --shadow-hover: 0 15px 40px rgba(139, 69, 19, 0.15);
  }
  
  /* ================================================================
     Base Reset & Typography
     ================================================================ */
  *{margin:0;padding:0;box-sizing:border-box;}
  
  body{
    font-family:'Poppins',sans-serif;
    color:var(--dark);
    background:var(--light);
    line-height:1.7;
    overflow-x: hidden;
  }
  
  a{text-decoration:none;color:inherit;}
  a,button{transition:all var(--transition);}
  a:hover,button:hover{opacity:.9;transform:translateY(-2px);}
  
  /* ================================================================
     Buttons
     ================================================================ */
  .btn,.btn-outline,.btn-small{
    display:inline-block;
    font-weight:600;
    border-radius:var(--radius);
  
    margin:1.5rem .6rem;          /* ↓ top/bottom | ↔ left/right */
    padding:0.85rem 2rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
  }
  
  .btn{
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color-2));
    color: var(--dark);
    box-shadow: var(--shadow);
  }
  .btn:hover{
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
  }
  .btn-outline{
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
  }
  .btn-small{
    padding: 0.5rem 1.2rem;
    background: none;
    color: var(--accent-color);
    font-size: 0.85rem;
  }
  .btn-small:hover{
    text-decoration: underline;
    transform: translateY(-2px);
  }
  
  .button-group{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:0.75rem;margin-top:1rem;}
  .button-group>*:not(:last-child){margin-right:.75rem;}
  
  .button-group .btn-small {
    margin: 0;
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
    background: none;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    border-radius: var(--radius);
    transition: all var(--transition);
  }
  
  .button-group .btn-small:hover {
    background: var(--accent-color);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.1);
  }
  
  .button-group .btn-small:first-child {
    background: var(--accent-color);
    color: var(--dark);
  }
  
  .button-group .btn-small:first-child:hover {
    background: var(--accent-color-2);
  }
  
  /* ================================================================
     Header / Navigation
     ================================================================ */
  header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    padding: 0.5rem 0;
  }

  .nav-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 2rem;
  }

  .logo img{
    height: 65px;
    transition: transform var(--transition);
    filter: brightness(1.1); /* Slightly brighten the logo for better contrast */
  }
  .logo img:hover{
    transform: scale(1.05);
  }
  
  .nav-list{list-style:none;display:flex;align-items:center;gap:2rem;}
  .nav-list a{
    color: var(--white);
    font-weight:500;
    position:relative;
    padding: 0.5rem 0;
  }
  .nav-list a::after{
    content:'';position:absolute;bottom:0;left:0;width:0;height:2px;
    background:var(--accent-color);transition:width var(--transition);
  }
  .nav-list a:hover::after{width:100%;}
  .nav-list .call a{
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color-2));
    color: var(--dark);
    padding: 0.7rem 1.4rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .nav-list .call a:hover{
    box-shadow: var(--shadow-hover);
  }
  
  /* Dropdown (desktop) */
  .has-dropdown:hover .dropdown{display:block;}
  .dropdown{
    display:none;position:absolute;top:110%;left:0;
    background:var(--light);border-radius:var(--radius);
    box-shadow:0 4px 12px rgba(0,0,0,.1);
  }
  .dropdown a{display:block;padding:.6rem 1.2rem;color:var(--dark);}
  
  /* Mobile nav toggle */
  .nav-toggle{
    display:none;flex-direction:column;gap:5px;
    background:none;border:none;cursor:pointer;
  }
  .nav-toggle span{
    width:28px;height:3px;background:var(--white);border-radius:var(--radius);
  }
  
  /* ================================================================
     Hero Sections
     ================================================================ */
  .hero{
    display:grid;grid-template-columns:1fr 1fr;align-items:center;
    min-height:100vh;padding-top:80px;
    background: linear-gradient(135deg, rgba(204, 94, 15, 0.9), rgba(190, 132, 91, 0.8)),
                url('images/temple-bg.html') center/cover no-repeat;
    color:var(--white);
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.1), transparent 70%);
  }
  .hero-content{padding:3rem;position:relative;z-index:1;}
  .hero-content h1{font-size:4rem;margin-bottom:1.5rem;line-height:1.2;
    background: linear-gradient(135deg, var(--white), var(--light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .hero-content p{font-size:1.4rem;margin-bottom:2.5rem;opacity:0.9;}
  
  .hero-images{
    display:flex;
    justify-content:center;
    align-items:center;
    padding:2rem;
    position: relative;
  }
  
  /* image looks crisp on desktop, tablet, mobile */
  .hero-images img{
    width:90%;            /* gentle margin inside its column */
    max-width:450px;      /* never too huge on big monitors */
    border-radius:var(--radius);
    box-shadow:var(--shadow);
  
    /* entrance fade + soft bobbing loop */
    animation:heroFade 1s ease-out 0s 1,
               heroFloat 8s ease-in-out 1s infinite alternate;
  }
  
  /* keyframes */
  @keyframes heroFade{
    from{opacity:0;transform:translateY(40px) scale(0.95);}
    to  {opacity:1;transform:translateY(0)   scale(1);}
  }
  @keyframes heroFloat{
    from{transform:translateY(0);}
    to  {transform:translateY(-12px);}
  }
  
  /* ================================================================
     Services Page Styles
     ================================================================ */
  .hero-services {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.9), rgba(74, 55, 40, 0.8)),
                url('images/temple-bg.html') center/cover no-repeat;
    color: var(--white);
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
  }

  .hero-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.1), transparent 70%);
  }

  .hero-services h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--white), var(--light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 1;
  }

  .hero-services p {
    font-size: 1.25rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
  }

  /* Service Cards */
  .service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem 0 4rem;
  }

  .service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(139, 69, 19, 0.1);
  }

  .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-color-2));
    transform: scaleX(0);
    transition: transform var(--transition);
  }

  .service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
  }

  .service-card:hover::before {
    transform: scaleX(1);
  }

  .service-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    transition: transform var(--transition);
  }

  .service-card:hover i {
    transform: scale(1.1);
  }

  .service-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .service-card p {
    color: var(--dark);
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }

  .service-list {
    text-align: left;
    margin: 1.5rem 0;
    padding-left: 0;
    list-style: none;
  }

  .service-list li {
    margin-bottom: 0.75rem;
    color: var(--dark);
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
    list-style: none;
  }

  .service-list li::before {
    content: '•';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1;
  }

  /* Service Details */
  .service-detail {
    margin-bottom: 4rem;
    padding: 3rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(139, 69, 19, 0.1);
    transition: all var(--transition);
  }

  .service-detail:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
  }

  .service-detail:last-child {
    margin-bottom: 0;
  }

  .service-detail h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
  }

  .service-detail h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-color-2));
    border-radius: 2px;
  }

  .detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
  }

  .detail-grid img {
    width: 100%;
    max-width: 300px;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform var(--transition);
    border: 4px solid var(--white);
  }

  .detail-grid img:hover {
    transform: scale(1.02);
  }

  .detail-grid p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--dark);
  }

  .detail-grid .btn {
    margin-top: 1rem;
  }

  /* Mobile Optimizations */
  @media(max-width: 768px) {
    .service-detail {
      padding: 2rem 1.5rem;
      margin-bottom: 2rem;
    }

    .service-detail h3 {
      font-size: 1.8rem;
      margin-bottom: 1.5rem;
    }

    .detail-grid {
      grid-template-columns: 1fr;
      gap: 2rem;
    }

    .detail-grid img {
      max-width: 180px;
      width: 100%;
      height: auto;
      margin: 0 auto;
      border-width: 2px;
    }

    .detail-grid p {
      font-size: 1rem;
      margin-bottom: 1rem;
    }
  }

  /* Small Mobile Devices */
  @media(max-width: 480px) {
    .service-detail {
      padding: 1.5rem 1rem;
    }

    .service-detail h3 {
      font-size: 1.5rem;
      margin-bottom: 1.25rem;
    }

    .detail-grid {
      gap: 1.5rem;
    }

    .detail-grid img {
      max-width: 150px;
      height: auto;
      border-width: 2px;
    }

    .detail-grid p {
      font-size: 0.95rem;
    }
  }

  /* Tablet Optimizations */
  @media(min-width: 769px) and (max-width: 1024px) {
    .service-detail {
      padding: 2.5rem;
    }

    .detail-grid {
      gap: 2rem;
    }

    .detail-grid img {
      max-width: 250px;
      height: auto;
    }
  }

  /* Touch Device Optimizations */
  @media(hover: none) {
    .service-detail:hover {
      transform: none;
    }

    .service-detail:active {
      transform: translateY(-2px);
    }

    .detail-grid img:hover {
      transform: none;
    }

    .detail-grid img:active {
      transform: scale(0.98);
    }
  }
  
  /* ================================================================
     Section Wrappers
     ================================================================ */
  section{padding:3rem 1rem;}
  .container{max-width:1200px;margin:auto;}
  
  /* ================================================================
     Service Overview Grid
     ================================================================ */
  .services h2{
    text-align:center;margin-bottom:1.5rem;
    font-size:2.25rem;color:var(--primary-color);
  }
  
  .service-grid{
    display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:2rem;
  }
  .service-card{
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
  }
  .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-color-2));
    transform: scaleX(0);
    transition: transform var(--transition);
  }
  .service-card:hover{
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
  }
  .service-card:hover::before {
    transform: scaleX(1);
  }
  .service-card img{
    width:72px;margin-bottom:1.5rem;
    transition: transform var(--transition);
  }
  .service-card:hover img{
    transform: scale(1.1);
  }
  .service-card h3{
    margin: 1rem 0;
    color: var(--primary-color);
    font-size: 1.4rem;
  }
  .service-card p{
    color: #666;
    margin-bottom: 1.5rem;
  }
  

  /* ================================================================
     About section – simplified design
   ================================================================ */
.about {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.02), rgba(212, 175, 55, 0.03));
  position: relative;
}

.about h2 {
  text-align: center;
  color: var(--primary-color);
  font-size: 3rem;
  margin-bottom: 3rem;
}

.about-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.about-photo {
  position: relative;
  margin: 0 auto;
  max-width: 300px;
  width: 100%;
  padding: 1rem;
}

.about-photo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-color-2));
  opacity: 0.1;
  border-radius: var(--radius);
  transform: translate(8px, 8px);
  z-index: -1;
}

.about-photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(139, 69, 19, 0.1);
  transition: transform var(--transition);
  object-fit: cover;
  aspect-ratio: 3/4;
  border: 4px solid var(--white);
  }

.about-photo:hover img {
  transform: scale(1.02);
}

.about-text {
  color: var(--dark);
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about-text ul {
  list-style: none;
  margin: 2rem 0;
}

.about-text ul li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.about-text ul li::before {
  content: '•';
  color: var(--accent-color);
  position: absolute;
  left: 0;
  font-size: 1.5rem;
  line-height: 1;
}

.about-text .btn-small {
  margin-top: 1rem;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-color-2));
  color: var(--dark);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  display: inline-block;
  box-shadow: var(--shadow);
}

.about-text .btn-small:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  }
  
/* Mobile tweaks */
@media(max-width: 768px) {
  .about {
    padding: 6rem 1rem 3rem;
  }
  
  .about h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    padding: 0;
  }
  
  .about-photo {
    max-width: 220px;
    margin: 0 auto 2rem;
    padding: 0.75rem;
  }
  
  .about-photo::before {
    transform: translate(6px, 6px);
  }
  
  .about-photo img {
    border-width: 3px;
    box-shadow: 0 8px 20px rgba(139, 69, 19, 0.08);
  }
  
  .about-text {
    padding: 0;
  }
  
  .about-text p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-align: left;
  }
  
  .about-text ul {
    text-align: left;
    display: inline-block;
    margin: 1.5rem 0;
    padding-left: 0;
  }
  
  .about-text ul li {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    padding-left: 1.2rem;
  }
  
  .about-text ul li::before {
    font-size: 1.2rem;
  }
  
  .about-text .btn-small {
    width: 100%;
    max-width: 280px;
    text-align: center;
    margin: 1.5rem auto 0;
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Small Mobile Devices */
@media(max-width: 480px) {
  .about {
    padding: 5rem 0.75rem 2rem;
  }
  
  .about h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }
  
  .about-photo {
    max-width: 200px;
    margin: 0 auto 1.5rem;
    padding: 0.5rem;
  }
  
  .about-photo::before {
    transform: translate(4px, 4px);
  }
  
  .about-photo img {
    border-width: 2px;
    box-shadow: 0 6px 15px rgba(139, 69, 19, 0.06);
  }
  
  .about-text p {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
  }
  
  .about-text ul li {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
  }
  
  .about-text .btn-small {
    max-width: 240px;
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
  }
}

/* Tablet Optimizations */
@media(min-width: 769px) and (max-width: 1024px) {
  .about {
    padding: 7rem 1.5rem 3rem;
  }
  
  .about-content {
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
  }
  
  .about-photo {
    max-width: 280px;
  }
  
  .about-text p {
    font-size: 1.05rem;
  }
}

/* Touch Device Optimizations */
@media(hover: none) {
  .about-photo img:hover {
    transform: none;
    }
  
  .about-photo img:active {
    transform: scale(0.98);
  }
  
  .about-text .btn-small:active {
    transform: scale(0.98);
  }
}

/* Contact Button Styles */
.btn-outline {
  background: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  display: inline-block;
  transition: all var(--transition);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.btn-outline:hover {
  background: var(--accent-color);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
    }

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

@media(max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn,
  .cta-buttons .btn-outline {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  }
  
  /* ================================================================
     Detailed Service Blocks
     ================================================================ */
  .service-detail{margin-top:4rem;}
  .service-detail h3{font-size:2rem;margin-bottom:1.25rem;color:var(--primary-color);}
  
  .detail-grid{
    display:grid;grid-template-columns:320px 1fr;gap:2.5rem;align-items:center;
  }
  .detail-grid img{
    width:100%;max-width:320px;border-radius:var(--radius);
    box-shadow:0 0px 0px rgba(0,0,0,.08);
  }
  
  @media(max-width:768px){
    .detail-grid{grid-template-columns:1fr;text-align:center;}
    .detail-grid img{margin:0 auto 1.5rem;}
  }
  
  /* ================================================================
     Footer
     ================================================================ */
footer {
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  color: var(--white);
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--accent-color), var(--primary-color));
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.footer-links h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.footer-links h4:hover::after {
  width: 60px;
  }

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

.footer-links ul li {
  margin-bottom: 0.8rem;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  padding-left: 0;
}

.footer-links ul li a::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: all 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--white);
  padding-left: 20px;
}

.footer-links ul li a:hover::before {
  opacity: 1;
  left: 0;
}

.social {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.social a {
  color: var(--white);
  font-size: 1.5rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social a:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translateY(-3px);
}

footer p {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

/* Footer Background Pattern */
footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.1;
  z-index: 0;
}

/* Mobile Footer Styles */
@media (max-width: 768px) {
  footer {
    padding: 3rem 0 1.5rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 0 1.5rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .footer-links h4 {
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
  }

  .footer-links h4::after {
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
  }

  .footer-links h4:hover::after {
    width: 80px;
  }

  .footer-links ul {
    display: inline-block;
    text-align: left;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: var(--radius);
    backdrop-filter: blur(5px);
  }

  .footer-links ul li {
    margin-bottom: 1rem;
  }

  .footer-links ul li:last-child {
    margin-bottom: 0;
  }

  .footer-links ul li a {
    font-size: 1.05rem;
    padding: 0.5rem 0;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer-links ul li a:last-child {
    border-bottom: none;
  }

  .footer-links ul li a::before {
    display: none;
  }

  .footer-links ul li a:hover {
    padding-left: 0;
    color: var(--accent-color-2);
  }
  
  .social {
    justify-content: center;
    margin-top: 2.5rem;
    gap: 1.25rem;
  }

  .social a {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.2);
  }

  .social a:active {
    transform: scale(0.95);
    background: var(--white);
    color: var(--primary-color);
  }

  footer p {
    margin-top: 2.5rem;
    padding: 1.5rem 1rem 0;
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
  footer {
    padding: 2.5rem 0 1rem;
  }

  .footer-container {
    padding: 0 1rem;
    gap: 2rem;
  }

  .footer-links {
    gap: 2rem;
  }

  .footer-links h4 {
    font-size: 1.2rem;
  }

  .footer-links ul {
    padding: 1.25rem;
  }

  .footer-links ul li a {
    font-size: 1rem;
    padding: 0.4rem 0;
  }

  .social {
    gap: 1rem;
  }

  .social a {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }

  footer p {
    font-size: 0.9rem;
    padding: 1.25rem 0.75rem 0;
  }
}

/* Touch Device Optimizations */
@media (hover: none) {
  .footer-links ul li a:hover {
    color: var(--white);
  }

  .footer-links ul li a:active {
    color: var(--accent-color-2);
  }

  .social a:hover {
    transform: none;
  }
}
  
  /* ================================================================
     Responsive Breakpoints
     ================================================================ */
  @media(max-width:1024px){
  .hero{grid-template-columns:1fr;text-align:center;}
    /* .hero-images{display:none;} */
  .hero-content{padding:2rem;}
  .hero-content h1{font-size:3.5rem;}
  .about-content{grid-template-columns:1fr;text-align:center;}
  .about-photo{margin:0 auto 2rem;}
  }
  @media(max-width:768px){
    .nav-toggle{display:flex;}
    .nav-list{
    display:none;
    position:absolute;top:100%;left:0;width:100%;
    background: var(--white);
    flex-direction:column;
    padding:1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    .nav-list.show{display:flex;}
  .nav-list li{padding:0.8rem 2rem;}
  .hero-content h1{font-size:2.8rem;}
  .hero-content p{font-size:1.2rem;}
  .service-grid{grid-template-columns:1fr;}
  }
  

  /* neat bullet alignment for every service-detail list */
.service-list{
    margin: 1rem 0 1.5rem 1.2rem;   /* top | right | bottom | left */
    padding: 0;                     /* zap default padding */
    list-style: disc inside;        /* bullets inside so text wraps under itself */
  }
  .service-list li{
    margin-bottom: .3rem;           /* gentle breathing room between points */
  }

  /* -----------------------------------------------------------------
   Perfect bullet alignment inside service-detail blocks (mobile only)
   ----------------------------------------------------------------- */
@media (max-width: 768px) {
    /* force the text column to left‑align even though the whole grid is centered */
    .service-detail .detail-grid > div {
      text-align: center;
    }
  
    /* list: bullet on one vertical axis, tidy left padding */
    .service-list {
      list-style: disc outside;   /* bullet outside keeps it on a clean axis */
      padding-left: 1.2rem;       /* same indent for every item */
      margin: 1rem 0 1.5rem;      /* top / right‑left / bottom */
    }
  }
  

  @media(max-width:768px){
    .hero{grid-template-columns:1fr;}   /* stack text + image */
    .hero-images{margin-top:1rem;}
  }
  
  @media(max-width:768px){
    .hero-images img{
      width:80%;
      max-width:320px;                 /* smaller handset limit */
    }
  }

/* ================================================================
   Animations & Transitions
   ================================================================ */
.fade-out {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Active Navigation State */
.nav-list a.active {
  color: var(--accent-color);
}

.nav-list a.active::after {
  width: 100%;
}

/* Mobile Navigation State */
body.nav-open {
  overflow: hidden;
}

.nav-toggle {
  position: relative;
  z-index: 1001;
}

.nav-toggle span {
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Service Card Hover Effects */
.service-card {
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
}

/* Testimonial Card Styling */
.testimonial {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 4rem;
  color: var(--accent-color);
  opacity: 0.2;
  font-family: serif;
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.testimonial p {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial h5 {
  color: var(--primary-color);
  font-size: 1.1rem;
}

.testimonial .location {
  color: #666;
  font-size: 0.9rem;
}

/* Blog Post Card Styling */
.blog-post {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-post:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.blog-post img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.blog-post h3 {
  padding: 1.5rem 1.5rem 0.5rem;
  font-size: 1.3rem;
}

.blog-post p {
  padding: 0 1.5rem 1.5rem;
  color: #666;
}

/* Gallery Image Hover Effects */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 1rem;
}

.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-hover);
}

/* Contact Section Styling */
.contact {
  background: linear-gradient(135deg, var(--primary-color), var(--dark));
  color: var(--white);
  border-radius: var(--radius);
  margin: 4rem auto;
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/om-pattern.html') repeat;
  opacity: 0.05;
}

.contact-list {
  list-style: none;
  margin: 2rem 0;
  position: relative;
  z-index: 1;
}

.contact-list li {
  margin: 1rem 0;
  font-size: 1.1rem;
}

.contact-list a {
  color: var(--accent-color);
  transition: color 0.3s ease;
}

.contact-list a:hover {
  color: var(--accent-color-2);
}

/* Loading Animation */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.loading {
  background: linear-gradient(90deg, 
    var(--light) 25%, 
    var(--white) 50%, 
    var(--light) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius);
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color), var(--accent-color-2));
  z-index: 1001;
  transition: width 0.1s ease-out;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--accent-color);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  z-index: 1000;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent-color-2);
  transform: translateY(-5px);
}

/* ================================================================
     Testimonials
     ================================================================ */
.testimonials {
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.03), rgba(212, 175, 55, 0.05));
  padding: 4rem 0;
}

.testimonials h2 {
  text-align: center;
  color: var(--primary-color);
  font-size: 2.25rem;
  margin-bottom: 3rem;
}

.testimonials-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 0 1rem;
}

.testimonial {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(139, 69, 19, 0.08);
  transition: all var(--transition);
  position: relative;
  border: 1px solid rgba(139, 69, 19, 0.1);
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  font-size: 5rem;
  color: var(--accent-color);
  opacity: 0.15;
  font-family: serif;
  line-height: 1;
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(139, 69, 19, 0.12);
  border-color: var(--accent-color);
}

.testimonial p {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--dark);
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.testimonial h5 {
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.testimonial .location {
  color: #666;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.testimonial .location::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent-color);
  border-radius: 50%;
}

/* Google Reviews Link */
.google-reviews {
  text-align: center;
  padding: 2rem 0;
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.03), rgba(212, 175, 55, 0.05));
  border-top: 1px solid rgba(139, 69, 19, 0.1);
  margin-top: 2rem;
}

.google-reviews a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-color-2));
  color: var(--dark);
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(139, 69, 19, 0.1);
  transition: all var(--transition);
}

.google-reviews a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(139, 69, 19, 0.15);
}

.google-reviews i {
  font-size: 1.1rem;
}

@media(max-width: 768px) {
  .testimonials {
    padding: 3rem 0;
  }
  
  .testimonials h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  
  .testimonial {
    padding: 2rem;
  }
  
  .testimonial::before {
    font-size: 4rem;
    top: 1rem;
    left: 1.5rem;
  }

  .google-reviews {
    padding: 1.5rem 0;
  }
  
  .google-reviews a {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
  }
}

/* ================================================================
     About Page Styles
     ================================================================ */
.about-hero {
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.9), rgba(74, 55, 40, 0.8)),
              url('images/temple-bg.html') center/cover no-repeat;
  color: var(--white);
  padding: 8rem 0 4rem;
  text-align: center;
}

.about-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--white), var(--light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.about-main {
  padding: 4rem 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-color-2));
  color: var(--dark);
  padding: 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}

.experience-badge .years {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.experience-badge .text {
  font-size: 0.9rem;
  opacity: 0.9;
}

.about-content h2 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.about-content h3 {
  color: var(--accent-color);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.highlight-item {
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.03), rgba(212, 175, 55, 0.05));
  border-radius: var(--radius);
  transition: all var(--transition);
}

.highlight-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.highlight-item i {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.highlight-item h4 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.highlight-item p {
  font-size: 0.9rem;
  margin: 0;
  color: var(--dark);
}

/* Journey Section */
.journey {
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.02), rgba(212, 175, 55, 0.03));
}

.journey h2 {
  text-align: center;
  color: var(--primary-color);
  font-size: 2.25rem;
  margin-bottom: 3rem;
}

.journey-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.journey-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: var(--accent-color);
  opacity: 0.3;
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item .year {
  text-align: right;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
  padding-right: 2rem;
}

.timeline-item .content {
  padding-left: 2rem;
}

.timeline-item .content h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* Expertise Section */
.expertise {
  padding: 4rem 0;
  background: var(--white);
}

.expertise h2 {
  text-align: center;
  color: var(--primary-color);
  font-size: 2.25rem;
  margin-bottom: 3rem;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.expertise-card {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.03), rgba(212, 175, 55, 0.05));
  border-radius: var(--radius);
  transition: all var(--transition);
}

.expertise-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.expertise-card i {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.expertise-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Temple Section */
.temple {
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.9), rgba(74, 55, 40, 0.8)),
              url('images/temple-interior.html') center/cover no-repeat fixed;
  color: var(--white);
  position: relative;
}

.temple::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.temple-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.temple-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.temple-content p {
  font-size: 1.1rem;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.temple-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature {
  text-align: center;
}

.feature i {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.feature h4 {
  margin-bottom: 0.5rem;
}

/* CTA Section */
.cta {
  padding: 4rem 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.03), rgba(212, 175, 55, 0.05));
}

.cta h2 {
  color: var(--primary-color);
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--dark);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Mobile Tweaks */
@media(max-width: 768px) {
  .about-hero h1 {
    font-size: 2.5rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-highlights {
    grid-template-columns: 1fr;
  }
  
  .journey-timeline::before {
    left: 0;
  }
  
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .timeline-item .year {
    text-align: left;
    padding-left: 2rem;
    padding-right: 0;
  }
  
  .timeline-item .content {
    padding-left: 2rem;
  }
  
  .temple-features {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* ================================================================
   Mobile Navigation & Responsive Styles
   ================================================================ */
@media(max-width: 768px) {
  /* Header & Navigation */
  .nav-container {
    padding: 0.75rem 1.5rem;
    background: var(--header-bg);
    position: relative;
  }

  .logo img {
    height: 45px;
    transition: transform 0.3s ease;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    transition: transform 0.3s ease;
  }

  .nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
    border-radius: 2px;
  }

  .nav-list {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--header-bg), #1a0f0a);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    gap: 0.5rem;
    z-index: 1000;
    overflow-y: auto;
    opacity: 0;
    transform: translateX(-100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-list.show {
    display: flex;
    opacity: 1;
    transform: translateX(0);
  }

  .nav-list li {
    width: 100%;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
  }

  .nav-list.show li {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-list li:nth-child(1) { transition-delay: 0.1s; }
  .nav-list li:nth-child(2) { transition-delay: 0.2s; }
  .nav-list li:nth-child(3) { transition-delay: 0.3s; }
  .nav-list li:nth-child(4) { transition-delay: 0.4s; }

  .nav-list a {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
    color: var(--white);
    border-radius: var(--radius);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }

  .nav-list a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color-2));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
  }

  .nav-list a:hover {
    color: var(--dark);
    transform: translateX(10px);
  }

  .nav-list a:hover::before {
    opacity: 0.15;
  }

  .nav-list .call {
    margin-top: 1rem;
    padding: 0 1.5rem;
  }

  .nav-list .call a {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color-2));
    color: var(--dark);
    text-align: center;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: var(--radius);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
  }

  .nav-list .call a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
  }

  .nav-list a.active {
    color: var(--accent-color);
    font-weight: 600;
  }

  .nav-list a.active::before {
    opacity: 0.1;
  }

  /* Mobile Menu Toggle Animation */
  body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
  }

  body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Add a subtle backdrop blur when menu is open */
  .nav-list::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
  }

  .nav-list.show::before {
    opacity: 1;
  }

  /* Hero Sections */
  .hero-services {
    padding: 6rem 1rem 3rem;
  }

  .hero-services h1 {
    font-size: 2.5rem;
  }

  .hero-services p {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  /* Service Cards */
  .service-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem 1rem;
  }

  .service-card {
    padding: 2rem 1.5rem;
  }

  .service-card i {
    font-size: 2rem;
  }

  .service-card h3 {
    font-size: 1.3rem;
  }

  .service-list {
    margin: 1rem 0;
    padding-left: 1rem;
  }

  .service-list li {
    font-size: 0.95rem;
    padding-left: 1.2rem;
  }

  /* Service Details */
  .service-details {
    padding: 2rem 1rem;
  }

  .service-detail {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }

  .service-detail h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }

  .detail-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .detail-grid img {
    max-width: 100%;
    margin: 0 auto;
  }

  .detail-grid p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  /* CTA Section */
  .cta {
    padding: 3rem 1rem;
  }

  .cta h2 {
    font-size: 2rem;
  }

  .cta p {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .cta-buttons .btn,
  .cta-buttons .btn-outline {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  /* Footer */
  .footer-container {
    padding: 2rem 1rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-links ul {
    display: inline-block;
    text-align: left;
  }

  .social {
    margin-top: 2rem;
  }

  .social a {
    padding: 0.7rem;
    font-size: 1.1rem;
  }
}

/* Additional Mobile Optimizations */
@media(max-width: 480px) {
  .hero-services h1 {
    font-size: 2rem;
  }

  .service-card {
    padding: 1.5rem 1rem;
  }

  .service-detail {
    padding: 1rem;
  }

  .service-detail h3 {
    font-size: 1.5rem;
  }

  .btn, .btn-outline {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Tablet Optimizations */
@media(min-width: 769px) and (max-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-grid {
    gap: 2rem;
  }

  .nav-container {
    padding: 0.5rem 1.5rem;
  }
}

/* Touch Device Optimizations */
@media(hover: none) {
  .service-card:hover {
    transform: none;
  }

  .service-card:active {
    transform: translateY(-4px);
  }

  .btn:active,
  .btn-outline:active {
    transform: scale(0.98);
  }

  .nav-list a:active {
    opacity: 0.7;
  }
}

/* High-DPI Screen Optimizations */
@media(-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-services,
  .service-detail img {
    background-size: cover;
  }
}

/* Print Styles */
@media print {
  .nav-toggle,
  .cta,
  .social {
    display: none;
  }

  .service-card,
  .service-detail {
    break-inside: avoid;
    page-break-inside: avoid;
    }
  }

/* ================================================================
   Animations & Keyframes
   ================================================================ */
@keyframes fadeInUp {
  from {
    opacity: 1;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 1;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 1;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 1;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Animation Classes */
.animate-fadeInUp {
  animation: fadeInUp 0.4s ease-out forwards;
  opacity: 1;
}

.animate-fadeInLeft {
  animation: fadeInLeft 0.4s ease-out forwards;
  opacity: 1;
}

.animate-fadeInRight {
  animation: fadeInRight 0.4s ease-out forwards;
  opacity: 1;
}

.animate-scaleIn {
  animation: scaleIn 0.4s ease-out forwards;
  opacity: 1;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-pulse {
  animation: pulse 3s ease-in-out infinite;
}

/* Apply animations to elements */
.hero-content h1 {
  animation: fadeInUp 0.5s ease-out forwards;
  opacity: 1;
}

.hero-content p {
  animation: fadeInUp 0.5s ease-out 0.1s forwards;
  opacity: 1;
}

.hero-images img {
  animation: scaleIn 0.5s ease-out 0.2s forwards;
  opacity: 1;
}

.service-card {
  animation: fadeInUp 0.4s ease-out forwards;
  opacity: 1;
}

.service-card:nth-child(2) {
  animation-delay: 0.1s;
}

.service-card:nth-child(3) {
  animation-delay: 0.2s;
}

.service-card:nth-child(4) {
  animation-delay: 0.3s;
}

.about-image img {
  animation: scaleIn 0.5s ease-out forwards;
  opacity: 1;
}

.experience-badge {
  animation: float 6s ease-in-out infinite;
}

.highlight-item {
  animation: fadeInUp 0.4s ease-out forwards;
  opacity: 1;
}

.highlight-item:nth-child(2) {
  animation-delay: 0.1s;
}

.highlight-item:nth-child(3) {
  animation-delay: 0.2s;
}

.timeline-item {
  animation: fadeInLeft 0.4s ease-out forwards;
  opacity: 1;
}

.timeline-item:nth-child(even) {
  animation: fadeInRight 0.4s ease-out forwards;
}

.timeline-item:nth-child(2) {
  animation-delay: 0.1s;
}

.timeline-item:nth-child(3) {
  animation-delay: 0.2s;
}

.timeline-item:nth-child(4) {
  animation-delay: 0.3s;
}

.expertise-card {
  animation: fadeInUp 0.4s ease-out forwards;
  opacity: 1;
}

.expertise-card:nth-child(2) {
  animation-delay: 0.1s;
}

.expertise-card:nth-child(3) {
  animation-delay: 0.2s;
}

.expertise-card:nth-child(4) {
  animation-delay: 0.3s;
}

/* Mobile-specific animations */
@media(max-width: 768px) {
  .hero-content h1 {
    animation: fadeInUp 0.4s ease-out forwards;
    opacity: 1;
  }

  .hero-content p {
    animation: fadeInUp 0.4s ease-out 0.1s forwards;
    opacity: 1;
  }

  .service-card {
    animation: fadeInUp 0.4s ease-out forwards;
    opacity: 1;
  }

  .service-card:nth-child(2) {
    animation-delay: 0.1s;
  }

  .service-card:nth-child(3) {
    animation-delay: 0.2s;
  }

  .service-card:nth-child(4) {
    animation-delay: 0.3s;
  }

  .about-image img {
    animation: scaleIn 0.4s ease-out forwards;
    opacity: 1;
  }

  .experience-badge {
    animation: float 4s ease-in-out infinite;
  }

  .highlight-item {
    animation: fadeInUp 0.4s ease-out forwards;
    opacity: 1;
  }

  .highlight-item:nth-child(2) {
    animation-delay: 0.1s;
  }

  .highlight-item:nth-child(3) {
    animation-delay: 0.2s;
  }

  .timeline-item {
    animation: fadeInLeft 0.4s ease-out forwards;
    opacity: 1;
  }

  .timeline-item:nth-child(even) {
    animation: fadeInRight 0.4s ease-out forwards;
  }

  .timeline-item:nth-child(2) {
    animation-delay: 0.1s;
  }

  .timeline-item:nth-child(3) {
    animation-delay: 0.2s;
  }

  .timeline-item:nth-child(4) {
    animation-delay: 0.3s;
  }

  .expertise-card {
    animation: fadeInUp 0.4s ease-out forwards;
    opacity: 1;
  }

  .expertise-card:nth-child(2) {
    animation-delay: 0.1s;
  }

  .expertise-card:nth-child(3) {
    animation-delay: 0.2s;
  }

  .expertise-card:nth-child(4) {
    animation-delay: 0.3s;
  }

  /* Enhanced mobile menu animations */
  .nav-list {
    animation: fadeInLeft 0.3s ease-out forwards;
    opacity: 1;
  }

  .nav-list li {
    animation: fadeInLeft 0.3s ease-out forwards;
    opacity: 1;
  }

  .nav-list li:nth-child(1) { animation-delay: 0.05s; }
  .nav-list li:nth-child(2) { animation-delay: 0.1s; }
  .nav-list li:nth-child(3) { animation-delay: 0.15s; }
  .nav-list li:nth-child(4) { animation-delay: 0.2s; }

  /* Smooth scroll behavior */
  html {
    scroll-behavior: smooth;
  }

  /* Touch feedback animations */
  .btn:active,
  .btn-outline:active,
  .service-card:active,
  .highlight-item:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
  }

  /* Loading state animations */
  .loading {
    background: linear-gradient(90deg, 
      var(--light) 25%, 
      var(--white) 50%, 
      var(--light) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
  }
}

/* Intersection Observer animations */
.fade-in {
  opacity: 1;
  transform: translateY(10px);
  transition: transform 0.4s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Ensure all content is visible */
.hero-content,
.service-card,
.about-image,
.highlight-item,
.timeline-item,
.expertise-card,
.nav-list,
.nav-list li,
.hero-images img,
.about-image img,
.experience-badge {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Add this to your JavaScript file:
const observerOptions = {
  root: null,
  rootMargin: '0px',
  threshold: 0.1
};

const observer = new IntersectionObserver((entries) => {
  entries.forEach(entry => {
    if (entry.isIntersecting) {
      entry.target.classList.add('visible');
    }
  });
}, observerOptions);

document.querySelectorAll('.fade-in').forEach((element) => {
  observer.observe(element);
});
*/

/* ================================================================
     Testimonials
     ================================================================ */
.testimonials {
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.03), rgba(212, 175, 55, 0.05));
  padding: 4rem 0;
}

.testimonials h2 {
  text-align: center;
  color: var(--primary-color);
  font-size: 2.25rem;
  margin-bottom: 3rem;
}

.testimonials-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 0 1rem;
}

.testimonial {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(139, 69, 19, 0.08);
  transition: all var(--transition);
  position: relative;
  border: 1px solid rgba(139, 69, 19, 0.1);
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  font-size: 5rem;
  color: var(--accent-color);
  opacity: 0.15;
  font-family: serif;
  line-height: 1;
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(139, 69, 19, 0.12);
  border-color: var(--accent-color);
}

.testimonial p {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--dark);
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.testimonial h5 {
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.testimonial .location {
  color: #666;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.testimonial .location::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent-color);
  border-radius: 50%;
}

/* Google Reviews Link */
.google-reviews {
  text-align: center;
  padding: 2rem 0;
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.03), rgba(212, 175, 55, 0.05));
  border-top: 1px solid rgba(139, 69, 19, 0.1);
  margin-top: 2rem;
}

.google-reviews a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-color-2));
  color: var(--dark);
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(139, 69, 19, 0.1);
  transition: all var(--transition);
}

.google-reviews a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(139, 69, 19, 0.15);
}

.google-reviews i {
  font-size: 1.1rem;
}

@media(max-width: 768px) {
  .testimonials {
    padding: 3rem 0;
  }
  
  .testimonials h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  
  .testimonial {
    padding: 2rem;
  }
  
  .testimonial::before {
    font-size: 4rem;
    top: 1rem;
    left: 1.5rem;
  }

  .google-reviews {
    padding: 1.5rem 0;
  }
  
  .google-reviews a {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
    }
  }

/* Services Section */
.services {
  padding: 5rem 0;
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.02), rgba(212, 175, 55, 0.03));
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--accent-color), var(--accent-color-2));
  border-radius: 2px;
}

.section-subtitle {
  color: #666;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 1.5rem auto 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  padding: 1rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(139, 69, 19, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(139, 69, 19, 0.1);
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(139, 69, 19, 0.12);
  border-color: var(--accent-color);
}

.service-icon {
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.05), rgba(212, 175, 55, 0.1));
  padding: 2rem;
  text-align: center;
  border-bottom: 1px solid rgba(139, 69, 19, 0.1);
}

.service-icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.service-card:hover .service-icon img {
  transform: scale(1.1);
}

.service-content {
  padding: 2rem;
}

.service-content h3 {
  color: var(--primary-color);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.service-content h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.service-card:hover .service-content h3::after {
  width: 60px;
}

.service-content p {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: #555;
  font-size: 0.95rem;
}

.service-features i {
  color: var(--accent-color);
  font-size: 0.9rem;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button-group .btn-small {
  margin: 0;
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
  background: none;
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.button-group .btn-small:hover {
  background: var(--accent-color);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 69, 19, 0.1);
}

.button-group .btn-small:first-child {
  background: var(--accent-color);
  color: var(--dark);
}

.button-group .btn-small:first-child:hover {
  background: var(--accent-color-2);
}

@media (max-width: 768px) {
  .service-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }
  
  .service-content {
    padding: 1.5rem;
  }
}