/* ============================================================
   S&S Engineering Services - Global Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@700;800&display=swap');

/* ---- CSS Variables ---- */
:root {
  --primary: #1a2e5a;
  --primary-light: #2a4080;
  --accent: #e63946;
  --accent-light: #ff6b6b;
  --gold: #c9a84c;
  --white: #ffffff;
  --off-white: #f8f9fc;
  --gray-100: #f1f3f7;
  --gray-200: #e2e6ef;
  --gray-400: #9ba3b8;
  --gray-600: #4a5568;
  --dark: #0d1b3e;
  --text: #222b45;
  --text-light: #64748b;
  --shadow: 0 4px 24px rgba(26, 46, 90, 0.10);
  --shadow-lg: 0 12px 48px rgba(26, 46, 90, 0.16);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ---- Typography ---- */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}

p {
  color: var(--text-light);
}

/* ---- Utility Classes ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad {
  padding: 90px 0;
}

.section-pad-sm {
  padding: 60px 0;
}

.text-center {
  text-align: center;
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.section-title {
  color: var(--primary);
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 48px;
}

.section-label {
  display: inline-block;
  background: rgba(230, 57, 70, 0.1);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(230, 57, 70, 0.35);
}

.btn-primary:hover {
  background: #c0313e;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(230, 57, 70, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
}

.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
}

/* ============================================================
   HEADER
   ============================================================ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
  padding: 0 40px;
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
}

.header-nav {
  display: flex;
  gap: 36px;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}

.header-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  padding: 8px 0;
  position: relative;
  transition: var(--transition);
  text-transform: capitalize;
  letter-spacing: 0.2px;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--primary);
}

.header-nav a:hover::after,
.header-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo img {
  height: 64px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.header-logo:hover img {
  transform: scale(1.03);
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-end;
  padding-left: 20px;
  border-left: 1px solid var(--gray-200);
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary);
}

.header-phone span {
  font-size: 1.2rem;
  color: var(--accent);
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #25D366, #1eb455);
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn svg {
  width: 18px;
  height: 18px;
  fill: white;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 90px;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  flex-direction: column;
  padding: 16px 24px 24px;
  gap: 4px;
  z-index: 999;
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  color: var(--text);
  font-weight: 600;
  border-bottom: 1px solid var(--gray-200);
  font-size: 1rem;
}

.mobile-nav.open {
  display: flex;
}

/* Page top spacing */
.page-top {
  padding-top: 90px;
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.slide.active {
  opacity: 1;
}

.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 27, 62, 0.80) 0%, rgba(13, 27, 62, 0.40) 100%);
}

.slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 80px;
  max-width: 750px;
}

.slide-label {
  background: var(--accent);
  color: white;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  animation: slideUp 0.8s ease 0.2s both;
}

.slide-content h1 {
  color: white;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-family: 'Playfair Display', serif;
  margin-bottom: 18px;
  animation: slideUp 0.8s ease 0.4s both;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.slide-content p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.2rem;
  margin-bottom: 36px;
  animation: slideUp 0.8s ease 0.6s both;
}

.slide-content .btn {
  animation: slideUp 0.8s ease 0.8s both;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slider-controls {
  position: absolute;
  bottom: 36px;
  left: 80px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: white;
  width: 28px;
  border-radius: 5px;
}

/* Stats Section */
/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
  background: var(--primary);
  padding: 64px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  text-align: center;
}

.stat-item {
  padding: 32px;
}

.stat-item:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  font-weight: 500;
}

/* ============================================================
   ABOUT SNIPPET
   ============================================================ */
.about-snippet {
  background: var(--off-white);
}

.about-snippet-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}

.about-snippet-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge {
  background: var(--accent);
  color: white;
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 20px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(230, 57, 70, 0.1);
  color: var(--accent);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.about-feature-text h4 {
  color: var(--primary);
  margin-bottom: 4px;
  font-size: 1rem;
}

.about-feature-text p {
  font-size: 0.9rem;
}

/* ============================================================
   SERVICES SECTION (Home)
   ============================================================ */
.services-home {
  background: var(--white);
}

.service-badges-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 40px;
}

.service-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--off-white);
  border: 2px solid var(--gray-200);
  padding: 14px 24px;
  border-radius: 50px;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: default;
}

.service-badge:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.service-badge-icon {
  font-size: 1.3rem;
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-page {}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  margin-bottom: 0;
  min-height: 420px;
}

.service-row:nth-child(even) .service-row-img {
  order: -1;
}

.service-row-img {
  overflow: hidden;
  position: relative;
}

.service-row-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-row:hover .service-row-img img {
  transform: scale(1.05);
}

.service-row-content {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}

.service-row:nth-child(even) .service-row-content {
  background: var(--off-white);
}

.service-row-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.service-row-content h2 {
  color: var(--primary);
  margin-bottom: 14px;
  font-size: 1.8rem;
}

.service-row-content>p {
  margin-bottom: 24px;
}

.service-points {
  margin-top: 8px;
}

.service-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--text-light);
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.95rem;
}

.service-points li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 800;
  flex-shrink: 0;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  color: white;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 36px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-section {
  background: var(--off-white);
}

.why-card {
  background: white;
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.why-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: white;
  font-size: 1.8rem;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-card h3 {
  color: var(--primary);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

/* ============================================================
   PROJECTS PAGE
   ============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  background: white;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.project-img {
  height: 220px;
  overflow: hidden;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img img {
  transform: scale(1.08);
}

.project-info {
  padding: 24px;
}

.project-category {
  background: rgba(230, 57, 70, 0.1);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 10px;
}

.project-info h3 {
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.project-info p {
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.project-meta {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--gray-400);
}

.project-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
  padding: 120px 0 80px;
  text-align: center;
}

.about-hero h1 {
  color: white;
  margin-bottom: 16px;
}

.about-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
}

.about-story {}

.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 40px;
}

.timeline-content-left {
  text-align: right;
}

.timeline-content-right {}

.timeline-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  z-index: 1;
  position: relative;
}

.timeline-content h3 {
  color: var(--primary);
  margin-bottom: 6px;
}

.timeline-content p {
  font-size: 0.9rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.team-img {
  height: 280px;
  overflow: hidden;
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.team-card:hover .team-img img {
  transform: scale(1.06);
}

.team-info {
  padding: 24px 20px;
}

.team-info h3 {
  color: var(--primary);
  margin-bottom: 6px;
}

.team-role {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.team-info p {
  font-size: 0.88rem;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
  padding: 120px 0 80px;
  text-align: center;
}

.contact-hero h1 {
  color: white;
  margin-bottom: 16px;
}

.contact-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
}

.contact-info-card {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  color: white;
  height: fit-content;
}

.contact-info-card h3 {
  color: white;
  margin-bottom: 8px;
}

.contact-info-card>p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 40px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-detail-text span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  display: block;
  margin-bottom: 4px;
}

.contact-detail-text strong {
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.contact-form-wrap {
  background: white;
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow);
}

.contact-form-wrap h3 {
  color: var(--primary);
  margin-bottom: 8px;
}

.contact-form-wrap>p {
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--off-white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(26, 46, 90, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.map-section {
  background: var(--off-white);
  padding: 0;
}

.map-section iframe {
  width: 100%;
  height: 420px;
  border: none;
  display: block;
  filter: grayscale(20%);
}

/* ============================================================
   PAGE HERO (for inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
  padding: 120px 0 80px;
  text-align: center;
}

.page-hero h1 {
  color: white;
  margin-bottom: 16px;
  font-family: 'Playfair Display', serif;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--dark);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand .logo-wrap {
  margin-bottom: 20px;
}

.footer-brand img {
  height: 55px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-col h4 {
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-contact-item span:first-child {
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item span:last-child {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  color: white;
}

/* ============================================================
   ADMIN PANEL
   ============================================================ */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 260px;
  background: var(--dark);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  padding: 0;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  overflow-y: auto;
  z-index: 100;
}

.admin-logo {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-logo img {
  height: 40px;
  filter: brightness(0) invert(1);
}

.admin-logo span {
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
}

.admin-nav {
  flex: 1;
  padding: 20px 0;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.admin-nav-item:hover {
  color: white;
  background: rgba(255, 255, 255, 0.06);
}

.admin-nav-item.active {
  color: white;
  background: rgba(230, 57, 70, 0.15);
  border-left-color: var(--accent);
}

.admin-nav-item .nav-icon {
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}

.admin-nav-section {
  padding: 16px 20px 8px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
}

.admin-main {
  margin-left: 260px;
  flex: 1;
  background: var(--gray-100);
  min-height: 100vh;
}

.admin-topbar {
  background: white;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 50;
}

.admin-topbar h2 {
  font-size: 1.2rem;
  color: var(--primary);
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.admin-content {
  padding: 32px;
}

.admin-section {
  display: none;
}

.admin-section.active {
  display: block;
}

.admin-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.admin-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.admin-card-header h3 {
  color: var(--primary);
  font-size: 1.1rem;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.admin-stat {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.admin-stat-icon.blue {
  background: rgba(26, 46, 90, 0.1);
}

.admin-stat-icon.red {
  background: rgba(230, 57, 70, 0.1);
}

.admin-stat-icon.green {
  background: rgba(37, 211, 102, 0.12);
}

.admin-stat-icon.gold {
  background: rgba(201, 168, 76, 0.12);
}

.admin-stat-text h4 {
  font-size: 1.7rem;
  color: var(--primary);
  font-weight: 800;
}

.admin-stat-text p {
  color: var(--text-light);
  font-size: 0.85rem;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  background: var(--off-white);
  padding: 12px 16px;
  text-align: left;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.9rem;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tr:hover td {
  background: var(--off-white);
}

.admin-table img {
  width: 60px;
  height: 45px;
  object-fit: cover;
  border-radius: 8px;
}

.badge-status {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
}

.badge-status.new {
  background: rgba(37, 211, 102, 0.12);
  color: #0d9654;
}

.badge-status.read {
  background: rgba(100, 116, 139, 0.12);
  color: var(--gray-600);
}

.btn-sm {
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-danger {
  background: rgba(230, 57, 70, 0.1);
  color: var(--accent);
}

.btn-danger:hover {
  background: var(--accent);
  color: white;
}

.btn-edit {
  background: rgba(26, 46, 90, 0.1);
  color: var(--primary);
}

.btn-edit:hover {
  background: var(--primary);
  color: white;
}

.btn-view {
  background: rgba(37, 211, 102, 0.1);
  color: #0d9654;
}

.btn-view:hover {
  background: #0d9654;
  color: white;
}

/* Admin form */
.admin-form {}

.admin-form label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
  margin-bottom: 6px;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  margin-bottom: 16px;
  transition: var(--transition);
  outline: none;
  background: var(--off-white);
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
  border-color: var(--primary);
  background: white;
}

.admin-form textarea {
  min-height: 100px;
  resize: vertical;
}

.admin-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.2);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.modal-header h3 {
  color: var(--primary);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--gray-400);
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--accent);
}

/* Success message */
.success-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #10b981;
  color: white;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.4);
  font-weight: 600;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 10px;
}

.success-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Lead viewer */
.lead-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
  border-left: 4px solid var(--accent);
}

.lead-card h4 {
  color: var(--primary);
  margin-bottom: 4px;
}

.lead-card .lead-meta {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: 8px;
}

.lead-card p {
  font-size: 0.9rem;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .header-inner {
    padding: 0 24px;
    gap: 15px;
    height: 80px;
  }

  .header-nav {
    gap: 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-row-content {
    padding: 40px;
  }
}

@media (max-width: 900px) {

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .service-row {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .service-row:nth-child(even) .service-row-img {
    order: 0;
  }

  .service-row-img {
    height: 280px;
  }

  .admin-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0 16px;
    gap: 12px;
  }

  .header-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .header-logo img {
    height: 45px;
  }

  .whatsapp-btn span {
    display: none;
  }

  .slide-content {
    padding: 0 24px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 24px;
    transform: none;
  }

  .timeline-item {
    grid-template-columns: 48px 1fr !important;
    gap: 16px !important;
    width: 100% !important;
  }

  .timeline-content-left,
  .timeline-content-right {
    display: block !important;
    text-align: left !important;
    grid-column: 2 !important;
    width: 100% !important;
    padding: 0 !important;
  }

  .timeline-dot {
    grid-column: 1 !important;
    margin: 0 !important;
  }

  .admin-sidebar {
    width: 220px;
  }

  .admin-main {
    margin-left: 220px;
  }

  .admin-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .admin-content {
    padding: 20px;
  }
}

@media (max-width: 540px) {
  .hero-slider {
    height: 70vh;
  }

  .slider-controls {
    left: 24px;
  }

  .section-pad {
    padding: 60px 0;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .admin-sidebar {
    transform: translateX(-100%);
  }

  .admin-sidebar.open {
    transform: translateX(0);
  }

  .admin-main {
    margin-left: 0;
  }

  .admin-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   BRANDS SLIDER
   ============================================================ */
.brands-section {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.brands-slider-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.brands-slider-container::before,
.brands-slider-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.brands-slider-container::before {
  left: 0;
  background: linear-gradient(to right, var(--white) 0%, rgba(255, 255, 255, 0) 100%);
}

.brands-slider-container::after {
  right: 0;
  background: linear-gradient(to left, var(--white) 0%, rgba(255, 255, 255, 0) 100%);
}

.brands-track {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  animation: scrollBrands 40s linear infinite;
  padding: 20px 0;
}

.brands-track:hover {
  animation-play-state: paused;
}

.brand-logo-item {
  width: 160px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%) opacity(0.6);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.brand-logo-item:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}

.brand-logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@keyframes scrollBrands {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 40px));
  }
}