/* HORVINT Homepage – matches horvintgroup.com */

:root {
  --hv-blue: #e35712;
  --hv-orange: #e99f17;
  --hv-orange-dark: #e35712;
  --hv-dark: #0a0f2c;
  --hv-dark-2: #0c1234;
  --hv-text: #141417;
  --hv-muted: #676767;
  --hv-light: #f7f7f7;
  --hv-product-bg: #2d2d31;
  --hv-transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; color: var(--hv-text); overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: 'Jost', sans-serif; }
a { text-decoration: none; }

/* ── Header (shared with inner pages) ── */
.main-header { position: absolute; top: 0; left: 0; right: 0; z-index: 1030; width: 100%; }
.main-header .header-lower { border-bottom: 1px solid rgba(255,255,255,0.2); }
.main-header .outer-container { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.main-header .outer-box { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.main-header .logo img { max-width: 160px; height: auto; }
.main-header .navbar-nav .nav-link { color: #fff !important; font-size: 15px; font-weight: 500; padding: 28px 14px !important; }
.main-header .navbar-nav .nav-link:hover,
.main-header .navbar-nav .nav-link.active { color: var(--hv-orange) !important; }
.main-header .dropdown-menu { border: none; border-radius: 6px; box-shadow: 0 10px 40px rgba(0,0,0,0.12); padding: 8px 0; min-width: 200px; }
.main-header .dropdown-item { font-size: 14px; padding: 8px 20px; }
.main-header .dropdown-item:hover, .main-header .dropdown-item.active { background: #eff1ff; color: var(--hv-blue); }
.main-header .nav-sidebar-btn { background: none; border: none; color: #fff; font-size: 1.35rem; padding: 8px; cursor: pointer; }
.main-header .nav-sidebar-btn:hover { color: var(--hv-orange); }
.main-header .navbar-toggler { border-color: rgba(255,255,255,0.35); }
.main-header .navbar-toggler-icon { filter: invert(1); }
.main-header.scrolled { position: fixed; background: #fff; box-shadow: 0 4px 30px rgba(0,0,0,0.08); animation: slideDown 0.4s ease; }
.main-header.scrolled .header-lower { border-bottom-color: #eee; }
.main-header.scrolled .navbar-nav .nav-link { color: var(--hv-text) !important; }
.main-header.scrolled .navbar-nav .nav-link:hover,
.main-header.scrolled .navbar-nav .nav-link.active { color: var(--hv-orange) !important; }
.main-header.scrolled .nav-sidebar-btn { color: var(--hv-text); }
.main-header.scrolled .navbar-toggler-icon { filter: none; }
.logo-dark { display: none; }
.main-header.scrolled .logo-dark { display: block !important; }
.main-header.scrolled .logo-light { display: none !important; }

@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

/* ── Hero Slider ── */
.hero-slider { position: relative; height: 100vh; min-height: 600px; }
.hero-slider .carousel-item { height: 100vh; min-height: 600px; }
.hero-slider .slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-slider .slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.15) 100%);
}
.hero-slider .carousel-caption {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  bottom: auto; text-align: left; padding: 0;
}
.hero-slider .slide-content { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.hero-slider h2 {
  font-family: 'Poppins', sans-serif; font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 20px;
}
.hero-slider p { color: rgba(255,255,255,0.88); font-size: 18px; line-height: 1.75; max-width: 560px; margin: 0; }
.hero-slider .carousel-indicators { bottom: 40px; margin: 0; gap: 8px; }
.hero-slider .carousel-indicators button {
  width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff;
  background: transparent; opacity: 1; margin: 0 4px;
}
.hero-slider .carousel-indicators button.active { background: var(--hv-orange); border-color: var(--hv-orange); }
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next { width: 50px; opacity: 0.7; }
.hero-slider .carousel-control-prev-icon,
.hero-slider .carousel-control-next-icon { width: 2rem; height: 2rem; }

/* ── Utilities ── */
.sec-pad { padding: 100px 0; }
.sub-title {
  display: inline-block; background: #eff1ff; color: var(--hv-blue);
  font-size: 14px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 4px 20px; border-radius: 5px; margin-bottom: 20px; font-family: 'Jost', sans-serif;
}
.sec-title { font-size: clamp(2rem, 3.5vw, 50px); font-weight: 600; line-height: 1.1; color: var(--hv-text); }
.sec-text { color: var(--hv-muted); font-size: 16px; line-height: 1.75; }

.btn-hv {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--hv-blue); color: #fff; border: none; border-radius: 30px;
  padding: 14px 32px; font-size: 15px; font-weight: 600; position: relative; overflow: hidden; z-index: 1;
}
.btn-hv::before {
  content: ''; position: absolute; inset: 0; background: var(--hv-orange); border-radius: 30px;
  transform: translateX(-101%) rotate(3deg); transform-origin: top left; transition: transform 0.35s ease; z-index: -1;
}
.btn-hv:hover { color: #fff; transform: translateY(-2px); }
.btn-hv:hover::before { transform: translateX(0) rotate(0); }

.btn-hv-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 30px; padding: 12px 28px; font-size: 15px; font-weight: 600; transition: var(--hv-transition);
}
.btn-hv-outline:hover { background: var(--hv-orange); border-color: var(--hv-orange); color: #fff; }

.btn-read-more {
  display: inline-block; background: var(--hv-blue); color: #fff;
  padding: 12px 28px; border-radius: 4px; font-size: 14px; font-weight: 600; transition: var(--hv-transition);
}
.btn-read-more:hover { background: var(--hv-orange); color: #fff; }

/* ── About Section ── */
.about-section { padding: 100px 0; }
.about-section .about-img-wrap { position: relative; }
.about-section .about-img-wrap img { width: 100%; border-radius: 10px; }
.about-section .about-img-wrap::before {
  content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: linear-gradient(135deg, #c8a2ff, #fff, #ffd1a3);
  top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: -1; opacity: 0.5;
}
.about-list { list-style: none; padding: 0; margin: 0 0 30px; }
.about-list li {
  position: relative; padding-left: 30px; margin-bottom: 10px;
  font-size: 18px; font-weight: 500; color: var(--hv-text);
}
.about-list li::before {
  content: '\2713'; position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px; background: var(--hv-orange); color: #fff;
  border-radius: 50%; font-size: 11px; display: flex; align-items: center; justify-content: center;
  line-height: 20px; text-align: center;
}

/* ── Why Choose Section ── */
.why-section { padding: 100px 0; position: relative; overflow: hidden; background: #fff; }
.why-section .shape-1 { position: absolute; left: 0; top: 0; width: 200px; height: 200px; background-size: contain; background-repeat: no-repeat; opacity: 0.6; pointer-events: none; }
.why-section .shape-2 { position: absolute; left: 0; bottom: 0; width: 180px; height: 180px; background-size: contain; background-repeat: no-repeat; opacity: 0.5; pointer-events: none; }
.why-section .shape-3 { position: absolute; left: 5%; top: 160px; width: 120px; height: 80px; background-size: contain; background-repeat: no-repeat; animation: floatBob 4s ease-in-out infinite; pointer-events: none; }
.why-section .shape-4 { position: absolute; left: 15%; top: 50%; width: 100px; height: 60px; background-size: contain; background-repeat: no-repeat; animation: floatBob 5s ease-in-out infinite; pointer-events: none; }
.why-item { position: relative; padding-left: 80px; margin-bottom: 25px; }
.why-item:last-child { margin-bottom: 0; }
.why-item .icon-box {
  position: absolute; left: 0; top: 3px; width: 50px; height: 50px;
  background: var(--hv-orange); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.why-item h3 { font-size: 22px; font-weight: 600; margin-bottom: 8px; font-family: 'Poppins', sans-serif; }
.why-item p { color: var(--hv-muted); font-size: 15px; line-height: 1.7; margin: 0; }
.why-section .why-img img { width: 100%; max-width: 480px; animation: floatBob 4s ease-in-out infinite; }

@keyframes floatBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ── Products Section ── */
.products-section { padding: 100px 0; background: var(--hv-light); }
.product-box {
  display: flex; align-items: stretch; min-height: 280px;
  margin-bottom: 24px; border-radius: 8px; overflow: hidden;
}
.product-box.reverse { flex-direction: row-reverse; }
.product-box .product-img { flex: 1; min-height: 280px; }
.product-box .product-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-box .product-content {
  flex: 1; background: var(--hv-product-bg); padding: 40px 36px;
  display: flex; flex-direction: column; justify-content: center;
}
.product-box .product-content h4 { color: #fff; font-size: 22px; font-weight: 700; margin-bottom: 12px; font-family: 'Poppins', sans-serif; }
.product-box .product-content p { color: rgba(255,255,255,0.78); font-size: 15px; line-height: 1.7; margin-bottom: 16px; }
.product-box .product-content a { color: #fff; font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; transition: gap 0.3s; }
.product-box .product-content a:hover { color: var(--hv-orange); gap: 14px; }

/* ── Quality Section ── */
.quality-section { padding: 100px 0; padding-top: 0; }
.quality-card {
  background: #f3f3f3; border-radius: 10px; padding: 55px 30px 50px;
  text-align: center; position: relative; overflow: hidden; height: 100%; transition: var(--hv-transition);
}
.quality-card::before {
  content: ''; position: absolute; inset: 0; background: var(--hv-product-bg);
  transform: translateY(100%); transition: transform 0.5s ease;
}
.quality-card:hover::before { transform: translateY(0); }
.quality-card:hover .quality-inner { color: #fff; position: relative; z-index: 1; }
.quality-card:hover .quality-inner h3 { color: #fff; }
.quality-card .icon-wrap img { max-height: 70px; width: auto; margin-bottom: 20px; position: relative; z-index: 1; }
.quality-card h3 { font-size: 18px; font-weight: 600; text-transform: uppercase; margin: 0; font-family: 'Poppins', sans-serif; position: relative; z-index: 1; transition: color 0.3s; }

/* ── Video Section ── */
.video-section { position: relative; padding: 120px 0; overflow: hidden; }
.video-section .video-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
}
.video-section .video-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.72); }
.video-section .video-content { position: relative; z-index: 2; }
.video-section .sub-title { background: rgba(255,255,255,0.15); color: #fff; }
.video-section .sec-title { color: #fff; }
.video-section .sec-text { color: rgba(255,255,255,0.85); font-size: 18px; }
.video-play-btn {
  width: 100px; height: 100px; border-radius: 50%; background: var(--hv-orange);
  border: none; color: #fff; font-size: 2rem; display: flex; align-items: center; justify-content: center;
  margin: 0 auto; cursor: pointer; transition: var(--hv-transition);
  box-shadow: 0 0 0 0 rgba(255,128,64,0.5); animation: pulse 2s infinite;
}
.video-play-btn:hover { transform: scale(1.08); background: var(--hv-blue); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,128,64,0.5); } 70% { box-shadow: 0 0 0 20px rgba(255,128,64,0); } 100% { box-shadow: 0 0 0 0 rgba(255,128,64,0); } }

/* ── Testimonials ── */
.testimonials-section { padding: 100px 0; background: var(--hv-light); }
.testimonial-slide img { width: 100%; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.testimonials-section .carousel-control-prev,
.testimonials-section .carousel-control-next { width: 44px; height: 44px; background: #fff; border-radius: 50%; top: 50%; transform: translateY(-50%); opacity: 1; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.testimonials-section .carousel-control-prev { left: -22px; }
.testimonials-section .carousel-control-next { right: -22px; }
.testimonials-section .carousel-control-prev-icon,
.testimonials-section .carousel-control-next-icon { filter: invert(0.5); width: 1.2rem; height: 1.2rem; }

/* ── Blog Section ── */
.blog-section { padding: 100px 0; }
.blog-card { border-radius: 10px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,0.08); height: 100%; background: #fff; transition: var(--hv-transition); }
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 16px 50px rgba(0,0,0,0.12); }
.blog-card .blog-img { position: relative; overflow: hidden; }
.blog-card .blog-img img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform 0.5s; }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-card .date-badge {
  position: absolute; top: 24px; left: 24px; background: var(--hv-orange); color: #fff;
  width: 60px; padding: 10px 0; border-radius: 5px; text-align: center; line-height: 1.2;
}
.blog-card .date-badge .day { font-size: 20px; font-weight: 700; display: block; }
.blog-card .date-badge .month { font-size: 13px; display: block; }
.blog-card .blog-body { padding: 30px; }
.blog-card .blog-body h4 { font-size: 20px; font-weight: 600; line-height: 1.4; margin-bottom: 12px; }
.blog-card .blog-body h4 a { color: var(--hv-text); }
.blog-card .blog-body h4 a:hover { color: var(--hv-orange); }
.blog-card .blog-body p { color: var(--hv-muted); font-size: 15px; line-height: 1.7; margin-bottom: 20px; }

/* ── Contact ── */
.contact-section { padding: 90px 0 0; background: var(--hv-light); }
.contact-section .form-inner input,
.contact-section .form-inner select,
.contact-section .form-inner textarea {
  width: 100%; background: #ededed; border: 1px solid #ededed; border-radius: 5px;
  padding: 12px 18px; font-size: 15px; font-family: 'Poppins', sans-serif; outline: none;
}
.contact-section .form-inner input:focus,
.contact-section .form-inner select:focus,
.contact-section .form-inner textarea:focus { border-color: var(--hv-orange); }
.contact-section .form-inner textarea { height: 130px; resize: vertical; }
.contact-section .form-inner label { font-size: 15px; font-weight: 500; margin-bottom: 6px; display: block; }
.contact-section .contact-image-wrap { position: relative; text-align: center; }
.contact-section .contact-image-wrap::before {
  content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: linear-gradient(135deg, #c8a2ff, #fff, #ffd1a3);
  top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 0; opacity: 0.6;
}
.contact-section .contact-image-wrap img { position: relative; z-index: 1; max-width: 100%; border-radius: 10px; }

/* ── Newsletter ── */
.newsletter-section { background: var(--hv-orange-dark); padding: 30px 0 35px; }
.newsletter-section h2 { color: #fff; font-family: 'Inter', sans-serif; font-size: 30px; font-weight: 600; line-height: 1.3; margin: 0; }
.newsletter-form { position: relative; padding-right: 220px; }
.newsletter-form input { width: 100%; height: 60px; border: none; border-radius: 5px; padding: 10px 30px; font-size: 15px; outline: none; }
.newsletter-form button {
  position: absolute; right: 0; top: 0; height: 60px; width: 204px;
  background: #262c3b; color: #fff; border: none; border-radius: 5px;
  font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.newsletter-form button:hover { background: #fff; color: var(--hv-orange-dark); }

/* ── Footer ── */
.site-footer { background: var(--hv-dark); position: relative; overflow: hidden; }
.site-footer .footer-top { padding: 40px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.site-footer .footer-logo img { max-width: 160px; }
.site-footer .footer-social { list-style: none; padding: 0; margin: 0; display: flex; gap: 10px; }
.site-footer .footer-social a {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.08);
  color: #fff; display: flex; align-items: center; justify-content: center;
}
.site-footer .footer-social a:hover { background: var(--hv-orange); }
.site-footer .footer-widgets { padding: 60px 0 40px; }
.site-footer .widget-title h4 { color: #fff; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 18px; margin-bottom: 24px; }
.site-footer .widget-title h4::first-letter { color: var(--hv-orange); }
.site-footer .widget-text { color: #9aa3b5; font-size: 14px; line-height: 1.75; }
.site-footer .footer-links { list-style: none; padding: 0; margin: 0; }
.site-footer .footer-links li { margin-bottom: 10px; }
.site-footer .footer-links a { color: #9aa3b5; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.site-footer .footer-links a i { font-size: 10px; color: var(--hv-orange); }
.site-footer .footer-links a:hover { color: var(--hv-orange); }
.site-footer .info-list { list-style: none; padding: 0; margin: 0; }
.site-footer .info-list li { color: #9aa3b5; font-size: 14px; line-height: 1.7; margin-bottom: 12px; display: flex; gap: 10px; }
.site-footer .info-list li i { color: var(--hv-orange); margin-top: 4px; flex-shrink: 0; }
.site-footer .info-list a { color: #9aa3b5; }
.site-footer .info-list a:hover { color: var(--hv-orange); }
.site-footer .footer-bottom { background: var(--hv-dark-2); padding: 20px 0; }
.site-footer .footer-bottom p { margin: 0; color: #7a8499; font-size: 14px; }
.site-footer .footer-bottom a { color: var(--hv-orange); font-weight: 700; }

/* ── Sidebar ── */
.sidebar-offcanvas { background: #111; color: #ccc; max-width: 380px; }
.sidebar-offcanvas .offcanvas-header { border-bottom: 1px solid #222; }
.sidebar-offcanvas .offcanvas-title img { max-width: 140px; }
.sidebar-offcanvas h4 { color: #fff; font-size: 18px; margin: 24px 0 12px; }
.sidebar-offcanvas p, .sidebar-offcanvas li { font-size: 14px; line-height: 1.7; color: #aaa; }
.sidebar-offcanvas .info-list { list-style: none; padding: 0; }
.sidebar-offcanvas .info-list li { display: flex; gap: 10px; margin-bottom: 12px; }
.sidebar-offcanvas .info-list i { color: var(--hv-orange); }
.sidebar-offcanvas .social-links { list-style: none; padding: 0; display: flex; gap: 10px; }
.sidebar-offcanvas .social-links a {
  width: 36px; height: 36px; border: 1px solid #333; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #aaa;
}
.sidebar-offcanvas .social-links a:hover { background: var(--hv-orange); border-color: var(--hv-orange); color: #fff; }

/* ── Back to top ── */
#backToTop {
  position: fixed; bottom: 30px; right: 30px; width: 46px; height: 46px;
  background: var(--hv-orange); color: #fff; border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
  cursor: pointer; opacity: 0; pointer-events: none; transition: var(--hv-transition); z-index: 999;
}
#backToTop.visible { opacity: 1; pointer-events: all; }
#backToTop:hover { background: var(--hv-blue); transform: translateY(-3px); }

/* ── Animations ── */
[data-animate] { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-animate].visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 991px) {
  .main-header .navbar-collapse { background: rgba(10,15,44,0.97); padding: 1rem; border-radius: 8px; margin-top: 0.5rem; }
  .main-header.scrolled .navbar-collapse { background: #fff; box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
  .product-box, .product-box.reverse { flex-direction: column; }
  .product-box .product-img { min-height: 220px; }
  .newsletter-form { padding-right: 0; }
  .newsletter-form button { position: static; width: 100%; margin-top: 12px; }
  .testimonials-section .carousel-control-prev { left: 10px; }
  .testimonials-section .carousel-control-next { right: 10px; }
}
@media (max-width: 767px) {
  .sec-pad, .about-section, .why-section, .products-section, .blog-section { padding: 70px 0; }
  .hero-slider, .hero-slider .carousel-item { min-height: 500px; height: 85vh; }
  .why-item { padding-left: 65px; }
  .why-section .shape-1, .why-section .shape-2, .why-section .shape-3, .why-section .shape-4 { display: none; }
}
