/* ===========================
   ✅ Global Reset & Defaults
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica Neue", sans-serif;
  background: #fff;
  color: #1e1e1e;
  overflow-x: hidden;
}

/* ===========================
   🔴 Top Bar
=========================== */
.top-bar {
  background-color: #000;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  position: relative;
  z-index: 1000;
  width: 100%;
  box-sizing: border-box;
}

.top-left .logo {
  height: 60px;
  width: auto;
  border-radius: 8px;
  display: block;
}

.top-right {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
}

.contact-item {
  display: flex;
  align-items: center;
  color: white;
  font-size: 15px;
  text-decoration: none;
  transition: 0.3s;
  min-width: 0;
  white-space: nowrap;
}

.contact-item:hover {
  opacity: 0.8;
}

.contact-item i {
  background: #fff;
  color: #dca85a;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  font-size: 16px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* --- Tablet: 992px and below --- */
@media (max-width: 992px) {
  .top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    z-index: 10000;
    padding: 10px 30px;
    flex-direction: row;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  }
  .top-left .logo {
    height: 60px;
    border-radius: 7px;
  }
  .top-right {
    gap: 10px;
  }
  .contact-item {
    font-size: 13px;
  }
  .contact-item i {
    width: 30px;
    height: 30px;
    font-size: 15px;
    margin-right: 6px;
  }

  .navbar {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    z-index: 9998;
  }
  .home-section,
  .carousel,
  .main-content {
    margin-top: 80px;
  }
}

/* --- Mobile: 480px and below --- */
@media (max-width: 480px) {
  .top-bar {
    height: 54px;
    padding: 6px 10px;
    flex-direction: row;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
  }
  .top-left .logo {
    height: 40px;
    border-radius: 5px;
  }
  .top-right {
    gap: 8px;
  }
  .contact-item {
    font-size: 11px;
  }
  .contact-item span {
    display: none;
  }
  .contact-item i {
    width: 28px;
    height: 28px;
    font-size: 18px;
    margin-right: 0;
  }

  .navbar {
    top: 54px;
  }
  .home-section,
  .carousel,
  .main-content {
    margin-top: 62px;
  }
}

/* ===========================
   🟡 Scrolling Section
=========================== */
.scrolling-section {
  background: #dca85a;
  white-space: nowrap;
  overflow: hidden;
  width: 100%;
  display: flex;
  align-items: center;
  z-index: 10000;
  padding: 0 10px;
  height: 38px;
  box-sizing: border-box;
  position: relative;
}

.scrolling-text {
  display: inline-block;
  padding-left: 100%;
  animation: scroll 20s linear infinite;
  font-weight: bold;
  color: #1e1e1e;
  font-size: 14px;
  line-height: 1.8;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* --- Responsive: 992px and below (Tablet) --- */
@media (max-width: 992px) {
  .scrolling-section {
    position: fixed;
    top: 95px; /* Match header height for tablet */
    height: 34px;
    padding: 0 8px;
    font-size: 13px;
  }

  .scrolling-text {
    animation: scroll 20s linear infinite;
    font-size: 12px;
  }
}

/* --- Responsive: 768px and below --- */
@media (max-width: 768px) {
  .scrolling-section {
    top: 62px; /* Adjust for mobile sticky header */
    height: 30px;
    padding: 0 6px;
  }

  .scrolling-text {
    animation: scroll 20s linear infinite;
    font-size: 11px;
  }
}

/* --- Responsive: 480px and below (Mobile) --- */
@media (max-width: 480px) {
  .scrolling-section {
    top: 54px; /* Sync with mobile top bar */
    height: 26px;
    padding: 0 4px;
    font-size: 10px;
  }

  .scrolling-text {
    animation: scroll 14s linear infinite;
    font-size: 10px;
    line-height: 1.5;
  }
}

/* === Home Section (Hero Carousel) === */
.carousel-item {
  position: relative;
  height: 90vh;
  overflow: hidden;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(90%);
  transition: transform 0.6s ease-in-out;
}

.carousel-item.active img {
  transform: scale(1.03);
}

/* Centered Caption */
.carousel-caption {
  position: relative;
  margin-left: 0 !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  text-align: center;
  background: rgba(0, 0, 0, 0.45);
  padding: 25px 35px;
  border-radius: 12px;
  width: 90%;
  max-width: 800px;
  display: grid;
  place-items: center;
  color: #fff;
  animation: popRise 0.6s ease-out;
}
@keyframes popRise {
  0% {
    opacity: 0;
    transform: scale(0.85) translateY(30px);
  }
  70% {
    opacity: 1;
    transform: scale(1.03) translateY(-4px);
  }
  100% {
    transform: scale(1) translateY(0);
  }
}

.carousel-caption h2 {
  font-size: 2.3rem;
  color: #dca85a;
  font-weight: 700;
  margin-bottom: 10px;
}

.carousel-caption p {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #fff;
}

.carousel-caption a {
  display: inline-block;
  background: #ed1b08;
  color: #fff !important;
  padding: 0.7rem 1.6rem;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.carousel-caption a:hover {
  background: #c71505;
  transform: scale(1.05);
}

/* === Responsive === */
@media (max-width: 992px) {
  .carousel-item {
    height: 40vh;
    align-items: center;
  }
  .carousel-caption {
    max-width: 600px;
    margin-left: 0 !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    background: rgba(0, 0, 0, 0.55);
  }
  .carousel-caption h2 {
    font-size: 2rem;
  }
  .carousel-caption p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .carousel-item {
    height: 75vh;
  }
  .carousel-caption {
    margin-left: 0 !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    background: rgba(0, 0, 0, 0.55);
  }
  .carousel-caption h2 {
    font-size: 1.4rem;
  }
  .carousel-caption p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .carousel-caption {
    margin-left: 0 !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
  }
  .carousel-item {
    height: 70vh;
  }
  .carousel-caption h2 {
    font-size: 1.2rem;
  }
  .carousel-caption p {
    font-size: 0.9rem;
  }
}

/* ===========================
   🟢 Fixed Sidebar
=========================== */
.sidebar {
  position: fixed;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  display: flex;
  margin-top: 58px;
  flex-direction: column;
  z-index: 1000;
  background: #000;
  padding: 6px 2px;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  width: 20vw;
  max-width: 180px;
  min-width: 20px;
  align-items: stretch;
  font-size: 13px;
}

.sidebar a,
.sidebar-dropdown .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #dca85a;
  font-size: 13px;
  justify-content: flex-start;
  padding: 6px 14px;
  border-radius: 8px;
  background: transparent;
  border: none;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
  width: 100%;
}
.sidebar a:hover,
.sidebar-dropdown .dropdown-toggle:hover {
  color: #007bff;
  background: #f3f4f6;
}
.sidebar a i,
.sidebar-dropdown .dropdown-toggle i,
.sidebar-dropdown .dropdown-content a i {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
}
.sidebar span,
.sidebar-dropdown .dropdown-toggle span,
.sidebar-dropdown .dropdown-content a span {
  display: inline;
  font-size: 13px;
  font-weight: bold;
  margin-left: 2px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* Dropdown styles */
.sidebar-dropdown {
  width: 100%;
  position: relative;
}
.sidebar-dropdown .dropdown-toggle {
  padding-right: 30px;
  position: relative;
}
.sidebar-dropdown .dropdown-toggle .fa-chevron-down {
  margin-left: auto;
  font-size: 10px;
  transition: transform 0.3s;
  color: #dca85a;
  position: absolute;
  right: 16px;
  top: 30%;
  transform: translateY(-50%);
  pointer-events: none;
}
.sidebar-dropdown.open .dropdown-toggle .fa-chevron-down {
  transform: translateY(-50%) rotate(180deg);
  color: #007bff;
}
.sidebar-dropdown .dropdown-content {
  display: none;
  flex-direction: column;
  background: #000;
  border-radius: 8px;
  margin: 0 0 0 32px;
  padding: 2px 0;
  box-shadow: none;
  position: static;
  width: calc(100% - 32px);
}
.sidebar-dropdown.open .dropdown-content {
  display: flex;
}
.sidebar-dropdown .dropdown-content a {
  padding: 6px 10px;
  font-size: 12px;
  color: #dca85a;
  border-radius: 6px;
  font-weight: 400;
  transition: background 0.2s, color 0.2s;
  background: transparent;
}
.sidebar-dropdown .dropdown-content a:hover {
  color: #007bff;
  background: #eaf4fe;
}

/* Collapsed state */
.sidebar.collapsed {
  opacity: 0;
  pointer-events: none;
}

/* GIF icon (for collapsed state) */
.gif-icon {
  position: fixed;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  display: none;
  z-index: 1100;
}
.gif-icon img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
}
.sidebar.collapsed + .gif-icon {
  display: block;
}

/* ===========================
   Tablet (up to 992px)
=========================== */
@media (max-width: 992px) {
  .sidebar {
    left: 4px;
    width: 35vw;
    min-width: 140px;
    max-width: 200px;
    font-size: 14px;
    padding: 9px 7px;
    border-radius: 14px;
  }
}

/* ===========================
   Mobile (up to 768px)
=========================== */
@media (max-width: 768px) {
  .sidebar {
    left: 2px;
    width: 60vw;
    min-width: 120px;
    max-width: 180px;
    font-size: 12px;
    padding: 8px 5px;
    border-radius: 12px;
  }
  .sidebar a,
  .sidebar-dropdown .dropdown-toggle {
    font-size: 12px;
    padding: 7px 9px;
    gap: 8px;
  }
  .sidebar span,
  .sidebar-dropdown .dropdown-toggle span,
  .sidebar-dropdown .dropdown-content a span {
    font-size: 12px;
    margin-left: 2px;
  }
  .sidebar a i,
  .sidebar-dropdown .dropdown-toggle i,
  .sidebar-dropdown .dropdown-content a i {
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .sidebar {
    left: 0;
    top: 35%;
    transform: translateY(-48%);
    width: 40vw; /* Sidebar uses most of the screen width */
    min-width: 40px; /* Never less than 200px for readability */
    max-width: 120px; /* Prevents too large on phablets */
    font-size: 8px; /* Larger font for tap targets */
    padding: 6px 3px; /* Roomy padding */
    border-radius: 12px;
  }
  .sidebar a,
  .sidebar-dropdown .dropdown-toggle {
    font-size: 8px;
    padding: 6px 8px; /* Big touch targets */
    gap: 5px;
  }
  .sidebar span,
  .sidebar-dropdown .dropdown-toggle span,
  .sidebar-dropdown .dropdown-content a span {
    font-size: 8px;
    margin-left: 4px;
  }
  .sidebar a i,
  .sidebar-dropdown .dropdown-toggle i,
  .sidebar-dropdown .dropdown-content a i {
    width: 28px;
    height: 28px;
    min-width: 28px;
    font-size: 8px;
  }
  .sidebar-dropdown .dropdown-content {
    margin: 4px 0 4px 28px;
    width: calc(100% - 28px);
  }
  .sidebar-dropdown .dropdown-content a {
    font-size: 8px;
    padding: 4px 3px;
  }
}

/* 🔴 Sticky Enquiry Button */
.enquiry-btn {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background-color: #20bd5a;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-top-left-radius: 25px;
  border-bottom-left-radius: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 999;
}

/* Hover Animation */
.enquiry-btn:hover {
  background-color: #dca85a;
  transform: translateY(-50%) scale(1.05);
}

/* Icon styling */
.enquiry-btn i {
  font-size: 20px;
  animation: ring 1.2s infinite;
}

/* Subtle ringing animation */
@keyframes ring {
  0% {
    transform: rotate(0);
  }
  10% {
    transform: rotate(15deg);
  }
  20% {
    transform: rotate(-15deg);
  }
  30% {
    transform: rotate(10deg);
  }
  40% {
    transform: rotate(-10deg);
  }
  50% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(0);
  }
}

/* Mobile View */
@media (max-width: 768px) {
  .enquiry-btn {
    padding: 10px 12px;
    border-radius: 50%;
    justify-content: center;
    right: 15px;
    top: auto;
    bottom: 320px;
  }
  .enquiry-btn span {
    display: none; /* Hide text */
  }
  .enquiry-btn i {
    font-size: 24px;
  }
}

.chatbot-launcher {
  position: fixed;
  bottom: 20px;
  right: 20px;
  border-radius: 50%;
  padding: 12px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 999;
  transition: all 0.3s ease;
}
.chatbot-launcher:hover {
  transform: scale(1.1);
}
.chatbot-launcher img {
  width: 45px;
  height: 45px;
}

.chatbot-container {
  position: fixed;
  bottom: 90px;
  right: 25px;
  width: 340px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: none;
  flex-direction: column;
  animation: fadeIn 0.4s ease;
  z-index: 1000;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-header {
  background: linear-gradient(135deg, #040231, #70769c37);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
}
.chat-header img {
  width: 28px;
  margin-right: 8px;
}
.chat-header span {
  font-weight: 600;
  flex: 1;
}
.chat-header .close-chat {
  background: transparent;
  border: none;
  color: white;
  font-size: 22px;
  cursor: pointer;
}

.chat-body {
  height: 320px;
  padding: 12px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
}
.bot-msg,
.user-msg {
  padding: 10px 14px;
  border-radius: 14px;
  max-width: 80%;
  animation: slideUp 0.3s ease;
}
@keyframes slideUp {
  from {
    transform: translateY(10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.bot-msg {
  background: #ede2ff;
  align-self: flex-start;
}
.user-msg {
  background: #d6b3ff;
  align-self: flex-end;
  color: white;
}

.chat-input {
  display: flex;
  border-top: 1px solid #ddd;
}
.chat-input input {
  flex: 1;
  border: none;
  padding: 12px;
  font-size: 15px;
  outline: none;
}
.chat-input button {
  background: linear-gradient(135deg, #040231, #70769c37);
  color: white;
  border: none;
  padding: 0 15px;
  cursor: pointer;
  transition: 0.3s;
}
.chat-input button:hover {
  background: #040231;
}

@media (max-width: 768px) {
  .chatbot-container {
    width: 90%;
    right: 5%;
    bottom: 80px;
  }
  .chatbot-launcher img {
    width: 40px;
    height: 40px;
  }
}

/* === About Section Main === */
.about-section {
  padding: 40px 0;
  margin: 0 auto;
  width: 100%;
  max-width: 1200px; /* slightly reduced to ensure easy centering on large screens */
  position: relative;
  display: flex;
  justify-content: center;
}

/* === Container === */
.about-container {
  display: flex;
  align-items: center;
  justify-content: center; /* centers horizontally */
  gap: 60px;
  width: 100%;
  max-width: 1080px;
  flex-wrap: wrap;
  margin: 0 auto;
}

/* === Left Image Gallery === */
.about-gallery {
  flex: 1 1 320px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 110px;
  gap: 10px;
  min-width: 220px;
  animation: fadeInLeft 1s ease;
}

.about-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
}

.about-gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* === Right Content === */
.about-content {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  max-width: 520px;
  animation: fadeInRight 1s ease;
}

.about-border {
  width: 80px;
  height: 4px;
  background: #dca85a;
  border-radius: 2px;
  margin-bottom: 10px;
}

.about-content p {
  font-size: 1.02rem;
  line-height: 1.7;
  color: #333;
  text-align: justify;
  margin-bottom: 8px;
}

/* === Features === */
.about-features {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 15px;
  justify-content: flex-start;
}

.feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #052a4e;
  background: #fff;
  border-radius: 10px;
  padding: 10px 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature i {
  font-size: 1.2rem;
  color: #dca85a;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* === Animations (unchanged) === */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* === Responsive Design === */
/* Tablet */
@media (max-width: 992px) {
  .about-section {
    padding: 48px 0 36px 0;
    max-width: 100vw;
  }
  .about-container {
    flex-direction: column;
    gap: 36px;
    align-items: center;
  }
  .about-gallery {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 90px;
    min-width: 180px;
  }
  .about-content {
    align-items: center;
    text-align: center;
    max-width: 90vw;
    margin: 0 auto;
  }
  .about-content p {
    max-width: 99vw;
  }
  .about-features {
    justify-content: center;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .about-section {
    padding: 32px 0 24px 0;
    max-width: 99vw;
    min-width: 0;
  }
  .about-container {
    gap: 20px;
    padding: 0 4vw;
  }
  .about-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 90px;
    gap: 7px;
    min-width: 120px;
    width: 100%;
    justify-items: center;
  }
  .about-content {
    padding: 0;
    text-align: center;
    width: 100%;
  }
  .about-border {
    margin: 0 auto 10px auto;
  }
  .about-content p {
    font-size: 0.98rem;
    line-height: 1.5;
    padding: 0 2vw;
    margin-bottom: 7px;
  }
  .about-features {
    gap: 9px;
    flex-wrap: wrap;
    margin-top: 11px;
  }
  .feature {
    padding: 8px 9px;
    font-size: 0.94rem;
    border-radius: 8px;
  }
  .feature i {
    font-size: 1.16rem;
  }
}

/* ================================
   🔷 Common Headings & Titles
================================ */
.title-text {
  text-align: center;
  margin-bottom: 60px;
}

.title-text p {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.title-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #000;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.title-text h2::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #996625;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* ================================
   🧰 Service Overview Section
================================ */
#service {
  width: 100%;
  padding: 40px 0;
  background: #fff;
  text-align: center;
}

.service-box {
  width: 85%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.single-service {
  flex-basis: 45%;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.single-service:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.single-service img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 15px 15px 0 0;
}

.overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 15px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), #996625b3);
  opacity: 0;
  transition: 0.5s ease;
}

.single-service:hover .overlay {
  opacity: 1;
}

.service-desc {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  color: #fff;
  text-align: center;
  opacity: 1;
  transition: 0.6s ease;
}

.service-desc h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.service-desc hr {
  width: 50%;
  height: 2px;
  background: #fff;
  border: none;
  margin: 10px auto;
}

.service-desc p {
  font-size: 0.95rem;
  display: none; /* Hidden until hover */
}

.single-service:hover .service-desc p {
  display: block;
}

/* ================================
   🧊 Service Section (Detailed)
================================ */
.service-section {
  padding: 60px 20px;

  text-align: center;
  border-radius: 0;
  transition: background 0.5s ease;
}

.service-section .container {
  max-width: 1200px;
  margin: auto;
}

.service-tag {
  color: #fff;
  font-weight: 600;
  background: #052a4e;
  display: inline-block;
  padding: 6px 18px;
  border-radius: 25px;
  margin-bottom: 15px;
}

.service-heading {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 50px;
  font-weight: 700;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

.card {
  background: #fff;
  border-radius: 20px;
  width: 340px;
  overflow: hidden;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  padding: 10px 0 10px 0;
}

.card-text {
  padding: 25px;
  text-align: left;
}

.card-text h3 {
  font-size: 1.3rem;
  color: #052a4e;
  margin-bottom: 10px;
  font-weight: 600;
}

.card-text p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
}

/* ================================
   🌀 Section Dividers (icons + headings)
================================ */
.section {
  text-align: center;
  margin-top: 20px;
}

.section i {
  font-size: 2rem;
  color: #996625;
  margin-bottom: 10px;
}

.section .subheading {
  font-size: 1rem;
  color: #996625;
  font-weight: 600;
  letter-spacing: 2px;
}

.section .heading {
  font-size: 1.8rem;
  font-weight: 700;
  color: #052a4e;
  margin-bottom: 25px;
  position: relative;
}

.section .heading::after {
  content: "";
  width: 50px;
  height: 3px;
  background: #996625;
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

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

.section,
.card,
.single-service {
  animation: fadeInUp 0.8s ease both;
}

/* ================================
   📱 Responsive Styles
================================ */

/* --- Tablets --- */
@media (max-width: 1024px) {
  .single-service {
    flex-basis: 48%;
  }

  .single-service img {
    height: 260px;
  }

  .card {
    width: 45%;
  }

  .service-cards {
    gap: 20px;
  }
}

/* --- Mobile Phones --- */
@media (max-width: 768px) {
  .title-text h2 {
    font-size: 1.5rem;
  }

  .service-box {
    width: 95%;
    flex-direction: column;
  }

  .single-service {
    flex-basis: 100%;
    position: relative;
    overflow: hidden;
  }

  .single-service img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
  }

  .service-section {
    padding: 50px 15px;
  }

  .service-heading {
    font-size: 1.5rem;
    margin-bottom: 30px;
  }

  .card {
    width: 90%;
  }

  .section .heading {
    font-size: 1.4rem;
  }

  .section .subheading {
    font-size: 0.9rem;
  }

  /* ✅ Mobile view: only heading caption shown inside image */
  .service-desc {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    color: #fff;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 0;
    opacity: 1;
    transform: none;
  }

  .service-desc h3 {
    font-size: 1.2rem;
    margin: 0;
  }

  .service-desc hr,
  .service-desc p {
    display: none; /* Hide line and paragraph on mobile */
  }

  /* Remove hover behavior on mobile */
  .single-service:hover .service-desc p {
    display: none;
  }
}

/* --- Small Phones --- */
@media (max-width: 480px) {
  .title-text h2 {
    font-size: 1.3rem;
  }

  .card-text h3 {
    font-size: 1.1rem;
  }

  .card-text p {
    font-size: 0.85rem;
  }

  .single-service img {
    height: 180px;
  }

  .service-desc h3 {
    font-size: 1rem;
  }
}

/* Brand */

.brands {
  background: #ffffff; /* changed background to white */
  text-align: center;
  padding: 50px; /* remove top & bottom padding */
  height: 50%; /* fixed height for the outer box */
  display: flex;
  flex-direction: column;
  justify-content: center; /* center content vertically */
  overflow: hidden;
}

/* Heading & Subheading */
.brand-header {
  margin: 0;
  font-size: 1rem;
}

.brand-heading {
  font-size: 1rem;
  color: #052a4e;
  margin: 0;
  font-weight: 700;
}

.brand-subtext {
  color: #555;
  margin: 0;
  font-size: 0.8rem;
}

.brand-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.brand-track {
  display: flex;
  width: calc(200px * 20);
  animation: scroll 30s linear infinite;
}

.brand-track img {
  width: 100px;
  height: auto;
  margin: 0 10px;
  filter: grayscale(100%);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.brand-track img:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .brand-track img {
    width: 100px;
    margin: 0 15px;
  }
  .brand-heading {
    font-size: 1.5rem;
  }
  .brand-subtext {
    font-size: 0.9rem;
  }
}

/* ================================
    🖼️Image Gallery Section
    ====================*/

.gallery-section {
  background: linear-gradient(135deg, #f8faff, #ffffff);
  padding: 40px 0 60px 0;
  text-align: center;
}
.carouselgallery {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 430px;
  width: 100vw;
  margin: 36px auto 0 auto;
  overflow: hidden;
  position: relative;
}
.carouselgallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 2rem;
  color: #052a4e;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.13);
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.97;
  transition: background 0.18s, color 0.18s, opacity 0.18s, box-shadow 0.16s;
  user-select: none;
}
.carouselgallery-arrow.left {
  left: 8px;
}
.carouselgallery-arrow.right {
  right: 8px;
}
.carouselgallery-arrow:hover {
  color: #fff;
  background: #dca85a;
}

.carouselgallery-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 320px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 35px rgba(80, 98, 169, 0.1);
  overflow: hidden;
  cursor: pointer;
}

.carouselgallery-image-wrapper img.active,
#mainGalleryImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  transition: box-shadow 0.21s, filter 0.13s;
  background: #f7f7f7;
  cursor: pointer;
}

.click-to-view {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.68);
  color: #fff;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.carouselgallery-image-wrapper:hover .click-to-view,
.carouselgallery-image-wrapper:focus .click-to-view {
  opacity: 1;
  pointer-events: auto;
}

.carouselgallery-indicators {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
}
.carouselgallery-indicators span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #dca85a;
  display: inline-block;
  opacity: 0.22;
  border: 2px solid #e0e702;
  cursor: pointer;
}
.carouselgallery-indicators span.active {
  opacity: 1;
  background: #052a4e;
  border-color: #dca85a;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.modal.show {
  display: flex;
  animation: fadeIn 0.21s;
}
.modal-img {
  max-width: 92vw;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(10, 10, 30, 0.22);
}
.close-modal {
  position: absolute;
  top: 28px;
  right: 36px;
  color: #fff;
  font-size: 34px;
  cursor: pointer;
  font-weight: bold;
  transition: color 0.22s;
  z-index: 1001;
}
.close-modal:hover {
  color: #e0e702;
}
.modal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.8rem;
  color: #052a4e;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  opacity: 0.98;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1002;
  transition: background 0.18s, color 0.18s;
  user-select: none;
}
.modal-arrow-left {
  left: 12px;
}
.modal-arrow-right {
  right: 12px;
}
.modal-arrow:hover {
  color: #fff;
  background: #dca85a;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive for tablets/laptops */
@media (max-width: 1024px) {
  .carouselgallery {
    max-width: 85vw;
  }
  .carouselgallery-image-wrapper {
    max-width: 85vw;
    height: 34vw;
    min-height: 140px;
  }
  .carouselgallery-arrow {
    width: 32px;
    height: 32px;
    font-size: 1.6rem;
    left: 4px;
    right: 4px;
  }
}
/* Responsive for tablets and small screens */
@media (max-width: 768px) {
  .carouselgallery {
    max-width: 85vw;
  }
  .carouselgallery-image-wrapper {
    max-width: 85vw;
    height: 33vw;
    min-height: 110px;
  }
  .carouselgallery-arrow {
    width: 28px;
    height: 28px;
    font-size: 1.3rem;
    left: 2px;
    right: 2px;
  }
}
/* Responsive for phones */
@media (max-width: 480px) {
  .carouselgallery {
    max-width: 85vw;
  }
  .carouselgallery-image-wrapper {
    max-width: 85vw;
    height: 31vw;
    min-height: 80px;
  }
  .carouselgallery-arrow {
    width: 24px;
    height: 24px;
    font-size: 1rem;
    left: 1px;
    right: 1px;
  }
}

/* ===== BOOK AN APPOINTMENT SECTION ===== */
.book-section {
  background-color: #fff;
  padding: 30px 10px;
}

.book-container {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start; /* form on left */
  gap: 30px;
  width: 100%; /* full screen width */
  max-width: none; /* remove container max-width */
  margin: 20px 0;
}

/* Form Box */
.book-box {
  background: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  width: 500px; /* fixed width */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0; /* don't shrink */
  margin: 10 20px 10 20px;
}
.book-header h1 {
  color: #052a4e;
  font-size: 2rem;
  margin-bottom: 10px;
}

.book-header p {
  color: #555;
  margin-bottom: 25px;
}

.book-img img {
  width: 200px;
  margin-bottom: 20px;
}

form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

form input,
form select {
  width: 100%;
  padding: 12px 15px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
  outline: none;
  transition: border 0.3s;
  overflow: hidden;
}

form input:focus,
form select:focus {
  border-color: #052a4e;
}

.btn {
  background: #25d366;
  color: white;
  text-decoration: none;
  text-align: center;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background: #1da955;
}

/* Map Box */
.map-box {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  min-height: 500px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 992px) {
  .book-container {
    flex-direction: column;
    align-items: center;
  }

  .book-box,
  .map-box {
    width: 100%;
  }

  .book-header h1 {
    font-size: 1.6rem;
  }

  .map-box {
    min-height: 300px; /* smaller map height on mobile */
  }

  .book-img img {
    width: 150px;
  }
}

.footer {
  background-color: #0c0c0c;
  color: #fff;
  position: relative;
  padding-top: 60px;
  overflow: hidden;
}

.footer-wave {
  position: absolute;
  top: -80px;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(90deg, #dca85a 50%, #dca85a 50%);
  clip-path: ellipse(70% 100% at 50% 0%);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
  gap: 30px;
}

/* About Section */
.footer-about {
  flex: 1 1 300px;
}
.footer-logo {
  width: 150px;
  margin-bottom: 15px;
}
.footer-about p {
  font-size: 15px;
  line-height: 1.6;
  color: #ccc;
}

/* Services Section */
.footer-services {
  flex: 1 1 200px;
}
.footer-services h3 {
  margin-bottom: 15px;
  color: #fff;
}
.footer-services ul {
  list-style: none;
  padding: 0;
}
.footer-services ul li {
  margin-bottom: 10px;
  color: #ccc;
}

/* Contact Section */
.footer-contact {
  flex: 1 1 300px;
}
.footer-contact h3 {
  margin-bottom: 15px;
}
.footer-contact p {
  color: #ccc;
  margin: 8px 0;
}
.footer-contact i {
  color: #dca85a;
  margin-right: 10px;
}

/* Social Icons */
.footer-social {
  margin-top: 15px;
}
.footer-social a {
  color: #fff;
  margin-right: 15px;
  font-size: 20px;
  display: inline-block;
  transition: transform 0.3s, color 0.3s;
}
.footer-social a:hover {
  color: #ff0077;
  transform: scale(1.2);
}

/* Bottom Footer */
.footer-bottom {
  text-align: center;
  padding: 15px;
  background: #111;
  font-size: 10px;
  border-top: 1px solid #222;
}
.footer-bottom a {
  color: #dca85a;
  text-decoration: none;
  font-size: 12px;
}
.footer-bottom a:hover {
  color: #ff0077;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-about,
  .footer-services,
  .footer-contact {
    flex: 1 1 100%;
  }

  .footer-social a {
    margin: 0 10px;
  }
}

/*heading and subheading section*/
.section {
  text-align: center;
  padding: 20px 20px;
  border-bottom: 1px solid #ddd;
}

.section i {
  color: #996625;
  font-size: 50px;
  margin-bottom: 15px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.section i:hover {
  transform: scale(1.1) rotate(-8deg);
  color: #006666;
}

.subheading {
  font-size: 16px;
  color: #996625;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.heading {
  font-size: 32px;
  font-weight: bold;
  color: #333;
}

/* Responsive for mobile */
@media (max-width: 768px) {
  .section {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative !important;
    padding: 40px 10px 20px;
    margin-top: 30px;
    width: 100%;
  }

  .section i {
    font-size: 24px;
    font-weight: bold;
    color: #996625;
    margin-bottom: 8px;
    display: block;
  }

  .subheading {
    font-size: 1.2rem !important;
    color: #996625;
    font-weight: 600;
    margin-bottom: 5px;
    display: block !important;
  }

  .heading {
    font-size: 1.5rem !important;
    color: #222;
    font-weight: 700;
    display: block !important;
    line-height: 1.3;
  }

  /* Ensure spacing between sections */
  .about-section,
  .service {
    margin-top: 0px;
  }
}

/* ✅ Mobile View Fix: Adjust content size & move image above text */
@media (max-width: 768px) {
  /* Hide only the paragraph (keep your earlier code) */
  .card.fridge p,
  .card.ac p,
  .card.tv p,
  .card.washing p {
    display: none !important;
  }

  /* Stack image above text for mobile only */
  .card {
    display: flex;
    flex-direction: column; /* image on top, text below */
    align-items: center;
    width: 100%;
    padding: 10px 12px;
    margin: 10px auto;
    box-sizing: border-box;
  }

  /* Ensure image stays on top */
  .card img {
    order: -1; /* move image first */
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
  }

  /* Adjust heading and button layout */
  .card h2,
  .card h3,
  .card h4 {
    font-size: 1.1rem !important;
    line-height: 1.3;
    margin-bottom: 8px;
    text-align: center;
  }

  .card button,
  .card a {
    font-size: 0.9rem;
    padding: 8px 16px;
    margin-top: 5px;
    display: inline-block;
  }

  /* Prevent section overlap */
  .service-section,
  .fridge-section,
  .ac-section,
  .tv-section {
    padding: 0px 0 0px 0;
  }

  section {
    min-height: auto;
  }

  .service-section img {
    display: none; /* hide all images in service section on mobile */
  }
}

/* Preloader styling */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000; /* full black background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.preloader-img {
  width: 150px; /* adjust size */
  height: auto;
  object-fit: contain;
}

/* 💬 WhatsApp Floating Icon */
.whatsapp-float {
  position: fixed;
  bottom: 110px; /* keep above chatbot */
  right: 25px;
  background-color: #25d366;
  border-radius: 50px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 9999;
}

/* Icon */
.whatsapp-float img {
  width: 35px;
  height: 35px;
}

/* Hide text until hover (for desktop) */
.whatsapp-text {
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s ease;
  white-space: nowrap;
}

/* Hover Effects (Desktop Only) */
.whatsapp-float:hover {
  background-color: #20bd5a;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.8);
}

.whatsapp-float:hover .whatsapp-text {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* 📱 Responsive (Mobile View) */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 95px; /* slightly higher for mobile */
    right: 15px;
    padding: 10px;
    border-radius: 50%;
    gap: 0;
  }

  .whatsapp-float img {
    width: 45px;
    height: 45px;
  }

  /* Hide text permanently on small screens */
  .whatsapp-text {
    display: none;
  }
}
