@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&family=Inter:wght@400;500&display=swap');

:root{
  --blue:#1F6AE1;
  --blue-dark:#1554B8;
  --light:#F5F7FA;
  --dark:#0F172A;
  --white:#ffffff;
  --text:#475569;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Inter',sans-serif;
  background:var(--light);
  color:var(--text);
}

/* ================= HEADER ================= */

.site-header{
  background:#0F172A;
  padding:16px 8%;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.logo-wrap{
  display:flex;
  align-items:center;
  text-decoration:none;
}

.logo-wrap img{
  height:65px;
  width:auto;
  display:block;
}

/* NAVIGATION */
.nav-links a{
  margin-left:22px;
  text-decoration:none;
  color:#cbd5e1;
  font-weight:500;
}

.nav-links a:hover{
  color:white;
}

/* ================= HERO ================= */

.hero{
  background:linear-gradient(135deg,#1F6AE1,#2B7BFF);
  color:white;
  padding:100px 8%;
}

.hero h2{
  font-family:'Montserrat',sans-serif;
  font-size:44px;
}

.hero p{
  margin-top:15px;
  font-size:18px;
  max-width:600px;
}

.btn{
  display:inline-block;
  margin-top:35px;
  padding:14px 34px;
  background:white;
  color:var(--blue);
  border-radius:6px;
  text-decoration:none;
  font-weight:600;
}

/* ================= SECTION ================= */

section{
  padding:80px 8%;
}

.section-title{
  font-family:'Montserrat',sans-serif;
  font-size:32px;
  color:var(--dark);
  margin-bottom:40px;
  text-align:center;
}

/* ================= GRID ================= */

.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}

/* ================= CARD ================= */

.card{
  background:linear-gradient(180deg,#ffffff,#f8fafc);
  padding:40px 32px;
  border-radius:20px;
  text-align:center;
  position:relative;
  overflow:hidden;

  display:flex;
  flex-direction:column;
  align-items:center;

  box-shadow:
    0 15px 40px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.7);

  transition:
    transform 0.45s cubic-bezier(.2,.8,.2,1),
    box-shadow 0.45s ease;
}

.card::before{
  content:'';
  position:absolute;
  inset:0;
  border-radius:20px;
  padding:2px;
  background:linear-gradient(120deg,transparent,#1F6AE1,#2B7BFF,transparent);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;
          mask-composite:exclude;
  opacity:0;
  transition:opacity 0.45s ease;
}

.card:hover::before{
  opacity:1;
}

.card:hover{
  transform:translateY(-14px) rotateX(3deg);
  box-shadow:0 40px 80px rgba(31,106,225,0.28);
}

/* ================= IMAGE STANDARDIZATION ================= */

.card img,
.service-card img{
  display:block;
  margin:0 auto 20px;

  width:120px;
  height:120px;
  object-fit:cover;
  border-radius:16px;

  background:#f1f5f9;
  box-shadow:0 8px 20px rgba(0,0,0,0.08);

  transition:transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover img,
.service-card:hover img{
  transform:scale(1.06);
  box-shadow:0 14px 30px rgba(31,106,225,0.25);
}

/* ================= SERVICE BUTTON ================= */

.service-card a{
  display:inline-block;
  margin-top:18px;
  padding:12px 26px;
  background:var(--blue);
  color:white;
  border-radius:8px;
  text-decoration:none;
  font-weight:600;
  border:2px solid var(--blue);
  transition:all 0.3s ease;
}

.service-card a:hover{
  background:white;
  color:var(--blue);
  transform:translateY(-2px);
}

/* ================= GALLERY ================= */

.gallery{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.gallery img{
  width:100%;
  height:280px;
  object-fit:cover;
  border-radius:10px;
}

/* ================= FOOTER ================= */

footer{
  background:var(--dark);
  color:#cbd5e1;
  padding:45px 8%;
}

/* ================= WHATSAPP ================= */

.whatsapp{
  position:fixed;
  bottom:22px;
  right:22px;
  width:55px;
  height:55px;
  background:#25D366;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
}

.whatsapp img{
  width:30px;
}

/* ================= ABOUT PAGE ================= */

.about-hero{
  text-align:center;
  padding:90px 8% 70px;
}

.about-hero h1{
  font-family:'Montserrat',sans-serif;
  font-size:42px;
  color:var(--dark);
}

.about-main{
  padding:70px 8%;
}

.about-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
  align-items:center;
}

.about-image img{
  max-width:380px;
  aspect-ratio:4/5;
  object-fit:cover;
  border-radius:22px;
  box-shadow:0 22px 45px rgba(0,0,0,0.18);
}

/* ================= RESPONSIVE ================= */

@media(max-width:900px){
  .cards{
    grid-template-columns:1fr;
  }

  .about-grid{
    grid-template-columns:1fr;
  }
}

.card-link{
  text-decoration:none;
  color:inherit;
  display:block;
}
/* Ensure equal height & vertical alignment */
.card,
.service-card{
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Push Enquire button to same vertical position */
.card a,
.service-card a{
  margin-top: auto;      /* key line for centering */
  margin-bottom: 10px;  /* optional spacing */
}

/* Button styling (border + hover retained) */
.service-card a{
  display:inline-block;
  padding:12px 26px;
  background:var(--blue);
  color:white;
  border-radius:8px;
  text-decoration:none;
  font-weight:600;
  border:2px solid var(--blue);

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.2s ease;
}

.service-card a:hover{
  background:white;
  color:var(--blue);
  transform:translateY(-2px);
}
/* PRODUCT & SERVICE CARD CONTAINER */
.service-card{
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;

  box-shadow:
    0 15px 40px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.7);

  transition:
    transform 0.45s cubic-bezier(.2,.8,.2,1),
    box-shadow 0.45s ease;
}

/* Hover lift */
.service-card:hover{
  transform: translateY(-10px);
  box-shadow:
    0 35px 70px rgba(31,106,225,0.25),
    inset 0 1px 0 rgba(255,255,255,0.9);
    /* space between text & Enquire button */


}
/* space between text & Enquire button */
.service-card p{
  margin-bottom: 22px;
}
/* ================= ABOUT PAGE (FIXED) ================= */

.about-hero{
  text-align:center;
  padding:80px 8% 60px;
}

.about-hero h1{
  font-family:'Montserrat',sans-serif;
  font-size:42px;
  color:var(--dark);
}

.about-hero p{
  margin-top:12px;
  font-size:18px;
  color:var(--text);
}

/* MAIN CONTENT */
.about-main{
  padding:60px 8%;
}

.about-grid{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap:60px;
  align-items:center;
}

.about-text h2{
  font-family:'Montserrat',sans-serif;
  font-size:30px;
  color:var(--dark);
  margin-bottom:18px;
}

.about-text p{
  margin-bottom:16px;
  line-height:1.7;
  max-width:620px;
}

/* IMAGE */
.about-image{
  display:flex;
  justify-content:center;
}

.about-image img{
  width:100%;
  max-width:360px;
  aspect-ratio:4 / 5;
  object-fit:cover;
  border-radius:22px;
  box-shadow:0 22px 45px rgba(0,0,0,0.18);
}

/* VALUES SECTION */
.about-values{
  padding:70px 8%;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:32px;
}

.about-values .value-card{
  background:white;
  padding:34px 28px;
  border-radius:18px;
  text-align:center;

  box-shadow:
    0 12px 30px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.7);

  transition:transform .35s ease, box-shadow .35s ease;
}

.about-values .value-card:hover{
  transform:translateY(-10px);
  box-shadow:0 30px 60px rgba(31,106,225,.22);
}

/* CTA */
.about-cta{
  margin-top:40px;
  text-align:center;
  padding:90px 8%;
  background:linear-gradient(135deg,#1F6AE1,#2B7BFF);
  color:white;
}

.about-cta h2{
  font-family:'Montserrat',sans-serif;
  font-size:36px;
  margin-bottom:14px;
}

.about-cta p{
  max-width:650px;
  margin:0 auto 30px;
}

/* RESPONSIVE */
@media(max-width:900px){
  .about-grid{
    grid-template-columns:1fr;
    text-align:center;
  }

  .about-text p{
    margin-left:auto;
    margin-right:auto;
  }

  .about-values{
    grid-template-columns:1fr;
  }
}
/* ================= MOBILE FIX (IMPORTANT) ================= */
@media (max-width: 768px){

  /* HEADER FIX */
  .site-header{
    flex-direction: column;
    padding: 12px 4%;
  }

  .logo-wrap img{
    height: 55px;
  }

  .nav-links{
    width: 100%;
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
  }

  .nav-links a{
    margin: 0;
    font-size: 15px;
  }

  /* SECTION SPACING FIX */
  section{
    padding: 45px 5%;
  }

  /* CARDS FIX */
  .cards{
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .card{
    padding: 28px 22px;
  }

  /* BUTTON FIX */
  .card a,
  .service-card a{
    font-size: 15px;
    padding: 12px 28px;
  }

  /* REMOVE BOTTOM EMPTY GAP */
  body{
    overflow-x: hidden;
  }

  /* WHATSAPP FIX */
  .whatsapp{
    width: 65px;
    height: 65px;
    bottom: 18px;
    right: 18px;
  }

  .whatsapp img{
    width: 34px;
  }
}
/* ================= MOBILE FIXES ================= */
@media (max-width: 768px) {

  /* HEADER */
  .site-header{
    flex-direction: column;
    padding: 14px 5%;
  }

  .logo-wrap img{
    height: 52px;
    margin-bottom: 8px;
  }

  .nav-links{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .nav-links a{
    margin: 0;
    font-size: 14px;
  }

  /* HERO SECTION */
  .hero{
    padding: 70px 6%;
    text-align: center;
  }

  .hero h2{
    font-size: 30px;
    line-height: 1.2;
  }

  .hero p{
    font-size: 16px;
    margin-top: 12px;
  }

  .btn{
    margin-top: 25px;
    padding: 12px 28px;
    font-size: 15px;
  }

  /* SERVICES & PRODUCTS GRID */
  .cards{
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .card{
    padding: 30px 24px;
  }

  .card img{
    width: 110px;
    height: 110px;
  }

  /* FIX ENQUIRE BUTTON POSITION */
  .service-card a,
  .card a{
    margin-top: 18px;
  }

  /* ABOUT PAGE FIX */
  .about-grid{
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-image img{
    max-width: 100%;
  }

  /* WHY CHOOSE US */
  .about-values{
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* GALLERY */
  .gallery{
    grid-template-columns: 1fr 1fr;
  }

  .gallery img{
    height: 220px;
  }

  /* WHATSAPP BUTTON */
  .whatsapp{
    width: 60px;
    height: 60px;
  }

  .whatsapp img{
    width: 32px;
  }
}
/* ================= MOBILE FIX : SERVICES PAGE ================= */
@media (max-width: 768px) {

  section {
    padding: 40px 16px;
  }

  .section-title {
    font-size: 26px;
    margin-bottom: 28px;
  }

  /* Cards stack properly */
  .cards {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .card {
    padding: 28px 22px;
    border-radius: 18px;
  }

  .card img {
    width: 100px;
    height: 100px;
    margin-bottom: 14px;
  }

  .card h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .card p {
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 18px;
  }

  /* Enquire button size */
  .service-card a,
  .card a {
    width: 100%;
    text-align: center;
    padding: 14px 0;
    font-size: 15px;
  }

  /* Remove huge empty space at bottom */
  body {
    padding-bottom: 80px;
  }

  /* WhatsApp icon bigger on phone */
  .whatsapp {
    width: 60px;
    height: 60px;
    bottom: 18px;
    right: 18px;
  }

  .whatsapp img {
    width: 34px;
  }
}
