/* ===================================================================
   Styles for Reliant India Group - Manpower Consultancy (dark theme)
   Plain CSS (no Tailwind). Put this in styles.css
   =================================================================== */

/* --------- Root variables --------- */
:root {
  --bg-dark: #0d1117;
  --bg-medium: #161b22;
  --bg-card: #21262d;
  --border-color: #374151;
  --text-light: #e6e6e6;
  --text-muted: #bfc8cf;
  --accent-green: #10b981;
  --accent-blue: #3b82f6;
  --accent-yellow: #fbbf24;
  --accent-purple: #8b5cf6;
  --container-max: 1200px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --trans: 0.28s ease;
}

/* --------- Reset / base --------- */
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
  background: var(--bg-dark);
  color: var(--text-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.45;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.4rem 0.6rem;
  background: var(--bg-card);
  color: var(--text-light);
  border-radius: 6px;
  z-index: 9999;
}

/* --------- Containers & utilities --------- */
.container {
  width: 92%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  background: #fff;
  border-bottom: 1px solid #e6f0fb;
  position: sticky;
  top: 0;
  z-index: 60;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.06);
}

.brand {
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
  display: flex;
  gap: 8px;
  align-items: baseline;
}
.brand-logo {
  height: 40px; /* adjust as needed */
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.group-home-link {
    /* Basic look */
    display: inline-block; /* Makes padding/margin work */
    padding: 5px 12px;
    border: 1px solid var(--primary-color, #007bff); /* Use your brand color */
    border-radius: 4px;
    
    /* Text style */
    text-decoration: none; /* Remove underline */
    color: var(--primary-color, #007bff); /* Text color matches border */
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease; /* Smooth transition for hover effects */
}

/* Hover Effect */
.group-home-link:hover {
    background-color: var(--primary-color, #007bff); /* Background fills with color */
    color: white; /* Text turns white */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow lift */
}

.brand-main {
  background: linear-gradient(to right, rgb(6, 149, 210), rgb(0, 32, 138));
  -webkit-background-clip: text;
  color: transparent;
  background-clip: text;
}

.logo-name {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  color: rgb(34, 90, 145);
  text-decoration: none;
  padding: 0.5rem 0.6rem;
  transition: color var(--trans), transform var(--trans);
}
.nav-link:hover {
  color: var(--accent-green);
  transform: translateY(-2px);
}

/* CTA */
.btn {
  padding: 0.5rem 0.9rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all var(--trans);
}
.btn-primary {
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-green));
  color: #fff;
}
.btn:hover {
  transform: translateY(-3px);
}

/* primary small */
.btn-primary {
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
}
.btn-primary:hover {
  filter: brightness(1.05);
}

/* --------- Hero --------- */
.hero {
  padding: 4rem 0;
}
.hero-section-bg {
  background: var(--bg-medium);
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  padding: 1rem 0;
}

.hero-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
  display: block;
}

/* hero text */
.hero-text h1 {
  font-size: 2.2rem;
  line-height: 1.05;
  margin: 0 0 1rem 0;
  color: #fff;
  font-weight: 800;
}
.lead {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

/* gradient span */
.gradient-text-hr {
  background-image: linear-gradient(
    90deg,
    #22c55e 0%,
    var(--accent-green) 45%,
    var(--accent-blue) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* CTA buttons inside hero */
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn-cta {
  border-radius: 12px;
  padding: 0.55rem 1.05rem;
  font-weight: 700;
  text-align: center;
}
.btn-success {
  background: linear-gradient(90deg, var(--accent-green), #059669);
  color: #fff;
}
.btn-accent {
  background: linear-gradient(90deg, var(--accent-blue), #2563eb);
  color: #fff;
}
.btn-cta:hover {
  transform: translateY(-3px);
}

/* --------- Sections --------- */
.section {
  padding: 3.5rem 0;
}
.section-dark {
  background: var(--bg-dark);
}
.section-medium {
  background: var(--bg-medium);
}

/* titles */
.section-title {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  color: #fff;
  font-weight: 700;
}
.section-intro {
  max-width: 900px;
  margin: 0.5rem auto 1.5rem;
  color: var(--text-muted);
  text-align: center;
}

/* --------- Cards Grid --------- */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  transition: transform var(--trans), box-shadow var(--trans),
    background var(--trans);
}
.card-title {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
}
.card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* card color accents */
.card-title.green {
  color: #66f59c;
}
.card-title.blue {
  color: #82b8ff;
}
.card-title.yellow {
  color: #ffd777;
}
.card-title.purple {
  color: #b49bff;
}

.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(16, 185, 129, 0.08);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.01),
    rgba(255, 255, 255, 0.02)
  );
}

/* --------- Styled List (For Employers/Jobseekers) --------- */
.styled-list {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
}
.styled-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.8rem;
  color: var(--text-muted);
}
.styled-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-green);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
}

/* boxed list wrapper */
.boxed-list {
  background: var(--bg-medium);
  border: 1px solid var(--border-color);
  padding: 1rem;
  border-radius: 12px;
  margin-top: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

/* alt background for jobseekers */
.alt-bg {
  background: var(--bg-dark);
}

/* CTA note */
.cta-note {
  margin-top: 1rem;
  padding: 0.9rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  text-align: center;
  color: var(--text-muted);
}
.inline-link {
  color: var(--accent-green);
  text-decoration: none;
  font-weight: 700;
}
.inline-link:hover {
  color: #7ef0b4;
}

/* --------- Industries Grid --------- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin-top: 1rem;
}
.industry-pill {
  padding: 1.05rem;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.03);
  font-weight: 700;
  text-align: center;
}
.industry-pill.green {
  color: #a7f3d0;
  border-color: rgba(34, 197, 94, 0.15);
}
.industry-pill.blue {
  color: #bfdbfe;
  border-color: rgba(59, 130, 246, 0.12);
}

/* hover */
.industry-pill:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
  transform: translateY(-6px);
}

/* --------- Contact Card & Form --------- */
.contact-card {
  background: var(--bg-dark);
  border-radius: 18px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.03);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  max-width: 900px;
  margin: 0 auto;
}

.contact-form {
  margin-top: 1rem;
  display: grid;
  gap: 0.85rem;
}
.input {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-light);
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  font-size: 0.95rem;
  transition: border 0.18s ease, box-shadow 0.18s ease;
}
.input:focus {
  outline: none;
  border-color: var(--accent-green);
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.06);
}

/* full width button */
.full-width {
  width: 100%;
}
.btn-success {
  background: linear-gradient(90deg, var(--accent-green), #059669);
  color: #fff;
  border: none;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: transform var(--trans);
}
.btn-success:hover {
  transform: translateY(-3px);
}

/* --------- Footer --------- */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding: 2.25rem 0 3.5rem;
  background: var(--bg-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding-bottom: 1.25rem;
}
.footer-about h3 {
  margin: 0 0 0.5rem;
  color: #fff;
}
.footer-links ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.5rem;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--accent-green);
}

.footer-contact a {
  color: var(--text-muted);
  text-decoration: none;
}
.footer-contact a:hover {
  color: #fff;
}

/* bottom copyright */
.copyright {
  text-align: center;
}

/* --------- Fade-in animation default state --------- */
.fade-in-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------- Responsive Layout --------- */
@media (min-width: 720px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem;
  }
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .industries-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* WhatsApp Floating Button Styling */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366; 
  color: #fff !important;
  border-radius: 50px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
  z-index: 9999;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.3s ease, background-color 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.05) translateY(-5px);
  background-color: #128c7e;
}

/* Mobile responsive: Icon only to save screen space */
@media (max-width: 768px) {
  .wa-text {
    display: none;
  }
  .whatsapp-float {
    padding: 15px;
    border-radius: 50%;
    bottom: 20px;
    right: 20px;
  }
}