
/* --- Added Icon Styling --- */
.footer-icon {
  color: #d4af37 !important;
  font-size: 1.4rem; /* Increased size */
  vertical-align: middle;
  margin-right: 8px;
  display: inline-block;
}


/* Prevent horizontal scroll on mobile */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}
/* --- Global & Base Styles --- */
body {
  font-family: 'Montserrat', sans-serif;
  scroll-behavior: smooth;
  padding-top: 55px;
  color: #222;
}


/* --- Navigation --- */
.navbar {
  background: #0b1f1d;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  padding: 6px 0;
  min-height: 0;
  display: flex;
  align-items: center;
}
.navbar-brand, .navbar-nav { display: flex; align-items: center; margin: 0; height: auto; }
.navbar-logo { height: 110px; object-fit: contain; }
.navbar-brand img { height: 80px; display: block; vertical-align: middle; padding-bottom: 2px; }

/* Hamburger icon customization for mobile */
.navbar-toggler {
  border: none;
  background: transparent;
  outline: none;
}
.navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cline x1='7' y1='7' x2='23' y2='23' stroke='white' stroke-width='2'/%3e%3cline x1='23' y1='7' x2='7' y2='23' stroke='white' stroke-width='2'/%3e%3c/svg%3e");
}

.nav-link {
  color: #d49537;
  font-weight: 600;
  margin-left: 15px;
  font-size: 1.08rem;
  padding: 12px 0;
  position: relative;
  transition: color 0.2s;
}
.nav-link:hover, .nav-link:focus { color: #d49537; }
.nav-link::after {
  content: '';
  display: block;
  width: 0;
  height: 3px;
  background: #d4af37;
  position: absolute;
  left: 0;
  bottom: 4px;
  transition: width 0.3s;
  border-radius: 2px;
}
.nav-link:hover::after, .nav-link:focus::after { width: 100%; }

/* --- Hero Section --- */
.hero-slide {
  min-height: 480px;
  max-height: 600px;
  height: 60vh;
  background-size: cover;
  background-position: top center;
  position: relative;
}
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(11,31,29,.9), rgba(0,0,0,.6));
}
.hero-text {
  position: relative;
  z-index: 2;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.hero-text > div {
  margin-top: 0;
  margin-bottom: 0;
}
.hero-text h1 { font-size: 3rem; font-weight: 800; }
.hero-text span { color: #d4af37; }

/* --- Scrolling Banner --- */
.scrolling-banner { overflow: hidden; padding: 0; }
.scrolling-inner {
  display: inline-flex;
  align-items: center;
  animation: scroll 20s linear infinite;
  white-space: nowrap;
  min-width: 100vw;
}
.banner-text {
  font-weight: bold;
  font-size: 1.18rem;
  color: #0b1f1d;
  padding: 0 32px;
  letter-spacing: 0.5px;
}
.banner-divider-group { display: inline-flex; align-items: center; margin: 0 8px; }
.banner-divider {
  display: inline-block;
  width: 2px;
  height: 28px;
  background: #a8892c;
  border-radius: 2px;
}

/* --- Section Headers --- */
.section-head { text-align: center; margin-bottom: 24px; }
.section-head h2 {
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 3px;
  text-decoration-color: #d4af37;
  background: linear-gradient(90deg, #1a2a28 0%, #233a37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
.section-head p { color: #000; }

/* --- About Section --- */
.about-img-wrapper {
  position: relative;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  margin-bottom: 24px;
}
.about-img-wrapper img {
  width: 100%;
  border: 3px solid #0b1f1d;
  box-shadow: 0 0 0 14px #fff;
  position: relative;
  z-index: 1;
}
.corner-lines { position: absolute; width: 110px; height: 110px; z-index: 2; pointer-events: none; }
.corner-tl-lines { top: -18px; left: -18px; }
.corner-br-lines { bottom: -18px; right: -18px; transform: rotate(180deg); }
.corner-lines span { position: absolute; background: #0b1f1d; border-radius: 2px; display: block; }

.line1 { top: 0; left: 0; width: 80px; height: 6px; background: #d4af37 !important; }
.line2 { top: 16px; left: 0; width: 62px; height: 6px; }
.line3 { top: 32px; left: 0; width: 44px; height: 6px; background: #d4af37 !important; }
.vline1 { top: 0; left: 0; width: 6px; height: 80px; }
.vline2 { top: 0; left: 16px; width: 6px; height: 62px; background: #d4af37 !important; }
.vline3 { top: 0; left: 32px; width: 6px; height: 44px; }

.about-content-box { 
  background: #fff; 
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.07);
  padding: 32px 28px;
} 
.about-list { list-style: none; padding: 0; margin-top: 18px; }
.about-list li { margin-bottom: 8px; font-weight: 500; color: #0b1f1d; display: flex; align-items: center; gap: 8px; }

/* --- Services & Why Choose Us --- */
#services { position: relative; z-index: 0; overflow: hidden; }
#services::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 120vw; height: 100%; min-height: 600px;
  background: radial-gradient(ellipse at center, #0b1f1d 0%, #222 30%, #fffbe6 100%);
  opacity: 0.92; z-index: -1;
}

.service-box, .why-card {
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

.service-box {
  background: #fff;
  padding: 22px 14px;
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
  transition: .4s;
  min-height: 260px;
  border: 2px solid #d4af37;
  max-width: 340px;
  margin: 0 auto;
}
.service-box:hover {
  transform: translateY(-15px);
  background: linear-gradient(135deg,#d4af37,#a8892c);
  color: #fff;
  border: 0 solid transparent;
}

.why { background: #f4f6f7; }
.why-card {
  background: linear-gradient(135deg, #fffdfa 0%, #f9eec2 60%, #fffdfa 100%);
  padding: 35px;
  box-shadow: 0 15px 35px rgba(0,0,0,.08);
  font-weight: 600;
  min-height: 260px;
  max-width: 340px;
  margin: 0 auto;
}

/* --- Portfolio --- */
.portfolio .col-md-4 div[style*="position:relative"] {
  border-radius: 25px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 0;
}
.portfolio img { width: 100%; border-radius: 25px; height: auto; z-index: 1; position: relative; }
.animated-border {
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: 25px;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.3s;
}
.animated-border::before {
  content: ""; position: absolute; inset: -1px; border-radius: 25px; padding: 3px;
  background: linear-gradient(90deg, #d4af37, #fff6d6, #d4af37, #fff6d6, #d4af37);
  background-size: 300% 300%; animation: borderMove 2s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.portfolio .col-md-4:hover div[style*="position:relative"] { transform: translateY(-12px) scale(1.06); }
.portfolio .col-md-4:hover .animated-border { opacity: 1; }
.portfolio-heading {
  display: block;
  padding: 6px 16px;
  margin: 18px 0 12px;
  font-weight: 900;
  font-size: 1.18rem;
  background: linear-gradient(90deg, #2d2d2d 0%, #555 100%);
  color: #d4af37;
  border-radius: 12px;
  letter-spacing: 0.5px;
}

/* --- Contact Section --- */
.contact { background: linear-gradient(135deg, #0b1f1d, #133b37); color: #fff; font-size: 1.05rem; }
.contact h2 {
  font-weight: 700; margin-bottom: 25px;
  background: linear-gradient(90deg, #d4af37, #fff6d6);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  font-size: 2rem;
}
.contact .form-control {
  border-radius: 12px; background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1); color: #fff; padding: 14px 18px;
}
.contact .form-control:focus {
  background: rgba(255, 255, 255, 0.1); border-color: #d4af37;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2); outline: none;
}
/* Contact form placeholder color for all browsers */
.contact .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
opacity: 1;
}
.contact .form-control::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.contact .form-control::-moz-placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.contact .form-control:-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.contact .form-control::-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.contact .btn-warning {
  background: linear-gradient(45deg, #d4af37, #f4d03f);
  border: none; border-radius: 12px; font-weight: 600; padding: 12px 30px;
  text-transform: uppercase; letter-spacing: 1px; transition: all 0.4s ease;
}
.contact .btn-warning:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4); }

/* --- Footer --- */
.site-footer { background: #0b0b0b; color: #d4af37; }
.footer-logo { height: 90px; }
.footer-brand-desc { font-size: 14px; color: #f5d77a; line-height: 1.7; max-width: 320px; }
.footer-links-title, .footer-contact-title { font-weight: 600; margin-bottom: 16px; color: #d4af37; }
.footer-links-box { display: flex; justify-content: center; gap: 48px; }
.footer-links-col { display: flex; flex-direction: column; gap: 8px; }
.footer-link, .footer-contact-link { color: #f5d77a; text-decoration: none; font-size: 14px; }
.footer-contact-box { font-size: 14px; color: #f5d77a; line-height: 1.3; }

/* Reduce spacing between contact lines in footer */
.footer-contact-box > div {
  margin-bottom: 2px;
  margin-top: 0;
}
.footer-contact-address { max-width: 300px; margin-left: auto; }
.footer-bottom-row {
  margin-top: 32px; border-top: 1px solid rgba(212,175,55,0.4);
  padding-top: 16px; font-size: 13px; color: #f5d77a;
}
.footer-designed strong { color: #d4af37; }
.golden-divider { height: 1px; background: linear-gradient(90deg, transparent, #d4af37, transparent); }

/* --- Carousel Controls (Common) --- */
.custom-arrow {
  background: none;
  border: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-control-prev.custom-arrow {
  left: -60px;
}
.carousel-control-next.custom-arrow {
  right: -60px;
}
.carousel-control-prev-icon, .carousel-control-next-icon {
  background-color: #0b1f1d;
  width: 32px;
  height: 32px;
}

/* --- Responsive Layouts --- */
@media (max-width: 1199px) {
  .hero-text h1 { font-size: 2.6rem; }
  .hero-slide { min-height: 340px; height: 40vh; }
  .hero-text { height: 100%; }
}

@media (max-width: 991px) {
  body { padding-top: 70px; }
  .navbar-logo, .footer-logo { height: 60px; }
  .navbar-collapse { background: #0b1f1d; padding: 10px 0; }
  .hero-text h1 { font-size: 2.2rem; }
  #services::before { min-height: 800px; width: 180vw; }
  .custom-arrow.carousel-control-prev { left: -18px !important; }
  .custom-arrow.carousel-control-next { right: -18px !important; }
  .navbar-toggler {
    position: relative;
    z-index: 1051;
  }
  .navbar-toggler .navbar-toggler-icon {
    width: 2rem;
    height: 2rem;
    background-size: 2rem 2rem;
  }
}

@media (max-width: 767px) {
  html, body {
    max-width: 100vw;
    overflow-x: hidden;
  }
  .container, .container-fluid {
    padding-left: 8px !important;
    padding-right: 8px !important;
    width: 100vw !important;
    max-width: 100vw !important;
    box-sizing: border-box;
  }
  .hero-slide { min-height: 60vh; height: auto; }
  .hero-text {
    display: block;
    height: auto;
  }
  .hero-text > div { margin-top: 60px; }
  .hero-text h1 { font-size: 1.3rem; }
  .hero-text p { font-size: 0.98rem; }
  .section-head h2 { font-size: 1.2rem; }
  .about-img-wrapper img { box-shadow: 0 0 0 6px #fff; }
  .about-content-box { padding: 18px 10px; font-size: 0.97rem; }
  .service-box, .why-card { min-height: 180px; max-width: 100%; padding: 12px 4px; }
  #services::before { min-height: 900px; width: 250vw; }
  .portfolio img { border-radius: 12px; margin-bottom: 10px; }
  .contact .row { flex-direction: column-reverse; }
  .contact h2 { text-align: center; font-size: 1.3rem; }
  .footer-top-row {
    display: flex ;
    flex-direction: column ;
    align-items: center ;
    gap: 18px ;
    text-align: center ;
    width: 100% ;
  }
  .footer-bottom-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    text-align: center !important;
    width: 100% !important;
    margin-top: 18px !important;
    padding-top: 10px !important;
  }
  .footer-brand-box, .footer-links-box, .footer-contact-box {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 0 auto !important;
    text-align: center !important;
  }
  .footer-links-box {
    flex-direction: column !important;
    gap: 8px !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .footer-links-col {
    flex-direction: row !important;
    gap: 16px !important;
    justify-content: center !important;
    width: 100% !important;
  }
  .footer-link, .footer-contact-link {
    display: inline-block !important;
    margin-bottom: 2px !important;
  }
  .footer-links-box { flex-direction: column; gap: 12px; align-items: center; }
  .footer-links-col { flex-direction: row; gap: 16px; }
  .navbar-toggler {
    position: relative;
    z-index: 1051;
  }
  .navbar-toggler .navbar-toggler-icon {
    width: 2rem;
    height: 2rem;
    background-size: 2rem 2rem;
  }
}

@media (max-width: 575px) {
  .hero-slide { min-height: 40vh; height: auto; }
  .navbar-logo, .footer-logo { height: 38px; }
  .hero-text h1 { font-size: 1.5rem; }
  .banner-text { font-size: 1rem; padding: 0 16px; }
  .banner-divider { height: 18px; }
}

/* --- Animations --- */
@keyframes scroll { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }
@keyframes borderMove { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }

/* --- Utility Helpers --- */
.ml-3 { margin-left: 3px; }
.contact-extra-padding { padding-bottom: 120px !important; }
.form-success-msg { display: none; margin-top: 12px; color: #28a745;
   text-align: center; }




   

   /* --- Comprehensive Responsive Fixes --- */

/* 1. Large Tablets / Small Laptops */
@media (max-width: 1199px) {
    .hero-text h1 { font-size: 2.6rem; }
    .hero-slide { min-height: 400px; height: 50vh; }
}

/* 2. Tablets (IPads) */
@media (max-width: 991px) {
    body { padding-top: 60px; }
    .navbar-logo { height: 50px; }
    .footer-logo { height: 60px; }
    .navbar-collapse { 
        background: #0b1f1d; 
        padding: 20px; 
        text-align: center;
        border-top: 1px solid #d4af37;
    }
    .nav-link { margin-left: 0; }
    .hero-text h1 { font-size: 2.2rem; }
    .custom-arrow { display: none; } /* Hide arrows on touch screens to prevent overlap */
    #services::before { min-height: 800px; width: 200vw; }
}

/* 3. Mobile Phones (The main fix) */
@media (max-width: 767px) {
    html, body {
        overflow-x: hidden; 
        position: relative;
    }
    
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Hero Fixes */
    .hero-slide { min-height: 50vh; height: auto; }
    .hero-text h1 { font-size: 1.8rem; line-height: 1.3; }
    .hero-text p { font-size: 0.9rem; }

    /* About Section Fixes */
    .about-img-wrapper { margin-bottom: 40px; }
    .corner-lines { width: 60px; height: 60px; } /* Smaller corners on mobile */
    .line1, .vline1 { width: 40px; height: 4px; }
    .vline1, .vline2, .vline3 { width: 4px; height: 40px; }

    /* Service/Why Card Alignment */
    .service-box, .why-card { 
        margin-bottom: 20px; 
        max-width: 100%; 
    }

    /* Contact Section */
    .contact .row { flex-direction: column-reverse; }
    .contact-img { margin-top: 30px; }
    .contact h2 { text-align: center; font-size: 1.5rem; }

    /* FOOTER CENTER ALIGNMENT FIX */
    .site-footer {
        text-align: center !important;
    }
    .footer-top-row {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    .footer-brand-box {
        margin: 0 auto 20px auto !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-brand-desc {
        margin: 10px auto !important;
    }
    .footer-links-box {
        flex-direction: column !important;
        gap: 10px !important;
        align-items: center !important;
        margin-bottom: 20px;
    }
    .footer-links-col {
        flex-direction: row !important;
        justify-content: center !important;
        width: 100% !important;
        gap: 20px !important;
    }
    .footer-contact-box {
        text-align: center !important;
        margin: 0 auto !important;
    }
    .footer-contact-address {
        margin: 5px auto !important;
        max-width: 100%;
    }
    .footer-bottom-row {
        flex-direction: column !important;
        text-align: center !important;
        gap: 15px;
        border-top: 1px solid rgba(212,175,55,0.2);
    }
}

/* 4. Extra Small Phones */
@media (max-width: 480px) {
    .hero-text h1 { font-size: 1.5rem; }
    .navbar-logo { height: 40px; }
    .section-head h2 { font-size: 1.4rem; }
    .banner-text { font-size: 0.9rem; padding: 0 10px; }
}

/* --- Animations --- */
@keyframes scroll { 
    0% { transform: translateX(0); } 
    100% { transform: translateX(-100%); } 
}
@keyframes borderMove { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }

/* --- Utility Helpers --- */
.ml-3 { margin-left: 3px; }
.contact-extra-padding { padding-bottom: 80px !important; }




@media (max-width: 767px) {
  /* Hide the decorative corner lines on mobile to prevent cropping */
  .corner-lines {
    display: none !important;
  }
  
  /* Remove extra spacing that was reserved for the corners */
  .about-img-wrapper {
    margin: 0 0 20px 0 !important;
  }
  
 
}


@media (max-width: 767px) {
  /* Completely hide the animated border on mobile */
  .animated-border {
    display: none !important;
  }

  /* Keep only the zoom effect on the portfolio card */
  .portfolio .col-md-4:hover div[style*="position:relative"] {
    transform: scale(1.03) !important; /* Subtle zoom */
  }
  
  /* Ensure the image stays rounded and clean */
  .portfolio img {
    border: 1px solid #eee;
  }
}


