:root {
  /* --- BRAND COLORS --- */
  --primary-color: #d9232d;
  --primary-dark: #b0161f;
  --accent-color: #c5a065;
  --dark-bg: #111111;

  /* --- FONTS --- */
  --font-heading: "Oswald", sans-serif;
  --font-body: "Poppins", sans-serif;

  /* --- UI --- */
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* GLOBAL RESETS */
body {
  font-family: var(--font-body);
  color: var(--dark-bg);
  overflow-x: hidden;
  background-color: #f8f8f8;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========================================
        1. INNER PAGE HEADER (Premium Parallax)
        ======================================== */
.inner-header {
  height: 60vh; /* Increased Height */
  min-height: 500px; /* Increased Min-Height */
  /* Dark gradient overlay for better text visibility */
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.8), rgba(17, 17, 17, 0.6)),
    url("../images/banner/16.jpeg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}

.inner-title {
  font-family: var(--font-heading);
  font-size: 3.5rem; /* Reduced from 4.5rem */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
  text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.3);
  animation: slideUp 1s cubic-bezier(0.2, 1, 0.3, 1);
}

.breadcrumb-wrap {
  margin-top: 20px;
  font-size: 0.95rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeIn 1.5s ease;
  font-weight: 500;
}
.breadcrumb-wrap a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}
.breadcrumb-wrap a:hover {
  color: #fff;
}
.breadcrumb-wrap span {
  margin: 0 12px;
  color: rgba(255, 255, 255, 0.5);
}

@keyframes slideUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ========================================
        2. THE STORY / LEGACY SECTION (Refined)
        ======================================== */
.section-story {
  padding: 100px 0;
  background-color: #fff;
  position: relative;
}

/* Subtle background pattern */
.section-story::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background-image: radial-gradient(var(--light-bg) 2px, transparent 2px);
  background-size: 30px 30px;
  opacity: 0.5;
  z-index: 0;
}

.story-content {
  padding-right: 50px;
  position: relative;
  z-index: 1;
}

.sec-subtitle {
  font-size: 0.95rem;
  color: var(--primary-color);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  margin-bottom: 15px;
}

.sec-title {
  font-family: var(--font-heading);
  font-size: 2.8rem; /* Reduced from 3.5rem */
  color: var(--dark-bg);
  margin-bottom: 30px;
  line-height: 1.2;
  text-transform: uppercase;
}

.sec-title span {
  color: var(--accent-color);
  font-family: var(--font-serif);
  font-style: italic;
  text-transform: none;
  font-size: 3rem; /* Reduced from 3.8rem */
}

.sec-desc {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #555;
  margin-bottom: 25px;
  font-weight: 300;
}

.story-img-wrapper {
  position: relative;
  z-index: 1;
  padding-bottom: 30px;
  padding-left: 30px;
}

.story-img-wrapper img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Year Badge overlapping the image */
.year-badge {
  position: absolute;
  bottom: 0px;
  left: 0px;
  background-color: var(--dark-bg);
  color: #fff;
  padding: 25px 35px;
  text-align: center;
  border-top: 4px solid var(--primary-color);
  z-index: 2;
  box-shadow: 10px 10px 40px rgba(0, 0, 0, 0.2);
}
.year-badge h3 {
  font-family: var(--font-heading);
  font-size: 3rem; /* Reduced from 4rem */
  margin: 0;
  line-height: 1;
  color: var(--accent-color);
}
.year-badge span {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

/* ========================================
        3. VISION & MISSION (Dark Premium Cards)
        ======================================== */
.section-vision {
  padding: 100px 0;
  background-color: var(--dark-bg);
  color: #fff;
  position: relative;
  /* Subtle texture background */
  background-image: 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.02"%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');
}

.vm-card {
  background: #161616;
  border: 1px solid #222;
  padding: 50px 40px;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid transparent;
}

.vm-card:hover {
  transform: translateY(-10px);
  background: #1a1a1a;
  border-color: #333;
  border-bottom-color: var(--primary-color);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.vm-icon {
  font-size: 2.8rem;
  color: var(--accent-color);
  margin-bottom: 25px;
  transition: 0.4s;
}

.vm-card:hover .vm-icon {
  transform: scale(1.1);
  color: var(--primary-color);
}

.vm-title {
  font-family: var(--font-heading);
  font-size: 1.8rem; /* Reduced from 2.2rem */
  margin-bottom: 15px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.vm-text {
  color: #a0a0a0;
  line-height: 1.8;
  font-weight: 300;
  font-size: 1rem;
}

/* ========================================
        4. OUR STRENGTH (STYLISH & SEXY STATS)
        ======================================== */
.section-stats {
  padding: 100px 0;
  background-color: #0d0d0d; /* Deep dark premium background */
  position: relative;
  /* Sleek dotted overlay */
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.05) 1px,
    transparent 1px
  );
  background-size: 20px 20px;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
}

.stat-item {
  text-align: center;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
}

/* Animated Top Border Glow */
.stat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.stat-item:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.1);
}

.stat-item:hover::before {
  transform: scaleX(1);
}

.stat-icon {
  font-size: 2.2rem;
  color: var(--accent-color);
  margin-bottom: 20px;
  opacity: 0.8;
  transition: 0.3s;
}

.stat-item:hover .stat-icon {
  opacity: 1;
  transform: scale(1.1);
  color: var(--primary-color);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.2rem; /* Reduced from 4.5rem */
  color: #fff; /* Changed to white for dark theme */
  line-height: 1;
  margin-bottom: 10px;
  font-weight: 700;
}

.stat-label {
  font-size: 0.9rem;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 400;
}

@media (max-width: 991px) {
  .inner-title {
    font-size: 2.8rem;
  }
  .story-content {
    padding-right: 0;
    margin-bottom: 50px;
  }
  .sec-title {
    font-size: 2.2rem;
  }
  .sec-title span {
    font-size: 2.5rem;
  }
  .story-img-wrapper {
    padding-left: 0;
    padding-bottom: 0;
  }
  .story-img-wrapper img {
    height: 400px;
  }
  .year-badge {
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
    padding: 20px 30px;
    width: 80%;
  }
  .year-badge h3 {
    font-size: 2.2rem;
  }
  .section-vision {
    padding: 80px 0;
  }
  .vm-card {
    margin-bottom: 30px;
    padding: 30px 20px;
  }
  .stat-item {
    margin-bottom: 20px;
  }
}
