/* ========== HOME.CSS - Điện Lạnh Quang Trung 247 ========== */
/* CSS riêng cho các section của trang chủ */

/* ========== HERO SECTION ========== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(150deg, #F4F9FE 0%, #EAF3FC 25%, #F9FAFB 60%, #F0F7FE 100%);
  overflow: hidden;
  padding-top: 110px;
  padding-bottom: 70px;
}
.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
}
.hero-shape-1 {
  width: 600px;
  height: 600px;
  background: var(--primary);
  top: -200px;
  right: -120px;
  animation: floatShape 8s ease-in-out infinite;
}
.hero-shape-2 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  bottom: -100px;
  left: -100px;
  animation: floatShape 10s ease-in-out infinite reverse;
}
.hero-shape-3 {
  width: 250px;
  height: 250px;
  background: var(--primary);
  bottom: 25%;
  right: 18%;
  animation: floatShape 7s ease-in-out infinite 2s;
}
@keyframes floatShape {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  50% { transform: translateY(-40px) rotate(8deg) scale(1.05); }
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(10, 127, 209, 0.08);
  color: var(--primary-dark);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.8px;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease-out;
  border: 1px solid rgba(10,127,209,0.15);
}
.hero-badge .badge-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 10px;
  animation: pulse-dot 1.5s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.5); }
}
.hero-title {
  font-family: var(--font-primary);
  font-size: 3.6rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1.12;
  margin-bottom: 22px;
  animation: fadeInUp 0.6s ease-out 0.1s both;
  letter-spacing: -0.04em;
}
.hero-title .highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}
.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 100%;
  height: 10px;
  background: rgba(10, 127, 209, 0.12);
  z-index: -1;
  border-radius: 4px;
}
.hero-description {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  color: var(--gray-600);
  margin-bottom: 32px;
  animation: fadeInUp 0.6s ease-out 0.2s both;
  max-width: 520px;
  line-height: 1.8;
  font-weight: 400;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}
.hero-stats {
  display: flex;
  gap: 50px;
  margin-top: 45px;
  animation: fadeInUp 0.6s ease-out 0.4s both;
}
.hero-stat-item {
  text-align: left;
}
.hero-stat-number {
  font-family: var(--font-primary);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.03em;
}
.hero-stat-label {
  font-size: 0.85rem;
  color: var(--gray-600);
  font-weight: 500;
  margin-top: 4px;
}
.hero-image-wrapper {
  position: relative;
  animation: fadeInRight 0.8s ease-out 0.3s both;
}
.hero-image-wrapper > img {
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(10,127,209,0.15);
}
.hero-image-badge {
  position: absolute;
  bottom: 40px;
  left: -25px;
  background: var(--white);
  border-radius: 16px;
  padding: 18px 24px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-image-badge .badge-icon {
  width: 52px;
  height: 52px;
  background: var(--accent);
  color: var(--white);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.hero-image-badge .badge-text strong {
  display: block;
  font-family: var(--font-primary);
  font-size: 1.15rem;
  color: var(--dark);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero-image-badge .badge-text span {
  font-size: 0.82rem;
  color: var(--gray-600);
  font-weight: 500;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(35px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 1199.98px) {
  .hero-title { font-size: 3rem; }
}
@media (max-width: 991.98px) {
  .hero-title { font-size: 2.5rem; }
  .hero-stats { gap: 30px; }
}
@media (max-width: 767.98px) {
  .hero-section { min-height: auto; padding-top: 90px; padding-bottom: 50px; }
  .hero-title { font-size: 2.1rem; }
  .hero-description { font-size: 1.05rem; }
  .hero-image-wrapper { margin-top: 35px; }
  .hero-image-badge { left: 10px; bottom: 20px; }
}
@media (max-width: 575.98px) {
  .hero-title { font-size: 1.8rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
}

/* ========== ABOUT SECTION ========== */
.about-section {
  padding: 100px 0;
  background: var(--white);
}
.about-experience-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border-radius: 16px;
  padding: 18px 26px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  position: absolute;
  bottom: 35px;
  right: -20px;
  z-index: 2;
}
.about-experience-badge .exp-number {
  font-family: var(--font-primary);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.03em;
}
.about-experience-badge .exp-text {
  font-family: var(--font-primary);
  font-size: 0.88rem;
  color: var(--gray-600);
  font-weight: 600;
  line-height: 1.4;
}
.about-feature-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.about-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.98rem;
  color: var(--gray-800);
  font-weight: 500;
}
.about-feature-list li i {
  color: var(--primary);
  font-size: 1.2rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.about-image-wrapper {
  position: relative;
}
.about-image-wrapper > img {
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* ========== SERVICES SECTION ========== */
.services-section {
  padding: 100px 0;
  background: var(--gray-100);
}
.service-card {
  background: var(--white);
  border-radius: 20px;
  padding: 38px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  height: 100%;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.12);
  border-color: var(--primary-light);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transition: var(--transition);
  border-radius: 0 0 4px 4px;
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-card .service-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 22px;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--white);
  transform: rotateY(180deg);
  box-shadow: 0 10px 30px rgba(10,127,209,0.35);
}
.service-card h4 {
  font-family: var(--font-primary);
  font-weight: 800;
  margin-bottom: 12px;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.service-card p {
  font-size: 0.92rem;
  color: var(--gray-600);
  margin-bottom: 0;
  line-height: 1.7;
}

/* ========== SECONDARY SERVICES ========== */
.secondary-services-section {
  padding: 100px 0;
  background: var(--white);
}
.secondary-service-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--gray-100);
  border-radius: 16px;
  padding: 24px;
  transition: var(--transition);
  height: 100%;
  border: 1px solid transparent;
}
.secondary-service-item:hover {
  background: var(--white);
  border-color: var(--primary-light);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.secondary-service-icon {
  width: 60px;
  height: 60px;
  background: var(--white);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.secondary-service-item:hover .secondary-service-icon {
  background: var(--primary);
  color: var(--white);
}
.secondary-service-info h5 {
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 5px;
  letter-spacing: -0.01em;
}
.secondary-service-info p {
  font-size: 0.88rem;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.6;
}

/* ========== PROCESS SECTION ========== */
.process-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
  position: relative;
}
.process-timeline {
  position: relative;
}
.process-timeline::before {
  content: '';
  position: absolute;
  top: 45px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--gray-300);
  z-index: 0;
}
.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.process-step-number {
  width: 75px;
  height: 75px;
  background: var(--white);
  border: 3px solid var(--primary);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 900;
  margin: 0 auto 18px;
  transition: var(--transition);
  letter-spacing: -0.02em;
}
.process-step:hover .process-step-number {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 0 0 16px rgba(10, 127, 209, 0.12);
  transform: scale(1.1);
}
.process-step h5 {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}
.process-step p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.6;
}

@media (max-width: 767.98px) {
  .process-timeline::before {
    display: none;
  }
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials-section {
  padding: 100px 0;
  background: var(--white);
}
.testimonial-card {
  background: var(--gray-100);
  border-radius: 20px;
  padding: 34px;
  position: relative;
  transition: var(--transition);
  height: 100%;
  border: 1px solid transparent;
}
.testimonial-card:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  transform: translateY(-6px);
  border-color: var(--primary-light);
  background: var(--white);
}
.testimonial-card .quote-icon {
  font-size: 3.5rem;
  color: var(--primary);
  opacity: 0.1;
  position: absolute;
  top: 18px;
  right: 24px;
  line-height: 1;
}
.testimonial-stars {
  color: #F59E0B;
  margin-bottom: 14px;
  font-size: 0.95rem;
}
.testimonial-text {
  font-family: var(--font-primary);
  font-style: italic;
  color: var(--gray-800);
  margin-bottom: 18px;
  font-size: 0.98rem;
  line-height: 1.8;
  font-weight: 400;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-author img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.testimonial-author strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.testimonial-author span {
  font-size: 0.82rem;
  color: var(--gray-600);
  font-weight: 500;
}

/* ========== CTA BANNER ========== */
.cta-section {
  padding: 80px 0;
  background: var(--primary-gradient);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.cta-section h2 {
  color: var(--white);
  font-weight: 900;
  font-size: 2.6rem;
  letter-spacing: -0.03em;
}
.cta-section p {
  color: rgba(255,255,255,0.9);
  font-size: 1.15rem;
  font-weight: 400;
}
.cta-phone-number {
  font-family: var(--font-primary);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
}

/* ========== CONTACT SECTION ========== */
.contact-section {
  padding: 100px 0;
  background: var(--gray-100);
}
.contact-form-wrapper {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  border: 1px solid var(--gray-200);
}
.contact-form-wrapper .form-label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.contact-form-wrapper .form-control,
.contact-form-wrapper .form-select {
  border-radius: 12px;
  border: 2px solid var(--gray-200);
  padding: 13px 18px;
  transition: var(--transition-fast);
  font-size: 0.95rem;
  font-family: var(--font-primary);
  background: var(--gray-100);
}
.contact-form-wrapper .form-control:focus,
.contact-form-wrapper .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 5px rgba(10, 127, 209, 0.08);
  background: var(--white);
}
.contact-form-wrapper textarea.form-control {
  resize: vertical;
  min-height: 120px;
}
.contact-info-card {
  background: var(--white);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  height: 100%;
  border: 1px solid var(--gray-200);
}
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-info-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-info-text strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 3px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.contact-info-text span {
  font-size: 0.88rem;
  color: var(--gray-600);
  font-weight: 500;
}

/* ========== BLOG SECTION ========== */
.blog-section {
  padding: 100px 0;
  background: var(--white);
}
.blog-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  border: 1px solid var(--gray-200);
}
.blog-card:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  transform: translateY(-8px);
}
.blog-card-img {
  height: 220px;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}
.blog-card:hover .blog-card-img img {
  transform: scale(1.1);
}
.blog-card-body {
  padding: 24px;
}
.blog-card-meta {
  font-size: 0.82rem;
  color: var(--gray-600);
  margin-bottom: 10px;
  font-weight: 500;
}
.blog-card-meta i {
  color: var(--primary);
  margin-right: 5px;
}
.blog-card-body h5 {
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.blog-card-body h5 a {
  color: var(--dark);
}
.blog-card-body h5 a:hover {
  color: var(--primary);
}
.blog-card-body p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 0;
  line-height: 1.7;
}

/* ========== BRANDS / PARTNERS ========== */
.brands-section {
  padding: 50px 0;
  background: var(--gray-100);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.brands-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.brands-slider img {
  height: 44px;
  opacity: 0.45;
  transition: var(--transition);
  filter: grayscale(100%);
}
.brands-slider img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
}



/* ========== SERVICE CARD LINK ========== */
.service-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.service-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.service-card-link:hover .service-card {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
    border-color: var(--primary-light);
}

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

.service-card-link:hover .service-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotateY(180deg);
    box-shadow: 0 10px 30px rgba(10,127,209,0.35);
}

/* ========== SECONDARY SERVICE LINK ========== */
.secondary-service-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.secondary-service-link:hover {
    text-decoration: none;
    color: inherit;
}

.secondary-service-link:hover .secondary-service-item {
    background: var(--white);
    border-color: var(--primary-light);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.secondary-service-link:hover .secondary-service-icon {
    background: var(--primary);
    color: var(--white);
}