:root {
  --primary-color: #FF6B35;
  /* Orange Sunset */
  --secondary-color: #004E89;
  /* Ocean Blue */
  --accent-color: #7FB800;
  /* Palm Green */
  --text-dark: #1A1A1A;
  --text-light: #F4F4F4;
  --bg-light: #FFFFFF;
  --bg-off-white: #F0F4F8;
  --gradient-sunset: linear-gradient(135deg, #FF6B35 0%, #FF9F1C 100%);
  --gradient-ocean: linear-gradient(135deg, #004E89 0%, #00B4D8 100%);
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
  --font-main: 'Poppins', sans-serif;
  --font-heading: 'Playfair Display', serif;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

p {
  margin-bottom: 1rem;
}

.text-primary {
  color: var(--primary-color);
}

.text-secondary {
  color: var(--secondary-color);
}

.text-accent {
  color: var(--accent-color);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  transition: var(--transition);
}

.btn-primary {
  background: var(--gradient-sunset);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

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

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

/* Header */
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  transition: all 0.4s ease;
}

header.scrolled {
  background: rgba(0, 78, 137, 0.822);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 1rem 5%;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 110px;
  width: auto;
  object-fit: contain;
  /* border-radius: 50%; Optional if they want it round, but the logo is irregular */
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.logo-text span {
  color: var(--primary-color);
}

nav ul {
  display: flex;
  gap: 2rem;
}

nav ul li a {
  color: white;
  font-weight: 500;
  font-size: 1.1rem;
  position: relative;
  padding-bottom: 5px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  bottom: 0;
  left: 0;
  transition: var(--transition);
}

nav ul li a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 100vh;
  width: 100%;
  position: relative;
  /* Removed static background */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 0 5%;
  overflow: hidden;
}

/* Background Slider Overlay */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
  z-index: 0;
}

.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;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.5rem;
  max-width: 700px;
  margin-bottom: 2rem;
  font-weight: 300;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.hero-btns {
  display: flex;
  gap: 1rem;
}

/* Section Common */
section {
  padding: 5rem 5%;
  scroll-margin-top: 80px;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  display: inline-block;
  position: relative;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 50%;
  height: 3px;
  background: var(--gradient-sunset);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Destinations */
.destinations {
  background-color: var(--bg-off-white);
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

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

.card-img {
  height: 250px;
  width: 100%;
  object-fit: cover;
}

.card-content {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.card-desc {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.location-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.9);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--secondary-color);
  box-shadow: var(--shadow-sm);
}

/* About Section */
.about {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.about-content {
  flex: 1;
}

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

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.director-card {
  margin-top: 2rem;
  background: white;
  padding: 1.5rem;
  border-left: 5px solid var(--primary-color);
  box-shadow: var(--shadow-sm);
}

.director-name {
  font-weight: 700;
  color: var(--secondary-color);
  font-size: 1.2rem;
}

.director-title {
  color: #777;
  font-size: 0.9rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  text-align: center;
  padding: 2rem;
  border-radius: 15px;
  background: white;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-bottom: 4px solid transparent;
}

.service-card:hover {
  border-bottom-color: var(--primary-color);
  transform: translateY(-5px);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Contact */
.contact {
  background: var(--secondary-color);
  color: white;
  position: relative;
  overflow: hidden;
}

.contact::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='%23ffffff' 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");
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info h2 {
  color: white;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.contact-item i {
  margin-right: 15px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 45px;
  text-align: center;
}

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

.social-btn {
  width: 40px;
  height: 40px;
  background: white;
  color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.contact-form {
  flex: 1;
  min-width: 300px;
  background: white;
  padding: 2rem;
  border-radius: 15px;
  color: var(--text-dark);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Google Reviews Style */
.testimonials {
  background-color: #f8f9fa;
  padding: 5rem 5%;
}

.google-review-header {
  text-align: center;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.google-logo-large {
  width: 120px;
  height: auto;
}

.google-rating-score {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 10px;
}

.google-stars-large {
  color: #fbbc04;
  font-size: 1.5rem;
}

.review-count {
  color: #5f6368;
  font-size: 0.9rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.3);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  border: 1px solid #e8eaed;
}

.testimonial-card:hover {
  box-shadow: 0 4px 8px rgba(60, 64, 67, 0.3);
  transform: translateY(-2px);
}

.reviewer-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  position: relative;
}

.testimonial-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 12px;
  border: none;
}

.reviewer-info {
  flex: 1;
}

.testimonial-name {
  font-weight: 600;
  color: #202124;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.reviewer-meta {
  font-size: 0.75rem;
  color: #5f6368;
}

.google-icon-small {
  position: absolute;
  top: 0;
  right: 0;
  width: 24px;
  height: 24px;
}

.testimonial-rating {
  color: #fbbc04;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
  display: flex;
  gap: 2px;
}

.testimonial-text {
  font-family: 'Roboto', sans-serif;
  /* Google uses Roboto mostly */
  color: #3c4043;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more-btn {
  color: #1a73e8;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 1rem;
  text-decoration: none;
  display: inline-block;
}

.read-more-btn:hover {
  text-decoration: underline;
}

/* About Sections (Why Choose Us, Mission & Vision) */
.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.section-badge {
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  display: inline-block;
}

.why-choose-us {
  background: var(--bg-off-white);
  padding: 5rem 0;
  margin-bottom: 5rem;
}

.why-choose-us-content {
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

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

.feature-icon {
  font-size: 3.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.feature-title {
  font-size: 1.4rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.feature-desc {
  color: #666;
}

.mission-vision {
  display: flex;
  gap: 2rem;
  margin-bottom: 5rem;
}

.mv-card {
  flex: 1;
  padding: 4rem 3rem;
  border-radius: 20px;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mission-card {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #002D50 100%);
}

.vision-card {
  background: linear-gradient(135deg, var(--primary-color) 0%, #E65100 100%);
}

.mv-card i {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.mv-card h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.mv-card p {
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .mission-vision {
      flex-direction: column;
  }
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #128C7E;
  transform: scale(1.1);
}

.my-float {
  margin-top: 0;
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 25px;
  }
}

/* Footer */
footer {
  background: linear-gradient(to right, #002D50, #00335A);
  color: white;
  padding: 4rem 5% 1rem;
  margin-top: auto;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  position: relative;
  display: inline-block;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 2px;
  background: var(--primary-color);
  bottom: -5px;
  left: 0;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-links a i {
  margin-right: 10px;
  font-size: 0.8rem;
  color: var(--primary-color);
}

.footer-contact li {
  display: flex;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.footer-contact i {
  margin-right: 15px;
  color: var(--primary-color);
  margin-top: 5px;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
  color: white;
}

.footer-social a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom .text-accent {
  color: var(--primary-color);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }

  .about {
    flex-direction: column;
  }

  nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    background: linear-gradient(135deg, #003468 0%, #002244 100%);
    flex-direction: column;
    padding: 6rem 2rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    gap: 1.2rem;
    z-index: 1000;
  }

  nav ul.active {
    right: 0;
  }

  nav ul li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.8rem;
  }

  nav ul li a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    text-shadow: none;
  }

  nav ul li a:hover,
  nav ul li a.active {
    color: var(--primary-color);
    padding-left: 8px;
  }

  nav ul li a::after {
    display: none;
  }

  nav ul li a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    order: 2;
    font-size: 0.95rem;
    opacity: 0.5;
    transition: var(--transition);
  }
  
  nav ul li a:hover::before,
  nav ul li a.active::before {
    opacity: 1;
    transform: translateX(4px);
    color: var(--primary-color);
  }

  .mobile-menu-btn {
    display: block;
    z-index: 1001;
  }

  .mobile-menu-btn.active {
    color: white;
  }

  .contact-container {
    flex-direction: column;
  }

  /* Mobile Logo Styles */
  .logo-img {
    height: 60px;
  }

  .logo-text {
    font-size: 1.2rem;
  }

  header {
    padding: 1rem 5%;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 1s ease forwards;
}

/* Specific styles for detailed packages */
.detailed-package-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    margin: 2rem auto 5rem;
    display: flex;
    flex-direction: column;
    width: 98%;
    max-width: 1800px;
}

@media (min-width: 992px) {
    .detailed-package-card {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .detailed-package-img-container {
        position: sticky !important;
        top: 100px;
        height: calc(100vh - 120px);
        min-height: 500px;
    }
}

.detailed-package-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.detailed-package-img-container {
    position: relative;
    flex: 1;
    min-height: 300px;
}

.detailed-package-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.4s ease-in-out;
}

.package-price-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-sunset);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
    z-index: 2;
}

.package-price-badge span {
    font-size: 0.8rem;
    font-weight: 400;
}

.detailed-package-content {
    flex: 1.8;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.detailed-package-title {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.itinerary-container {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.itinerary-day {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.itinerary-day:hover {
    background: var(--bg-off-white);
    transform: translateX(5px);
}

.day-badge {
    background: var(--bg-off-white);
    color: var(--secondary-color);
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 80px;
    text-align: center;
    border-left: 3px solid var(--primary-color);
}

.day-details h4 {
    color: var(--text-dark);
    margin-bottom: 5px;
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 600;
}

.day-details p {
    color: #666;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.detailed-package-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Language Selector Styles */
.lang-selector-item {
  position: relative;
  display: flex;
  align-items: center;
}

.lang-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  backdrop-filter: blur(5px);
  outline: none;
}

.lang-btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.lang-btn i {
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.lang-selector-item.open .lang-btn i {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-lg);
  border-radius: 12px;
  width: 190px;
  padding: 8px 0;
  display: none;
  flex-direction: column;
  z-index: 1001;
  border: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  animation: langSlideDown 0.25s ease;
}

@keyframes langSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lang-dropdown.show {
  display: flex;
}

.lang-option {
  padding: 10px 16px;
  font-size: 0.9rem;
  color: var(--text-dark) !important;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 400;
}

.lang-option:hover {
  background: rgba(255, 107, 53, 0.1);
  color: var(--primary-color) !important;
  padding-left: 20px;
}

.lang-option.active {
  font-weight: 600;
  color: var(--secondary-color) !important;
  background: rgba(0, 78, 137, 0.05);
}

.lang-option i {
  font-size: 0.8rem;
  color: var(--primary-color);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.lang-option.active i {
  opacity: 1;
}

/* Hide Google Translate original UI elements for clean custom look */
#google_translate_element,
.skiptranslate:not(.lang-selector-item):not(.lang-selector-item *),
.goog-te-banner-frame,
.goog-te-banner,
.goog-tooltip,
#goog-gt-tt {
  display: none !important;
}

body {
  top: 0px !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  nav {
    gap: 0.8rem;
  }

  .lang-selector-item {
    order: 1;
    position: relative;
    display: flex;
    align-items: center;
  }
  
  .lang-btn {
    padding: 6px 10px;
    font-size: 0.85rem;
    gap: 5px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    backdrop-filter: blur(5px);
    width: auto;
  }
  
  .lang-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
  }
  
  .lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 160px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    padding: 6px 0;
    display: none;
    flex-direction: column;
    z-index: 1001;
    animation: langSlideDown 0.25s ease;
  }

  .lang-dropdown.show {
    display: flex;
  }

  .mobile-menu-btn {
    order: 2;
  }

  /* Scrolled header adjustments for mobile language button */
  header.scrolled .lang-btn {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
  }
  
  header.scrolled .lang-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
  }
}

/* Laptop and Tablet Landscape Header Responsiveness */
@media (min-width: 1025px) and (max-width: 1400px) {
  header {
    padding: 1rem 3%;
  }
  header.scrolled {
    padding: 0.8rem 3%;
  }
  .logo-img {
    height: 80px;
  }
  .logo-text {
    font-size: 1.4rem;
  }
  nav {
    gap: 1.2rem;
  }
  nav ul {
    gap: 1.3rem;
  }
  nav ul li a {
    font-size: 0.95rem;
  }
  .lang-btn {
    padding: 5px 12px;
    font-size: 0.9rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  header {
    padding: 0.8rem 2%;
  }
  header.scrolled {
    padding: 0.6rem 2%;
  }
  .logo-img {
    height: 65px;
  }
  .logo-text {
    font-size: 1.2rem;
  }
  nav {
    gap: 0.8rem;
  }
  nav ul {
    gap: 0.8rem;
  }
  nav ul li a {
    font-size: 0.85rem;
  }
  .lang-btn {
    padding: 4px 10px;
    font-size: 0.82rem;
  }
}