/* ==========================================================================
   Cooling Solutions — Custom Styles
   ========================================================================== */

:root {
  --primary: #0A6EBD;
  --primary-dark: #004E89;
  --bg-light: #F5F9FC;
  --white: #FFFFFF;
  --dark: #10253A;
  --text-muted: #5A7184;
  --radius: 18px;
  --shadow-soft: 0 10px 30px rgba(10, 110, 189, 0.10);
  --shadow-hover: 0 20px 40px rgba(10, 110, 189, 0.18);
  --transition: all 0.35s ease;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  background-color: var(--white);
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

a {
  text-decoration: none;
}

.text-primary-custom { color: var(--primary) !important; }
.bg-primary-custom { background-color: var(--primary) !important; }
.bg-light-custom { background-color: var(--bg-light) !important; }

.section-padding {
  padding: 90px 0;
}

@media (max-width: 767.98px) {
  .section-padding {
    padding: 60px 0;
  }
}

.section-tag {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 50px;
  background: rgba(10, 110, 189, 0.10);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--dark);
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 650px;
}

@media (max-width: 767.98px) {
  .section-title { font-size: 1.8rem; }
}

/* ---------- Buttons ---------- */
.btn {
  border-radius: 50px;
  font-weight: 600;
  padding: 12px 30px;
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border: none;
  box-shadow: 0 8px 20px rgba(10, 110, 189, 0.35);
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(10, 110, 189, 0.45);
  color: var(--white);
}

.btn-outline-custom {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline-custom:hover {
  background: var(--white);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

.btn-outline-primary-custom {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline-primary-custom:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-sm-pill {
  padding: 8px 20px;
  font-size: 0.9rem;
  border-radius: 50px;
  font-weight: 600;
}

/* ---------- Header ---------- */
#mainHeader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  padding: 14px 0;
  transition: var(--transition);
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

#mainHeader.scrolled {
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
  padding: 10px 0;
}

#mainHeader .navbar-brand {
  display: flex;
  align-items: center;
}

#mainHeader .navbar-brand .logo-img {
  height: 44px;
  width: auto;
  display: block;
}

#mainHeader .nav-link {
  color: var(--dark);
  font-weight: 500;
  margin: 0 10px;
  position: relative;
  transition: var(--transition);
}

#mainHeader .nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

#mainHeader .nav-link:hover::after,
#mainHeader .nav-link.active::after {
  width: 100%;
}

#mainHeader .nav-link:hover {
  color: var(--primary);
}

#mainHeader .navbar-toggler {
  border: none;
  color: var(--dark);
  font-size: 1.6rem;
  background: transparent;
}

#mainHeader .navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon-custom {
  color: inherit;
}

@media (max-width: 991.98px) {
  #mainHeader .navbar-collapse {
    background: var(--white);
    margin-top: 15px;
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
  }
  #mainHeader .nav-link {
    color: var(--dark) !important;
  }
  #mainHeader .header-cta {
    margin-top: 10px;
  }
}

/* ---------- Hero Carousel ---------- */
#heroCarousel {
  height: 100vh;
  min-height: 600px;
}

#heroCarousel .carousel-inner,
#heroCarousel .carousel-item {
  height: 100vh;
  min-height: 600px;
}

#heroCarousel .carousel-item .slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
}

#heroCarousel .slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 25, 51, 0.82) 0%, rgba(0, 78, 137, 0.72) 55%, rgba(10, 110, 189, 0.55) 100%);
}

#heroCarousel .carousel-caption-custom {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 5%;
  color: var(--white);
}

#heroCarousel .hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: 20px;
  backdrop-filter: blur(6px);
}

#heroCarousel h1 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

#heroCarousel p.hero-desc {
  font-size: 1.15rem;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

#heroCarousel .hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 767.98px) {
  #heroCarousel h1 { font-size: 2rem; }
  #heroCarousel p.hero-desc { font-size: 1rem; }
  #heroCarousel .carousel-caption-custom { padding-left: 6%; padding-right: 6%; max-width: 100%; }
}

#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
  width: 60px;
  height: 60px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  opacity: 0.8;
  border: 1px solid rgba(255,255,255,0.3);
}

#heroCarousel .carousel-control-prev { left: 30px; }
#heroCarousel .carousel-control-next { right: 30px; }

#heroCarousel .carousel-indicators {
  bottom: 30px;
}

#heroCarousel .carousel-indicators [data-bs-target] {
  box-sizing: border-box;
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background-color: var(--white);
  opacity: 0.5;
  padding: 0;
  margin: 0 5px;
  flex: 0 0 auto;
  transition: var(--transition);
}

#heroCarousel .carousel-indicators .active {
  opacity: 1;
  width: 30px;
  height: 10px;
  border-radius: 50px;
}

.scroll-down-indicator {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--white);
  font-size: 1.6rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, -12px); }
  60% { transform: translate(-50%, -6px); }
}

/* ---------- About ---------- */
.about-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-img-wrap:hover img {
  transform: scale(1.06);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 26px;
  box-shadow: var(--shadow-hover);
  text-align: center;
}

@media (max-width: 767.98px) {
  .about-badge { right: 10px; bottom: -15px; padding: 14px 18px; }
}

.about-badge .num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  line-height: 1;
}

.about-badge .label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.about-feature .icon-box {
  min-width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(10, 110, 189, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.about-feature h6 {
  margin-bottom: 4px;
  font-weight: 600;
}

.about-feature p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ---------- Service Cards ---------- */
.service-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  height: 100%;
  border: 1px solid rgba(10, 110, 189, 0.06);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.service-card .img-wrap {
  overflow: hidden;
  height: 230px;
  position: relative;
}

.service-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .img-wrap img {
  transform: scale(1.12);
}

.service-card .img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.45), transparent 50%);
}

.service-card .body {
  padding: 26px;
}

.service-card h5 {
  font-weight: 600;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.service-card .btn-group-custom {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.service-icon-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--white);
  color: var(--primary);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  z-index: 2;
}

/* ---------- Why Choose Us ---------- */
.feature-card {
  border-radius: var(--radius);
  padding: 34px 26px;
  background: var(--bg-light);
  text-align: center;
  height: 100%;
  transition: var(--transition);
  border: 1px solid transparent;
}

.feature-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-hover);
  transform: translateY(-8px);
  border-color: rgba(10,110,189,0.1);
}

.feature-card .icon-circle {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  color: var(--white);
  font-size: 2rem;
  box-shadow: 0 10px 25px rgba(10,110,189,0.3);
  transition: var(--transition);
}

.feature-card:hover .icon-circle {
  transform: rotateY(360deg);
}

.feature-card h5 {
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius);
  padding: 70px 40px;
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.cta-section::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  top: -160px;
  right: -100px;
}

.cta-section::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  bottom: -110px;
  left: -60px;
}

.cta-section h2 {
  font-weight: 700;
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.9);
  font-size: 1.05rem;
  margin-bottom: 0;
}

/* ---------- Contact ---------- */
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
  transition: var(--transition);
}

.contact-info-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-hover);
}

.contact-info-card .icon-box {
  min-width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-info-card h6 {
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-info-card p {
  color: var(--text-muted);
  margin-bottom: 0;
  font-size: 0.92rem;
}

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}

@media (max-width: 575.98px) {
  .contact-form-wrap { padding: 24px; }
}

.form-control, .form-select {
  border-radius: 12px;
  padding: 12px 16px;
  border: 1px solid #dfe8f0;
  background: var(--bg-light);
  transition: var(--transition);
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(10, 110, 189, 0.12);
  background: var(--white);
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin-top: 40px;
}

.map-wrap.h-100 {
  margin-top: 0;
}

.map-wrap iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

.map-wrap.h-100 iframe {
  height: 100%;
  min-height: 380px;
}

/* ---------- Footer (copyright only) ---------- */
footer.footer-copyright-only {
  background: var(--dark);
  color: rgba(255,255,255,0.65);
}

.footer-bottom {
  padding: 22px 0;
  text-align: center;
  font-size: 0.88rem;
}

/* ---------- Floating Buttons ---------- */
.floating-btns {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.float-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  transition: var(--transition);
}

.float-btn:hover {
  transform: scale(1.1);
  color: var(--white);
}

.float-btn.call {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  animation: pulse-blue 2.2s infinite;
}

@keyframes pulse-blue {
  0% { box-shadow: 0 0 0 0 rgba(10, 110, 189, 0.55); }
  70% { box-shadow: 0 0 0 14px rgba(10, 110, 189, 0); }
  100% { box-shadow: 0 0 0 0 rgba(10, 110, 189, 0); }
}

/* ---------- Side Enquire Now Tab ---------- */
.side-enquire-btn {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 40px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border: none;
  border-radius: 12px 0 0 12px;
  box-shadow: -6px 0 20px rgba(10, 110, 189, 0.35);
  z-index: 1035;
  cursor: pointer;
  transition: box-shadow 0.35s ease;
  overflow: hidden;
  padding: 0;
}

.side-enquire-btn .side-enquire-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  transform: rotate(-90deg);
  white-space: nowrap;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.side-enquire-btn i {
  font-size: 1.1rem;
}

.side-enquire-btn:hover {
  box-shadow: -10px 0 26px rgba(10, 110, 189, 0.5);
}

@media (max-width: 575.98px) {
  .side-enquire-btn {
    width: 34px;
    height: 130px;
  }
  .side-enquire-btn .side-enquire-inner {
    font-size: 0.78rem;
  }
}

#backToTop {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--white);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  transition: var(--transition);
}

#backToTop:hover {
  background: var(--primary);
  transform: translateY(-4px);
}

@media (max-width: 575.98px) {
  .floating-btns { right: 14px; bottom: 14px; gap: 10px; }
  .float-btn { width: 50px; height: 50px; font-size: 1.3rem; }
  #backToTop { width: 40px; height: 40px; font-size: 1rem; }
}

/* ---------- Enquiry Modal ---------- */
#enquiryModal .modal-content {
  border-radius: var(--radius);
  border: none;
  overflow: hidden;
}

#enquiryModal .modal-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border: none;
}

#enquiryModal .btn-close {
  filter: invert(1);
}

/* ---------- Misc ---------- */
.divider-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(10,110,189,0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 20px;
}

.rounded-card {
  border-radius: var(--radius);
}

