/* responsive.css - COMPLETE FIXED VERSION */

:root {
  --primary: #001a39;
  --secondary: #4d8bb8; /* Ocean blue instead of gold */
  --white: #ffffff;
  --light: #f8f9fa;
  --dark: #212529;
  --gray: #6c757d;
}

/* ===== Fixed Header with Logo Positioning ===== */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: var(--white);
  overflow: visible;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  height: 80px;
}

/* White left section - properly sized */
.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 450px; /* Increased to accommodate text + logo */
  height: 100%;
  background: var(--white);
  z-index: 0;
  clip-path: polygon(0 0, 90% 0, 80% 100%, 0 100%);
}

/* Blue right section - starts after logo */
.header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 420px; /* Starts after text + logo */
  width: 100%;
  height: 100%;
  background: var(--primary);
  z-index: 0;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 20% 100%);
}

/* Logo container with text */
.logo-container {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  padding-left: 30px;
  width: 300px; /* Fixed width for text + logo */
}

.company-tagline {
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-right: 15px;
  white-space: nowrap;
}

.logo {
  padding: 15px 0; /* Removed side padding */
}

.logo img {
  height: 50px;
  width: auto;
}

.navbar {
  position: relative;
  z-index: 2;
  padding-right: 30px;
}

.navbar ul {
  display: flex;
  list-style: none;
}

.navbar li {
  margin-left: 30px;
}

.navbar a {
  color: var(--white);
  font-weight: 600;
  position: relative;
}

.navbar a:hover {
  color: var(--secondary);
}

.navbar a.active {
  color: var(--secondary);
}

.navbar a.active:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--secondary);
}

/* ===== Mobile Menu ===== */
@media (max-width: 768px) {
  .navbar ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px; /* adjust based on header height */
    right: 0;
    background-color: rgba(0, 0, 0, 0.95);
    width: 200px;
    padding: 15px 0;
    border-radius: 8px;
    z-index: 10;
  }

  .navbar ul.show {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
    position: absolute;
    top: 20px;
    right: 15px;
    font-size: 28px;
    color: var(--secondary);
    cursor: pointer;
    z-index: 20;
  }

  .navbar {
    padding-right: 0;
  }

  .logo-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .company-tagline {
    font-size: 0.75rem;
    margin-right: 10px;
  }
}

/* ===== Hero Section ===== */
.hero {
  background: linear-gradient(rgba(0, 26, 57, 0.8), rgba(0, 26, 57, 0.8)), url('../assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--white);
  margin-top: 80px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  animation: fadeInUp 1s ease 0.3s forwards;
  opacity: 0;
}

.hero .btn {
  animation: fadeInUp 1s ease 0.6s forwards;
  opacity: 0;
  background: var(--secondary);
  color: var(--white);
}

.hero .btn:hover {
  background: var(--primary);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Services Section ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-img {
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.service-card:hover .service-img img {
  transform: scale(1.1);
}

.service-content {
  padding: 30px;
}

/* ===== Staffing Page ===== */
.staffing-hero {
  background: linear-gradient(rgba(0, 26, 57, 0.8), rgba(0, 26, 57, 0.8)), url('../assets/images/staffing-bg.jpg');
  background-size: cover;
  background-position: center;
  height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--white);
  margin-top: 80px;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.role-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.role-card:hover {
  transform: translateY(-5px);
}

.role-header {
  padding: 30px;
  background-color: var(--primary);
  color: var(--white);
}

.role-body {
  padding: 30px;
}

.toggle-details {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--secondary);
  margin-top: 20px;
}

.toggle-details:hover {
  background-color: var(--secondary);
  color: var(--white);
}

.details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.details.active {
  max-height: 500px;
  margin-top: 20px;
}

/* ===== Airline Services Page ===== */
.split-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.role-section {
  background-color: var(--white);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.role-header {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.role-header img {
  width: 60px;
  height: 60px;
  margin-right: 20px;
}

.benefits-list {
  list-style: none;
  margin-bottom: 30px;
}

.benefits-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
}

.benefits-list li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
}

/* ===== Testimonials ===== */
.testimonials {
  background-color: var(--primary);
  color: var(--white);
  padding: 80px 0;
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-slider blockquote {
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-slider cite {
  font-weight: 600;
  color: var(--secondary);
}

/* ===== Contact Form ===== */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 16px;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.success-message {
  color: #28a745;
  margin-top: 20px;
  text-align: center;
}

.error-message {
  color: #dc3545;
  margin-top: 20px;
  text-align: center;
}

/* ===== Footer ===== */
.footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 50px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-logo img {
  height: 50px;
  margin-bottom: 20px;
}

.footer-links h4 {
  color: var(--secondary);
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--white);
}

.footer-links a:hover {
  color: var(--secondary);
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== Responsive Breakpoints ===== */
@media (max-width: 992px) {
  .section {
    padding: 60px 0;
  }
  
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
}

@media (max-width: 576px) {
  .section {
    padding: 40px 0;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .split-section {
    grid-template-columns: 1fr;
  }
  
  .logo-container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .company-tagline {
    margin-bottom: 5px;
    margin-right: 0;
  }
}