/**
 * ========================================================================
 * Developed by Cubesob. Managed by Mohammad Rehaan Nizami and Arsala Jeelani
 * © 2026 Cubesob Demo. All rights reserved.
 * ========================================================================
 */

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800&display=swap");

:root {
  --primary: #ef4d23;
  --primary-light: #ff6b3d;
  --primary-lighter: #f7b29b;
  --primary-dark: #ff5a1f;
  --black: #0a0a0a;
  --dark: #111111;
  --dark-2: #1a1a1a;
  --dark-3: #222222;
  --white: #ffffff;
  --gray: #aaaaaa;
  --gray-light: #cccccc;
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Poppins", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--dark);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

/* NAV */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s ease;
  background: transparent;
}
.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  padding: 12px 5%;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}
.nav-logo img {
  height: 57px;
  transition: opacity 0.3s;
}
.nav-logo img:hover {
  opacity: 0.85;
}
.footer-brand img {
  height: 50px;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}
.nav-links a:hover {
  color: var(--primary);
}
.nav-links a:hover::after {
  width: 100%;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.5px;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(239, 77, 35, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
}
.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0 5%;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("images/hero-bg.png") center/cover no-repeat;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.85) 0%,
    rgba(10, 10, 10, 0.5) 50%,
    rgba(239, 77, 35, 0.15) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 850px;
}
.hero-badge {
  display: inline-block;
  background: rgba(239, 77, 35, 0.15);
  border: 1px solid rgba(239, 77, 35, 0.3);
  color: var(--primary);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1.05;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.hero-title span {
  color: var(--primary);
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--gray-light);
  max-width: 600px;
  margin: 0 auto 36px;
  font-weight: 300;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* STATS */
.stats-bar {
  background: var(--dark);
  border-top: 1px solid var(--dark-3);
  border-bottom: 1px solid var(--dark-3);
  padding: 50px 5%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.stat-item {
  text-align: center;
}
.stat-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 3rem;
  color: var(--primary);
  line-height: 1;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--gray);
  margin-top: 6px;
  font-weight: 400;
}

/* SECTIONS */
.section {
  padding: 100px 5%;
}
.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 60px;
}
.section-tag {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-family: var(--font-heading);
}
.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
  margin-bottom: 16px;
  line-height: 1.1;
}
.section-subtitle {
  color: var(--gray);
  font-size: 1.05rem;
  font-weight: 300;
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.about-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}
.about-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 16px;
}
.about-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 2px solid rgba(239, 77, 35, 0.3);
}
.about-text h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.2rem;
  text-transform: uppercase;
  margin-bottom: 20px;
  line-height: 1.1;
}
.about-text h3 span {
  color: var(--primary);
}
.about-text p {
  color: var(--gray-light);
  margin-bottom: 16px;
  font-weight: 300;
}
.about-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--dark-2);
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid var(--dark-3);
}
.about-feature svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.service-card {
  background: var(--dark);
  border: 1px solid var(--dark-3);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transition: transform 0.4s;
  transform-origin: left;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(239, 77, 35, 0.3);
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: linear-gradient(
    135deg,
    rgba(239, 77, 35, 0.15),
    rgba(239, 77, 35, 0.05)
  );
}
.service-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}
.service-card h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.service-card p {
  color: var(--gray);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.6;
}

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.gallery-item:hover img {
  transform: scale(1.08);
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(239, 77, 35, 0.3) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s;
}
.gallery-item:hover::after {
  opacity: 1;
}

/* TESTIMONIALS */
.testimonials-section {
  background: var(--dark);
}
.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}
.testimonial-card {
  min-width: 100%;
  padding: 40px;
  text-align: center;
}
.testimonial-stars {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 20px;
  letter-spacing: 4px;
}
.testimonial-text {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--gray-light);
  line-height: 1.8;
  margin-bottom: 24px;
  font-weight: 300;
}
.testimonial-author {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}
.testimonial-role {
  color: var(--gray);
  font-size: 0.85rem;
  margin-top: 4px;
}
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dark-3);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.slider-dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

/* CTA BANNER */
.cta-banner {
  padding: 80px 5%;
  text-align: center;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 50%,
    #c93a10 100%
  );
  position: relative;
  overflow: hidden;
}
.cta-banner h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.cta-banner p {
  font-size: 1.1rem;
  max-width: 550px;
  margin: 0 auto 30px;
  opacity: 0.9;
  font-weight: 300;
}
.cta-banner .btn-white {
  background: var(--white);
  color: var(--primary);
  border: none;
  padding: 14px 36px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}
.cta-banner .btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}
.contact-info h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.8rem;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(
    135deg,
    rgba(239, 77, 35, 0.15),
    rgba(239, 77, 35, 0.05)
  );
}
.contact-icon svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
}
.contact-item h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
}
.contact-item p {
  color: var(--gray);
  font-size: 0.9rem;
  font-weight: 300;
}
.contact-item a {
  color: var(--gray);
  text-decoration: none;
  transition: color 0.3s;
}
.contact-item a:hover {
  color: var(--primary);
}

.contact-form {
  background: var(--dark);
  padding: 36px;
  border-radius: 16px;
  border: 1px solid var(--dark-3);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--gray-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: var(--dark-2);
  border: 1px solid var(--dark-3);
  border-radius: 10px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* FOOTER */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--dark-3);
  padding: 60px 5% 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-brand p {
  color: var(--gray);
  font-size: 0.9rem;
  margin-top: 16px;
  font-weight: 300;
  line-height: 1.7;
}
.footer-brand img {
  height: 40px;
}
.footer h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--white);
}
.footer ul {
  list-style: none;
}
.footer ul li {
  margin-bottom: 10px;
}
.footer ul a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
  font-weight: 300;
}
.footer ul a:hover {
  color: var(--primary);
}
.social-links {
  display: flex;
  gap: 12px;
}
.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--dark-2);
  border: 1px solid var(--dark-3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  text-decoration: none;
}
.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
}
.social-link svg {
  width: 18px;
  height: 18px;
  color: var(--white);
}
.footer-bottom {
  text-align: center;
  padding-top: 30px;
  margin-top: 40px;
  border-top: 1px solid var(--dark-3);
  color: var(--gray);
  font-size: 0.85rem;
}

/* ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.7s ease;
}
.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.7s ease;
}
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* GOOGLE MAP */
.map-container {
  border-radius: 16px;
  overflow: hidden;
  margin-top: 30px;
  border: 1px solid var(--dark-3);
}
.map-container iframe {
  width: 100%;
  height: 250px;
  border: 0;
  filter: grayscale(0.8) contrast(1.1) brightness(0.7);
  transition: filter 0.5s;
}
.map-container:hover iframe {
  filter: grayscale(0) contrast(1) brightness(1);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background: var(--dark);
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    gap: 24px;
    transition: right 0.4s ease;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
  }
  .nav-links.active {
    right: 0;
  }
  .hamburger {
    display: flex;
  }
  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .about-image img {
    height: 300px;
  }
}
