/* Compix Color Palette */
:root {
  --brand-orange: #ff914d;
  --brand-red: #d13627;
  --brand-dark: #333333;
  --text-main: #333333;
  --text-muted: #666666;
  --bg-color: #ffffff;
  --white: #ffffff;
  --border-color: #e5e7eb;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  scroll-behavior: smooth;
}
body {
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
  width: 100%;
  top: 0px !important;
}

/* Google Translate Overrides */
.skiptranslate,
.goog-te-banner-frame,
#google_translate_element,
iframe.goog-te-menu-frame,
#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
  visibility: hidden !important;
}
.goog-text-highlight {
  background-color: transparent !important;
  box-shadow: none !important;
}
html.translated-rtl,
html.translated-rtl body,
html.translated-rtl *,
html.translated-rtl font {
  font-family: "Tajawal", sans-serif;
  font-weight: 400;
  font-style: normal;
}
html.translated-rtl h1,
html.translated-rtl h2,
html.translated-rtl h3,
html.translated-rtl h4,
html.translated-rtl h5,
html.translated-rtl h6,
html.translated-rtl h1 font,
html.translated-rtl h2 font,
html.translated-rtl h3 font {
  font-family: "Tajawal", sans-serif;
  font-weight: 700;
  font-style: normal;
}

a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.delay-100 {
  transition-delay: 0.1s;
}
.delay-200 {
  transition-delay: 0.2s;
}
.delay-300 {
  transition-delay: 0.3s;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}
.btn-brand {
  background: linear-gradient(135deg, var(--brand-red), var(--brand-orange));
  color: var(--white);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.btn-brand:hover {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-red));
  transform: scale(1.02);
}
.btn-white {
  background-color: var(--white);
  color: var(--brand-dark);
  border: 1px solid var(--border-color);
}
.btn-white:hover {
  background-color: #f3f4f6;
  transform: scale(1.02);
}

/* Navbar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s;
}
.nav-logo-link {
  display: block;
  z-index: 200;
}
.nav-logo-img {
  height: 40px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.3s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-orange);
  font-weight: 700;
}
.hamburger {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 200;
  color: var(--brand-dark);
}
.nav-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Side Menu */
.side-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background-color: var(--white);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  z-index: 150;
  transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  padding: 80px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.side-menu.active {
  right: 0;
}
.close-menu-btn {
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-main);
  font-weight: bold;
  transition: transform 0.3s;
}
.close-menu-btn:hover {
  transform: rotate(90deg);
  color: var(--brand-orange);
}
.side-menu a {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
  transition: color 0.2s;
}
.side-menu a:hover,
.side-menu a.active {
  color: var(--brand-orange);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 140;
  display: none;
  opacity: 0;
  transition: opacity 0.4s;
}
.overlay.active {
  display: block;
  opacity: 1;
}

/* Home Page Specific */
.hero {
  text-align: center;
  padding: 100px 24px 80px;
  max-width: 800px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  background-color: #fdf1ed;
  color: var(--brand-red);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
  color: var(--brand-dark);
}
.hero p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.metrics {
  padding: 40px 24px;
}
.metrics-card {
  background: linear-gradient(135deg, var(--brand-red), var(--brand-orange));
  color: var(--white);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
  flex-wrap: wrap;
  gap: 32px;
}
.metric-item h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  margin-bottom: 8px;
}
.metric-item p {
  color: #e5e7eb;
  font-weight: 500;
}
.metric-divider {
  width: 1px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.3);
}

/* Services Page Specific */
.page-header {
  text-align: center;
  padding: 100px 24px 60px;
  max-width: 800px;
  margin: 0 auto;
}
.page-header h1 {
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
  color: var(--brand-dark);
}
.page-header p {
  font-size: 18px;
  color: var(--text-muted);
}

/* Shared Sections (Services & Comparison) */
.services,
.services-page {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.services-page {
  padding-top: 40px;
  padding-bottom: 100px;
}
.section-header {
  margin-bottom: 48px;
  text-align: center;
}
.section-header h2,
.comparison-header h2,
.contact-header h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--brand-dark);
}
.section-header p,
.comparison-header p,
.contact-header p {
  font-size: 18px;
  color: var(--text-muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.service-card {
  background-color: var(--white);
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
  border-color: #fdf1ed;
}
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
}
.icon-orange {
  background-color: #fdf1ed;
  color: var(--brand-orange);
}
.icon-red {
  background-color: #fdf1ed;
  color: var(--brand-red);
}
.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--brand-dark);
}
.service-card p {
  color: var(--text-muted);
  line-height: 1.6;
}
.view-more-container {
  text-align: center;
  margin-top: 56px;
}

/* Comparison Section */
.comparison {
  padding: 80px 24px;
  background-color: var(--white);
}
.comparison-container {
  max-width: 1000px;
  margin: 0 auto;
}
.comparison-header {
  text-align: center;
  margin-bottom: 48px;
}
.box-us-full {
  background-color: var(--brand-dark);
  color: var(--white);
  padding: 48px;
  border-radius: 20px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}
.box-us-full h3 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 28px;
  color: var(--brand-orange);
}
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
}
.advantages-grid li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: #e5e7eb;
  line-height: 1.6;
  font-size: 16px;
}
.advantages-grid li span {
  font-size: 20px;
  flex-shrink: 0;
}
.advantages-grid li strong {
  color: var(--white);
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}

/* Contact Section */
.contact-section {
  padding: 100px 24px;
  background-color: var(--white);
}
.contact-container {
  max-width: 1000px;
  margin: 0 auto;
}
.contact-header {
  text-align: center;
  margin-bottom: 64px;
}
.contact-header p {
  max-width: 600px;
  margin: 0 auto;
}
.contact-content {
  display: flex;
  gap: 0;
  background-color: #f9fafb;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
}
.contact-info {
  flex: 1;
  padding: 48px;
  background-color: var(--brand-dark);
  color: var(--white);
}
.contact-info h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--brand-orange);
}
.contact-info > p {
  color: #9ca3af;
  margin-bottom: 40px;
}
.info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  color: #e5e7eb;
}
.info-icon {
  font-size: 20px;
  color: var(--brand-red);
}
.info-item a {
  color: #e5e7eb;
  transition: color 0.3s;
}
.info-item a:hover {
  color: var(--brand-orange);
}
.contact-form {
  flex: 1.5;
  padding: 48px;
  background-color: var(--white);
}
.form-group {
  margin-bottom: 24px;
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--brand-dark);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s;
  font-family: "Inter", sans-serif;
  background-color: #f9fafb;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--brand-orange);
  background-color: var(--white);
}
.w-100 {
  width: 100%;
}

/* CTA Section */
.cta-section {
  background-color: #f9fafb;
  text-align: center;
  padding: 100px 24px;
  border-top: 1px solid var(--border-color);
}
.cta-section h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--brand-dark);
}
.cta-section p {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 32px;
}

/* Footer */
footer {
  background-color: var(--brand-dark);
  border-top: 1px solid var(--border-color);
  padding: 80px 24px 40px;
  color: var(--white);
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 48px;
}
.footer-left {
  max-width: 400px;
}
.footer-logo-link {
  display: block;
  margin-bottom: 20px;
}
.footer-logo-img {
  height: 50px;
  width: auto;
  display: block;
}
.footer-left p {
  color: #9ca3af;
  margin-bottom: 24px;
}
.newsletter-form {
  display: flex;
  gap: 8px;
}
.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}
.newsletter-form input:focus {
  border-color: var(--brand-orange);
}
.newsletter-form button {
  padding: 12px 24px;
  background-color: var(--brand-orange);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}
.newsletter-form button:hover {
  background-color: #ff9960;
}
.footer-links {
  display: flex;
  gap: 64px;
}
.link-group h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
}
.link-group ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.link-group a {
  color: #9ca3af;
  font-size: 14px;
  transition: color 0.3s;
}
.link-group a:hover {
  color: var(--brand-orange);
}
.footer-bottom {
  max-width: 1200px;
  margin: 64px auto 0;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: #9ca3af;
  font-size: 14px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--brand-dark);
  color: var(--white);
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 300px;
  max-width: 90vw;
  z-index: 9999;
  transform: translateX(150%);
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.toast.show {
  transform: translateX(0);
}
.toast.success {
  border-left: 4px solid #10b981;
}
.toast.error {
  border-left: 4px solid var(--brand-red);
}
.toast span {
  font-size: 15px;
  font-weight: 500;
}
.toast button {
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  font-size: 20px;
  padding: 0 0 0 16px;
  transition: color 0.3s;
}
.toast button:hover {
  color: var(--white);
}

/* =========================================
   TEAM SECTION STYLES
   ========================================= */

.team-section {
  background-color: var(--bg-color);
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
  width: 100%;
}

.section-title {
  color: var(--brand-dark);
  font-size: 38px;
  font-weight: 800;
  margin: 0 0 10px 0;
  letter-spacing: -0.5px;
}

.section-subtitle {
  color: var(--text-muted);
  font-family: "Georgia", serif;
  font-style: italic;
  font-size: 18px;
  margin: 0;
}

.team-container {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
  width: 100%;
}

.team-card {
  background-color: #1a1a1a;
  border-radius: 16px;
  width: 320px;
  height: 420px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.team-card:hover {
  transform: translateY(-8px);
}

.card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: grayscale(80%) brightness(0.8);
  transition: all 0.5s ease;
  z-index: 1;
}

.team-card:hover .card-img {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.05);
}

.card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px 25px 25px 25px;
  background: linear-gradient(
    to top,
    rgba(17, 17, 17, 1) 0%,
    rgba(17, 17, 17, 0.85) 60%,
    transparent 100%
  );
  z-index: 2;
  box-sizing: border-box;
}

.member-name {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  font-style: italic;
  font-size: 28px;
  font-weight: 400;
  color: #ffffff;
}

.member-role {
  margin: 5px 0 0 0;
  color: var(--brand-orange);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

.card-hidden-bio {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.team-card:hover .card-hidden-bio {
  max-height: 200px;
  opacity: 1;
  margin-top: 15px;
}

.card-hidden-bio p {
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
  margin-top: 0;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: #333333;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  margin-right: 10px;
  transition: background 0.3s ease;
  text-transform: lowercase;
  font-family: monospace;
}

.social-links a:hover {
  background-color: var(--brand-orange);
}

/* =========================================
   ABOUT US PAGE STYLES
   ========================================= */
.about-hero {
  padding: 180px 24px 80px 24px;
  background-color: var(--white);
  text-align: center;
}
.about-hero .hero-title {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -1px;
  color: var(--brand-dark);
}
.about-hero .hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}
.text-orange {
  color: var(--brand-orange);
}

.about-story {
  background-color: #f9fafb;
  padding: 100px 24px;
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.story-text h2 {
  font-size: 38px;
  margin-top: 0;
  margin-bottom: 25px;
  color: var(--brand-dark);
}
.story-text p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.img-placeholder {
  width: 100%;
  height: 450px;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-stats {
  background: linear-gradient(135deg, var(--brand-red), var(--brand-orange));
  padding: 80px 24px;
  color: var(--white);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}
.stat-item h3 {
  font-size: clamp(40px, 5vw, 56px);
  color: var(--white);
  margin: 0 0 10px 0;
  font-weight: 800;
}
.stat-item h3::after {
  content: "+";
  font-size: 40px;
}
.stat-item p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

/* =========================================
   RESPONSIVE FIXES
   ========================================= */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-logo-img {
    height: 30px !important;
  }
  .hamburger {
    display: block;
  }
  .hide-on-mobile {
    display: none !important;
  }

  #langToggleBtn {
    padding: 6px 12px !important;
    font-size: 14px !important;
  }
  .nav-buttons {
    gap: 12px;
  }

  .contact-content {
    flex-direction: column;
  }
  .contact-info,
  .contact-form,
  .box-us-full {
    padding: 32px 24px;
  }

  .footer-container,
  .footer-links {
    flex-direction: column;
    gap: 32px;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .metric-divider {
    width: 100%;
    height: 1px;
  }

  .toast {
    bottom: 20px;
    right: 20px;
    left: 20px;
    min-width: auto;
    transform: translateY(150%);
  }
  .toast.show {
    transform: translateY(0);
  }

  .team-section {
    padding: 60px 15px;
  }
  .section-title {
    font-size: 32px;
  }
  .team-container {
    gap: 25px;
  }
  .team-card {
    width: 100%;
    max-width: 350px;
    height: 400px;
    margin: 0 auto;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .img-placeholder {
    height: 300px;
  }
}

@media (max-width: 425px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  }
  .service-card {
    padding: 20px;
  }
  .advantages-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
  .advantages-grid li strong {
    font-size: 14px;
  }
  .advantages-grid li {
    word-wrap: break-word !important;
    white-space: normal !important;
    font-size: 14px;
  }
}

/* =========================================
   LEGAL / POLICY PAGES (Light Theme)
   ========================================= */

.legal-page {
  padding: 20px 24px 100px;
  background-color: var(--bg-color); /* Matches light theme */
  color: var(--text-main);
}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
  background-color: #f9fafb; /* Light clean grey box */
  padding: 50px;
  border-radius: 24px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.legal-block {
  margin-bottom: 40px;
}

.legal-block h2 {
  font-size: 24px;
  color: var(--brand-dark); /* Dark text for light theme */
  margin-bottom: 16px;
  font-weight: 700;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.legal-block p,
.legal-block ul li {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted); /* Muted text for readability */
  margin-bottom: 15px;
}

.legal-block ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 15px;
}

.legal-contact-box {
  margin-top: 60px;
  padding: 30px;
  background-color: #fdf1ed; /* Compix Brand light orange tint */
  border-radius: 16px;
  text-align: center;
  border: 1px solid rgba(255, 145, 77, 0.2);
}

.legal-contact-box h3 {
  color: var(--brand-dark);
  font-size: 20px;
  margin-bottom: 10px;
}

.legal-contact-box p {
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 768px) {
  .legal-container {
    padding: 30px 20px;
  }
  .legal-block h2 {
    font-size: 20px;
  }
}

/* =========================================
   LEGAL / POLICY PAGES 
   ========================================= */
.legal-page {
  padding: 20px 24px 100px;
  background-color: var(--bg-color, #ffffff);
  color: var(--text-main, #333333);
}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
  background-color: #f9fafb; /* Light Grey Box */
  padding: 50px;
  border-radius: 24px;
  border: 1px solid var(--border-color, #e5e7eb);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.legal-block h2 {
  font-size: 24px;
  color: var(--brand-dark, #333333);
  margin-bottom: 16px;
  font-weight: 700;
  border-bottom: 1px solid var(--border-color, #e5e7eb);
  padding-bottom: 10px;
}

.legal-block p,
.legal-block ul li {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted, #666666);
  margin-bottom: 15px;
}

.legal-contact-box {
  margin-top: 60px;
  padding: 30px;
  background-color: #fdf1ed; /* Light Orange Tint */
  border-radius: 16px;
  text-align: center;
  border: 1px solid rgba(255, 145, 77, 0.2);
}

@media (max-width: 425px) {
  .legal-container {
    padding: 20px;
  }
}

/* =========================================
   FAQ PAGE STYLES 
   ========================================= */

.faq-page {
  padding: 20px 24px 100px;
  background-color: var(--bg-color, #ffffff);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: #f9fafb;
  border: 1px solid var(--border-color, #e5e7eb);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-dark, #333333);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Inter", sans-serif;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--brand-orange, #ff914d);
}

.faq-icon {
  font-size: 24px;
  color: var(--brand-orange, #ff914d);
  transition: transform 0.3s ease;
  font-weight: 400;
}

/* Yahan pehle max-height 0 tha, JS usko overwrite karega */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  background-color: var(--white, #ffffff);
}

.faq-answer p {
  padding: 0 24px 24px 24px; /* Bottom padding yahan lagayi hai */
  margin: 0;
  color: var(--text-muted, #666666);
  line-height: 1.6;
  font-size: 16px;
}

.faq-item.active {
  border-color: var(--brand-orange, #ff914d);
  box-shadow: 0 4px 15px rgba(255, 145, 77, 0.1);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Naya 'Still have questions?' Section */
.still-questions {
  margin-top: 60px;
  background-color: #fdf1ed; /* Brand light tint */
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  border: 1px solid rgba(255, 145, 77, 0.2);
}

.still-questions h3 {
  font-size: 24px;
  color: var(--brand-dark);
  margin-bottom: 12px;
  font-weight: 700;
}

.still-questions p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 24px;
}

/* =========================================
   ABOUT US PAGE (Story, Values, Mission)
   ========================================= */

.section-padding {
  padding: 80px 24px;
}
.bg-light-grey {
  background-color: #f9fafb;
}
.bg-light-orange {
  background-color: #fdf1ed;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Mission & Vision Grid */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}
.mv-box {
  background: var(--white);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid rgba(255, 145, 77, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}
.mv-box h2 {
  font-size: 28px;
  margin-bottom: 16px;
  color: var(--brand-orange);
  font-weight: 800;
}
.mv-box p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 16px;
}

/* Timeline Setup */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0 40px 0;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  height: 100%;
  width: 2px;
  background-color: var(--brand-orange);
}
.timeline-item {
  position: relative;
  margin-bottom: 50px;
  padding-left: 60px;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-dot {
  position: absolute;
  left: 11px;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--white);
  border: 4px solid var(--brand-orange);
  box-shadow: 0 0 0 4px rgba(255, 145, 77, 0.2);
}
.timeline-date {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-orange);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.timeline-content h3 {
  font-size: 22px;
  color: var(--brand-dark);
  margin-bottom: 12px;
  font-weight: 700;
}
.timeline-content p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Core Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}
.value-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition:
    transform 0.3s,
    border-color 0.3s;
}
.value-card:hover {
  transform: translateY(-8px);
  border-color: var(--brand-orange);
}
.value-icon {
  font-size: 36px;
  margin-bottom: 20px;
}
.value-card h3 {
  font-size: 20px;
  color: var(--brand-dark);
  margin-bottom: 12px;
  font-weight: 700;
}
.value-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .mv-grid {
    grid-template-columns: 1fr;
  }
  .timeline::before {
    left: 15px;
  }
  .timeline-dot {
    left: 6px;
  }
  .timeline-item {
    padding-left: 50px;
  }
}

/* =========================================
   MODERN TEAM SLIDER STYLES
   ========================================= */
.team-slider-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 40px; /* Arrows ke liye side mein jagah */
  position: relative;
}

.team-swiper {
  width: 100%;
  padding-bottom: 50px; /* Dots ke liye neeche jagah */
}

.swiper-slide {
  display: flex;
  justify-content: center;
}

/* Card ka size Swiper slide handle karega */
.team-card {
  background-color: #1a1a1a;
  border-radius: 16px;
  width: 100%;
  max-width: 320px;
  height: 420px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Slider Controls Styling (Compix Theme) */
.swiper-button-next,
.swiper-button-prev {
  color: var(--brand-orange) !important;
  background-color: var(--white);
  width: 50px !important;
  height: 50px !important;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px !important;
  font-weight: bold;
}

.swiper-button-next {
  right: 0px !important;
}
.swiper-button-prev {
  left: 0px !important;
}

.swiper-pagination-bullet {
  background-color: var(--text-muted) !important;
  opacity: 0.5 !important;
  width: 10px !important;
  height: 10px !important;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background-color: var(--brand-orange) !important;
  opacity: 1 !important;
  width: 24px !important;
  border-radius: 10px !important;
}

/* Mobile Responsiveness for Slider */
@media (max-width: 768px) {
  .team-slider-container {
    padding: 10px 15px;
  }
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  } /* Mobile par arrows chupayen, sirf swipe chalega */
  .team-card {
    max-width: 350px;
    margin: 0 auto;
  }
}

/* =========================================
   CAREERS / APPLICATION FORM STYLES
   ========================================= */

.application-section {
  padding: 40px 24px 100px;
  background-color: #f9fafb;
}

.app-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  padding: 40px;
}

.form-section {
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 40px;
}

.form-section:last-of-type {
  border-bottom: none;
}

.section-heading {
  font-size: 24px;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 24px;
}

.section-subtext {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--brand-dark);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 15px;
  background-color: #f9fafb;
  outline: none;
  transition: all 0.3s;
}

.form-group input:focus {
  border-color: var(--brand-orange);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(255, 145, 77, 0.1);
}

.full-width {
  grid-column: span 2;
}

/* Resume Upload Box */
.resume-upload-box {
  border: 2px dashed var(--border-color);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  background-color: #f9fafb;
}

.resume-upload-box:hover {
  border-color: var(--brand-orange);
  background-color: #fdf1ed;
}

.upload-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 10px;
}

/* Chips Styling for Role */
.role-chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.chip input {
  display: none;
}
.chip span {
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  background: var(--white);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-block;
}

.chip input:checked + span {
  background: var(--brand-orange);
  color: var(--white);
  border-color: var(--brand-orange);
}

.form-footer {
  text-align: right;
}
.terms-text {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  text-align: right;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .full-width {
    grid-column: span 1;
  }
  .app-container {
    padding: 24px;
  }
}

/* =========================================
   MODERN HERO SECTION STYLES
   ========================================= */
.modern-hero {
  position: relative;
  overflow: hidden;
  padding: 160px 24px 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--bg-color);
}

/* Subtle Grid Background */
.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
}

/* Orange Glowing Background Blob */
.hero-glow {
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(255, 145, 77, 0.1) 0%,
    rgba(255, 255, 255, 0) 60%
  );
  z-index: 0;
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

/* Enhanced Animated Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  color: var(--brand-dark);
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 30px;
}
.badge-dot {
  width: 10px;
  height: 10px;
  background-color: var(--brand-orange);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--brand-orange);
  animation: pulse 2s infinite;
}

/* Gradient Text for Highlight */
.text-gradient {
  background: linear-gradient(135deg, var(--brand-red), var(--brand-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Advanced Button Styles */
.btn-glow {
  box-shadow: 0 10px 25px -5px rgba(255, 145, 77, 0.4);
}
.btn-glow:hover {
  box-shadow: 0 15px 30px -5px rgba(255, 145, 77, 0.6);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-icon .arrow {
  transition: transform 0.3s ease;
}
.btn-icon:hover .arrow {
  transform: translateX(5px);
}

/* Floating Elements (Agency Vibe) */
.floating-element {
  position: absolute;
  background: var(--white);
  padding: 14px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-color);
  z-index: 1;
  color: var(--text-muted);
  animation: float 6s ease-in-out infinite;
}
.float-1 {
  top: 20%;
  left: 8%;
  animation-delay: 0s;
}
.float-2 {
  bottom: 25%;
  right: 8%;
  animation-delay: 3s;
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 145, 77, 0.5);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(255, 145, 77, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 145, 77, 0);
  }
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .floating-element {
    display: none;
  } /* Mobile par floaters hide takii uncluttered lage */
  .modern-hero {
    padding: 130px 20px 80px;
  }
}

/* =========================================
   ADMISSION FORM SPECIFIC STYLES
   ========================================= */
.admission-container {
  max-width: 900px; /* Thoda choda rakha hai admission ke liye */
}

.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.required::after {
  content: " *";
  color: red;
}

/* Validation Error Style */
.input-error {
  border-color: red !important;
  background-color: #fff0f0 !important;
}

/* Custom File Upload Box */
.compix-file-upload {
  position: relative;
  width: 100%;
}

.compix-file-upload input[type="file"] {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 10;
}

.upload-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background-color: #f9fafb;
  border: 2px dashed var(--border-color);
  border-radius: 8px;
  transition: all 0.3s;
  color: var(--text-muted);
}

.compix-file-upload:hover .upload-box {
  border-color: var(--brand-orange);
  background-color: #fff9f5;
}

.upload-icon {
  font-size: 24px;
  margin-bottom: 10px;
}

/* Dynamic Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}
.dynamic-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 15px;
}
.dynamic-table th {
  background-color: #f9fafb;
  padding: 12px;
  text-align: left;
  font-size: 14px;
  color: var(--brand-dark);
  border-bottom: 2px solid var(--border-color);
}
.dynamic-table td {
  padding: 10px 5px;
  border-bottom: 1px solid var(--border-color);
}
.dynamic-table input {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 14px;
  background: var(--white);
}
.dynamic-table input:focus {
  border-color: var(--brand-orange);
  outline: none;
}

.btn-add-row {
  background: #f1f5f9;
  color: var(--brand-dark);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}
.btn-add-row:hover {
  background: #e2e8f0;
}

.btn-remove {
  background: #fee2e2;
  color: #ef4444;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

/* Submit Button & Loading */
.submit-btn-large {
  width: 100%;
  padding: 18px;
  font-size: 18px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.submit-btn-large.loading {
  color: transparent;
  pointer-events: none;
}
.submit-btn-large.loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.4);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* Status Toast */
.status-toast {
  margin-top: 20px;
  padding: 15px;
  border-radius: 6px;
  font-weight: 600;
  display: none;
  text-align: center;
}
.status-toast.success {
  background-color: #ecfdf5;
  color: #10b981;
  border: 1px solid #a7f3d0;
}
.status-toast.error {
  background-color: #fef2f2;
  color: #ef4444;
  border: 1px solid #fecaca;
}

@media (max-width: 768px) {
  .form-grid-3 {
    grid-template-columns: 1fr;
  }
}
