
/*!
Theme Name: USComfortSide Corporate Update
Theme URI: https://uscomfortside.com
Description: Updated version - High-performance corporate theme with ACF Pro integration, animations, and responsive design. Optimized for Core Web Vitals.
Author: USComfortSide Development Team
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.3
Requires PHP: 8.1
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: uscomfortside-update
Tags: corporate, responsive, performance, acf-ready, animations, lazy-load, redesign
*/

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

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

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  overflow-x: hidden;
}

/* ==========================================================================
   PERFORMANCE OPTIMIZATIONS
   ========================================================================== */

/* Prevent layout shifts */
img,
video,
iframe {
  height: auto;
  max-width: 100%;
}

/* Critical styles for above-the-fold content */
.hero-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  contain: layout style paint;
}

/* GPU acceleration for animations */
.animated-element,
.mobile-menu,
.scroll-indicator {
  will-change: transform;
  transform: translateZ(0);
}

/* ==========================================================================
   MODERN ANIMATIONS
   ========================================================================== */

/* Fade in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

/* Slide animations */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

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

/* Scale animation */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Modern hover effects */
.btn-modern {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* ==========================================================================
   RESPONSIVE GRID SYSTEM
   ========================================================================== */

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

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col {
  flex: 1;
  padding: 0 15px;
}

/* Grid columns */
.col-1 {
  flex: 0 0 8.333333%;
}

.col-2 {
  flex: 0 0 16.666667%;
}

.col-3 {
  flex: 0 0 25%;
}

.col-4 {
  flex: 0 0 33.333333%;
}

.col-6 {
  flex: 0 0 50%;
}

.col-8 {
  flex: 0 0 66.666667%;
}

.col-12 {
  flex: 0 0 100%;
}

/* ==========================================================================
   MOBILE-FIRST RESPONSIVE DESIGN
   ========================================================================== */

/* Mobile styles (default) */
@media screen and (max-width: 767px) {
  .container {
    padding: 0 15px;
  }

  .col-md-6,
  .col-lg-4,
  .col-lg-6 {
    flex: 0 0 100%;
    margin-bottom: 20px;
  }

  .hero-section {
    min-height: 50vh;
    text-align: center;
  }
}

/* Tablet styles */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .col-md-6 {
    flex: 0 0 50%;
  }

  .hero-section {
    min-height: 55vh;
  }
}

/* Desktop styles */
@media screen and (min-width: 1024px) {
  .col-lg-4 {
    flex: 0 0 33.333333%;
  }

  .col-lg-6 {
    flex: 0 0 50%;
  }

  .hero-section {
    min-height: 60vh;
  }
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

/* Animation classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Loading states */
.loading {
  position: relative;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #333;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus indicators */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: none;
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }
}

/* ==========================================================================
   FRONT PAGE STYLES
   ========================================================================== */

/* Hero Section Styles */
.hero-banner {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  align-items: center;
  min-height: 600px;
}

.hero-content {
  background-color: rgba(43, 195, 208, 0.75);
  padding: 30px;
  margin-left: 40px;
  max-width: 588px;
  min-width: 378px;
  border-radius: 8px;
  color: white;
  min-height: fit-content;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero-content h1 {
  color: #1F363D;
  font-family: "Raleway", Sans-serif;
  font-size: 5vw;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 1px 0 0 #1F363D, -1px 0 0 #1F363D, 0 1px 0 #1F363D, 0 -1px 0 #1F363D;
  max-width: 100%;
  word-wrap: break-word;
  font-stretch: condensed;
  letter-spacing: -0.5px;
}

.hero-products {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-product-item {
  background-color: #ffffff;
  color: #2BC3D0;
  padding: 8px 15px;
  border-radius: 5px;
  font-family: "Raleway", Sans-serif;
  font-size: 25px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 30px;
  letter-spacing: 0.5px;
}

/* Hero Section Responsive Styles */
@media (min-width: 1400px) {
  .hero-container {
    min-height: 500px;
  }

  .hero-content {
    max-width: 660px;
    min-width: 480px;
    padding: 42px;
  }

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

@media (max-width: 1024px) {
  .hero-content {
    max-width: 504px;
    min-width: 336px;
  }

  .hero-content h1 {
    font-size: 3vw;
  }
}

@media (max-width: 768px) {
  .hero-content {
    margin-left: 20px;
    margin-right: 20px;
    max-width: calc(100% - 40px);
    min-width: auto;
    padding: 24px;
  }

  .hero-content h1 {
    font-size: 4vw;
    line-height: 1.2;
  }

  .hero-product-item {
    font-size: 16px;
    line-height: 20px;
  }
}

@media (max-width: 480px) {
  .hero-content {
    margin-left: 15px;
    margin-right: 15px;
    max-width: calc(100% - 30px);
    padding: 22px;
  }

  .hero-content h1 {
    font-size: 5vw;
    line-height: 1.3;
  }

  .hero-product-item {
    font-size: 14px;
    line-height: 18px;
  }
}

/* Hero Video Styles */
.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

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

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

/* Ensure content is above video/background */
.hero-container {
  position: relative;
  z-index: 3;
}

/* ==========================================================================
   FLIP-BOX SECTION STYLES
   ========================================================================== */

/* Flip-box секция с анимацией */
.flip-box-section {
/* background: #2c3e50;
  background-image: url(https://uscomfortside.com/wp-content/uploads/2025/09/HVAC_distributor-USCOMFORTSIDE.webp);*/
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 0 0 80px 0;
  color: white;
  position: relative;
}

.flip-box-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /*background-color: #1F363D;*/
  opacity: 0.68;
  transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
}

.flip-box-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    /* transform: translateY(-120px); */
}

.flip-box {
  perspective: 1000px;
  height: 350px;
}

.flip-box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-box:hover .flip-box-inner {
  transform: rotateY(180deg);
}

.flip-box-front,
.flip-box-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
  box-sizing: border-box;
}

.flip-box-front {
  background: rgba(43, 195, 208, 0.2);
  border: 2px solid #2BC3D0;
  box-shadow: 0 0 15px 0 rgb(0 0 0 / 0.61);
  transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
}

.flip-box-back {
  background: rgba(0, 0, 0, 0.8);
  transform: rotateY(180deg);
}

.flip-box-icon {
  width: 130px;
  height: 100px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flip-box-icon svg {
  width: 100%;
  height: 100%;
}

.flip-box-title {
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 15px;
  color: #28373D;
  font-family: "Raleway", sans-serif;
}

.flip-box-back .flip-box-title {
  color: #33C1CE;
}

.flip-box-text {
font-size: 19px;
    line-height: 1.5;
    color: #28373D;
    font-weight: 600;
  text-align: center;
}

.flip-box-back .flip-box-text {
  color: white;
}

/* Анимация появления */
.flip-box {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.flip-box:nth-child(1) {
  animation-delay: 0.1s;
}

.flip-box:nth-child(2) {
  animation-delay: 0.3s;
}

.flip-box:nth-child(3) {
  animation-delay: 0.5s;
}

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

/* Flip-box адаптивные стили */
@media (max-width: 768px) {
  .flip-box-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 480px) {
.flip-box {
  height: 450px;
}
}

/* ==========================================================================
   LOGOS SLIDER SECTION STYLES
   ========================================================================== */

/* Logos Slider Section */
.logos-slider-section {
  padding: 0 0 60px 0;
}

.logos-slider-container {
  max-width: 100vw;
  margin: 0 auto;
  padding: 0;
}

.logos-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #1e3a5f;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.logos-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 20px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex-direction: row;
    justify-content: center;
}
.logos-slider::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.logos-slider:active {
  cursor: grabbing;
}

.logo-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 20vw;
  padding: 20px;
  border-radius: 8px;
  transition: transform 0.3s ease;
}


.logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: filter 0.3s ease;
}


/* Responsive styles */
@media (max-width: 768px) {
  .logos-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
  
  .logos-slider {
    gap: 20px;
  }
  
  .logo-item {
    min-width: 100vw;
    padding: 15px;
  }
}

/* ==========================================================================
   CONTENT SECTIONS STYLES
   ========================================================================== */

/* Секции контента */
.content-section {
  padding: 60px 0;
}

.content-section {
  background: #ffffff;
}
/*
.content-section:nth-child(even) {
  background: #f8f9fa;
}
*/
.content-section.about-section {
  background: #28373D;
  margin-top: 40px;
}


.section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-section .section-text {
    background: rgba(43, 195, 208, 0.5);
    border: 2px solid #2BC3D0;
    padding: 35px 135px 35px 35px;
    border-radius: 15px;
}



.section-text h2 {
  font-size: 28px;
  color: #1e3a5f;
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.section-text p {
  font-size: 19px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 12px;
  font-weight: 400;
}

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

.about-section .section-image {
    position: relative;
    height: 100%;
}

.section-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.about-section img {
    position: absolute;
    bottom: -60px;
    height: 140%;
    width: auto;
    max-width: 200%;
    left: -45%;
    box-shadow: none;
}

.about-section .section-text h2 {
    color: #ffffff;
    font-size: 32px;
}

.about-section .section-text p {
    color: #fff;
}

.learn-more-btn {
  background: #2BC3D0;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-top: 16px;
  transition: background 0.3s ease;
}

.learn-more-btn:hover {
  background: #45b7b8;
}


@media (max-width: 768px) {
  .section-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-section .section-text {
        padding: 25px 30px 80px;
        margin-bottom: 25vh;

  }

  .about-section img  {
    min-width: 100%;
    height: 40vh;
    left: -60px;
    position: absolute;
    
        min-height: 340px;
}

}

/* === Общие стили секции === */
.legacy-section {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.legacy-container {
    width: 100%;
    max-width: 1400px;
    margin: 100px auto 0;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: [start] 0.5fr [center-1] 0.85fr [center-2] 0.5fr [end];
    grid-row-gap: 40px;
}

.legacy-header {
  text-align: center;
  margin-bottom: 60px;
}

.legacy-header h2 {
  font-size: 42px;
  font-weight: 800;
  color: #1e1e1e;
  text-transform: uppercase;
}

/* === Общие принципы для частей === */
.legacy-part {
  position: relative;
}

.legacy-images-group {
  position: relative;
}

.legacy-image {
  position: relative;
  overflow: visible;
}

.legacy-image img {
    position: relative;
    display: block;
    width: 160%;
    height: auto;
    border-radius: 16px;
}

/* === Перекрытие изображений (эффект "выхода людей") === */
.legacy-image.overlapping {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 60%;
  z-index: 3;
}

.legacy-image.overlapping img {
  border-radius: 16px;
}

/* === Текстовые карточки === */
.legacy-text-block {
  position: absolute;
  z-index: 5;
  background: rgba(38, 194, 207, 0.95);
  color: #fff;
  padding: 24px 32px;
  border-radius: 12px;
  line-height: 1.4;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.legacy-text-block h3 {
  font-size: 28px;
  font-weight: 800;
}

.legacy-text-block p,
.legacy-text-block li {
  font-size: 19px;
  font-weight: 500;
  line-height: 1;
}

/* === Расположение для каждой четверти === */

/* === Первая часть === */
.legacy-part-1 {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    grid-row: start/center-2;
}

/* Группа изображений */
.legacy-part-1 .legacy-images-group {
    position: relative;
    width: 600px;
    min-height: 100%;
}

/* Первое фото — основное */
.legacy-part-1 .legacy-image-1 img {
    width: 100%;
    border-radius: 16px;
    display: block;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Второе фото — "выходящие люди" */
.legacy-part-1 .legacy-image-2.overlapping {
    position: absolute;
    top: 2px;
    right: -148px;
    width: 124%;
    z-index: 5;
}
.legacy-part-1 .legacy-image-2 img {
    width: 596px;
    bottom: 0;
    height: auto;
    border-radius: 0;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.25));
}

/* Текстовый блок поверх основной картинки */
.legacy-text-block-1 {
    position: absolute;
    top: 70px;
    left: 0;
    background: rgba(38, 194, 207, 0.5);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 15px 10px;
    border-radius: 20px;
    max-width: 400px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    border: 5px solid #36C1CE;
    text-align: center;
}

.legacy-text-block-1 h3 {
  font-weight: 700;
  margin-bottom: 8px;
}

.legacy-text-block-1 p {
  font-size: 19px;
  line-height: 1.2;
}

/* 2. Вторая часть — текст справа */
.legacy-part-2 {
    text-align: left;
    padding-right: 12%;
    grid-row: start/center-1;
    margin: 0 0 0 25px;
}
.legacy-part-2 .legacy-text-block-2 {
  position: relative;
  display: inline-block;
  background: rgba(38, 194, 207, 0.95);
  color: #fff;
  border-radius: 20px;
  padding: 20px 32px;
  max-width: 490px;
}

.legacy-part-2 .legacy-text-block-2 h3{
  font-size: 28px;
    font-weight: 600;
}

.legacy-text-block-2 span {
    font-weight: 800;
    line-height: 0.5;
}

span.huge {
    font-size: 67px;
    letter-spacing: normal;
    margin-left: -2px;
}

/* 3. Третья часть — текстовая карточка на тёмном фоне */
.legacy-part-3 {
    display: flex;
    justify-content: flex-end;
    grid-row: center-2/end;
    align-content: flex-start;
    align-items: flex-start;
}
.legacy-text-block-3 {
    background: #21282f;
    color: #fff;
    position: relative;
    padding: 48px 32px;
    border-radius: 16px;
    width: 86%;
    margin-right: 5%;
    height: 100%;
}
.legacy-features-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.legacy-features-list li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 16px;
}
.legacy-features-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #00bcd4;
}

/* 4. Четвёртая часть — зеркально первой */
.legacy-part-4 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    grid-row: center-1/end;
    z-index: 9;
}

.legacy-part-4 .legacy-images-group {
    width: 80%;
    position: relative;
    transform: translateX(-20px);
}

.legacy-part-4 .legacy-image.overlapping {
    left: 0px;
    right: auto;
    top: -97px;
    width: 675px;
}

.legacy-part-4 .legacy-text-block-4 {
  right: 8%;
  bottom: 10%;
      background: rgba(38, 194, 207, 0.5);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 15px 10px;
       border-radius: 20px;
    max-width: 430px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 5px solid #36C1CE;
    text-align: center;
}

@media (min-width: 1024px) {
  .legacy-section-mobile {
    display: none;
  }
  
}

/* === Адаптив === */
@media (max-width: 1024px) {
  .legacy-section{
    display: none;
  }
  .legacymob-header {
    text-align: center;
    font-size: 32px;
    line-height: 1.3;
    margin: 40px auto;
}
.legacymob-part {
    display: flex;
    flex-direction: column;
    position: relative;
            padding: 0 15px;
            margin: 25px 0;
}
  .legacymob-images-group {
    position: relative;
}
 .legacymob-image.legacymob-image-1 {
    max-width: 380px;
    float: right;
}
 .legacymob-image.legacymob-image-2 img {
    position: absolute;
    bottom: 5px;
    right: 0;
    width: 100%;
    max-width: 380px;
    z-index: 9;
}
.legacymob-text-block h3 {
    font-size: 24px;
    text-align: center;
}
.legacymob-text-block {
    background: rgba(38, 194, 207, 0.95);
    color: #fff;
    padding: 15px 20px;
    border-radius: 12px;
    line-height: 1.4;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.legacymob-text-block-1 {
  
    position: absolute;
    z-index: 5;
background: rgba(38, 194, 207, 0.5);
    backdrop-filter: blur(10px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 5px solid #36C1CE;
    width: 95%;
    top: 15px;
}

.legacymob-text-block.legacymob-text-block-2 h3 {
    text-align: left;
    line-height: 1;
}
.legacymob-text-block.legacymob-text-block-2 .huge {
    
    line-height: 1;
}

.legacymob-text-block-3 {
    background: #21282f;
    color: #fff;
    position: relative;
    padding: 24px 32px;
    border-radius: 16px;
    height: 100%;
}
.legacymob-image.legacymob-image-3 {
    margin-top: -40px;
}
}


/* Our Advantages Section */
.advantages-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.advantages-section .section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.advantages-section .section-text h2 {
  font-size: 28px;
  color: #1e3a5f;
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.advantages-section .section-text p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 12px;
  font-weight: 400;
}

.advantages-section .section-image {
  text-align: center;
}

.advantages-section .section-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Sponsors Section */
.sponsors-section {
    position: relative;
    width: 100%;
    padding: 40px 0;
    display: flex;
    gap: 50px;
    align-items: center;
    flex-direction: column;
}

.sponsors-video-wrapper {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.sponsors-video {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.sponsors-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.sponsors-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.sponsors-content {
  position: relative;
  z-index: 3;
  text-align: center;
}

.sponsors-title {
    font-size: 62px;
    font-weight: 800;
    color: #1e1e1e;
    text-transform: uppercase;
}
/* Responsive styles for Sponsors Section */
@media (max-width: 1024px) {
  
  .sponsors-title {
    font-size: 60px;
    letter-spacing: 6px;
  }
}

@media (max-width: 768px) {

  
  .sponsors-title {
    font-size: 40px;
    letter-spacing: 4px;
  }
}

@media (max-width: 480px) {
  
  .sponsors-title {
    font-size: 32px;
    letter-spacing: 3px;
  }
}

/* We Care About Energy Section */
.energy-section {
  padding: 60px 0;
  background: #ffffff;
}

.energy-section .section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.energy-section .section-text h2 {
  font-size: 28px;
  color: #1e3a5f;
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.energy-section .section-text p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 12px;
  font-weight: 400;
}

.energy-section .section-image {
  text-align: center;
}

.energy-section .section-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Видео блок */
.video-block {
  position: relative;
  width: 100%;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 20px;
}

.video-cta {
  position: relative;
  display: block;
  width: 100%;
  height: 300px;
  text-decoration: none;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.video-cta:hover {
  transform: scale(1.02);
}

.video-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.video-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease;
}

.video-cta:hover .video-bg-overlay {
  background: rgba(0, 0, 0, 0.5);
}

.video-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.video-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-icon {
  width: 98px;
  height: 98px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.video-cta:hover .video-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

.video-icon svg {
  width: 100%;
  height: 100%;
  transition: all 0.3s ease;
}

.video-cta:hover .video-icon svg {
  transform: scale(1.05);
}

/* Our Benefits Section */
.benefits-section {
  background: #2c3e50;
  background-image: url(https://uscomfortside.com/wp-content/uploads/business.jpg);
  background-position: top right;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 80px 0;
  color: white;
  position: relative;
}

.benefits-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #0000009c;
  transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
}

.benefits-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.benefits-header {
  text-align: left;
  margin-bottom: 60px;
  max-width: 400px;
}

.benefits-header h2 {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.benefits-header p {
  font-size: 16px;
  line-height: 1.6;
  color: #ecf0f1;
  background: rgba(43, 195, 208, 0.2);
  padding: 20px;
  border-radius: 5px;
}

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

.benefit-item {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: transform 0.3s ease;
  box-shadow: 0 0 15px 0 rgb(0 0 0 / 0.61);
}

.benefit-item:hover {
  transform: translateY(-5px);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon svg {
  width: 100%;
  height: 100%;
}

.benefit-item h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #2BC3D0;
  text-transform: uppercase;
}

.benefit-item p {
  font-size: 16px;
  line-height: 1.6;
  color: #ecf0f1;
}

/* Video Modal */
.video-modal {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
}

.video-modal-content {
  position: relative;
  margin: 5% auto;
  width: 90%;
  border-radius: 10px;
  overflow: hidden;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.video-modal.active .video-modal-content {
  transform: scale(1);
}

.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
  background: rgba(0, 0, 0, 0.5);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.video-modal-close:hover {
  background: rgba(0, 0, 0, 0.8);
}

.video-modal-body {
  width: 100%;
  height: 100%;
  position: relative;
}

.video-modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Content sections адаптивные стили */
@media (max-width: 768px) {
  .section-container {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .section-text h2 {
    font-size: 24px;
  }

  .benefits-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
  }

  .benefits-header h2 {
    font-size: 36px;
  }

  .benefit-item {
    padding: 20px 15px;
  }

  .advantages-section .section-container {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .advantages-section .section-text h2 {
    font-size: 24px;
  }

  .energy-section .section-container {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .energy-section .section-text h2 {
    font-size: 24px;
  }

  .video-block {
    height: 250px;
  }

  .video-modal-content {
    margin: 10% auto;
    width: 95%;
    height: 70vh;
    max-height: 400px;
  }

  .video-modal-close {
    top: -35px;
    font-size: 24px;
    width: 35px;
    height: 35px;
  }
}

/* Our Brands Section */
.brands-section {
  padding: 60px 0 !important;
  background-color: #f5f5f5 !important;
  color: #333 !important;
}

.brands-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.brands-header {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 40px 0;
  margin-bottom: 20px;
}

.brands-header h2 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  margin: 0;
  color: #333 !important;
}

.brands-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.brand-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: stretch;
}

.brand-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #2BC3D0 !important;
  border: none !important;
  box-shadow: none !important;
  padding: 40px 30px;
  border-radius: 8px;
  color: white !important;
  height: 100%;
}

.brand-logo {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.brand-logo svg {
  height: 100%;
  width: auto;
  max-width: 200px;
}

.brands-section .brand-block p {
  color: white !important;
  line-height: 1.6;
  margin: 0;
  font-size: 14px;
  background: transparent !important;
  text-align: center;
}

.all-products-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white !important;
  text-decoration: none;
  font-weight: 500;
  margin-top: 15px;
  transition: opacity 0.3s ease;
  justify-content: center;
}

.all-products-link:hover {
  opacity: 0.8;
}

.all-products-link svg {
  width: 24px;
  height: auto;
  transition: transform 0.3s ease;
}

.all-products-link:hover svg {
  transform: translateX(5px);
}

.products-block {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: right;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.products-block h5 {
  color: #2BC3D0 !important;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 15px 0;
  letter-spacing: 1px;
}

.products-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.products-block li {
  color: #666 !important;
  font-size: 14px;
  line-height: 1.4;
}

.detail-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #2BC3D0 !important;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.detail-link:hover {
  transform: translateX(5px);
}

.detail-link svg {
  width: 24px;
  height: auto;
  transition: transform 0.3s ease;
}

.detail-link:hover svg {
  transform: translateX(5px);
}

/* Brands Section Responsive Design */
@media (max-width: 768px) {
  .brands-section {
    padding: 40px 0;
  }

  .brands-container {
    padding: 0 20px;
  }

  .brands-header h2 {
    font-size: 36px;
  }

  .brand-row {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

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

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

  .brand-logo {
    justify-content: center;
  }
}

/* News Section */
.news-section {
  padding: 80px 0;
}

.news-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 60px;
  align-items: start;
}

.news-left-column {
  padding: 0;
  position: sticky;
  top: 100px;
}

.news-left-column h2 {
  font-size: 56px;
  font-weight: 600;
  color: #28373D !important;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1.1;
}

.news-left-column p {
  font-size: 19px;
  color: #28373D !important;
  line-height: 1.7;
  margin-bottom: 20px;
  font-weight: 500;
}

.news-description {
    padding-right: 60px;
}

.all-news-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: #fff !important;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 45px;
    background: #2BC3D0;
    border-radius: 15px;
}

.all-news-link:hover {
  color: #28373D !important;
}

.all-news-link svg {
  width: 30px;
  height: auto;
  transition: transform 0.3s ease;
  fill: #fff;
}

.all-news-link:hover svg {
 /* transform: translateX(5px);*/
 fill: #000;
}

.news-right-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.news-card {
  background: white;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  
    border-radius: 20px;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.news-image {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #f5f5f5;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

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

.news-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #1999A4;
  color: white;
  padding: 8px 16px;
  border-radius: 0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.news-badge.cold-badge {
  background: #28373D;
}

.news-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: white;
}

.news-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #28373D !important;
  margin-bottom: 15px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-date {
  font-size: 13px;
  color: #1999A4 !important;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-content p {    
    font-size: 15px;
    color: #000 !important;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
    font-weight: 500;
}

.read-more-link {
      display: inline-flex;
    align-items: center;
    gap: 5px;

  color: #28373D !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.3s ease;
  margin-top: auto;
  align-self: flex-start;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 5px;
}

.read-more-link svg {
    width: 30px;
    fill: #000;
}

.read-more-link:hover svg {
    fill: #1999A4;
}

.read-more-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #1999A4;
  transition: width 0.3s ease;
}

.read-more-link:hover {
  color: #1999A4 !important;
}

.read-more-link:hover::after {
  width: 100%;
}

/* News Section Responsive Design */
@media (max-width: 1024px) {
  .news-container {
    max-width: 100%;
    padding: 0 30px;
    grid-template-columns: 350px 1fr;
    gap: 40px;
  }
  
  .news-left-column h2 {
    font-size: 48px;
  }
}

@media (max-width: 768px) {
  .news-section {
    padding: 60px 0;
  }
  
  .news-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 20px;
  }
  
  .news-left-column {
    position: static;
  }

  .news-right-column {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .news-left-column h2 {
    font-size: 40px;
  }
  
  .news-image {
    height: 220px;
  }
}

/* Single Post Styles */
.single-post-main {
  background: #f8f9fa;
  min-height: 100vh;
}

.single-post-hero {
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.8) 0%, rgba(44, 95, 127, 0.8) 100%);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 120px 0 80px 0;
  color: white;
  position: relative;
  overflow: hidden;
}

.single-post-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgb(25 33 43 / 94%) 0%, rgb(18 103 110 / 66%) 100%);
  z-index: 0;
}

.single-post-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: url(data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y=".9em" font-size="90" opacity="0.05" fill="white">HVAC</text></svg>) center center; */
  background-size: 300px;
  z-index: 1;
}

.single-post-hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.breadcrumbs-container {
  margin-bottom: 20px;
}

#breadcrumbs {
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 21px;
  color: #2BC3D0 !important;
  margin: 0;
}

#breadcrumbs a {
  color: #2BC3D0 !important;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

#breadcrumbs a:hover {
  opacity: 0.8;
}

.breadcrumb_last {
  color: rgba(255, 255, 255, 0.7) !important;
}

.post-date-hero {
  margin-bottom: 30px;
}

.post-date-text {
  color: rgba(255, 255, 255, 0.49) !important;
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
}

.single-post-hero-title {
  font-size: 48px;
  font-weight: 700;
  color: white !important;
  margin: 0 0 30px 0;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.post-hero-description {
  font-size: 16px;
  line-height: 1.6;
  color: #2BC3D0 !important;
  max-width: 600px;
  margin: 0;
}

.single-post-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.single-post-content {
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.single-post-content p {
  font-size: 16px;
  line-height: 1.7;
  color: #202020 !important;
  margin-bottom: 20px;
}

.single-post-content p:last-child {
  margin-bottom: 0;
}

.single-post-content strong {
  color: #000!important;
  font-weight: 700;
  font-size: 18px;
  display: block;
  margin: 30px 0 15px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #2BC3D0;
  position: relative;
}

.single-post-content strong::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: #1e3a5f;
}

.single-post-content h1,
.single-post-content h2,
.single-post-content h3,
.single-post-content h4,
.single-post-content h5,
.single-post-content h6 {
  color: #1e3a5f !important;
  font-weight: 700;
  margin: 30px 0 15px 0;
  line-height: 1.3;
  position: relative;
}

.single-post-content h1 {
  font-size: 28px;
  border-bottom: 3px solid #2BC3D0;
  padding-bottom: 10px;
}

.single-post-content h2 {
  font-size: 24px;
  border-bottom: 2px solid #2BC3D0;
  padding-bottom: 8px;
}

.single-post-content h3 {
  font-size: 20px;
  border-left: 4px solid #2BC3D0;
  padding-left: 15px;
}

.single-post-content h4 {
  font-size: 18px;
  color: #2BC3D0 !important;
}

.single-post-content h5,
.single-post-content h6 {
  font-size: 16px;
  color: #2BC3D0 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.single-post-content h1::after,
.single-post-content h2::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 60px;
  height: 3px;
  background: #1e3a5f;
}

.single-post-navigation {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.post-nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.nav-previous {
  text-align: left;
}

.nav-next {
  text-align: right;
}

.nav-link {
  display: block;
  text-decoration: none;
  color: #333 !important;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: #2BC3D0 !important;
}

.nav-subtitle {
  display: block;
  font-size: 12px;
  color: #2BC3D0 !important;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.nav-title {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.back-to-news {
  text-align: center;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #1e3a5f !important;
  text-decoration: none;
  font-weight: 600;
  background: white;
  padding: 15px 25px;
  border-radius: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.back-link:hover {
  color: #2BC3D0 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.back-link svg {
  transition: transform 0.3s ease;
}

.back-link:hover svg {
  transform: translateX(-3px);
}

/* Single Post Responsive Design */
@media (max-width: 768px) {
  .single-post-hero {
    padding: 80px 0 60px 0;
  }

  .single-post-hero-content {
    padding: 0 15px;
  }

  .single-post-hero-title {
    font-size: 32px;
  }

  .single-post-container {
    padding: 20px 15px;
  }

  .single-post-content {
    padding: 25px;
  }

  .single-post-navigation {
    padding: 20px;
  }

  .post-nav-links {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .nav-next {
    text-align: left;
  }
}

/* Archive Page Styles */
.archive-main {
  background: #f8f9fa;
  min-height: 100vh;
}

.archive-header {
  background: linear-gradient(135deg, #1e3a5f 0%, #2c5f7f 100%);
  padding: 80px 0 120px 0;
  color: white;
  position: relative;
}

/* Dynamic background for categories with custom background */
.archive-header.has-custom-background {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Default background for all news pages when no custom background is set */
.archive .archive-header:not(.has-custom-background),
.blog .archive-header:not(.has-custom-background) {
  background-image:     url(https://uscomfortside.com/wp-content/uploads/2025/09/HVAC_distributor-USCOMFORTSIDE.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.archive-header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.archive-title {
  font-size: 62px;
  font-weight: 700;
  color: white !important;
  margin: 20px 0;
  text-transform: uppercase;
}

.archive-description {
    font-size: 19px;
    max-width: 70%;
    font-weight: 500;
    margin: auto;
}

.archive-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: -50px;
}

/* Sidebar Styles */
.archive-sidebar {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 0;
  height: fit-content;
  position: sticky;
  top: 20px;
}

.sidebar-widget {
  padding: 30px;
  border-bottom: 1px solid #eee;
}

.sidebar-widget:last-child {
  border-bottom: none;
}

.widget-title {
  font-size: 20px;
  font-weight: 700;
  color: #1e3a5f !important;
  margin: 0 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #2BC3D0;
}

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

.categories-list li {
  margin-bottom: 10px;
}

.categories-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  color: #666 !important;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.categories-list a:hover,
.categories-list a.active {
  background: #2BC3D0;
  color: white !important;
}

.post-count {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 8px;
  border-radius: 10px;
  font-size: 12px;
}

.categories-list a.active .post-count {
  background: rgba(255, 255, 255, 0.3);
}

.recent-posts-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.recent-posts-list li {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

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

.recent-posts-list a {
  display: block;
  text-decoration: none;
  color: #333 !important;
}

.recent-post-title {
  display: block;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
  margin-bottom: 5px;
  color: #1e3a5f !important;
}

.recent-post-date {
  font-size: 12px;
  color: #2BC3D0 !important;
  font-weight: 500;
}

/* Posts Grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

/* Posts Info Bar */
.posts-info {
  margin-bottom: 30px;
  padding: 15px 20px;
  background: #f8f9fa;
  border-radius: 6px;
  border-left: 4px solid #2BC3D0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.posts-info p {
  margin: 0;
  color: #666 !important;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.posts-info p::before {
  content: "📊";
  font-size: 16px;
}

.post-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.post-card:hover {
  transform: translateY(-5px);
}

.post-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.post-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.post-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(43, 195, 208, 0.9);
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

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

.post-card-title {
  margin: 0 0 15px 0;
}

.post-card-title a {
  color: #1e3a5f !important;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.post-card-title a:hover {
  color: #2BC3D0 !important;
}

.post-card-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 12px;
}

.post-date {
  color: #2BC3D0 !important;
  font-weight: 600;
}

.post-category a {
  color: #666 !important;
  text-decoration: none;
  font-weight: 500;
}

.post-category a:hover {
  color: #2BC3D0 !important;
}

.post-card-excerpt {
  color: #666 !important;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1e3a5f !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  margin-top: auto;
  align-self: flex-start;
}

.read-more-btn:hover {
  color: #2BC3D0 !important;
}

.read-more-btn svg {
  transition: transform 0.3s ease;
}

.read-more-btn:hover svg {
  transform: translateX(3px);
}

/* Pagination */
.archive-pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  padding: 20px 0;
}

.archive-pagination .page-numbers {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.archive-pagination .page-numbers li {
  margin: 0;
}

.archive-pagination .page-numbers a,
.archive-pagination .page-numbers span {
  display: block;
  padding: 12px 16px;
  color: #1e3a5f !important;
  text-decoration: none;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  min-width: 45px;
  text-align: center;
  background: white;
}

.archive-pagination .page-numbers a:hover,
.archive-pagination .page-numbers .current {
  background: #2BC3D0;
  border-color: #2BC3D0;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(43, 195, 208, 0.3);
}

.archive-pagination .page-numbers .dots {
  border: none;
  background: transparent;
  color: #999 !important;
  font-weight: bold;
  cursor: default;
}

.archive-pagination .page-numbers .dots:hover {
  background: transparent;
  transform: none;
  box-shadow: none;
}

/* Previous/Next buttons styling */
.archive-pagination .page-numbers .prev,
.archive-pagination .page-numbers .next {
  padding: 12px 20px;
  font-size: 14px;
  min-width: auto;
}

.archive-pagination .page-numbers .prev:hover,
.archive-pagination .page-numbers .next:hover {
  background: #1e3a5f;
  border-color: #1e3a5f;
  color: white !important;
}

/* No Posts Found */
.no-posts-found {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.no-posts-found h2 {
  color: #1e3a5f !important;
  font-size: 32px;
  margin-bottom: 15px;
}

.no-posts-found p {
  color: #666 !important;
  font-size: 16px;
  margin-bottom: 30px;
}

.back-home-btn {
  display: inline-block;
  background: #2BC3D0;
  color: white !important;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.back-home-btn:hover {
  background: #1e9aa5;
}

/* Archive Responsive Design */
@media (max-width: 992px) {
  .archive-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .archive-sidebar {
    order: 2;
    position: static;
  }

  .posts-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .archive-header {
    padding: 80px 0 60px 0;
  }

  .archive-title {
    font-size: 32px;
  }

  .archive-container {
    padding: 20px 15px;
  }

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

  .sidebar-widget {
    padding: 20px;
  }
  
  .archive-description {
      max-width: 100%;
  }
}

/* ==========================================================================
   BRANDS PAGE STYLES
   ========================================================================== */

/* Заголовок страницы Brands */
.brands-page-section {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #2BC3D0 0%, #1999a4 100%);
  position: relative;
}

.brands-page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.brands-page-title h1 {
  font-size: 48px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.brands-page-title p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
}

/* Секция брендов */
.brands-section {
  padding: 80px 0;
  background: white;
}

.brands-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}

.brands-left-column {
  display: flex;
  flex-direction: column;
}

.brands-right-column {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.brands-title-block {
  text-align: left;
}

.brands-title-block h2 {
  font-size: 72px;
  font-weight: 900;
  color: #2c3e50;
  line-height: 0.9;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: -2px;
}

.brands-accent-block {
  width: 120px;
  height: 8px;
  background: #2BC3D0;
  margin-bottom: 40px;
  border-radius: 4px;
}

.detail-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: #1999a4;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.detail-link:hover {
  color: #2BC3D0;
  transform: translateX(5px);
}

.detail-link svg {
  transition: transform 0.3s ease;
}

.detail-link:hover svg {
  transform: translateX(5px);
}

/* Карточки брендов */
.brand-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.brand-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.brand-card.cooper-hunter {
  border-color: #e74c3c;
}

.brand-card.cooper-hunter:hover {
  border-color: #c0392b;
}

.brand-card.olmo {
  border-color: #3498db;
}

.brand-card.olmo:hover {
  border-color: #2980b9;
}

.brand-logo {
  text-align: center;
  margin-bottom: 30px;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo img {
  max-width: 200px;
  height: auto;
  transition: transform 0.3s ease;
}

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

.brand-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 25px;
}

.brand-website {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 25px;
  border-left: 4px solid #2BC3D0;
}

.brand-website span {
  display: block;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 8px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.brand-website a {
  color: #1999a4;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.brand-website a:hover {
  color: #2BC3D0;
}

.products-block h5 {
  font-size: 14px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.products-block li {
  padding: 8px 0;
  border-bottom: 1px solid #ecf0f1;
  color: #666;
  position: relative;
  padding-left: 20px;
}

.products-block li:before {
  content: "•";
  color: #2BC3D0;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.products-block li:last-child {
  border-bottom: none;
}

/* Галерея брендирования */
.branding-slider-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.branding-slider-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.branding-slider-title h2 {
  font-size: 42px;
  font-weight: 900;
  color: #2c3e50;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.branding-slider-title p {
  font-size: 18px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.elementor-image-carousel-wrapper {
  position: relative;
}

.elementor-image-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
}

.swiper-slide {
  flex: 0 0 300px;
  scroll-snap-align: start;
}

.swiper-slide-inner {
  margin: 0;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.swiper-slide-inner:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.swiper-slide-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.swiper-slide-inner:hover .swiper-slide-image {
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
  .brands-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .brands-title-block h2 {
    font-size: 48px;
    text-align: center;
  }

  .brands-page-title h1 {
    font-size: 36px;
  }

  .brand-card {
    padding: 30px 20px;
  }

  .brands-right-column {
    gap: 30px;
  }

  .branding-slider-title h2 {
    font-size: 32px;
  }

  .swiper-slide {
    flex: 0 0 250px;
  }
}

/* ==========================================================================
   VIDEO MODAL STYLES
   ========================================================================== */

.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  transition: opacity 0.3s ease;
}

.video-modal.active {
  opacity: 1;
}

.video-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.video-modal-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  height: 80%;
  background: transparent;
  border-radius: 10px;
  overflow: visible;
}

.video-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10001;
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: 0;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  background: #000;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Video CTA Styles */
.video-block {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   CONTACT PAGE STYLES (точное соответствие HTML)
   ========================================================================== */

/* Contact Page Header */
.contact-page-title {
  background-image: url(https://uscomfortside.com/wp-content/uploads/2025/09/HVAC_distributor-USCOMFORTSIDE.webp);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 120px 0;
  text-align: center;
  position: relative;
}

.contact-page-title::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}

.contact-page-title>* {
  position: relative;
  z-index: 2;
}

.contact-page-title h1 {
  font-size: 62px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.contact-page-title p {
    font-size: 19px;
    color: #ecf0f1;
    margin: 0 auto;
    padding: 0 20px;
}

/* Contact Content */
.contact-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  overflow: visible;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.7fr 1fr;
    gap: 10px;
    margin-bottom: 80px;
}

/* Contact Info Section (темный блок слева) */
.contact-info-section {
  border-radius: 15px;
}

.contact-info-section .contact-item {
    margin: 0;
    justify-content: start;
}


.contact-info-section h2 {
    font-size: 42px;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-details .contact-text {
    color: #000;
    font-size: 19px;
    line-height: 1.6;
    font-weight: 500;
}

.contact-accent-block {
  width: 100px;
  height: 8px;
  background: #2BC3D0;
  margin-bottom: 30px;
  border-radius: 4px;
}

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

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-icon {
  flex-shrink: 0;
  margin-top: 3px;
  width: 24px;
  height: 24px;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-text {
  color: #000;
  font-size: 18px;
  line-height: 1.5;
}


.contact-text a {
  color: #2BC3D0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info-section .contact-text a {
    color: #000;
}

.contact-text a:hover {
  color: white;
}

/* Contact Form Section */
.contact-form-section h2 {
  font-size: 36px;
  font-weight: 900;
  color: #000;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.contact-form-section p {
  color: #000;
  font-size: 19px;
  margin-bottom: 40px;
}

/* Стили формы как в HTML */
.custom-contact-form {
  font-family: 'Arial', sans-serif;
  color: #222;
  max-width: 85%;
}

.custom-field {
  position: relative;
  margin-bottom: 25px;
}

.custom-field input[type="text"],
.custom-field input[type="email"],
.custom-field input[type="tel"],
.custom-field textarea {
  width: 100%;
  padding: 12px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  background: transparent;
  transition: border 0.3s ease;
  box-sizing: border-box;
}

.custom-field input:focus,
.custom-field textarea:focus {
  border-color: #2BC3D0;
  outline: none;
}

.custom-field label {
  position: absolute;
  top: 12px;
  left: 12px;
  background: white;
  color: #777;
  font-size: 14px;
  padding: 0 4px;
  transition: all 0.2s ease;
  pointer-events: none;
}

.custom-field input:focus+label,
.custom-field input:not(:placeholder-shown)+label,
.custom-field textarea:focus+label,
.custom-field textarea:not(:placeholder-shown)+label {
  top: -10px;
  left: 8px;
  font-size: 12px;
  color: #2BC3D0;
}

.custom-field textarea {
  min-height: 100px;
  resize: vertical;
}

/* Contact Form 7 стили с анимированными плейсхолдерами */
.wpcf7-form p {
  margin-bottom: 20px;
  position: relative;
}

.wpcf7-form-control-wrap {
  position: relative;
  display: block;
}

.wpcf7-form-control:not(.wpcf7-submit) {
  width: 100%;
  /* padding: 12px 10px; */
  /* border: 1px solid #ccc; */
  border-radius: 6px;
  font-size: 16px;
  background: transparent;
  transition: border 0.3s ease;
  box-sizing: border-box;
  font-family: inherit;
}

.wpcf7-form-control:focus {
  border-color: #2BC3D0;
  outline: none;
  box-shadow: none;
}

/* Стили для floating labels */
.custom-field {
  position: relative;
  margin-bottom: 25px;
}

.custom-field .wpcf7-form-control:not(.wpcf7-submit) {
  width: 100%;
  padding: 12px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  background: transparent;
  transition: border 0.3s ease;
}

.custom-field .wpcf7-form-control:focus {
  border-color: #2BC3D0;
  outline: none;
}

.custom-field label {
  position: absolute;
  top: 12px;
  left: 12px;
  background: white;
  color: #777;
  font-size: 14px;
  padding: 0 4px;
  transition: all 0.2s ease;
  pointer-events: none;
  z-index: 1;
}

.custom-field .wpcf7-form-control:focus + label,
.custom-field .wpcf7-form-control:not(:placeholder-shown) + label,
.custom-field label.active {
  top: -10px;
  left: 8px;
  font-size: 12px;
  color: #2BC3D0;
}

.wpcf7-form-control::placeholder {
  color: transparent;
  font-size: 14px;
}

.wpcf7-textarea {
  min-height: 100px;
  resize: vertical;
}

/* Чекбоксы - только квадратики */
.wpcf7-acceptance {
  font-size: 14px;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.wpcf7-acceptance label {
  margin: 0;
  color: #333;
  font-size: 14px;
}

.wpcf7-acceptance a {
  color: #2BC3D0;
  text-decoration: none;
}

.wpcf7-acceptance a:hover {
  text-decoration: underline;
}

/* Дисклеймер */
.disclaimer-text {
  font-size: 12px;
  color: #888;
  margin: 15px 0;
  line-height: 1.4;
}

/* Кнопка отправки */
.wpcf7-submit {
  background: #2BC3D0;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.3s ease;
  font-family: inherit;
}

.wpcf7-submit:hover {
  background: #1999a4;
}

/* Красивые кастомные чекбоксы */
.wpcf7-acceptance {
  position: relative;
}

.wpcf7-acceptance input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #ddd;
  border-radius: 3px;
  margin: 0;
  margin-top: 2px;
  margin-right: 8px;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
  background: transparent;
  flex-shrink: 0;
  display: inline-block;
}

.wpcf7-acceptance input[type="checkbox"]:hover {
  border-color: #2BC3D0;
}

.wpcf7-acceptance input[type="checkbox"]:checked {
  background: #2BC3D0;
  border-color: #2BC3D0;
}

.wpcf7-acceptance input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: -2px;
  left: 2px;
  color: white;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
}

.wpcf7-acceptance input[type="checkbox"]:focus {
  outline: none;
}

/* Response messages */
.wpcf7-response-output {
  margin-top: 20px;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 14px;
}

.wpcf7-mail-sent-ok {
  background: #dff6f6;
  color: #007b7c;
  border: 1px solid #2BC3D0;
}

.wpcf7-mail-sent-ng,
.wpcf7-validation-errors {
  background: #fff0f0;
  color: #a10000;
  border: 1px solid #ffaaaa;
}

/* Location Section */
.location-section {
  text-align: center;
  margin-top: 80px;
}

.location-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.elementor-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.elementor-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #2BC3D0;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.elementor-icon:hover {
  background: #1e3a5f;
  transform: translateY(-2px);
}

.elementor-icon svg {
  width: 40px;
  height: 40px;
  fill: white;
}

.elementor-heading-title {
  font-size: 36px;
  font-weight: 900;
  color: #1e3a5f;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
}

/* Map Container */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .contact-page-title {
    padding: 80px 0;
  }

  .contact-page-title h1 {
    font-size: 36px;
  }

  .contact-content {
    padding: 40px 20px;
  }

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

  .contact-info-section {
    padding: 0 25px;
  }

  .contact-info-section h2,
  .contact-form-section h2 {
    font-size: 28px;
  }

  .elementor-heading-title {
    font-size: 28px;
  }

  .contact-text {
    color: #ecf0f1;
    font-size: 18px;
    line-height: 1.5;
  }

  .map-container {
    height: 300px;
  }

  .location-title {
    flex-direction: column;
    gap: 10px;
  }

  .custom-contact-form {
    max-width: 100%;
  }
}

/* About Page Styles */

/* About page hero section */
.about-page-section {
    background: #2c3e50;
    background-image: url('https://uscomfortside.com/wp-content/uploads/2025/09/HVAC_distributor-USCOMFORTSIDE.webp');
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 80px 0;
    color: white;
    position: relative;
}

.about-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.about-page-title h1 {
    font-size: 48px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-page-title p {
    font-size: 18px;
    color: #ffffff;
    max-width: 600px;
    margin: 0 auto;
}

/* Welcome Section */
.welcome-section {
    padding: 80px 0;
    background: white;
}

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

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

.welcome-text {
    text-align: left;
}

.welcome-text h2 {
    font-size: 48px;
    font-weight: 900;
    color: #1e3a5f;
    margin-bottom: 20px;
    line-height: 0.9;
    letter-spacing: -1px;
}

.welcome-accent-block {
    width: 200px;
    height: 20px;
    background: #2BC3D0;
    margin-bottom: 30px;
}

.welcome-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

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

.section-image {
    position: relative;
}

.video-block {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.video-cta {
    display: block;
    position: relative;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.video-cta:hover {
    transform: scale(1.02);
}

.video-bg-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.video-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.video-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
}

.video-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.video-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-cta:hover .video-icon-wrapper {
    transform: scale(1.1);
}

.video-icon {
    width: 98px;
    height: 98px;
}

/* About Content Section */
.about-content-section {
    padding: 80px 0;
    background: white;
}

.about-content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.about-text {
    text-align: left;
}

.about-text h2 {
    font-size: 36px;
    font-weight: 900;
    color: #1e3a5f;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1e3a5f;
    margin: 30px 0 15px 0;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.about-text ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.about-text li {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    line-height: 1.6;
}

.about-text li:before {
    content: "✓";
    color: #2BC3D0;
    font-weight: bold;
    position: absolute;
    left: 0;
}

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

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Innovative Section */
.innovative-section {
    padding: 80px 0;
    background: white;
}

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

.elementor-row {
    display: flex;
    align-items: center;
    gap: 40px;
}

.elementor-column {
    flex: 1;
}

.elementor-col-50 {
    flex: 0 0 50%;
}

.elementor-hidden-phone,
.elementor-hidden-tablet {
    display: none;
}

.elementor-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.elementor-heading-title {
    font-size: 36px;
    font-weight: 900;
    color: #000;
    margin-bottom: 20px;
    line-height: 1.1;
}

.elementor-text-editor p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.fadeIn {
    animation-name: fadeIn;
}

.fadeInUp {
    animation-name: fadeInUp;
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background: white;
}

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

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

.values-title h2 {
    font-size: 36px;
    font-weight: 900;
    color: #1e3a5f;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.value-card {
    text-align: center;
    padding: 30px 20px;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: #2BC3D0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 30px;
}

.value-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 15px;
}

.value-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

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

.team-title h2 {
    font-size: 36px;
    font-weight: 900;
    color: #1e3a5f;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-title p {
    font-size: 16px;
    color: #666;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.team-member {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.team-member h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 10px;
}

.team-member .position {
    font-size: 14px;
    color: #2BC3D0;
    font-weight: 600;
    margin-bottom: 15px;
}

.team-member .description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Team Slider Section */
.team-slider-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.team-slider-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.team-slider-title {
    text-align: center;
    margin-bottom: 50px;
}

.team-slider-title h2 {
    font-size: 36px;
    font-weight: 900;
    color: #1e3a5f;
    margin: 0;
}

.elementor-image-carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.elementor-image-carousel {
    display: flex;
    transition: transform 0.3s ease;
}

.swiper-slide {
    flex: 0 0 33.333%;
    padding: 10px;
}

.swiper-slide-inner {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.swiper-slide-inner:hover {
    transform: translateY(-5px);
}

.swiper-slide-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.swiper-pagination {
    text-align: center;
    margin-top: 30px;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ddd;
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #2BC3D0;
}

.elementor-swiper-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(43, 195, 208, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.elementor-swiper-button:hover {
    background: #2BC3D0;
    transform: translateY(-50%) scale(1.1);
}

.elementor-swiper-button-prev {
    left: 20px;
}

.elementor-swiper-button-next {
    right: 20px;
}

.elementor-swiper-button i {
    color: white;
    font-size: 20px;
}

.elementor-screen-only {
    display: none;
}

/* Become Partner Section */
.become-partner-section {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.become-partner-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    transition: transform 0.3s ease;
}

.become-partner-section:hover .become-partner-bg {
    transform: scale(1.05);
}

.elementor-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(31 54 61 / 67%);
    z-index: 1;
    transition: all 0.3s ease;
}

.become-partner-section:hover .elementor-background-overlay {
    background: #1F363D;
}

.elementor-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.elementor-cta {
    text-align: center;
    padding: 80px 40px;
}

.elementor-cta__bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.elementor-cta__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.become-partner-section:hover .elementor-cta__bg-wrapper {
    transform: scale(1.05);
}

.elementor-cta__bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.elementor-cta__content {
    position: relative;
    z-index: 3;
}

.elementor-cta__title {
    font-size: 48px;
    font-weight: 900;
    color: white;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.become-partner-section:hover .elementor-cta__title {
    transform: translateY(-5px);
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.elementor-cta__button-wrapper {
    margin-top: 20px;
}

.elementor-cta__button {
    display: inline-block;
    padding: 15px 40px;
    background: #2BC3D0;
    color: #1f363d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 2px solid #2BC3D0;
}

.become-partner-section:hover .elementor-cta__button {
    background: #1a9ba8;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(43, 195, 208, 0.3);
}

.elementor-cta__button:hover {
    background: transparent;
    color: #2BC3D0;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(43, 195, 208, 0.3);
}

.elementor-animated-item--grow {
    animation: growIn 1s ease-out;
}

@keyframes growIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Mobile responsive styles for About page */
@media (max-width: 768px) {
    .about-page-title h1 {
        font-size: 32px;
    }
    
    .welcome-grid,
    .about-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .welcome-text h2 {
        font-size: 32px;
    }
    
    .elementor-row {
        flex-direction: column;
        gap: 40px;
    }
    
    .elementor-col-25 {
        flex: 1;
    }
    
    .elementor-hidden-phone,
    .elementor-hidden-tablet {
        display: block;
    }
    
    .elementor-heading-title {
        font-size: 28px;
    }
    
    .elementor-cta__title {
        font-size: 32px;
    }
}

/* Our Warehouse Section */
.warehouse-section {
    padding: 80px 0;
    background: white;
}

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

.warehouse-title {
    text-align: center;
    margin-bottom: 50px;
}

.warehouse-title h2 {
    font-size: 36px;
    font-weight: 900;
    color: #1e3a5f;
    margin: 0;
}

/* --- Contact Form Custom Styles (matches provided mockup) --- */
.contact-form-section {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.08);
    padding: 32px 24px 32px 24px;
    z-index: 9;
    display: flex;
    flex-direction: column;
    align-items: center;
}



.contact-form-section h2 {
  color: #22c3d0;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.contact-form-section p,
.contact-form-section label {
  color: #222;
  font-size: 1rem;
  margin-bottom: 0.5em;
}

.contact-form-section .wpcf7-form input[type="text"],
.contact-form-section .wpcf7-form input[type="email"],
.contact-form-section .wpcf7-form input[type="tel"],
.contact-form-section .wpcf7-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid #bfc9d9;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 16px;
  background: #fff;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.contact-form-section .wpcf7-form input[type="text"]:focus,
.contact-form-section .wpcf7-form input[type="email"]:focus,
.contact-form-section .wpcf7-form input[type="tel"]:focus,
.contact-form-section .wpcf7-form textarea:focus {
  border-color: #22c3d0;
  outline: none;
}

.contact-form-section .wpcf7-form .wpcf7-acceptance {
  margin-bottom: 18px;
}
.contact-form-section .wpcf7-form .wpcf7-acceptance label {
  font-weight: 600;
  color: #222;
  font-size: 1rem;
  margin-bottom: 0;
}
.contact-form-section .wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
  accent-color: #22c3d0;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: middle;
}
.contact-form-section .wpcf7-form .wpcf7-acceptance a {
  color: #22c3d0;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s;
}
.contact-form-section .wpcf7-form .wpcf7-acceptance a:hover {
  color: #1a9aa5;
}

.contact-form-section .wpcf7-form .wpcf7-submit {
  background: #22c3d0;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 12px 0;
  width: 180px;
  margin-top: 12px;
  margin-bottom: 0;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(34,195,208,0.10);
  letter-spacing: 1px;
  transition: background 0.2s;
  display: block;
}
.contact-form-section .wpcf7-form .wpcf7-submit:hover {
  background: #1a9aa5;
}

.contact-form-section .wpcf7-form .wpcf7-response-output {
  margin-top: 18px;
  border-radius: 8px;
  font-size: 1rem;
}

.contact-form-section .wpcf7-form .wpcf7-not-valid-tip {
  color: #e74c3c;
  font-size: 0.95rem;
  margin-top: -10px;
  margin-bottom: 10px;
}

.contact-form-section .wpcf7-form .wpcf7-spinner {
  margin-left: 10px;
}

.contact-form-section .wpcf7-form .custom-field label {
  font-weight: 500;
  color: #222;
  font-size: 1rem;
}

.contact-form-section .wpcf7-form .custom-field {
  margin-bottom: 18px;
}

.contact-form-section .wpcf7-form .wpcf7-list-item {
  margin: 0 0 0 0;
  padding: 0;
}

.contact-form-section .wpcf7-form .wpcf7-acceptance p {
  margin: 0 0 10px 0;
}

.contact-form-section .wpcf7-form .wpcf7-acceptance input[type="checkbox"]:focus {
  outline: 2px solid #22c3d0;
}

.contact-form-section .wpcf7-form .wpcf7-acceptance label strong {
  font-weight: 700;
}

.contact-form-section .wpcf7-form .wpcf7-acceptance {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form-section .wpcf7-form .wpcf7-acceptance p {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-form-section .wpcf7-form .wpcf7-acceptance .wpcf7-list-item {
  display: inline-block;
}

.contact-form-section .wpcf7-form .wpcf7-acceptance .wpcf7-form-control-wrap {
  display: inline-block;
}

.contact-form-section .wpcf7-form .wpcf7-acceptance .wpcf7-list-item-label {
  font-weight: 500;
  color: #222;
  font-size: 1rem;
}

.contact-form-section .wpcf7-form .wpcf7-acceptance .wpcf7-list-item input[type="checkbox"] {
  margin-right: 8px;
}

.contact-form-section .wpcf7-form .wpcf7-acceptance .wpcf7-list-item-label a {
  color: #22c3d0;
  text-decoration: underline;
  font-weight: 500;
}
.contact-form-section .wpcf7-form .wpcf7-acceptance .wpcf7-list-item-label a:hover {
  color: #1a9aa5;
}

.contact-form-section .wpcf7-form .wpcf7-acceptance .wpcf7-list-item-label strong {
  font-weight: 700;
}

.contact-form-section .wpcf7-form .wpcf7-acceptance .wpcf7-list-item-label {
  font-weight: 500;
}

.contact-form-section .wpcf7-form .wpcf7-acceptance .wpcf7-list-item input[type="checkbox"]:focus {
  outline: 2px solid #22c3d0;
}

.contact-form-section .wpcf7-form .wpcf7-acceptance .wpcf7-list-item {
  margin-bottom: 0;
}

.contact-form-section .wpcf7-form .wpcf7-acceptance .wpcf7-list-item:last-child {
  margin-bottom: 0;
}

.contact-form-section .wpcf7-form .wpcf7-acceptance .wpcf7-list-item-label {
  margin-bottom: 0;
}

.contact-form-section .wpcf7-form .wpcf7-acceptance .wpcf7-list-item {
  margin-right: 0;
}

.contact-form-section .wpcf7-form .wpcf7-acceptance .wpcf7-list-item input[type="checkbox"] {
  accent-color: #22c3d0;
}
@media(min-width: 768px) {
  .contact-form-section {
    margin: -180px 0 0 0;
  }
  .contact-page-title p {
    max-width: 25%;
  }  
 
}

@media (max-width: 480px) {
   .contact-form-section h2 {
    font-size: 1.8rem;
    letter-spacing: 1px;
}
}
/* ================================================
   Contact CTA Section Styles
   ================================================ */

.contact-cta-section {
    position: relative;
    width: 100%;
    min-height: 500px;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Background Image - Full Cover */
.contact-cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Overlay with 0.5 opacity */
.contact-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

/* Content Container - Centered */
.contact-cta-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #ffffff;
    max-width: 70%;
}

/* Title Styling */
.contact-cta-content h2 {
    font-size: 62px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 20px 0;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Description Styling */
.contact-cta-content p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0 auto 35px auto;
    color: #ffffff;
}

/* Button Styling */
.contact-cta-button {
    display: inline-block;
    padding: 10px 65px;
    background-color: #2BC3D0;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    border: 2px solid #2BC3D0;
}

.contact-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(43, 195, 208, 0.3);
}

/* Responsive Styles for Contact CTA Section */

/* Tablets */
@media (max-width: 768px) {
    .contact-cta-section {
        min-height: 400px;
        height: 50vh;
    }

    .contact-cta-content h2 {
        font-size: 36px;
    }

    .contact-cta-content p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .contact-cta-button {
        padding: 14px 32px;
        font-size: 15px;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    .contact-cta-section {
        min-height: 350px;
        height: auto;
    }

    .contact-cta-content {
        padding: 30px 15px;
    }

    .contact-cta-content h2 {
        font-size: 28px;
        letter-spacing: 1px;
        margin-bottom: 15px;
    }

    .contact-cta-content p {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 25px;
    }

    .contact-cta-button {
        padding: 12px 28px;
        font-size: 14px;
        width: auto;
    }
}

@media (min-width: 1024px) {
    .contact-cta-content p {
      
    max-width: 40%;
    }
}

/* News Grid for Archive Pages */
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}

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

/* New Single Post Design */
.single-post-main {
  background: #fff;
  min-height: 100vh;
}

/* Header Section */
.single-post-header {
  background: white;
  padding: 40px 0 60px;
}

.single-post-header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Back Button */
.back-to-news-top {
  position: absolute;
}

.back-link-top {
    display: inline-flex
;
    align-items: center;
    gap: 8px;
    color: #9ca3af !important;
    text-decoration: none;
    font-size: 19px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0;
    transition: color 0.3s ease;
}

.back-link-top:hover {
  color: #6b7280 !important;
}

.back-link-top svg {
  transition: transform 0.3s ease;
  stroke: #9ca3af;
}

.back-link-top:hover svg {
  transform: translateX(-3px);
  stroke: #6b7280;
}

/* Post Title */
.single-post-title {
    font-size: 62px;
    font-weight: 600;
    color: #000 !important;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.1px;
    text-align: center;
    max-width: 80%;
    margin: 0 auto;
}

/* Post Date */
.single-post-date {
  margin-bottom: 0;
  text-align: center;
}

.single-post-date span {
  font-size: 19px;
  color: #6BC4D0 !important;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

/* Images Section */
.single-post-images {
  background: white;
  padding: 60px 0;
}

.images-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 63% 37%;
  gap: 20px;
  align-items: start;
}

/* Main Image */
.main-image {
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.main-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Side Images */
.side-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.side-image {
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.side-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Post Container */
.single-post-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background: white;
  margin-top: 0;
}

/* Post Content */
.single-post-content {
  background: white;
  border-radius: 0;
  box-shadow: none;
}

.single-post-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #000 !important;
    margin-bottom: 25px;
    font-weight: 500;
  }

.single-post-content h2 {
  font-size: 32px;
  font-weight: 700;
  color: #28373D !important;
  margin: 40px 0 20px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.single-post-content h3 {
  font-size: 24px;
  font-weight: 600;
  color: #28373D !important;
  margin: 30px 0 15px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* More News Section */
.more-news-section {
}

.more-news-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.more-news-title {
  font-size: 36px;
  font-weight: 600;
  color: #28373D !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 20px 0;
}

.more-news-divider {
  width: 100%;
  height: 2px;
  background: #33C1CE;
  margin-bottom: 40px;
}

.more-news-slider {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 10px;
}

.more-news-slider::-webkit-scrollbar {
  display: none;
}

.more-news-slider:active {
  cursor: grabbing;
}

.more-news-card {
  flex: 0 0 300px;
  background: white;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.more-news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.more-news-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #f5f5f5;
  border-radius: 10px;
}

.more-news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

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

.more-news-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.more-news-card-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: #28373D !important;
  margin: 0;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.more-news-card-date {
  font-size: 14px;
  color: #6BC4D0 !important;
  font-weight: 400;
}

.no-more-news {
  text-align: center;
  font-size: 18px;
  color: #666;
  padding: 40px 0;
}

/* ========================================
   SINGLE POST - MOBILE RESPONSIVE STYLES
   ======================================== */

/* Tablet and below (1024px) */
@media (max-width: 1024px) {
  .single-post-header {
    padding: 30px 0 50px;
  }

  .single-post-header-content {
    padding: 0 15px;
  }

  .single-post-title {
    font-size: 48px;
    max-width: 90%;
  }

  .single-post-date span {
    font-size: 17px;
  }

  /* Images Section */
  .images-container {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .single-post-container {
    padding: 50px 15px;
  }

  .single-post-content {
    padding: 30px;
  }

  /* More News Section */
  .more-news-container {
    padding: 0 15px;
  }

  .more-news-title {
    font-size: 32px;
  }

  .more-news-card {
    flex: 0 0 280px;
  }
}

/* Mobile Large (768px) */
@media (max-width: 768px) {
  .single-post-header {
    padding: 20px 0 40px;
  }

  .back-to-news-top {
    position: static;
    margin-bottom: 20px;
  }

  .back-link-top {
    font-size: 16px;
    gap: 6px;
  }

  .back-link-top svg {
    width: 18px;
    height: 18px;
  }

  .single-post-title {
    font-size: 36px;
    max-width: 100%;
    line-height: 1.2;
    letter-spacing: 0;
  }

  .single-post-date span {
    font-size: 16px;
  }

  /* Images Section */
  .single-post-images {
    padding: 40px 0;
  }

  .images-container {
    padding: 0 15px;
    gap: 15px;
  }

  .main-image,
  .side-image {
    border-radius: 8px;
  }

  /* Post Content */
  .single-post-container {
    padding: 40px 15px;
  }

  .single-post-content {
    padding: 25px 20px;
  }

  .single-post-content p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
  }

  .single-post-content h2 {
    font-size: 26px;
    margin: 30px 0 15px 0;
  }

  .single-post-content h3 {
    font-size: 20px;
    margin: 25px 0 12px 0;
  }

  /* More News Section */
  .more-news-divider {
    margin-bottom: 30px;
  }

  .more-news-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .more-news-slider {
    gap: 20px;
  }

  .more-news-card {
    flex: 0 0 260px;
  }

  .more-news-card-image {
    height: 180px;
  }

  .more-news-card-content {
    padding: 15px;
  }

  .more-news-card-content h3 {
    font-size: 16px;
  }
}

/* Mobile (480px) */
@media (max-width: 480px) {
  .single-post-header {
    padding: 15px 0 30px;
  }

  .single-post-header-content {
    padding: 0 10px;
  }

  .back-to-news-top {
    margin-bottom: 15px;
  }

  .back-link-top {
    font-size: 14px;
    gap: 5px;
  }

  .back-link-top svg {
    width: 16px;
    height: 16px;
  }

  .single-post-title {
    font-size: 28px;
    line-height: 1.1;
    letter-spacing: -0.5px;
  }

  .single-post-date span {
    font-size: 14px;
  }

  /* Images Section */
  .single-post-images {
    padding: 30px 0;
  }

  .images-container {
    padding: 0 10px;
    gap: 12px;
  }

  .main-image,
  .side-image {
    border-radius: 6px;
  }

  /* Post Content */
  .single-post-container {
    padding: 30px 10px;
  }

  .single-post-content {
    padding: 20px 15px;
  }

  .single-post-content p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 18px;
  }

  .single-post-content h2 {
    font-size: 22px;
    margin: 25px 0 12px 0;
    letter-spacing: 0;
  }

  .single-post-content h3 {
    font-size: 18px;
    margin: 20px 0 10px 0;
    letter-spacing: 0;
  }

  /* More News Section */
  .more-news-container {
    padding: 0 10px;
  }

  .more-news-divider {
    margin-bottom: 25px;
    height: 1.5px;
  }

  .more-news-title {
    font-size: 24px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
  }

  .more-news-slider {
    gap: 15px;
  }

  .more-news-card {
    flex: 0 0 240px;
  }

  .more-news-card-image {
    height: 160px;
    border-radius: 8px;
  }

  .more-news-card-content {
    padding: 12px;
  }

  .more-news-card-content h3 {
    font-size: 14px;
    line-height: 1.3;
    letter-spacing: 0.3px;
  }

  .more-news-card-date {
    font-size: 12px;
  }

  .no-more-news {
    font-size: 16px;
    padding: 30px 0;
  }
}

/* Extra Small Mobile (360px and below) */
@media (max-width: 360px) {
  .single-post-title {
    font-size: 24px;
  }

  .single-post-date span {
    font-size: 13px;
  }

  .single-post-content p {
    font-size: 14px;
  }

  .single-post-content h2 {
    font-size: 20px;
  }

  .single-post-content h3 {
    font-size: 16px;
  }

  .more-news-title {
    font-size: 22px;
  }

  .more-news-card {
    flex: 0 0 220px;
  }

  .more-news-card-image {
    height: 140px;
  }

  .more-news-card-content h3 {
    font-size: 13px;
  }
}

/* Prevent horizontal scroll on mobile */
@media (max-width: 768px) {
  body.single-post {
    overflow-x: hidden;
  }

  .single-post-main {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .single-post-header,
  .single-post-images,
  .single-post-container,
  .more-news-section {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }
}
