@tailwind base;
@tailwind components;
@tailwind utilities;

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

.animate-fade {
  animation:fade 1s ease;
}

body {
  font-family: 'Noto Kufi Arabic', sans-serif;
}

.main-header {
  position:absolute;
  top:24px;
  left:0;
  width:100%;
  display:flex;
  justify-content:center;
  z-index:50;
}

.header-container {
  width:92%;
  margin:auto;
  max-width:1280px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:13px 85px;
  background:rgba(35,35,35,0.7);
  border:1px solid rgba(70,70,70,0.6);
  border-radius:999px;
  backdrop-filter:blur(6px);
  flex-direction: row-reverse;
}

.logo {
  height:40px;
}

.nav-menu {
  display:flex;
  gap:50px;
  font-size:14px;
  color:white;
  padding:0;
}

.nav-link {
  position:relative;
  padding-bottom:6px;
  transition:0.3s;
}

.nav-link:hover {
  color:#ECBD60;
}

.nav-link.active {
  color:#ECBD60;
}

.nav-link.active::after {
  content:"";
  position:absolute;
  bottom:-6px;
  right:0;
  width:100%;
  height:2px;
  background:#ECBD60;
  border-radius:10px;
}

.header-btn {
  background:#ECBD60;
  color:black;
  padding:8px 24px;
  border-radius:999px;
  font-size:14px;
}

.menu-btn {
  display:none;
  font-size:26px;
  color:white;
}

/* Mobile menu link styles */
#mobileMenu {
  z-index: 100 !important;
}

#mobileMenu .nav-link {
  position: relative;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

#mobileMenu .nav-link:hover,
#mobileMenu .nav-link.active {
  color: #ECBD60;
  background: rgba(236, 189, 96, 0.1);
  font-weight: 600;
}

#mobileMenu .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  width: 40px;
  height: 2px;
  background: #ECBD60;
  border-radius: 10px;
}

/* Hide home slider arrows when mobile navigation menu is open */
body.menu-open .slider-arrow,
#mobileMenu:not(.hidden) ~ .hero-slider .slider-arrow {
  display: none !important;
}

@media(max-width:1024px){
 .nav-menu{
  gap:30px;
 }
  .h-screen {
    height: 79vh;
}

}

@media(max-width:790px){
   .nav-menu {display:none;}
  .header-btn {display:none;}
  .menu-btn {display:block;}

.w-\[85\%\] {
    width: 100%;
}

 .md\:grid-cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
       
}


}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  height:65vh; 
  overflow: hidden;
}

.slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slide.active {
  opacity: 1;
}


.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  padding-top: 90px;
  z-index: 2;
}

.hero-content {
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
}

.SAMEEM {
  font-size: clamp(28px, 6vw, 56px);
  font-weight: 400;
  color: #ECBD60;
}

.hero-content h2 {
  font-size: clamp(22px, 4.5vw, 46px);
  line-height: 1.4;
}
.hero-content p {
  font-size: clamp(12px, 2.5vw, 14px);
  line-height: 1.6;
}


.buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

.btn {
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 14px;
}

.primary {
  background: #ECBD60;
  color: black;
}

.secondary {
  background: white;
  color: black;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #ECBD60;
  color: #ECBD60;
  background: rgba(20, 20, 20, 0.45);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.3s ease;
}

.slider-arrow svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  display: block;
}

.slider-arrow:hover {
  background: #ECBD60;
  color: black;
  box-shadow: 0 0 15px rgba(236, 189, 96, 0.5);
  transform: translateY(-50%) scale(1.05);
}

.left-arrow { left: 15%; }
.right-arrow { right: 15%; }

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  gap: 10px;

  z-index: 10;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #aaa;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #ECBD60;
  width: 18px;
  border-radius: 20px;
}


.hero-content {
  animation: fadeUp 1s ease;
}

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


@media (max-width: 768px) {

  .hero-overlay {
    padding-top: 100px;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Safe padding so mobile slider arrows at left/right edges never overlap text */
  .hero-content {
    padding-left: 48px;
    padding-right: 48px;
    gap: 14px;
  }

  .hero-content h2 {
    font-size: 26px; /* increased font size for better readability */
    line-height: 1.45;
  }

  .SAMEEM {
    font-size: 32px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .slider-arrow {
    width: 36px;
    height: 36px;
  }

  .slider-arrow svg {
    width: 18px;
    height: 18px;
  }

  .left-arrow { left: 8px; }
  .right-arrow { right: 8px; }

}

@media (max-width: 480px) {

  .hero-overlay {
    padding-top: 105px;
  }

  .hero-content {
    padding-left: 42px;
    padding-right: 42px;
    gap: 12px;
  }

  .hero-content h2 {
    font-size: 23px; /* increased from 20px for better readability */
    line-height: 1.45;
  }

  .SAMEEM {
    font-size: 28px; /* increased from 26px */
  }

  .slider-dots {
    bottom: 15px;
  }

  .slider-arrow {
    width: 34px;
    height: 34px;
  }

  .slider-arrow svg {
    width: 16px;
    height: 16px;
  }

  .left-arrow { left: 5px; }
  .right-arrow { right: 5px; }

}
/*  */
.we-are {
  background-color:#ECBD60;
  color:#1E180C;
  padding:0.5rem 2rem;
  border-radius:25px 25px 0 0;
}

.why-upvc {
  background-image:url("images/background.png");
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  padding:120px 0;
  position:relative;
}
.allcart{
  margin-top: -6rem;
}

.transform-home {
  background-image:url("images/Banner.png");
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  height:530px;
  display:flex;
  align-items:center;
  position:relative;
}

.transform-home .container {
  width:100%;
  max-width:1200px;
  margin:auto;
  padding:0 20px;
  position:relative;
  display:flex;
  justify-content:flex-start;
}

.transform-content {
  max-width:750px;
  color:white;
  animation:fadeUp 1s ease;
}

.transform-content h2 {
  font-size:44px;
  font-weight:700;
  line-height:1.4;
  margin-bottom:15px;
  color:#ECBD60;
}

.transform-content p {
  width:60%;
  color:#E5E5E5;
  margin:30px 0;
  font-size:16px;
  font-weight:400;
}

.gold-btn {
  background:#ECBD60;
  color:#000;
  padding:10px 26px;
  border-radius:10px;
  font-weight:700;
  display:inline-block;
  transition:.3s;
}

.gold-btn:hover {transform:translateY(-3px);}

@media(max-width:900px){
  .transform-home {height:360px;}
  .transform-home .container {
    justify-content:center;
    text-align:center;
  }
  .transform-content {max-width:90%;}
  .transform-content h2 {font-size:28px;}
  .transform-content p {
    width: 95%;
    text-align: center;
}
}

@media(max-width:500px){
  .transform-home {height:320px;}
  .transform-content h2 {font-size:24px;}
  .transform-content {
    margin-top:-3rem;
  }
}

.solutions-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
  max-width:1100px;
  margin:auto;
}

.solution-card {
  background:#fff;
  padding:35px 25px;
  border:1px solid #ECBD60;
  border-radius:10px;
  text-align:center;
  transition:.3s;
  opacity:0;
  transform:translateY(30px);
  animation:fadeUp .8s forwards;
}

.solution-card:nth-child(2){animation-delay:.2s;}
.solution-card:nth-child(3){animation-delay:.4s;}

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

.solution-card h3 {
  font-size:24px;
  font-weight:500;
  margin-bottom:30px;
  color:#2D2412;
}

.solution-card p {
  width:98%;
  margin:auto;
  font-size:18px;
  font-weight:400;
  color:#777;
}

@media(max-width:900px){.solutions-grid{grid-template-columns:1fr 1fr;}}
@media(max-width:600px){
  .solutions-grid{grid-template-columns:1fr;}
  .solutions-header h2{font-size:26px;}
}

.process-section {
  padding:120px 0;
  background:#fff;
}

.process-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  align-items:center;
  max-width:1200px;
  margin:auto;
  padding:0 20px;
}

.process-image {width:88%;}
.process-image img {width:100%; border-radius:12px;}

.process-steps {
  display:flex;
  flex-direction:column;
  gap:22px;
  text-align: right;
}

.process-step {
  display:flex;
  gap:18px;
  align-items:flex-start;
  text-align: right;
  opacity:0;
  transform:translateY(30px);
  animation:fadeUp .8s forwards;
}

.process-step:nth-child(2){animation-delay:.2s;}
.process-step:nth-child(3){animation-delay:.4s;}
.process-step:nth-child(4){animation-delay:.6s;}
.process-step:nth-child(5){animation-delay:.8s;}

.step-number {
  min-width:30px;
  height:30px;
  background:#ECBD60;
  color:#000;
  border-radius:25px 25px 0 0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  flex-shrink: 0;
}

.process-step > div {
  text-align: right;
}

.process-step h3 {
  font-size:20px;
  font-weight:500;
  margin-bottom:4px;
  color:#2D2412;
  text-align: right;
}

.process-step p {
  font-size:14px;
  color:#777;
  line-height:1.6;
  text-align: right;
}

@media(max-width:900px){
  .process-grid{
    grid-template-columns:1fr;
  }
  .process-image{
    order:2;
    width: 65%;
    margin: auto;
  }
  .process-content{
    order:1;
  }
  .process-steps {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
    text-align: right;
  }
  .process-step{
    justify-content: flex-start;
    text-align: right;
  }
  .process-step h3,
  .process-step p {
    text-align: right;
  }
}

@media(max-width:500px){
  .process-content h2{
    font-size:26px;
  }
  .process-step p {
    font-size: 12px;
    text-align: right;
  }
  .process-step h3 {
    font-size:17px;
    text-align: right;
  }
}

.comfort-section {
  background-image:url("../images/banner3.png");
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  min-height:420px;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
}

.comfort-overlay {
  background:rgba(0,0,0,0.80);
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:180px 20px;
}

.comfort-content {
  text-align:center;
  color:#fff;
  max-width:650px;
  animation:fadeUp 1s ease;
}

.comfort-content h2 {
  font-size:48px;
  font-weight:700;
  color:#ECBD60;
  margin-bottom:20px;
  line-height:1.4;
}

.comfort-content p {
  font-size:18px;
  font-weight:400;
  color:#E5E5E5;
  line-height:1.8;
  margin-bottom:30px;
}

.comfort-btn {
  background:#ECBD60;
  color:#2D2412;
  padding:12px 30px;
  border-radius:10px;
  font-weight:600;
  display:inline-block;
  transition:0.3s;
}

.comfort-btn:hover {
  transform:translateY(-3px);
  box-shadow:0 10px 20px rgba(0,0,0,0.2);
}

@media(max-width:900px){.comfort-content h2{font-size:30px;}}
@media(max-width:600px){
  .comfort-section{min-height:360px;}
  .comfort-content h2{font-size:24px;}
  .comfort-content p{font-size:14px;}
}

/*  Video  */

.video-section{
position:relative;
}



.video-top-bg{

background-image:url("images/image4.png");

background-size:cover;

background-position:center;

height:200px;

width:40%;
margin: auto;

}



.video-container{

max-width:900px;

margin:-120px auto 0; 

padding:0 20px;

border-radius:14px;

overflow:hidden;
animation:fadeUp 1s ease;

}

.video-container video{

width:100%;

display:block;

border-radius:14px;

}



@keyframes fadeUp{

from{
opacity:0;
transform:translateY(40px);
}

to{
opacity:1;
transform:translateY(0);
}

}



@media (max-width:900px){

.video-top-bg{
height:150px;
}

.video-container{
margin-top:-90px;
}

}

@media (max-width:600px){

.video-top-bg{
height:120px;
}

.video-container{
margin-top:-70px;
}

}
/*  */

/* customers */

.testimonials{
padding:120px 20px;
text-align:center;
}

.testimonials-header .badge{

background:#E6B45E;
padding:6px 18px;
border-radius:20px;
font-size:14px;
display:inline-block;
margin-bottom:15px;

}

.testimonials-header h2{

font-size:34px;
color:#2D2412;
margin-bottom:10px;

}

.testimonials-header p{

color:#777;
margin-bottom:70px;

}


.testimonial-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1000px;
  margin: auto;
  position: relative;
  gap: 24px;
}

.arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #ECBD60;
  background: #fff;
  color: #2D2412;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.arrow:hover {
  background: #ECBD60;
  color: #000;
  box-shadow: 0 4px 16px rgba(236,189,96,0.4);
  transform: scale(1.05);
}

.arrow svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
}

.testimonial-container {
  position: relative;
  width: 620px;
  min-height: 260px;
}

.gold-shape {
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 280px;
  height: 200px;
  background: #E6B45E;
  border-radius: 130px;
  z-index: 1;
}

.testimonial-slider {
  position: relative;
  width: 100%;
  min-height: 260px;
  z-index: 2;
}

.slide {
  position: absolute;
  width: 100%;
  opacity: 0;
  transform: scale(.95);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
  position: relative;
  pointer-events: auto;
}

.card {
  background: #fff;
  border-radius: 18px;
  padding: 55px 35px 35px;
  box-shadow: 0 20px 40px rgba(0,0,0,.08);
  text-align: center;
  position: relative;
  margin-top: 35px;
}

.avatar {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
  background: #2D2412;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card h3 {
  margin-top: 6px;
  font-size: 19px;
  font-weight: 700;
  color: #2D2412;
}

.card span {
  font-size: 13px;
  color: #888;
  display: block;
  margin-top: 2px;
}

.card p {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .testimonial-wrapper {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 0 8px;
  }

  .arrow {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
  }

  .testimonial-container {
    flex: 1;
    min-width: 0;
    max-width: 500px;
  }

  .gold-shape {
    right: -15px;
    bottom: -15px;
    width: 200px;
    height: 160px;
  }
}

@media (max-width: 600px) {
  .testimonial-wrapper {
    gap: 6px;
    padding: 0 4px;
  }

  .arrow {
    width: 34px;
    height: 34px;
  }

  .arrow svg {
    width: 16px;
    height: 16px;
  }

  .card {
    padding: 45px 14px 20px;
    width: 100%;
    margin-top: 35px;
  }

  .testimonials-header h2 {
    font-size: 26px;
  }
}

@media (max-width: 450px) {
  .card p {
    font-size: 13px;
    line-height: 1.7;
  }
}


/*  */



/* footer */
.footer {
  position: relative;
  background: url('images/Banner.png') center/cover no-repeat;
  color: #fff;
  overflow: hidden;
  font-family: "Cairo", sans-serif;
    margin-top:45px;
}

.footer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75); 
}

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

.footer-col.logo p {
  margin-top: 10px;
  margin-bottom: 12px;
}

.footer-col h4 {
  color: #E6B45E;
  margin-bottom: 15px;
}

.footer-col.footer-quick-links,
.footer-quick-links,
.quick-links-title {
  margin-top: 28px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
  color: #ccc;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: right;
}

.footer-col ul li.location-item {
  align-items: flex-start;
}

.footer-col ul li img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s ease;
  word-break: break-word;
}

.footer-col ul li a:hover {
  color: #ECBD60;
}

.logo h3 {
  color: #E6B45E;
  font-size: 22px;
  margin-bottom: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  position: relative;
  flex-wrap: wrap;
}
.footer-bottom .rights {
  order: 1;
  text-align: left;
}

.footer-bottom .social {
  order: 2;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

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

  .footer-col.footer-quick-links,
  .footer-quick-links {
    margin-top: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer-bottom .rights {
    text-align: center;
  }

  .footer-bottom .social {
    justify-content: center;
  }
  .footer-logo{
    margin: auto;
  }
  .footer-col ul li {
    flex-direction: row;
    justify-content: center;
    gap: 10px;
  }
}

@media (max-width: 576px) {
  .footer-container {
    padding: 50px 15px;
    gap: 30px;
  }

  .footer-col h4 {
    font-size: 16px;
  }

  .logo h3 {
    font-size: 20px;
  }

  .footer-col ul li {
    font-size: 14px;
  }

  .footer-bottom {
    padding: 15px;
  }

  .footer-bottom .social span {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }
}
/*  */

/*services */

.upvc-section{
padding:120px 20px;
text-align:center;
}

.section-title .badge{
background:#E6B45E;
color:#fff;
padding:6px 16px;
border-radius:20px;
font-size:13px;
display:inline-block;
margin-bottom:15px;
}

.section-title h2{
font-size:34px;
color:#2D2412;
margin-bottom:10px;

}

.section-title p{
color:#777;
max-width:600px;
margin:auto;
margin-bottom:80px;

}
.upvc-card{
background:#fff;
border-radius:200px;
max-width:700px;
margin:60px auto;
padding:60px 120px 60px 80px;
display:flex;
align-items:center;
justify-content:space-between;
position:relative;
box-shadow:0 20px 40px rgba(0,0,0,.08);

}

.upvc-card.reverse{

flex-direction:row-reverse;
padding:60px 80px 60px 120px;
}

.card-text{

max-width:420px;
text-align:right;
margin-right:3rem;

}
.card-text2{

max-width:420px;
text-align:right;
margin-left:auto;


}

.card-text h3{
font-size: 25px;
font-weight: 500;
color:#B18E48;
margin:10px 0;

}

.card-text p{
font-size: 16px;
font-weight: 400;
color: #666;
line-height:1.8;

}

.card-text2 h3{
font-size: 25px;
font-weight: 500;
color:#B18E48;
margin:10px 0;

}

.card-text2 p{
font-size: 16px;
font-weight: 400;
color: #666;
line-height:1.8;

}

.icon img{
width:28px;
margin-bottom:10px;
}

.card-image{
position:absolute;
top:50%;
transform:translateY(-50%);
right:-120px;
width:260px;
height:260px;

}

.upvc-card.reverse .card-image{
right:auto;
left:-120px;
}

.card-image img{

width:100%;
height:100%;
object-fit:cover;
border-radius:50%;
position:relative;
z-index:2;

animation:pulse 3s infinite ease-in-out;

}

.gold-ring{

position:absolute;
width:100%;
height:100%;
border-radius:50%;

top:0;
left:0;
z-index:1;

}

@keyframes pulse{

0%{
transform:scale(1);
}

50%{
transform:scale(1.08);
}

100%{
transform:scale(1);
}

}

@media(max-width:900px){

.upvc-card{

flex-direction:column;
padding:40px;
border-radius:40px;

}

.upvc-card.reverse{
flex-direction:column;
}

.card-image{

position:relative;
right:auto;
left:auto;
top:auto;
transform:none;
margin-top:30px;

}

.section-title h2{
font-size:26px;
}
}
@media(max-width:600px){
  .upvc-card.reverse .card-image,
  .upvc-card .card-image {
    right: auto;
    left: auto;
    position: relative;
    top: auto;
    transform: none;
    margin: 20px auto 0;
  }
  .upvc-card {
    padding: 30px 20px;
  }
  .card-text, .card-text2 {
    margin-right: 0;
    margin-left: 0;
    text-align: center;
  }
}

/* Global Mobile Typography Enhancement across all tabs */
@media(max-width:768px){
  .hero-content h2.text-\[35px\],
  h2.page-hero-title {
    font-size: 26px !important;
    line-height: 1.45 !important;
  }
  .section-title h2,
  .solutions-header h2,
  .testimonials-header h2 {
    font-size: 26px !important;
  }
}

@media(max-width:480px){
  .hero-content h2.text-\[35px\],
  h2.page-hero-title {
    font-size: 24px !important;
    line-height: 1.45 !important;
  }
}
/*  */
    .fade-up {
      opacity: 0;
      transform: translateY(40px);
      transition: all 0.8s ease;
    }

    .fade-up.show {
      opacity: 1;
      transform: translateY(0);
    }

.tab {
  padding: 8px 16px;
  border-radius: 8px;
  background: #f3f3f3;
  color: #333;
  font-size: 14px;
  transition: 0.3s;
}
.tab.active {
  background: #B18E48;
  color: white;
}
.tab:hover {
  background: #B18E48;
  color: white;
}


@media(max-width:1024px){
  .header-container {
    width: 97%;
}

}

/* Professional Lightbox Styling */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
  animation: fadeInLightbox 0.3s ease;
  padding: 20px;
}

#lightbox.flex {
  display: flex !important;
}

#lightbox.hidden {
  display: none !important;
}

@keyframes fadeInLightbox {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

#lightboxImg {
  max-width: 95vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: zoomIn 0.3s ease;
  display: block;
  min-width: 80%;
  min-height: 70%;
}

/* Navigation Buttons */
#prev, #next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  color: #ECBD60;
  border: 2px solid #ECBD60;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 65;
  backdrop-filter: blur(8px);
}

#prev:hover, #next:hover {
  background: #ECBD60;
  color: black;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 25px rgba(236, 189, 96, 0.4);
}

#prev {
  right: 20px;
}

#next {
  left: 20px;
}

/* Close Button */
#close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 2px solid white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 65;
  backdrop-filter: blur(8px);
}

#close:hover {
  background: white;
  color: black;
  transform: scale(1.1);
}

/* Image Counter */
.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 14px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.4);
  padding: 8px 16px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
  z-index: 65;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  #lightboxImg {
    max-width: 98vw;
    max-height: 90vh;
    border-radius: 8px;
    min-width: 85%;
    min-height: 60%;
  }

  #prev, #next {
    width: 42px;
    height: 42px;
    font-size: 22px;
  }

  #prev {
    right: 10px;
  }

  #next {
    left: 10px;
  }

  #close {
    width: 40px;
    height: 40px;
    font-size: 20px;
    top: 15px;
    right: 15px;
  }

  .lightbox-counter {
    font-size: 12px;
    padding: 6px 12px;
    bottom: 15px;
  }
}

@media (max-width: 480px) {
  #lightboxImg {
    max-width: 99vw;
    max-height: 88vh;
    min-width: 90%;
    min-height: 55%;
  }

  #prev, #next {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  #close {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
}

/* Form Validation Styles */
.input-error {
  border-color: #ef4444 !important;
  background-color: #fef2f2 !important;
  box-shadow: 0 0 0 1px #ef4444 !important;
}

.input-success {
  border-color: #10b981 !important;
  background-color: #f0fdf4 !important;
}

.field-error {
  animation: fieldFadeIn 0.25s ease-in-out;
  display: flex;
  align-items: center;
  gap: 4px;
}

.field-error.hidden {
  display: none !important;
}

@keyframes fieldFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

