/* ==========================================================
   DILSECONNECT GLOBAL STYLESHEET
   Covers: Home | Language | Category | Profile | Chat
   | Signup | Login | Dashboard | Footer | Navbar | Ads
   Author: Team DilSeConnect | 2025
========================================================== */

/* ====== RESET & BASE ====== */
main {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

* {
  margin: 0;
  /* padding: 5px; */
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #240735;
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #f5a9e1;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  outline: none;
}

/* ==========================================================
   NAVBAR
========================================================== */
.navbar {
  background-color: #a4087d;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px;
  position: sticky;
  top: 0;
  z-index: 999;
}

.logo {
  font-size: 1.6rem;
  font-weight: bold;
  color: #fff;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-links li a {
  color: #fff;
  font-weight: bold;
  transition: 0.3s;
}

.nav-links li a:hover {
  color: #f5a9e1;
}

/* Hamburger menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #a4087d;
    flex-direction: column;
    width: 200px;
    padding: 15px 0;
    gap: 15px;
    align-items: center;
    display: none;
    border-radius: 0 0 10px 10px;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
  }
}

/* ==========================================================
   HOME / COUNTRY SELECTION SECTIONS
========================================================== */
section {
  padding: 40px 20px;
  text-align: center;
}

.country-grid, .language-grid, .profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.country-card, .language-card {
  background-color: #b0138c;
  border-radius: 12px;
  padding: 20px;
  color: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.country-card:hover, .language-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.25);
}

.language-card p {
  margin: 8px 0;
}

.online {
  color: #4caf50;
}

.offline {
  color: #f44336;
}

/* ==========================================================
   CATEGORY (FILTERED USERS)
========================================================== */
.filtered-users {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}

.filtered-users h2 {
  font-size: 1.8rem;
  margin-bottom: 25px;
}

.profile-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.profile-card {
  background-color: #b0138c;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.profile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.25);
}

.profile-card img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-info h3 {
  color: #fff;
  margin-bottom: 5px;
}

.profile-info p {
  color: #f1e4f5;
  margin: 2px 0;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.page-btn {
  background-color: #b0138c;
  color: #fff;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.page-btn:hover {
  background-color: #9c0a79;
}

/* ==========================================================
   PROFILE PAGE
========================================================== */
.profile-container {
  background-color: #b0138c;
  border-radius: 12px;
  padding: 25px;
  max-width: 650px;
  margin: 40px auto;
  text-align: center;
}

.profile-container img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
}

.profile-details {
  margin-top: 15px;
}

.profile-details p {
  margin: 4px 0;
  color: #f3e8f9;
}

.profile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}


/* profile action button css code3 */

.profile-actions button {
  background-color: #240735;
  color: #fff;
  padding: 10px 25px;
  border-radius: 6px;
  font-size: 1rem;
  transition: background 0.3s;
}

.profile-actions button:hover {
  background-color: #4a0e68;
}

/* Suggested profiles */
.suggested-section {
  margin-top: 50px;
  width: 100%;
  max-width: 650px;
  margin-inline: auto;
}

.suggested-list {
  display: grid;
  gap: 20px;
}

.suggested-card {
  display: flex;
  align-items: center;
  background-color: #b0138c;
  border-radius: 10px;
  padding: 15px;
  gap: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.suggested-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 3px 10px rgba(255, 255, 255, 0.2);
}

.suggested-card img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
}

.suggested-info h4 {
  color: #fff;
  margin-bottom: 5px;
}

/* ==========================================================
   CHAT PAGE (WhatsApp Style)
========================================================== */
body.chat-page {
  background-color: #e5ddd5;
  color: #000;
}

.chat-header {
  background-color: #075e54;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  font-weight: bold;
  font-size: 1.1rem;
}

.chat-header span {
  font-weight: normal;
  color: #b7e0b4;
  font-size: 0.9rem;
}

.chat-header .actions {
  display: flex;
  gap: 15px;
}

.chat-header button {
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 0.9rem;
}

.chat-container {
  flex: 1;
  overflow-y: auto;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.message {
  max-width: 75%;
  padding: 10px 15px;
  border-radius: 10px;
  font-size: 0.95rem;
  position: relative;
  line-height: 1.4;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.bot {
  align-self: flex-start;
  background-color: #fff;
}

.user {
  align-self: flex-end;
  background-color: #dcf8c6;
}

.message small {
  display: block;
  font-size: 0.75rem;
  color: #666;
  text-align: right;
  margin-top: 4px;
}

.typing {
  font-style: italic;
  color: #666;
  text-align: center;
  margin: 5px 0;
}

.input-area {
  display: flex;
  align-items: center;
  background-color: #f0f0f0;
  padding: 10px;
  border-top: 1px solid #ccc;
}

.input-area input {
  flex: 1;
  border: none;
  border-radius: 20px;
  padding: 10px 15px;
  font-size: 1rem;
  outline: none;
}

.input-area button {
  background-color: #075e54;
  color: white;
  border: none;
  border-radius: 50px;
  padding: 10px 20px;
  margin-left: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

.input-area button:hover {
  background-color: #0a7a68;
}

/* ==========================================================
   SIGNUP / LOGIN / DASHBOARD FORMS
========================================================== */
.form-container, .signup-container, .login-container, .dashboard-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 15px;
}

.form-box, .signup-box, .login-box, .dashboard-box {
  background-color: #a4087d;
  padding: 30px 40px;
  border-radius: 10px;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.form-box h2, .signup-box h2, .login-box h2, .dashboard-box h2 {
  text-align: center;
  margin-bottom: 20px;
}

.form-box label,
.signup-box label,
.login-box label,
.dashboard-box label {
  font-weight: bold;
  display: block;
  margin-top: 10px;
  margin-bottom: 5px;
}

input, select, textarea {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  outline: none;
  background-color: #f6f6f6;
  color: #000;
}

input::placeholder, textarea::placeholder {
  color: #666;
}

input:focus, select:focus, textarea:focus {
  box-shadow: 0 0 5px #ff62c0;
  border: 1px solid #ff62c0;
}

button[type="submit"], .btn-save {
  width: 100%;
  background-color: #f037a5;
  border: none;
  padding: 12px;
  color: #fff;
  font-size: 1rem;
  border-radius: 6px;
  margin-top: 20px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button[type="submit"]:hover, .btn-save:hover {
  background-color: #ff4fc5;
}

/* Profile image in dashboard */
.profile-pic {
  text-align: center;
  margin-bottom: 20px;
}

.profile-pic img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
}

/* ==========================================================
   FOOTER
========================================================== */
.footer {
  background-color: #9c0a79;
  color: #fff;
  text-align: center;
  padding: 20px 10px;
  margin-top: auto;
  border-top: 2px solid #b0138c;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.9rem;
  margin-top: 10px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* ==========================================================
   ADS PLACEHOLDERS (Google ADX)
========================================================== */
.ad-slot {
  display: block;
  margin: 30px auto;
  text-align: center;
}

.ad-slot ins {
  display: block;
  width: 100%;
  min-height: 90px;
}

@media (max-width: 600px) {
  .profile-card, .suggested-card {
    flex-direction: column;
    text-align: center;
  }
  .profile-container img {
    width: 140px;
    height: 140px;
  }
}
/* ====== HERO SECTION ====== */
.hero {
  background: linear-gradient(rgba(36, 7, 53, 0.8), rgba(36, 7, 53, 0.8)),
              url('assets/images/hero-bg.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  margin: 80px auto;
  max-width: 1300px;
  padding: 0 30px;
  color: #fff;

}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero-content span {
  color: #ff62c0;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: #e0cce7;
}

.cta-btn {
  background-color: #f037a5;
  border: none;
  padding: 12px 25px;
  color: #fff;
  font-size: 1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
}

.cta-btn:hover {
  background-color: #ff4fc5;
}

/* ====== WHY CHOOSE US ====== */
.why-choose-us {
  background-color: #2d0842;
  padding: 60px 20px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.why-card {
  background-color: #b0138c;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
}

.why-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

.why-card h3 {
  color: #fff;
  margin-bottom: 8px;
}
/* ------------------- */
/* Select Country Card */
/* ------------------- */
.language-container {
  text-align: center;
  /* margin-top: 50px;
  margin-bottom: 30px; */
  /* margin: 20px 40px; */
  max-width: 1300px;
  padding: 0 60px;
}

.language-container h2 {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 30px;
  margin: 0px auto;
  max-width: 1300px;
  padding: 0 60px;
}

.language-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  justify-items: center;
}

.language-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #000;
  border-radius: 20px;
  text-decoration: none;
  padding: 25px 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  width: 220px;
  transition: all 0.3s ease;
}

.language-option:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}

/* Circular image */
.language-option .country-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 4px solid #f1f1f1;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

/* Country name */
.language-option span {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #222;
  margin-top: 3px;
}

/* Online status */
.language-option .online-count {
  font-size: 14px;
  color: #10c741;
  font-weight: bold;
  margin-top: 5px;
  animation: onlinePulse 2s infinite;
}

@keyframes onlinePulse {
  0% { opacity: 1; }
  50% { opacity: 0.6; }
  100% { opacity: 1; }
}

/* Responsive */
@media (max-width: 600px) {
  .language-option {
    width: 180px;
    padding: 20px 15px;
  }
  .language-option .country-icon {
    width: 80px;
    height: 80px;
  }
}
/* ------------------- */
/* Featured Profiles (4-column layout) */
/* ------------------- */
.profiles {
  margin: 10px auto;
  max-width: 1400px;
  padding: 0 60px;
}

.profiles h2 {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  text-align: left;
  margin-bottom: 25px;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 🔹 4 cards per row on desktop */
  gap: 25px;
}

.profile-card {
  background-color: #95087a;
  border-radius: 15px;
  display: flex;
  align-items: center;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}

.profile-pic {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  margin-right: 15px;
}

.profile-info {
  flex-grow: 1;
}

.profile-info h3 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 5px;
}

.profile-info p {
  color: #f0eaf7;
  font-size: 14px;
  margin: 3px 0;
}


.ad_title{margin-bottom:5px!important;font-size:10px!important;color:#999!important;text-align:center!important;font-weight:400;letter-spacing:.2em;width:100%}
.status.online {
  color: #00ff66;
  font-weight: bold;
  animation: blin
}
/* ------------------- */
/* Featured Profiles (Dynamic Grid) */
/* ------------------- */
.profiles {
  margin: 10px auto;
  max-width: 1400px;
  padding: 0 60px;
}

.profiles h2 {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  text-align: left;
  margin-bottom: 25px;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 cards per row on desktop */
  gap: 25px;
}

.profile-card {
  background-color: #95087a;
  border-radius: 15px;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}

.profile-pic {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  margin-right: 15px;
}

.profile-info h3 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 5px;
}

.profile-info p {
  color: #f0eaf7;
  font-size: 14px;
  margin: 3px 0;
}

.status.online {
  color: #00ff66;
  font-weight: bold;
  animation: blinkOnline 1.5s infinite;
}

.status.offline {
  color: #ff4b81;
  font-weight: bold;
}

@keyframes blinkOnline {
  50% { opacity: 0.5; }
}

/* Responsive grid */
@media (max-width: 1024px) {
  .profile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .profiles {
    padding: 0 25px;
  }
  .profile-grid {
    grid-template-columns: 1fr;
  }
}
/* ------------------- */
/* About Section */
/* ------------------- */
.about-section {
  margin: 80px auto;
  max-width: 1300px;
  padding: 0 60px;
  color: #fff;
}

.about-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 50px;
}

.about-text {
  flex: 1 1 600px;
}

.about-text h3 {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
}

.why-list, .how-list {
  margin-left: 20px;
  margin-bottom: 25px;
}

.why-list li, .how-list li {
  font-size: 15px;
  line-height: 1.7;
  color: #f3e5f7;
  margin-bottom: 8px;
}

.why-list li strong {
  color: #fff;
}
.description{
    margin: 80px auto;
  max-width: 1300px;
  padding: 0 60px;
  color: #fff;

}

.about-description {
  color: #f2e1f7;
  font-size: 15px;
  line-height: 1.8;
  margin-top: 10px;
}

.about-image {
  flex: 1 1 500px;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.about-footer {
  margin-top: 40px;
  text-align: center;
  font-size: 15px;
  color: #e8d7f3;
  line-height: 1.8;
}

/* Responsive design */
@media (max-width: 1024px) {
  .about-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-text, .about-image {
    flex: 1 1 100%;
  }

  .why-list, .how-list {
    margin-left: 0;
    list-style-position: inside;
  }
}

@media (max-width: 600px) {
  .about-section {
    padding: 0 25px;
  }

  .about-text h3 {
    font-size: 20px;
  }

  .why-list li, .how-list li {
    font-size: 14px;
  }

  .about-description, .about-footer {
    font-size: 14px;
  }
}
/* ------------------- */
/* More Profiles Section */
/* ------------------- */
.more-profiles {
  margin-top: 70px;
}

.more-profiles h2 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 25px;
}

.more-profiles .profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 cards per row */
  gap: 25px;
}

.more-profiles .profile-card {
  background-color: #95087a;
  border-radius: 15px;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.more-profiles .profile-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}

.more-profiles .profile-pic {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  margin-right: 15px;
}

.more-profiles .profile-info h3 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 5px;
}

.more-profiles .profile-info p {
  color: #f0eaf7;
  font-size: 14px;
  margin: 3px 0;
}

.more-profiles .status.online {
  color: #00ff66;
  font-weight: bold;
  animation: blinkOnline 1.5s infinite;
}

.more-profiles .status.offline {
  color: #ff4b81;
  font-weight: bold;
}

/* 🔹 Responsive grid */
@media (max-width: 1024px) {
  .more-profiles .profile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .more-profiles .profile-grid {
    grid-template-columns: 1fr;
  }
}
/* ------------------- */
/* About Chat Section */
/* ------------------- */
.chat-about-section {
  margin: 70px auto;
  max-width: 1200px;
  padding: 0 60px;
  color: #fff;
}

.chat-about-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about-block h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.about-block p {
  font-size: 15px;
  color: #e8d7f3;
  line-height: 1.7;
  max-width: 900px;
}

.about-block a {
  color: #2ee270;
  text-decoration: none;
  font-weight: 600;
}

.about-block a:hover {
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .chat-about-section {
    padding: 0 25px;
  }

  .about-block h4 {
    font-size: 17px;
  }

  .about-block p {
    font-size: 14px;
  }
}
/* ------------------- */
/* Language Selection Section */
/* ------------------- */
.language-section {
  text-align: center;
  margin: 80px auto;
  max-width: 1200px;
  padding: 0 60px;
}

.language-section h2 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 30px;
}

.language-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  justify-items: center;
}

.language-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #95087a;
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  padding: 18px 10px;
  width: 220px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.language-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

.language-card p {
  font-size: 16px;
  margin: 0;
}

.language-card .online-count {
  color: #10c741;
  font-weight: 700;
  font-size: 15px;
  margin-top: 5px;
}

/* Responsive grid */
@media (max-width: 1024px) {
  .language-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .language-section {
    padding: 0 25px;
  }

  .language-grid {
    grid-template-columns: 1fr;
  }

  .language-card {
    width: 100%;
  }
}
/* ------------------- */
/* Language Selection Section */
/* ------------------- */
.language-section {
  text-align: center;
  margin: 80px auto;
  max-width: 1200px;
  padding: 0 60px;
}

.language-section h2 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 30px;
}

.language-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  justify-items: center;
}

.language-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #95087a;
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  padding: 18px 10px;
  width: 220px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.language-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

.language-card p {
  font-size: 16px;
  margin: 0;
}

.language-card .online-count {
  color: #10c741;
  font-weight: 700;
  font-size: 15px;
  margin-top: 5px;
}

/* Responsive grid */
@media (max-width: 1024px) {
  .language-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .language-section {
    padding: 0 25px;
  }

  .language-grid {
    grid-template-columns: 1fr;
  }

  .language-card {
    width: 100%;
  }
}
/* ==========================
   Static Pages (Legal + Info)
   ========================== */
.page-section {
  background-color: #240735;
  color: #fff;
  max-width: 900px;
  margin: 50px auto;
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.page-section h1 {
  font-size: 2rem;
  text-align: center;
  color: #ff57c2;
  margin-bottom: 20px;
}

.page-section h2 {
  color: #fcb8ff;
  margin-top: 25px;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.page-section p,
.page-section ul {
  font-size: 1rem;
  line-height: 1.7;
  color: #f4e9f9;
}

.page-section ul {
  margin-left: 20px;
}

.contact-box {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  margin: 20px 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  background-color: #fff;
  color: #000;
  border: none;
  border-radius: 6px;
  padding: 10px 15px;
  font-size: 1rem;
  outline: none;
}

.btn-submit {
  background-color: #a4087d;
  color: #fff;
  border: none;
  padding: 12px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-submit:hover {
  background-color: #d61ca4;
}

@media (max-width: 768px) {
  .page-section {
    padding: 20px;
  }
  .page-section h1 {
    font-size: 1.7rem;
  }
}
