/* ==========================================
   INNER HERO SECTION & BREADCRUMBS
   ========================================== */
.inner-hero {
  position: relative;
  padding: 8rem 0 4rem;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.inner-hero-title {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

.inner-hero-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ==========================================
   ABOUT PAGE STYLING
   ========================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-image-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 350px;
  background: linear-gradient(135deg, #0A2540 0%, #0066FF 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

.about-features-check {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.about-check-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.about-check-item svg {
  color: var(--accent-primary);
}

/* Mission & Vision Cards */
.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

.mv-card {
  padding: 2.5rem;
  height: 100%;
}

.mv-icon {
  width: 48px;
  height: 48px;
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
}

.mv-icon.accent {
  color: var(--accent-orange);
}

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

/* Achievements & Timeline */
.timeline-section {
  background: var(--bg-secondary);
}

.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-container::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--border-color);
}

.timeline-item {
  position: relative;
  padding-left: 50px;
  margin-bottom: 3.5rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: 11px;
  top: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-primary);
  border: 4px solid var(--bg-primary);
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.15);
  transition: all var(--transition-fast);
}

.timeline-item:hover .timeline-marker {
  background: var(--accent-orange);
  box-shadow: 0 0 0 6px rgba(255, 122, 0, 0.2);
}

.timeline-date {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
  display: block;
}

.timeline-item:hover .timeline-date {
  color: var(--accent-orange);
}

.timeline-content h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  font-size: 0.9rem;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.team-card {
  text-align: center;
  overflow: hidden;
}

.team-avatar-box {
  height: 260px;
  background: linear-gradient(135deg, #07152B 0%, #1A2F4C 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.team-info {
  padding: 1.5rem;
}

.team-info h4 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.team-info p {
  font-size: 0.85rem;
  color: var(--accent-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================
   SERVICES DETAILED LAYOUT
   ========================================== */
.service-detail-section {
  border-bottom: 1px solid var(--border-color);
}

.service-detail-section:last-of-type {
  border-bottom: none;
}

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

.service-detail-grid.reverse {
  /* Dynamic row switching on larger screens */
}

.service-detail-content h2 {
  font-size: 1.85rem;
  margin-bottom: 1rem;
}

.service-detail-desc {
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.service-advantages-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.adv-item {
  display: flex;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.adv-item svg {
  color: var(--success-color);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 0.15rem;
}

.adv-item h4 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.service-detail-img {
  height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #0A2540 0%, #FF7A00 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

/* ==========================================
   BLOG LAYOUT (GRID, SEARCH, BADGES)
   ========================================== */
.blog-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.blog-filter-bar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.blog-search-box {
  position: relative;
  width: 100%;
}

.blog-search-input {
  width: 100%;
  padding: 0.85rem 1.5rem 0.85rem 3rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.blog-search-input:focus {
  border-color: var(--accent-primary);
  background: var(--bg-primary);
  box-shadow: 0 0 10px rgba(0, 102, 255, 0.15);
}

.blog-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-muted);
}

.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.category-btn {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--text-secondary);
}

.category-btn:hover, .category-btn.active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: var(--text-light);
}

/* Blog Post Card */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.blog-img-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #12253E 0%, #050E1A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.blog-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--accent-primary);
  color: #FFFFFF;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.blog-card-info {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.blog-meta-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-card h3 a:hover {
  color: var(--accent-primary);
}

.blog-card p {
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-readmore {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-readmore:hover {
  color: var(--accent-orange);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3.5rem;
}

.page-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.page-num:hover, .page-num.active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #FFFFFF;
}

/* Sidebar Components */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.sidebar-widget {
  padding: 2rem;
}

.widget-title {
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--accent-primary);
  padding-bottom: 0.5rem;
}

.recent-posts-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.recent-post-item {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.recent-post-thumb {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: var(--border-color);
  flex-shrink: 0;
}

.recent-post-info h5 {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.recent-post-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================
   CONTACT PAGE DETAILS & MAPS
   ========================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-block {
  display: flex;
  gap: 1rem;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 102, 255, 0.1);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.contact-info-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-info-text p {
  font-size: 0.95rem;
}

.contact-hours-table {
  width: 100%;
  margin-top: 0.5rem;
  font-size: 0.85rem;
}

.contact-hours-table td {
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border-color);
}

.contact-hours-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--text-primary);
}

/* Form Styles */
.contact-form-panel {
  padding: 2.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.form-input, .form-textarea {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1.25rem;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--accent-primary);
  background: var(--bg-primary);
  box-shadow: 0 0 10px rgba(0, 102, 255, 0.1);
}

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

/* Map Section */
.map-section {
  padding-bottom: 0;
}

.map-wrapper {
  position: relative;
  height: 400px;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================
   BOOKING / INQUIRY PAGE
   ========================================== */
.booking-container {
  max-width: 900px;
  margin: 0 auto;
}

.booking-panel {
  padding: 3rem 2.5rem;
}

.booking-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.booking-intro h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.booking-action-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* ==========================================
   RESPONSIVE LAYOUT (MOBILE FIRST)
   ========================================== */

/* Small Tablets */
@media (min-width: 576px) {
  .mv-icon { margin-bottom: 0; }
  .about-features-check {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-field-full {
    grid-column: span 2;
  }
  .booking-action-buttons {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablets */
@media (min-width: 768px) {
  .inner-hero { padding: 9rem 0 5rem; }
  .inner-hero-title { font-size: 2.75rem; }
  
  .timeline-container::before {
    left: 50%;
    transform: translateX(-50%);
  }
  .timeline-item {
    width: 50%;
    padding-left: 0;
    margin-bottom: 4rem;
  }
  .timeline-item:nth-child(even) {
    align-self: flex-end;
    margin-left: 50%;
    padding-left: 40px;
  }
  .timeline-item:nth-child(odd) {
    align-self: flex-start;
    padding-right: 40px;
    text-align: right;
  }
  .timeline-marker {
    left: auto;
    right: -10px;
  }
  .timeline-item:nth-child(even) .timeline-marker {
    left: -10px;
    right: auto;
  }
  .timeline-container {
    display: flex;
    flex-direction: column;
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-detail-grid.reverse .service-detail-content {
    order: 2;
  }
  .service-detail-grid.reverse .service-detail-img {
    order: 1;
  }
  
  .service-advantages-list {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
  }
}

/* Laptops */
@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
  }
  .about-image-box {
    height: 450px;
  }
  
  .mission-vision-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .blog-layout-grid {
    grid-template-columns: 2.2fr 0.8fr;
    gap: 4rem;
  }
  
  .blog-filter-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .blog-search-box {
    max-width: 320px;
  }
}

/* Mobile-specific page layout fixes */
@media (max-width: 575px) {
  .booking-panel,
  .contact-form-panel {
    padding: 1.5rem 1rem !important;
  }

  .mv-card {
    padding: 1.5rem !important;
  }

  .about-image-box {
    height: 250px;
  }

  .service-detail-img {
    height: 200px;
  }

  .map-wrapper {
    height: 250px;
  }
}
