/* Main Layout & Sections Styling */

/* Navbar Enhancement */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 86, 179, 0.1);
  transition: var(--transition);
}

.nav-content {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 60px;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

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

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a:hover {
  color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
}

.close-menu {
  display: none;
}

/* Hero Section */
.hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #f8fbff 30%, rgba(248, 251, 255, 0.4) 100%);
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  z-index: 10;
}

.hero-text {
  max-width: 600px;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0, 188, 212, 0.1);
  color: var(--secondary);
  border-radius: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-text h2 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

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

.hero-text p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.hero-btns {
  display: flex;
  gap: 15px;
}

/* Feature Cards */
.features {
  margin-top: -60px;
  position: relative;
  z-index: 20;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card i {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 20px;
}

/* Service Section */
.bg-alt {
  background-color: #eff6ff;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-img {
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-img img {
  transform: scale(1.1);
}

.service-info {
  padding: 30px;
}

.service-info h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.service-info ul li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.service-info ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-size: 0.8rem;
}

/* Why Choose Us Section */
.why-us {
  background-color: var(--white);
}

.align-center {
  align-items: center;
}

.why-us-text h2 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 25px;
}

.why-us-text h2 span {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

/* Rounded highlight effect like screenshot */
.why-us-text h2 span::after {
  content: "";
  position: absolute;
  left: -5px;
  right: -5px;
  top: 50%;
  height: 60%;
  border: 4px solid #ffd32a; /* Yellow highlight like screenshot */
  border-radius: 50%;
  z-index: -1;
  transform: translateY(-50%) skew(-10deg);
  opacity: 0.6;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #f1f5f9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.03);
}

.stat-card {
  padding: 40px;
  border-right: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: var(--transition);
}

.stat-card:hover {
  background-color: #f8fbff;
}

.stat-card:nth-child(2n) {
  border-right: none;
}

.stat-card.border-none {
  border-bottom: none;
}

.stat-icon {
  font-size: 2.5rem;
  color: var(--primary);
  opacity: 0.8;
}

.stat-info h3 {
  font-size: 2.2rem;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 5px;
}

.stat-info p {
  color: var(--text-muted);
  font-weight: 500;
}

@media (max-width: 768px) {
  .why-us-text h2 { font-size: 2.2rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-card { border-right: none !important; align-items: center; text-align: center; }
}

/* Pricing Section */
.pricing-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.price-group {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 86, 179, 0.05);
}

.price-header {
  text-align: center;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px dashed #e2e8f0;
}

.price-header i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.price-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.price-item .pkg-detail {
  font-weight: 600;
  color: var(--secondary);
}

.price-item.special {
  background: rgba(255, 107, 107, 0.05);
  margin: 10px -15px;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 107, 107, 0.2);
}

.price-item.regular {
  background: rgba(0, 86, 179, 0.05);
  margin: 10px -15px;
  padding: 12px 15px;
  border-radius: 8px;
}

.note {
  font-size: 0.85rem;
  color: var(--accent);
  margin-top: 15px;
  font-weight: 500;
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 40px;
}

.gallery-item {
  height: 250px;
  border-radius: 10px;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item img:hover {
  transform: scale(1.05);
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 40px auto 0;
}

.faq-item {
  background: var(--white);
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
  overflow: hidden;
  border: 1px solid #f1f5f9;
}

.faq-question {
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background-color: var(--white);
  transition: var(--transition);
}

.faq-question h3 {
  font-size: 1.1rem;
  margin-bottom: 0;
  color: var(--text-main);
}

.faq-question i {
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease-out;
  background-color: #fcfdfe;
}

.faq-answer p {
  padding: 0 25px 25px;
  color: var(--text-muted);
  font-size: 1rem;
}

.faq-item.active .faq-answer {
  max-height: 200px; /* Adjust as needed */
}

.faq-item.active .faq-question {
  background-color: #f8fbff;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* Contact Info */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}

.contact-method {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-method i {
  width: 50px;
  height: 50px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.contact-method h4 {
  margin-bottom: 5px;
}

.contact-form-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

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

.form-group input, 
.form-group select, 
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-family: inherit;
}

.w-full {
  width: 100%;
}

/* Floating Buttons */
.floating-contact {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: var(--transition);
}

.float-btn:hover {
  transform: scale(1.1) rotate(5deg);
}

.float-wa { background-color: #25D366; }
.float-call { background-color: var(--primary); }

/* Sticky Header Effect */
.navbar.scrolled {
  height: 70px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Mobile Responsive */
@media (max-width: 991px) {
  .hero-text h2 { font-size: 2.5rem; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pricing-container { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    display: flex;
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 100px 30px 40px;
    gap: 15px;
    text-align: left;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
  }

  .nav-links.active {
    right: 0;
  }

  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
  }

  .menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Close button for side menu */
  .close-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 0.95rem;
    color: var(--text-muted);
    border: none;
    background: none;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    width: 100%;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
  }

  .close-menu:hover {
    color: var(--accent);
  }

  .close-menu i {
    font-size: 1.1rem;
  }

  .nav-cta { display: none; }
  .mobile-menu-btn { display: block; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .pricing-container { grid-template-columns: 1fr; }
  .hero { height: auto; padding: 120px 0 60px; }
  .hero-bg { position: relative; height: 300px; margin-bottom: 30px; }
  .hero-bg::after { background: var(--bg-light); opacity: 0.1; }
  .hero-text { text-align: center; }
  .hero-btns { justify-content: center; }
}

/* Footer Styling */
.footer {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 60px 0 30px;
  text-align: center;
}

.footer-logo {
  height: 80px;
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
}

.footer-slogan {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 30px;
  color: var(--secondary);
  font-style: italic;
}

.footer-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

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

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--secondary);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Lightbox Styling */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lightbox-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 900px;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 0 50px rgba(0,0,0,0.5);
  animation: zoom 0.6s;
}

@keyframes zoom {
  from {transform: scale(0.7); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  z-index: 2001;
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: var(--secondary);
  text-decoration: none;
  transform: rotate(90deg);
}

.lightbox-caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 20px 0;
  font-size: 1.2rem;
  font-family: var(--font-bengali);
}

.gallery-item {
  cursor: pointer;
  overflow: hidden;
}

.gallery-item img {
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Partners Section */
.partners {
  background-color: var(--white);
  border-top: 1px solid #f1f5f9;
}

.partners-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 60px;
  margin-top: 40px;
}

.partner-item {
  width: 180px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.partner-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: var(--transition);
}

.partner-item:hover img {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .partners-grid {
    gap: 30px;
  }
  .partner-item {
    width: 140px;
  }
}

/* Video Reviews Section */
.video-grid {
  display: flex;
  overflow-x: auto;
  gap: 30px;
  margin-top: 40px;
  padding-bottom: 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
  scroll-snap-type: x mandatory;
}

.video-grid::-webkit-scrollbar {
  height: 8px;
}

.video-grid::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

.video-grid::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

.video-card {
  flex: 0 0 350px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 600px;
  scroll-snap-align: start;
  transition: var(--transition);
}

.video-card:hover {
  transform: translateY(-5px);
}

@media (max-width: 768px) {
  .video-card {
    flex: 0 0 300px;
    height: 550px;
  }
}
