/* CSS Variables and Design System */
:root {
  --primary: #e50914;
  --primary-hover: #b80710;
  --primary-rgb: 229, 9, 20;
  --primary-gradient: linear-gradient(135deg, #e50914 0%, #9e060d 100%);
  --primary-gradient-hover: linear-gradient(135deg, #ff1a26 0%, #b80710 100%);
  --dark: #0a0a0a;
  --dark-light: #121212;
  --dark-card: #181818;
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --text-dark: #1e1e1e;
  --text-muted: #999999;
  --text-light: #e0e0e0;
  --border-color: rgba(255, 255, 255, 0.1);
  --border-light: rgba(0, 0, 0, 0.08);
  --font-main: 'Inter', sans-serif;
  --font-title: 'Outfit', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-light: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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

html {
  scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

ul {
  list-style: none;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

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

.btn-primary:hover {
  background: var(--primary-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(229, 9, 20, 0.4);
}

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

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
}

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

.section-title-wrap {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  color: var(--primary);
  font-family: var(--font-title);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 36px;
  text-transform: uppercase;
  margin-bottom: 15px;
  color: inherit;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Header */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.header.sticky {
  position: fixed;
  background-color: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 50px;
  width: auto;
}

.nav-list {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--white);
}

.nav-link.active::after {
  width: 100%;
}

/* Navigation Submenu */
.nav-dropdown-item {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  width: 180px;
  background-color: var(--dark-light);
  border: 1.5px solid var(--border-color);
  border-top: 3px solid var(--primary);
  border-radius: 4px;
  padding: 10px 0;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1010;
  display: flex;
  flex-direction: column;
}

.nav-dropdown li {
  width: 100%;
}

.nav-dropdown a {
  display: block;
  padding: 10px 20px;
  color: var(--text-muted);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.nav-dropdown a:hover, .nav-dropdown a.active {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.05);
  padding-left: 25px;
}

/* Hover behaviors for Desktop */
@media (min-width: 769px) {
  .nav-dropdown-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}

.header-phone {
  background: var(--primary-gradient);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 4px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-phone:hover {
  background: var(--primary-gradient-hover);
  transform: scale(1.03);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
}

/* Page Banner */
.page-banner {
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 180px 0 100px;
  color: var(--white);
  text-align: center;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.95) 100%);
  z-index: 1;
}

.page-banner .container {
  position: relative;
  z-index: 2;
}

.page-banner h1 {
  font-size: 48px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-light);
}

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

/* Hero Section (Slider) */
.hero-slider-section {
  position: relative;
  height: 100vh;
  min-height: 800px;
  overflow: hidden;
  background-color: var(--dark);
}

.hero-swiper {
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.slide-image-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--bg-desktop);
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.6) 50%, rgba(10,10,10,0.95) 100%);
  z-index: 1;
}

.hero-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at 60% 50%, rgba(229,9,20,0.15) 0%, transparent 60%);
  z-index: 2;
  pointer-events: none;
}

.hero-slide .container {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-content {
  max-width: 650px;
}

.hero-subtitle {
  color: var(--primary);
  font-family: var(--font-title);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  display: block;
}

.hero-slide h1 {
  font-size: 64px;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.hero-slide h1 span {
  color: var(--primary);
}

.hero-desc {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-btns {
  display: flex;
  gap: 20px;
}

/* Animations for slide content when active */
.hero-slide .hero-subtitle,
.hero-slide h1,
.hero-slide .hero-desc,
.hero-slide .hero-btns {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide .hero-subtitle {
  transition-delay: 0.1s;
}
.hero-slide h1 {
  transition-delay: 0.3s;
}
.hero-slide .hero-desc {
  transition-delay: 0.5s;
}
.hero-slide .hero-btns {
  transition-delay: 0.7s;
}

/* Swiper Active Slide Animation Trigger */
.swiper-slide-active .hero-subtitle,
.swiper-slide-active h1,
.swiper-slide-active .hero-desc,
.swiper-slide-active .hero-btns {
  opacity: 1;
  transform: translateY(0);
}

/* Swiper navigation custom premium look */
.hero-slider-section .swiper-button-next,
.hero-slider-section .swiper-button-prev {
  color: var(--white);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  backdrop-filter: blur(5px);
  transition: var(--transition);
}

.hero-slider-section .swiper-button-next:hover,
.hero-slider-section .swiper-button-prev:hover {
  background: var(--primary-gradient);
  border-color: transparent;
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(229, 9, 20, 0.4);
}

.hero-slider-section .swiper-button-next::after,
.hero-slider-section .swiper-button-prev::after {
  font-size: 18px;
  font-weight: bold;
}

.hero-slider-section .swiper-pagination-bullet {
  background: var(--white);
  opacity: 0.4;
  width: 10px;
  height: 10px;
  transition: var(--transition);
}

.hero-slider-section .swiper-pagination-bullet-active {
  background: var(--primary);
  opacity: 1;
  width: 30px;
  border-radius: 5px;
}

/* Responsive adjustment for slider */
@media (max-width: 768px) {
  .hero-slider-section {
    height: auto;
    min-height: auto;
  }
  .hero-slide {
    padding: 150px 0 100px;
    height: auto;
  }
  .hero-slide h1 {
    font-size: 36px;
  }
  .hero-slide .hero-desc {
    font-size: 15px;
    margin-bottom: 25px;
  }
  .hero-slider-section .swiper-button-next,
  .hero-slider-section .swiper-button-prev {
    display: none; /* Hide arrows on mobile for cleaner look */
  }
  .slide-image-background {
    background-image: var(--bg-mobile);
  }
}

/* Feature Cards overlapping Hero */
.features-section {
  position: relative;
  z-index: 4;
  margin-top: -100px;
  padding-bottom: 20px;
}

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

.feature-card {
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(10px);
  border: 1.5px solid var(--border-color);
  padding: 35px 25px;
  border-radius: 4px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 15px 30px rgba(229, 9, 20, 0.15);
  background: rgba(18, 18, 18, 0.95);
}

.feature-icon-wrap {
  width: 50px;
  height: 50px;
  border: 1.5px solid var(--primary);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 20px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon-wrap {
  background: var(--primary-gradient);
  border-color: transparent;
  color: var(--white);
}

.feature-card h3 {
  color: var(--white);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

/* Services Grid Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.service-item {
  position: relative;
  height: 380px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: var(--transition);
}

.service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(229, 9, 20, 0.2);
  border-color: rgba(229, 9, 20, 0.4);
}

.service-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.1) 0%, rgba(10, 10, 10, 0.95) 100%);
  z-index: 2;
  transition: var(--transition);
}

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

.service-item:hover .service-img::after {
  background: linear-gradient(180deg, rgba(229, 9, 20, 0.15) 0%, rgba(10, 10, 10, 0.98) 100%);
}

.service-icon-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  background: var(--primary-gradient);
  color: var(--white);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
  z-index: 3;
  transition: var(--transition);
}

.service-item:hover .service-icon-badge {
  transform: rotateY(180deg);
}

.service-info {
  position: relative;
  z-index: 3;
  padding: 25px;
  display: flex;
  flex-direction: column;
  background: transparent;
  transition: var(--transition);
}

.service-info h3 {
  font-size: 15px;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--white);
  font-family: var(--font-title);
  letter-spacing: 0.02em;
}

.service-info p {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 0;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, opacity 0.4s ease-out, margin-bottom 0.4s ease-out;
}

.service-item:hover .service-info p {
  opacity: 1;
  max-height: 80px;
  margin-bottom: 15px;
}

.service-link {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--transition);
  align-self: flex-start;
}

.service-item:hover .service-link {
  background: var(--primary-gradient);
  box-shadow: 0 4px 10px rgba(229, 9, 20, 0.3);
  transform: translateX(5px);
}

/* Stat Counter Bar */
.counter-section {
  background: var(--primary-gradient);
  padding: 40px 0;
  color: var(--white);
}

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

.counter-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.counter-icon {
  font-size: 32px;
  color: var(--white);
}

.counter-number {
  font-family: var(--font-title);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}

.counter-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  text-align: left;
}

/* Certificate Section */
.cert-section {
  background-color: var(--light-gray);
}

.cert-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.cert-media {
  position: relative;
  display: flex;
  justify-content: center;
}

.cert-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.cert-content {
  display: flex;
  flex-direction: column;
}

.cert-subtitle {
  color: var(--primary);
  font-family: var(--font-title);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.cert-title {
  font-size: 36px;
  text-transform: uppercase;
  margin-bottom: 20px;
  line-height: 1.2;
}

.cert-desc {
  font-size: 15px;
  color: #555555;
  margin-bottom: 30px;
}

.cert-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 35px;
}

.cert-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.cert-list-item i {
  color: var(--primary);
  font-size: 16px;
}

/* Footer & Form */
.footer {
  background-color: var(--dark-light);
  color: var(--white);
  padding: 80px 0 0;
  font-size: 14px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1.2fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h3 {
  font-size: 15px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary);
}

.footer-about .logo-footer {
  height: 50px;
  margin-bottom: 20px;
}

.footer-about p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

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

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  transition: var(--transition);
}

.social-link:hover {
  border-color: transparent;
  background: var(--primary-gradient);
  color: var(--white);
}

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

.footer-links a {
  color: var(--text-muted);
}

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

.footer-contact li {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-contact i {
  color: var(--primary);
  font-size: 16px;
  margin-top: 3px;
}

/* Footer Contact Form */
.footer-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group {
  width: 100%;
}

.form-input {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 10px 15px;
  color: var(--white);
  font-family: var(--font-main);
  font-size: 13px;
  transition: var(--transition);
}

.form-input::placeholder {
  color: #666;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  background-color: rgba(255, 255, 255, 0.08);
}

textarea.form-input {
  resize: vertical;
  min-height: 80px;
}

.footer-form button {
  width: 100%;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 25px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

/* General Pages Styles (About, Gallery, Blog, Contact) */
.about-section {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

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

.about-feature-item {
  background-color: var(--light-gray);
  padding: 20px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-feature-item i {
  color: var(--primary);
  font-size: 24px;
}

.about-feature-item h4 {
  font-size: 16px;
  text-transform: uppercase;
}

.about-feature-item p {
  font-size: 13px;
  color: #666;
}

/* Gallery Grid */
.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  border: 1px solid var(--border-light);
  background-color: var(--white);
  border-radius: 4px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
}

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

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

.gallery-item {
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow-light);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  color: var(--white);
  padding: 20px;
  text-align: center;
}

.gallery-overlay i {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 10px;
  transform: translateY(20px);
  transition: var(--transition);
}

.gallery-overlay h3 {
  font-size: 16px;
  text-transform: uppercase;
  transform: translateY(20px);
  transition: var(--transition);
}

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

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

.gallery-item:hover .gallery-overlay i,
.gallery-item:hover .gallery-overlay h3 {
  transform: translateY(0);
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 10, 10, 0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  padding: 40px;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80%;
  position: relative;
}

.lightbox-content img, .lightbox-content video {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 80vh;
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.lightbox-video {
  width: 90vw;
  height: calc(90vw * 9 / 16);
  max-width: 960px;
  max-height: 540px;
  border: none;
  border-radius: 4px;
  box-shadow: var(--shadow);
  display: block;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--white);
  font-size: 32px;
  cursor: pointer;
  transition: var(--transition);
}

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

.lightbox-caption {
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 100%;
  text-align: center;
  color: var(--white);
  font-family: var(--font-title);
  font-size: 16px;
}

/* Video Grid Card Specifics */
.video-card .gallery-overlay i {
  font-size: 40px;
}

/* Blog Listing */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background-color: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.blog-card-img {
  height: 220px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.blog-card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  gap: 15px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-card-content h3 {
  font-size: 18px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-card-content p {
  font-size: 13px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.blog-more-btn {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 13px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
}

.blog-more-btn:hover {
  color: var(--primary-hover);
}

/* Contact Page Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info-card {
  display: flex;
  gap: 20px;
  background-color: var(--light-gray);
  padding: 25px;
  border-radius: 4px;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-gradient);
  color: var(--white);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.contact-info-details h3 {
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.contact-info-details p {
  font-size: 14px;
  color: #555555;
  line-height: 1.5;
}

.contact-form-wrap {
  background-color: var(--white);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-light);
  padding: 40px;
  border-radius: 4px;
}

.contact-form-wrap h2 {
  font-size: 24px;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.contact-form .form-group label {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.contact-form .form-input {
  background-color: var(--light-gray);
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  padding: 12px 15px;
}

.contact-form .form-input:focus {
  border-color: var(--primary);
  background-color: var(--white);
}

.map-section {
  padding-bottom: 0;
}

.map-container {
  height: 450px;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Form success/error styles */
.form-status {
  padding: 12px;
  border-radius: 4px;
  font-size: 13px;
  display: none;
  font-weight: 600;
}
.form-status.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  display: block;
}
.form-status.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 991px) {
  .hero h1 {
    font-size: 48px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-section {
    margin-top: -50px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cert-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .counter-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
    margin-left: auto;
  }
  .nav-list {
    position: fixed;
    top: 90px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 90px);
    background-color: var(--dark);
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    transition: var(--transition);
    z-index: 999;
  }
  .nav-list.active {
    left: 0;
  }
  .header-phone {
    display: none;
  }
  .header.sticky .nav-list {
    top: 74px;
    height: calc(100vh - 74px);
  }
  .hero {
    min-height: 600px;
  }
  .hero h1 {
    font-size: 38px;
  }
  .hero-btns {
    flex-direction: column;
    gap: 15px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .nav-dropdown-item {
    width: 100%;
    text-align: center;
  }
  .nav-dropdown {
    position: static;
    transform: none;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.02);
    border: none;
    border-top: none;
    box-shadow: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
  }
  .nav-dropdown-item.open .nav-dropdown {
    max-height: 200px;
    opacity: 1;
    visibility: visible;
    padding: 10px 0;
  }
  .nav-dropdown a {
    padding: 8px 0;
    text-align: center;
  }
  .nav-dropdown a:hover, .nav-dropdown a.active {
    padding-left: 0;
    background-color: transparent;
    color: var(--primary);
  }
}

/* Detail Page Layouts (Services & Blogs) */
.detail-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 50px;
  align-items: start;
}

.detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: sticky;
  top: 120px;
}

@media (max-width: 991px) {
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .detail-sidebar {
    position: static;
  }
}

/* Pagination Styles */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 50px;
}

.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 4px;
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  background-color: var(--white);
}

.page-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-link.active {
  background: var(--primary-gradient);
  border-color: transparent;
  color: var(--white);
  box-shadow: var(--shadow);
}

.page-link.active:hover {
  color: var(--white);
  transform: none;
  box-shadow: var(--shadow);
}

/* Service Post Content Styles */
.service-post-body {
  margin-top: 15px;
}

.service-post-body p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 35px;
}

.service-post-body h3 {
  font-family: var(--font-title);
  font-size: 18px;
  text-transform: uppercase;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--text-dark);
}

/* Service features list (first list) */
.service-post-body ul:nth-of-type(1) {
  margin-bottom: 40px;
  background-color: var(--light-gray);
  padding: 35px;
  border-radius: 4px;
  border-left: 4px solid var(--primary);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.service-post-body ul:nth-of-type(1) li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  color: #444;
  line-height: 1.5;
}

.service-post-body ul:nth-of-type(1) li::before {
  content: "\f058"; /* FontAwesome check-circle */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--primary);
  font-size: 16px;
}

/* Service benefits list (second list) */
.service-post-body ul:nth-of-type(2) {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 0;
  margin: 0;
}

.service-post-body ul:nth-of-type(2) li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

.service-post-body ul:nth-of-type(2) li::before {
  content: "\f3ed"; /* FontAwesome shield-alt */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: #333;
  font-size: 16px;
}

/* Responsive Grid Utilities */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

@media (max-width: 991px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .gallery-filter {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 25px;
  }
  .filter-btn {
    padding: 6px 12px;
    font-size: 11px;
  }
}

/* Specific about-page component responsiveness */
.about-section-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: start;
}
@media (max-width: 991px) {
  .about-section-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

