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

:root {
  --navy: #0a1f3b;
  --navy-light: #112d56;
  --orange: #e87a20;
  --orange-dark: #cf6a15;
  --white: #ffffff;
  --light-gray: #f5f6f8;
  --medium-gray: #d1d5db;
  --dark-gray: #4b5563;
  --text: #1f2937;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --radius: 8px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
}

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

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

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  color: var(--navy);
  line-height: 1.3;
}

h1 { font-size: 2.8rem; font-weight: 700; }
h2 { font-size: 2.2rem; font-weight: 600; }
h3 { font-size: 1.4rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { margin-bottom: 1rem; }

.section-subtitle {
  color: var(--orange);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-description {
  color: var(--dark-gray);
  max-width: 640px;
  margin: 0 auto 3rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: 'Inter', sans-serif;
}

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

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 122, 32, 0.35);
}

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

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

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

.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
}

/* ===== HEADER / NAVIGATION ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 18px 0;
}

.header.scrolled {
  background: var(--navy);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

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

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

.logo img {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: var(--transition);
}

.footer .logo img {
  filter: brightness(0) invert(1);
}

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

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

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

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

.nav-links .btn {
  padding: 10px 24px;
  font-size: 0.9rem;
}

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

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

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

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

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

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(10, 31, 59, 0.92), rgba(10, 31, 59, 0.75)),
              url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1920&q=80') center/cover no-repeat;
  color: var(--white);
}

.hero-content {
  max-width: 680px;
}

.hero h1 {
  color: var(--white);
  font-size: 3.2rem;
  margin-bottom: 1.2rem;
}

.hero h1 .highlight {
  color: var(--orange);
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat h3 {
  color: var(--orange);
  font-size: 2.2rem;
  margin-bottom: 0.2rem;
}

.stat p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 0;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, rgba(10, 31, 59, 0.93), rgba(10, 31, 59, 0.8)),
              url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?w=1920&q=80') center/cover no-repeat;
  padding: 160px 0 80px;
  color: var(--white);
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

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

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  opacity: 0.7;
}

.breadcrumb a:hover {
  color: var(--orange);
}

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

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

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

/* ===== INTRO ===== */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.intro-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.intro-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.intro-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--orange);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius);
  text-align: center;
}

.intro-badge h3 {
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
}

.intro-badge p {
  margin: 0;
  font-size: 0.85rem;
}

.intro-text .section-subtitle {
  text-align: left;
}

.intro-text h2 {
  margin-bottom: 1.2rem;
}

.intro-text p {
  color: var(--dark-gray);
}

/* ===== SERVICES CARDS ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-bottom: 4px solid transparent;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--orange);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--orange), #f5a623);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  color: var(--white);
}

.service-card h3 {
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--dark-gray);
  font-size: 0.95rem;
}

.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 1rem;
  transition: var(--transition);
}

.service-card .learn-more:hover {
  gap: 10px;
}

/* ===== FEATURED PROJECTS ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  background: var(--white);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.project-image {
  height: 220px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-info {
  padding: 24px;
}

.project-tag {
  display: inline-block;
  background: rgba(232, 122, 32, 0.1);
  color: var(--orange);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.project-info h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.project-info p {
  color: var(--dark-gray);
  font-size: 0.9rem;
  margin: 0;
}

/* ===== WHY CHOOSE US ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.why-card {
  text-align: center;
  padding: 30px 20px;
}

.why-icon {
  width: 72px;
  height: 72px;
  background: var(--light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.8rem;
  color: var(--orange);
  transition: var(--transition);
}

.why-card:hover .why-icon {
  background: var(--orange);
  color: var(--white);
}

.why-card h4 {
  margin-bottom: 0.5rem;
}

.why-card p {
  color: var(--dark-gray);
  font-size: 0.9rem;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-banner p {
  opacity: 0.85;
  max-width: 560px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

/* ===== ABOUT PAGE ===== */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-story p {
  color: var(--dark-gray);
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.mv-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--orange);
}

.mv-card h3 {
  margin-bottom: 1rem;
}

.mv-card p {
  color: var(--dark-gray);
  margin: 0;
}

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

.value-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.value-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.value-card h4 {
  margin-bottom: 0.5rem;
}

.value-card p {
  color: var(--dark-gray);
  font-size: 0.9rem;
  margin: 0;
}

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

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.team-photo {
  width: 100%;
  height: 280px;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--medium-gray);
}

.team-info {
  padding: 24px;
}

.team-info h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.team-info .role {
  color: var(--orange);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.team-info p {
  color: var(--dark-gray);
  font-size: 0.88rem;
  margin: 0;
}

.certifications {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.cert-item {
  text-align: center;
  padding: 24px 32px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 160px;
}

.cert-item .cert-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.cert-item h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.cert-item p {
  color: var(--dark-gray);
  font-size: 0.8rem;
  margin: 0;
}

/* ===== SERVICES PAGE (detail) ===== */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 40px;
}

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

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

.service-detail-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.service-detail-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.service-detail-content h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.service-detail-content p {
  color: var(--dark-gray);
}

.service-detail-content ul {
  list-style: none;
  margin: 1rem 0;
}

.service-detail-content ul li {
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  color: var(--dark-gray);
}

.service-detail-content ul li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 3rem;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 1rem;
  font-family: 'Poppins', sans-serif;
}

.step h4 {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.step p {
  color: var(--dark-gray);
  font-size: 0.82rem;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--medium-gray);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232, 122, 32, 0.1);
}

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

.form-success {
  display: none;
  background: #d4edda;
  color: #155724;
  padding: 16px;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-weight: 500;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: rgba(232, 122, 32, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--orange);
}

.contact-card h4 {
  margin-bottom: 4px;
}

.contact-card p {
  color: var(--dark-gray);
  font-size: 0.92rem;
  margin: 0;
}

.map-section {
  margin-top: 60px;
}

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-about p {
  opacity: 0.7;
  font-size: 0.92rem;
  margin-top: 1rem;
}

.footer h4 {
  color: var(--white);
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

.footer-links a {
  display: block;
  padding: 4px 0;
  opacity: 0.7;
  font-size: 0.92rem;
  transition: var(--transition);
}

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

.footer-contact p {
  opacity: 0.7;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  opacity: 0.5;
  font-size: 0.85rem;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid,
  .projects-grid,
  .values-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.7rem; }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    padding: 80px 30px 30px;
    gap: 0;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
  }

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

  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
  }

  .hamburger {
    display: flex;
  }

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

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .stat h3 {
    font-size: 1.6rem;
  }

  .intro-grid,
  .about-story,
  .service-detail,
  .contact-grid,
  .mission-vision {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .services-grid,
  .projects-grid,
  .values-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

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

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .contact-form {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }

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

  .process-steps {
    grid-template-columns: 1fr;
  }

  .certifications {
    flex-direction: column;
    align-items: center;
  }
}
