/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ===== CSS Variables ===== */
:root {
  --navy: #1a2a3a;
  --navy-dark: #0f1a27;
  --navy-light: #2c3e50;
  --blue: #3498db;
  --blue-dark: #2980b9;
  --white: #fff;
  --gray-light: #f5f6f7;
  --gray: #6c757d;
  --gray-dark: #343a40;
  --text: #333;
  --text-light: #666;
  --max-width: 1200px;
  --header-height: 80px;
  --transition: 0.3s ease;
}

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--white);
  z-index: 1000;
  box-shadow: 0 2px 10px rgb(0 0 0 / 10%);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 60px;
  width: auto;
}

.logo span {
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  margin-top: var(--header-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(15 26 39 / 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 40px 20px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

/* ===== Sections ===== */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--gray-light);
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--navy);
}

.section-dark .section-title {
  color: var(--white);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: 1.7;
}

.section-dark .section-subtitle {
  color: rgb(255 255 255 / 80%);
}

/* ===== Cards Grid ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgb(0 0 0 / 10%);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgb(0 0 0 / 15%);
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 25px;
}

.card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--navy);
}

.card-body p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== Blog Cards ===== */
.blog-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgb(0 0 0 / 10%);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgb(0 0 0 / 15%);
}

.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 20px;
}

.blog-card-body .date {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 8px;
}

.blog-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--navy);
}

.blog-card-body h3 a {
  transition: color var(--transition);
}

.blog-card-body h3 a:hover {
  color: var(--blue);
}

.blog-card-body p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

.blog-card-body .read-more {
  display: inline-block;
  margin-top: 12px;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.blog-card-body .read-more:hover {
  color: var(--blue-dark);
}

/* ===== Overview / Text Sections ===== */
.text-section {
  max-width: 800px;
  margin: 0 auto;
}

.text-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 20px;
}

.text-center {
  text-align: center;
}

/* ===== Page Header (inner pages) ===== */
.page-header {
  background: var(--navy);
  color: var(--white);
  padding: 60px 0 40px;
  text-align: center;
  margin-top: var(--header-height);
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

.page-header p {
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 600px;
  margin: 15px auto 0;
}

/* ===== Services Page ===== */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
}

.service-block:last-child {
  margin-bottom: 0;
}

.service-block.reverse {
  direction: rtl;
}

.service-block.reverse > * {
  direction: ltr;
}

.service-block img {
  border-radius: 8px;
  width: 100%;
  height: 350px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgb(0 0 0 / 10%);
}

.service-block h3 {
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 15px;
}

.service-block p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1.05rem;
}

/* ===== About Page ===== */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-section img {
  border-radius: 8px;
  width: 100%;
  height: 400px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgb(0 0 0 / 10%);
}

.about-section h2 {
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 15px;
}

.about-section p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1.05rem;
}

/* ===== Forms ===== */
.form-section {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgb(0 0 0 / 10%);
}

.form-section h2 {
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 25px;
  text-align: center;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color var(--transition);
  background: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgb(52 152 219 / 10%);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input.error,
.form-group textarea.error {
  border-color: #e74c3c;
}

.form-group .error-message {
  color: #e74c3c;
  font-size: 0.8rem;
  margin-top: 4px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
  flex-shrink: 0;
}

.checkbox-group label {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
  font-weight: 400;
}

.checkbox-group label a {
  color: var(--blue);
  text-decoration: underline;
}

.checkbox-group label a:hover {
  color: var(--blue-dark);
}

.iti {
  width: 100%;
}

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}

.form-submit:hover {
  background: var(--blue-dark);
}

.form-success {
  display: none;
  text-align: center;
  padding: 30px;
  color: #27ae60;
  font-size: 1.1rem;
  font-weight: 600;
}

/* ===== Hiring Page ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.benefit-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.benefit-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
}

.benefit-item h4 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.benefit-item p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

.requirements-list {
  max-width: 700px;
  margin: 30px auto 0;
}

.requirements-list li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.6;
}

.requirements-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.step-item {
  text-align: center;
  padding: 30px 20px;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 15px;
}

.step-item h4 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.step-item p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== Blog Post Page ===== */
.blog-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.blog-post-header {
  margin-bottom: 30px;
}

.blog-post-header h1 {
  font-size: 2.2rem;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}

.blog-post-meta {
  color: var(--gray);
  font-size: 0.9rem;
}

.blog-post-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 30px;
}

.blog-post-content h2 {
  font-size: 1.6rem;
  color: var(--navy);
  margin: 30px 0 15px;
}

.blog-post-content h3 {
  font-size: 1.3rem;
  color: var(--navy);
  margin: 25px 0 12px;
}

.blog-post-content p {
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 15px;
  font-size: 1.05rem;
}

.blog-post-content ul,
.blog-post-content ol {
  margin: 15px 0;
  padding-left: 30px;
}

.blog-post-content ul {
  list-style: disc;
}

.blog-post-content ol {
  list-style: decimal;
}

.blog-post-content li {
  margin-bottom: 8px;
  line-height: 1.7;
  color: var(--text);
}

.blog-post-content strong {
  color: var(--navy);
}

/* ===== Legal Pages ===== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.legal-content h1 {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 25px;
}

.legal-content h2 {
  font-size: 1.4rem;
  color: var(--navy);
  margin: 30px 0 12px;
}

.legal-content h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin: 20px 0 10px;
}

.legal-content p {
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 15px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 15px;
}

.legal-content li {
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 6px;
}

/* ===== Footer ===== */
.footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: 50px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-info h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.footer-info p {
  color: rgb(255 255 255 / 70%);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.footer-info a {
  color: rgb(255 255 255 / 70%);
  transition: color var(--transition);
}

.footer-info a:hover {
  color: var(--blue);
}

.footer-links h4 {
  font-size: 1.05rem;
  margin-bottom: 15px;
}

.footer-links a {
  display: block;
  color: rgb(255 255 255 / 70%);
  margin-bottom: 10px;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--blue);
}

.footer-bottom {
  border-top: 1px solid rgb(255 255 255 / 10%);
  padding-top: 20px;
  text-align: center;
  color: rgb(255 255 255 / 50%);
  font-size: 0.85rem;
}

/* ===== Contact Page Hero ===== */
.contact-hero {
  position: relative;
  padding: 80px 0;
  margin-top: var(--header-height);
  color: var(--white);
  text-align: center;
}

.contact-hero .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.contact-hero .hero-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(15 26 39 / 75%);
}

.contact-hero .container {
  position: relative;
  z-index: 1;
}

.contact-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.contact-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Responsive ===== */
@media (width <= 992px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-block {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-block.reverse {
    direction: ltr;
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

@media (width <= 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 0;
    box-shadow: 0 4px 10px rgb(0 0 0 / 10%);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid rgb(0 0 0 / 8%);
    width: 100%;
  }

  .nav-links a::after {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    min-height: 450px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-section {
    padding: 25px;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .blog-post-header h1 {
    font-size: 1.8rem;
  }

  .blog-post-img {
    height: 250px;
  }

  .legal-content {
    padding: 30px 15px;
  }

  .contact-hero h1 {
    font-size: 2rem;
  }
}

@media (width <= 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .logo span {
    font-size: 1rem;
  }
}
