.fvp {
  position: relative;
  height: 100vh;
  width: 100%;
  background-image: url(../assets/home/1.jpg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}
.fvp .db {
  z-index: 2;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(
    135deg,
    rgba(34, 35, 83, 0.7) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
}
.fvp .center {
  z-index: 5;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 800px;
  width: 90%;
}
.fvp .center .title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: var(--fw-extra-bold);
  color: #fff;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.fvp .down-btn-div {
  z-index: 5;
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}

.fvp .down-btn-div a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.fvp .down-btn-div a:hover {
  background: var(--theme-gold);
  color: white;
  text-decoration: none;
  transform: translateY(-3px);
}

.scroll-down-icon {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: rgba(255, 255, 255, 0.9);
  font-weight: var(--fw-medium);
  margin-bottom: 2rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: var(--fw-bold);
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.hero-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.hero-btn:hover::before {
  left: 100%;
}

.hero-btn.primary {
  background: var(--theme-gradient);
  color: white;
  border: 2px solid transparent;
}

.hero-btn.secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  text-decoration: none;
}

.hero-btn.primary:hover {
  color: white;
  border-color: var(--theme-gold);
}

.hero-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  color: white;
}

.hero-btn i {
  margin-right: 0.5rem;
  font-size: 1.1em;
}

.social-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.social-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-btn:hover::before {
  opacity: 1;
}

.social-btn.whatsapp {
  background: var(--theme-green);
  color: white;
}

.social-btn.telegram {
  background: var(--theme-blue);
  color: white;
}

.social-btn:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

.social-btn.whatsapp:hover {
  color: white;
}

.social-btn.telegram:hover {
  color: white;
}

/* Legacy button styles - replaced with modern hero buttons */

.services-core {
  display: block;
  width: 100%;
  overflow-x: hidden;
}
.service-section {
  display: flex;
  padding: 50px 0;
  width: 100%;
}
.services-core .left,
.services-core .right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: left;
  overflow: hidden;
}
.services-core img {
  height: auto;
  margin: 30px;
  max-width: 100%;
}
.about-core .col-md-6 {
  overflow: hidden;
}
.about-core img {
  margin: 30px;
  max-width: 100%;
  height: auto;
}
.services-core p {
  width: 70%;
}

.section-title {
  font-weight: var(--fw-bold);
}

.read-more-div {
  display: flex;
  justify-content: center;
}

.read-more-div a {
  background-color: var(--theme-black);
  color: var(--theme-gold);
  border: none;
  padding: 10px 20px;
  box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

.read-more-div a:hover {
  background-color: var(--theme-gold);
  color: var(--theme-black);
  box-shadow: 5px 5px 10px 1px rgba(0, 0, 0, 0.2);
}

.parallax-window {
  position: relative;
  min-height: 300px;
  background: transparent;
  width: 100%;
  overflow: hidden;
}
.pdb {
  z-index: 5;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
}

.pdb p {
  color: #fff;
  font-family: "Dancing Script", cursive;
  font-size: 180%;
}

.buttons-div .flash {
  -webkit-animation-name: flash;
  animation-name: flash;
}

.animated {
  -webkit-animation-duration: 2s;
  animation-duration: 2s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.animated.infinite {
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

.svp .container {
  padding: 30px 0;
}

.svp .about-core {
  padding: 30px 0;
}

.about-core .left,
.about-core .right {
  padding: 0 30px;
}

.about-core .right {
  overflow: hidden;
}

.about-img-core {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-img-core img {
  max-width: 100%;
  height: auto;
}

#loading {
  display: none;
}

.data-pop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #999;
}
.dp-header-text h4 {
  font-size: 100%;
}

.data-pop-body {
  padding-top: 30px;
}

.data-pop-wb input,
.data-pop-wb select {
  border: 2px solid #333;
  height: 50px;
}

.close-btn {
  background-color: transparent;
  border: none;
  padding: 0 4px;
  font-weight: bolder;
  font-size: 200%;
}

#enqSubmitBtn,
#popSubmitBtn {
  background-color: #000;
  color: var(--theme-gold);
  border: none;
  font-size: 90%;
  display: block;
  margin: 20px auto;
  height: 50px;
  width: 200px;
}

#popSubmitBtn:disabled {
  background-color: #ccc;
  color: #fff;
  cursor: not-allowed;
}

/* Message buttons */
.message-btns-div {
  z-index: 1000;
  position: fixed;
  display: block;
  flex-direction: column;
  bottom: 30px;
  right: 70px;
  width: 40px;
}

.message-btns-div * {
  box-sizing: border-box;
}

.open-close-button {
  cursor: pointer;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 0.1em solid #f4d6d7;
  background-color: #eaeaea;
  margin: 0 0%;
  font-size: 20px;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.6);
}

@-webkit-keyframes cFlash {
  from,
  50%,
  to {
    color: green;
  }

  25%,
  75% {
    color: yellow;
  }
}

@keyframes cFlash {
  from,
  50%,
  to {
    color: green;
  }

  25%,
  75% {
    color: yellow;
  }
}

.open-close-button img {
  height: 30px;
  width: auto;
  animation: flash 1s infinite;
}
.open-close-button.open {
  background-color: #c9353b;
  -moz-transform: rotate(300deg);
  -ms-transform: rotate(300deg);
  -webkit-transform: rotate(300deg);
  transform: rotate(300deg);
}
.open-close-button.open:after {
  background-color: #c9353b;
}
.open-close-button.open:before {
  background-color: #c9353b;
}

/* Service section improvements */
.service-content {
  padding: 2rem;
}

.service-title {
  color: var(--theme-black);
  font-weight: var(--fw-bold);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.service-title i {
  color: var(--theme-gold);
  margin-right: 0.5rem;
}

.service-description {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.service-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: var(--theme-gradient);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: var(--fw-medium);
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.service-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  text-decoration: none;
  color: white;
}

.service-btn i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

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

/* Modern image containers */
.modern-img-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  transition: all 0.3s ease;
}

.modern-img-container:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-heavy);
}

.modern-img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.modern-img-container:hover .modern-img {
  transform: scale(1.05);
}

/* About section improvements */
.about-description {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about-features {
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--theme-black);
  font-weight: var(--fw-medium);
}

.feature-item i {
  color: var(--theme-green);
  margin-right: 1rem;
  font-size: 1.2rem;
}

/* Parallax section improvements */
.parallax-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.parallax-title {
  color: white;
  font-size: 2.5rem;
  font-weight: var(--fw-bold);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.parallax-title i {
  color: var(--theme-gold);
  margin-right: 0.5rem;
}

.parallax-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.parallax-btn {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--theme-gold);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: var(--fw-bold);
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.parallax-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  text-decoration: none;
  color: white;
  background: #e8890f;
}

.parallax-btn i {
  margin-right: 0.5rem;
}

/* Contact section improvements */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--theme-gradient);
  color: white;
  border-radius: 50%;
  margin-right: 1.5rem;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-details h5 {
  color: var(--theme-black);
  font-weight: var(--fw-bold);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.contact-details p {
  color: #666;
  margin: 0;
  line-height: 1.6;
}

/* Section spacing improvements */
.svp {
  padding: 4rem 0;
}

.tvp {
  padding: 4rem 0;
  background: #f8f9fa;
}

/* Text alignment improvements */
.text-left .secondary-title-div {
  text-align: left;
}

.text-left .secondary-title::after {
  left: 0;
  transform: none;
}

/* Lead text styling */
.lead {
  font-size: 1.2rem;
  font-weight: var(--fw-medium);
  color: #666;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
}

/* Global fixes for responsive behavior */
.row {
  margin-left: 0;
  margin-right: 0;
  width: 100%;
  max-width: 100%;
}

.col-md-6 {
  padding-left: 15px;
  padding-right: 15px;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .col-md-6 {
    width: 50%;
    max-width: 50%;
  }
}

/* Ensure images don't overflow */
img {
  max-width: 100%;
  height: auto;
}

/* Fix any container overflow */
.services-core,
.about-core,
.contact-core {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .fvp .center .title {
    font-size: 2.5rem;
  }

  .subtitle {
    font-size: 1.1rem;
  }

  /* Services section mobile fixes */
  .service-section {
    flex-direction: column;
    padding: 2rem 0;
  }

  .service-section .left,
  .service-section .right {
    width: 100%;
    max-width: 100%;
    margin-bottom: 2rem;
  }

  .service-content {
    padding: 1rem 0;
    text-align: center;
  }

  /* About section mobile fixes */
  .about-core {
    flex-direction: column-reverse;
  }

  .about-core .left,
  .about-core .right {
    width: 100%;
    max-width: 100%;
    margin-bottom: 2rem;
  }

  .about-p-core {
    text-align: center;
  }

  .text-left .secondary-title-div {
    text-align: center;
  }

  .text-left .secondary-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  /* Contact section mobile fixes */
  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .contact-icon {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  /* Parallax section mobile fixes */
  .parallax-title {
    font-size: 2rem;
  }

  .parallax-text {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  .parallax-btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }

  /* Image container mobile fixes */
  .modern-img-container {
    margin-bottom: 2rem;
    max-width: 100%;
  }

  .modern-img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  /* Hero section mobile improvements */
  .fvp .center {
    width: 95%;
    padding: 0 1rem;
  }

  /* Section spacing adjustments */
  .svp,
  .tvp {
    padding: 3rem 0;
  }

  /* Typography adjustments */
  .service-title {
    font-size: 1.5rem;
    text-align: center;
  }

  .service-description {
    font-size: 1rem;
    text-align: center;
  }

  .about-description {
    font-size: 1rem;
    text-align: center;
  }

  .feature-item {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .social-buttons {
    gap: 0.75rem;
  }

  .social-btn {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  .fvp .center .title {
    font-size: 2rem;
    line-height: 1.1;
  }

  .subtitle {
    font-size: 1rem;
  }

  .hero-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .service-title {
    font-size: 1.3rem;
  }

  .parallax-title {
    font-size: 1.8rem;
  }

  .parallax-text {
    font-size: 1rem;
  }

  .contact-item {
    padding: 1rem;
  }

  .contact-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .secondary-title {
    font-size: 1.8rem;
  }

  /* Ensure proper spacing on very small screens */
  .container {
    padding: 0 10px;
  }

  .section {
    padding: 2rem 0;
  }

  /* Fix any overflow issues */
  .row {
    width: 100%;
    max-width: 100%;
  }

  .col-md-6 {
    width: 100%;
    max-width: 100%;
  }
}
