.navbar {
    background: linear-gradient(90deg, #ffffff, #fff5f5); 
    border-bottom: 5px solid #edd7d7; 
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    border-radius: 0 0 8px 8px; 
    
}
/* Header shadow */
.header-with-topbar {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 999;
}

/* Nav links styling */
.navbar-nav > li > a.nav-link {
    font-size: 18px;
    font-weight: 500;
    color: #111;
    padding: 10px 18px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
    position: relative;
}

.navbar-nav > li > a.nav-link:hover {
    color: #f06292;
    text-shadow: 0 1px 2px rgba(240, 98, 146, 0.3);
}
.navbar-nav > li > a.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 60%;
    height: 2px;
    background-color: #f06292;
    border-radius: 50px;
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

.navbar-nav > li > a.nav-link:hover::after {
    transform: scaleX(1);
}
.nav-item.dropdown > a.nav-link::after {
    content: ' \25BE'; /* Unicode ▼ */
    font-size: 10px;
    margin-left: 6px;
    vertical-align: middle;
    color: #aaa;
}
/* Fancy dropdown */
.dropdown-menu.submenu-content {
    padding: 25px 30px 25px 32px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
    margin-top: 10px;
    min-width: 800px;
    border-bottom: 3px solid #ffe2e2; /* bottom border like title */
}

/* Columns */
.dropdown-menu .col {
    padding: 0 15px;
    border-right: 1px solid #f0f0f0;
}

.dropdown-menu .col:last-child {
    border-right: none;
}

/* Sub-title style with background and icon */

.sub-title {
    font-weight: 600;
    color: #f06292;
    background: #fff6f6;
    padding: 6px 12px 6px 20px; /* 20px left padding added */
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    border-left: 3px solid #f06292;
    font-size: 16px;
}


/* Links */
.dropdown-menu ul li a {
    color: #333;
    font-size: 15px;
    padding: 3px 0;
    display: inline-block;
    transition: all 0.2s ease;
}

.dropdown-menu ul li a:hover {
    color: #f06292;
    transform: translateX(3px);
}

/* Optional: icons inside dropdown headers */
.sub-title i {
    color: #f06292;
    font-size: 15px;
}

/* Links inside dropdown */
.dropdown-menu ul li a {
    color: #333;
    font-size: 15px;
    padding: 3px 0;
    display: inline-block;
    transition: all 0.2s ease;
}

.dropdown-menu ul li a:hover {
    color: #f06292;
    transform: translateX(3px);
}
.navbar .navbar-nav .dropdown .dropdown-menu{
    padding: 0px 0px 0px 15px!important;
}
header .navbar-brand{
    padding: 20px 0!important;
}
.custom-icon {
    color: #ff9478;
    transition: transform 0.3s ease, color 0.3s ease;
}

.custom-icon:hover {
    transform: scale(1.2);
    color: #f06292; /* slightly deeper tone */
}
        


    body {
      margin: 0;
      font-family: 'Inter', sans-serif;
    }
  
    .hero {
      height: 75vh;
      color: white;
      display: flex;
      flex-direction: column;
      justify-content: center;
      text-align: center;
      position: relative;
      align-items: center;
      gap: 12px;
      width: 100%;
      overflow: hidden;
    }
  
    /* Animate background images */
    /* .hero::before {
      content: "";
      position: absolute;
      top: 0; left: 0;
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      animation: bannerCycle 30s infinite ease-in-out;
      z-index: -1;
      opacity: 0.9;
    }
  
    @keyframes bannerCycle {
      0%   { background-image: url('./../images/banner/banner-marble.jpg'); }
      33%  { background-image: url('./../images/banner/banner-granite.jpg'); }
      66%  { background-image: url('./../images/banner/banner-tiles.jpg'); }
      100% { background-image: url('./../images/banner/banner-marble.jpg'); }
    } */

    .hero {
  position: relative;
  width: 100%;
  height: 75vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: -1;
}

.hero-bg.active {
  opacity: 0.9;
}

  
    .hero h1 {
      font-size: 3.2rem;
      font-weight: 800;
      text-shadow: 0px 2px 6px rgba(0, 0, 0, 0.25);
      margin-bottom: 8px;
    }
  
    .hero h1 span {
      color: #511100;
    }
  
    .hero p {
      font-size: 1.4rem;
      text-shadow: 0px 1px 4px rgba(0, 0, 0, 0.2);
    }
  
    .typing-animation {
      font-size: 2.6rem;
      font-weight: 700;
      white-space: nowrap;
      overflow: hidden;
      border-right: 3px solid #f06292;
      width: fit-content;
      margin: 0 auto;
      text-align: center;
      animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
      color: #fff;
    }
  
    @keyframes typing {
      from { width: 0 }
      to { width: 100% }
    }
  
    @keyframes blink-caret {
      from, to { border-color: transparent }
      50% { border-color: #f06292 }
    }
  
    .search-container {
      position: absolute;
      bottom: 18%;
      left: 50%;
      transform: translateX(-50%);
      width: 90%;
      max-width: 850px;
    }
  
    .search-bar {
      background: rgba(255, 255, 255, 0.95);
      border-radius: 50px;
      box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
      padding: 12px 20px;
      display: flex;
      gap: 16px;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
    }
  
    .search-bar select,
    .search-bar input {
      border: none;
      padding: 12px 16px;
      border-radius: 40px;
      font-size: 15px;
      background: #f3f3f3;
      flex: 1 1 200px;
      min-width: 180px;
      transition: 0.3s ease;
    }
  
    .search-bar input:focus,
    .search-bar select:focus {
      outline: none;
      background: #fff8f8;
      box-shadow: 0 0 0 2px #f06292;
    }
  
    .search-bar select {
      appearance: none;
      background: linear-gradient(to right, #ffffff, #f6f6f6);
      box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06), 0 2px 5px rgba(0,0,0,0.05);
      border: 1px solid #ddd;
      color: #333;
      width: 170px;
      background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon fill='%23666' points='70,100 20,40 120,40'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 1rem center;
      background-size: 12px;
    }
  
    .search-bar button {
      background: #ff9478;
      border: none;
      border-radius: 50%;
      width: 50px;
      height: 50px;
      color: #fff;
      cursor: pointer;
      font-size: 18px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: 0.3s ease;
    }
  
    .search-bar button:hover {
      background: #f06292;
    }
  
    .search-bar select:hover {
      box-shadow: 0 0 0 2px #ffe3e9;
    }
  
    .search-bar input {
      background: linear-gradient(to right, #ffffff, #f6f6f6);
      box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06), 0 2px 5px rgba(0,0,0,0.05);
      border: 1px solid #ddd;
      color: #333;
      width: 170px;
    }
  
    @media screen and (max-width: 768px) {
      .search-bar {
        flex-direction: column;
        align-items: stretch;
        border-radius: 24px;
      }
  
      .search-bar button {
        align-self: center;
        border-radius: 12px;
      }
  
      .typing-animation {
        font-size: 1.8rem;
      }
  
      .hero h1 {
        font-size: 2rem;
      }
  
      .hero p {
        font-size: 1rem;
      }
    }
  


    /* Dealer Card Image Styling */
.popular-dealers .card img {
  height: 160px;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border: 1px solid #f1f1f1;
}

/* Dealer Title Styling */
.popular-dealers .card-title {
  font-size: 1rem;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  color: #111;
}

/* Dealer View Button - Fancy Gradient Style Based on Logo Color */
.popular-dealers .btn-outline-primary {
  border: none;
  background: linear-gradient(135deg, #ff9478, #f06292);
  color: #fff !important;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(255, 148, 120, 0.3);
}

.popular-dealers .btn-outline-primary:hover {
  background: linear-gradient(135deg, #f06292, #ff9478);
  transform: scale(1.05);
  color: #fff;
}

/* Optional: Reduce vertical spacing between title and details */
.popular-dealers .card-body p {
  font-size: 0.875rem;
  margin-bottom: 6px;
}

/* Dealer Card Styling */
.dealer-card {
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-in-out;
  overflow: hidden;
  position: relative;
  border-radius: 12px;
}

.dealer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(255, 148, 120, 0.2);
}

/* Dealer Image */
.dealer-img {
  height: 160px;
  object-fit: cover;
  width: 100%;
  border-bottom: 1px solid #eee;
}

/* Title Style */
.dealer-card .card-title {
  font-size: 1rem;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

/* Hide View Icon Initially */
.dealer-view-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #ff9478, #f06292);
  color: white;
  border-radius: 50%;
  padding: 10px;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease-in-out;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.dealer-card:hover .dealer-view-icon {
  opacity: 1;
  transform: scale(1);
}
/* Dealer Card Fancy Gradient */
.dealer-card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(145deg, #fffaf7, #fff2ef);
  box-shadow: 0 6px 18px rgba(255, 148, 120, 0.15);
  position: relative;
  transition: all 0.3s ease;
}

.dealer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(240, 98, 146, 0.25);
}

/* Image with shadow and height fix */
.dealer-img {
  height: 140px;
  object-fit: cover;
  width: 100%;
  box-shadow: 0 3px 6px rgba(0,0,0,0.08);
}

/* Title styling */
.dealer-title {
  color: #ff9478;
  font-size: 1rem;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* Eye icon button */
.dealer-view-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #ff9478, #f06292);
  color: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease-in-out;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.dealer-card:hover .dealer-view-icon {
  opacity: 1;
  transform: scale(1);
}

  


                        .custom-icon {
                            color: #ff9478;
                            font-size: 18px;
                        }
                    


          .granite-footer {
            background: linear-gradient(135deg, #fff2ec, #ffeae5);
            font-family: 'Inter', sans-serif;
            padding: 40px 0 30px;
            color: #333;
            border-top: 3px solid #fddcd2;
            box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.03);
          }
          
          .footer-container {
            max-width: 1200px;
            margin: auto;
            padding: 0 20px;
          }
          
          .footer-top {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 40px;
            border-bottom: 1px solid #f8d2c4;
            padding-bottom: 25px;
          }
          
          .footer-brand img {
            max-height: 60px;
            margin-bottom: 10px;
          }
          
          .footer-brand p {
            font-size: 14px;
            max-width: 260px;
            line-height: 1.6;
            color: #444;
            margin-right: 40px;
          }
          
          .footer-links {
            display: flex;
            flex: 1;
            justify-content: space-between;
            gap: 40px;
          }
          
          .footer-links h4 {
            font-size: 16px;
            font-weight: 600;
            color: #d26051;
            margin-bottom: 10px;
          }
          
          .footer-links ul {
            list-style: none;
            padding: 0;
            margin: 0;
          }
          
          .footer-links ul li {
            margin-bottom: 8px;
          }
          
          .footer-links ul li a {
            text-decoration: none;
            color: #333;
            font-size: 14px;
            transition: color 0.3s ease;
          }
          
          .footer-links ul li a:hover {
            color: #ff6f61;
          }
          .footer-links ul li.footers {
            text-decoration: none;
            color: #333;
            font-size: 14px;
          }
                
          .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 30px; /* smaller padding to align better */
            font-size: 14px;
            color: #777;
            flex-wrap: wrap; /* responsive */
          }

          .footer-bottom ul {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            gap: 20px;
          }

          .footer-bottom ul li a {
            text-decoration: none;
            color: #d26051;
            font-weight: 500;
            transition: all 0.3s ease;
          }

          .footer-bottom ul li a:hover {
            color: #ff6f61;
            transform: scale(1.05);
          }

          .footer-bottom p {
            margin: 0;
          }

          .footer-bottom p a {
            color: #d26051;
            text-decoration: underline;
            transition: color 0.3s ease;
          }

          .footer-bottom p a:hover {
            color: #ff6f61;
          }


          .social-links {
            margin-top: 25px;
          }

          .social-links ul {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            gap: 15px; /* spacing between icons */
          }

          .social-links ul li {
            display: inline-block;
          }

          .social-links ul li a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 30px;
            height: 30px;
            background-color: #fddcd2;
            border-radius: 50%;
            color: #d26051;
            font-size: 20px; /* icon size */
            transition: all 0.3s ease;
            text-decoration: none;
          }

          .social-links ul li a:hover {
            background-color: #ff6f61;
            color: #fff;
            transform: scale(1.1);
          }

        