
/* =========================
   TECH SHOWER PREMIUM CSS
========================= */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Poppins',sans-serif;
  scroll-behavior:smooth;
}

:root{
  --bg:#ffffff;
  --text:#111827;
  --card:#ffffff;
  --primary:#2563eb;
  --secondary:#3b82f6;
  --border:#e5e7eb;
  --shadow:0 10px 30px rgba(0,0,0,0.08);
}

.dark{
  --bg:#0f172a;
  --text:#f8fafc;
  --card:#111827;
  --primary:#3b82f6;
  --secondary:#60a5fa;
  --border:#1f2937;
  --shadow:0 10px 30px rgba(0,0,0,0.4);
}

body{
  background:var(--bg);
  color:var(--text);
  transition:.4s ease;
  overflow-x:hidden;
}

/* =========================
   LOADER
========================= */

#loader{
  position:fixed;
  inset:0;
  background:#0f172a;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

.loader-circle{
  width:60px;
  height:60px;
  border:5px solid rgba(255,255,255,.2);
  border-top:5px solid #fff;
  border-radius:50%;
  animation:spin 1s linear infinite;
}

@keyframes spin{
  to{
    transform:rotate(360deg);
  }
}

/* =========================
   HEADER
========================= */

.header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1000;

  display:flex;
  justify-content:space-between;
  align-items:center;

  padding:18px 8%;
  backdrop-filter:blur(15px);

  background:rgba(255,255,255,.85);
  border-bottom:1px solid rgba(255,255,255,.15);
}

.dark .header{
  background:rgba(15,23,42,.85);
}

.logo{
  font-size:26px;
  font-weight:800;
}

.logo span{
  color:var(--primary);
}

nav{
  display:flex;
  gap:28px;
}

nav a{
  color:var(--text);
  text-decoration:none;
  font-weight:500;
  transition:.3s;
}

nav a:hover{
  color:var(--primary);
}

.header-actions{
  display:flex;
  align-items:center;
  gap:12px;
}

.theme-btn,
.menu-btn{
  border:none;
  background:none;
  font-size:24px;
  cursor:pointer;
  color:var(--text);
}

.menu-btn{
  display:none;
}

/* =========================
   HERO
========================= */

.hero{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  position:relative;

  background:
  linear-gradient(
  rgba(2,6,23,.75),
  rgba(2,6,23,.75)),
  url("./b1.jpg");

  background-size:cover;
  background-position:center;
  overflow:hidden;
}

.hero-content{
  position:relative;
  z-index:5;
  max-width:900px;
  padding:20px;
}

.hero-badge{
  display:inline-block;
  padding:10px 20px;
  border-radius:999px;
  margin-bottom:25px;

  color:#fff;

  background:rgba(255,255,255,.1);
  backdrop-filter:blur(15px);
}

.hero h1{
  color:white;
  font-size:40px;
  line-height:1.15;
  margin-bottom:25px;
}

.hero h1 span{
  color:#60a5fa;
}

.hero p{
  color:#dbeafe;
  font-size:20px;
  line-height:1.8;
  margin-bottom:35px;
}

.hero-buttons{
  display:flex;
  justify-content:center;
  gap:20px;
  flex-wrap:wrap;
}

.primary-btn{
  text-decoration:none;
  padding:14px 28px;
  border-radius:10px;
  background:var(--primary);
  color:white;
  font-weight:600;
  transition:.3s;
}

.primary-btn:hover{
  transform:translateY(-4px);
}

.secondary-btn{
  text-decoration:none;
  padding:14px 28px;
  border-radius:10px;
  border:2px solid white;
  color:white;
  font-weight:600;
}

.secondary-btn:hover{
  background:white;
  color:black;
}
.project-viewer{
  display:none;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100vh;
  overflow-y:auto;
  z-index:9999;

  background:var(--bg);
  padding:40px;
}

.project-images{
  display:flex;
  flex-direction:column;
  gap:20px;
  max-width:1200px;
  margin:auto;
}

.project-images img{
  width:100%;
  border-radius:15px;
  border:1px solid var(--border);
}

.back-btn{
  border:none;
  background:var(--primary);
  color:white;
  padding:12px 20px;
  border-radius:10px;
  cursor:pointer;
  margin-bottom:20px;
}

#projectTitle{
  text-align:center;
  margin-bottom:30px;
}
/* =========================
   FLOATING SHAPES
========================= */

.floating-shapes span{
  position:absolute;
  border-radius:50%;
  background:rgba(255,255,255,.1);
  animation:float 10s infinite linear;
}

.floating-shapes span:nth-child(1){
  width:120px;
  height:120px;
  top:10%;
  left:10%;
}

.floating-shapes span:nth-child(2){
  width:180px;
  height:180px;
  bottom:10%;
  left:15%;
}

.floating-shapes span:nth-child(3){
  width:100px;
  height:100px;
  right:15%;
  top:20%;
}

.floating-shapes span:nth-child(4){
  width:220px;
  height:220px;
  right:10%;
  bottom:10%;
}
.contact-card a{
  text-decoration: none;
   color:var(--text);
}
.founder-card{
  max-width:1000px;
  margin:auto;
  display:flex;
  align-items:center;
  gap:40px;

  background:var(--card);
  border:1px solid var(--border);
  border-radius:20px;
  padding:40px;

  box-shadow:var(--shadow);
}

.founder-card img{
  width:220px;
  height:220px;
  object-fit:cover;
  border-radius:50%;
  border:4px solid var(--primary);
}

.founder-content h3{
  font-size:32px;
  margin-bottom:10px;
}

.founder-content h4{
  color:var(--primary);
  margin-bottom:20px;
}

.founder-content p{
  line-height:1.8;
  margin-bottom:15px;
}
.founder-tag{
  margin-top:25px;
  color:#cbd5e1;
  font-size:15px;
}
@media(max-width:768px){

  .founder-card{
    flex-direction:column;
    text-align:center;
  }

}
@keyframes float{
  50%{
    transform:translateY(-30px);
  }
}

/* =========================
   COMMON SECTION
========================= */

.section{
  padding:100px 8%;
}

.section-title{
  text-align:center;
  margin-bottom:60px;
}

.section-title h2{
  font-size:42px;
  margin-bottom:12px;
}

.section-title p{
  opacity:.8;
}

/* =========================
   STATS
========================= */

.stats{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:25px;

  padding:70px 8%;
}

.stat-card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:18px;
  padding:35px;
  text-align:center;
  box-shadow:var(--shadow);
}

.stat-card h3{
  font-size:40px;
  color:var(--primary);
}

/* =========================
   ABOUT
========================= */

.about-container{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
}

.about-text p{
  margin-bottom:20px;
  line-height:1.9;
}

.about-boxes{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}

.about-box{
  background:var(--card);
  border:1px solid var(--border);
  padding:25px;
  border-radius:16px;
  box-shadow:var(--shadow);
}

/* =========================
   SERVICES
========================= */

.service-container{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:25px;
}

.service-card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:18px;
  padding:35px;
  text-align:center;
  box-shadow:var(--shadow);
  transition:.3s;
}

.service-card:hover{
  transform:translateY(-10px);
}

.service-card .icon{
  font-size:45px;
  margin-bottom:20px;
}

.service-card h3{
  margin-bottom:15px;
}

/* =========================
   WHY US
========================= */

.why-container{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:25px;
}

.why-card{
  background:var(--card);
  border:1px solid var(--border);
  padding:30px;
  border-radius:18px;
  box-shadow:var(--shadow);
  transition:.3s;
}

.why-card:hover{
  transform:translateY(-10px);
}

/* =========================
   TECH STACK
========================= */

.tech-container{
  display:flex;
  flex-wrap:wrap;
  gap:15px;
  justify-content:center;
}

.tech-item{
  background:var(--card);
  border:1px solid var(--border);
  padding:14px 22px;
  border-radius:999px;
  box-shadow:var(--shadow);
}

/* =========================
   PROJECTS
========================= */

.project-container{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:30px;
}

.project-card{
  overflow:hidden;
  border-radius:20px;
  background:var(--card);
  border:1px solid var(--border);
  box-shadow:var(--shadow);
  transition:.3s;
}

.project-card:hover{
  transform:translateY(-10px);
}

.project-card img{
  width:100%;
  height:220px;
  object-fit:cover;
}

.project-content{
  padding:25px;
}

.project-content h3{
  margin-bottom:12px;
}

/* =========================
   CTA
========================= */

.cta{
  padding:100px 8%;
  text-align:center;

  background:linear-gradient(
  135deg,
  #2563eb,
  #3b82f6);
}

.cta h2{
  color:white;
  font-size:48px;
  margin-bottom:15px;
}

.cta p{
  color:white;
  margin-bottom:30px;
}

/* =========================
   CONTACT
========================= */

.contact-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:25px;
}

.contact-card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:18px;
  padding:35px;
  text-align:center;
  box-shadow:var(--shadow);
}

/* =========================
   FOOTER
========================= */

footer{
  text-align:center;
  padding:50px 20px;
  border-top:1px solid var(--border);
}

.footer-logo{
  font-size:28px;
  font-weight:800;
  margin-bottom:15px;
}

.footer-links{
  display:flex;
  justify-content:center;
  gap:20px;
  margin:20px 0;
  flex-wrap:wrap;
}

.footer-links a{
  text-decoration:none;
  color:var(--text);
}

.copyright{
  opacity:.7;
}

/* =========================
   SCROLL ANIMATION
========================= */

.reveal{
  opacity:0;
  transform:translateY(50px);
  transition:1s;
}

.reveal.active{
  opacity:1;
  transform:translateY(0);
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:992px){

  .hero h1{
    font-size:35px;
  }

  .about-container{
    grid-template-columns:1fr;
  }

}

@media(max-width:768px){

  nav{
    display:none;
    position:absolute;
    top:80px;
    left:0;
    width:100%;
    background:var(--card);
    flex-direction:column;
    padding:25px;
  }

  nav.active{
    display:flex;
  }

  .menu-btn{
    display:block;
  }

  .hero h1{
    font-size:30px;
  }

  .hero p{
    font-size:17px;
  }

  .section{
    padding:80px 5%;
  }

  .cta h2{
    font-size:34px;
  }

}
