/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f5f9fc;
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* Header */
header {
  background-color: #1f2937;
  color: #fff;
  padding: 1rem 2rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
  display: flex;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 600;
}

/* Main Container */
section {
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: auto;
}




/* Hero */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh; /* Full viewport height */
  padding: 2rem;
  text-align: center;
  overflow: hidden;
  color: #1f2937;
  background-color: #f5f9fc;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('img/logo.jpeg') no-repeat center center;
  background-size: cover; /* covers entire section */
  opacity: 0.04; /* subtle logo */
  filter: grayscale(100%);
  z-index: 0;
}

.hero h1,
.hero p,
.hero .cta-button {
  position: relative;
  z-index: 1;
}

/*logo awction*/
/* Default desktop & general styling */
.services {
  margin-top: 2rem;
  text-align: center;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 1rem auto;
  max-width: 500px;
}

.service-list li {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
  text-align: left;
}

.service-list li::before {
  content: "✅";
  position: absolute;
  left: 0;
}




/* About */
.about p {
  margin-bottom: 1rem;
  color: #374151;
}


/* Contact */
.contact ul {
  list-style: none;
  padding-left: 0;
}

.contact li {
  margin-bottom: 0.75rem;
  color: #374151;
}

/* Footer */
footer {
  background-color: #1f2937;
  color: white;
  padding: 2rem 1.5rem;
  text-align: center;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

.footer-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
}

.footer-contact,
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-contact a,
.footer-social a {
  color: #cbd5e1;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover,
.footer-social a:hover {
  color: #ffffff;
}

.footer-bottom {
  margin-top: 2rem;
  font-size: 0.85rem;
  opacity: 0.7;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
}

/* Responsive Footer */
@media (min-width: 600px) {
  .footer-container {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    text-align: left;
  }

  .footer-brand {
    align-items: flex-start;
  }
}
.footer-contact a,
.footer-social a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-contact a:hover,
.footer-social a:hover {
  color: white;
}

.footer-contact img,
.footer-social img {
  width: 20px;
  height: 20px;
}



/* Centered Header with Circular Logo */
.header-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.5rem;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 600;
}


/* Centered Header with Circular Logo */
.header-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.5rem;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 600;
}


/* Dimmed full-page logo background */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('img/logo.jpeg') no-repeat center center;
  background-size: cover;
  opacity: 0.15; /* Brighter – feel free to adjust 0.12–0.20 */
  filter: grayscale(30%); /* More color than before */
  z-index: -1;
  pointer-events: none;
}

/* Hero Logo */
.hero-logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all 0.6s ease;
}

.hero-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0;
  transform: translateY(-60px);
  transition: all 0.6s ease;
}

/* On load animation */
.hero-logo.show {
  opacity: 1;
  transform: translateY(0);
}

/* Sticky logo in header */
.sticky-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  opacity: 1;
  transition: all 0.3s ease;
}

.hide-sticky-logo .sticky-logo {
  opacity: 0;
}
/* Shared logo style */
.logo {
  border-radius: 50%;
  object-fit: cover;
}

/* Header hidden initially */
header {
  position: fixed;
  width: 100%;
  background: #1f2937;
  color: white;
  z-index: 1000;
  padding: 0.5rem 2rem;
  text-align: center;
}

.header-container .brand-floating {
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.header-container .brand-floating .logo {
  width: 40px;
  height: 40px;
}

.header-container .brand-floating .brand-name {
  font-weight: 600;
  font-size: 1.2rem;
}

/* Hero branding center */
.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  transition: all 0.5s ease;
}

.hero-logo {
  width: 120px;
  height: 120px;
  opacity: 0;
  transform: translateY(-50px);
  transition: all 0.6s ease;
}

.hero-brand-name {
  font-size: 1.8rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.6s ease;
}

/* Show on load */
.hero-logo.show,
.hero-brand-name.show {
  opacity: 1;
  transform: translateY(0);
}

/* Show header brand on scroll */
.scrolled .header-container .brand-floating {
  opacity: 1;
  transform: translateY(0);
}

.scrolled .hero-brand {
  opacity: 0;
  transform: translateY(-40px);
  pointer-events: none;
}
/* Animated Offer Text */
.offer-line {
  font-size: 2rem;
  font-weight: 600;
  color: #1f2937;
}

#offer-dynamic {
  color: #10b981; /* Emerald green */
  transition: opacity 0.5s ease;
}

.projects,
.testimonials {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

.project-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.project-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  font-weight: 600;
  color: #1f2937;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: scale(1.03);
}

.testimonial-card {
  margin-top: 2rem;
  padding: 2rem;
  background: #f1f5f9;
  border-radius: 8px;
  font-style: italic;
  color: #374151;
}

.testimonial-card cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-weight: bold;
  color: #111827;
}

/* Ensure body and html take up full width */
html, body {
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Section container */
.team {
  padding: 4rem 2rem;
  width: 100%;
  max-width: 1440px; /* Bigger max width for large screens */
  margin: 0 auto;
}

/* Grid layout for members */
.team-members {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  width: 100%;
}

/* Responsive fallback for smaller screens */
@media (max-width: 1024px) {
  .team-members {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .team-members {
    grid-template-columns: 1fr;
  }
}

/* Card styles */
.team-card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.06);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Profile image */
.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

/* Name + Role */
.team-card h3 {
  font-weight: bold;
  margin-bottom: 0.3rem;
}

.team-card p {
  font-style: italic;
  color: #555;
  margin-bottom: 1rem;
}

.social-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.btn-icon {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-icon img {
  width: 18px;
  height: 18px;
}

/* Platform-specific colors */
.telegram {
  background-color: #0088cc;
}
.telegram:hover {
  background-color: #0070aa;
}

.x {
  background-color: #6e6868;
}
.x:hover {
  background-color: #111;
}
