/* General Reset */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f9f9f9;
  margin: 0;
  padding: 0;
}

/* Navbar Styling */
.navbar {
  transition: all 0.3s ease-in-out;
}

.navbar .nav-link {
  font-weight: 500;
  color: #333;
  transition: color 0.3s ease;
}

.nav-item:hover {
  background-color: transparent; 
  padding: 0; 
  border-radius: 0; 
}

.nav-link {
  font-weight: 500;
  color: #333;
  transition: all 0.3s ease;
  position: relative; 
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0%;
  height: 2px;
  background: #071731; /* Green underline */
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%; 
}

.nav-link:hover {
  color: #071731; 
}

.contact-us {
    text-decoration: none;
    background:#071731;
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 500;
    transition: 0.3s;
}

.contact-us:hover {
    background:linear-gradient(135deg, #1184c7, #153168);
    color: #fff;
}

.phone-icon {
  margin-right: 3px;    
  color:white;
  animation: ring 1s infinite ease-in-out; /* Apply animation */
}
/* Keyframes for ringing effect */
@keyframes ring {
  0% { transform: rotate(0deg); }
  10% { transform: rotate(15deg); }
  20% { transform: rotate(-15deg); }
  30% { transform: rotate(10deg); }
  40% { transform: rotate(-10deg); }
  50% { transform: rotate(5deg); }
  60% { transform: rotate(-5deg); }
  70%, 100% { transform: rotate(0deg); }
}
/*nav-ends*/
/* Banner Slide Default (Desktop) */
/* Desktop defaults */
.banner-slide {
  height: 600px;
  min-height: 600px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Desktop images */
.slide1 { background-image: url('../images/slide1.jpg'); }
.slide2 { background-image: url('../images/slide2.jpg'); }
.slide3 { background-image: url('../images/slide3.jpg'); }

/* Controls (same as before) */
.carousel-control-prev i,
.carousel-control-next i {
  background: rgba(7, 23, 49, 0.8);
  border-radius: 50%;
  width: 50px; height: 50px; font-size: 20px; color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s, transform 0.3s;
}
.carousel-control-prev i:hover,
.carousel-control-next i:hover { 
  background: linear-gradient(135deg,#1184c7,#153168);
   transform: scale(1.1); 
  }
.carousel-control-prev { left: 20px; width: auto; }
.carousel-control-next { right: 20px; width: auto; }

/* Mobile overrides */
@media (max-width: 768px) {
  .banner-slide { height: 400px; min-height: 320px; } /* consistent */
  .slide1 { background-image: url('../images/mobile-banner-1.jpg'); }
  .slide2 { background-image: url('../images/mobile-banner-2.jpg'); }
  .slide3 { background-image: url('../images/mobile-banner-3.jpg'); }
}


/* Attractive Glassmorphism Style Form */
.banner-form {
    max-width: 350px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.80); /* Transparent white */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Inputs Styling */
.banner-form .form-control {
    border-radius: 12px;
    border: 1px solid #ccc;
    padding: 12px;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
}

.banner-form .form-control:focus {
    border-color: #071731;
    box-shadow: 0 0 8px rgba(7, 23, 49, 0.5);
}

/* Button Styling */
.button-color {
    background-color: #071731;
    color: #fff;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: none;
}

.button-color:hover {
    background:linear-gradient(135deg, #1184c7, #153168);
    transform: translateY(-2px);
    box-shadow: 0px 4px 15px rgba(7, 23, 49, 0.4);
}

/* Heading Styling */
.banner-form h5 {
    font-size: 20px;
    letter-spacing: 1px;
}


/*bANNER-end*/



/* About Section */
.about-content {
  background: linear-gradient(135deg, #eeeff0 0%, #eef4f9 100%);
}

/* Headings & Text */
.about-content h2 {
  font-weight: 300;
  color: #071731;
}
.about-content p {
  line-height: 1.6;
}

/* List Styling */
.second-list li {
  margin-bottom: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}
.second-list li:hover {
  color: #1184c7;
}

/* Carousel Styling */
.carousel-item img {
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease-in-out;
}
.carousel-item img:hover {
  transform: scale(1.05);
}

/* Custom Nav Buttons */
.custom-nav {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 10;
}
.custom-btn {
  background: rgba(7, 23, 49, 0.8);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.custom-btn:hover {
  background:linear-gradient(135deg, #1184c7, #153168);
  transform: scale(1.1);
}
.custom-btn i {
  color: #fff;
  font-size: 20px;
}

/*about-section-end*/


/*projects-section-css*/
/* Heading */
h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* View All Button */
.project-section a{
  text-decoration: none;
}
.btn-view-all {
background: linear-gradient(135deg, #051329, #0e2444);

  color: #fff;
  font-weight: 500;
  border: none;
  transition: all 0.3s ease-in-out;
}
.btn-view-all:hover {
  background: linear-gradient(135deg, #1184c7, #153168);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}


.project-card {
  position: relative;
  background: linear-gradient(180deg, #f1efef, #e4ecf1);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Overlay card  */
.project-card::before {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
background-color:rgba(17, 132, 199, 0.7) ;/* 50% transparent */


  z-index: 1; /* Overlay niche image ke */
  transition: top 0.4s ease;
}

/* Hover  overlay */
.project-card:hover::before {
  top: 0;
}

/* Image  */
.project-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
 
  position: relative;
  z-index: 2;
}

/* Content  */
.project-content-first, 
.read-more {
  position: relative;
  z-index: 3;
}

.read-more {
  display: inline-block;
  background: #fff;
  color: #000;
  padding: 6px 14px;
  font-weight: bold;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 15px;
}
/* Price styling */
.price-text {
  color: #0077cc;
  font-size: 1.2rem;
}

/* Contact icons rounded buttons */
.contact-btn {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  
  background: #f1f1f1;
  color: #000;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

/* Phone and Email Hover Effect (Blue) */
.contact-btn.phone:hover,
.contact-btn.email:hover {
  background: #0077cc;
  color: #fff;
  transform: scale(1.1);
}

/* WhatsApp icon color */
.contact-btn.whatsapp {
 background: #25D366;
  color: #fff;
}
.contact-btn.whatsapp:hover {
  background: #25D366;
  color: #fff;
  transform: scale(1.1);
}

/*
.multi-truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
    */
/* Section Heading */
.contact-heading {
  color: #071731;
  font-size: 32px;
  letter-spacing: 1px;
}

/* Map Styling */
.map-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 ratio */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  background: #f9f9f9;
}

.map-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 20px;
}

/* Contact Form Card */
.contact-card {
  background: linear-gradient(145deg, #ffffff, #f9f9f9);
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Input Fields */
.contact-input {
  border-radius: 12px;
  border: 1px solid #ccc;
  padding: 14px;
  font-size: 16px;
  transition: all 0.3s ease-in-out;
  background: #fff;
}

.contact-input:focus {
  border-color: #0b254d;
  box-shadow: 0 0 8px rgba(11, 37, 77, 0.3);
}

/* Submit Button */
.contact-btn {
  background: linear-gradient(135deg, #071731, #0b254d);
  color: #fff;
  font-weight: 600;
  padding: 14px;
  border-radius: 12px;
  border: none;
  transition: all 0.3s ease;
  font-size: 18px;
  letter-spacing: 0.5px;
}

.contact-btn:hover {
  background: linear-gradient(135deg, #1184c7, #153168);
  box-shadow: 0 5px 15px rgba(7, 23, 49, 0.4);
  transform: translateY(-2px);
}




/* Footer Section */
.footer-section {
  background:#071731;
  padding: 40px 0 20px;
  color: white;
  font-size: 14px;
}

.footer-section h5 {
  color: #000;
  font-style:bold;
  font-weight: 600;
  margin-bottom: 15px;
}

.footer-section a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color:#1184c7;
}

.footer-line {
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  margin: 20px auto;
  width: 90%;
}

.footer-contact li {
  margin-bottom: 8px;
}

/* Social Icons */
.social-icons a {
  font-size: 18px;
  color: #fff;
  transition: transform 0.3s ease, color 0.3s ease;
}
.social-icons a:hover {
  color: #1184c7;
  transform: scale(1.2);
}



.testimonial-section {
  background: linear-gradient(135deg, #f0f4ff, #ffffff);
}

.testimonial-card {
  background: #fff;
  transition: all 0.3s ease;
  border: 1px solid #eee;
}

.testimonial-card img {
  width: 80px;
  height: 80px;
  border: 3px solid #1184c7;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
  font-size: 0.95rem;
  color: #555;
}



/*project-detail-page for eldeco*/



/* Popup Form Style */
.popup-form {
  max-width: 350px;
  margin: auto; /* Center horizontally */
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.80);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Inputs */
.popup-form .form-control {
  border-radius: 12px;
  border: 1px solid #ccc;
  padding: 12px;
  font-size: 16px;
  transition: all 0.3s ease-in-out;
}

.popup-form .form-control:focus {
  border-color: #071731;
  box-shadow: 0 0 8px rgba(7, 23, 49, 0.5);
}

/* Button */
.button-color {
  background-color: #071731;
  color: #fff;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: none;
}

.button-color:hover {
  background: linear-gradient(135deg, #1184c7, #153168);
  transform: translateY(-2px);
  box-shadow: 0px 4px 15px rgba(7, 23, 49, 0.4);
}

/* Heading */
.popup-form h5 {
  font-size: 20px;
  letter-spacing: 1px;
}
