* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #fff;
  overflow-x: hidden;
}

header {
  position: absolute;
  top: 0;
  width: 100%;
  height: 70px;
  background: #0b3c5d;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  z-index: 1000;
}

.logo {font-size: 25px;
  height: 50px;
}

/* Main nav links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
}

.nav-links li {
  position: relative; /* for dropdown positioning */
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 20px;
  padding: 8px 12px;
  transition: background 0.3s ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

/* Dropdown menu */
.dropdown-menu {
  position: absolute;
  top: 35px;
  left: 0;
  list-style: none;
  background: #0b3c5d;
  padding: 10px 0;
  min-width: 180px;
  display: none;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.dropdown-menu li a {
  display: block;
  padding: 8px 15px;
  color: #fff;
}

.dropdown-menu li a:hover {
  background-color: rgba(255,255,255,0.15);
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  display: block;
}

/* .hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-content {
  position: absolute;
  z-index: 2;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: fadeInUp 1.5s ease-in-out;
}

.hero-content span {
  font-size: 14px;
  background: #fff;
  color: #000;
  padding: 5px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 10px;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  animation: fadeInText 3s infinite;
}

.btn {
  background: #fff;
  color: #000;
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.btn:hover {
  background: #ddd;
}

.controllers {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.3s;
}

.dot.active {
  opacity: 1;
} */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInText {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

@media (max-width: 768px) {

  

.destinations {
  text-align: center;
  padding: 60px 20px;
  background: #000;
}

.destinations h3 {
  font-weight: 400;
  font-size: 14px;
  margin-bottom: 5px;
  color: #aaa;
}

.destinations h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 40px;
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.destination-card {
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  height: 300px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.destination-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  z-index: 1;
}

.destination-card .text {
  position: relative;
  z-index: 2;
  text-align: left;
}

.destination-card h4 {
  font-size: 18px;
  font-weight: 700;
}

.destination-card p {
  font-size: 13px;
}


.family-section {
 background: #fff;
    color: #111;
    text-align: center;
    padding: 37px;
    height: 266px;
}

.family-section h3 {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.family-section h1 {
  font-size: 44px;
  font-weight: 700;
  max-width: 700px;
  color: #4a3e3e;
  margin: 0 auto 20px;
  letter-spacing: 1px;
}

.family-section p {
 font-size: 14px;
    /* max-width: 600px; */
    margin: 0 auto 40px;
    color: #444;
    font-weight: 100;
    line-height: 26px;
}


.slider-wrapper {
  position: relative;
  max-width: 1200px;
  margin: auto;
  overflow: hidden;
}

.slider {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease-in-out;
}

.slide-img {
  flex: 0 0 calc(33.333% - 13.33px);
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
}

.slider-controls {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 10px;
}

.control-dot {
  width: 12px;
  height: 12px;
  background: #aaa;
  border-radius: 50%;
  cursor: pointer;
}

.control-dot.active {
  background: #000;
}}

@media (max-width: 768px) {
  .family-section h1 {
    font-size: 24px;
  }

  .family-section p {
    font-size: 13px;
  }

  .slider {
    gap: 10px;
  }

  .slide-img {
    flex: 0 0 100%;
    height: 200px;
  }
}


.feature {
  color: #000;
  text-align: center;

}


.logo img {
  height: 50px;
}

/* Main nav links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
}

.nav-links li {
  position: relative; /* for dropdown positioning */
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  padding: 8px 12px;
  transition: background 0.3s ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

/* Dropdown menu */
.dropdown-menu {
  position: absolute;
  top: 40px;
  left: 0;
  list-style: none;
  background: #0b3c5d;
  padding: 10px 0;
  min-width: 180px;
  display: none;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.dropdown-menu li a {
  display: block;
  padding: 8px 15px;
  color: #fff;
}

.dropdown-menu li a:hover {
  background-color: rgba(255,255,255,0.15);
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  display: block;
}



.f-con li {
  list-style: none;
}

.f-con li i {
  font-size: 37px;
  color: #282828;
}

.f-con h1 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #4d4c4c;
}

.f-con p {
  font-size: 15px;
  font-weight: 300;
}

.f-con {
  width: 100%;
  padding: 20px;
}

.why-img {
  width: 100%;
}

.why-img img {
  width: 100%;
  height: 443px;
  object-fit: cover;
}

.why {
  margin-top: 21px;
    width: 100%;
    color: #000;
    background-color: #d6d3d3b8;
    height: 484px;
    padding: 20px;
}

.why .row {
  display: grid;
  grid-template-columns: 50% 50%;
  justify-content: space-between;
}

.why-h {
  margin-top: 35px;
  width: 93%;
}

.why-h h1 {
  font-size: 40px;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 15px;
}


.why-h p {
      font-size: 16px;
    line-height: 26px;
    font-weight: 100;
}

.why-h ul li {
  font-size: 15px;
  font-weight: 300;
  line-height: 22px;
  margin-top: 10px;
  margin-left: 30px;
}

.prod-line {
  border-bottom: 1px solid #000;
  width: 82%;
  margin-right: 0px;
  margin-top: -14px;
}

.prod {
  margin-top: 25px;
  margin-left: 58px;
}

hr {
  border: none;
  border-bottom: 1px solid #000;
  margin-top: 27px;
  width: 936px;
  ;
}

.prod-con {
  display: inline-flex;
}


.prod-h h1 {
  letter-spacing: 1px;
  color: #000;
}

.card-area {
  display: inline-block;
  width: 100%;
  height: 100%;
  margin-top: 45px;
}

.card-img {
  width: 100%;
}

.card-img img {
  width: 100%;
  height: 315px;
  object-fit: cover;
}

.card {
  width: 100%;
  height: 365px;
  padding: 4px;
  border: 1px solid #e6e6e6;
  margin-bottom: 15px;
}

.card-con h2 {
  font-size: 15px;
  font-weight: 100;
  margin-bottom: 3px;
  letter-spacing: 1px;
  text-align: center;
}

.last-img img {
      width: 100%;
    height: 372px;
    object-fit: cover;
}

.last {
  margin: 18px;
}

.last-con {
  text-align: left;
  color: #000;
  margin: 15px;
}

.last-con h1 {
  font-size: 35px;
  letter-spacing: 1px;
  font-weight: 900;
}

.last-con p {
  font-size: 15px;
  letter-spacing: 1px;
  font-weight: lighter;
  line-height: 30px;
}

footer {
  width: 100%;
  height: 526px;
  background-color: #000;
  color: #fff;
  padding: 54px;
}

.footer-con h1 {
  letter-spacing: 1px;
  font-size: 31px;
}

.footer-con li {
  list-style: none;
}

.footer-con a {
  text-decoration: none;
  color: #fff;
  letter-spacing: 1px;
  font-size: 15px;
  line-height: 32px;
}


.tag {
  margin-top: 15px;
  width: 57%;
}

.tag ul li {
  list-style: none;
}

.tag a {
  text-decoration: none;
  color: #fff;
  letter-spacing: 1px;
  font-size: 15px;
  line-height: 32px;
}


.footer-con1 h1 {
  letter-spacing: 1px;
  font-size: 31px;
  margin-left: 33px;
}


.con1 ul {
  list-style: none;
}

.con1 a {
  text-decoration: none;
  color: #000;
  font-weight: 300;
  line-height: 32px;
  margin-left: 10px;
}

.company-con {
  text-align: center;
  font-size: 15px;
  color: #4d4c4c;
}

.company {
  margin-top: 33px;
}

.slider {
  width: 100%;
  height: 400px;
  overflow: hidden;
  margin-top: 35px;
}

.slider-inner {
  display: flex;
  width: 200%;
  animation: slide 35s linear infinite;
}

.slider:hover .slider-inner {
  animation-play-state: paused;
}

.slider-inner img {
  width: 471px;
  height: 343px;
  object-fit: cover;
  margin: 14px;
  transition: transform 0.2s;
}

.slider-inner img:hover {
  transform: scale(1.1);
  transition: transform 0.2s;
  z-index: 1;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-200%);
  }
}

.last-img1{
    width: 100%;
    display: flex;
}

.last-img1 img{
    width: 50%;
    height: 401px;
    object-fit: cover;
    padding: 10px;
}


/* Mobile Responsive Styles */
@media (max-width: 767px) {
  /* Header */
  header {
    padding: 0px 20px;
  }
  
  .logo img {
  height: 50px;
}

/* Main nav links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
}

.nav-links li {
  position: relative; /* for dropdown positioning */
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  padding: 8px 12px;
  transition: background 0.3s ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

/* Dropdown menu */
.dropdown-menu {
  position: absolute;
  top: 40px;
  left: 0;
  list-style: none;
  background: #0b3c5d;
  padding: 10px 0;
  min-width: 180px;
  display: none;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.dropdown-menu li a {
  display: block;
  padding: 8px 15px;
  color: #fff;
}

.dropdown-menu li a:hover {
  background-color: rgba(255,255,255,0.15);
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  display: block;
}
  /* Hero Section */
  .hero-content h1 {
    font-size: 28px;
    padding: 0 15px;
  }
  
  .hero-content span {
    font-size: 12px;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  /* Product Grid */
  .destination-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 15px;
  }
  
  .destination-card {
    height: 200px;
  }
  
  /* Who We Are Section */
  .family-section {
    padding: 30px 15px;
    height: auto;
  }
  
  .family-section h1 {
    font-size: 24px;
  }
  
  .family-section p {
    font-size: 14px;
    margin-bottom: 20px;
  }
  
  /* Slider */
  .slider {
    height: 250px;
  }
  
  .slider-inner img {
    width: 300px;
    height: 200px;
  }
  
  /* Feature Section */
  .feature .row {
    display: flex;
    flex-direction: column;
  }
  
  .col-sm-3, .col-sm-6 {
    width: 100%;
    margin-bottom: 20px;
  }
  
  .f-con {
    padding: 15px;
  }
  
  /* Why Cenmark Section */
  .why {
    height: auto;
    padding: 20px 15px;
  }
  
  .why .row {
    grid-template-columns: 1fr;
  }
  
  .why-img img {
    height: 300px;
  }
  
  .why-h {
    width: 100%;
    margin-top: 20px;
  }
  
  .why-h h1 {
    font-size: 28px;
  }
  
  /* Products Section */
  .prod {
    margin-left: 15px;
  }
  
  hr {
    width: 100%;
    margin-top: 15px;
  }
  
  /* Card Area */
  .card-area .row {
    display: flex;
    flex-direction: column;
    padding: 0 15px;
  }
  
  .col-sm-3 {
    width: 100%;
  }
  
  .card {
    height: auto;
    margin-bottom: 20px;
  }
  
  .card-img img {
    height: 250px;
  }
  
  /* Last Section */
  .last .row {
    display: flex;
    flex-direction: column;
  }
  
  .last-img img {
    height: 300px;
  }
  
  .last-con h1 {
    font-size: 28px;
  }
  
  /* Footer */
  footer {
    height: auto;
    padding: 30px 15px;
  }
  
  .footer-con, .footer-con1 {
    margin-bottom: 30px;
  }
  
  .footer-con h1, .footer-con1 h1 {
    font-size: 24px;
  }
  
  .tag {
    width: 100%;
  }
  
  
  
  /* Product Cards */
  .Our Product {
    margin-top: 30px;
    height: auto;
  }
}