/* ============================================
   INDEX PAGE STYLES
   Enhanced Responsiveness for All Screen Sizes
   ============================================ */

/* ===== GLOBAL OVERRIDES & CONSISTENCY ===== */
:root {
  --primary-blue: #1a3b5d;
  --secondary-blue: #00a8ff;
  --accent-blue: #0097e6;
  --light-bg: #f8f9fa;
  --dark-bg: #0a3250;
  --text-dark: #1a3b5d;
  --text-light: #666;
  --white: #ffffff;
  --border-color: #e9ecef;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
  font-family: 'Rajdhani', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

/* ===== HERO SLIDER ===== */
.header {
  position: relative;
  height: 100vh;
  min-height: 500px;
  max-height: 1200px;
  overflow: hidden;
  width: 100%;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  will-change: opacity;
}

.slide.active {
  opacity: 1;
}

/* Slider Navigation */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 15px;
  z-index: 10;
  pointer-events: none;
}

.slider-arrow {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s;
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.slider-arrow:hover {
  background: var(--secondary-blue);
  transform: scale(1.05);
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 10;
  padding: 0 15px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.dot.active {
  background: var(--secondary-blue);
  transform: scale(1.2);
}

/* ===== HEADER SECTION ===== */
.header-section {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 0 20px;
  box-sizing: border-box;
}

.center-div {
  width: 100%;
  max-width: 680px; /* tight + elegant */
  margin: 0 auto;
  padding: 0 20px;
}




.header-section h1 {
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.hero-subtitle {
  font-size: clamp(0.9rem, 2.5vw, 1.25rem);
  line-height: 1.6;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 100%;
  padding: 0 10px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.title{
  color: black;
   font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto
}




/* Header Buttons */
.header-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: white;
  color: black;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  text-align: center;
  min-height: 48px;
  flex: 1;
  min-width: 140px;
  max-width: 100%;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-blue), #0082cc);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 168, 255, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: 2px solid white;
  cursor: pointer;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  text-align: center;
  min-height: 48px;
  flex: 1;
  min-width: 140px;
  max-width: 100%;
}

.btn-secondary:hover {
  background: white;
  color: var(--primary-blue);
  transform: translateY(-2px);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
  width: 100%;
  max-width: 100%;
}

.scroll-text {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  max-width: 100%;
  word-wrap: break-word;
}

.scroll-line {
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.5);
  margin: 0 auto;
  position: relative;
  animation: scrollLine 2s infinite;
  max-height: 100%;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.5); }
}

/* ===== MAIN CONTENT SECTIONS ===== */
.main-content {
  padding-top: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.section {
  padding: clamp(40px, 8vw, 80px) 0;
  width: 100%;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}


.section-header {
  text-align: center;
  margin-bottom: clamp(30px, 5vw, 60px);
  width: 100%;
  max-width: 100%;
}

.section-subtitle {
  display: inline-block;
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  font-weight: 600;
  color: var(--secondary-blue);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  max-width: 100%;
  word-wrap: break-word;
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;

  margin-bottom: 15px;
  line-height: 1.2;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.section-description {
  font-size: clamp(0.9rem, 2vw, 1.125rem);
  color: var(--text-light);
  max-width: 100%;
  margin: 0 auto;
  line-height: 1.6;
  padding: 0 10px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.section-title2{
   font-size: clamp(0.9rem, 2vw, 1.125rem);
  color: black;
  max-width: 100%;
  margin: 0 auto;
  line-height: 1.6;
  padding: 0 10px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  
}

.section-p {
  font-size: clamp(0.9rem, 2vw, 1.125rem);
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 25px;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ===== WELCOME BANNER ===== */
.welcome-banner {

  width: 100%;
}

.welcome-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .welcome-content {
    grid-template-columns: 1fr 1fr;
  }
}

.transport-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 15px;
  margin: 30px 0;
  width: 100%;
}

.transport-item {
  text-align: center;
  padding: 20px 10px;

  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--border-color);
  max-width: 100%;
  word-wrap: break-word;
}

.transport-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 168, 255, 0.15);
  border-color: var(--secondary-blue);
}

.transport-item i {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--secondary-blue);
  margin-bottom: 12px;
}

.transport-item h4 {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: var(--primary-blue);
  margin: 0;
  max-width: 100%;
  word-wrap: break-word;
}

.cta-banner {
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-bg));
  border-radius: 10px;
  padding: clamp(20px, 3vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  color: white;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 576px) {
  .cta-banner {
    flex-direction: row;
  }
}

.cta-content h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: 8px;
  color: white;
  max-width: 100%;
  word-wrap: break-word;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  max-width: 100%;
  word-wrap: break-word;
}

.welcome-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 100%;
}

.img-hover-zoom {
  width: 100%;
  overflow: hidden;
}

.img-hover-zoom img {
  width: 100%;
  height: auto;
  transition: transform 0.5s;
  display: block;
  max-width: 100%;
}

.img-hover-zoom:hover img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  font-weight: 600;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  max-width: 100%;
  word-wrap: break-word;
}

.image-overlay i {
  margin-right: 8px;
}

/* ===== SERVICES PREVIEW ===== */
.services-preview {
 
  width: 100%;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 576px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
  }
}

.service-card {

  border-radius: 15px;
  padding: clamp(25px, 4vw, 40px) clamp(20px, 3vw, 30px);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 168, 255, 0.15);
  border-color: var(--secondary-blue);
}

.service-icon {
  width: clamp(60px, 10vw, 80px);
  height: clamp(60px, 10vw, 80px);
  background: green;
  color: red;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  transition: transform 0.3s;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-card h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  color: var(--primary-blue);
  margin-bottom: 12px;
  max-width: 100%;
  word-wrap: break-word;
}

.service-card p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  max-width: 100%;
  word-wrap: break-word;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--secondary-blue);
  text-decoration: none;
  font-weight: 600;
  transition: gap 0.3s;
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  max-width: 100%;
  word-wrap: break-word;
}

.service-link:hover {
  gap: 12px;
}

/* ===== MISSION SECTION ===== */
.parallax-section {
  position: relative;
  background-attachment: scroll;
  background-size: cover;
  background-position: center;
  color: white;
  width: 100%;
}

@media (min-width: 992px) {
  .parallax-section {
    background-attachment: fixed;
  }
}

.parallax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 59, 93, 0.9) 0%, rgba(10, 35, 64, 0.85) 100%);
}

.mission-section .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.mission-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: start;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 992px) {
  .mission-content {
    grid-template-columns: 1fr 1fr;
  }
}

.mission-text .section-title {
  color: white;
  text-align: left;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.mission-text .section-subtitle {
  text-align: left;
  margin-left: 0;
}

.mission-text .section-p {
  color: rgba(255, 255, 255, 0.9);
  text-align: left;
  font-size: clamp(0.9rem, 2vw, 1.125rem);
}

.mission-features {
  margin-top: 30px;
  width: 100%;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  width: 100%;
  max-width: 100%;
}

.feature-item i {
  width: clamp(40px, 6vw, 50px);
  height: clamp(40px, 6vw, 50px);
  background: rgba(255, 255, 255, 0.1);
  color: var(--secondary-blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  flex-shrink: 0;
}

.feature-item h4 {
  color: white;
  margin-bottom: 5px;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  max-width: 100%;
  word-wrap: break-word;
}

.feature-item p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-size: clamp(0.85rem, 1.5vw, 0.9375rem);
  max-width: 100%;
  word-wrap: break-word;
}

.mission-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .mission-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (min-width: 1200px) {
  .mission-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mission-stats .stat-card {
  background: rgba(255, 255, 255, 0.1);
 
  border-radius: 10px;
  padding: clamp(20px, 3vw, 30px) clamp(15px, 2vw, 20px);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s;
  width: 100%;
  max-width: 100%;
}

.mission-stats .stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.mission-stats .stat-icon {
  width: clamp(50px, 8vw, 60px);
  height: clamp(50px, 8vw, 60px);
  background: var(--secondary-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.mission-stats .stat-number {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: white;
  display: block;
  line-height: 1;
}

.mission-stats .stat-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  display: block;
  max-width: 100%;
  word-wrap: break-word;
}

/* ===== DETAILED SERVICES ===== */
.detailed-services-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(50px, 8vw, 80px);
  width: 100%;
  max-width: 100%;
}

.detailed-service {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 5vw, 50px);
  align-items: center;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 992px) {
  .detailed-service {
    grid-template-columns: 1fr 1fr;
  }
  
  .detailed-service:nth-child(even) .service-details {
    order: 1;
  }
  
  .detailed-service:nth-child(even) .service-image {
    order: 2;
  }
}

.service-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 100%;
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 168, 255, 0.2), rgba(26, 59, 93, 0.3));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.service-overlay i {
  font-size: clamp(2rem, 4vw, 3rem);
  color: white;
}

.service-image:hover .service-overlay {
  opacity: 1;
}

.service-details h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  color: var(--primary-blue);
  margin-bottom: 15px;
  max-width: 100%;
  word-wrap: break-word;
}

.service-details p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  max-width: 100%;
  word-wrap: break-word;
}

.service-features {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
  width: 100%;
  max-width: 100%;
}

.service-features li {
  margin-bottom: 10px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  max-width: 100%;
  word-wrap: break-word;
}

.service-features li i {
  color: var(--secondary-blue);
  margin-right: 10px;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  flex-shrink: 0;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--primary-blue);
  padding: clamp(10px, 2vw, 12px) clamp(20px, 3vw, 30px);
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: 2px solid var(--primary-blue);
  cursor: pointer;
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  max-width: 100%;
  word-wrap: break-word;
}

.btn-outline:hover {
  background: var(--primary-blue);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(26, 59, 93, 0.2);
}

.btn-outline span {
  max-width: 100%;
  word-wrap: break-word;
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.newsletter-content {
  text-align: center;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}

.newsletter-content h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 15px;
  color: white;
  line-height: 1.2;
  max-width: 100%;
  word-wrap: break-word;
}

.newsletter-content p {
  font-size: clamp(0.9rem, 2vw, 1.125rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 100%;
  word-wrap: break-word;
  padding: 0 10px;
}

.newsletter-form {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 15px;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 576px) {
  .form-group {
    flex-direction: row;
    gap: 10px;
  }
}

.form-group input {
  flex: 1;
  padding: clamp(12px, 2vw, 15px) clamp(15px, 2.5vw, 20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  color: white;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  backdrop-filter: blur(10px);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.6);
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
}

.form-group input:focus {
  outline: none;
  border-color: var(--secondary-blue);
  background: rgba(255, 255, 255, 0.15);
}

.form-note {
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  max-width: 100%;
  word-wrap: break-word;
}














/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: clamp(15px, 3vw, 30px);
  right: clamp(15px, 3vw, 30px);
  width: clamp(40px, 6vw, 50px);
  height: clamp(40px, 6vw, 50px);
  background: var(--secondary-blue);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(100px) scale(0.8);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1rem, 2vw, 1.2rem);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top:hover {
  background: var(--accent-blue);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 168, 255, 0.4);
}

.back-to-top.showing {
  opacity: 1;
  visibility: visible;
}

/* ===== ANIMATIONS ===== */
@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 fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.fade-in-left {
  opacity: 0;
  animation: fadeInLeft 0.8s ease forwards;
}

.fade-in-right {
  opacity: 0;
  animation: fadeInRight 0.8s ease forwards;
}

.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.animate-scale {
  opacity: 0;
  animation: scaleIn 0.8s ease forwards;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.animate-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-left.animated {
  opacity: 1;
  transform: translateX(0);
}

.animate-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-right.animated {
  opacity: 1;
  transform: translateX(0);
}

.animate-scale.animated {
  opacity: 1;
  transform: scale(1);
}

/* ===== EXTRA RESPONSIVE ENHANCEMENTS ===== */

/* Ultra small devices (phones, less than 320px) */
@media (max-width: 320px) {
  .header {
    min-height: 450px;
  }
  
  .header-section h1 {
    font-size: 1.5rem;
  }
  
  .hero-badge {
    font-size: 0.7rem;
    padding: 6px 15px;
  }
  
  .stat-item {
    min-width: 90px;
    padding: 12px 8px;
  }
  
  .btn-primary,
  .btn-secondary {
    min-width: 120px;
    padding: 10px 15px;
    font-size: 0.8rem;
  }
  
  .section {
    padding: 35px 0;
  }
  
  
}

/* Landscape phones and small tablets */
@media (min-width: 577px) and (max-width: 767px) and (orientation: landscape) {
  .header {
    min-height: 400px;
    max-height: 600px;
  }
  
  .hero-stats {
    flex-direction: row;
    flex-wrap: nowrap;
  }
  
  .stat-item {
    flex: 1;
    min-width: auto;
  }
  
  .header-buttons {
    flex-direction: row;
  }
  
  .btn-primary,
  .btn-secondary {
    min-width: auto;
    flex: 1;
  }
}

/* iPad Portrait */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .header-section h1 {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .welcome-content,
  .mission-content {
    gap: 40px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* iPad Landscape */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  .header {
    max-height: 800px;
  }
  
  .hero-stats {
    gap: 25px;
  }
  
  .mission-content {
    gap: 40px;
  }
}

/* Desktop HD */
@media (min-width: 1200px) and (max-width: 1440px) {
  
  .header-section h1 {
    font-size: 3.2rem;
  }
}

/* Ultra-wide screens */
@media (min-width: 1441px) {
  
  
  .header-section h1 {
    font-size: 3.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
    max-width: 800px;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .slider-arrow:hover,
  .btn-primary:hover,
  .btn-secondary:hover,
  .service-card:hover,
  .transport-item:hover,
  .feature-item:hover,
  .stat-card:hover,
  .back-to-top:hover,
  .social-links a:hover,
  .service-link:hover,
  .btn-outline:hover {
    transform: none;
  }
  
  .slider-arrow:active,
  .btn-primary:active,
  .btn-secondary:active,
  .service-card:active,
  .transport-item:active,
  .stat-card:active,
  .back-to-top:active,
  .social-links a:active {
    transform: scale(0.95);
  }
  
  .service-link:active {
    gap: 8px;
  }
  
  .btn-outline:active {
    transform: none;
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .slide {
    transition: none;
  }
  
  .img-hover-zoom:hover img {
    transform: none;
  }
  
  .scroll-line {
    animation: none;
  }
  
  .fade-in-left,
  .fade-in-right,
  .fade-in-up,
  .animate-scale {
    animation: none;
    opacity: 1;
  }
  
  .animate-on-scroll,
  .animate-left,
  .animate-right,
  .animate-scale {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  :root {
    --light-bg: #1a1a1a;
    --text-dark: #e0e0e0;
    --text-light: #a0a0a0;
    --border-color: #333;
    --white: #121212;
  }
  
 
  
  .section-title {
    color: var(--text-dark);
  }
  
  .section-description,
  .section-p,
  .service-card p,
  .service-details p {
    color: var(--text-light);
  }
  
  .transport-item {
    background: #2a2a2a;
    border-color: #333;
  }
  
  .transport-item h4 {
    color: var(--text-dark);
  }
}

/* Print styles */
@media print {
  .header,
  .hero-slider,
  .slider-nav,
  .slider-dots,
  .scroll-indicator,
  .menu-btn,
  .back-to-top,
  .social-links,
  .newsletter-form,
  .image-overlay,
  .service-overlay {
    display: none !important;
  }
  
  .header-section {
    background: white !important;
    color: black !important;
    min-height: auto;
    height: auto;
    position: static;
  }
  
  .header-section h1,
  .section-title,
  .service-card h3,
  .feature-item h4,
  .service-details h3,
 h4,
  .newsletter-content h2 {
    color: black !important;
  }
  
  .hero-subtitle,
  .section-description,
  .section-p,
  .service-card p,
  .service-details p,
  .feature-item p,
  .contact-info p {
    color: #333 !important;
  }
  
  .service-card,
  .mission-stats .stat-card,
  .detailed-service
   {
    border: 1px solid #ddd !important;
    background: white !important;
    box-shadow: none !important;
    break-inside: avoid;
  }
  
  a {
    color: black !important;
    text-decoration: underline;
  }
  
  
  
  .section {
    page-break-inside: avoid;
  }
  
  .hero-stats,
  .mission-stats {
    break-inside: avoid;
  }
}

/* Fix for scroll animations */
[id] {
  scroll-margin-top: 80px;
}

/* Ensure all text fits containers */
h1, h2, h3, h4, h5, h6,
p, span, a, li, div {
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Images always fit */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Forms fit containers */
input, textarea, select, button {
  max-width: 100%;
  box-sizing: border-box;
}

/* Tables */
table {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  display: block;
}

/* Prevent horizontal scroll */
body, html {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* Fix for very long words/URLs */
.break-word {
  word-break: break-word;
}