/* ===================================
   Global Styles
   =================================== */
:root {
  --primary-color: #ffd700;
  --secondary-color: #00bfff;
  --dark-color: #000000;
  --light-color: #ffffff;
  --text-color: #333333;
  --text-light: #666666;
  --bg-light: #f8f9fa;
  --bg-dark: #1a1a1a;
  --gradient-primary: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
  --gradient-secondary: linear-gradient(135deg, #00bfff 0%, #0080ff 100%);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  /* ensure content sits below fixed header */
  padding-top: var(--header-offset);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===================================
   Header & Navigation
   =================================== */
.header {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  z-index: 1000;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-img {
  width: 120px;
  height: 60px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary-color);
  text-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
}

.brand-subtitle {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.navbar-nav .nav-link {
  color: var(--light-color) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  margin: 0 0.25rem;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
  background: rgba(255, 215, 0, 0.1);
}

.navbar-nav .btn-call {
  background: var(--gradient-primary);
  color: var(--dark-color) !important;
  font-weight: 600;
  padding: 0.5rem 1.5rem !important;
  border-radius: 25px;
  margin-left: 1rem;
}

.navbar-nav .btn-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

/* Fix: prevent fixed header from covering anchored sections */
:root {
  --header-offset: 100px;
}

html {
  scroll-padding-top: var(--header-offset);
}

section {
  scroll-margin-top: var(--header-offset);
}

/* Responsive tweak */
@media (max-width: 768px) {
  :root {
    --header-offset: 80px;
  }
}

/* ===================================
   Hero Section
   =================================== */
.hero-section {
  min-height: calc(100vh - var(--header-offset));
  margin: 0;
  padding: 0;
  overflow: hidden;
  position: relative;
}

#heroCarousel {
  height: calc(100vh - var(--header-offset));
}

.carousel-inner {
  height: calc(100vh - var(--header-offset));
}

.carousel-item {
  height: calc(100vh - var(--header-offset));
}

.hero-slide {
  height: calc(100vh - var(--header-offset));
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-slide .container {
  position: relative;
  z-index: 2;
  padding-top: 0; /* remove hardcoded top padding — header offset is handled via CSS var */
}

.hero-overlay {
  display: none;
}

.hero-section .row {
  width: 100%;
  margin: 0;
}

.hero-content {
  color: var(--light-color);
  overflow: visible;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.text-highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.hero-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-buttons .btn {
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 30px;
  margin-right: 1rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  color: var(--dark-color);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
}

.btn-outline-light {
  border: 2px solid var(--light-color);
  color: var(--light-color);
  background: transparent;
}

.btn-outline-light:hover {
  background: var(--light-color);
  color: var(--dark-color);
  transform: translateY(-3px);
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--light-color);
}

.feature-item i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  color: var(--light-color);
  animation: float 3s ease-in-out infinite;
}

.floating-card i {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.floating-card h3 {
  color: var(--light-color);
  margin-bottom: 1rem;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Carousel Controls Styling */
.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background: rgba(255, 215, 0, 0.3);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.carousel-control-prev {
  left: 30px;
}

.carousel-control-next {
  right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: rgba(255, 215, 0, 0.6);
  opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 20px;
  height: 20px;
  background-color: var(--dark-color);
  border-radius: 50%;
}

.carousel-indicators {
  bottom: 30px;
  margin-bottom: 0;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid var(--primary-color);
  margin: 0 5px;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.carousel-indicators button.active {
  background-color: var(--primary-color);
  opacity: 1;
  transform: scale(1.2);
}

.scroll-indicator {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  pointer-events: auto;
}

.scroll-indicator a {
  color: var(--primary-color);
  font-size: 2rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ===================================
   Section Styles
   =================================== */
section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.title-underline {
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  margin: 0 auto 1.5rem;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 3rem;
}

/* ===================================
   About Section
   =================================== */
.about-section {
  background: var(--bg-light);
  padding-top: 80px;
  padding-bottom: 80px;
  margin-top: 0;
  clear: both;
}

.about-content h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.about-content p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-item h4 {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: var(--text-light);
  font-weight: 500;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--light-color);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.service-card i {
  font-size: 3rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.service-card h5 {
  color: var(--text-color);
  font-weight: 600;
}

/* ===================================
   Services Section
   =================================== */
.services-section {
  background: var(--light-color);
}

.service-box {
  background: var(--light-color);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  height: 100%;
  border-top: 4px solid transparent;
}

.service-box:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-top-color: var(--primary-color);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon i {
  font-size: 2.5rem;
  color: var(--dark-color);
}

.service-box h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.service-box p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.service-list {
  list-style: none;
  padding: 0;
}

.service-list li {
  padding: 0.5rem 0;
  color: var(--text-light);
  position: relative;
  padding-left: 1.5rem;
}

.service-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

/* ===================================
   Brands Section
   =================================== */
.brands-section {
  background: var(--bg-light);
}

.brand-card {
  background: var(--light-color);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  height: 100%;
}

.brand-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.brand-card:hover .brand-logo {
  transform: scale(1.1);
  filter: grayscale(0%);
}

.brand-logo {
  max-width: 120px;
  max-height: 80px;
  width: auto;
  height: auto;
  margin-bottom: 1rem;
  object-fit: contain;
  filter: grayscale(0%);
  transition: all 0.3s ease;
}

.brand-card h5 {
  color: var(--text-color);
  font-weight: 600;
  margin: 0;
}

/* ===================================
   Gallery Section
   =================================== */
.gallery-section {
  background: var(--bg-light);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  cursor: pointer;
  height: 100%;
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: all 0.3s ease;
  display: block;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  color: var(--primary-color);
  font-size: 3rem;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay i {
  transform: scale(1);
}

/* ===================================
   Why Choose Us Section
   =================================== */
.why-choose-section {
  background: var(--light-color);
}

.feature-box {
  background: var(--light-color);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  height: 100%;
  text-align: center;
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-icon i {
  font-size: 2.5rem;
  color: var(--light-color);
}

.feature-box h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.feature-box p {
  color: var(--text-light);
  line-height: 1.8;
}

/* ===================================
   Contact Section
   =================================== */
.contact-section {
  background: var(--bg-light);
}

.contact-form-wrapper {
  background: var(--light-color);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  display: block;
}

.form-control {
  padding: 0.75rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
  outline: none;
}

.contact-info-card {
  background: var(--light-color);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.contact-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.contact-icon i {
  font-size: 2rem;
  color: var(--dark-color);
}

.contact-info-card h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.contact-info-card p {
  color: var(--text-light);
  margin: 0;
}

.contact-info-card a {
  color: var(--secondary-color);
  font-weight: 600;
}

.contact-info-card a:hover {
  color: var(--primary-color);
}

/* ===================================
   Footer
   =================================== */
.footer {
  background: var(--bg-dark);
  color: var(--light-color);
}

.footer-brand h4 {
  color: var(--primary-color);
  margin: 1rem 0;
}

.footer-logo {
  width: 120px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.footer h5 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-contact li {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.footer-contact i {
  color: var(--primary-color);
  margin-top: 0.25rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.footer-contact a:hover {
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-color);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-color);
  color: var(--dark-color);
  transform: translateY(-3px);
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
}

.copyright {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* ===================================
   Floating Buttons
   =================================== */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 100px;
  right: 30px;
  background: #25d366;
  color: var(--light-color);
  border-radius: 50%;
  text-align: center;
  font-size: 1.8rem;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.6);
  color: var(--light-color);
}

.call-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background: var(--gradient-primary);
  color: var(--dark-color);
  border-radius: 50%;
  text-align: center;
  font-size: 1.8rem;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.call-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
  color: var(--dark-color);
}

/* ===================================
   Responsive Design
   =================================== */
@media (min-width: 1400px) {
  .hero-slide .container {
    padding-top: 100px;
  }
}

@media (max-width: 992px) {
  .hero-slide .container {
    padding-top: 80px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
    height: 40px;
  }

  .carousel-control-prev {
    left: 15px;
  }

  .carousel-control-next {
    right: 15px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .about-section {
    padding-top: 60px;
    padding-bottom: 60px;
    margin-top: 0;
  }

  .about-stats {
    gap: 2rem;
  }

  .service-cards {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 0.75rem 0;
  }

  .hero-slide .container {
    padding-top: 70px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 35px;
    height: 35px;
  }

  .carousel-control-prev {
    left: 10px;
  }

  .carousel-control-next {
    right: 10px;
  }

  .carousel-indicators {
    bottom: 20px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .hero-features {
    flex-direction: column;
    gap: 1rem;
  }

  .about-section {
    padding-top: 50px;
    padding-bottom: 50px;
    margin-top: 0;
  }

  .about-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .contact-form-wrapper {
    padding: 2rem 1.5rem;
  }

  .whatsapp-float,
  .call-float {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float {
    bottom: 80px;
  }

  .gallery-item img {
    height: 200px;
  }

  .scroll-indicator {
    bottom: 20px;
  }
}

@media (max-width: 576px) {
  .header {
    padding: 0.5rem 0;
  }

  .hero-slide .container {
    padding-top: 60px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 30px;
    height: 30px;
    display: none;
  }

  .carousel-indicators {
    bottom: 15px;
  }

  .carousel-indicators button {
    width: 10px;
    height: 10px;
    margin: 0 3px;
  }

  .scroll-indicator {
    bottom: 60px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .hero-description {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .about-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .brand-name {
    font-size: 1.2rem;
  }

  .brand-subtitle {
    font-size: 0.75rem;
  }

  .logo-img {
    width: 100px;
    height: 50px;
    object-fit: contain;
  }

  .navbar-nav .btn-call {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .scroll-indicator {
    bottom: 15px;
  }

  .scroll-indicator a {
    font-size: 1.5rem;
  }
}
