/* ================================================
   UNIPOWER SOLAR SOLUTIONS - Custom Brand Styles
   Brand Colours: Orange #FF6600, Deep Orange #E55A00,
   Solar Gold #FFC107, Dark #1A1A2E, White #FFFFFF
   ================================================ */

:root {
  --up-orange: #FF6600;
  --up-orange-dark: #E55A00;
  --up-gold: #FFC107;
  --up-dark: #1A1A2E;
  --up-dark2: #16213E;
  --up-mid: #0F3460;
  --up-light: #F5F5F5;
  --up-white: #FFFFFF;
  --up-text: #444444;
  --up-whatsapp: #25D366;
}

/* ---- GLOBAL RESET & FONTS ---- */
html, body {
  padding: 0; margin: 0;
  background: #fff;
  font-family: 'Montserrat', sans-serif;
  color: var(--up-text);
}

/* ---- NAVBAR ---- */
nav.navbar.navbar-expand-lg.navbar-light {
  background: rgba(26, 26, 46, 0.92) !important;
  padding: 1em 2em;
  backdrop-filter: blur(6px);
  border-bottom: 2px solid var(--up-orange);
  transition: all 0.3s ease;
}

.navbar-light .navbar-nav .nav-link {
  color: #fff !important;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 10px 20px !important;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--up-orange) !important;
  background: rgba(255, 102, 0, 0.12);
}

h1 a.navbar-brand {
  font-size: 32px !important;
  color: #fff !important;
  font-weight: 700 !important;
  letter-spacing: 2px;
}

h1 a.navbar-brand span {
  color: var(--up-orange) !important;
  font-size: 36px !important;
  letter-spacing: 3px;
  margin-top: 2px;
  display: block;
  text-align: center;
}

.hedder-up {
  padding: 10px 0 0;
  text-align: center;
}

/* ---- HERO SLIDER ---- */
.slider-img {
  background-size: cover;
  min-height: 100vh;
  background-attachment: fixed;
  position: relative;
}

.one-img   { background: linear-gradient(rgba(26,26,46,0.6), rgba(255,102,0,0.3)), url(../images/b1.jpg) no-repeat center center; }
.two-img   { background: linear-gradient(rgba(26,26,46,0.6), rgba(255,102,0,0.3)), url(../images/b2.jpg) no-repeat center center; }
.three-img { background: linear-gradient(rgba(26,26,46,0.6), rgba(255,102,0,0.3)), url(../images/b3.jpg) no-repeat center center; }

.slider-info {
  padding-top: 30vh;
  text-align: center;
}

.slider-info h4 {
  font-size: 46px;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 2px 2px 12px rgba(0,0,0,0.7);
  margin-bottom: 20px;
  line-height: 1.2;
}

.slider-info p {
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  letter-spacing: 2px;
  margin-bottom: 35px;
  font-weight: 300;
}

.outs_more-buttn a {
  background: var(--up-orange);
  color: #fff !important;
  padding: 16px 42px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 3px;
  border-radius: 4px;
  display: inline-block;
  border: 2px solid var(--up-orange);
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(255,102,0,0.4);
}

.outs_more-buttn a:hover {
  background: transparent;
  color: var(--up-orange) !important;
  box-shadow: 0 4px 30px rgba(255,102,0,0.6);
}

/* ---- SECTION TITLES ---- */
.title {
  font-size: 38px;
  text-align: center;
  color: var(--up-dark);
  margin-bottom: 45px;
  letter-spacing: 4px;
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 18px;
}

.title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 70px; height: 4px;
  background: var(--up-orange);
  border-radius: 2px;
}

.title.clr { color: #fff; }
.title.clr::after { background: var(--up-gold); }

/* ---- ABOUT ---- */
.about {
  padding: 80px 0;
  background: var(--up-light);
}

.agile-info-img img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  object-fit: cover;
  height: 420px;
}

.agile-abt-info {
  padding: 20px 40px;
}

.agile-abt-info h2 {
  font-size: 32px;
  color: var(--up-dark);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 25px;
}

.info-sub-w3 h4 {
  color: var(--up-orange);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  display: none; /* hide "Lorem ipsum" heading */
}

.info-sub-w3 p {
  color: var(--up-text);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 25px;
}

.arrow ul li {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.arrow ul li .dog-arrow {
  color: var(--up-orange);
  margin-right: 14px;
  font-size: 14px;
  flex-shrink: 0;
}

.arrow ul li p {
  font-size: 15px;
  color: var(--up-text);
  font-weight: 500;
}

.about_more-buttn a {
  background: var(--up-orange);
  color: #fff !important;
  padding: 14px 36px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 25px;
  border: 2px solid var(--up-orange);
  transition: all 0.3s ease;
}

.about_more-buttn a:hover {
  background: var(--up-orange-dark);
  border-color: var(--up-orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,102,0,0.35);
}

/* ---- STATS ---- */
.jst-must-info {
  margin-top: 60px;
}

.stats-info {
  background: var(--up-dark);
  border-radius: 8px;
  overflow: hidden;
}

.stats-grid {
  padding: 40px 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
  position: relative;
}

.stats-grid:last-child { border-right: none; }

.counter {
  font-size: 52px;
  font-weight: 800;
  color: var(--up-orange);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-info h4 {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

/* ---- SERVICES ---- */
.service-video {
  background: var(--up-dark2);
  padding: 80px 0;
}

.service-info h5 {
  font-size: 38px;
  color: #fff;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 18px;
}

.service-info h5::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 70px; height: 4px;
  background: var(--up-orange);
  border-radius: 2px;
}

.w3l_serv-slider_grid {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.w3l_serv-slider_grid:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(255,102,0,0.3);
  border-color: var(--up-orange);
}

.w3ls-slide-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.w3l_service_grid {
  padding: 25px;
}

.w3l_service_grid h4 {
  font-size: 18px;
  color: var(--up-orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.w3l_service_grid p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
}

/* ---- GALLERY ---- */
.gallery {
  background: #fff;
  padding: 80px 0;
}

.agile_gallery_grid {
  margin-bottom: 24px;
}

.hover.ehover14 {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.agile_gallery_grids img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.hover.ehover14:hover img {
  transform: scale(1.08);
}

.overlay {
  background: linear-gradient(to top, rgba(255,102,0,0.9), transparent);
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 30px 20px 20px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.hover.ehover14:hover .overlay {
  transform: translateY(0);
}

.overlay h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 8px;
}

.overlay .button {
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
}

/* ---- CLIENTS / TESTIMONIALS ---- */
.clients {
  background: var(--up-light);
  padding: 80px 0;
}

.wthree-clients-left {
  background: linear-gradient(135deg, rgba(26,26,46,0.85), rgba(255,102,0,0.7)), url(../images/c11.jpg) no-repeat center center !important;
  background-size: cover !important;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wthree-clients-left::after {
  content: '"Great service, reliable energy"';
  color: rgba(255,255,255,0.3);
  font-size: 80px;
  font-weight: 800;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}

.w3l-clients-right {
  padding: 40px;
  background: #fff;
  box-shadow: 0 5px 30px rgba(0,0,0,0.08);
  border-radius: 8px;
}

/* FlexSlider testimonial */
.flexslider .slides li {
  padding: 20px;
}

.flexslider .slides img {
  width: 70px !important;
  height: 70px !important;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--up-orange);
  margin-bottom: 15px;
}

.flexslider .slides p {
  font-size: 15px;
  color: var(--up-text);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 15px;
}

.client h5 {
  font-size: 16px;
  color: var(--up-orange);
  font-weight: 700;
  letter-spacing: 1px;
}

/* ---- PRICING ---- */
.pricing {
  padding: 80px 0;
  background: var(--up-dark);
}

.pricing-grid {
  padding: 15px;
  margin-bottom: 30px;
}

.w3ls-bottom {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 35px 25px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.w3ls-bottom::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--up-orange);
  border-radius: 10px 10px 0 0;
}

.w3ls-bottom:hover {
  background: rgba(255,102,0,0.1);
  border-color: var(--up-orange);
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(255,102,0,0.25);
}

.grid-two .w3ls-bottom::before { background: var(--up-gold); }
.grid-three .w3ls-bottom::before { background: #47cf73; }
.grid-four .w3ls-bottom::before { background: #58d3f3; }

.w3ls-bottom h3 {
  font-size: 17px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.w3ls-bottom ul.count {
  margin-bottom: 25px;
}

.w3ls-bottom ul.count li {
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  letter-spacing: 1px;
}

.w3ls-bottom h4 {
  font-size: 40px;
  color: var(--up-orange);
  font-weight: 800;
  margin: 20px 0;
}

.w3ls-bottom h4 .sup {
  font-size: 40px;
}

.w3ls-bottom .more a {
  background: var(--up-orange);
  color: #fff !important;
  padding: 12px 30px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: inline-block;
  border: 2px solid var(--up-orange);
  transition: all 0.3s ease;
}

.w3ls-bottom .more a:hover {
  background: transparent;
  color: var(--up-orange) !important;
}

/* ---- TEAM ---- */
.team {
  background: var(--up-light);
  padding: 80px 0;
}

.bodr-img {
  background: var(--up-dark);
  border-radius: 10px;
  padding: 35px 30px;
  border-left: 4px solid var(--up-orange);
  height: 100%;
}

.bodr-img h4 {
  font-size: 22px;
  color: var(--up-orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.bodr-img p {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.9;
}

.img-box {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  text-align: center;
}

.img-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(255,102,0,0.2);
}

.img-box img,
.team-list-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.img-box ul {
  padding: 20px;
}

.img-box ul li h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--up-dark);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.img-box ul li h6 {
  font-size: 12px;
  color: var(--up-orange);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 4px;
}

.pt-md { margin-top: 30px; }

/* ---- CONTACT ---- */
.contact {
  background: var(--up-dark2);
  padding: 80px 0;
}

.contact .title { color: #fff; }

.contact-form input[type="text"],
.contact-form input[type="email"] {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  padding: 16px 20px;
  border-radius: 5px;
  font-size: 14px;
  margin-bottom: 16px;
  letter-spacing: 1px;
  transition: border-color 0.3s;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus {
  border-color: var(--up-orange);
  outline: none;
  background: rgba(255,102,0,0.07);
}

.contact-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  padding: 16px 20px;
  border-radius: 5px;
  font-size: 14px;
  margin-bottom: 16px;
  height: 140px;
  resize: vertical;
  letter-spacing: 1px;
  transition: border-color 0.3s;
}

.contact-form textarea:focus {
  border-color: var(--up-orange);
  outline: none;
}

.contact-form input[type="submit"] {
  background: var(--up-orange);
  color: #fff;
  padding: 15px 45px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 5px;
}

.contact-form input[type="submit"]:hover {
  background: var(--up-orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,102,0,0.4);
}

/* placeholder colours */
.contact-form ::placeholder { color: rgba(255,255,255,0.45); }

/* ---- FOOTER ---- */
.footer {
  background: var(--up-dark);
  padding: 60px 0 30px;
}

.wthree-left-right h4 {
  font-size: 16px;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--up-orange);
  display: inline-block;
}

.abt-footer p {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 12px;
}

.abt-footer h5 a {
  color: var(--up-orange);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.wls-hours-list ul li {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex;
}

.wls-hours-list .time {
  color: var(--up-orange);
  font-weight: 600;
  margin-left: auto;
}

.addres-up ul li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 14px;
}

.addres-up ul li .icons-left,
.addres-up ul li .fa {
  color: var(--up-orange);
  font-size: 16px;
  width: 24px;
  margin-right: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}

.addres-up ul li p, .addres-up ul li a {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  line-height: 1.6;
  text-decoration: none;
}

.addres-up ul li a:hover { color: var(--up-orange); }

.icons ul {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.icons ul li a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.3s;
}

.icons ul li a:hover {
  background: var(--up-orange);
  border-color: var(--up-orange);
  transform: translateY(-3px);
}

.contact-map iframe {
  width: 100%;
  height: 180px;
  border-radius: 8px;
  border: 2px solid rgba(255,102,0,0.3);
}

footer {
  background: #0d0d1a;
  text-align: center;
  padding: 20px;
  border-top: 2px solid var(--up-orange);
}

footer p {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  letter-spacing: 1px;
}

footer p a {
  color: var(--up-orange);
  font-weight: 600;
}

/* ---- WHATSAPP FLOATING BUTTON ---- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  width: 60px; height: 60px;
  background: var(--up-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 25px rgba(37,211,102,0.5);
  text-decoration: none;
  transition: all 0.3s ease;
  animation: pulse-green 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 35px rgba(37,211,102,0.7);
  background: #1ebe5d;
}

.whatsapp-float svg {
  width: 32px; height: 32px;
  fill: #fff;
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--up-dark);
  color: #fff;
  padding: 8px 14px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  letter-spacing: 1px;
  border-left: 3px solid var(--up-whatsapp);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

@keyframes pulse-green {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---- MODAL ---- */
.modal-content {
  border-radius: 10px;
  border: none;
  background: var(--up-dark);
}

.modal-header {
  background: var(--up-orange);
  border-radius: 10px 10px 0 0;
  padding: 20px 25px;
}

.modal-header h4 {
  color: #fff;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 16px;
}

.modal-header .close {
  color: #fff;
  opacity: 0.8;
}

.styled-input input,
.styled-input textarea,
.styled-input select {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  padding: 14px 18px;
  border-radius: 5px;
  font-size: 14px;
  margin-bottom: 14px;
  letter-spacing: 1px;
  transition: border-color 0.3s;
  font-family: 'Montserrat', sans-serif;
}

.styled-input input:focus,
.styled-input textarea:focus,
.styled-input select:focus {
  border-color: var(--up-orange);
  outline: none;
}

.styled-input select option { background: var(--up-dark); color: #fff; }

.register-form input[type="submit"] {
  background: var(--up-orange);
  color: #fff;
  padding: 14px 30px;
  width: 100%;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
  font-family: 'Montserrat', sans-serif;
}

.register-form input[type="submit"]:hover {
  background: var(--up-orange-dark);
}

.modal-footer {
  background: rgba(0,0,0,0.3);
  border-top: 1px solid rgba(255,255,255,0.1);
  border-radius: 0 0 10px 10px;
}

.modal-footer .btn-secondary {
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
}

.modal-footer .btn-primary {
  background: var(--up-orange);
  border: none;
}

.modal-body {
  padding: 25px;
}

/* ---- SCROLL TO TOP ---- */
#toTop {
  background: var(--up-orange) !important;
  border-radius: 50%;
  width: 45px; height: 45px;
  right: 30px;
  bottom: 100px;
  line-height: 45px;
  text-align: center;
  box-shadow: 0 3px 15px rgba(255,102,0,0.4);
}

#toTop:hover { background: var(--up-orange-dark) !important; }

/* ---- RESPONSIVE ---- */
@media (max-width: 991px) {
  .slider-info h4 { font-size: 28px; }
  .slider-info p  { font-size: 14px; }
  .slider-img     { min-height: 60vh; }
  .slider-info    { padding-top: 20vh; }
  .agile-abt-info { padding: 30px 15px; }
  .agile-info-img img { height: 280px; }
  .title          { font-size: 28px; }
  .stats-grid     { padding: 30px 10px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .counter        { font-size: 40px; }
}

@media (max-width: 767px) {
  .slider-info h4 { font-size: 22px; letter-spacing: 1px; }
  .slider-img     { min-height: 70vh; background-attachment: scroll !important; }
  .one-img, .two-img, .three-img { background-attachment: scroll; }
  .title          { font-size: 22px; letter-spacing: 2px; }
  .agile-abt-info h2 { font-size: 22px; }
  h1 a.navbar-brand  { font-size: 18px !important; }
  .wthree-clients-left { min-height: 200px; }
  nav.navbar.navbar-expand-lg.navbar-light { padding: 0.8em 1em; }
  .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
  .footer-agile-grids .col-lg-3 { margin-bottom: 30px; }
  .w3ls-bottom { margin-bottom: 20px; }
  .profile      { margin-bottom: 20px; }
}

@media (max-width: 480px) {
  .slider-info h4    { font-size: 18px; }
  .outs_more-buttn a { padding: 12px 24px; font-size: 12px; }
  .agile_gallery_grids img { height: 200px; }
  .contact-bothside-agileinfo .col-md-6 { width: 100%; }
}

/* ================================================
   PRODUCTS SECTION — Aluminium & Security
   ================================================ */

.products-section {
  background: var(--up-light);
  padding: 80px 0;
}

.products-intro {
  text-align: center;
  font-size: 16px;
  color: var(--up-text);
  max-width: 720px;
  margin: -20px auto 50px;
  line-height: 1.8;
  letter-spacing: 0.5px;
}

.products-grid {
  margin-bottom: 50px;
}

.product-card-wrap {
  margin-bottom: 30px;
}

.product-card {
  background: #fff;
  border-radius: 10px;
  padding: 35px 30px;
  height: 100%;
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--up-orange);
  border-radius: 10px 10px 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(255,102,0,0.18);
  border-color: rgba(255,102,0,0.2);
}

/* Featured middle card always has the bar */
.product-card--featured::before {
  transform: scaleX(1);
  background: var(--up-orange);
}

.product-icon {
  width: 60px; height: 60px;
  background: rgba(255,102,0,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background 0.3s;
}

.product-card:hover .product-icon,
.product-card--featured .product-icon {
  background: var(--up-orange);
}

.product-icon .fa {
  font-size: 26px;
  color: var(--up-orange);
  transition: color 0.3s;
}

.product-card:hover .product-icon .fa,
.product-card--featured .product-icon .fa {
  color: #fff;
}

.product-card h4 {
  font-size: 19px;
  font-weight: 700;
  color: var(--up-dark);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.product-card > p {
  font-size: 14px;
  color: var(--up-text);
  line-height: 1.85;
  margin-bottom: 22px;
}

.product-features {
  margin-bottom: 28px;
}

.product-features li {
  font-size: 13px;
  color: var(--up-text);
  padding: 7px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  letter-spacing: 0.5px;
}

.product-features li .fa {
  color: var(--up-orange);
  font-size: 13px;
  margin-right: 10px;
  flex-shrink: 0;
}

.product-cta a {
  display: inline-block;
  background: var(--up-orange);
  color: #fff !important;
  padding: 12px 28px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 2px solid var(--up-orange);
  transition: all 0.3s ease;
}

.product-cta a:hover {
  background: transparent;
  color: var(--up-orange) !important;
}

/* CTA Banner */
.products-cta-banner {
  background: var(--up-dark);
  border-radius: 10px;
  padding: 35px 40px;
  border-left: 5px solid var(--up-orange);
}

.products-cta-banner h4 {
  font-size: 20px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.products-cta-banner p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

.products-whatsapp-btn {
  display: inline-block;
  background: var(--up-whatsapp);
  color: #fff !important;
  padding: 14px 28px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.products-whatsapp-btn .fa {
  font-size: 20px;
}

.products-whatsapp-btn:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37,211,102,0.5);
  color: #fff !important;
}

@media (max-width: 991px) {
  .products-cta-banner { padding: 25px; }
  .products-cta-banner .col-lg-4 { margin-top: 20px; }
}

@media (max-width: 767px) {
  .products-intro { font-size: 14px; }
  .product-card { padding: 25px 20px; }
}

/* ================================================
   SERVICES SLIDER — 7 cards, slick dot/arrow fix
   ================================================ */
.service-video .slick-dots { bottom: -35px; }
.service-video .slick-dots li button:before { color: #FF6600; font-size: 10px; }
.service-video .slick-dots li.slick-active button:before { color: #FF6600; }
.service-video .slick-prev, .service-video .slick-next {
  z-index: 10;
  width: 38px; height: 38px;
  background: var(--up-orange);
  border-radius: 50%;
}
.service-video .slick-prev { left: -18px; }
.service-video .slick-next { right: -18px; }
.service-video .slick-prev:before,
.service-video .slick-next:before { font-size: 18px; color: #fff; }
.service-video .slick-prev:hover,
.service-video .slick-next:hover { background: var(--up-orange-dark); }
.service-video .center { padding-bottom: 50px; }

/* Gallery grid — 12 photos, consistent height */
.agile_gallery_grids .agile_gallery_grid { margin-bottom: 24px; }

/* ================================================
   PRICING — match Products section font colours
   ================================================ */
.pricing--light {
  background: var(--up-light);
}

.pricing--light .title {
  color: var(--up-dark);
}

.pricing--light .title::after {
  background: var(--up-orange);
}

.pricing--light .w3ls-bottom {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.pricing--light .w3ls-bottom h3 {
  color: var(--up-dark);
  border-bottom-color: rgba(0,0,0,0.08);
}

.pricing--light .w3ls-bottom ul.count li {
  color: var(--up-text);
  border-bottom-color: rgba(0,0,0,0.06);
  font-size: 13px;
}

.pricing--light .w3ls-bottom h4 {
  color: var(--up-orange);
}

.pricing--light .w3ls-bottom:hover {
  background: #fff;
  border-color: var(--up-orange);
  box-shadow: 0 14px 40px rgba(255,102,0,0.18);
}

/* The coloured "What it powers:" labels */
.pricing--light .w3ls-bottom ul.count li[style*="color:#FF6600"],
.pricing--light .w3ls-bottom ul.count li[style*="color:#FFC107"],
.pricing--light .w3ls-bottom ul.count li[style*="color:#47cf73"],
.pricing--light .w3ls-bottom ul.count li[style*="color:#58d3f3"] {
  font-weight: 700;
  color: var(--up-orange) !important;
}

/* ================================================
   HOME AUTOMATION SECTION — dark bg variant
   ================================================ */
.products-section--dark {
  background: var(--up-dark2);
  padding: 80px 0;
}

.title--dark-bg {
  color: #fff;
}

.title--dark-bg::after {
  background: var(--up-orange);
}

.products-intro--dark {
  color: rgba(255,255,255,0.75);
}

/* Dark product cards */
.product-card--dark {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: none;
}

.product-card--dark::before {
  background: var(--up-orange);
}

.product-card--dark:hover {
  background: rgba(255,102,0,0.1);
  border-color: var(--up-orange);
  box-shadow: 0 14px 40px rgba(255,102,0,0.25);
}

.product-card--featured-dark::before {
  transform: scaleX(1);
}

.product-icon--dark {
  background: rgba(255,102,0,0.15);
}

.product-card--dark:hover .product-icon--dark,
.product-card--featured-dark .product-icon--dark {
  background: var(--up-orange);
}

.product-card--dark h4 {
  color: #fff;
}

.product-card--dark > p {
  color: rgba(255,255,255,0.72);
}

.product-features--dark li {
  color: rgba(255,255,255,0.72);
  border-bottom-color: rgba(255,255,255,0.07);
}

/* Light CTA banner (for dark section) */
.products-cta-banner--light {
  background: rgba(255,255,255,0.06);
  border-left-color: var(--up-orange);
}

.products-cta-banner--light h4 {
  color: #fff;
}

.products-cta-banner--light p {
  color: rgba(255,255,255,0.7);
}

/* 4 cards per row on aluminium section */
#products .product-card-wrap {
  flex: 0 0 25%;
  max-width: 25%;
}

@media (max-width: 991px) {
  #products .product-card-wrap {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 575px) {
  #products .product-card-wrap {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ================================================
   GALLERY — consistent image sizing & filter tabs
   ================================================ */

/* Uniform image height for all gallery & service cards */
.gallery-img {
  width: 100%;
  height: 260px !important;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Service card images */
.w3ls-slide-img img {
  width: 100%;
  height: 230px !important;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* About section image */
.agile-info-img img {
  width: 100%;
  height: 440px !important;
  object-fit: cover;
  object-position: center;
}

/* Team images */
.img-box img,
.team-list-img img {
  width: 100%;
  height: 220px !important;
  object-fit: cover;
  object-position: top center;
}

/* Gallery filter tabs */
.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.gallery-tab {
  padding: 10px 24px;
  border: 2px solid var(--up-orange);
  background: transparent;
  color: var(--up-dark);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-tab:hover,
.gallery-tab.active {
  background: var(--up-orange);
  color: #fff;
}

/* Hide/show gallery items */
.agile_gallery_grid {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.agile_gallery_grid.hidden {
  display: none;
}

/* ================================================
   PRICING on light bg — card top bar colours
   ================================================ */
.pricing--light .grid-two .w3ls-bottom::before  { background: var(--up-gold); }
.pricing--light .grid-three .w3ls-bottom::before { background: #47cf73; }
.pricing--light .grid-four .w3ls-bottom::before  { background: #58d3f3; }

@media (max-width: 767px) {
  .gallery-img { height: 200px !important; }
  .w3ls-slide-img img { height: 190px !important; }
}
