/* ===========================
   T AND N ENGINEERING SOLUTION PVT. LTD.
   Main Stylesheet
   =========================== */

:root {
  --primary: #E8681A;
  --primary-dark: #c9560e;
  --secondary: #1A2B4A;
  --secondary-light: #243a63;
  --accent: #f8f9fa;
  --text-dark: #222222;
  --text-mid: #555555;
  --text-light: #888888;
  --white: #ffffff;
  --border: #e0e0e0;
  --shadow: rgba(0,0,0,0.12);
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--text-dark);
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===========================
   TOP BAR
   =========================== */
.top-bar {
  background: var(--secondary);
  color: rgba(255,255,255,0.85);
  font-size: 12.5px;
  padding: 6px 0;
  border-bottom: 2px solid var(--primary);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar a { color: rgba(255,255,255,0.85); transition: var(--transition); }
.top-bar a:hover { color: var(--primary); }

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar-left span, .top-bar-right span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar i { color: var(--primary); font-size: 12px; }

/* ===========================
   HEADER
   =========================== */
header {
  background: var(--white);
  box-shadow: 0 2px 15px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 20px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.logo-icon {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
}

.logo-text h1 {
  font-size: 17px;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.25;
  letter-spacing: 0.3px;
}

.logo-text h1 span { color: var(--primary); }

.logo-text p {
  font-size: 11px;
  color: var(--text-mid);
  margin-top: 3px;
  font-style: italic;
}

.logo-tagline {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 2px 10px;
  border-radius: 20px;
  margin-top: 5px;
  display: inline-block;
  letter-spacing: 0.5px;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-phone .phone-icon {
  width: 42px;
  height: 42px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  flex-shrink: 0;
}

.header-phone .phone-info small { color: var(--text-light); font-size: 11px; }
.header-phone .phone-info strong { display: block; color: var(--secondary); font-size: 15px; }

.btn-quote {
  background: var(--primary);
  color: white;
  padding: 10px 22px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 13px;
  border: 2px solid var(--primary);
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  display: inline-block;
}

.btn-quote:hover {
  background: transparent;
  color: var(--primary);
}

/* ===========================
   NAVIGATION
   =========================== */
nav {
  background: var(--secondary);
}

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

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 14px 18px;
  color: rgba(255,255,255,0.9);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-menu > li > a:hover,
.nav-menu > li.active > a {
  color: var(--primary);
  background: rgba(255,255,255,0.05);
}

.nav-menu > li > a i { font-size: 10px; transition: var(--transition); }
.nav-menu > li:hover > a i { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--white);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  border-top: 3px solid var(--primary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 999;
}

.nav-menu > li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 10px 20px;
  color: var(--text-dark);
  font-size: 13px;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.dropdown li:last-child a { border-bottom: none; }

.dropdown li a:hover {
  background: var(--accent);
  color: var(--primary);
  padding-left: 28px;
}

/* Mega dropdown */
.mega-dropdown {
  left: 0;
  min-width: 650px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 20px;
  gap: 10px;
}

.mega-col h4 {
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 8px;
}

.mega-col a {
  display: block;
  padding: 6px 0;
  color: var(--text-dark);
  font-size: 13px;
  border-bottom: none !important;
  transition: var(--transition);
}

.mega-col a:hover { color: var(--primary); padding-left: 8px; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  color: white;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

/* ===========================
   CONTAINER
   =========================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===========================
   HERO SLIDER
   =========================== */
.hero {
  position: relative;
  overflow: hidden;
  height: 540px;
  background: var(--secondary);
}

.slides {
  display: flex;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  flex-shrink: 0;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45);
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  width: 90%;
  max-width: 800px;
  animation: fadeUp 0.8s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translate(-50%, -40%); }
  to   { opacity: 1; transform: translate(-50%, -50%); }
}

.slide-content .badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.slide-content h2 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.slide-content h2 span { color: var(--primary); }

.slide-content p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 28px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.slide-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  background: var(--primary);
  color: white;
  padding: 13px 30px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  border: 2px solid var(--primary);
  transition: var(--transition);
  display: inline-block;
}

.btn-primary:hover { background: transparent; color: white; }

.btn-outline {
  background: transparent;
  color: white;
  padding: 13px 30px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  border: 2px solid rgba(255,255,255,0.7);
  transition: var(--transition);
  display: inline-block;
}

.btn-outline:hover { background: white; color: var(--secondary); border-color: white; }

.hero-prev, .hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.4);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: var(--transition);
  z-index: 10;
  backdrop-filter: blur(4px);
}

.hero-prev { left: 20px; }
.hero-next { right: 20px; }

.hero-prev:hover, .hero-next:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.hero-dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

/* ===========================
   SECTION STYLES
   =========================== */
section { padding: 70px 0; }

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header .sub-title {
  display: inline-block;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 14px;
  line-height: 1.25;
}

.section-header h2 span { color: var(--primary); }

.section-header p {
  color: var(--text-mid);
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto;
}

.divider {
  width: 60px;
  height: 4px;
  background: var(--primary);
  margin: 14px auto 0;
  border-radius: 2px;
  position: relative;
}

.divider::after {
  content: '';
  position: absolute;
  left: 70px;
  top: 0;
  width: 20px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  opacity: 0.4;
}

/* ===========================
   STATS BAR
   =========================== */
.stats-bar {
  background: var(--primary);
  padding: 30px 0;
}

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

.stat-item { color: white; }

.stat-item .num {
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  display: block;
}

.stat-item .label {
  font-size: 13px;
  opacity: 0.9;
  margin-top: 5px;
  letter-spacing: 0.5px;
}

.stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.3);
  align-self: stretch;
  margin: 10px 0;
}

/* ===========================
   SERVICES
   =========================== */
.services { background: var(--accent); }

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

.service-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  transition: var(--transition);
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.service-card:hover .service-icon { background: var(--primary); }
.service-card:hover .service-icon i { color: white; }

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

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.service-body { padding: 24px; }

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--accent);
  border: 2px solid var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: var(--transition);
}

.service-icon i {
  font-size: 24px;
  color: var(--primary);
  transition: var(--transition);
}

.service-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 10px;
}

.service-body p {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-link {
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.service-link:hover { gap: 12px; }

/* ===========================
   ABOUT
   =========================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-imgs {
  position: relative;
  height: 450px;
}

.about-img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 78%;
  height: 85%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.about-img-main img { width: 100%; height: 100%; object-fit: cover; }

.about-img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: 55%;
  border-radius: 8px;
  overflow: hidden;
  border: 5px solid white;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.about-img-secondary img { width: 100%; height: 100%; object-fit: cover; }

.about-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(232,104,26,0.4);
  z-index: 2;
  min-width: 120px;
}

.about-badge .years {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}

.about-badge span { font-size: 11px; opacity: 0.9; display: block; }

.about-content .sub-title {
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

.about-content h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.3;
  margin-bottom: 16px;
}

.about-content h2 span { color: var(--primary); }

.about-content p { color: var(--text-mid); margin-bottom: 14px; font-size: 14.5px; }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
}

.feat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark);
}

.feat-item i {
  color: var(--primary);
  font-size: 14px;
  flex-shrink: 0;
}

/* ===========================
   PRODUCTS SECTION
   =========================== */
.products { background: var(--secondary); }

.products .section-header h2 { color: white; }
.products .section-header p { color: rgba(255,255,255,0.7); }

.products-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 9px 22px;
  border-radius: 25px;
  border: 2px solid rgba(255,255,255,0.3);
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

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

.product-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

.product-card:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-4px);
}

.product-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 14px;
}

.product-card h4 {
  color: white;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.product-card p {
  color: rgba(255,255,255,0.65);
  font-size: 12px;
  line-height: 1.5;
}

/* ===========================
   GALLERY / PROJECTS
   =========================== */
.gallery { background: var(--accent); }

.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 7px 20px;
  border-radius: 25px;
  border: 2px solid var(--border);
  background: white;
  color: var(--text-mid);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1;
  cursor: pointer;
}

.gallery-item.wide { grid-column: span 2; aspect-ratio: 2/1; }
.gallery-item.tall { grid-row: span 2; aspect-ratio: 1/2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,43,74,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay i { color: white; font-size: 32px; }

.gallery-load-more {
  text-align: center;
  margin-top: 36px;
}

/* ===========================
   WHY CHOOSE US
   =========================== */
.why-us {
  background: white;
  position: relative;
  overflow: hidden;
}

.why-us::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: var(--accent);
  z-index: 0;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.why-img {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  height: 480px;
}

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

.why-items { display: flex; flex-direction: column; gap: 24px; }

.why-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.why-item-icon {
  width: 54px;
  height: 54px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-item-icon i { color: white; font-size: 22px; }

.why-item-text h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 5px;
}

.why-item-text p { color: var(--text-mid); font-size: 13.5px; }

/* ===========================
   CLIENTS
   =========================== */
.clients { background: var(--accent); }

.clients-track {
  overflow: hidden;
  position: relative;
}

.clients-track::before,
.clients-track::after {
  content: '';
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
}

.clients-track::before { left: 0; background: linear-gradient(to right, var(--accent), transparent); }
.clients-track::after  { right: 0; background: linear-gradient(to left, var(--accent), transparent); }

.clients-inner {
  display: flex;
  gap: 40px;
  animation: marquee 20s linear infinite;
  width: max-content;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.clients-inner:hover { animation-play-state: paused; }

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  min-width: 150px;
  background: white;
  border-radius: 8px;
  padding: 14px 24px;
  box-shadow: 0 2px 10px var(--shadow);
  font-size: 15px;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: 0.5px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: center;
}

.client-logo:hover { border-color: var(--primary); color: var(--primary); }

/* ===========================
   TESTIMONIALS
   =========================== */
.testimonials { background: var(--secondary); padding: 70px 0; }

.testimonials .section-header h2 { color: white; }
.testimonials .section-header p { color: rgba(255,255,255,0.7); }

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

.testimonial-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 28px;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 60px;
  color: var(--primary);
  line-height: 1;
  font-family: serif;
  opacity: 0.5;
}

.stars { color: #FFC107; font-size: 14px; margin-bottom: 14px; }

.testimonial-card p {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.author-info strong { color: white; display: block; font-size: 14px; }
.author-info span { color: rgba(255,255,255,0.5); font-size: 12px; }

/* ===========================
   CTA SECTION
   =========================== */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.cta-section h2 {
  font-size: 34px;
  font-weight: 800;
  color: white;
  margin-bottom: 14px;
}

.cta-section p {
  color: rgba(255,255,255,0.9);
  font-size: 16px;
  margin-bottom: 28px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn-white {
  background: white;
  color: var(--primary);
  padding: 13px 30px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  border: 2px solid white;
  transition: var(--transition);
  display: inline-block;
}

.btn-white:hover { background: transparent; color: white; }

.btn-outline-white {
  background: transparent;
  color: white;
  padding: 13px 30px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  border: 2px solid rgba(255,255,255,0.7);
  transition: var(--transition);
  display: inline-block;
}

.btn-outline-white:hover { background: white; color: var(--primary); border-color: white; }

/* ===========================
   CONTACT SECTION
   =========================== */
.contact { background: white; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
}

.contact-info h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 14px;
}

.contact-info p {
  color: var(--text-mid);
  font-size: 14px;
  margin-bottom: 28px;
  line-height: 1.7;
}

.contact-cards { display: flex; flex-direction: column; gap: 16px; }

.contact-card {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: var(--accent);
  border-radius: 8px;
  border-left: 4px solid var(--primary);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-icon i { color: white; font-size: 18px; }

.contact-card-text small {
  color: var(--text-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
}

.contact-card-text strong {
  color: var(--secondary);
  font-size: 14px;
  display: block;
  margin-top: 2px;
}

/* Contact Form */
.contact-form-wrap {
  background: var(--accent);
  padding: 36px;
  border-radius: 10px;
}

.contact-form-wrap h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 24px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }

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

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid var(--border);
  border-radius: 5px;
  font-size: 14px;
  color: var(--text-dark);
  background: white;
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232,104,26,0.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit { margin-top: 8px; }

.form-submit .btn-primary {
  width: 100%;
  text-align: center;
  padding: 14px;
  font-size: 15px;
  cursor: pointer;
  border: none;
}

/* ===========================
   FOOTER
   =========================== */
footer {
  background: #0e1a2e;
  color: rgba(255,255,255,0.75);
}

.footer-top { padding: 60px 0 40px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 40px;
}

.footer-col h4 {
  color: white;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.footer-about p {
  font-size: 13.5px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.footer-logo-text strong {
  display: block;
  color: white;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}

.footer-logo-text span {
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  transition: var(--transition);
}

.social-links a:hover { background: var(--primary); border-color: var(--primary); color: white; }

.footer-links li { margin-bottom: 10px; }

.footer-links li a {
  color: rgba(255,255,255,0.65);
  font-size: 13.5px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links li a::before {
  content: '\203A';
  color: var(--primary);
  font-size: 16px;
  font-weight: 700;
}

.footer-links li a:hover { color: var(--primary); padding-left: 4px; }

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.footer-contact-item i {
  color: var(--primary);
  margin-top: 2px;
  font-size: 15px;
  flex-shrink: 0;
}

.footer-contact-item span {
  font-size: 13.5px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

.footer-bottom {
  background: rgba(0,0,0,0.3);
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p { font-size: 13px; }
.footer-bottom a { color: var(--primary); }

.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.6); font-size: 12.5px; transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--primary); }

/* ===========================
   LIGHTBOX
   =========================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.lightbox.active { opacity: 1; visibility: visible; }

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 6px;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: white;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: var(--transition);
  background: none;
  border: none;
}

.lightbox-close:hover { opacity: 1; color: var(--primary); }

/* ===========================
   SCROLL TO TOP
   =========================== */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 4px 15px rgba(232,104,26,0.4);
}

.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--primary-dark); }

/* ===========================
   WHATSAPP FLOAT
   =========================== */
.whatsapp-float {
  position: fixed;
  bottom: 80px;
  right: 28px;
  width: 50px;
  height: 50px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 26px;
  box-shadow: 0 4px 15px rgba(37,211,102,0.4);
  z-index: 998;
  animation: pulse-green 2s infinite;
  transition: var(--transition);
}

.whatsapp-float:hover { transform: scale(1.1); background: #1db954; }

@keyframes pulse-green {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70%  { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ===========================
   PAGE HERO (inner pages)
   =========================== */
.page-hero {
  background: linear-gradient(135deg, var(--secondary) 60%, var(--secondary-light));
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
}

.page-hero h1 { color: white; font-size: 32px; font-weight: 800; margin-bottom: 10px; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.65);
  font-size: 13px;
}

.breadcrumb a { color: var(--primary); }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* ===========================
   ANIMATIONS
   =========================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .mega-dropdown { min-width: 500px; grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-slider { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .top-bar .container { flex-direction: column; gap: 4px; text-align: center; }
  .top-bar-left, .top-bar-right { justify-content: center; }

  .header-inner { flex-wrap: wrap; }
  .header-cta { width: 100%; justify-content: flex-end; }

  .logo-text h1 { font-size: 14px; }

  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--secondary);
    padding: 10px 0;
  }

  .nav-menu.open { display: flex; }
  .nav-toggle { display: block; }

  .nav-menu > li > a { padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,0.08); }

  .dropdown, .mega-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
    grid-template-columns: 1fr;
    min-width: auto;
    background: rgba(0,0,0,0.2);
    border-top: none;
  }

  .nav-menu > li.open .dropdown,
  .nav-menu > li.open .mega-dropdown { display: block; }

  .mega-col { margin-bottom: 10px; }

  .hero { height: 400px; }
  .slide-content h2 { font-size: 26px; }
  .slide-content p { font-size: 14px; }

  .about-grid, .contact-grid, .why-grid { grid-template-columns: 1fr; }
  .about-imgs { height: 300px; }
  .why-img { height: 280px; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 1; aspect-ratio: 1; }
  .gallery-item.tall { grid-row: span 1; aspect-ratio: 1; }

  .services-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }
  .testimonials-slider { grid-template-columns: 1fr; }

  section { padding: 50px 0; }
  .section-header h2 { font-size: 26px; }
}

@media (max-width: 480px) {
  .hero { height: 320px; }
  .slide-content h2 { font-size: 22px; }
  .products-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .hero-prev, .hero-next { width: 36px; height: 36px; font-size: 14px; }
}
