/* section 1 */
.hero-slider {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}

.heroSwiper {
  width: 100%;
  height: 100%;
}

.heroSwiper .swiper-slide {
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
}

.slide-content {
  margin-left: 60px;
  color: #fff;
  max-width: 500px;
}

.slide-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.6);
}

.slide-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  text-shadow: 1px 1px 8px rgba(0,0,0,0.6);
}

.swiper-button-next,
.swiper-button-prev {
  color: #fff;
}

.swiper-pagination-bullet {
  background: #fff;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .slide-content {
    margin-left: 20px;
  }
  .slide-title {
    font-size: 2rem;
  }
  .slide-subtitle {
    font-size: 1rem;
  }
}

/* -------------------About video styling  section 2 ---------------------------*/
.about-video {
  width: 100%;            
  max-width: 650px;      
  height: auto;          
  border-radius: 8px;    
  object-fit: cover;      
  box-shadow: 0 8px 25px rgba(0,0,0,0.25); /* stronger shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect for modern look */
.about-video:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

/* Responsive tweaks */
@media (max-width: 992px) {
  .about-video {
    max-width: 100%;
    margin-top: 20px;
  }
}


/* section 3 */


.video-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.video-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.video-wrapper {
  flex: 1 1 50%;
  max-width: 600px;
}

.video-wrapper video {
  width: 100%;       /* full width of the container */
  height: auto;      /* maintain aspect ratio */
  border-radius: 10px;
  object-fit: cover; /* crop to fill container if needed */
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  max-height: 400px; /* optional: limit max height */
}


.video-text {
  flex: 1 1 45%;
}

.video-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #212529;
}

.video-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #495057;
}

@media (max-width: 992px) {
  .video-content {
    flex-direction: column;
  }
  .video-wrapper, .video-text {
    flex: 1 1 100%;
  }
  .video-text h2 {
    font-size: 1.75rem;
  }
}


/* 
section 4 */
.showroom-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.showroom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.showroom-media {
  flex: 1 1 50%;
}

.showroom-media video {
  width: 90%;             /* takes full width of parent */
  height: auto;            /* keeps aspect ratio */
  aspect-ratio: 11/16;      /* portrait style (optional) */
  border-radius: 5px;
  object-fit: cover;       /* crops video neatly */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  max-height: 500px;       /* prevents oversized video */
}


.showroom-text {
  flex: 1 1 45%;
}

.showroom-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #212529;
}

.showroom-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #495057;
  margin-bottom: 15px;
}

.showroom-text .btn {
  margin-top: 15px;
}

@media (max-width: 992px) {
  .showroom-content {
    flex-direction: column-reverse;
    text-align: center;
  }
  .showroom-text, .showroom-media {
    flex: 1 1 100%;
  }
  .showroom-text h2 {
    font-size: 1.75rem;
  }
}



.all-tiles-block {
  perspective: 1200px;
  width: 100%;
  max-width: 900px;
  height: 400px;
  margin: 30px auto;
  border-radius: 16px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.all-tiles-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 1s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
  border-radius: 16px;
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.all-tiles-block:hover .all-tiles-inner {
  transform: rotateX(180deg);
}

.all-tiles-block.flipped .all-tiles-inner {
  transform: rotateX(180deg);
}

/* FRONT */
.all-tiles-front,
.all-tiles-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 16px;
  overflow: hidden;
}

.all-tiles-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.5s ease;
}

.all-tiles-block:hover .all-tiles-front img {
  transform: scale(1.05);
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.1));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
  padding: 20px;
}

.overlay h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  font-weight: 700;
}

/* BACK */
.all-tiles-back {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  transform: rotateX(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
}

.all-tiles-back h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.all-tiles-back p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.btn-view {
  background: #fff;
  color: #007bff;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-view:hover {
  background: #e9ecef;
  transform: translateY(-3px);
}

/* HINT (mobile only) */
.flip-hint {
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-top: 10px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}

@media (min-width: 992px) {
  .flip-hint {
    display: none;
  }
}


/* Base Flip Card */
.all-tiles-block {
  perspective: 1200px;
  width: 100%;
  max-width: 900px;
  height: 400px;
  margin: 30px auto;
  border-radius: 16px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

/* Tablet Responsiveness */
@media (max-width: 992px) {
  .all-tiles-block {
    max-width: 700px;
    height: 350px;
  }

  .overlay h3,
  .all-tiles-back h3 {
    font-size: 1.8rem;
  }

  .all-tiles-back p {
    font-size: 1rem;
  }

  .btn-view {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
}

/* Mobile Responsiveness */
@media (max-width: 576px) {
  .all-tiles-block {
    max-width: 100%;
    height: 280px;
    margin: 20px auto;
  }

  .overlay h3,
  .all-tiles-back h3 {
    font-size: 1.4rem;
  }

  .all-tiles-back p {
    font-size: 0.9rem;
  }

  .btn-view {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .flip-hint {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
}


/* Our Works Section */
.our-works-section {
  padding: 80px 0;
  background: #f8f9fa;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 50px;
  color: #212529;
}

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

.video-card {
  position: relative;
  width: 100%;
  /* Portrait aspect ratio: 9:16 */
  padding-top: 177.77%; /* 16 / 9 ≈ 1.777 */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.video-card video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card:hover {
  transform: scale(1.05);
}

.video-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 6px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  text-align: center;
}

.video-overlay h3 {
  margin: 0;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .works-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}



/* service */
.service-journey-section {
  padding: 80px 20px;
  background: #f8f9fa;
  text-align: center;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #212529;
}

.section-subtitle {
  font-size: 1rem;
  margin-bottom: 50px;
  color: #495057;
}

.journey-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  justify-items: center;
}

.journey-card {
  background: #fff;
  border-radius: 15px;
  padding: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.journey-card img {
  width: 100%;          /* take full width of the card */
  height: 280px;        /* fixed height, can adjust */
  object-fit: cover;    /* cover the area, cropping if needed */
  border-radius: 10px;  /* optional: rounded corners */
  box-shadow: 0 5px 15px rgba(0,0,0,0.2); /* optional: subtle shadow */
  margin-bottom: 10px;
  transition: transform 0.3s ease; /* for hover effects */
}

.journey-card img:hover {
  transform: scale(1.05); /* subtle zoom on hover */
}

.journey-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #007bff;
}

.journey-card p {
  font-size: 0.95rem;
  color: #495057;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .journey-cards {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #212529;
  position: relative;
  display: inline-block;
  margin-bottom: 30px;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;        /* length of the line */
  height: 3px;        /* thickness */
  background-color: #007bff; /* line color */
  margin-top: 5px;    /* spacing between text and line */
  border-radius: 2px; /* optional: rounded ends */
}


/*--------------------- contact---------------------------- */
/* CONTACT SECTION */
.contact-section {
  padding: 60px 20px;
  background: #f8f9fa;
}

.contact-section .section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  color: #222;
}

.contact-section .section-subtitle {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* Contact Wrapper (Card + Form) */
.contact-wrapper {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Contact Info Card */
.contact-info {
  flex: 1 1 300px;
  background-size: cover;
  background-position: center;
  color: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.contact-info h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #ffc107; /* golden heading */
}

.contact-info p {
  margin: 10px 0;
  font-size: 1rem;
  line-height: 1.6;
  background: rgba(0,0,0,0.5);
  padding: 8px 12px;
  border-radius: 6px;
}

/* Contact Form */
.contact-form {
  flex: 1 1 300px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #007bff;
  box-shadow: 0 0 6px rgba(0,123,255,0.4);
  outline: none;
}

.contact-form button {
  background: #007bff;
  border: none;
  padding: 12px;
  font-size: 1.1rem;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.contact-form button:hover {
  background: #0056b3;
}

.contact-form .form-message {
  margin-top: 10px;
  font-size: 0.9rem;
  color: green;
}

/* Responsive */
@media (max-width: 992px) {
  .contact-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
  .contact-info, .contact-form {
    max-width: 100%;
  }
}


/* Footer */
.footer {
  background: #212529;
  color: #f8f9fa;
  padding: 60px 20px 20px;
  font-family: 'Segoe UI', sans-serif;
  position: relative;
  overflow: hidden;
}

/* Subtle gradient overlay for depth */
.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(33,37,41,0.95) 0%, rgba(0,0,0,0.85) 100%);
  z-index: 0;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.footer-col h3,
.footer-col h4 {
  margin-bottom: 15px;
  color: #ffffff;
  font-weight: 600;
  position: relative;
}

/* Small underline effect for section headers */
.footer-col h4::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin-top: 5px;
  background: #007bff;
  border-radius: 2px;
}

.footer-logo {
  font-size: 1.7rem;
  font-weight: 700;
  color: #007bff;
  margin-bottom: 10px;
}

.footer-col p,
.footer-col ul {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #ced4da;
}

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

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #f8f9fa;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-col ul li a:hover {
  color: #007bff;
  padding-left: 5px; /* subtle slide effect */
}

/* Social Links */
.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: transparent;
  color: #007bff;
  font-size: 18px;
  border: 2px solid #007bff;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #007bff;
  color: #fff;
  transform: translateY(-3px) scale(1.1); /* lift effect */
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

/* Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 50px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #adb5bd;
  position: relative;
  z-index: 1;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  .footer {
    padding: 40px 15px 15px;
  }
  .footer-container {
    gap: 25px;
  }
  .footer-logo {
    font-size: 1.4rem;
  }
}
