/* ================== GLOBAL STYLES ================== */
body {
  margin: 0;
  background: #0f172a;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}

#network-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* ================== HEADER ================== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  background: #101112;
  flex-wrap: wrap;
  z-index: 999;
  position: relative;
}

header .logo { height: 105px; }
.logo { animation: floatLogo 3s ease-in-out infinite; }

@keyframes floatLogo {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

header nav { display: flex; gap: 30px; }
header nav a {
  color: #e5e7eb;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
}
header nav a:hover { color: #22c55e; transform: scale(1.05); }

/* ================== TERMS CONTENT ================== */
.terms-container {
  max-width: 900px;
  margin: 100px auto 50px auto;
  padding: 20px;
  background: rgba(16,17,18,0.85);
  border-radius: 12px;
  color: #e5e7eb;
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

.terms-container h1 {
  text-align: center;
  font-size: 32px;
  color: #22c55e;
  margin-bottom: 30px;
}

.terms-container h2 {
  font-size: 20px;
  margin-top: 25px;
  color: #ffffff;
  border-bottom: 1px solid #22c55e;
  padding-bottom: 5px;
}

.terms-container ul { margin: 10px 0 20px 20px; padding: 0; }
.terms-container ul li { margin-bottom: 10px; line-height: 1.6; }

.lets-talk-btn {
  display: inline-block;
  padding: 8px 20px;
  background: #22c55e;
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.lets-talk-btn:hover {
  background: #16a34a;
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.small-btn {
  display: block;                 /* make it block so margin auto works */
  width: fit-content;             /* button width adjusts to content */
  padding: 10px 20px;
  background: linear-gradient(45deg,#00e0ff,#22c55e);
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.4s;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  font-size: 14px;
  margin: 15px auto 0 auto;       /* top margin 15px, horizontal auto = centered */
  text-align: center;             /* ensures text inside button is centered */
}

.small-btn:hover{
  transform:scale(1.05);
  box-shadow:0 10px 25px rgba(0,0,0,0.6);
}

/* ================== FOOTER ================== */
footer {
  background: #101112;
  color: #e5e7eb;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

footer a { text-decoration: none; color: #22c55e; }

.social-icons { padding-right: 80px; }
.social-icons a { color: #e5e7eb; margin: 0 12px; font-size: 24px; transition: 0.3s; }
.social-icons a:hover { color: #22c55e; }


/* ================== MOBILE RESPONSIVENESS ================== */
@media (max-width: 768px) {
  /* Header Adjustments */
  header { 
    flex-direction: column; 
    align-items: center; 
    padding: 15px; 
    gap: 10px; 
  }
  
  /* FIXED: Logo is now big on mobile */
  header .logo { 
    height: 100px !important; 
  }
  
  header .call-btn { font-size: 14px; padding: 8px 16px; margin: 0; }
  header nav { width: 100%; justify-content: center; gap: 20px; margin-top: 5px; }
  header nav a { font-size: 14px; }

  /* Terms Container Adjustments */
  .terms-container { margin: 80px 15px 50px 15px; padding: 15px; }
  .terms-container h1 { font-size: 28px; }
  .terms-container h2 { font-size: 18px; }
  .book-now-btn { font-size: 14px; padding: 10px 22px; }

  /* FOOTER CENTER FIX */
  footer {
    flex-direction: column; 
    text-align: center;     
    padding: 30px 20px !important; 
    gap: 20px;              
  }

  /* FIXED: Footer icons centered and offset removed */
  .social-icons {
    padding-right: 0 !important; 
    display: flex;
    justify-content: center;     
    width: 100%;
    margin-bottom: 20px;         
  }

  .social-icons a {
    margin: 0 20px;              
  }
}
