/* --- VARIABLES & RESET --- */
:root {
  --primary-dark: #0f172a; /* Slate Dark Blue */
  --primary-light: #1e293b; /* Lighter Slate */
  --accent: #f59e0b; /* Premium Amber/Gold */
  --text-grey: #64748b;
  --light-bg: #f8fafc;
  --white: #ffffff;
  --transition: all 0.4s ease;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--primary-dark);
  overflow-x: hidden;
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  color: var(--primary-dark);
}

a {
  text-decoration: none;
}

/* --- SECTION SPACING & TYPOGRAPHY --- */
section {
  padding: 80px 0;
  position: relative;
}

.section-title {
  position: relative;
  display: inline-block;
}

.section-title h2 {
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.section-title .divider {
  height: 4px;
  width: 60px;
  background: var(--accent);
  margin: 0 auto;
  border-radius: 2px;
}

.section-subtitle {
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 10px;
}

/* --- NAVBAR --- */
.navbar {
  background: transparent;
  padding: 20px 0;
  transition: var(--transition);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white) !important;
}

.navbar-brand span {
  color: var(--accent);
}

.nav-link {
  color: var(--white) !important;
  font-weight: 500;
  margin-left: 20px;
  position: relative;
  opacity: 0.9;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent) !important;
  opacity: 1;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--accent);
  bottom: -5px;
  left: 0;
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

/* Offcanvas Customization */
.offcanvas {
  background-color: var(--primary-dark);
}
.offcanvas-header .btn-close {
  filter: invert(1);
}
.offcanvas-title {
  color: var(--white);
}

/* --- HERO SECTION --- */
.hero-section {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-overlay-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  text-align: center;
  width: 90%;
  max-width: 900px;
  color: var(--white);
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.hero-overlay-content h5 {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 20px;
  animation: fadeInDown 1s ease forwards;
}

.hero-overlay-content h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease 0.3s forwards;
  opacity: 0;
}

.hero-overlay-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeInUp 1s ease 0.6s forwards;
}

.carousel,
.carousel-inner,
.carousel-item {
  height: 100%;
}

.carousel-item img {
  height: 100vh;
  object-fit: cover;
  filter: brightness(0.4); /* Darken images for text readability */
}

/* --- BUTTONS --- */
.btn-custom {
  padding: 14px 35px;
  background: var(--accent);
  color: var(--primary-dark);
  font-weight: 600;
  border-radius: 0;
  border: 2px solid var(--accent);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  opacity: 0;
  animation: fadeInUp 1s ease 0.9s forwards;
}

.btn-custom:hover {
  background: transparent;
  color: var(--white);
}

.btn-outline-custom {
  padding: 12px 30px;
  border: 2px solid var(--primary-dark);
  color: var(--primary-dark);
  font-weight: 600;
  border-radius: 0;
  transition: var(--transition);
}

.btn-outline-custom:hover {
  background: var(--primary-dark);
  color: var(--white);
}

/* --- ABOUT SECTION --- */
.about-img-wrapper {
  position: relative;
  padding: 20px;
}

.about-img-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 150px;
  height: 150px;
  border-top: 5px solid var(--accent);
  border-left: 5px solid var(--accent);
  z-index: 1;
}

.about-img {
  width: 100%;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 2;
}

.value-box {
  display: flex;
  align-items: center;
  margin-top: 15px;
}

.value-icon {
  width: 50px;
  height: 50px;
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 15px;
  font-size: 1.2rem;
  transition: var(--transition);
}

.value-box:hover .value-icon {
  background: var(--accent);
  color: var(--white);
  transform: rotateY(360deg);
}

/* --- SERVICES SECTION --- */
.bg-light-section {
  background-color: var(--light-bg);
}

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-icon {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 25px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-card h4 {
  font-size: 1.35rem;
  margin-bottom: 15px;
}
.service-card p {
  color: var(--text-grey);
  font-size: 0.95rem;
}

/* --- GALLERY SECTION --- */
.gallery-item {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
  border-radius: 4px;
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  padding: 20px;
  text-align: center;
}

.gallery-item:hover img {
  transform: scale(1.1);
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 600;
  transform: translateY(20px);
  transition: var(--transition);
}
.gallery-tag {
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.8rem;
  transform: translateY(20px);
  transition: var(--transition);
  transition-delay: 0.1s;
}

.gallery-item:hover .gallery-title,
.gallery-item:hover .gallery-tag {
  transform: translateY(0);
}

/* --- CONTACT SECTION --- */
.contact-info-box {
  padding: 30px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--accent);
  margin-right: 20px;
  margin-top: 5px;
}

.form-control {
  padding: 15px;
  border-radius: 0;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  margin-bottom: 20px;
  transition: var(--transition);
}

.form-control:focus {
  box-shadow: none;
  border-color: var(--accent);
  background: var(--white);
}

/* --- FOOTER --- */
footer {
  background-color: var(--primary-dark);
  color: #94a3b8;
  padding-top: 80px;
  border-top: 5px solid var(--accent);
}

.footer-logo {
  color: var(--white);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: block;
}

.footer-logo span {
  color: var(--accent);
}

.footer h5 {
  color: var(--white);
  margin-bottom: 25px;
}

.footer-links li {
  margin-bottom: 15px;
  list-style: none;
}
.footer-links ul {
  padding: 0;
}

.footer-links a {
  color: #94a3b8;
  transition: var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(5px);
}

.social-icons a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-right: 10px;
  transition: var(--transition);
  border-radius: 50%;
}

.social-icons a:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.footer-bottom {
  background: #020617;
  padding: 20px 0;
  margin-top: 60px;
  font-size: 0.9rem;
}

/* --- SCROLL TO TOP --- */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  background: var(--accent);
  color: var(--white);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
}
#scrollTopBtn:hover {
  transform: translateY(-5px);
  background: #d97706;
}

/* --- ANIMATION UTILS --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 768px) {
  .hero-overlay-content h1 {
    font-size: 2.5rem;
  }
  .section-title h2 {
    font-size: 2rem;
  }
  .navbar-collapse {
    background: var(--primary-dark);
    padding: 20px;
  }
  .nav-link {
    margin-left: 0;
    margin-bottom: 15px;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.log-img-sec img {
    width: 135px;
}