@charset "UTF-8";
/* 
 * T&T Ercan Havalimanı - Optimized Stylesheet
 * Updated April 2025
 */

/* ========== VARIABLES ========== */
:root {
  /* Primary Colors */
  --primary: #1c427c;
  --primary-dark: #021b2c;
  --primary-light: #007aed;
  --primary-ultralight: #008cff;
  
  /* Accent Colors */
  --accent: #ff7a00;
  --accent-dark: #e06500;
  --accent-light: #ffaa66;
  
  /* Neutrals */
  --neutral-dark: #333333;
  --neutral-medium: #777777;
  --neutral-light: #eeeeee;
  
  /* Backgrounds */
  --bg-light: #ffffff;
  --bg-off-white: #f9fbff;
  --bg-sand: #f8f6f2;
  
  /* Status Colors */
  --success: #10b981;
  --success-bg: #ecfdf5;
  --warning: #f59e0b;
  --warning-bg: #fffbeb;
  --danger: #ef4444;
  --danger-bg: #fef2f2;
  --info: #3b82f6;
  --info-bg: #eff6ff;
  
  /* Enhanced Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.08), 0 5px 15px rgba(0, 0, 0, 0.06);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.1), 0 10px 20px rgba(0, 0, 0, 0.08);
  
  /* Refined Transitions */
  --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-normal: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
}

/* ========== UTILITY CLASSES ========== */
/* Common transition utility class */
.trans-normal, *:not(.trans-none) {
  transition: all var(--transition-normal);
}

/* Card hover effect utility */
.card-hover:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
}

/* ========== BASE STYLES ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 
    "Segoe UI", 
    Tahoma, 
    Geneva, 
    Verdana, 
    sans-serif, 
    "Noto Sans", 
    "Noto Sans Greek", 
    "Noto Sans Cyrillic", 
    "DejaVu Sans", 
    "Arial Unicode MS";
  background: linear-gradient(135deg, #e6f3ff 0%, #f0f8ff 30%, #f5faff 70%, #e8f4ff 100%);
  background-image: 
    linear-gradient(135deg, #e6f3ff 0%, #f0f8ff 30%, #f5faff 70%, #e8f4ff 100%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230062b3' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  color: var(--neutral-dark);
  margin: 0;
  padding: 0;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  background-attachment: fixed;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
}

/* Global link styles */
a {
  color: var(--primary);
  text-decoration: none;
  position: relative;
}

a:hover {
  color: var(--primary-dark);
}

a:focus {
  outline: 2px solid rgba(0, 98, 179, 0.2);
  outline-offset: 2px;
}

/* Global heading styles */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 1.5rem;
}

img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* Container improvements */
.container {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  width: 100%;
  max-width: 1320px;
}

/* Button enhancements */
.btn {
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 0.7rem 1.8rem;
  border-radius: var(--radius-full);
  border: none;
  text-transform: uppercase;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.5s ease-in-out;
  z-index: -1;
}

.btn:hover:before {
  width: 100%;
}

.btn-primary, .refresh-button {
  background: linear-gradient(45deg, var(--accent), var(--accent-dark));
  color: white;
  box-shadow: 0 4px 12px rgba(255, 122, 0, 0.25);
}

.btn-primary:hover, .refresh-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 122, 0, 0.35);
  background: linear-gradient(45deg, var(--accent-dark), var(--accent));
}

.btn-outline-primary {
  border: 2px solid var(--primary);
  color: var(--primary);
  background-color: transparent;
  border-radius: var(--radius-full);
  padding: 0.6rem 1.6rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.btn-outline-primary:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--primary);
  transition: all 0.4s ease-in-out;
  z-index: -1;
}

.btn-outline-primary:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 98, 179, 0.2);
  border-color: var(--primary);
}

.btn-outline-primary:hover:before {
  left: 0;
}

/* ========== HEADER STYLES ========== */
.top-bar {
  background: linear-gradient(125deg, var(--primary-dark) 10%, var(--primary) 90%);
  padding: 10px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.1);
}

.top-bar:before {
  content: '';
  position: absolute;
  top: -60%;
  left: -60%;
  width: 220%;
  height: 220%;
  background: linear-gradient(
    45deg, 
    transparent 40%, 
    rgba(255, 255, 255, 0.06) 50%, 
    transparent 60%
  );
  transform: rotate(35deg);
  transition: all 0.8s;
  animation: topBarShine 15s infinite linear alternate;
  pointer-events: none;
}

.top-bar:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23ffffff' fill-opacity='0.02' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
    opacity: 0.7;
    pointer-events: none;
    z-index: 0;
}

.contact-info {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-info i {
  margin-right: 8px;
  transform: scale(1.1);
}

/* Consolidated social icons styles */
.social-icons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.social-icons a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50% !important;
  margin: 0 !important;
  position: relative;
}

.social-icons a:hover {
  color: white;
  background-color: var(--accent);
  transform: translateY(-3px);
}

.social-icons a i,
.social-icons a svg {
  position: static !important;
  transform: none !important;
  font-size: 1rem;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1;
}

.footer .social-icons a {
  background-color: rgba(255, 255, 255, 0.1);
  width: 40px !important;
  height: 40px !important;
}

.footer .social-icons a:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.top-bar .social-icons a {
  background-color: transparent;
  width: 28px !important;
  height: 28px !important;
  margin-left: 18px;
}

.top-bar .social-icons a i,
.top-bar .social-icons a svg {
  font-size: 0.9rem;
}

.navbar .social-icons {
  margin-left: auto;
}

.navbar .social-icons a {
  width: 28px !important;
  height: 28px !important;
  background-color: rgba(0, 98, 179, 0.1);
}

.navbar .social-icons a i,
.navbar .social-icons a svg {
  font-size: 0.9rem;
}

.social-icons.mt-3 {
  display: flex;
  gap: 10px;
  margin-top: 15px !important;
}

.social-icons.mt-3 a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin: 0;
  position: relative;
}

.social-icons.mt-3 a i {
  font-size: 1rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.social-icons.mt-3 a:hover {
  background-color: var(--accent);
  transform: translateY(-5px);
}

/* ========== NAVIGATION ========== */
.main-navigation {
  background-color: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-sm);
  padding: 8px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 98, 179, 0.1);
  transition: padding 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.main-navigation.scrolled {
  padding: 8px 0;
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.98);
}

.nav-link {
  color: var(--neutral-dark);
  font-weight: 600;
  text-transform: uppercase;
  padding: 10px 15px;
  position: relative;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  overflow: hidden;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background: linear-gradient(to right, var(--primary), var(--accent));
  transition: all 0.3s ease-out;
  opacity: 0;
  transform: translateX(-50%);
}

.nav-link:hover:after,
.nav-link.active:after {
  width: 80%;
  opacity: 1;
}

.navbar-brand.airport-logo {
  padding: 8px 0;
  display: flex;
  align-items: center;
  height: auto;
  margin: 0;
}

.navbar-brand.airport-logo img {
  height: auto;
  max-height: 60px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: all var(--transition-normal);
}

.navbar-brand.airport-logo:hover img {
  transform: scale(1.05);
}

.main-navigation .navbar {
  min-height: 80px;
}

/* Improved dropdown menu */
@media (min-width: 992px) {
  .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeInDown 0.3s forwards;
    transform-origin: top center;
  }
  
  .nav-item.dropdown:hover > .nav-link {
    color: var(--primary);
  }
  
  .dropdown-menu {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: none;
    padding: 1rem 0;
    border-top: 3px solid var(--primary);
    margin-top: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  
  .dropdown-item {
    padding: 0.7rem 1.8rem;
    font-size: 0.9rem;
    position: relative;
    font-weight: 500;
  }
  
  .dropdown-item:hover {
    background-color: var(--primary-ultralight);
    color: var(--primary);
    padding-left: 2.2rem;
  }
  
  .dropdown-item:hover:before {
    content: '›';
    position: absolute;
    left: 1.2rem;
    font-weight: bold;
    transform: scale(1.2);
  }
}

/* ========== BANNER SECTION ========== */
.banner-container {
  position: relative;
  color: white;
  overflow: hidden;
  height: 55vh; min-height: 320px; max-height: 700px;
  background: var(--primary-dark);
}

.fade-banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 1.2s ease-in-out;
  z-index: 1;
}

.fade-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
  z-index: 1;
}

.banner-content-container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.banner-content {
  position: relative;
  max-width: 850px;
  padding: 50px 60px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.95);
  color: var(--neutral-dark);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--accent);
  animation: slideInUp 0.8s ease-out forwards;
}

.banner-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.banner h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
}

.banner p {
  font-size: 1.4rem;
  margin-bottom: 30px;
  line-height: 1.6;
  color: var(--neutral-medium);
  font-weight: 400;
}

.banner .btn-primary {
  background: linear-gradient(45deg, var(--accent), var(--accent-dark));
  border: none;
  padding: 15px 35px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-full);
  color: white;
  text-decoration: none;
}

.banner .btn-primary i {
  margin-right: 10px;
  transition: transform var(--transition-normal);
}

.banner .btn-primary:hover {
  background: linear-gradient(45deg, var(--accent-dark), var(--accent));
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.banner .btn-primary:hover i {
  transform: translateX(3px);
}

.hero-wave {
  display: block;
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 3;
}

/* ======= Glass Hero Banner ======= */
.glass-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.glass-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
}

.glass-hero .hero-content {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 600px;
  padding: 2rem;
  text-align: center;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--accent);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-hero h1 {
  color: #fff;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.glass-hero p {
  color: #f1f1f1;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.glass-hero .btn-primary {
  padding: 0.9rem 2rem;
}

@media (max-width: 767px) {
  .glass-hero h1 {
    font-size: 2.2rem;
  }

  .glass-hero p {
    font-size: 1.1rem;
  }
}

/* ========== SECTION STYLING ========== */
.section-title {
  color: var(--primary-dark);
  position: relative;
  padding-bottom: 18px;
  margin-bottom: 35px;
  font-weight: 800;
  font-size: 2.5rem;
  letter-spacing: -0.03em;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 70px;
  height: 4px;
  border-radius: var(--radius-full);
  background: linear-gradient(to right, var(--primary), var(--accent));
}

.section-title.text-center:after {
  left: 50%;
  transform: translateX(-50%);
}

/* About section enhancement */
.about-section {
  padding: 90px 0;
  background-color: rgba(249, 251, 255, 0.7);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(0, 98, 179, 0.08);
  border-bottom: 1px solid rgba(0, 98, 179, 0.08);
}

.about-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230062b3' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
  opacity: 0.8;
  pointer-events: none;
}

.about-section .container {
  position: relative;
  z-index: 1;
}

.about-heading {
  color: var(--primary-dark);
  margin-bottom: 30px;
  font-weight: 800;
  position: relative;
  display: inline-block;
  letter-spacing: -0.02em;
}

.about-heading::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60%;
  height: 3px;
  border-radius: var(--radius-full);
  background: linear-gradient(to right, var(--primary), var(--primary-light));
}

/* ========== QUICK LINKS SECTION ========== */
.quick-links {
  margin-top: -80px;
  position: relative;
  z-index: 5;
  padding-bottom: 40px;
}

.quick-links-inner {
  background-color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 35px;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.quick-link-card {
  background: linear-gradient(145deg, var(--bg-light), var(--neutral-light));
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  color: var(--primary-dark);
  text-decoration: none;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transform: translateY(0);
}

.quick-link-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(145deg, var(--primary-ultralight), white);
  z-index: -1;
  transition: opacity var(--transition-normal);
  opacity: 0;
}

.quick-link-card:hover {
  transform: translateY(-12px);
  color: var(--primary);
  box-shadow: var(--shadow-lg);
  border-color: rgba(58, 133, 198, 0.2);
}

.quick-link-card:hover:before {
  opacity: 1;
}

.quick-link-icon {
  font-size: 2.5rem;
  margin-bottom: 18px;
  color: var(--primary);
  background: rgba(58, 133, 198, 0.12);
  width: 75px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(58, 133, 198, 0.15);
}

.quick-link-card:hover .quick-link-icon {
  transform: scale(1.15) rotate(8deg);
  color: var(--accent);
  background: rgba(255, 122, 0, 0.12);
  box-shadow: 0 8px 20px rgba(255, 122, 0, 0.2);
}

.quick-link-text {
  font-weight: 600;
  font-size: 1.1rem;
}

.quick-link-card:hover .quick-link-text {
  transform: scale(1.05);
}

/* ========== FLIGHT TABS ========== */
.flight-tabs {
  background-color: rgba(249, 251, 255, 0.7);
  padding: 80px 0;
  position: relative;
  border-top: 1px solid rgba(0, 98, 179, 0.08);
  border-bottom: 1px solid rgba(0, 98, 179, 0.08);
}

.tab-container {
  background-color: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transform: translateY(0);
}

.tab-container:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.flight-tabs .nav-tabs {
  border: none;
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  padding: 0;
  position: relative;
  overflow: hidden;
}

.flight-tabs .nav-tabs:before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  transition: all 1s;
  animation: tabsShine 8s infinite linear;
  pointer-events: none;
}

.flight-tabs .nav-link {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  border: none;
  padding: 16px 28px;
  border-radius: 0;
  text-transform: none;
  position: relative;
  letter-spacing: 0.3px;
}

.flight-tabs .nav-link:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--accent);
  transition: all var(--transition-normal);
}

.flight-tabs .nav-link:hover {
  color: white;
}

.flight-tabs .nav-link:hover:after {
  width: 40%;
}

.flight-tabs .nav-link.active {
  background-color: transparent;
  color: white;
}

.flight-tabs .nav-link.active:after {
  width: 100%;
}

/* Flight table */
.flight-table {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--neutral-light);
}

.flight-table thead {
  background-color: var(--primary-ultralight);
}

.flight-table th {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  color: white;
  padding: 16px 20px;
  font-weight: 600;
  border-bottom: none;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 0.9rem;
}

.flight-table td {
  padding: 16px 20px;
  vertical-align: middle;
  border-bottom: 1px solid var(--neutral-light);
}

.flight-table tr:last-child td {
  border-bottom: none;
}

.flight-table tr:hover td {
  background-color: var(--primary-ultralight);
}

.flight-status {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
  min-width: 110px;
  text-align: center;
  box-shadow: 0 3px 6px rgba(0,0,0,0.12);
  display: inline-block;
}

.flight-status:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 12px rgba(0,0,0,0.15);
}

.status-on-time {
  background-color: var(--success-bg);
  color: var(--success);
}

.status-delayed {
  background-color: var(--warning-bg);
  color: var(--warning);
}

.status-cancelled {
  background-color: var(--danger-bg);
  color: var(--danger);
}

.status-arrived {
  background-color: var(--info-bg);
  color: var(--info);
}

.status-departed {
  background-color: #8e44ad;
  color: white;
}

.airline-name {
  color: var(--neutral-medium);
  font-size: 0.9rem;
}

tr:hover .airline-name {
  color: var(--primary);
}

.flight-number a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.flight-number a:hover {
  color: var(--accent);
  transform: translateY(-3px);
}

.flight-number a:after {
  content: '\F132';
  font-family: bootstrap-icons !important;
  margin-left: 5px;
  font-size: 0.8rem;
  opacity: 0;
  transition: all var(--transition-normal);
}

.flight-number a:hover:after {
  opacity: 1;
  transform: translateX(5px);
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  padding: 5px;
  animation: fadeIn 0.8s ease-in-out;
}

/* Current datetime display */
.current-datetime {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  color: white;
  padding: 15px 20px;
  border-radius: var(--radius-lg);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.current-datetime:before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.8s;
  animation: datetimeShine 8s infinite linear;
  pointer-events: none;
}

.current-datetime:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.current-datetime i {
  margin-right: 12px;
  font-size: 1.3rem;
}

.current-datetime:hover i {
  transform: rotate(15deg) scale(1.1);
}

/* Refresh button */
.refresh-button {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.refresh-button i {
  margin-right: 8px;
}

.refresh-button:hover i {
  transform: rotate(180deg);
}

/* Flight count badge */
.flight-count {
  background: var(--accent);
  color: white;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  margin-left: 12px;
  box-shadow: 0 3px 8px rgba(255, 122, 0, 0.25);
  display: inline-block;
}

.flight-count:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(255, 122, 0, 0.35);
  background: linear-gradient(to right, var(--accent), var(--accent-dark));
}

/* ========== PASSENGER GUIDE SECTION ========== */
.passenger-guide {
  background-color: rgba(248, 246, 242, 0.7);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 122, 0, 0.08);
  border-bottom: 1px solid rgba(255, 122, 0, 0.08);
}

.passenger-guide:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, rgba(249, 251, 255, 0.7), rgba(248, 246, 242, 0.7));
  pointer-events: none;
}

.kktc-flag-accent {
  position: relative;
  padding-left: 35px;
}

.passenger-guide-card {
  background-color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 35px;
  height: 100%;
  border-top: 3px solid var(--primary);
  position: relative;
  z-index: 1;
  overflow: hidden;
  transform: translateY(0);
}

.passenger-guide-card:before {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: rotate(45deg);
  z-index: -1;
  transition: all 0.8s ease-out;
}

.passenger-guide-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--accent);
}

.passenger-guide-card:hover:before {
  top: 100%;
  left: 100%;
}

.guide-icon {
  font-size: 2.7rem;
  color: var(--primary);
  margin-bottom: 22px;
  display: inline-block;
  -webkit-background-clip: text;
  background-clip: text;
  background-image: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-text-fill-color: transparent;
}

.passenger-guide-card:hover .guide-icon {
  color: var(--accent);
  transform: scale(1.15) rotate(5deg);
  background-image: linear-gradient(135deg, var(--accent), var(--accent-light));
}

.passenger-guide ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.passenger-guide li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 1rem;
}

.passenger-guide li:before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--primary);
  font-weight: bold;
}

.passenger-guide li:hover {
  transform: translateX(5px);
}

.passenger-guide li:hover:before {
  color: var(--accent);
  transform: scale(1.2);
}

/* ========== SERVICES SECTION ========== */
.services-section {
  background-color: rgba(255, 255, 255, 0.7);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(0, 98, 179, 0.08);
  border-bottom: 1px solid rgba(0, 98, 179, 0.08);
}

.services-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, rgba(248, 246, 242, 0.7), rgba(255, 255, 255, 0.7));
  pointer-events: none;
}

.service-card {
  background-color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  transform: translateY(0);
}

.service-card:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: linear-gradient(to right, var(--primary), var(--accent));
  transition: all var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover:after {
  width: 100%;
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin: 15px 0;
}

.service-icon i {
  width: 85px;
  height: 85px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--primary-ultralight), #e6f1ff);
  transition: all var(--transition-slow);
  box-shadow: 0 5px 15px rgba(58, 133, 198, 0.15);
}

.service-card:hover .service-icon i {
  background: linear-gradient(145deg, var(--accent-light), var(--accent));
  color: white;
  transform: rotateY(180deg) scale(1.1);
  box-shadow: 0 8px 20px rgba(255, 122, 0, 0.2);
}

.service-card h5 {
  color: var(--neutral-dark);
  margin: 18px 0;
  font-weight: 700;
}

.service-card:hover h5 {
  color: var(--primary);
  transform: scale(1.05);
}

.service-card p {
  color: var(--neutral-medium);
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-card:hover p {
  color: var(--neutral-dark);
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials-section {
  background-color: rgba(249, 251, 255, 0.7);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(0, 98, 179, 0.08);
  border-bottom: 1px solid rgba(0, 98, 179, 0.08);
}

.testimonial-card {
  background-color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 35px;
  height: 100%;
  position: relative;
  border-left: 4px solid var(--primary);
  transform: translateY(0);
}

.testimonial-card:hover {
  transform: translateY(-12px) rotate(1deg);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--accent);
}

.testimonial-card:before {
  content: '"';
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 6rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(58, 133, 198, 0.12);
  opacity: 0.7;
}

.testimonial-card:hover:before {
  color: rgba(255, 122, 0, 0.12);
  transform: scale(1.1) rotate(-5deg);
}

.testimonial-card p {
  position: relative;
  z-index: 1;
  font-style: italic;
  color: var(--neutral-medium);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.testimonial-card:hover p {
  color: var(--neutral-dark);
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary);
  margin-top: 18px;
  display: block;
  text-align: right;
  font-size: 1.05rem;
  position: relative;
  padding-right: 30px;
}

.testimonial-author:after {
  content: '';
  position: absolute;
  height: 2px;
  width: 40px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  right: 0;
  top: 50%;
  transform: translate(0, -50%);
  transition: all var(--transition-normal);
  opacity: 0;
}

.testimonial-card:hover .testimonial-author {
  color: var(--accent);
  padding-right: 45px;
}

.testimonial-card:hover .testimonial-author:after {
  opacity: 1;
}

/* ========== NEWS SECTION STYLING ========== */
.news-section {
  position: relative;
  background-color: rgba(249, 251, 255, 0.7);
  padding: 80px 0;
  border-top: 1px solid rgba(0, 98, 179, 0.08);
  border-bottom: 1px solid rgba(0, 98, 179, 0.08);
}

.news-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), rgba(249, 251, 255, 0.7));
  pointer-events: none;
}

.news-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: white;
  box-shadow: var(--shadow-sm);
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.03);
  transform: translateY(0);
}

.news-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
}

.news-image {
  overflow: hidden;
  position: relative;
  height: 220px;
}

.news-image img {
  transition: all 0.7s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
}

.news-card:hover .news-image img {
  transform: scale(1.12);
}

.news-date {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(120deg, var(--primary), var(--primary-dark));
  color: white;
  text-align: center;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  z-index: 1;
}

.news-card:hover .news-date {
  background: linear-gradient(120deg, var(--accent), var(--accent-dark));
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-lg);
}

.date-box {
  display: block;
  padding: 6px 14px;
  font-size: 1.2rem;
  font-weight: 700;
}

.month-box {
  display: block;
  background-color: rgba(0, 0, 0, 0.2);
  padding: 3px 14px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.news-content {
  padding: 25px;
}

.news-content h5 {
  color: var(--neutral-dark);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.news-card:hover .news-content h5 {
  color: var(--primary);
  transform: scale(1.02);
}

.news-content p {
  color: var(--neutral-medium);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.news-card:hover .news-content p {
  color: var(--neutral-dark);
}

.news-content .read-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  position: relative;
}

.news-content .read-more i {
  margin-left: 6px;
}

.news-card:hover .news-content .read-more {
  color: var(--accent);
}

.news-card:hover .news-content .read-more i {
  transform: translateX(6px);
}

/* Live Updates Ticker */
.live-updates {
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  background-color: white;
  box-shadow: var(--shadow-md);
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.live-updates:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.live-updates:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  z-index: 1;
}

.ticker-container {
  height: 40px;
  overflow: hidden;
}

.ticker-item {
  padding: 8px 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  align-items: center;
}

.ticker-time {
  background: linear-gradient(120deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-right: 12px;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.ticker-item:hover .ticker-time {
  background: linear-gradient(120deg, var(--accent), var(--accent-dark));
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.ticker-text {
  color: var(--neutral-dark);
  font-weight: 500;
}

.ticker-item:hover .ticker-text {
  color: var(--primary);
}

/* ========== FOOTER ========== */
.footer {
  background: linear-gradient(145deg, var(--primary-dark), #002b50);
  color: white;
  padding: 90px 0 25px;
  position: relative;
  overflow: hidden;
}

.footer:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(to right, var(--primary), var(--accent));
}

.footer:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
}

.footer h5 {
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--accent-light);
  position: relative;
  padding-bottom: 15px;
  letter-spacing: 0.5px;
}

.footer h5:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(to right, var(--accent-light), var(--accent));
  border-radius: var(--radius-full);
}

.footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  padding: 5px 0;
  display: inline-block;
  font-size: 0.95rem;
  position: relative;
}

.footer a:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-light);
  transition: all var(--transition-normal);
  opacity: 0;
}

.footer a:hover {
  color: var(--accent-light);
  transform: translateX(8px);
}

.footer a:hover:before {
  width: 100%;
  opacity: 1;
}

.footer p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.footer-bottom {
  padding-top: 25px;
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.65);
  padding: 0;
  display: inline;
  font-weight: 500;
}

.footer-bottom a:hover {
  color: var(--accent-light);
  transform: none;
}

.footer-bottom a:before {
  display: none;
}

.footer ul.list-unstyled li {
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.footer ul.list-unstyled li i {
  margin-right: 10px;
  color: var(--accent-light);
}

.footer ul.list-unstyled li:hover i {
  transform: scale(1.2);
}

/* ========== BACK TO TOP BUTTON ========== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(145deg, var(--accent), var(--accent-dark));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  box-shadow: var(--shadow-md);
  transform: translateY(0) rotate(0);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  animation: pulse 2s infinite;
}

.back-to-top:hover {
  transform: translateY(-8px) rotate(360deg);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(145deg, var(--primary), var(--primary-dark));
}

/* ========== SCROLLBAR STYLING ========== */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--neutral-light);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--primary), var(--primary-dark));
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, var(--accent), var(--accent-dark));
}

/* ========== BRANDS SECTION ========== */
.brands-section {
  background-color: rgba(255, 255, 255, 0.7);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(0, 98, 179, 0.08);
  border-bottom: 1px solid rgba(0, 98, 179, 0.08);
}

.brand-logo {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.03);
  transform: translateY(0);
}

.brand-logo:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: var(--shadow-md);
  background-color: var(--primary-ultralight);
  border-color: rgba(58, 133, 198, 0.1);
}

.brand-logo img {
  max-height: 60px;
  filter: grayscale(100%);
  opacity: 0.7;
}

.brand-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.08);
}

/* ========== WEATHER WIDGET ========== */
.weather-widget {
  background: linear-gradient(145deg, #e1f5fe, #bbdefb);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 35px 25px;
  text-align: center;
  height: 100%;
  position: relative;
  overflow: hidden;
  transform: translateY(0);
}

/* ========== LANGUAGE SELECTOR ========== */
.language-selector {
  position: relative;
  margin-left: 20px;
  z-index: 1020;
}

.language-selector-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 6px;
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.9);
  position: relative;
}

.language-selector-toggle:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.language-flag {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: inline-block;
}

.language-selector-toggle::after {
  content: '';
  display: inline-block;
  margin-left: 6px;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid #777;
  transition: transform 0.3s ease;
}

.language-selector:hover .language-selector-toggle::after {
  transform: rotate(180deg);
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: 1;
  margin-top: 8px;
  background-color: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: all var(--transition-normal);
  z-index: 1020;
  width: 150px;
}

.language-selector:hover .language-dropdown {
  max-height: 250px;
  opacity: 1;
  padding: 8px 0;
}

.language-option {
  display: flex;
  align-items: center;
  padding: 8px 15px;
  cursor: pointer;
}

.language-option:hover {
  background-color: var(--primary-ultralight);
}

.language-option.active {
  background-color: var(--primary-ultralight);
}

.language-option .language-flag {
  margin-right: 10px;
}

.language-option-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--neutral-dark);
}

/* Persian RTL support */
html[lang="fa"], 
html[dir="rtl"],
.persian-page {
  direction: rtl !important;
  text-align: right !important;
  unicode-bidi: embed;
  font-family: 'Vazirmatn', "Segoe UI", Tahoma, Geneva, Verdana, sans-serif, 
               "Noto Sans", "Noto Sans Greek", "Noto Sans Cyrillic", 
               "DejaVu Sans", "Arial Unicode MS";
}

html[dir="rtl"] .navbar-nav .nav-link, 
body[dir="rtl"] .navbar-nav .nav-link,
.persian-page .navbar-nav .nav-link {
  text-align: right !important;
}

html[dir="rtl"] .text-end,
body[dir="rtl"] .text-end,
.persian-page .text-end {
  text-align: left !important;
}

html[dir="rtl"] .justify-content-end,
body[dir="rtl"] .justify-content-end,
.persian-page .justify-content-end {
  justify-content: flex-start !important;
}

@media (min-width: 0px) {
  html[lang="fa"] .text-end,
  html[dir="rtl"] .text-end,
  .persian-page .text-end {
    text-align: left !important;
  }
  
  html[lang="fa"] .me-2,
  html[dir="rtl"] .me-2,
  .persian-page .me-2 {
    margin-left: 0.5rem !important;
    margin-right: 0 !important;
  }
  
  html[lang="fa"] .ms-1,
  html[dir="rtl"] .ms-1,
  .persian-page .ms-1 {
    margin-right: 0.40rem !important;
    margin-left: 0 !important;
  }
}

html[dir="rtl"] .footer h5:after {
  left: auto;
  right: 0;
}

html[dir="rtl"] .section-title:not(.text-center):after {
  left: auto;
  right: 0;
}

/* ========== TRAVEL GUIDE PLACES NAVIGATION ========== */
.places-nav-container {
  position: sticky;
  top: 80px;
  z-index: 99;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 100px;
  margin-top: -50px;
  margin-bottom: 40px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg, 0 10px 25px rgba(0,0,0,0.1));
  border: 1px solid rgba(0,0,0,0.03);
  padding: 0;
}

.places-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1.5rem;
  margin: 0;
  overflow-x: auto;
  white-space: nowrap;
  -ms-overflow-style: none;
  scrollbar-width: none;
  max-width: 100%;
}

.places-nav::-webkit-scrollbar {
  display: none;
}

.places-nav a {
  color: var(--warm-text, #5A3C20);
  text-decoration: none;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background-color: transparent;
  font-size: 0.9rem;
  display: inline-block;
}

.places-nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--warm-orange, #FF8C38), var(--warm-orange-light, #FFB07C));
  transition: all 0.4s ease;
  z-index: -1;
  border-radius: 50px;
}

.places-nav a:hover, 
.places-nav a.active {
  color: white;
  transform: translateY(-3px);
}

.places-nav a:hover::before,
.places-nav a.active::before {
  left: 0;
}

.quick-nav {
  background-color: white;
  box-shadow: var(--shadow-lg, 0 10px 25px rgba(0,0,0,0.1));
  border-radius: 100px;
  padding: 1rem 2rem;
  margin: 2rem auto;
  position: relative;
  z-index: 100;
  max-width: 80%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  border: 1px solid rgba(0,0,0,0.03);
}

.quick-nav-scroll {
  position: fixed;
  bottom: 30px;
  right: 30px;
  transform: translateY(150%);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  width: auto;
  min-width: 60px;
  max-width: 60px;
  height: 60px;
  padding: 0;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(90, 60, 32, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background-color: rgba(245, 240, 230, 0.95);
  border: 2px solid rgba(255, 140, 56, 0.3);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.4s ease-out,
              visibility 0.4s,
              max-width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
              min-width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
              border-radius 0.4s ease-out,
              background-color 0.3s ease-out,
              padding 0.4s ease-out,
              box-shadow 0.4s ease-out;
}

.quick-nav-scroll:hover {
  max-width: 1200px;
  min-width: 800px;
  border-radius: 100px;
  background-color: rgba(255, 255, 255, 0.97);
  padding: 0.7rem 1.5rem 0.7rem 0.8rem;
  justify-content: flex-start;
  box-shadow: 0 10px 30px rgba(90, 60, 32, 0.15), 0 0 0 2px rgba(255, 140, 56, 0.3);
  gap: 8px;
}

.quick-nav-scroll.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  animation: pulse-shadow 2s infinite ease-in-out;
}

.quick-nav-scroll a {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  color: var(--warm-text);
  text-decoration: none;
  font-weight: 600;
  border-radius: 50px;
  position: relative;
  overflow: visible;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  margin: 0 2px;
  transform: translateY(5px);
}

.quick-nav-scroll:hover a {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ========== ANIMATION KEYFRAMES ========== */
@keyframes slideInUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-5px) scale(1.05); }
  100% { transform: translateY(0) scale(1); }
}

@keyframes topBarShine {
  0% { transform: translateX(-70%) translateY(-20%) rotate(35deg); }
  100% { transform: translateX(70%) translateY(20%) rotate(35deg); }
}

@keyframes tabsShine {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

@keyframes datetimeShine {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

/* Animation classes */
.animate-fadeInUp { animation: fadeInUp var(--transition-normal) forwards; }
.animate-fadeInDown { animation: fadeInDown var(--transition-normal) forwards; }
.animate-fadeInLeft { animation: fadeInLeft var(--transition-normal) forwards; }
.animate-fadeInRight { animation: fadeInRight var(--transition-normal) forwards; }
.animate-pulse { animation: pulse 2s infinite; }

/* Animation delay utilities */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Icon style fix */
[class^="bi-"], 
[class*=" bi-"] {
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}

/* ========== RESPONSIVE STYLES ========== */
/* For tablets and smaller desktops */
@media (max-width: 991px) {
  html {
    font-size: 15px;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .nav-link:after {
    display: none;
  }
  
  .banner h1 {
    font-size: 2.5rem;
    background-size: 200%;
  }
  
  .banner p {
    font-size: 1.2rem;
    margin-bottom: 25px;
  }
  
  .banner-container {
    height: 50vh; max-height: 600px;
  }
  
  .modal-dialog {
    max-width: 95%;
  }
  
  .quick-links {
    margin-top: -60px;
  }
  
  .footer {
    padding: 70px 0 25px;
  }
  
  .banner-content {
    padding: 45px 50px;
    max-width: 90%;
  }

  .navbar-brand.airport-logo img {
    max-height: 50px;
  }
  
  .main-navigation .navbar {
    min-height: 70px;
  }
  
  .quick-nav-scroll:hover {
    min-width: 700px;
    max-width: calc(100vw - 40px);
    margin-right: 20px;
  }
}

/* For mobile phones and tablets */
@media (max-width: 767px) {
  html {
    font-size: 14px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .nav-link {
    padding: 8px 10px;
    font-size: 0.9rem;
  }
  
  .top-bar {
    padding: 8px 0;
  }
  
  .main-navigation {
    padding: 10px 0;
  }

  .main-navigation.scrolled {
    padding: 10px 0;
  }
  
  .main-navigation .navbar-brand img {
    max-height: 40px;
  }
  
  .banner-container {
    height: 45vh; max-height: 550px;
  }
  
  .banner h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
  }
  
  .banner p {
    font-size: 1.15rem;
    margin-bottom: 25px;
  }
  
  .banner-content {
    padding: 35px 30px;
    max-width: 92%;
    border-left-width: 3px;
  }
  
  .banner-content:hover {
    transform: translateY(-3px);
  }
  
  .banner .btn-primary {
    padding: 14px 30px;
    font-size: 1rem;
  }

  .banner .btn-primary:hover {
    transform: translateY(-2px);
  }
  
  .flight-tabs {
    margin-top: -30px;
    padding: 50px 0;
  }
  
  .footer h5 {
    margin-top: 30px;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .quick-links {
    margin-top: -50px;
  }
  
  .passenger-guide, .services-section, .testimonials-section {
    padding: 70px 0;
  }
  
  .policy-viewer, .passenger-guide-card, .service-card, .testimonial-card, .news-card {
    transform: translateY(0) !important;
  }

  .banner-content-container {
    animation: none;
  }

  .hero-wave {
    animation: waveAnimation 10s ease-in-out infinite alternate;
  }
  
  .flight-table th,
  .flight-table td {
    padding: 12px 10px;
    font-size: 0.9rem;
  }
  
  .flight-status {
    padding: 6px 10px;
    font-size: 0.75rem;
    min-width: 90px;
  }
  
  .current-datetime {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 15px;
  }
  
  .language-selector {
    margin-left: 10px;
  }
  
  .language-dropdown {
    width: 120px;
  }
  
  .quick-nav-scroll {
    display: none;
  }
}

/* For smaller mobile devices */
@media (max-width: 575px) {
  .banner-container {
    height: 40vh; max-height: 500px;
  }
  
  .banner-content {
    padding: 25px 20px;
    max-width: 95%;
    border-radius: var(--radius-md);
    border-left-width: 3px;
  }
  
  .banner h1 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
  }
  
  .banner p {
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.5;
  }
  
  .banner .btn-primary {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .banner .btn-primary i {
    margin-right: 8px;
  }
  
  .back-to-top {
    right: 15px;
    bottom: 15px;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  .flight-table th, .flight-table td {
    padding: 10px;
    font-size: 0.85rem;
  }
  
  .flight-tabs .nav-link {
    padding: 12px 15px;
    font-size: 0.85rem;
  }
}

/* For extra small devices */
@media (max-width: 575px) {
  
}

/* Core Web Vitals: reserve ad slot height to reduce CLS */
.adsbygoogle {
  display: block;
  min-height: 280px;
}

@media (max-width: 767.98px) {
  .adsbygoogle {
    min-height: 250px;
  }
}
