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

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


a {
  text-decoration: none;

}
/* Header Styles */
.header-top {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: white;
  padding: 15px 0;
  position: relative;
  z-index: 1000;
}

.logo h1 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 5px;
  color: #ffd700;
}

.logo p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
  color: #ffd700;
}

.contact-info p {
  font-size: 0.8rem;
  opacity: 0.8;
  margin: 0;
}

/* Navigation Styles */
.navbar {
  background: linear-gradient(90deg, #2a5298 0%, #1e3c72 100%);
  padding: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 999;
}

.navbar-nav {
  gap: 10px;
}

.navbar-nav .nav-link {
  color: white !important;
  font-weight: 500;
  padding: 15px 20px !important;
  transition: all 0.3s ease;
  border-radius: 5px;
}

.navbar-nav .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffd700 !important;
  transform: translateY(-2px);
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Hero Section */
.hero-section {
  margin-top: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  /* background: white; */
  color: white;
  /* color: rgb(54, 88, 3); */
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.hero-section::before {
  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 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,1000 1000,0 1000,1000"/></svg>');
  background-size: cover;
  z-index: -1;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffd700;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-features {
  margin-bottom: 40px;
}

.feature-item {
    
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1.1rem;
  /* font-size: 1.1rem; */
}

.feature-item i {
  color: #ffd700;
  margin-right: 15px;
  font-size: 1.2rem;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
/* .custom-btn {
  background: #ffd700;
} */

.hero-buttons .btn {
  padding: 15px 30px;
  font-weight: bold;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-image img {
  width: 100%;
  /* height: 500px; */
  border-radius: 15px;
  object-fit: cover;
  scale: 1.1;
  /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); */
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
  color: white;
  padding: 60px 0;
  position: relative;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ffd700;
}

.page-header .lead {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 0;
}

/* Services Grid */
.services-grid {
  background: white;
  position: relative;
  z-index: 2;
}

.service-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card h4 {
  padding: 20px;
  margin: 0;
  font-size: 1rem;
  font-weight: bold;
  color: #2a5298;
  text-align: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Main Services Section */
.main-services {
  background: #f8f9fa;
  position: relative;
  z-index: 2;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #2a5298;
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ffd700, #ffed4e);
  border-radius: 2px;
}

.service-box {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  margin-bottom: 30px;
}

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

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #2a5298, #1e3c72);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.service-icon i {
  font-size: 2rem;
  color: #ffd700;
}

.service-box h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2a5298;
  margin-bottom: 15px;
  text-align: center;
}

.service-box p {
  color: #666;
  margin-bottom: 20px;
  text-align: center;
}

.service-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-box ul li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  position: relative;
  padding-left: 25px;
}

.service-box ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #28a745;
  font-weight: bold;
}

.service-box .btn {
  background: linear-gradient(135deg, #2a5298, #1e3c72);
  border: none;
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.service-box .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(42, 82, 152, 0.3);
}

/* Why Choose Us */
.why-choose-us {
  background: white;
  position: relative;
  z-index: 2;
}

.feature-card {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  margin-bottom: 30px;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.feature-icon i {
  font-size: 1.8rem;
  color: #2a5298;
}

.feature-card h4 {
  font-size: 1.3rem;
  font-weight: bold;
  color: #2a5298;
  margin-bottom: 15px;
}

.feature-card p {
  color: #666;
  margin: 0;
}

/* Testimonials */
.testimonials {
  background: #f8f9fa;
  position: relative;
  z-index: 2;
}

.testimonial-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  margin-bottom: 30px;
}

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

.testimonial-content {
  margin-bottom: 20px;
}

.testimonial-content p {
  font-style: italic;
  color: #666;
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 0;
}

.testimonial-author h5 {
  color: #2a5298;
  font-weight: bold;
  margin-bottom: 5px;
}

.testimonial-author span {
  color: #666;
  font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
  background: white;
  position: relative;
  z-index: 2;
}

.contact-form .form-control {
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.contact-form .form-control::placeholder {
  color: #999;
}

.contact-form .form-control:focus {
  border-color: #2a5298;
  box-shadow: 0 0 0 0.2rem rgba(42, 82, 152, 0.25);
  outline: none;
}

.contact-form .btn {
  background: linear-gradient(135deg, #2a5298, #1e3c72);
  border: none;
  color: white;
  padding: 15px 40px;
  border-radius: 25px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.contact-info h3 {
  /* color: #2a5298; */
  margin-bottom: 10px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-item i {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #2a5298, #1e3c72);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffd700;
  font-size: 1.2rem;
  margin-right: 20px;
}

.contact-item h5 {
  color: #2a5298;
  font-weight: bold;
  margin-bottom: 5px;
}

.contact-item p {
  color: #666;
  margin: 0;
}

/* Social Links */
.social-links {
  margin-top: 30px;
}

.social-link {
  display: inline-block;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #2a5298, #1e3c72);
  border-radius: 50%;
  color: white;
  text-align: center;
  line-height: 50px;
  margin-right: 15px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(42, 82, 152, 0.3);
  color: #ffd700;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: white;
  padding: 50px 0 20px;
  position: relative;
  z-index: 2;
}

.footer h5 {
  color: #ffd700;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #ffd700;
  padding-left: 5px;
}

/* Stats - Giao diện gọn, đồng bộ footer */
.stats {
  background: none;
  padding: 0;
  border-radius: 0;
  margin-top: 0;
  box-shadow: none;
}

.stat-item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 2px 0;
  border: none;
  font-size: 0.95rem;
  color: #fff;
}

.stat-item span:first-child {
  font-weight: bold;
  color: #ffd700;
  min-width: 110px;
  margin-right: 8px;
  font-size: 1em;
}

.stat-item span:last-child {
  color: #fff;
  font-weight: normal;
  font-size: 1em;
}

/* Quick Quote Form */
.quick-quote-form .form-control,
.quick-quote-form .form-select {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  margin-bottom: 15px;
}

.quick-quote-form .form-control:focus,
.quick-quote-form .form-select:focus {
  border-color: #2a5298;
  box-shadow: 0 0 0 0.2rem rgba(42, 82, 152, 0.25);
  outline: none;
}

.quick-quote-form .btn {
  background: linear-gradient(135deg, #2a5298, #1e3c72);
  border: none;
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.quick-quote-form .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(42, 82, 152, 0.3);
}

/* Service Features */
.service-features .feature-item {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.service-features .feature-item:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-features .feature-item i {
  font-size: 1.5rem;
  margin-bottom: 10px;
  display: block;
}

.service-features .feature-item h5 {
  color: #2a5298;
  font-weight: bold;
  margin-bottom: 10px;
}

.service-features .feature-item p {
  color: #666;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .service-box {
    padding: 25px;
  }

  .stats {
    padding: 18px;
  }

  .stat-item {
    padding: 12px;
  }

  /* .stat-item span:first-child {
    font-size: 1.1rem;
  } */
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

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

  .page-header h1 {
    font-size: 2.2rem;
  }

  .page-header .lead {
    font-size: 1.1rem;
  }

  .navbar-nav {
    gap: 5px;
  }

  .navbar-nav .nav-link {
    padding: 12px 15px !important;
  }

  .stats {
    padding: 15px;
    margin-top: 25px;
  }

  .stat-item {
    padding: 10px;
  }

  .stat-item span:first-child {
    font-size: 1.6rem;
  }

  .stat-item span:last-child {
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .header-top {
    padding: 10px 0;
  }

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

  .contact-info h3 {
    font-size: 1.2rem;
  }

  .hero-section {
    padding: 60px 0;
  }

  .hero-title {
    font-size: 1.8rem;
    text-align: center;
  }
  .hero-image {
    margin-top: 20px;
    text-align: center;
  }
  .hero-image img {

    width: 300px;
    height: 200px;
    
    object-fit: cover   ;
  }

  .hero-subtitle {
    font-size: 1rem;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
    gap: 15px;
  }

  .hero-buttons .btn {
    padding: 12px 25px;
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.8rem;
    text-align: center;
  }

  .section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .page-header {
    padding: 40px 0;
  }

  .page-header h1 {
    font-size: 1.8rem;
    text-align: center;
  }

  .page-header .lead {
    font-size: 1rem;
    text-align: center;
  }

  .service-card h4 {
    font-size: 0.9rem;
    padding: 15px;
  }

  .service-box {
    padding: 20px;
    margin-bottom: 20px;
  }

  .service-box h3 {
    font-size: 1.3rem;
  }

  .feature-card {
    padding: 25px;
    margin-bottom: 20px;
  }

  .feature-card h4 {
    font-size: 1.2rem;
  }

  .testimonial-card {
    padding: 25px;
    margin-bottom: 20px;
  }

  .contact-item {
    padding: 15px;
    margin-bottom: 15px;
  }

  .contact-item i {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    margin-right: 15px;
  }

  .footer {
    padding: 40px 0 20px;
  }

  .stats {
    margin-top: 20px;
    padding: 12px;
  }

  .stat-item {
    padding: 8px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 5px;
  }

  .stat-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }

  .stat-item span:first-child {
    font-size: 1.4rem;
    margin-bottom: 3px;
  }

  .stat-item span:last-child {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 40px 0;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 250px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .page-header {
    padding: 30px 0;
  }

  .page-header h1 {
    font-size: 1.5rem;
  }

  .page-header .lead {
    font-size: 0.9rem;
  }

  .service-box {
    padding: 15px;
  }

  .service-box h3 {
    font-size: 1.2rem;
  }

  .service-icon {
    width: 60px;
    height: 60px;
  }

  .service-icon i {
    font-size: 1.5rem;
  }

  .feature-card {
    padding: 20px;
  }

  .feature-card h4 {
    font-size: 1.1rem;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
  }

  .feature-icon i {
    font-size: 1.4rem;
  }

  .testimonial-card {
    padding: 20px;
  }

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

  .contact-form .form-control {
    padding: 12px;
    font-size: 0.9rem;
  }

  .contact-form .btn {
    padding: 12px 30px;
    font-size: 0.9rem;
  }

  .contact-item {
    padding: 12px;
  }

  .contact-item i {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
    margin-right: 12px;
  }

  .contact-item h5 {
    font-size: 0.9rem;
  }

  .contact-item p {
    font-size: 0.8rem;
  }

  .social-link {
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin-right: 10px;
  }

  .footer h5 {
    font-size: 1rem;
  }

  .footer-links a {
    font-size: 0.9rem;
  }

  .stats {
    padding: 10px;
    margin-top: 15px;
  }

  .stat-item {
    padding: 6px;
    margin-bottom: 3px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }

  .stat-item span:first-child {
    font-size: 1.2rem;
    margin-bottom: 0;
    flex: 1;
  }

  .stat-item span:last-child {
    font-size: 0.75rem;
    text-align: right;
    flex: 1;
  }

  .quick-quote-form .form-control,
  .quick-quote-form .form-select {
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .quick-quote-form .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .service-features .feature-item {
    padding: 15px;
  }

  .service-features .feature-item i {
    font-size: 1.2rem;
  }

  .service-features .feature-item h5 {
    font-size: 0.9rem;
  }

  .service-features .feature-item p {
    font-size: 0.8rem;
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-in-left {
  animation: slideInLeft 1s ease-out;
}

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

.slide-in-right {
  animation: slideInRight 1s ease-out;
}

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

/* Button Hover Effects */
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(42, 82, 152, 0.3);
}

.btn-outline-light:hover {
  background-color: #ffd700;
  border-color: #ffd700;
  color: #2a5298;
  /* transform: scale(1.05); */
}

/* Form Success Animation */
.form-success {
  animation: formSuccess 0.5s ease-in-out;
}

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

.swiper-button-next,
.swiper-button-prev {
  width: 28px;
  height: 28px;
  background-color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  color: #333;
  font-size: 14px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 14px;
}

/* .testimonialSwiper .swiper-button-next,
.testimonialSwiper .swiper-button-prev {
  width: 26px;
  height: 26px;
  font-size: 12px;
  background: #fff;
  color: #333;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
.testimonialSwiper .swiper-button-next::after,
.testimonialSwiper .swiper-button-prev::after {
  font-size: 12px;
} */

/* Đảm bảo slide có chiều cao auto */
.testimonialSwiper .swiper-slide {
  height: auto;
}

/* Card có padding và border ổn định */
.testimonial-card {
  background: #fff;
  border-radius: 8px;
  transition: transform 0.3s ease;
  min-height: 100%; /* Chiều cao tối thiểu bằng slide */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Hiệu ứng nhẹ khi hover */
.testimonial-card:hover {
  transform: translateY(-3px);
}

.custom-img {
  width: 400px;
  height: 250px;
  object-fit: cover;
}

.custom-img-work {
  width: 250px;
  height: 150px;
  object-fit: cover;
}

.img-chung-cu {
  min-height: 280px;
  max-height: 280px;
  object-fit: cover;
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgb(247, 242, 0);
  /* background: rgba(0, 0, 0, 0.6); nền mờ để dễ đọc */
  padding: 5px 15px;
  border-radius: 5px;
  font-weight: bold;
}


.text-justify{
    text-align: justify;
}

.contac-lien-he{
    padding: 40px 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

.footer ul.footer-links li a,
.footer ul li a {
  font-size: 1rem;  /* 👉 tăng từ mặc định ~0.95rem lên 1.05rem */
  color: #ccc;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.custom-img-page {
  max-width: 80%;     /* hoặc 400px */
  max-height: 500px;
  height: auto;
  /* display: block; */
  margin: 0 auto;
  object-fit: cover;
}
.custom-video {
    width: 70%;
    max-width: 480px;
    margin: 0 auto;
    display: block;
}

