:root{
  --primary:#1f3c88;
  --secondary:#4a69bd;
  --accent:#00bcd4;
  --light:#f4f7fb;
  --dark:#0f172a;
}

/* GLOBAL RESET */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Poppins',sans-serif;
  background:var(--light);
  color:#222;
}

/* GLOBAL IMAGE FIX (IMPORTANT) */
img{
  max-width:100%;
  height:auto;
  display:block;
}

/* HEADER */
header{
  background:linear-gradient(90deg,var(--primary),var(--secondary));
  color:#fff;
  padding:15px 20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
}

nav a{
  color:#fff;
  margin:10px;
  text-decoration:none;
  font-weight:500;
}

/* HERO */
.hero{
  position:relative;
  height:90vh;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#fff;
}

/* SLIDER */
.slider{
  position:absolute;
  inset:0;
  z-index:0;
}

.slide{
  position:absolute;
  width:100%;
  height:100%;
  background-size:cover;
  background-position:center;
  opacity:0;
  transition:1s ease-in-out;
}

.slide.active{
  opacity:1;
}

/* HERO OVERLAY */
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.6);
  z-index:1;
}

.hero-content{
  position:relative;
  z-index:2;
  padding:20px;
}

/* BUTTONS */
.btn{
  background:var(--accent);
  padding:10px 20px;
  border-radius:25px;
  color:#fff;
  display:inline-block;
  margin:10px;
  text-decoration:none;
  font-weight:500;
}

.btn-outline{
  border:2px solid #fff;
  background:transparent;
}

/* ABOUT */
.about{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:70px 40px;
  gap:40px;
  background:#ffffff;
  border-radius:20px;
  margin:40px;
  flex-wrap:wrap;
  box-shadow:0 10px 25px rgba(0,0,0,0.05);
}

/* TEXT AREA */
.about-text{
  flex:1;
  min-width:280px;
}

/* MAIN TITLE */
.about-title{
  font-size:36px;
  font-weight:700;
  color:var(--primary);
  margin-bottom:10px;
  position:relative;
}

/* UNDERLINE EFFECT */
.about-title::after{
  content:"";
  width:60px;
  height:4px;
  background:var(--accent);
  position:absolute;
  left:0;
  bottom:-8px;
  border-radius:10px;
}

/* SUB TITLE */
.about-subtitle{
  font-size:22px;
  color:var(--secondary);
  margin:20px 0 10px;
  font-weight:600;
}

/* PARAGRAPH */
.about-para{
  font-size:16px;
  line-height:1.8;
  color:#444;
  margin-bottom:15px;
}

/* IMAGE FIX */
.about img{
  width:100%;
  max-width:420px;
  height:320px;
  object-fit:cover;
  border-radius:15px;
  box-shadow:0 10px 25px rgba(0,0,0,0.15);
  transition:0.3s;
}

/* IMAGE HOVER */
.about img:hover{
  transform:scale(1.03);
}

/* MOBILE */
@media(max-width:768px){
  .about{
    flex-direction:column;
    text-align:center;
    padding:30px;
  }

  .about-title::after{
    left:50%;
    transform:translateX(-50%);
  }

  .about-subtitle{
    font-size:18px;
  }

  .about img{
    max-width:320px;
    height:220px;
  }
}

/* PRODUCTS */
.products{
  padding:60px 20px;
  background:#e3f2fd;
}

/* TITLE STYLE */
.products .title{
  text-align:center;
  font-size:34px;
  color:var(--primary);
  margin-bottom:30px;
  font-weight:700;
  letter-spacing:1px;
}

/* GRID LAYOUT */
.product-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
  gap:20px;
  max-width:1000px;
  margin:auto;
}

/* PRODUCT CARD */
.product-card{
  background:#fff;
  padding:18px;
  border-radius:12px;
  text-align:center;
  font-size:16px;
  font-weight:500;
  box-shadow:0 5px 15px rgba(0,0,0,0.08);
  transition:0.3s;
  border-left:5px solid var(--accent);
}

/* HOVER EFFECT */
.product-card:hover{
  transform:translateY(-6px);
  background:#f8fbff;
}

/* MOBILE */
@media(max-width:768px){
  .products .title{
    font-size:26px;
  }

  .product-card{
    font-size:14px;
  }
}

/* PRINCIPLES */
.principles{
  padding:50px;
  background:#f8fbff;
}

.principles .title{
  text-align:center;
  font-size:32px;
  color:var(--primary);
  margin-bottom:30px;
}

/* 3 COLUMN GRID */
.principles-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:25px;
}

.principle-card{
  background:#fff;
  padding:20px;
  border-radius:12px;
  text-align:center;
  box-shadow:0 5px 15px rgba(0,0,0,0.08);
  transition:0.3s;
}

.principle-card img{
  width:100%;
  height:180px;
  object-fit:cover;
  border-radius:10px;
  margin-bottom:10px;
}

.principle-card:hover{
  transform:translateY(-8px);
}

/* WHY SECTION (SURFACE STYLE) */
.why{
  padding:60px 20px;
  background:#f8fbff;
}

.why .title{
  text-align:center;
  font-size:32px;
  color:var(--primary);
  margin-bottom:30px;
}

.why-container{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
  gap:20px;
  padding:20px;
}

.why-box{
  background:#fff;
  padding:25px;
  border-radius:12px;
  text-align:center;
  box-shadow:0 5px 15px rgba(0,0,0,0.08);
  transition:0.3s;
}

.why-box:hover{
  transform:translateY(-8px);
}

.why-box span{
  font-size:30px;
}

.why-box h3{
  margin:10px 0;
  color:var(--primary);
}

/* STATS */
.stats{
  display:flex;
  justify-content:space-around;
  flex-wrap:wrap;
  background:var(--primary);
  color:#fff;
  padding:30px;
  text-align:center;
}

/* SECTION TITLE */
.section-title{
  font-size:34px;
  font-weight:700;
  text-align:center;
  color:var(--primary);
  margin-bottom:30px;
}

/* CONTACT WRAPPER */
.contact-container{
  display:flex;
  gap:30px;
  flex-wrap:wrap;
  padding:20px;
  justify-content:center;
}

/* CONTACT INFO BLOCK */
.contact-info{
  flex:1;
  min-width:280px;
  background:linear-gradient(135deg,var(--primary),var(--secondary));
  color:#fff;
  padding:25px;
  border-radius:12px;
}

/* SPACE BETWEEN BLOCKS */
.contact-info p{
  margin-bottom:18px;   /* ✅ GAP BETWEEN SECTIONS */
  line-height:1.6;
}

/* LINKS */
.contact-info a{
  color:#fff;
  font-weight:600;
  text-decoration:none;
}

.contact-info a:hover{
  text-decoration:underline;
}

/* FORM BLOCK */
.contact-form{
  flex:1;
  min-width:280px;
  background:#fff;
  padding:25px;
  border-radius:12px;
  box-shadow:0 10px 20px rgba(0,0,0,0.1);
}

/* FORM INPUTS */
.contact-form input,
.contact-form textarea{
  width:100%;
  padding:12px;
  margin-bottom:15px;
  border:1px solid #ddd;
  border-radius:8px;
}

/* BUTTON */
.contact-form button{
  width:100%;
  padding:12px;
  background:var(--accent);
  color:#fff;
  border:none;
  border-radius:25px;
  cursor:pointer;
  font-size:16px;
}

/* MOBILE */
@media(max-width:768px){
  .section-title{
    font-size:26px;
  }

  .contact-container{
    flex-direction:column;
  }
}

/* WHATSAPP */
.whatsapp-btn{
  position:fixed;
  bottom:20px;
  right:20px;
  background:#25D366;
  color:#fff;
  padding:12px 18px;
  border-radius:30px;
  text-decoration:none;
}

/* FOOTER */
footer{
  background:#0f172a;
  color:#bbb;
  text-align:center;
  padding:20px;
}

/* ANIMATION */
.reveal{
  opacity:0;
  transform:translateY(40px);
  transition:0.8s;
}

.reveal.active{
  opacity:1;
  transform:translateY(0);
}

/* MOBILE RESPONSIVE */
@media(max-width:768px){

  header{
    flex-direction:column;
    text-align:center;
  }

  nav{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
  }

  .about{
    flex-direction:column;
    text-align:center;
    padding:30px;
  }

  .about img{
    max-width:320px;
    height:220px;
  }

  .principles-grid{
    grid-template-columns:1fr;
  }

  .stats{
    flex-direction:column;
    gap:15px;
  }

  .why-surface p{
    font-size:15px;
    flex-wrap:wrap;
  }
}
