/* =========================
   COLOR PALETTE (GLOBAL)
   ========================= */
:root {
  --brand-primary: #1E2A5A;
  --brand-secondary: #243A8F;
  --brand-accent: #5B3DF5;

  --bg-soft: #F5F4FF;
  --bg-light: #F7F7FF;
  --bg-white: #FFFFFF;

  --text-primary: #1F2937;
  --text-secondary: #6B7280;

  --footer-bg: #0B0719;
}

/* =========================
   GLOBAL STYLES
   ========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: var(--bg-soft);
  color: var(--text-primary);
}

.center {
  text-align: center;
}

/* =========================
   NAVBAR
   ========================= */
.navbar {
  background: var(--bg-white);
  display: flex;
  justify-content: space-between;
  padding: 20px 60px;
  align-items: center;
}

.logo {
  font-weight: bold;
  font-size: 22px;
}

.logo span {
  font-size: 12px;
  display: block;
  letter-spacing: 3px;
}

.navbar a {
  margin-left: 25px;
  text-decoration: none;
  color: var(--brand-accent);
  font-weight: 500;
}

/* =========================
   HERO – MAIN
   ========================= */
.hero-main {
  min-height: 75vh;   /* not full screen */
  padding-top: 120px;
  padding-bottom: 120px; 
  background: linear-gradient(
      135deg,
      var(--brand-primary),
      var(--brand-secondary),
      var(--brand-accent)
    ),
    url("../images/hero-bg.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: 0 100px;
  color: white;
  overflow: hidden;
}

/* =========================
   GLOBAL PAGE HERO (ALL PAGES)
========================= */

.page-hero {
  position: relative;
  height: 75vh;
  background: linear-gradient(
      135deg,
      var(--brand-primary),
      var(--brand-secondary),
      var(--brand-accent)
    );
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 20, 60, 0.9),
    rgba(10, 20, 60, 0.6),
    rgba(10, 20, 60, 0.3)
  );
}

.page-hero-content {
  position: relative;
  max-width: 800px;
  padding: 0 20px;
  animation: fadeUp 1.4s ease forwards;
}

.page-hero-content h1 {
  font-size: 46px;
  margin-bottom: 16px;
}

.page-hero-content p {
  font-size: 16px;
  opacity: 0.9;
  line-height: 1.6;
}

/* WAVES */
.page-hero-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 140px;
  overflow: hidden;
}

.page-hero-waves span {
  position: absolute;
  width: 200%;
  height: 100%;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 100%;
  animation: waveMove 14s linear infinite;
}

.page-hero-waves span:nth-child(2) {
  animation-duration: 20s;
  opacity: 0.05;
}

/* Text animation */
@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   HERO WAVES
   ========================= */
.hero-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.hero-waves span {
  position: absolute;
  width: 200%;
  height: 100%;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 100%;
  animation: waveMove 12s linear infinite;
}

.hero-waves span:nth-child(2) {
  animation-duration: 18s;
  opacity: 0.05;
}

@keyframes waveMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* =========================
   SECTION
   ========================= */
.section {
  padding: 60px;
  background: var(--bg-white);
  margin: 40px;
  border-radius: 12px;
}

.light {
  background: var(--bg-light);
}

/* =========================
   SERVICES GRID
   ========================= */
.services-grid-section {
  background: var(--bg-soft);
  padding: 80px 20px;
}

.services-subtitle {
  max-width: 720px;
  margin: 10px auto 50px;
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.services-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--bg-white);
  border-radius: 14px;
  padding: 30px 26px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #EEF2FF;
  color: var(--brand-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* =========================
   PORTFOLIO
   ========================= */
.portfolio-grid.image-style {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.portfolio-item {
  background: var(--bg-white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  text-align: center;
}

.portfolio-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.portfolio-item h4 {
  padding: 18px 10px;
  font-weight: 600;
}

.portfolio-item:hover {
  transform: translateY(-6px);
}

/* =========================
   CUSTOMERS
   ========================= */
.customer-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 30px;
  text-align: center;
}

.customer-list.logos img {
  max-width: 160px;
  margin: auto;
  opacity: 0.9;
  transition: transform 0.3s ease;
}

.customer-list.logos img:hover {
  opacity: 1;
  transform: scale(1.05);
}


/* =========================
   MOBILE RESPONSIVE
   ========================= */
@media (max-width: 768px) {

  .navbar {
    flex-direction: column;
    align-items: center;
  }

  .navbar nav {
    margin-top: 15px;
  }

  .navbar a {
    margin: 8px;
  }

  .hero-main {
    padding: 0 25px;
    height: 90vh;
  }

  .hero-content h1 {
    font-size: 30px;
  }

  .hero-content p {
    font-size: 13px;
  }

  .section {
    margin: 20px 10px;
    padding: 25px 20px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid.image-style {
    grid-template-columns: 1fr;
  }

  .portfolio-item img {
    height: 180px;
  }

  .customer-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
}

/* =========================
   GLOBAL ANIMATIONS
   ========================= */

/* Fade + Slide Up */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Soft Float */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0);
  }
}

/* =========================
   LIVE INTERACTION ANIMATIONS
   ========================= */

/* HERO TEXT – smoother entrance */
.hero-content {
  animation: fadeUp 1.6s ease forwards;
}

/* =========================
   SERVICES – LOAD + HOVER
   ========================= */
.service-card {
  animation: fadeUp 1.2s ease forwards;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.14);
}

/* =========================
   PORTFOLIO – PREMIUM EFFECT
   ========================= */
.portfolio-item {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.portfolio-item:hover {
  transform: scale(1.04) translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

/* =========================
   CUSTOMER LOGOS – SOFT FLOAT
   ========================= */
.customer-list.logos img {
  animation: float 6s ease-in-out infinite;
}

/* Optional staggered feel */
.customer-list.logos img:nth-child(even) {
  animation-delay: 1.5s;
}

/* =========================
   BUTTON INTERACTION
   ========================= */
.button {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(91, 61, 245, 0.35);
}

/* =========================
   SMOOTH PAGE FEEL
   ========================= */
html {
  scroll-behavior: smooth;
}

/* =========================
   TESTIMONIAL – EXACT MATCH
   ========================= */

.testimonial-section {
  background: var(--bg-soft);
  padding: 100px 20px;
  text-align: center;
}

.testimonial-title {
  font-size: 26px;
  font-weight: 700;
  max-width: 900px;
  margin: 0 auto 25px;
  line-height: 1.4;
}

.testimonial-text {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.testimonial-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.testimonial-profile img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.testimonial-profile span {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-secondary);
}


/* =========================
   ABOUT HERO – MATCH INDEX
   ========================= */

.about-hero {
  position: relative;
  height: 85vh;
  background: url("../images/office.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: 0 100px;
  color: white;
  overflow: hidden;
}

.about-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 20, 60, 0.9),
    rgba(10, 20, 60, 0.6),
    rgba(10, 20, 60, 0.35)
  );
}

.about-hero-content {
  position: relative;
  max-width: 520px;
  animation: fadeUp 1.6s ease forwards;
}

.about-hero-content h4 {
  font-size: 13px;
  letter-spacing: 1px;
  opacity: 0.9;
  margin-bottom: 8px;
}

.about-hero-content h1 {
  font-size: 46px;
  line-height: 1.25;
  margin-bottom: 16px;
}

.about-hero-content p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.9;
}

/* =========================
   ABOUT CARDS
   ========================= */
.about-cards-section {
  background: var(--bg-soft);
  padding: 80px 40px;
}

.about-cards {
  max-width: 1100px;
  margin: -120px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.about-card {
  background: white;
  padding: 35px 30px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  animation: fadeUp 1.2s ease forwards;
}

.card-line {
  display: block;
  width: 36px;
  height: 4px;
  background: var(--brand-accent);
  margin-bottom: 15px;
}

.about-card h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

.about-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.about-card ul {
  padding-left: 18px;
}

.about-card ul li {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

/* =========================
   ABOUT MOBILE
   ========================= */
@media (max-width: 768px) {
  .about-hero {
    height: 60vh;
  }

  .about-hero-content h1 {
    font-size: 30px;
  }

  .about-cards {
    grid-template-columns: 1fr;
    margin-top: -80px;
  }
}
/* =========================
   OUR 6-D PROCESS – FIXED
   ========================= */

.process-section {
  background: #ffffff;
  padding: 100px 40px;
}

.process-section h2 {
  margin-bottom: 70px;
}

.process-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px 40px;
}

.process-item {
  position: relative;
  padding-top: 35px;
  animation: fadeUp 1.2s ease forwards;
}

.process-badge {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 44px;
  font-weight: 700;
  color: #e6e8ff;
  z-index: 0;
}

.process-item h4 {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
  font-size: 16px;
}

.process-item p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* =========================
   MEET THE TEAM – FIXED
   ========================= */

.team-section {
  background: #ffffff;
  padding: 120px 40px;
  text-align: center;
}

.team-subtitle {
  max-width: 600px;
  margin: 12px auto 80px;
  font-size: 13px;
  color: var(--text-secondary);
}

.team-grid {
  max-width: 900px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px;
}

.team-card {
  animation: fadeUp 1.2s ease forwards;
}

.team-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 2px solid #e5e7eb;
  margin: auto;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: #f5b700;
  background: #ffffff;
}

.team-card h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.team-card span {
  display: block;
  font-size: 11px;
  letter-spacing: 1px;
  margin-bottom: 14px;
  color: var(--text-secondary);
}

.team-card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* =========================
   MOBILE FIX
   ========================= */
@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

/* =========================
   ABOUT HERO – MATCH INDEX
   ========================= */

.about-hero {
  position: relative;
  height: 85vh;
  background: url("../images/office.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: 0 100px;
  color: white;
  overflow: hidden;
}

.about-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 20, 60, 0.9),
    rgba(10, 20, 60, 0.6),
    rgba(10, 20, 60, 0.35)
  );
}

.about-hero-content {
  position: relative;
  max-width: 520px;
  animation: fadeUp 1.6s ease forwards;
}

.about-hero-content h4 {
  font-size: 13px;
  letter-spacing: 1px;
  opacity: 0.9;
  margin-bottom: 8px;
}

.about-hero-content h1 {
  font-size: 46px;
  line-height: 1.25;
  margin-bottom: 16px;
}

.about-hero-content p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.9;
}

/* =========================
   ABOUT WAVES
   ========================= */

.about-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.about-waves span {
  position: absolute;
  width: 200%;
  height: 100%;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 100%;
  animation: waveMove 14s linear infinite;
}

.about-waves span:nth-child(2) {
  animation-duration: 20s;
  opacity: 0.05;
}

/* =========================
   SCROLL ANIMATION
   ========================= */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
/* =========================
   ABOUT HERO – SAME AS INDEX
   ========================= */

.about-hero {
  height: 85vh;
  background: linear-gradient(
      135deg,
      var(--brand-primary),
      var(--brand-secondary),
      var(--brand-accent)
    ),
    url("../images/office.jpg") center/cover no-repeat;
}

/* Overlay already inherited from index hero */

/* About hero text animation */
.about-hero-content {
  animation: fadeUp 1.6s ease forwards;
}

/* =========================
   ABOUT WAVES (CONSISTENT)
   ========================= */

.about-waves span {
  background: rgba(255, 255, 255, 0.08);
}

/* =========================
   SCROLL ANIMATION (REQUIRED)
   ========================= */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   ABOUT CARD HOVER (SUBTLE)
   ========================= */

.about-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

/* =========================
   TEAM CARD HOVER
   ========================= */

.team-card {
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
}

/* =========================
   PROCESS ITEM SPACING FIX
   ========================= */

.process-item {
  padding-top: 35px;
}

/* =========================
   MOBILE HERO FIX
   ========================= */

@media (max-width: 768px) {
  .about-hero {
    height: 90vh;
    padding: 0 25px;
  }

  .about-hero-content h1 {
    font-size: 30px;
  }
}
/* =========================
   SCROLL REVEAL ANIMATION
   ========================= */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   PROJECTS GRID
   ========================= */

.projects-grid-section {
  background: #ffffff;
  padding: 80px 40px;
}

.projects-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 30px;
}

/* CARD */
.project-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  animation: fadeUp 1.2s ease forwards;
}

.project-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 8px;
}

.project-card h3 {
  font-size: 18px;
  margin: 16px 0 10px;
  color: #111827;
}

.project-card p {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.7;
  margin-bottom: 18px;
}

/* ENQUIRE BUTTON */
.btn-enquire {
  display: inline-block;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 600;
  background: #5B3DF5;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-enquire:hover {
  background: #472ed8;
  transform: translateY(-2px);
}

/* CONTACT SECTION */
.contact-section {
  background: #ffffff;
  padding: 90px 40px;
}

.contact-grid {
  max-width: 1100px;
  margin: 50px auto 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
}

.contact-form label {
  font-size: 13px;
  font-weight: 600;
  display: block;
  margin: 15px 0 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

.name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.btn-primary {
  margin-top: 20px;
  background: #5B3DF5;
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 6px;
  cursor: pointer;
}

.contact-info h4 {
  margin-bottom: 6px;
}

.contact-info p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.contact-socials a {
  margin-right: 12px;
  font-size: 18px;
  color: #5B3DF5;
}

/* MOBILE */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   CONTACT SECTION
========================= */

.contact-section {
  background: #ffffff;
  padding: 80px 60px;
}

.contact-section h2 {
  font-size: 32px;
  margin-bottom: 50px;
}

/* GRID */
.contact-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
}

/* FORM */
.contact-form label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 18px;
  font-size: 14px;
}

.name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.contact-form textarea {
  resize: vertical;
}

.btn-primary {
  background: #5B3DF5;
  color: white;
  padding: 12px 26px;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  letter-spacing: 1px;
  cursor: pointer;
}

.btn-primary:hover {
  opacity: 0.9;
}

/* INFO */
.contact-info h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.contact-info p {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.7;
  margin-bottom: 30px;
}

/* SOCIALS */
.contact-socials a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border: 1px solid #5B3DF5;
  color: #5B3DF5;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  transition: all 0.3s ease;
}

.contact-socials a:hover {
  background: #5B3DF5;
  color: white;
}

/* MOBILE */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-section {
    padding: 60px 20px;
  }
}

/* =========================
   NAVBAR CLICK FIX
========================= */

.navbar {
  position: relative;
  z-index: 9999;
}

/* HERO OVERLAY SHOULD NOT BLOCK CLICKS */
.hero-overlay {
  pointer-events: none;
  z-index: 1;
}

/* HERO CONTENT BELOW NAVBAR */
.hero-main {
  position: relative;
  z-index: 1;
}

/* ================= CONTACT PAGE (NEW) ================= */

.contact-hero {
  background: linear-gradient(135deg, #1E2A5A, #243A8F, #5B3DF5);
  color: white;
  padding: 110px 40px 80px;
  text-align: center;
}

.contact-hero h1 {
  font-size: 42px;
  margin-bottom: 12px;
}

.contact-hero p {
  font-size: 15px;
  max-width: 650px;
  margin: auto;
  opacity: 0.9;
}

.contact-main {
  background: #f5f4ff;
  padding: 80px 40px;
}

.contact-wrapper {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
}

.contact-card,
.contact-info-card {
  background: white;
  padding: 40px;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

.contact-card h3,
.contact-info-card h3 {
  margin-bottom: 25px;
  font-size: 20px;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 14px;
  margin-bottom: 18px;
}

.contact-card button {
  width: 100%;
  background: #5B3DF5;
  color: white;
  border: none;
  padding: 14px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.contact-card button:hover {
  opacity: 0.9;
}

.info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  font-size: 14px;
}

.info-item i {
  color: #5B3DF5;
  font-size: 18px;
}

.social-row {
  margin-top: 30px;
  display: flex;
  gap: 18px;
}

.social-row a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #5B3DF5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5B3DF5;
  transition: all 0.3s ease;
}

.social-row a:hover {
  background: #5B3DF5;
  color: white;
}

/* MOBILE */
@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .input-row {
    grid-template-columns: 1fr;
  }
}

/* =========================
   JOB APPLICATION FORM
========================= */

.job-apply-section {
  margin-top: 50px;
}

.job-apply-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 25px;
}

.job-apply-form label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}

.job-apply-form input,
.job-apply-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
}

.job-apply-form input[type="file"] {
  padding: 9px;
}

.job-apply-form .full-width {
  grid-column: 1 / -1;
}

.job-apply-form button {
  justify-self: flex-start;
  padding: 12px 32px;
  font-size: 14px;
  border-radius: 8px;
}

/* Mobile */
@media (max-width: 768px) {
  .job-apply-form {
    grid-template-columns: 1fr;
  }
}

/* =========================
   PRIMARY CTA BUTTON
========================= */
.button {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 36px;

  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;

  color: #ffffff;
  text-decoration: none;

  background: linear-gradient(135deg, #3b4fe0, #5f6cff);
  border-radius: 30px;

  box-shadow: 0 12px 30px rgba(59, 79, 224, 0.35);
  transition: all 0.35s ease;

  position: relative;
  overflow: hidden;
}

/* Hover animation */
.button:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(59, 79, 224, 0.45);
  background: linear-gradient(135deg, #2f3fd6, #4f5df0);
}

/* Click effect */
.button:active {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(59, 79, 224, 0.35);
}

/* Center helper */
.center {
  text-align: center;
}
/* =========================
   NAVBAR ACTIVE LINK
========================= */
.nav-links a {
  position: relative;
  padding-bottom: 6px;
}

/* underline effect */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #5f5df5;
  transition: width 0.3s ease;
}

/* hover underline */
.nav-links a:hover::after {
  width: 100%;
}

/* active page underline */
.nav-links a.active::after {
  width: 100%;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: #4f46e5;
  font-weight: 500;
}

/* underline */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #4f46e5;
  transition: width 0.3s ease;
}

/* hover */
.nav-links a:hover::after {
  width: 100%;
}

/* ACTIVE MENU */
.nav-links a.active::after {
  width: 100%;
}

/* =========================
   FINAL FOOTER (FIXED)
========================= */

.footer {
  width: 100%;
  background: radial-gradient(circle at top, #1a102e, #0b0719);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px 40px;

  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  color: #ffffff;
}

.footer-brand h2 {
  font-size: 36px;
  font-weight: 700;
}

.footer-brand h2 span {
  display: block;
  font-size: 12px;
  letter-spacing: 4px;
  margin-top: 6px;
  opacity: 0.85;
}

/* Social Icons */
.footer-socials {
  display: flex;
  gap: 18px;
  margin-top: 25px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  background: #5b3df5;
  border-color: #5b3df5;
  transform: translateY(-4px);
}

/* Footer Links */
.footer-links h4 {
  font-size: 18px;
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  margin-bottom: 12px;
  color: #cfcfcf;
  text-decoration: none;
  font-size: 15px;
}

.footer-links a:hover {
  color: white;
}

/* Bottom Bar */
.footer-bottom {
  width: 100%;
  text-align: center;
  padding: 25px 10px;
  font-size: 14px;
  color: #cfcfcf;
  border-top: 1px solid rgba(255,255,255,0.25);
}

/* Mobile */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }
}

/* SUCCESS POPUP */
.popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-content {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.popup-content h3 {
  margin-bottom: 10px;
  color: #2f855a;
}

.popup-content p {
  font-size: 14px;
  color: #444;
}

.popup-content button {
  margin-top: 15px;
  padding: 10px 25px;
  border: none;
  background: #5B3DF5;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
}
