/* Navigation Bar */
.custom-navbar { background-color: #262626; padding: 1.2rem 1rem; }
  .nav-middle { background-color: #000; padding: 0.8rem 1rem; border-radius: 2rem;}
  .nav-link {color: white !important; padding: 0.5rem 0.75rem; transition: all 0.3s; }
  .nav-link:hover { color: #cccccc !important; text-decoration: underline; }
  .btn-contact { background-color: #000; color: white; border: none; padding: 0.8rem 1.2rem; border-radius: 2rem; }
  .btn-contact:hover { background-color: #333; }
  .navbar-brand { color: white !important; font-weight: bold;}
  .navbar img{ width: 200px; }

  @media (max-width: 991.98px) {.nav-middle, .right-section { flex-direction: column !important; align-items: flex-start !important; gap: 0.75rem; margin-top: 1rem; }
  .navbar-collapse > .row > div { margin-bottom: 1rem;}}

/*Services Banner */
  .services-banner-section { background-image: url('banner-bg.jpg'); background-size: cover; background-position: center; height: 60vh; position: relative; display: flex; align-items: center; justify-content: center; color: #fff; text-align: center; }
  .services-banner-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); display: flex; align-items: center; justify-content: center; }
  .services-banner-heading { font-size: 3rem; font-weight: bold; z-index: 1; margin: 0; }
  @media (max-width: 768px) { .services-banner-heading { font-size: 2rem; } }




  /* Contact us form */ 
.parallax-form-section { background: url('scroll-bg.jpg') no-repeat center center fixed; background-size: cover; padding: 6rem 1rem; }
.form-overlay { background-color: rgba(255, 255, 255, 0.9); padding: 4rem 2rem; border-radius: 10px; max-width: 800px; margin: 0 auto; }
.form-container { text-align: center; }
.form-heading { font-size: 2.8rem; margin-bottom: 2rem; color: #262626; }
.line-style-form { display: flex; flex-direction: column; gap: 2rem; }
.input-line input, .input-line textarea {
  width: 100%; background: none; border: none; border-bottom: 2px solid #262626; padding: 0.8rem 0;
  font-size: 1rem; color: #262626; outline: none;
}
.input-line textarea { resize: vertical; min-height: 120px; }
.privacy-policy { font-size: 0.9rem; text-align: left; margin-top: 1rem; color: #333; }
.line-style-form button {
  margin-top: 2rem; padding: 1.2rem; background-color: #262626; color: #fff;
  font-size: 1.2rem; border: none; border-radius: 5px; cursor: pointer; transition: background 0.3s;
}
.line-style-form button:hover { background-color: #444; }

@media (max-width: 768px) {
  .form-heading { font-size: 2rem; }
  .form-overlay { padding: 2rem 1.5rem; }
}


/* Portfolio */
/* Section style */
/* Section styles */
#dynamic-gallery-section {
    background-color: #262626;
    color: white;
    padding: 20px;
    height: 200vh;
    position: relative;
    overflow: hidden;
    font-family: Arial, sans-serif;
  }
  
  #dynamic-gallery-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
    font-size: 4rem;
  }
  
  /* Container */
  .gallery-container {
    position: relative;
    width: 100%;
    height: calc(200vh - 80px);
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
  }
  
  /* Each image wrapper */
  .gallery-image {
    position: absolute;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: top 1.2s ease, left 1.2s ease, width 1.2s ease, height 1.2s ease;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
  }
  
  /* Images */
  .gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
  }
  
  /* Zoom on hover */
  .gallery-image:hover img {
    transform: scale(1.1);
  }
  
  /* Plus button */
  .zoom-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.85);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 22px;
    color: #262626;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    user-select: none;
    z-index: 10;
  }
  
  .gallery-image:hover .zoom-btn {
    opacity: 1;
  }
  
  /* Modal styles */
  #gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  #gallery-modal.hidden {
    display: none;
  }
  
  .modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    top: 0;
    left: 0;
    cursor: pointer;
    z-index: 1000;
  }
  
  /* Modal content */
  .modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    background: #222;
    padding: 15px;
    border-radius: 8px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    box-sizing: border-box;
  }
  
  /* Close button */
  #modal-close-btn {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 32px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    user-select: none;
    z-index: 1002;
  }
  
  /* Main zoomed image */
  #modal-main-image {
    max-height: 65vh;
    max-width: 100%;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 15px;
  }
  
  /* Thumbnail container */
  .thumbnail-container {
    display: flex;
    overflow-x: auto;
    width: 100%;
    gap: 12px;
    padding-bottom: 6px;
  }
  
  .thumbnail-container::-webkit-scrollbar {
    height: 8px;
  }
  
  .thumbnail-container::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 4px;
  }
  
  /* Thumbnail images */
  .thumbnail-container img {
    height: 80px;
    cursor: pointer;
    border-radius: 6px;
    object-fit: cover;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
    flex-shrink: 0;
  }
  
  .thumbnail-container img.active {
    border-color: #fff;
  }

  @media (max-width: 768px) {
    #dynamic-gallery-section {
      padding: 15px;
      height: auto;
    }
  
    #dynamic-gallery-section h2 {
      font-size: 2.5rem;
      margin-bottom: 20px;
    }
  
   .gallery-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* ✅ Center horizontally */
  align-items: flex-start;
  gap: 15px;
  padding-bottom: 20px;
}
  
    .gallery-image {
  position: static !important;
  width: 80%;
  aspect-ratio: 1 / 1;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  display: flex;
  align-items: center !important;
  justify-content: center !important;
}
.gallery-image img {
  width: auto;
  height: 100%;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain !important;
  transform: none !important;
    align-items: center !important;
  justify-content: center !important;
}
  
    .zoom-btn {
      bottom: 8px;
      right: 8px;
      width: 28px;
      height: 28px;
      font-size: 18px;
    }
  
    #gallery-modal {
      flex-direction: column;
      justify-content: flex-start;
      padding-top: 20px;
    }
  
    .modal-content {
      width: 95vw;
      height: auto;
      max-height: 90vh;
    }
  
    #modal-main-image {
      max-height: 50vh;
      width: 100%;
      object-fit: contain;
    }
  
    .thumbnail-container img {
      height: 60px;
    }
  
    #modal-close-btn {
      top: 6px;
      right: 10px;
      font-size: 26px;
    }
  }

   /* Section Base */
   .projects-section {
    background-color: #262626;
    color: white;
  }
  
  .section-title {
    font-family: 'Outfit', sans-serif;
    color: white;
    font-size: 5rem;
    font-weight: 700;
  }
  
  .project-box {
    height: 70vh;
    overflow: hidden;
    position: relative;
  }
  
  .project-image-wrapper {
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
  }
  
  .project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
  }
  
  .project-box:hover .project-img {
    transform: scale(1.1);
  }
  
  .project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .project-meta {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 18px;
    color: white;
  }
  
  .project-heading {
    font-size: 24px;
    font-weight: 700;
    transition: transform 0.3s ease;
    color: white;
  }
  
  .project-box:hover .project-heading {
    transform: scale(1.05);
  }
  
  @media (max-width: 767.98px) {
    .project-heading {
      font-size: 20px;
    }
  
    .project-meta {
      font-size: 16px;
    }
  
    .project-box {
      height: 50vh;
    }
  }

  /* Map Section */ 

.map-section { background-color: #262626; padding: 5rem 1rem;}
.map-heading {  font-size: 3rem; margin-bottom: 2rem;}
.map-wrapper {  max-width: 1000px; margin: 0 auto; padding: 0 1rem;}
@media (max-width: 768px) {
  .map-heading {    font-size: 2rem; }
  .map-section {    padding: 3rem 1rem;}}

/* Footer */ 
.footer-section { background-color: #262626; padding: 4rem 2rem 3rem;  color: #fff; font-size: 1.1rem; border-top: 1px solid #ffffff33;}
.footer-divider {  border-top: 1px solid #ffffff33; margin-bottom: 2rem;}
.footer-heading {  font-size: 1.8rem;  margin-bottom: 1rem; font-weight: 600;}
.footer-line {  border: none; border-bottom: 2px solid #fff; width: 60px; margin-bottom: 1rem;}
.footer-line-full { width: 100%; max-width: 300px;}
.footer-links li { margin-bottom: 0.75rem; font-size: 1.1rem;}
.footer-link {  color: #fff; text-decoration: none; transition: all 0.3s ease;  display: inline-block;  position: relative;}
.footer-link:hover {  color: #aaa;}
.footer-link::after { content: ''; display: block; width: 0;  height: 2px; background: #fff; transition: width 0.3s; position: absolute; bottom: -4px; left: 0;}
.footer-link:hover::after {width: 100%;}
.footer-icon {  margin-right: 0.5rem; color: #fff;}
.footer-description {  font-size: 1.05rem; color: #ccc; max-width: 320px;}
.footer-contact .contact-label { font-weight: bold; margin-top: 1.2rem;  font-size: 1.15rem;}
.footer-contact .contact-link { color: #fff; text-decoration: none;  transition: color 0.3s ease;}
.footer-contact .contact-link:hover {  color: #aaa;}
.footer-contact .contact-address { color: #aaa;  font-size: 1rem; max-width: 320px;}

@media (max-width: 768px) {
  .footer-section {  text-align: center;  padding-left: 1rem;  padding-right: 1rem; }
  .footer-links li,
  .footer-contact p {    font-size: 1rem;}
  .footer-line-full {    max-width: 100%;}}