/* ========== TESTIMONIALS SECTION - CLEAN & ELEGANT ========== */
#reviews {
  background: #fff !important;
  padding: 80px 0;
  position: relative;
}

#reviews h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a1a2e !important;
  margin-bottom: 50px;
  text-align: center;
  position: relative;
}

#reviews h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: #d23b58;
  margin: 15px auto 0;
  border-radius: 2px;
}

/* Quote Card - Clean Design */
.quote-slider-2 {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 40px;
  margin: 15px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.quote-slider-2:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

/* Avatar - Simple Circle */
.quote-slider-2 .quote-img {
  border: 2px solid #d23b58;
  display: block;
  margin: 0 auto;
}

/* Author Name */
.quote-slider-2 .quote-author {
  color: #1a1a2e !important;
  font-size: 18px !important;
  font-weight: 600;
  margin-top: 20px;
  text-align: center;
}

.quote-slider-2 .quote-author cite {
  font-style: normal;
  color: #d23b58 !important;
}

/* Description (role) - Match footer description style */
.quote-slider-2 .quote-desc {
  color: #9a9a9a !important;
  font-size: 14px !important;
  margin-top: 5px;
  text-align: center;
  letter-spacing: 0.5px;
}

/* Quote Body - Match footer description style */
.quote-slider-2 .quote-body {
  color: #9a9a9a !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
  margin-top: 20px !important;
  text-align: center;
  font-style: normal;
}

/* Navigation Arrows - Horizontal & Beautiful */
.owl-carousel-testimonials-2 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.owl-carousel-testimonials-2 .owl-nav {
  display: flex !important;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.owl-carousel-testimonials-2 .owl-prev,
.owl-carousel-testimonials-2 .owl-next {
  background: #fff !important;
  color: #1a1a2e !important;
  width: 50px;
  height: 50px;
  border-radius: 50% !important;
  font-size: 24px !important;
  transition: all 0.3s ease;
  border: 2px solid #e0e0e0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.owl-carousel-testimonials-2 .owl-prev:hover,
.owl-carousel-testimonials-2 .owl-next:hover {
  background: #d23b58 !important;
  color: #fff !important;
  border-color: #d23b58 !important;
  transform: scale(1.1);
  box-shadow: 0 5px 20px rgba(211, 59, 88, 0.4);
}

/* Dots */
.owl-carousel-testimonials-2 .owl-dots {
  margin-top: 25px;
}

.owl-carousel-testimonials-2 .owl-dots .owl-dot {
  background: #ccc !important;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 4px;
}

.owl-carousel-testimonials-2 .owl-dots .owl-dot.active {
  background: #d23b58 !important;
}

/* Responsive */
@media (max-width: 768px) {
  #reviews {
    padding: 50px 0;
  }
  
  #reviews h2 {
    font-size: 1.8rem;
    margin-bottom: 35px;
  }
  
  .quote-slider-2 {
    padding: 25px 20px;
  }
  
  .quote-slider-2 .quote-body {
    font-size: 15px !important;
  }
}

/* ========== CONTACT SECTION ========== */
#contacts {
  background: #f8f9fa !important;
  padding: 80px 0;
}

.contact-card {
  background: #fff;
  border-radius: 16px;
  padding: 50px 40px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-card h3 {
  color: #1a1a2e;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
}

.contact-subtitle {
  color: #666;
  font-size: 16px;
  margin-bottom: 35px;
  line-height: 1.6;
}

.telegram-contact {
  margin-bottom: 30px;
}

.telegram-main-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #0088cc 0%, #00aaff 100%);
  color: #fff !important;
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.telegram-main-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 136, 204, 0.4);
  color: #fff !important;
}

.telegram-main-btn i {
  font-size: 22px;
}

.contact-email {
  color: #888;
  font-size: 14px;
}

.contact-email a {
  color: #d23b58;
  text-decoration: none;
}

.contact-email a:hover {
  text-decoration: underline;
}

/* Hide old contact elements */
.contact-methods,
.contact-info,
.contactForm {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  #contacts {
    padding: 50px 0;
  }
  
  .contact-card {
    padding: 35px 25px;
    margin: 0 15px;
  }
  
  .contact-card h3 {
    font-size: 24px;
  }
  
  .telegram-main-btn {
    padding: 15px 30px;
    font-size: 16px;
  }
}

/* CSS Custom Properties for consistent theming */
:root {
  /* Primary Brand Colors */
  --rev-primary: #d23b58;
  --rev-primary-dark: #b82e47;
  --rev-primary-light: #e85a75;
  
  /* Secondary Colors */
  --rev-secondary: #2c3e50;
  --rev-accent: #3498db;
  
  /* Neutral Colors */
  --rev-dark: #1a1a2e;
  --rev-light: #f8f9fa;
  --rev-gray: #6c757d;
  --rev-gray-light: #e9ecef;
  
  /* Semantic Colors */
  --rev-success: #27ae60;
  --rev-warning: #f39c12;
  --rev-danger: #e74c3c;
  
  /* Typography */
  --rev-font-primary: 'Cabin', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --rev-font-heading: 'Maven Pro', sans-serif;
  
  /* Spacing */
  --rev-spacing-xs: 0.25rem;
  --rev-spacing-sm: 0.5rem;
  --rev-spacing-md: 1rem;
  --rev-spacing-lg: 1.5rem;
  --rev-spacing-xl: 2rem;
  --rev-spacing-xxl: 3rem;
  
  /* Transitions */
  --rev-transition: all 0.3s ease;
  --rev-transition-fast: all 0.15s ease;
  
  /* Border Radius */
  --rev-radius-sm: 4px;
  --rev-radius-md: 8px;
  --rev-radius-lg: 12px;
  --rev-radius-full: 50%;
  
  /* Container max-width */
  --rev-container-width: 1200px;
}

/* Base Improvements */
body {
  font-family: var(--rev-font-primary);
  color: var(--rev-secondary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container width restriction */
.page {
  max-width: var(--rev-container-width);
  margin: 0 auto;
  overflow-x: hidden;
}

.shell {
  max-width: var(--rev-container-width);
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}

/* Header & Navigation Improvements */
header.page-head {
  min-height: auto !important;
}

.rd-navbar-wrap {
  min-height: 50px !important;
  height: auto !important;
  background: #fff !important;
}

.rd-navbar-default {
  background: #fff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  min-height: 50px !important;
  height: auto !important;
  padding: 5px 0;
}

.rd-navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rd-navbar-panel {
  padding: 0;
  min-height: 40px;
  display: flex;
  align-items: center;
}

.rd-navbar-brand {
  padding: 0;
}

.rd-navbar-brand a {
  display: block;
}

.rd-navbar-brand img {
  max-width: 140px;
  height: auto;
  display: block;
}

.rd-navbar-toggle {
  display: none;
}

.rd-navbar-menu-wrap {
  background: transparent !important;
  min-height: auto !important;
}

.rd-navbar-nav-wrap {
  background: transparent !important;
}

.rd-navbar-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rd-navbar-nav > li {
  margin: 0;
  padding: 0;
}

.rd-navbar-nav > li > a {
  color: #2c3e50 !important;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 8px !important;
  border-radius: 4px;
  transition: var(--rev-transition-fast);
  text-decoration: none;
  display: block;
}

.rd-navbar-nav > li > a:hover,
.rd-navbar-nav > li.active > a {
  color: var(--rev-primary) !important;
  background: rgba(210, 59, 88, 0.1);
}

.rd-navbar-nav > li > a.btn-primary {
  color: #fff !important;
  background: var(--rev-primary);
  padding: 5px 10px !important;
  font-size: 10px;
}

.rd-navbar-nav > li > a.btn-primary:hover {
  background: var(--rev-primary-dark);
}

/* Mobile menu */
@media (max-width: 991px) {
  .rd-navbar-toggle {
    display: block;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
  }
  
  .rd-navbar-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #2c3e50;
    margin: 4px 0;
  }
  
  .rd-navbar-menu-wrap {
    display: none;
  }
  
  .rd-navbar-menu-wrap.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
  }
  
  .rd-navbar-nav {
    flex-direction: column;
    padding: 10px;
  }
  
  .rd-navbar-nav > li > a {
    font-size: 14px;
    padding: 10px 15px !important;
    text-align: center;
  }
}

/* Typography Improvements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--rev-font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--rev-spacing-md);
}

h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
h4 { font-size: clamp(1rem, 2.5vw, 1.25rem); }

/* Link Improvements */
a {
  color: var(--rev-primary);
  text-decoration: none;
  transition: var(--rev-transition-fast);
}

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

/* Button Improvements */
.btn-primary {
  background-color: var(--rev-primary);
  border-color: var(--rev-primary);
  border-radius: var(--rev-radius-md);
  padding: 0.625rem 1.5rem;
  font-weight: 600;
  transition: var(--rev-transition);
}

.btn-primary:hover {
  background-color: var(--rev-primary-dark);
  border-color: var(--rev-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(210, 59, 88, 0.3);
}

/* Card Improvements */
.cell-xs-10, .cell-sm-6, .cell-md-4 {
  background: #fff;
  border-radius: var(--rev-radius-lg);
  padding: var(--rev-spacing-lg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: var(--rev-transition);
}

.cell-xs-10:hover, .cell-sm-6:hover, .cell-md-4:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Icon Improvements */
.icon-primary {
  color: var(--rev-primary);
  font-size: 2rem;
  margin-bottom: var(--rev-spacing-md);
}

/* Section Improvements */
.section {
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 4rem 0;
  }
}

/* Background Improvements */
.bg-gray-lighter {
  background-color: var(--rev-gray-light);
}

/* Lead Text */
.lead {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--rev-gray);
}

/* Text Muted */
.text-muted {
  color: var(--rev-gray) !important;
}

/* Image Optimization */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========== FOOTER IMPROVEMENTS ========== */
footer.page-footer {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%) !important;
  color: #fff !important;
  padding: 60px 0 30px !important;
  min-height: auto;
  position: relative;
  overflow: hidden;
}

footer.page-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(210, 59, 88, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(52, 152, 219, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

footer.page-footer.bg-gray-base {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%) !important;
}

footer.page-footer.context-dark {
  color: #fff !important;
}

footer.page-footer .shell {
  max-width: var(--rev-container-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

/* Footer main content - 3 column layout */
footer.page-footer .cell-sm-8 {
  width: 100%;
  max-width: 100%;
}

footer.page-footer .grid-group-md {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}

/* Left column - Logo & Description */
footer.page-footer .cell-xs-12.cell-sm-6.cell-md-4.cell-lg-4,
footer.page-footer .footer-about {
  flex: 0 0 32%;
  max-width: 32%;
  text-align: left;
  margin-bottom: 0;
}

footer.page-footer .footer-brand {
  display: block;
  margin-bottom: 15px;
}

footer.page-footer .footer-brand img {
  background: transparent !important;
  -webkit-background: transparent !important;
  opacity: 1 !important;
  filter: none !important;
  max-width: 160px;
  height: auto;
  transition: transform 0.3s ease;
}

footer.page-footer .footer-brand:hover img {
  transform: scale(1.05);
}

footer.page-footer .footer-about p {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 14px;
  line-height: 1.7;
  margin-top: 15px;
  margin-bottom: 0;
  display: block;
  font-weight: 400;
}

/* Center column - Links */
footer.page-footer .cell-xs-12.cell-sm-5.cell-md-5.cell-lg-5,
footer.page-footer .footer-links {
  flex: 0 0 28%;
  max-width: 28%;
  text-align: center;
  margin-bottom: 0;
}

footer.page-footer h6 {
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  text-align: center;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}

footer.page-footer h6::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--rev-primary), transparent);
  border-radius: 2px;
}

footer.page-footer .footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

footer.page-footer .footer-menu li {
  margin: 0;
}

footer.page-footer .footer-menu a {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 14px;
  padding: 8px 16px;
  display: inline-block;
  transition: all 0.3s ease;
  text-decoration: none;
  border-radius: 4px;
  position: relative;
}

footer.page-footer .footer-menu a:hover {
  color: #fff !important;
  background: rgba(210, 59, 88, 0.2);
  transform: translateY(-2px);
}

/* Right column - Social */
footer.page-footer .cell-xs-12.cell-md-3.cell-lg-3,
footer.page-footer .footer-social {
  flex: 0 0 25%;
  max-width: 25%;
  text-align: right;
  margin-bottom: 0;
}

footer.page-footer .footer-social h6 {
  text-align: right;
}

footer.page-footer .footer-social h6::after {
  left: auto;
  right: 50%;
  transform: translateX(50%);
}

footer.page-footer .list-inline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

footer.page-footer .list-inline li {
  margin: 0;
}

footer.page-footer .list-inline a {
  width: 42px;
  height: 42px;
  line-height: 42px;
  text-align: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  font-size: 16px;
  padding: 0;
  color: #fff !important;
  display: inline-block;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

footer.page-footer .list-inline a:hover {
  background: linear-gradient(135deg, var(--rev-primary) 0%, var(--rev-primary-dark) 100%);
  color: #fff !important;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(210, 59, 88, 0.4);
  border-color: transparent;
}

/* Copyright */
footer.page-footer .small {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 13px;
  text-align: center;
  display: block;
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  letter-spacing: 0.5px;
}

footer.page-footer .small a {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer.page-footer .small a:hover {
  color: var(--rev-primary-light) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  footer.page-footer .grid-group-md {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  footer.page-footer .cell-xs-12.cell-sm-6.cell-md-4.cell-lg-4,
  footer.page-footer .footer-about,
  footer.page-footer .cell-xs-12.cell-sm-5.cell-md-5.cell-lg-5,
  footer.page-footer .footer-links,
  footer.page-footer .cell-xs-12.cell-md-3.cell-lg-3,
  footer.page-footer .footer-social {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
  }
  
  footer.page-footer .footer-brand {
    text-align: center;
  }
  
  footer.page-footer .footer-brand img {
    max-width: 140px;
  }
  
  footer.page-footer h6::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  footer.page-footer .list-inline {
    justify-content: center;
  }
  
  footer.page-footer {
    padding: 40px 0 20px !important;
  }
}

footer.page-footer .small a {
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 12px;
  display: inline;
  padding: 0;
}

footer.page-footer .small a:hover {
  color: var(--rev-primary-light) !important;
}

/* Mobile responsive */
@media (max-width: 767px) {
  footer.page-footer .grid-group-md {
    flex-direction: column;
    text-align: center;
  }
  
  footer.page-footer .footer-about,
  footer.page-footer .footer-links,
  footer.page-footer .footer-social {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
  }
  
  footer.page-footer .footer-social h6 {
    text-align: center;
  }
  
  footer.page-footer .list-inline {
    justify-content: center;
  }
}

/* Focus States for Accessibility */
a:focus, button:focus, input:focus, textarea:focus {
  outline: 2px solid var(--rev-primary);
  outline-offset: 2px;
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--rev-primary);
  color: white;
  padding: 8px 16px;
  z-index: 1000;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Print Styles */
@media print {
  .page-head, .parallax-container {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  a[href]::after {
    content: " (" attr(href) ")";
  }
}