/* B&G Security - Enhanced Modern CSS Stylesheet */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');

/* CSS Variables for easy theming */
:root {
  --primary-color: #e94560;
  --primary-dark: #c73e54;
  --primary-light: #ff6b6b;
  --secondary-color: #1a1a2e;
  --secondary-light: #16213e;
  --accent-color: #4db8ff;
  --accent-gold: #ffd700;
  --text-dark: #333;
  --text-light: #666;
  --text-muted: #999;
  --bg-light: #f8f9fa;
  --bg-dark: #1a1a2e;
  --white: #ffffff;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.1);
  --shadow-md: 0 5px 20px rgba(0,0,0,0.15);
  --shadow-lg: 0 15px 40px rgba(0,0,0,0.2);
  --shadow-xl: 0 25px 60px rgba(0,0,0,0.25);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --border-radius: 12px;
  --border-radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.3;
}

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

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

ul {
  list-style: none;
}

/* Animated Background Gradient */
.animated-gradient {
  background: linear-gradient(-45deg, #1a1a2e, #16213e, #0f3460, #1a1a2e);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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

/* Header Styles - Compact Modern Design */
.header {
  background: var(--secondary-color);
  color: white;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
}

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

.header-top {
  display: flex;
  align-items: center;
  gap: 30px;
  flex: 1;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
  line-height: 1.2;
  margin: 0;
}

.logo h1:hover {
  opacity: 0.9;
}

.logo .tagline {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
  font-style: italic;
}

.logo .services-list {
  font-size: 0.65rem;
  color: var(--accent-color);
  letter-spacing: 0.5px;
  display: none;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-info .phone {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-color);
  display: none;
}

.free-quote-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
  transition: var(--transition-normal);
  white-space: nowrap;
}

.free-quote-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233, 69, 96, 0.4);
}

.rating-badges {
  display: none;
}

/* Navigation - Inline with header */
.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 5px;
  margin: 0;
}

.nav-list a {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  transition: var(--transition-normal);
  font-size: 0.9rem;
  position: relative;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-color);
  border-radius: 2px;
  transition: var(--transition-normal);
}

.nav-list a:hover::after,
.nav-list a.active::after {
  width: 50%;
}

.nav-list a:hover,
.nav-list a.active {
  color: white;
  background: rgba(255,255,255,0.1);
}

/* Header right section */
.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Header social icons - compact */
.header .social-icons {
  display: flex;
  gap: 8px;
}

.header .social-icons a {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
}

.header .social-icons img {
  width: 16px;
  height: 16px;
}

/* Social Media Icons */
.social-icons {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  transition: var(--transition-normal);
  position: relative;
  overflow: visible;
  border: 2px solid rgba(255,255,255,0.2);
}

.social-icons a::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  transform: scale(0);
  border-radius: 50%;
  transition: var(--transition-normal);
  z-index: 0;
}

.social-icons a:hover::before {
  transform: scale(1);
}

.social-icons a:hover {
  transform: translateY(-5px);
  border-color: transparent;
}

.social-icons img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: var(--transition-normal);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

/* Social icons on light backgrounds (contact page info box - no links) */
.contact-info-box .social-icons img {
  filter: none !important;
  width: 32px !important;
  height: 32px !important;
}

/* Footer social icons - show original colors (no links) */
.footer .social-icons img {
  filter: none;
  width: 32px;
  height: 32px;
}

/* Rating Badges */
.rating-badges {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.rating-badge {
  background: white;
  padding: 8px 18px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.rating-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(26,26,46,0.85), rgba(22,33,62,0.9)), url('images/img_1.png') center/cover fixed;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
  0% { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-content h2 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  animation: fadeInUp 1s ease;
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 35px;
  opacity: 0.9;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  padding: 18px 45px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(233, 69, 96, 0.4);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 1s ease 0.4s both;
}

.hero-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: 0.6s;
}

.hero-btn:hover::before {
  left: 100%;
}

.hero-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(233, 69, 96, 0.5);
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Page Title Section */
.page-title {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
  color: white;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-title::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(233,69,96,0.1) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

.page-title h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  position: relative;
}

.page-title p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  position: relative;
}

/* Section Styles */
section {
  padding: 80px 0;
  position: relative;
}

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

.section-title h2 {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 2px;
}

.section-title p {
  color: var(--text-light);
  max-width: 600px;
  margin: 20px auto 0;
  font-size: 1.1rem;
}

/* Features Section */
.features {
  background: white;
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.feature-card {
  text-align: center;
  padding: 40px 25px;
  background: var(--bg-light);
  border-radius: var(--border-radius-lg);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transition: var(--transition-normal);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  background: white;
}

.feature-card img {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  transition: var(--transition-normal);
}

.feature-card:hover img {
  transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
  font-size: 1.15rem;
  color: var(--secondary-color);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Stats Section */
.stats-section {
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-item {
  color: white;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* About Section */
.about {
  background: var(--bg-light);
  position: relative;
}

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

.about-text h2 {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 25px;
  position: relative;
}

.about-text h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 2px;
}

.about-text p {
  margin-bottom: 18px;
  color: var(--text-light);
  font-size: 1.05rem;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
  transition: var(--transition-normal);
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 4px solid var(--primary-color);
  border-radius: var(--border-radius-lg);
  z-index: -1;
  transition: var(--transition-normal);
}

.about-image:hover::before {
  top: -10px;
  right: -10px;
}

.about-image:hover img {
  transform: scale(1.02);
}

/* Products/Services Grid */
.products-grid,
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
}

.product-card,
.service-card {
  background: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  position: relative;
}

.product-card::before,
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  opacity: 0;
  transition: var(--transition-normal);
  z-index: 1;
}

.product-card:hover,
.service-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-xl);
}

.product-card img,
.service-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.product-card:hover img,
.service-card:hover img {
  transform: scale(1.1);
}

.product-info,
.service-info {
  padding: 30px;
  position: relative;
  z-index: 2;
}

.product-info h3,
.service-info h3 {
  font-size: 1.4rem;
  color: var(--secondary-color);
  margin-bottom: 12px;
  transition: var(--transition-normal);
}

.product-card:hover .product-info h3,
.service-card:hover .service-info h3 {
  color: var(--primary-color);
}

.product-info p,
.service-info p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Image wrapper for overflow hidden */
.product-card .image-wrapper,
.service-card .image-wrapper {
  overflow: hidden;
}

/* Contact Section */
.contact-section {
  background: white;
}

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

.contact-info-box h3 {
  font-size: 1.8rem;
  color: var(--secondary-color);
  margin-bottom: 25px;
}

.contact-info-box h4 {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.contact-info-box p {
  margin-bottom: 10px;
  color: var(--text-light);
}

.contact-info-box a {
  color: var(--primary-color);
  font-weight: 500;
}

.contact-info-box a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.contact-form {
  background: var(--bg-light);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--secondary-color);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #e0e0e0;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition-normal);
  background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(233, 69, 96, 0.1);
}

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

.submit-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  padding: 15px 40px;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  box-shadow: 0 5px 20px rgba(233, 69, 96, 0.3);
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: 0.5s;
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(233, 69, 96, 0.4);
}

/* Opening Hours */
.opening-hours {
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
  color: white;
  padding: 35px;
  border-radius: var(--border-radius-lg);
  margin-top: 30px;
  box-shadow: var(--shadow-lg);
}

.opening-hours h3 {
  margin-bottom: 25px;
  color: var(--primary-color);
  font-size: 1.3rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hours-row:last-child {
  border-bottom: none;
}

/* Gallery Section */
.gallery-section {
  background: white;
}

.gallery-slideshow {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
}

.slides-container {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  padding: 20px;
}

.slide-item {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: var(--transition-normal);
}

.slide-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition-normal);
  z-index: 1;
}

.slide-item:hover::before {
  opacity: 1;
}

.slide-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
}

.slide-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.slide-item .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  color: white;
  padding: 50px 20px 20px;
  font-size: 0.95rem;
  text-align: center;
  transform: translateY(100%);
  transition: var(--transition-normal);
  z-index: 2;
}

.slide-item:hover .caption {
  transform: translateY(0);
}

/* Slideshow Navigation */
.slideshow-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  border: none;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition-normal);
  z-index: 10;
  box-shadow: 0 5px 20px rgba(233, 69, 96, 0.4);
}

.slideshow-nav:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 30px rgba(233, 69, 96, 0.5);
}

.slideshow-nav.prev {
  left: 15px;
}

.slideshow-nav.next {
  right: 15px;
}

.slideshow-dots {
  text-align: center;
  padding: 30px 0;
}

.dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin: 0 8px;
  background: #ddd;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-normal);
}

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

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
  color: white;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(233,69,96,0.15) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
}

.cta-section p {
  font-size: 1.15rem;
  margin-bottom: 35px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
  position: relative;
}

/* Footer */
.footer {
  background: var(--secondary-color);
  color: white;
  padding: 60px 0 30px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-section h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.3rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

.footer-section p,
.footer-section a {
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
  display: block;
  transition: var(--transition-normal);
}

.footer-section a:hover {
  color: white;
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  color: rgba(255,255,255,0.5);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  box-shadow: 0 5px 20px rgba(233, 69, 96, 0.4);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(233, 69, 96, 0.5);
}

/* Responsive Design */
@media (max-width: 992px) {
  .about-content,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image::before {
    display: none;
  }

  .hero-content h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .header .container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 10px 15px;
  }

  .logo {
    text-align: center;
    width: 100%;
  }

  .logo h1 {
    font-size: 1.3rem;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .nav-list {
    justify-content: center;
    gap: 3px;
  }

  .nav-list a {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .header-right {
    gap: 10px;
  }

  .header .social-icons {
    display: none;
  }

  .free-quote-btn {
    padding: 6px 15px;
    font-size: 0.8rem;
  }

  .hero {
    min-height: 500px;
    padding: 60px 20px;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .slide {
    grid-template-columns: 1fr;
  }

  .slide-item img {
    height: 250px;
  }

  .slideshow-nav {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }

  .slideshow-nav.prev {
    left: 5px;
  }

  .slideshow-nav.next {
    right: 5px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .stat-label {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .logo h1 {
    font-size: 1.8rem;
  }

  .hero-content h2 {
    font-size: 1.6rem;
  }

  .hero-btn {
    padding: 15px 35px;
    font-size: 1rem;
  }

  .features-grid,
  .products-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 25px;
  }

  .page-title h1 {
    font-size: 2rem;
  }
}

/* Form Message Overlay */
.form-message-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.form-message-overlay.active {
  opacity: 1;
  visibility: visible;
}

.form-message {
  background: white;
  padding: 50px 40px;
  border-radius: var(--border-radius-lg);
  text-align: center;
  max-width: 420px;
  width: 90%;
  transform: scale(0.8) translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-xl);
}

.form-message-overlay.active .form-message {
  transform: scale(1) translateY(0);
}

.form-message .message-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-message.success .message-icon {
  background: linear-gradient(135deg, #4CAF50, #81C784);
  color: white;
}

.form-message.error .message-icon {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
}

.form-message .message-icon svg {
  width: 40px;
  height: 40px;
}

.form-message h3 {
  font-size: 1.8rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.form-message p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.message-close-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  border: none;
  padding: 14px 50px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  box-shadow: 0 5px 20px rgba(233, 69, 96, 0.3);
}

.message-close-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(233, 69, 96, 0.4);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }
.bg-white { background: white; }
.bg-light { background: var(--bg-light); }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.overflow-hidden { overflow: hidden; }

/* Smooth reveal animations on scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
