/* =============== GLOBAL STYLES =============== */
:root {
  --primary: #04051f;       /* Ocean Blue */
  --secondary: #FF6F3C;     /* Sunset Orange */
  --accent: #020216;        /* Tropical Teal */
  --bg: #fcfcfc;            /* Soft Sand */
  --text-primary: #333333;  /* Charcoal Gray */
  --text-secondary: #666666;/* Slate Gray */
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-primary);
  background-color: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

/* =============== PRELOADER =============== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(253, 246, 238, 0.95);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease;
}

.green-loader {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--accent), var(--primary));
  animation: 
    pulse 1.5s infinite alternate,
    spin 2s linear infinite,
    colorShift 4s infinite;
  box-shadow: 0 0 20px rgba(6, 12, 37, 0.5);
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 15, 37, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(0, 180, 216, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 180, 216, 0); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes colorShift {
  0%, 100% { background: linear-gradient(45deg, var(--accent), var(--primary)); }
  50% { background: linear-gradient(45deg, var(--primary), var(--secondary)); }
}

/* =============== HEADER =============== */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  color: var(--bg);
  text-align: center;
  margin-top: 70px;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* Reduced dark overlay instead of blue */
  z-index: 1;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: url('/landing_page/img/wave.svg') repeat-x;
  background-size: contain;
  animation: waveMove 25s linear infinite;
  z-index: 2;
}

/* Image slideshow animation */
.hero-section {
  animation: heroSlideshow 25s infinite;
  background-size: cover;
  background-position: center;
}

@keyframes heroSlideshow {
  0%, 20% {
    background-image: url('/landing_page/img/hero/hero5.jpg');
  }
  20.01%, 40% {
    background-image: url('/landing_page/img/hero/hero4.jpg');
  }
  40.01%, 60% {
    background-image: url('/landing_page/img/hero/hero6.jpg');
  }
  60.01%, 80% {
    background-image: url('/landing_page/img/hero/hero7.jpg');
  }
  80.01%, 100% {
    background-image: url('/landing_page/img/hero/hero9.jpg');
  }
}

@keyframes waveMove {
  0% { background-position: 0 0; }
  100% { background-position: 1000px 0; }
}

.header-section.scrolled {
  background-color: rgba(253, 246, 238, 0.95);
  backdrop-filter: blur(10px);
}

.brand-image {
    height: 120px;
    margin-right: 20px;}

.brand-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.brand-logo a:hover {
  transform: scale(1.05);
}

.company-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-left: 10px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li {
  position: relative;
  margin-left: 20px;
}

.main-nav a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 15px;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.main-nav a i {
  margin-right: 8px;
  font-size: 0.9rem;
}

.main-nav a:hover, 
.main-nav a.active {
  color: var(--secondary);
  background-color: rgba(0, 180, 216, 0.1);
}

.main-nav a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--secondary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.main-nav a:hover:after,
.main-nav a.active:after {
  width: 80%;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg);
  width: 200px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
  border-radius: 8px;
}

.main-nav li:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu li {
  margin: 0;
}

.submenu a {
  padding: 12px 20px;
  width: 100%;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.submenu a:hover {
  padding-left: 25px;
  color: var(--secondary);
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.mobile-menu-toggle:hover {
  color: var(--secondary);
}


/* Mobile styles */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav ul {
        position: fixed;
        top: 80px; /* Adjust based on your header height */
        left: 0;
        width: 100%;
        background: var(--bg);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 99;
    }
    
    .main-nav ul.active {
        transform: translateY(0);
    }
    
    .main-nav li {
        margin: 0;
        width: 100%;
    }
    
    .main-nav a {
        padding: 15px 20px;
        border-radius: 0;
    }
    
    .submenu {
        position: static;
        width: 100%;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }
    
    .main-nav li:hover .submenu {
        display: block;
    }
    
    .mobile-menu-toggle.active i::before {
        content: "\f00d"; /* This changes the icon to 'X' when active */
    }
}

/* =============== HERO SECTION =============== */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(0, 119, 182, 0.8), rgba(0, 180, 216, 0.8)), url('/landing_page/img/hero4.jpg') no-repeat center center;
  background-size: cover;
  color: var(--bg);
  text-align: center;
  margin-top: 70px;
  overflow: hidden;
}

.hero-section:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: url('wave-divider.svg') repeat-x;
  background-size: contain;
  animation: waveMove 25s linear infinite;
}

@keyframes waveMove {
  0% { background-position: 0 0; }
  100% { background-position: 1000px 0; }
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1s ease;
}

.hero-section .subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease 0.2s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  animation: fadeInUp 1s ease 0.4s forwards;
  opacity: 0;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  background-color: var(--secondary); /* Sunset Orange */
  color: var(--bg); /* Soft Sand */
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 111, 60, 0.3);
}

.hero-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 111, 60, 0.4);
}

.hero-button:active {
  transform: translateY(1px);
}

.hero-button i {
  margin-right: 10px;
  font-size: 1.1em;
  transition: transform 0.3s ease;
}

.hero-button:hover i {
  transform: translateX(5px);
}

/* Pulse animation */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 111, 60, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(255, 111, 60, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 111, 60, 0); }
}

.hero-button:hover {
  animation: pulse 1.5s infinite;
}

/* Existing fadeInUp animation (unchanged) */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =============== BUTTONS =============== */
.btn {
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}

.btn:focus:not(:active)::after {
  animation: ripple 1s ease-out;
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 1;
  }
  100% {
    transform: scale(20, 20);
    opacity: 0;
  }
}

.btn-primary {
  background-color: var(--secondary);
  color: var(--bg);
  box-shadow: 0 4px 15px rgba(255, 111, 60, 0.3);
}

.btn-primary:hover {
  background-color: #e65a2b;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 111, 60, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--bg);
  border: 2px solid var(--bg);
  box-shadow: 0 4px 15px rgba(253, 246, 238, 0.1);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(253, 246, 238, 0.2);
}

/* =============== CTA SECTION =============== */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--bg);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('dot-pattern.png') repeat;
  opacity: 0.05;
  animation: bgScroll 20s linear infinite;
}

@keyframes bgScroll {
  0% { background-position: 0 0; }
  100% { background-position: 500px 500px; }
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.cta-content h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--secondary);
}

.cta-content p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn-light {
  background-color: var(--bg);
  color: var(--secondary);
}

.btn-light:hover {
  background-color: #f8e9d9;
  color: #e65a2b;
}

.btn-outline-light {
  background-color: transparent;
  color: var(--bg);
  border: 2px solid var(--bg);
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* =============== FEATURES SECTION =============== */

.header-section {
     background-color: var(--bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}


.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--secondary);
}

.section-header p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  transform: translateY(30px);
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.2s; }
.feature-card:nth-child(2) { animation-delay: 0.4s; }
.feature-card:nth-child(3) { animation-delay: 0.6s; }
.feature-card:nth-child(4) { animation-delay: 0.8s; }

.feature-card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background-color: var(--secondary);
  color: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background-color: var(--primary);
  animation: bounce 0.8s ease;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.feature-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* =============== SERVICES SECTION =============== */
.services-section {
  padding: 80px 0;
  background: linear-gradient(to bottom, var(--bg) 50%, #f8f1e7 100%);
}

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

.service-card {

  background: #fff;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  transform: translateY(30px);
  opacity: 0;
  overflow: hidden;

    
  animation: fadeInUp 0.6s ease forwards;
  animation: zoomIn 0.6s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.2s; }
.service-card:nth-child(2) { animation-delay: 0.4s; }
.service-card:nth-child(3) { animation-delay: 0.6s; }

@keyframes zoomIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02) !important;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  padding: 30px;
  text-align: center;
  font-size: 2.5rem;
  color: var(--bg);
  
}

.service-card:nth-child(1) .service-icon {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 8px;
    animation: bounce 0.8s ease;
}

.service-card:nth-child(2) .service-icon {
  background: linear-gradient(135deg, var(--secondary), #FF8E53);
  border-radius: 8px;
      animation: bounce 0.8s ease;
}

.service-card:nth-child(3) .service-icon {
  background: linear-gradient(135deg, var(--accent), #06061f);
  border-radius: 8px;
    animation: bounce 0.8s ease;
}

.service-card-content {
  padding: 30px;
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.service-link:hover {
  color: var(--secondary);
}

.service-link i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.service-link:hover i {
  transform: translateX(5px);
}

/* =============== TESTIMONIALS SECTION =============== */
.testimonials-section {
  padding: 80px 0;
  background-color: #f8f1e7;
}

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform: perspective(1000px) rotateY(20deg);
  opacity: 0;
  animation: testimonialEnter 0.8s ease forwards;
}

.testimonial-card:nth-child(1) { animation-delay: 0.2s; }
.testimonial-card:nth-child(2) { animation-delay: 0.4s; }
.testimonial-card:nth-child(3) { animation-delay: 0.6s; }

@keyframes testimonialEnter {
  from { opacity: 0; transform: perspective(1000px) rotateY(20deg); }
  to { opacity: 1; transform: perspective(1000px) rotateY(0deg); }
}

.testimonial-card:hover {
  transform: perspective(1000px) rotateY(0deg) translateY(-10px) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.rating {
  color: #FFC107;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.6;
  position: relative;
  padding-left: 20px;
}

.testimonial-text:before {
  content: '"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 3rem;
  color: rgba(0, 180, 216, 0.1);
  font-family: serif;
  line-height: 1;
}

.client-info {
  display: flex;
  flex-direction: column;
}

.client-name {
  font-weight: 600;
  color: var(--primary);
}

.client-location {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* =============== ABOUT PAGE =============== */
.page-top-section {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--bg);
  margin-top: 70px;
  text-align: center;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 15px 0 0;
  list-style: none;
}

.breadcrumb a {
  color: rgba(253, 246, 238, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--bg);
}

.about-section {
  padding: 80px 0;
}

.blue-card {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--bg);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 119, 182, 0.2);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: translateX(-20px);
  opacity: 0;
  animation: slideInLeft 0.8s ease forwards;
}

.about-text {
  background-color: #fff;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transform: translateX(20px);
  opacity: 0;
  animation: slideInRight 0.8s ease forwards 0.2s;
}

.about-text h2 {
  color: var(--primary);
  margin-bottom: 20px;
  position: relative;
}

.about-text h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--secondary);
}

.highlight-box {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid var(--secondary);
  margin-bottom: 20px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.check-list li:before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--secondary);
}

.stats-section {
  padding: 60px 0;
  background-color: #f8f1e7;
}

.stat-item {
  padding: 30px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.4s ease;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.stat-item:nth-child(1) { animation-delay: 0.2s; }
.stat-item:nth-child(2) { animation-delay: 0.4s; }
.stat-item:nth-child(3) { animation-delay: 0.6s; }
.stat-item:nth-child(4) { animation-delay: 0.8s; }

.stat-item:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 5px;
}

.stat-item p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* =============== CONTACT PAGE =============== */
.contact-section {
  padding: 80px 0;
}

.contact-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--bg);
  padding: 40px;
  border-radius: 8px;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 119, 182, 0.2);
  transform: translateY(30px);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.contact-text h2 {
  position: relative;
  margin-bottom: 30px;
}

.contact-text h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--secondary);
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.contact-text li:hover .contact-icon {
  background: var(--secondary);
  transform: rotate(15deg);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: var(--bg);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--secondary);
  transform: translateY(-5px);
}

.contact-form-container {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transform: scale(0.95);
  opacity: 0;
  animation: zoomIn 0.8s ease forwards 0.3s;
}

.contact-form-container h3 {
  color: var(--primary);
  margin-bottom: 30px;
  position: relative;
}

.contact-form-container h3:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--secondary);
}

.form-control {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 12px 15px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.2rem rgba(12, 8, 43, 0.25);
}

.invalid-feedback {
  color: #dc3545;
  font-size: 0.9rem;
}

.map {
  height: 450px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-top: 60px;
  transform: translateY(30px);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.4s;
}

.quick-contact-banner {
  background: linear-gradient(90deg, var(--secondary), #FF8E53);
  color: #fff;
  padding: 30px 0;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

.quick-contact-banner:before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { transform: translateX(-100%) rotate(30deg); }
  100% { transform: translateX(100%) rotate(30deg); }
}

/* =============== FOOTER =============== */
.footer-section {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--bg);
  padding: 60px 0 0;
  position: relative;
}

.footer-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('wave-pattern.svg') repeat;
  opacity: 0.05;
  animation: waveAnimation 20s linear infinite;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.footer-col h4 {
  color: var(--bg);
  margin-bottom: 20px;
  font-size: 1.2rem;
  position: relative;
  display: inline-block;
}

.footer-col h4:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--secondary);
  transition: width 0.3s ease;
}

.footer-col:hover h4:after {
  width: 80px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 50px;
  margin-right: 15px;
}

.footer-logo h3 {
  font-size: 1.5rem;
  margin: 0;
  color: var(--bg);
}

.footer-about p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 15px;
}

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

.footer-social a:hover {
  background-color: var(--secondary);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(255, 111, 60, 0.3);
}

.footer-links ul,
.footer-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-info li {
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.footer-links li:hover,
.footer-info li:hover {
  transform: translateX(5px);
}

.footer-links a,
.footer-info a {
  color: var(--bg);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover,
.footer-info a:hover {
  color: var(--secondary);
}

.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.footer-contact i {
  margin-right: 10px;
  color: var(--secondary);
  min-width: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.footer-bottom:before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.copyright {
  color: rgba(253, 246, 238, 0.7);
  animation: fadeInUp 1s ease;
}

.footer-version {
  color: rgba(253, 246, 238, 0.5);
  font-size: 0.9rem;
  animation: fadeInUp 1s ease 0.2s forwards;
  opacity: 0;
}

/* =============== UTILITY ANIMATIONS =============== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@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 waveAnimation {
  0% { background-position: 0 0; }
  100% { background-position: 1000px 0; }
}

/* =============== RESPONSIVE STYLES =============== */
@media (max-width: 992px) {
  .main-nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 70px);
    background: var(--bg);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
  }

  .main-nav.active {
    left: 0;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 20px;
  }

  .main-nav li {
    margin: 10px 0;
  }

  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    width: 100%;
    display: none;
    margin-top: 10px;
    padding-left: 20px;
  }

  .main-nav li:hover .submenu {
    display: block;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero-section h1 {
    font-size: 2.5rem;
  }

  .hero-section .subtitle {
    font-size: 1.2rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: auto;
    padding: 100px 0;
  }
/*
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
*/
  .btn {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-version {
    margin-top: 10px;
  }

  .quick-contact-banner .col-md-8 {
    margin-bottom: 20px;
  }

  .quick-contact-banner .col-md-4 {
    text-align: left !important;
  }
}


/* ===== Hotel Page Styles ===== */

.hotel-hero {

    background-size: cover;
    padding: 120px 0;
    color: white;
    text-align: center;
    margin-top: 200px;

    min-height: 300px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.hotel-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.hotel-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}


/* Swiper slide images styling */
.hotel-hero .swiper-slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: brightness(0.8);
    border-radius: 8px;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .hotel-hero {
        padding: 80px 10px 60px;
    }
    .hotel-hero h1 {
        font-size: 2rem;
    }
    .hotel-hero p {
        font-size: 1rem;
        max-width: 90%;
        margin-bottom: 30px;
    }
    .hotel-hero .swiper-slide img {
        height: 250px;
    }
}


/* ===== Car Page Styles ===== */

.car-hero {
    
    background-size: cover;
    padding: 120px 0;
    color: white;
    text-align: center;
  
    margin-top: 200px;

    min-height: 300px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.car-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.car-hero p {
  font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Swiper slide images styling */
.car-hero .swiper-slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: brightness(0.8);
    border-radius: 8px;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .car-hero {
        padding: 80px 10px 60px;
    }
    .car-hero h1 {
        font-size: 2rem;
    }
    .car-hero p {
        font-size: 1rem;
        max-width: 90%;
        margin-bottom: 30px;
    }
    .car-hero .swiper-slide img {
        height: 250px;
    }
}

/* ===== Flights Page Styles ===== */

.flight-hero {
    background-size: cover;
    padding: 120px 0;
    color: white;
    text-align: center;
    margin-top: 200px;
}

.flight-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.flight-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}


/* ===== Contact Page Styles ===== */

.contact-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7));
    background-size: cover;
    padding: 120px 0;
    color: white;
    text-align: center;
    margin-top: 200px;
}

.contact-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.contact-hero a {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* ===== Hotel Details Page Styles ===== */

.hotel-details-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7));
    background-size: cover;
    padding: 120px 0;
    color: white;
    text-align: center;
    margin-top: 200px;
}

.hotel-details-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.hotel-details-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* ===== Car Details Page Styles ===== */
.car-details,
.hotel-details,
.flight-booking-hero{
   margin-top: 200px;
}
.car-details-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7));
    background-size: cover;
    padding: 120px 0;
    color: white;
    text-align: center;
   
}

.car-details-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.car-details-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}


/* ===== Car Booking Page Styles ===== */


.car-booking-hero {
    
    background-size: cover;
    padding: 120px 0;
    color: white;
    text-align: center;
    margin-top: 200px;

    min-height: 300px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.car-booking-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.car-booking-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}



.fixed-size-img-container {
    width: 100%;       /* or fixed px width like 300px */
    height: 200px;     /* fixed height you want */
    overflow: hidden;
    position: relative;
    border-radius: 1rem;
    padding: 1rem;
}

.fixed-size-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* scale and crop */
    object-position: center center;
    border-radius: 1rem;
    
}




.custom-button-group {
    gap: 1rem; /* Bootstrap 5 gap equivalent */
}

.custom-btn-primary,
.custom-btn-secondary {
    width: 100%;
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.custom-btn-primary {
    background-color: #0c1c35;
    border: 1px solid #0c1c35;
    color: #fff;
}

.custom-btn-primary:hover {
    background-color: #0c1c35;
    border-color: #0c1c35;
}

.custom-btn-secondary {
    background-color: #6c757d;
    border: 1px solid #6c757d;
    color: #fff;
}

.custom-btn-secondary:hover {
    background-color: #565e64;
    border-color: #565e64;
}










/* =============== FILTER SECTION =============== */


.filter-section {
  position: relative;
  z-index: 10;
  background-color: #fff;
  margin-top: -80px; /* pull it into the hero if needed */
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}


.filter-section .form-control {
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 0.95rem;
}

.filter-section .btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  font-weight: 600;
  transition: all 0.3s ease;
}

.filter-section .btn-primary:hover {
  background-color: var(--secondary);
  border-color: var(--secondary);
}

/* =============== LISTINGS SECTION =============== */
.listings-container {
  background-color: var(--bg);
  margin-top: 20px;
}

.listings-container .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.listings-container .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.fixed-size-img-container {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.fixed-size-img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Responsive title spacing */
.listings-container h4 {
  font-weight: 700;
  color: var(--primary);
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}



.hero-car-img {
    height: 250px;           /* uniform height */
    width: 100%;             /* span full container width */
    max-width: 900px;        /* don’t get too wide on large screens */
    object-fit: cover;       /* crop nicely instead of stretching */
    border-radius: 12px;     /* smooth rounded corners */
    box-shadow: 0 6px 18px rgba(0,0,0,0.15); /* soft shadow for depth */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-car-img:hover {
    transform: scale(1.02);  /* subtle zoom on hover */
    box-shadow: 0 10px 24px rgba(0,0,0,0.25); /* deeper shadow on hover */
}


.car-main-img,  
.hotel-main-img{
    max-width: 550px;         /* keeps it from being too wide */
    height: 320px;            /* uniform height */
    object-fit: cover;        /* crops instead of stretching */
    border-radius: 20px 20px 60px 60px; /* arc effect: softer top, bigger curve bottom */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2); /* soft depth */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.car-main-img:hover {
    transform: scale(1.03); /* slight zoom on hover */
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3); /* deeper shadow */
}








.room-img {
    width: 100%;
    height: 250px;                 /* fixed hero height */
    object-fit: cover;             /* crop without distortion */
    border-bottom-left-radius: 40px;  /* bottom arc styling */
    border-bottom-right-radius: 40px; /* bottom arc styling */
    box-shadow: 0 8px 24px rgba(0,0,0,0.2); /* soft shadow */
    transition: transform 0.4s ease;
}

.room-img:hover {
    transform: scale(1.02);        /* subtle zoom effect */
}

.overlay-text h1,
.overlay-text p {
    text-shadow: 2px 2px 6px rgba(0,0,0,0.6); /* improves readability */
    color: #fff;
}

.overlay-text p {
    font-size: 1.2rem;
}
