/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 75%; /* 1rem = 10px for easy scaling */
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #0d1117;
  color: #e6edf3;
  line-height: 1.6;
}

/* Header and Navigation */
header {
  background: #161b22;
  padding: 2rem 0;
  box-shadow: 0 2px 8px rgba(0, 255, 200, 0.05);
}

nav {
  max-width: 120rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  background-color: #161b22;
  padding: 2rem;
  border-radius: 1.6rem;
}

.logo-profile {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

nav h1 {
  color: #00ffc8;
  font-size: 2.4rem;
}

nav p {
  color: #c9d1d9;
  font-size: 1.4rem;
}

nav strong {
  color: #ff00b2;
}

.profile-img {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #00ffc8;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

nav ul li a {
  color: #e6edf3;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  font-size: 1.6rem;
}

nav ul li a:hover {
  color: #00ffc8;
  border-bottom: 2px solid #58a6ff;
}

/* Sections */
.section {
  padding: 4rem 2rem;
  max-width: 120rem;
  margin: 2rem auto;
  background-color: #161b22;
  border-radius: 1.6rem;
  box-shadow: 0 6px 24px rgba(0, 255, 200, 0.05);
}

.section h1, .section h2 {
  font-size: 2.4rem;
  color: #00ffc8;
  border-left: 6px solid #58a6ff;
  padding-left: 1rem;
  margin-bottom: 2rem;
}

.section p, .section ul li {
  font-size: 1.6rem;
  color: #c9d1d9;
  margin-bottom: 1.5rem;
}

.section strong {
  color: #ff0202;
}

/* Home Section */
#home .home-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

#home .text-content, #home .image-content {
  flex: 1 1 30rem;
}

.partner-image {
  width: 100%;
  height: auto;
  border-radius: 4.5rem;
  box-shadow: 0 6px 80px rgb(0, 248, 194);
  border: 6px solid #00ffc8;
}

/* About Section */
#about .container {
  background-color: #161b22;
  padding: 4rem;
  border-radius: 1.6rem;
  box-shadow: 0 0 20px rgba(0, 255, 200, 0.08);
}

#about ul {
  padding-left: 2rem;
}

#about ul li {
  margin-bottom: 1rem;
}

/* Branches */
.branch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
  gap: 2rem;
}

.branch-card {
  background: #161b22;
  padding: 2rem;
  border-radius: 1.2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,255,200,0.06);
}

.branch-card img {
  width: 100%;
  border-radius: 0.8rem;
  margin-bottom: 1rem;
}

.branch-card h3 {
  color: #00ffc8;
  font-size: 2rem;
}

.branch-card a {
  color: #58a6ff;
  text-decoration: none;
  font-weight: bold;
}

.processing-icon {
  display: inline-block;
  animation: spin 2s linear infinite;
  margin-right: 0.6rem;
  font-size: 1.4rem;
  color: #00ffc8;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Admin Panel */
.admin-login {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

input, select, textarea {
  padding: 1rem;
  border: 1px solid #30363d;
  border-radius: 0.6rem;
  background: #0d1117;
  color: #c9d1d9;
  font-size: 1.6rem;
}

button {
  background-color: #00ffc8;
  color: #0d1117;
  padding: 1rem 2rem;
  border: none;
  border-radius: 0.6rem;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
  font-size: 1.6rem;
}

button:hover {
  background-color: #00e6b2;
}

.admin-dashboard {
  background: #161b22;
  padding: 4rem;
  margin-top: 3rem;
  border-radius: 1rem;
  box-shadow: 0 6px 16px rgba(0,255,200,0.08);
}

.admin-dashboard h3 {
  font-size: 2rem;
  color: #00ffc8;
  margin-bottom: 1.5rem;
}

.admin-dashboard ul {
  list-style: disc;
  padding-left: 2rem;
}

/* WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
}

.whatsapp-float img {
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 255, 200, 0.2);
  transition: transform 0.3s ease;
  width: 5rem;
  height: 5rem;
}

.whatsapp-float img:hover {
  transform: scale(1.1);
}

/* Footer */
footer {
  background-color: #161b22;
  color: #8b949e;
  text-align: center;
  padding: 2.5rem;
  margin-top: 6rem;
  font-size: 1.4rem;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    justify-content: flex-start;
    gap: 1rem;
    margin-top: 1rem;
  }

  #home .home-content {
    flex-direction: column;
    align-items: center;
  }

  .section {
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
  }

  .logo-profile {
    flex-direction: column;
    align-items: flex-start;
  }

  .section h1,
  .section h2 {
    font-size: 1.8rem;
  }

  .section p,
  .section ul li {
    font-size: 1.4rem;
  }

  .branch-card {
    padding: 1.5rem;
  }

  form {
    width: 100%;
  }
}
