/* ===== RESET & GLOBAL ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
      font-family: 'Poppins', sans-serif;
      color: #333;
      line-height: 1.6;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      scroll-behavior: smooth;
    }

.container { width: 90%; max-width: 1100px; margin: auto; }
.section { padding: 60px 0; text-align: center; }
.bg-light { background: #f9f9f9; }
h2 { color: #000ba7; margin-bottom: 20px; }

/* ===== BUTTON ===== */
.btn {
  background: #ffb400;
  color: #000;
  padding: 10px 25px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background 0.3s;
}
.btn:hover { background: #ffc933; }

/* ===== HEADER ===== */
header {
  background: #007c32;
  color: #fff;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo { font-size: 1.5em; font-weight: 600; }
.nav-links { display: flex; gap: 20px; list-style: none; }
.nav-links a { color: #fff; text-decoration: none; font-weight: 500; }
.menu-toggle {
  display: none;
  font-size: 1.8em;
  cursor: pointer;
  color: #fff;
}

/* ===== HERO ===== */
.hero {
  background: url('https://raw.githubusercontent.com/ShreyaEnterprises/shreyaenterprises.github.io/refs/heads/main/images/shreya-enterprises-site.jpg?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  height: 90vh;
  color: #fff;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.55);
}
.hero-content { position: relative; z-index: 1; }
.hero h2 { font-size: 2.2em; margin-bottom: 15px; color: #fff; }

/* ===== ABOUT ===== */
.about-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
  justify-content: center;
  align-items: flex-start;
}
.about {
  flex: 1 1 300px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.about-img { flex: 1 1 400px; }
.about-img img {
  width: 90%;
  height: 190px;
  border-radius: 8px;
  transition: transform 0.3s;
}

/* ===== TEAM ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.team-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.team-card img {
  border-radius: 50%;
  width: 100px;
  height: 100px;
  object-fit: cover;
}

/* ===== SERVICES ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}
.service-card {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}
.service-card:hover { transform: translateY(-5px); }

/* ===== PROJECTS ===== */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}
.project-card img { width: 100%; border-radius: 8px; transition: transform 0.3s; }
.project-card:hover img { transform: scale(1.03); }

/* ===== CONTACT ===== */
.contact-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
  justify-content: center;
  align-items: flex-start;
}
.contact-form {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contact-form input, .contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: none;
}
.map { flex: 1 1 400px; }

/* ===== FOOTER ===== */
/*footer {
      position: relative;
      background-color: #CC5500; 
      padding: 20px 0;
      color: #fff;
      overflow: visible;
    }
.footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  text-align: center;
}
.socials img {
  width: 24px;
  margin: 0 8px;
}

/* ===== SHREYA ICON FOOTER ABOVE ===== */
/*.shreya {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  padding: 0 6px;
  border-radius: 25px;
}
.shreya img {
  width: 70px;
  height: 35px;
  display: block;
}*/

/*=============================
   FOOTER (new design)
==============================*/
footer {
    background: #CC5500;
    padding: 30px 8% 15px;
    margin-top: 70px;
    position: relative;
    color: #111;
}

/* .footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 30px;
} */

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, max-content));
    justify-content: center;   /* 👈 pulls columns closer */
    column-gap: 30px;          /* 👈 horizontal spacing */
    row-gap: 10px;             /* vertical spacing */
}

.footer-col h3,
.footer-col h4 {
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-col p {
    color: #222;
    line-height: 1.5;
}

.footer-col ul {
    list-style: none;
    margin-top: 10px;
}

.footer-col ul li {
    margin: 7px 0;
}

.footer-col ul li a {
    text-decoration: none;
    color: #222;
    transition: .3s;
}

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

.social-icons a {
    background: #00000025;
    display: inline-block;
    padding: 8px 10px;
    border-radius: 6px;
    margin-right: 8px;
    transition: .3s;
}

.social-icons a:hover {
    background: #000;
    color: var(--saffron);
}

/* Bottom bar */
.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-weight: 600;
    padding-top: 20px;
    border-top: 1px solid #000;
}

.footer-col img {
    backdrop-filter: blur(6px);
    background: #ffff;
    border-radius: 8px;
    padding: 0.5px;
    box-shadow: 0 8px 11px rgba(0,0,0,0.12);
    border-top: 1px solid var(--saffron);
    transition: .4s ease;
    text-align: center;
    width: 180px;
}

.footer-bottom-text {
    text-align: center;
    margin-top: 8px;
    font-weight: 400;
    font-size: 12px;
}

.footer-bottom-text a {
    text-decoration: none;
    color: #222;
    transition: .3s;
}

.footer-bottom-text a:hover {
    color: #fff;
}






/* ===== ANIMATIONS ===== */
.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}
.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    background: #007c32;
    flex-direction: column;
    width: 200px;
    padding: 20px;
    border-radius: 8px;
  }
  .nav-links li {
    padding: 2px 0;
  }
  .nav-links a {
    padding: 6px 10px;
    border-radius: 6px;
  }
  .nav-links a:hover {
    background: rgba(255,255,255,0.2);
  }
  .nav-links.show { display: flex; }
  .menu-toggle { display: block; }
}

/* ===== LOGO SLIDER ===== */
.logo-slider {
  text-align: center;
  padding: 40px 0;
  background: #fff;
  overflow: hidden;
}

/* Slider container */
.slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* Track that moves logos */
.slide-track {
  display: flex;
  width: calc(250px * 16); /* 16 slides */
  animation: scroll 40s linear infinite;
}

/* Individual logo boxes */
.slide {
  width: 250px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.slide img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.slide img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* Animation for continuous scrolling */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 8)); /* Move by half track width */
  }
}

/* ===== CERTIFICATE SLIDER ===== */
.certificate-slider {
  text-align: center;
  padding: 40px 0;
  background: #fff;
  overflow: hidden;
}

/* Slider container */
.slider-cert {
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* Track that moves logos */
.slide-track-cert {
  display: flex;
  width: calc(250px * 16); /* 16 slides */
  animation: scroll 20s linear infinite;
}

/* Individual logo boxes */
.slide-cert {
  width: 250px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.slide-cert img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.slide-cert img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* =Shreya Construction Website on Home Page= */
/* ===== CARD (DESKTOP / TABLET) ===== */
.notify-card{
  background:#fff;
  border-radius:18px;
  box-shadow:0 12px 30px rgba(0,0,0,0.12);
  max-width:900px;
  margin:auto;
  padding:20px;
  display:flex;
  gap:20px;
  border-left:6px solid #00bfff; 
  align-items:center; /* vertical center */
}

/* Image (Desktop) */
.card-img img{
  width:150px;
  height:150px;
  object-fit:cover;
  border-radius:12px;
}

/* Content + Button wrapper for flex alignment */
.card-content-wrapper{
  display:flex;
  flex:1;
  align-items:center; /* vertical center */
  justify-content:space-between;
  gap:20px;
}

/* Content */
.card-content{
  flex:1;
}

.card-content h3{
  margin:0;
  font-size:26px;
}

.card-content h3 span{
  color: #00bfff;
}

.card-content p{
  color:#666;
  font-size:15px;
  line-height:1.6;
  margin-top:8px;
}

/* Button */
.btn-sc{
  display:inline-block;
  padding:14px 28px;
  background:#000; /* black */
  color:#fff;
  text-decoration:none;
  border-radius:8px;
  font-weight:600;
  transition:0.3s ease;
  flex-shrink:0;
}

.btn-sc:hover{
  background: #00bfff;
  color:#fff;
}

/* ===== MOBILE VIEW ===== */
@media (max-width:768px){
  .notify-card{
    flex-direction:column;
    text-align:center;
    border-left:none;
    border-top:6px solid #00bfff;
  }

  .card-img{
    margin-top:20px;
  }

  .card-img img{
    width:120px;
    height:120px;
    border-radius:50%;
    object-fit:cover;
    box-shadow:0 12px 28px rgba(0,0,0,0.30);
  }

  /* Mobile content wrapper flex → column */
  .card-content-wrapper{
    flex-direction:column;
    align-items:center;
  }

  .card-content h3{
    font-size:22px;
  }

  .btn-sc{
    width:100%;
    margin-top:16px;
    padding:14px;
  }
}


