/* Main website styles - Complete CSS */

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

:root {
  --primary-red: #D80000;
  --pure-black: #000000;
  --pure-white: #FFFFFF;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
}

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

/* Video Player Styles */
.play-button-hidden {
  display: none !important;
}

.home-video-container {
  position: relative;
  overflow: hidden;
}

.home-video-container video {
  transition: all 0.3s ease;
}

.home-video-container .custom-play-btn:hover {
  background: rgba(216, 0, 0, 1) !important;
  transform: translate(-50%, -50%) scale(1.1);
}

/* Auto-play video animations */
#home-leo-moderna-video {
  transition: opacity 0.5s ease, transform 0.3s ease;
}

#home-custom-play-btn-leo {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Smooth fade-in for video controls */
video[controls] {
  transition: opacity 0.4s ease;
}

/* Enhanced hover effect for auto-play button */
#home-custom-play-btn-leo:hover {
  background: rgba(216, 0, 0, 1) !important;
  transform: translate(-50%, -50%) scale(1.15) !important;
  box-shadow: 0 6px 20px rgba(216, 0, 0, 0.4) !important;
}

/* Pulse animation for play button before auto-play */
@keyframes pulse {
  0% { box-shadow: 0 4px 15px rgba(216, 0, 0, 0.3); }
  50% { box-shadow: 0 6px 25px rgba(216, 0, 0, 0.5); }
  100% { box-shadow: 0 4px 15px rgba(216, 0, 0, 0.3); }
}

#home-custom-play-btn-leo {
  animation: pulse 2s infinite;
}

/* Video Labels - Always visible over video */
#home-project-label,
#home-video-label {
  z-index: 1000 !important;
  pointer-events: none !important;
  position: absolute !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Enhanced styling for video labels */
#home-project-label {
  background: linear-gradient(135deg, #D80000, #b30000) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

#home-video-label {
  background: rgba(0, 0, 0, 0.85) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* Video container improvements */
#home-leo-moderna-video {
  position: relative;
}

/* Ensure labels stay on top even when video has controls */
.home-video-container {
  position: relative;
}

.home-video-container #home-project-label,
.home-video-container #home-video-label {
  z-index: 1001 !important;
}

/* Custom Toast Notifications */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 99999;
  max-width: 350px;
  pointer-events: none;
}

.toast {
  background: linear-gradient(135deg, #fff, #f8f9fa);
  border-left: 5px solid var(--primary-red);
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  margin-bottom: 15px;
  padding: 20px;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.4s ease;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  pointer-events: auto;
  position: relative;
  z-index: 100000;
}

.toast.show {
  opacity: 1;
  transform: translateX(0);
}

.toast.success {
  border-left-color: #28a745;
}

.toast.error {
  border-left-color: #dc3545;
}

.toast.warning {
  border-left-color: #ffc107;
}

.toast-icon {
  font-size: 24px;
  margin-top: 2px;
  flex-shrink: 0;
}

.toast.success .toast-icon {
  color: #28a745;
}

.toast.error .toast-icon {
  color: #dc3545;
}

.toast.warning .toast-icon {
  color: #ffc107;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: #333;
}

.toast-message {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0;
}

.toast-close {
  background: none;
  border: none;
  font-size: 18px;
  color: #999;
  cursor: pointer;
  padding: 0;
  margin-left: 10px;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.toast-close:hover {
  color: #333;
}

/* Mobile responsive toast */
@media (max-width: 768px) {
  .toast-container {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
  }
  
  .toast {
    margin-bottom: 10px;
    padding: 15px;
  }
  
  .toast-title {
    font-size: 1rem;
  }
  
  .toast-message {
    font-size: 0.9rem;
  }
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.75);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.03);
  z-index: 100;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px;
  max-width: 1300px;
  margin: 0 auto;
}

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

.logo {
  height: 60px;
  width: auto;
  transition: all 0.3s ease;
  margin-left: 0;
  position: relative;
  top: -5px;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-item {
  margin: 0 15px;
  position: relative;
}

.nav-item a {
  font-weight: 600;
  transition: color 0.3s ease;
  font-size: 1.05rem;
  color: #333;
  text-shadow: 0 0 1px rgba(0,0,0,0.1);
}

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

.language-switch {
  display: flex;
  align-items: center;
  margin-left: 20px;
}

.lang-option {
  margin: 0 5px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.lang-option.active {
  opacity: 1;
  font-weight: 700;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #333;
}

/* Hero Styles */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -85px; /* Compensate for transparent header */
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slider-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 0;
}

.slider-image.active {
  opacity: 1;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  color: var(--pure-white);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--pure-white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--pure-white);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Button Styles */
.btn {
  padding: 0.75rem 2.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  border-radius: 3px;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary-red);
  color: var(--pure-white);
  border-color: var(--primary-red);
}

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

.btn-secondary {
  background-color: transparent;
  color: var(--pure-white);
  border-color: var(--pure-white);
}

.btn-secondary:hover {
  background-color: var(--pure-white);
  color: var(--pure-black);
}

/* Page Banner */
.page-banner {
  height: 300px;
  background-size: cover;
  background-position: center;
  position: relative;
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.page-banner h1 {
  color: var(--pure-white);
  font-size: 3rem;
  position: relative;
  z-index: 10;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Section Styles */
.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: #f8f9fa;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #333;
}

.section-subtitle {
  text-align: center;
  margin-bottom: 3rem;
  color: #666;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1rem;
}

/* About Section */
.about-subtitle {
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #666;
  font-style: italic;
}

.about-content {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #555;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.about-stats {
  display: flex;
  justify-content: space-between;
  margin: 3rem 0;
  flex-wrap: wrap;
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  flex: 1;
  min-width: 200px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-red);
  margin-bottom: 0.5rem;
  display: block;
}

.stat-number span {
  font-size: 1.25rem;
  color: #666;
  font-weight: 400;
}

.stat-label {
  font-size: 1.1rem;
  color: #666;
  font-weight: 500;
}

.about-cta {
  text-align: center;
  margin-top: 2rem;
}

/* Services Section */
.services-subtitle {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #666;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-card {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #f0f0f0;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-red);
  margin-bottom: 1.5rem;
  display: block;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #333;
}

.service-card p {
  color: #666;
  line-height: 1.6;
}

.services-footer {
  text-align: center;
  margin-top: 2rem;
  font-style: italic;
  color: #666;
  font-size: 1.1rem;
}

/* Projects Section */
.projects-subtitle {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #666;
}

.projects-content {
  text-align: center;
  margin-bottom: 2rem;
  color: #666;
  font-size: 1.1rem;
}

.projects-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.projects-list li {
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2.5rem;
  font-size: 1.1rem;
  color: #555;
}

.projects-list li i {
  position: absolute;
  left: 0;
  top: 0.25rem;
  color: var(--primary-red);
  font-size: 1.2rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.projects-grid-large {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.project-card {
  height: 300px;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.3));
  color: var(--pure-white);
  transform: translateY(60px);
  transition: transform 0.3s ease;
}

.project-card:hover .project-overlay {
  transform: translateY(0);
}

.project-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.project-overlay p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.project-specs {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.8rem;
}

.project-specs span {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  backdrop-filter: blur(5px);
}

/* Featured Projects Styles */
.featured-projects {
  margin: 3rem 0;
}

.featured-project-card {
  display: flex;
  margin-bottom: 4rem;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.featured-project-card:nth-child(even) {
  flex-direction: row-reverse;
}

.featured-project-image {
  flex: 1;
  min-height: 400px;
}

.featured-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-project-content {
  flex: 1;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-project-content h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-red);
}

.project-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #666;
}

.meta-item i {
  color: var(--primary-red);
}

/* Projects Filter */
.projects-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  background-color: #f8f9fa;
  border: 2px solid #ddd;
  border-radius: 25px;
  color: #666;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

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

/* Contact Section */
.contact-intro {
  text-align: center;
  margin-bottom: 4rem;
  font-size: 1.1rem;
  color: #666;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin: 3rem 0;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background-color: #f8f9fa;
  border-radius: 8px;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-red);
  color: var(--pure-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-item h3 {
  margin-bottom: 0.5rem;
  color: #333;
}

.contact-note {
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
}

.contact-form {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
  margin-bottom: 2rem;
  font-size: 1.5rem;
  color: #333;
}

.map-section {
  margin-top: 4rem;
}

.map-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.map-note {
  margin-top: 1rem;
  color: #666;
  font-style: italic;
}

/* FAQ Section */
.faq-section {
  padding: 5rem 0;
  background-color: #1a1a1a;
  color: #fff;
}

.faq-section .section-title {
  color: #fff;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  background-color: #333;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #fff;
}

.faq-toggle {
  font-size: 1.2rem;
  color: var(--primary-red);
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.open .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 200px;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 2rem;
  border-radius: 8px;
  max-width: 900px;
  position: relative;
  max-height: 90%;
  overflow-y: auto;
}

.close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-size: 2rem;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
  transition: color 0.3s ease;
}

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

.modal-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.modal-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.modal-gallery img:hover {
  transform: scale(1.05);
}

.modal-testimonial {
  background-color: #f8f9fa;
  padding: 2rem;
  border-radius: 8px;
  margin-top: 2rem;
  border-left: 4px solid var(--primary-red);
}

.modal-testimonial blockquote {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #555;
}

.modal-testimonial p {
  font-weight: 600;
  color: var(--primary-red);
}

.fullscreen-preview {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.fullscreen-preview img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.close-preview {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
}

/* Partners Section */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin: 4rem 0;
  padding: 0 1rem;
}

.partner-logo {
  max-width: 100%;
  width: 350px;
  height: 150px;
  object-fit: contain;
  filter: grayscale(0%);
  transition: all 0.3s ease;
  margin: 10px;
}

.partner-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Certifications Section */
.certifications-section {
  background-color: #f8f9fa;
  padding: 5rem 0;
}

.certifications-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  margin: 3rem 0;
}

.certification-item {
  position: relative;
  width: 180px;
  height: 180px;
  background-color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  overflow: hidden;
}

.certification-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: all 0.3s ease;
}

.certification-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(216, 0, 0, 0.9);
  color: #fff;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  border-radius: 8px;
}

.certification-hover h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.certification-hover p {
  font-size: 0.85rem;
  line-height: 1.4;
}

.certification-item:hover .certification-hover {
  opacity: 1;
  transform: translateY(0);
}

.certification-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Quiz Styles */
.quiz-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 3rem;
  position: relative;
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
}

.quiz-question {
  margin-bottom: 2rem;
}

.quiz-question h3 {
  font-size: 1.6rem;
  margin-bottom: 2rem;
  color: #333;
  text-align: center;
}

.quiz-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.quiz-option {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: #fff;
}

.quiz-option:hover {
  border-color: var(--primary-red);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.quiz-option i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #666;
  display: block;
}

.quiz-option.selected {
  border-color: var(--primary-red);
  background-color: rgba(216, 0, 0, 0.05);
}

.quiz-option.selected i {
  color: var(--primary-red);
}

.quiz-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  gap: 1rem;
}

.quiz-result-card {
  text-align: center;
  padding: 2rem;
}

.result-system {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-red);
  margin-bottom: 1.5rem;
}

.result-details {
  margin-bottom: 2rem;
  color: #666;
}

.result-item {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.result-item i {
  color: var(--primary-red);
  margin-right: 1rem;
}

.result-actions {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Product Cards Styles */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.product-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
  padding: 15px;
  background-color: white;
}

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

.product-content {
  padding: 2rem;
}

.product-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--primary-red);
  font-weight: 600;
}

.product-description {
  margin-bottom: 1.5rem;
  color: #666;
  line-height: 1.6;
}

.product-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.product-features li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  color: #555;
}

.product-features i {
  color: var(--primary-red);
  margin-right: 1rem;
  font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-red), #971a1a);
  padding: 5rem 0;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--pure-white);
  font-weight: 700;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: var(--pure-white);
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-section .btn-secondary {
  background-color: transparent;
  color: var(--pure-white);
  border-color: var(--pure-white);
}

.cta-section .btn-secondary:hover {
  background-color: var(--pure-white);
  color: var(--primary-red);
}

/* Form Styles */
.form-container {
  max-width: 900px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 3rem;
}

.form-tabs {
  display: flex;
  margin-bottom: 3rem;
  border-bottom: 2px solid #f0f0f0;
}

.tab-btn {
  padding: 1rem 2rem;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  color: #666;
}

.tab-btn i {
  margin-right: 0.5rem;
  color: #666;
}

.tab-btn.active {
  border-bottom-color: var(--primary-red);
  color: var(--primary-red);
}

.tab-btn.active i {
  color: var(--primary-red);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.form-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

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

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-red);
  outline: none;
}

.form-help {
  display: block;
  font-size: 0.8rem;
  color: #666;
  margin-top: 0.25rem;
}

.checkbox-group, .radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checkbox-item, .radio-item {
  display: flex;
  align-items: center;
  position: relative;
}

.radio-label {
  display: flex;
  flex-direction: column;
  margin-left: 0.5rem;
}

/* Footer Styles */
.footer {
  background-color: #1a1a1a;
  color: #fff;
  padding: 4rem 0 1rem 0;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col {
  color: #ccc;
}

.footer-title {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 10px;
  color: #fff;
}

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

.footer-logo {
  width: 120px;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #ccc;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-red);
}

.footer-links i {
  margin-right: 0.75rem;
  color: var(--primary-red);
}

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

.social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #333;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.social-icon:hover {
  background-color: var(--primary-red);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #333;
  font-size: 0.9rem;
  color: #999;
}

/* WhatsApp Live Chat */
.live-chat {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
}

.live-chat:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
  cursor: pointer;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.viber-btn {
  position: fixed;
  bottom: 30px;
  right: 100px;
  width: 60px;
  height: 60px;
  background-color: #7d3daf;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 15px rgba(125, 61, 175, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
  cursor: pointer;
}

.viber-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(125, 61, 175, 0.6);
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .about-stats {
    justify-content: center;
  }
  
  .featured-project-card {
    flex-direction: column;
  }
  
  .featured-project-card:nth-child(even) {
    flex-direction: column;
  }
  
  .featured-project-image {
    min-height: 300px;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-item {
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .nav-item a {
    display: block;
    padding: 1rem;
  }
  
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.3;
    padding: 0 15px;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    padding: 0 15px;
  }
  
  .page-banner h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .hero-buttons, 
  .result-actions,
  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .btn {
    width: 100%;
  }
  
  .products-grid,
  .services-grid,
  .projects-grid,
  .projects-grid-large {
    grid-template-columns: 1fr;
  }
  
  .product-image {
    height: 200px;
  }
  
  .quiz-options {
    grid-template-columns: 1fr;
  }
  
  .quiz-navigation {
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .about-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .stat-item {
    min-width: auto;
  }
  
  .partners-grid {
    justify-content: center;
    gap: 2rem;
  }
  
  .partner-logo {
    max-width: 140px;
  }
  
  .project-meta {
    gap: 1rem;
  }
  
  .projects-filter {
    justify-content: center;
  }
  
  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}