/* ================= IIC GLOBAL STYLES ================= */

/* BRAND COLORS */
:root {
  --iic-red: #C62828;
  --iic-blue: #0B3C5D;
  --charcoal: #1F1F1F;
  --light-grey: #F3F4F6;
  --white: #FFFFFF;
  --dark-bg: #0a0a0a;
  --gradient-primary: linear-gradient(135deg, #C62828 0%, #8B1F1F 100%);
  --gradient-dark: linear-gradient(120deg, rgba(0, 0, 0, .85), rgba(31, 31, 31, .6), rgba(0, 0, 0, .85));
}

/* GLOBAL RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }
}

/* UTILITIES */
.section-padding {
  padding: 90px 0;
}

.bg-light {
  background: var(--light-grey) !important;
}

.bg-dark {
  background: var(--charcoal) !important;
  color: var(--white);
}

.text-primary {
  color: var(--iic-red) !important;
}

.text-muted {
  color: #6c757d;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 30px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--iic-red);
  color: var(--white);
  border: 2px solid var(--iic-red);
}

.btn-primary:hover {
  background: #a81f1f;
  border-color: #a81f1f;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(198, 40, 40, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--iic-red);
  border: 2px solid var(--iic-red);
}

.btn-outline:hover {
  background: var(--iic-red);
  color: var(--white);
}

/* NAVBAR */
.navbar {
  background: var(--white) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.navbar-brand img {
  height: 42px;
  transition: height 0.3s ease;
}

.navbar.scrolled .navbar-brand img {
  height: 36px;
}

.navbar .nav-link {
  color: var(--charcoal) !important;
  font-weight: 500;
  font-size: 0.8rem;
  padding: 0.4rem 0.6rem !important;
  transition: color 0.3s ease;
  position: relative;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--iic-red);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  width: 70%;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--iic-red) !important;
}

.navbar-text {
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

/* HERO SECTIONS */
.hero-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-dark);
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-accent-line {
  width: 80px;
  height: 4px;
  background: var(--iic-red);
  margin: 20px auto;
}

/* CARDS & BOXES */
.icon-box {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  border-bottom: 5px solid var(--iic-red);
  border-left: 5px solid var(--iic-red);
  border-right: 5px solid var(--iic-red);
  transition: all 0.3s ease;
  height: 100%;
}

.icon-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.card-premium {
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-top: 4px solid var(--iic-red);
}

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

/* IMAGES */
.section-img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.img-hover-zoom {
  overflow: hidden;
  border-radius: 12px;
}

.img-hover-zoom img {
  transition: transform 0.5s ease;
}

.img-hover-zoom:hover img {
  transform: scale(1.1);
}

/* TIMELINE */
.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--iic-red);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--iic-red);
  border: 4px solid var(--white);
  transform: translateX(-50%);
  z-index: 2;
}

/* FOOTER */
footer {
  background: #000;
  color: var(--white);
  padding: 60px 0 20px;
}

footer a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--iic-red) !important;
}

footer h5 {
  color: var(--iic-red);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin-bottom: 10px;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  background: #25D366;
  border-radius: 50%;
  padding: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: white;
}

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

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

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .section-padding {
    padding: 60px 0;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item::before {
    left: 30px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 50vh;
  }

  .icon-box {
    padding: 30px;
  }
}

/* PRODUCT GRID */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.product-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

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

.product-card-body {
  padding: 20px;
}

.product-card h5 {
  color: var(--charcoal);
  margin-bottom: 10px;
}

.product-card p {
  color: #6c757d;
  font-size: 0.9rem;
}

/* CONTACT FORM */
.form-control {
  width: 100%;
  padding: 12px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.form-control:focus {
  outline: none;
  border-color: var(--iic-red);
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.1);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* BADGE PILLS */
.badge-pill {
  display: inline-block;
  padding: 8px 16px;
  margin: 6px;
  border: 2px solid var(--iic-red);
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--iic-red);
  background: var(--white);
  transition: all 0.3s ease;
}

.badge-pill:hover {
  background: var(--iic-red);
  color: var(--white);
  transform: translateY(-2px);
}

/* STATS COUNTER */
.stat-box {
  text-align: center;
  padding: 30px;
}

.stat-box h2 {
  font-size: 3rem;
  color: var(--iic-red);
  font-weight: 800;
  margin-bottom: 10px;
}

.stat-box p {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6c757d;
}

/* ================= PREMIUM UI KIT ================= */

/* Premium Gradient Text */
.premium-gradient-text {
  background: linear-gradient(135deg, var(--iic-red) 0%, #0B3C5D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Premium Section Background */
.premium-section-bg {
  background-color: #fdfdfd;
  background-image: radial-gradient(#e0e0e0 1px, transparent 1px);
  background-size: 20px 20px;
  position: relative;
}

/* Glassmorphic Text Box */
.premium-text-box {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  border-left: 5px solid var(--iic-red);
}

.premium-text-box::before {
  content: '"';
  position: absolute;
  top: -20px;
  right: 20px;
  font-size: 10rem;
  color: rgba(198, 40, 40, 0.03);
  font-family: serif;
  line-height: 1;
}

/* Premium Image Frame */
.image-frame-premium {
  position: relative;
  padding: 15px;
  z-index: 1;
}

.image-frame-premium::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 70%;
  height: 80%;
  background: linear-gradient(135deg, rgba(198, 40, 40, 0.05) 0%, rgba(11, 60, 93, 0.05) 100%);
  border-radius: 20px;
  z-index: -1;
  transform: translate(15px, -15px);
}

.image-frame-premium::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  height: 50%;
  border: 2px solid rgba(11, 60, 93, 0.1);
  border-radius: 20px;
  z-index: -1;
  transform: translate(-20px, 20px);
}

@media (max-width: 768px) {
  .image-frame-premium::before {
    width: 90%;
    transform: translate(10px, -10px);
  }

  .image-frame-premium::after {
    display: none;
  }

  .premium-text-box {
    padding: 25px;
  }

  .floating-stat-badge {
    position: static;
    margin-top: 20px;
    transform: none !important;
    /* Disable float animation on mobile to save space */
    animation: none;
    width: 100%;
    justify-content: center;
  }

  .image-frame-premium {
    padding: 0;
    margin-bottom: 20px;
  }
}

.image-frame-premium img {
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s ease;
}

.image-frame-premium:hover img {
  transform: scale(1.02);
}

/* Floating Stat Badge */
.floating-stat-badge {
  position: absolute;
  bottom: 40px;
  left: -20px;
  background: white;
  padding: 15px 25px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 2;
  border-left: 4px solid var(--iic-red);
  animation: floatBadge 3s ease-in-out infinite;
}

@keyframes floatBadge {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.floating-stat-badge .icon {
  width: 40px;
  height: 40px;
  background: rgba(198, 40, 40, 0.1);
  color: var(--iic-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.floating-stat-badge div strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1.1;
  color: var(--charcoal);
}

.floating-stat-badge div span {
  font-size: 0.8rem;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Premium Check List */
.list-check-premium {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.list-check-premium li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: #555;
  font-weight: 500;
}

.list-check-premium li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--iic-red);
  font-weight: 800;
}