/*
Theme Name: Tristone
Description: A modern, premium construction & restoration theme modeled after AZ Construct.
Version: 2.0
Author: Deepmind
*/

/* ================================================
   CSS RESET & VARIABLES
   ================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --primary: #3B66BF;
  --primary-hover: #2E529E;
  --primary-light: rgba(59, 102, 191, 0.15);
  --dark: #1a1a1a;
  --dark-light: #2a2a2a;
  --dark-medium: #333;
  --gray: #666;
  --gray-light: #999;
  --light: #f2f2f2;
  --off-white: #f8f8f8;
  --white: #ffffff;
  --text: #555;
  --text-dark: #333;

  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  --transition: all 0.35s ease;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
  --radius: 8px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--white);
  margin: 0;
  padding: 0;
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  font-weight: 800;
  margin-top: 0;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

p {
  margin-top: 0;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-hover);
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}


/* ================================================
   HEADER
   ================================================ */
.site-header {
  background: var(--white);
  padding: 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 80px;
}

/* Logo */
.site-logo {
  justify-self: start;
}

.site-logo a {
  display: flex;
  align-items: center;
}

.site-logo img, .header-logo {
  max-height: 50px;
  width: auto;
}

/* Navigation */
.site-nav {
  justify-self: center;
}

.site-nav ul {
  display: flex;
  gap: 0.2rem;
  align-items: center;
}

.site-nav li {
  position: relative;
}

.site-nav a {
  color: var(--text-dark);
  font-weight: 600;
  text-transform: uppercase;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  padding: 0.6rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  position: relative;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 3px;
  background: var(--primary);
  transition: var(--transition);
}

.site-nav a:hover {
  color: var(--primary);
}

.site-nav a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* Services Nav Item */
.services-nav-item {
  cursor: pointer;
}

.services-arrow {
  font-size: 0.6rem;
  margin-left: 2px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.services-nav-item.active .services-arrow {
  transform: rotate(180deg);
}

/* Services Sub-Header */
.services-subheader {
  background: var(--primary);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0;
}

.services-subheader.open {
  max-height: 60px;
  padding: 0.7rem 0;
}

.subheader-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.subheader-links li a {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  transition: background 0.25s ease, color 0.25s ease;
  display: block;
  white-space: nowrap;
}

.subheader-links li a:hover {
  background: rgba(255,255,255,0.2);
}

.subheader-links li a::after {
  display: none;
}

@media (max-width: 768px) {
  .subheader-links {
    flex-wrap: wrap;
    gap: 0.3rem;
  }
  .services-subheader.open {
    max-height: 120px;
  }
  .subheader-links li a {
    font-size: 0.7rem;
    padding: 0.3rem 0.7rem;
  }
}

/* Header CTA */
.header-cta {
  justify-self: end;
}

.header-cta .btn-header {
  background: var(--primary);
  color: var(--white);
  padding: 0.65rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.header-cta .btn-header:hover {
  background: var(--primary-hover);
  transform: scale(1.04);
}

@media (max-width: 1024px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    gap: 1rem;
  }

  .site-nav {
    display: none;
  }

  .header-cta {
    display: none;
  }
}


/* ================================================
   BUTTONS
   ================================================ */
.btn {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border-radius: 4px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
}

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 102, 191, 0.35);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
  border: 2px solid var(--dark);
}

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

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

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

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

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


/* ================================================
   HERO SECTION
   ================================================ */
.hero {
  position: relative;
  background-color: var(--dark);
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&q=80&w=2000');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  text-align: center;
  padding: 10rem 0 12rem;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero h1 {
  color: var(--white);
  font-size: 4.2rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  line-height: 1.1;
}

.hero p {
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

.hero .btn-primary {
  font-size: 1rem;
  padding: 1rem 3rem;
}

@media (max-width: 768px) {
  .hero {
    padding: 6rem 0 8rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }
}


/* ================================================
   SCROLLING MARQUEE / TICKER
   ================================================ */
.marquee-bar {
  background: var(--dark);
  overflow: hidden;
  padding: 0.9rem 0;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marqueeScroll 20s linear infinite;
}

.marquee-track span {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--white);
  white-space: nowrap;
  padding: 0 1.5rem;
}

.marquee-track .sep {
  color: var(--primary);
  font-size: 1.2rem;
  padding: 0 0.5rem;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}


/* ================================================
   SECTION UTILITY
   ================================================ */
.section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.section-light {
  background: var(--white);
}

.section-gray {
  background: var(--light);
}

.section-dark {
  background: var(--dark);
  color: var(--white);
}

.section-watermark {
  position: absolute;
  top: 50%;
  right: -2%;
  transform: translateY(-50%);
  font-family: var(--font-heading);
  font-size: 12rem;
  font-weight: 900;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.06);
  pointer-events: none;
  z-index: 0;
  letter-spacing: 0.1em;
  line-height: 1;
}

.section-dark .section-watermark {
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

.section-header h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header p {
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--gray);
}

.section-dark .section-header p,
.process-section .section-header p {
  color: rgba(255, 255, 255, 0.9);
}

.section-dark .section-header h2 {
  color: var(--white);
}


/* ================================================
   ABOUT SECTION
   ================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-image-wrapper {
  position: relative;
}

.about-image-wrapper img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 12px 0 12px 0;
  box-shadow: var(--shadow-lg);
}

.about-image-wrapper::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  width: 100px;
  height: 100px;
  border-top: 4px solid var(--primary);
  border-left: 4px solid var(--primary);
  z-index: -1;
}

.about-text h2 {
  font-size: 2.6rem;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.about-text p {
  margin-bottom: 2rem;
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image-wrapper img {
    height: 350px;
  }

  .about-text h2 {
    font-size: 2rem;
  }
}


/* ================================================
   SERVICES SECTION
   ================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

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

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

.service-card-body {
  padding: 1.8rem 1.5rem;
}

.service-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
  letter-spacing: 1px;
}

.service-card-body p {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-card-body .btn-dark {
  padding: 0.6rem 1.6rem;
  font-size: 0.78rem;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}


/* ================================================
   PROCESS SECTION
   ================================================ */
.process-section {
  background:
    linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&q=80&w=2000');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.process-step {
  text-align: center;
  padding: 2.5rem 2rem;
  position: relative;
}

/* Connecting line between steps */
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -1rem;
  width: calc(2rem);
  height: 2px;
  background: rgba(255, 255, 255, 0.25);
}

.process-icon {
  width: 80px;
  height: 80px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
}

.process-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.12);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.process-step h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.process-step p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }
}


/* ================================================
   CTA BANNER
   ================================================ */
.cta-banner {
  background: var(--primary);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
  position: relative;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 2.4rem;
}

.cta-banner p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta-banner .btn-outline-white {
  font-size: 1rem;
  padding: 0.9rem 2.5rem;
}


/* ================================================
   STATS BAR
   ================================================ */
.stats-bar {
  background: var(--dark);
  padding: 3.5rem 0;
}

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

.stat-item h4 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-size: 3.2rem;
  font-weight: 900;
  margin: 0 0 0.3rem;
  line-height: 1;
}

.stat-item p {
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin: 0;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}


/* ================================================
   FOOTER
   ================================================ */
.site-footer {
  background: #111;
  color: #aaa;
  padding: 5rem 0 0;
}

.footer-upper {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #2a2a2a;
}

.footer-brand .footer-image-logo {
  max-height: 50px;
  width: auto;
  margin-bottom: 1rem;
  display: block;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.8rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 0.8rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary);
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  color: #aaa;
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1rem;
  align-items: center;
}

.footer-contact-item a {
  color: #aaa;
  transition: var(--transition);
}

.footer-contact-item a:hover {
  color: var(--primary);
}

.footer-contact-item .icon {
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.footer-contact-item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-bottom {
  padding: 1.5rem 0 4rem;
  text-align: center;
  font-size: 0.85rem;
  color: #666;
}

@media (max-width: 768px) {
  .footer-upper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
}


/* ================================================
   ANIMATIONS & SCROLL REVEAL
   ================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.animate-in {
  animation: fadeInUp 0.8s ease forwards;
}

.hero-content {
  animation: fadeInUp 1s ease forwards;
}

/* Stagger children in hero */
.hero-subtitle {
  animation: fadeInUp 0.8s ease forwards 0.2s;
  opacity: 0;
}

.hero h1 {
  animation: fadeInUp 0.8s ease forwards 0.4s;
  opacity: 0;
}

.hero p {
  animation: fadeInUp 0.8s ease forwards 0.6s;
  opacity: 0;
}

.hero .btn {
  animation: fadeInUp 0.8s ease forwards 0.8s;
  opacity: 0;
}


/* ================================================
   AUDIENCE GRID (Who we serve)
   ================================================ */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.audience-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

.audience-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--primary);
}

.audience-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.3rem;
  color: var(--primary);
  transition: var(--transition);
}

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

.audience-card h3 {
  font-size: 1rem;
  margin-bottom: 0;
  letter-spacing: 0.3px;
}

@media (max-width: 768px) {
  .audience-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .audience-grid { grid-template-columns: 1fr; }
}


/* ================================================
   CHECK LIST (styled service lists)
   ================================================ */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.check-list li {
  padding: 0.55rem 0;
  font-size: 0.95rem;
  color: var(--text-dark);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  line-height: 1.6;
}

.check-list li:last-child {
  border-bottom: none;
}

.check-list li .fa-check {
  color: var(--primary);
  font-size: 0.8rem;
  margin-top: 0.35rem;
  flex-shrink: 0;
}


/* ================================================
   CERTIFICATIONS GRID
   ================================================ */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.cert-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem 1.2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.cert-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.cert-item i {
  font-size: 2rem;
  color: var(--primary);
}

.cert-item span {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .cert-grid { grid-template-columns: 1fr; }
}


/* ================================================
   CONTACT CARDS GRID
   ================================================ */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.contact-card-icon {
  width: 70px;
  height: 70px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  color: var(--white);
  transition: var(--transition);
}

.contact-card:hover .contact-card-icon {
  transform: scale(1.1);
}

.contact-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.contact-card p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.contact-card a {
  color: var(--primary);
  font-weight: 600;
  transition: var(--transition);
}

.contact-card a:hover {
  color: var(--primary-hover);
}

@media (max-width: 768px) {
  .contact-cards-grid { grid-template-columns: 1fr; }
}


/* ================================================
   CONTACT FORM
   ================================================ */
.form-wrapper {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: #fafafa;
  transition: var(--transition);
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(59, 102, 191, 0.12);
}

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

.btn-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  cursor: pointer;
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .form-wrapper { padding: 2rem 1.5rem; }
}


/* ================================================
   PAGE HERO (Inner Pages)
   ================================================ */
.page-hero {
  position: relative;
  background:
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&q=80&w=2000');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  text-align: center;
  padding: 7rem 0 8rem;
  overflow: hidden;
}

.page-hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-hero .hero-subtitle {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.85);
  animation: fadeInUp 0.8s ease forwards 0.2s;
  opacity: 0;
}

.page-hero h1 {
  color: var(--white);
  font-size: 3.2rem;
  margin-bottom: 1rem;
  line-height: 1.15;
  animation: fadeInUp 0.8s ease forwards 0.4s;
  opacity: 0;
}

.page-hero-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  animation: fadeInUp 0.8s ease forwards 0.6s;
  opacity: 0;
}

@media (max-width: 768px) {
  .page-hero { padding: 5rem 0 6rem; }
  .page-hero h1 { font-size: 2.2rem; }
}


/* Section Label (above heading) */
.section-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: 0.5rem;
}


/* ================================================
   BLOG GRID
   ================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.blog-card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.blog-card-image-placeholder {
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-image-placeholder i {
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.4;
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
  font-size: 0.78rem;
}

.blog-card-date {
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.blog-card-date i {
  color: var(--primary);
  font-size: 0.75rem;
}

.blog-card-cat {
  background: var(--primary);
  color: var(--white);
  padding: 0.15rem 0.6rem;
  border-radius: 3px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.blog-card-body h3 a {
  color: var(--text-dark);
  transition: var(--transition);
}

.blog-card-body h3 a:hover {
  color: var(--primary);
}

.blog-card-body p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.blog-read-more {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  transition: var(--transition);
}

.blog-read-more:hover {
  color: var(--primary-hover);
  letter-spacing: 1px;
}


/* Blog Pagination */
.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}

.blog-pagination a,
.blog-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 0.8rem;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
}

.blog-pagination a {
  background: var(--white);
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}

.blog-pagination a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.blog-pagination .current {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(59, 102, 191, 0.3);
}


/* Blog Empty State */
.blog-empty {
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
  z-index: 1;
}

.blog-empty i {
  font-size: 3.5rem;
  color: var(--primary);
  opacity: 0.3;
  margin-bottom: 1.5rem;
}

.blog-empty h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.blog-empty p {
  color: var(--gray);
  max-width: 500px;
  margin: 0 auto;
}


@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
}


/* ================================================
   ABOUT GRID REVERSE (image right, text left)
   ================================================ */
.about-grid-reverse {
  direction: rtl;
}

.about-grid-reverse > * {
  direction: ltr;
}

.about-grid-reverse .about-image-wrapper::before {
  left: auto;
  right: -15px;
  border-left: none;
  border-right: 4px solid var(--primary);
}


/* ================================================
   VALUES GRID
   ================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.value-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
}

.value-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-5px);
  border-color: var(--primary);
}

.value-icon {
  width: 65px;
  height: 65px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.4rem;
  color: var(--white);
  transition: var(--transition);
}

.value-card:hover .value-icon {
  transform: scale(1.1);
}

.value-card h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  letter-spacing: 0.5px;
}

.value-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .values-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .values-grid { grid-template-columns: 1fr; }
}


/* ================================================
   FACTORS GRID (Numbered list)
   ================================================ */
.factors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.factor-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.factor-item::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.factor-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.factor-item:hover::before {
  transform: scaleX(1);
}

.factor-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.8rem;
  opacity: 0.25;
}

.factor-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.factor-item p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 0;
}


/* ================================================
   TESTIMONIAL BLOCK
   ================================================ */
.testimonial-block {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.testimonial-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  opacity: 0.4;
}

.testimonial-block blockquote {
  margin: 0 0 1.5rem;
  padding: 0;
  border: none;
}

.testimonial-block blockquote p {
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.9;
  color: var(--text-dark);
}

.testimonial-block cite {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 1px;
}


/* ================================================
   UTILITY
   ================================================ */
.fa-phone-alt,
.fa-phone {
  transform: scaleX(-1);
  display: inline-block;
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary) !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: 0.5rem !important;
}

.mb-2 {
  margin-bottom: 1rem !important;
}

.mb-3 {
  margin-bottom: 1.5rem !important;
}

.mb-4 {
  margin-bottom: 2rem !important;
}