/* =============================================
   ERIXON NETWORK — Modern Redesign CSS
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
  background: #ffffff;
}
a { color: #dd1122; text-decoration: none !important; transition: all 0.3s ease; }
a:hover { color: #bb0e1e; }
h1,h2,h3,h4,h5,h6 { font-family: 'Poppins', sans-serif; font-weight: 700; line-height: 1.25; color: #111; margin: 0 0 15px; padding: 0; }
p { margin: 0 0 15px; }
img { max-width: 100%; height: auto; }
ul, li, ol { margin: 0; padding: 0; list-style: none; }

/* ===== UTILITIES ===== */
.text_red { color: #dd1122; }
.layout_padding { padding: 80px 0; }

/* ===== BUTTONS ===== */
.btn_primary_red {
  display: inline-block; padding: 13px 32px;
  background: #dd1122; color: #fff !important;
  font-size: 15px; font-weight: 600; border-radius: 4px;
  border: 2px solid #dd1122; transition: all 0.3s;
}
.btn_primary_red:hover {
  background: #bb0e1e; border-color: #bb0e1e;
  color: #fff !important; transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(221,17,34,0.3);
}
.btn_outline_dark {
  display: inline-block; padding: 13px 32px;
  background: transparent; color: #111 !important;
  font-size: 15px; font-weight: 600; border-radius: 4px;
  border: 2px solid #111; transition: all 0.3s;
}
.btn_outline_dark:hover { background: #111; color: #fff !important; transform: translateY(-2px); }
.btn_white_outline {
  display: inline-block; padding: 13px 32px;
  background: transparent; color: #fff !important;
  font-size: 15px; font-weight: 600; border-radius: 4px;
  border: 2px solid #fff; transition: all 0.3s;
}
.btn_white_outline:hover { background: #fff; color: #dd1122 !important; transform: translateY(-2px); }
.btn_outline_red_sm {
  display: inline-block; padding: 8px 18px;
  background: transparent; color: #dd1122 !important;
  font-size: 13px; font-weight: 600; border-radius: 4px;
  border: 2px solid #dd1122; transition: all 0.3s;
}
.btn_outline_red_sm:hover { background: #dd1122; color: #fff !important; }

/* ===== TOP BAR ===== */
.topbar_section { background: #111; padding: 8px 0; font-size: 13px; }
.topbar_left a { color: #ccc; margin-right: 20px; font-size: 13px; }
.topbar_left a i { margin-right: 5px; color: #dd1122; }
.topbar_left a:hover { color: #fff; }
.topbar_right { text-align: right; }
.topbar_right a { color: #ccc; margin-left: 12px; font-size: 15px; }
.topbar_right a:hover { color: #dd1122; }

/* ===== HEADER ===== */
.header_section { width: 100%; position: sticky; top: 0; z-index: 1000; transition: box-shadow 0.3s; }
.header_section.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.12); }
.bg-light { background: #fff !important; border-bottom: 3px solid #dd1122; padding: 12px 0; }

.brand_wrap { display: flex; align-items: center; gap: 10px; text-decoration: none !important; }
.brand_name { font-size: 20px; font-weight: 800; color: #111; letter-spacing: 1px; line-height: 1; }
.brand_accent { color: #dd1122; }

.navbar-expand-lg .navbar-nav .nav-link { padding: 8px 16px; font-size: 14px; font-weight: 600; color: #111 !important; letter-spacing: 0.3px; border-bottom: 2px solid transparent; transition: all 0.3s; text-transform: uppercase; }
.navbar-light .navbar-nav .nav-link { color: #111 !important; }
.navbar-expand-lg .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:hover,
.nav-item.active .nav-link { color: #dd1122 !important; border-bottom-color: #dd1122; }

.nav_cta_btn {
  display: inline-block; padding: 9px 22px;
  background: #dd1122; color: #fff !important;
  font-size: 13px; font-weight: 700; border-radius: 4px;
  letter-spacing: 0.5px; margin-left: 10px; transition: all 0.3s; white-space: nowrap;
}
.nav_cta_btn:hover { background: #bb0e1e; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(221,17,34,0.3); }

/* ===== PAGE BANNER ===== */
.page_banner { background: linear-gradient(135deg, #111 0%, #2a2a2a 100%); padding: 60px 0 50px; text-align: center; }
.page_banner_title { font-size: 40px; color: #fff; margin-bottom: 12px; }
.page_breadcrumb { background: transparent; justify-content: center; margin: 0; }
.page_breadcrumb .breadcrumb-item a { color: #dd1122; }
.page_breadcrumb .breadcrumb-item.active { color: #aaa; }
.page_breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: #aaa; }

/* ===== HERO SECTION ===== */
.hero_section {
  position: relative;
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 50%, #111 100%);
  padding: 90px 0 80px; overflow: hidden;
}
.hero_section::before {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(221,17,34,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.hero_overlay { position: absolute; inset: 0; background: url('../images/banner-bg.png') center/cover no-repeat; opacity: 0.06; }
.hero_inner { position: relative; z-index: 1; min-height: 420px; display: flex; align-items: center; }

.hero_badge { display: inline-block; background: rgba(221,17,34,0.15); border: 1px solid rgba(221,17,34,0.4); color: #ff6677; padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 500; margin-bottom: 20px; }
.hero_title { font-size: 50px; color: #fff; font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.hero_desc { font-size: 17px; color: #ccc; margin-bottom: 32px; max-width: 500px; }
.hero_btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero_stats { display: flex; gap: 0; flex-wrap: wrap; align-items: center; }
.stat_item { display: flex; flex-direction: column; padding-right: 30px; }
.stat_num { font-size: 26px; font-weight: 800; color: #dd1122; }
.stat_label { font-size: 12px; color: #999; font-weight: 500; }
.stat_divider { width: 1px; height: 40px; background: rgba(255,255,255,0.15); margin-right: 30px; }

.hero_img { border-radius: 12px; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4)); animation: float 4s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ===== SERVICES STRIP ===== */
.services_strip { background: #dd1122; padding: 18px 0; }
.strip_item { display: flex; align-items: center; justify-content: center; gap: 10px; color: #fff; font-size: 15px; font-weight: 600; padding: 8px 0; }
.strip_item i { font-size: 20px; }

/* ===== SECTION LABELS ===== */
.section_tag { display: inline-block; color: #dd1122; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; position: relative; padding-left: 20px; }
.section_tag::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 12px; height: 2px; background: #dd1122; }
.section_title { font-size: 36px; font-weight: 800; color: #111; margin-bottom: 16px; line-height: 1.2; }
.section_para { font-size: 15px; color: #555; line-height: 1.8; margin-bottom: 14px; }
.section_sub { font-size: 16px; color: #666; max-width: 600px; margin: 0 auto; }

/* ===== ABOUT SECTION ===== */
.about_section { background: #f9f9f9; }
.about_img_wrap { position: relative; display: inline-block; width: 100%; }
.about_img { border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,0.12); width: 100%; }
.about_badge_float { position: absolute; bottom: -15px; right: 10px; background: #dd1122; color: #fff; padding: 16px 20px; border-radius: 10px; font-size: 14px; font-weight: 700; box-shadow: 0 8px 24px rgba(221,17,34,0.35); }
.about_features_grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.feat_item { font-size: 14px; font-weight: 500; color: #333; display: flex; align-items: center; gap: 8px; }
.feat_item i { font-size: 16px; }

/* ===== PRODUCTS SECTION ===== */
.products_section { background: #fff; }
.product_card { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 28px 22px; height: 100%; transition: all 0.3s; position: relative; overflow: hidden; }
.product_card::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: #dd1122; transform: scaleX(0); transition: transform 0.3s; }
.product_card:hover { border-color: #dd1122; box-shadow: 0 12px 40px rgba(0,0,0,0.08); transform: translateY(-4px); }
.product_card:hover::before { transform: scaleX(1); }
.product_featured { border-color: #dd1122; background: linear-gradient(135deg, #fff5f5 0%, #fff 100%); }
.product_badge_label { position: absolute; top: 14px; right: 14px; background: #dd1122; color: #fff; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 20px; }
.product_icon_wrap { width: 72px; height: 72px; background: #fff5f5; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; padding: 12px; }
.product_icon_wrap img { max-width: 46px; }
.product_title { font-size: 17px; font-weight: 700; color: #111; margin-bottom: 8px; }
.product_desc { font-size: 14px; color: #666; line-height: 1.7; margin-bottom: 14px; }
.product_link { font-size: 14px; font-weight: 600; color: #dd1122; display: inline-flex; align-items: center; gap: 6px; }
.product_link:hover { gap: 10px; }

/* ===== WHY SECTION ===== */
.why_section { background: #f4f4f4; }
.why_card { background: #fff; border-radius: 12px; padding: 34px 22px; height: 100%; transition: all 0.3s; border: 1px solid #eee; }
.why_card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.08); transform: translateY(-4px); }
.why_icon_wrap { width: 62px; height: 62px; background: linear-gradient(135deg, #dd1122, #ff4455); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.why_icon_wrap i { font-size: 22px; color: #fff; }
.why_card h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.why_card p { font-size: 14px; color: #666; margin: 0; }

/* ===== STATS SECTION ===== */
.stats_section { background: linear-gradient(135deg, #111 0%, #1c1c1c 100%); padding: 60px 0; }
.stat_block { padding: 20px; }
.stat_big_num { font-size: 48px; font-weight: 800; color: #dd1122; line-height: 1; margin-bottom: 8px; }
.stat_big_label { font-size: 14px; color: #aaa; font-weight: 500; }

/* ===== CTA SECTION ===== */
.cta_section { background: linear-gradient(135deg, #dd1122 0%, #aa0d1a 100%); padding: 60px 0; }
.cta_title { font-size: 28px; color: #fff; font-weight: 800; margin-bottom: 8px; }
.cta_sub { font-size: 16px; color: rgba(255,255,255,0.85); margin: 0; }

/* ===== FOOTER ===== */
.footer_section { background: #111; padding: 70px 0 30px; }
.footer_brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer_brand_name { font-size: 17px; font-weight: 800; color: #fff; letter-spacing: 0.5px; }
.footer_about { font-size: 14px; color: #999; margin-bottom: 18px; line-height: 1.7; }
.footer_contact_items { margin-bottom: 20px; }
.fc_item { font-size: 13px; color: #aaa; margin-bottom: 8px; display: flex; align-items: flex-start; gap: 8px; }
.fc_item i { margin-top: 2px; min-width: 14px; }
.footer_social { display: flex; gap: 8px; margin-top: 10px; }
.footer_social a { width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #ccc; font-size: 15px; transition: all 0.3s; }
.footer_social a:hover { background: #dd1122; color: #fff; }
.footer_heading { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid #dd1122; display: inline-block; }
.footer_links { list-style: none; padding: 0; margin: 0; }
.footer_links li { margin-bottom: 8px; }
.footer_links a { font-size: 14px; color: #999; display: flex; align-items: center; gap: 8px; transition: all 0.3s; }
.footer_links a i { color: #dd1122; font-size: 12px; }
.footer_links a:hover { color: #dd1122; padding-left: 4px; }
.footer_team_block { margin-bottom: 16px; }
.footer_team_block p { font-size: 13px; color: #999; margin: 2px 0; }
.team_label { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 5px; display: flex; align-items: center; gap: 8px; }
.footer_map_link { margin-top: 12px; }

/* ===== COPYRIGHT ===== */
.copyright_section { background: #0a0a0a; padding: 14px 0; }
.copyright_inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; color: #777; }
.copyright_inner a { color: #999; }
.copyright_inner a:hover { color: #dd1122; }
.teams_text { display: flex; gap: 4px; }

/* ===== CONTACT PAGE ===== */
.contact_page_section { background: #f9f9f9; }
.contact_team_card { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 32px 22px; height: 100%; text-align: center; transition: all 0.3s; }
.contact_team_card:hover { border-color: #dd1122; box-shadow: 0 12px 40px rgba(0,0,0,0.08); transform: translateY(-4px); }
.contact_team_featured { border-color: #dd1122; background: linear-gradient(135deg, #fff5f5, #fff); }
.ctc_icon { width: 62px; height: 62px; background: #dd1122; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.ctc_icon i { font-size: 22px; color: #fff; }
.ctc_title { font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.contact_team_card p { font-size: 14px; color: #444; margin-bottom: 5px; }
.contact_team_card p a { color: #444; }
.contact_team_card p a:hover { color: #dd1122; }
.ctc_note { font-size: 12px; color: #999; font-style: italic; margin-top: 8px; }
.contact_form_wrap { background: #fff; border-radius: 12px; padding: 40px; box-shadow: 0 4px 30px rgba(0,0,0,0.06); }
.form_heading { font-size: 22px; font-weight: 700; margin-bottom: 24px; }
.contact_input { border-radius: 6px !important; border: 1px solid #e0e0e0 !important; padding: 12px 16px !important; font-size: 14px !important; font-family: 'Poppins', sans-serif; transition: border-color 0.3s; }
.contact_input:focus { border-color: #dd1122 !important; box-shadow: 0 0 0 3px rgba(221,17,34,0.1) !important; }
.contact_info_side { background: #fff; border-radius: 12px; padding: 36px 28px; box-shadow: 0 4px 30px rgba(0,0,0,0.06); height: 100%; }
.cis_item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid #f0f0f0; }
.cis_item:last-of-type { border-bottom: none; margin-bottom: 0; }
.cis_icon { width: 42px; height: 42px; min-width: 42px; background: #fff5f5; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.cis_icon i { font-size: 17px; color: #dd1122; }
.cis_item h5 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.cis_item p { font-size: 13px; color: #555; margin: 0 0 2px; }
.cis_item p a { color: #555; }
.cis_item p a:hover { color: #dd1122; }
.contact_social h5 { font-size: 14px; font-weight: 700; margin-bottom: 10px; }

/* ===== PRODUCTS PAGE ===== */
.products_page_section { background: #f9f9f9; }
.product_card_full { background: #fff; border-radius: 12px; border: 1px solid #eee; overflow: hidden; height: 100%; transition: all 0.3s; position: relative; }
.product_card_full:hover { box-shadow: 0 16px 50px rgba(0,0,0,0.10); transform: translateY(-4px); border-color: #dd1122; }
.product_card_full_featured { border-color: #dd1122; }
.pcf_badge { position: absolute; top: 14px; right: 14px; background: #dd1122; color: #fff; font-size: 11px; font-weight: 700; padding: 4px 14px; border-radius: 20px; z-index: 1; }
.pcf_img { background: #fff5f5; padding: 28px; text-align: center; border-bottom: 1px solid #f5e0e0; }
.pcf_img img { max-height: 110px; width: auto; }
.pcf_body { padding: 26px 22px; }
.pcf_title { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.pcf_desc { font-size: 14px; color: #666; line-height: 1.7; margin-bottom: 14px; }
.pcf_features { padding: 0; }
.pcf_features li { font-size: 13px; color: #444; margin-bottom: 7px; display: flex; align-items: center; gap: 8px; }
.pcf_features li i { font-size: 12px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .hero_title { font-size: 34px; }
  .section_title { font-size: 26px; }
  .page_banner_title { font-size: 28px; }
  .hero_section { padding: 60px 0 50px; }
  .navbar-collapse { background: #fff; padding: 16px; border-top: 2px solid #dd1122; }
  .nav_cta_btn { margin: 12px 0 0; display: inline-block; }
  .about_badge_float { right: 10px; bottom: -10px; }
  .hero_inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767px) {
  .hero_title { font-size: 26px; }
  .hero_desc { font-size: 14px; }
  .hero_btns { flex-direction: column; align-items: flex-start; }
  .hero_stats { gap: 16px; }
  .stat_divider { display: none; }
  .stat_item { padding-right: 0; }
  .cta_title { font-size: 20px; }
  .topbar_right { text-align: left; margin-top: 4px; }
  .copyright_inner { flex-direction: column; text-align: center; }
  .contact_form_wrap { padding: 22px 16px; }
  .about_features_grid { grid-template-columns: 1fr; }
  .services_strip .row { gap: 4px; }
}
