:root {
  --ml: #780000;
  --br: #c1121f;
  --pw: #fdf0d5;
  --dsb: #003049;
  --sb: #669bbc;
  --white: #ffffff;
  --text-dark: #212529;
  --text-light: #f8f9fa;
  --transition: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

.obfuscate {
  direction: rtl;
  unicode-bidi: bidi-override;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--br);
  color: var(--white);
  padding: 0.5rem 1rem;
  z-index: 9999;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

.util-bar {
  background: var(--ml);
  color: var(--pw);
  padding: 0.5rem 0;
  font-size: 0.85rem;
}

.util-bar a {
  color: var(--pw);
}

.util-bar a:hover {
  color: var(--white);
}

.util-bar .divider {
  margin: 0 0.75rem;
  opacity: 0.5;
}

.navbar {
  background: var(--dsb) !important;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white) !important;
}

.navbar-brand svg {
  width: 50px;
  height: 50px;
}

.logo-text {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.navbar-nav .nav-link {
  color: var(--white) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--br);
  transition: var(--transition);
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 80%;
}

.navbar-nav .nav-link:hover {
  color: var(--pw) !important;
}

.navbar-toggler {
  border-color: var(--white);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.btn-quote {
  background: var(--br);
  color: var(--white);
  border: none;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  border-radius: 4px;
  transition: var(--transition);
}

.btn-quote:hover {
  background: var(--ml);
  color: var(--white);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, rgba(0, 48, 73, 0.9) 0%, rgba(0, 48, 73, 0.7) 50%, rgba(120, 0, 0, 0.8) 100%),
    url('../assets/img/hero.webp') center/cover no-repeat;
  color: var(--white);
  text-align: center;
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero .btn {
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 4px;
  margin: 0.5rem;
}

.btn-primary-custom {
  background: var(--br);
  color: var(--white);
  border: 2px solid var(--br);
}

.btn-primary-custom:hover {
  background: var(--ml);
  border-color: var(--ml);
  color: var(--white);
}

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

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

.section {
  padding: 5rem 0;
}

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

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

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dsb);
  margin-bottom: 1rem;
}

.section-alt .section-header h2 {
  color: var(--dsb);
}

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

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

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h3 {
  font-size: 1.75rem;
  color: var(--dsb);
  margin-bottom: 1rem;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--br);
}

.stat-card .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dsb);
  display: block;
}

.stat-card .stat-label {
  color: var(--sb);
  font-weight: 500;
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.activity-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

.activity-card:hover {
  transform: translateY(-5px);
  border-bottom-color: var(--br);
}

.activity-card .icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--dsb), var(--sb));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.75rem;
  color: var(--white);
}

.activity-card h4 {
  font-size: 1.25rem;
  color: var(--dsb);
  margin-bottom: 0.75rem;
}

.activity-card p {
  color: #6c757d;
  font-size: 0.95rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-card .icon {
  width: 50px;
  height: 50px;
  background: var(--br);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.feature-card h4 {
  font-size: 1.1rem;
  color: var(--dsb);
  margin-bottom: 0.25rem;
}

.feature-card p {
  color: #6c757d;
  font-size: 0.9rem;
}

.industries-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
}

.industry-item {
  text-align: center;
  color: var(--white);
}

.industry-item .icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
  color: var(--sb);
}

.industry-item h5 {
  font-size: 1rem;
  font-weight: 500;
}

.cta-banner {
  background: var(--ml);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.cta-banner h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-banner .btn {
  background: var(--white);
  color: var(--dsb);
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 4px;
  border: none;
  margin-top: 1.5rem;
  transition: var(--transition);
}

.cta-banner .btn:hover {
  background: var(--pw);
  color: var(--dsb);
}

.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form {
  background: var(--pw);
  padding: 2rem;
  border-radius: 8px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--dsb);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--sb);
  box-shadow: 0 0 0 3px rgba(102, 155, 188, 0.2);
}

.form-control.is-invalid {
  border-color: var(--br);
}

.invalid-feedback {
  color: var(--br);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.contact-info-card {
  background: var(--dsb);
  color: var(--white);
  padding: 2rem;
  border-radius: 8px;
}

.contact-info-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-item .icon {
  width: 40px;
  height: 40px;
  background: var(--br);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item p {
  margin: 0;
  opacity: 0.9;
}

.contact-info-item a {
  color: var(--sb);
}

.contact-info-item a:hover {
  color: var(--white);
}

.map-responsive {
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
}

.map-responsive iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
}

.footer {
  background: var(--dsb);
  color: var(--white);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--pw);
}

.footer-about p {
  opacity: 0.8;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  opacity: 0.8;
  font-size: 0.95rem;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--sb);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--br);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  text-align: center;
  opacity: 0.8;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--sb);
}

.footer-bottom a:hover {
  color: var(--white);
}

.detail-section {
  padding: 4rem 0;
}

.detail-section:nth-child(even) {
  background: var(--pw);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
}

.detail-grid.reverse {
  grid-template-columns: 2fr 1fr;
}

.detail-grid.reverse .detail-icon {
  order: 2;
}

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

.detail-icon .icon-large {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--dsb), var(--sb));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 3rem;
  color: var(--white);
}

.detail-content h3 {
  font-size: 1.75rem;
  color: var(--dsb);
  margin-bottom: 1rem;
}

.detail-content p {
  margin-bottom: 1.5rem;
  color: #495057;
}

.detail-features {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.detail-features li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.detail-features li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--br);
}

.industry-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.industry-card:hover {
  transform: translateY(-5px);
}

.industry-card .icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--dsb), var(--sb));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--white);
}

.industry-card h4 {
  color: var(--dsb);
  margin-bottom: 0.75rem;
}

.industry-card p {
  color: #6c757d;
  font-size: 0.95rem;
}

.license-table {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.license-table table {
  width: 100%;
  border-collapse: collapse;
}

.license-table th,
.license-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid #e9ecef;
}

.license-table th {
  background: var(--dsb);
  color: var(--white);
  font-weight: 600;
  width: 40%;
}

.license-table tr:last-child td,
.license-table tr:last-child th {
  border-bottom: none;
}

.leader-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.leader-card .avatar {
  width: 100px;
  height: 100px;
  background: var(--dsb);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--white);
  font-size: 2.5rem;
}

.leader-card h4 {
  color: var(--dsb);
  margin-bottom: 0.25rem;
}

.leader-card p {
  color: var(--sb);
  font-weight: 500;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value-card {
  text-align: center;
  padding: 2rem;
}

.value-card .icon {
  width: 80px;
  height: 80px;
  background: rgba(102, 155, 188, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--dsb);
}

.value-card h4 {
  color: var(--dsb);
  margin-bottom: 0.75rem;
}

.form-success {
  display: none;
  background: #d4edda;
  color: #155724;
  padding: 1rem;
  border-radius: 4px;
  margin-top: 1rem;
  text-align: center;
}

.form-error {
  display: none;
  background: #f8d7da;
  color: #721c24;
  padding: 1rem;
  border-radius: 4px;
  margin-top: 1rem;
  text-align: center;
}

@media (max-width: 991px) {
  .hero h1 {
    font-size: 2.25rem;
  }

  .about-grid,
  .contact-grid,
  .detail-grid,
  .detail-grid.reverse {
    grid-template-columns: 1fr;
  }

  .detail-grid.reverse .detail-icon {
    order: 0;
  }

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

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

@media (max-width: 767px) {
  .util-bar {
    display: none;
  }

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

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

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

  .section {
    padding: 3rem 0;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

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

  .social-links {
    justify-content: center;
  }

  .industries-strip {
    gap: 1.5rem;
  }

  .industries-strip .industry-item {
    width: calc(50% - 1.5rem);
  }

  .map-responsive iframe {
    min-height: 300px;
  }
}