/* --- VARIABLES --- */
:root {
  --primary: #c4001a;       /* Brand Red */
  --primary-dark: #900013;
  --text-main: #1a1b1f;
  --text-muted: #5e636e;
  --bg-white: #ffffff;
  --bg-gray: #f4f6f8;
  --bg-dark: #111214;
  
  --font-main: "Titillium Web", sans-serif;
  
  --radius: 12px;
  --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- RESET & BASE --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  color: var(--text-main);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); margin-bottom: 20px; }
h2 { font-size: 2.2rem; margin-bottom: 10px; }
h3 { font-size: 1.4rem; margin-bottom: 10px; }
p { margin-bottom: 15px; color: var(--text-muted); }

.accent-text { color: var(--primary); }
.text-large { font-size: 1.2rem; font-weight: 600; color: var(--text-main); }

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(196, 0, 26, 0.3);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }

.btn-outline {
  border: 2px solid var(--text-main);
  color: var(--text-main);
  margin-left: 10px;
}
.btn-outline:hover { background: var(--text-main); color: #fff; }

/* --- NAVBAR --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 10px 0;
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  height: 50px; 
  width: auto;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 1rem;
}

.nav-links a:hover { color: var(--primary); }

.btn-nav {
  background: var(--primary);
  color: white !important;
  padding: 8px 18px;
  border-radius: 4px;
}

/* Mobile Menu Toggle */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; }
.menu-toggle span { display: block; width: 25px; height: 3px; background: #333; margin: 5px 0; transition: 0.3s; }

/* --- HERO SECTION --- */
.hero {
  padding: 120px 0 100px;
  background: linear-gradient(135deg, #ffffff 0%, #f4f6f8 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 50px;
}

.badge {
  background: rgba(196, 0, 26, 0.1);
  color: var(--primary);
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 15px;
  display: inline-block;
}

.hero-visual {
  position: relative;
  height: 400px;
  background-image: radial-gradient(var(--primary) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.1;
  mask-image: radial-gradient(circle, black 40%, transparent 70%);
}

/* --- SECTIONS COMMON --- */
.section { padding: 100px 0; }
.section-white { background: var(--bg-white); }
.section-gray { background: var(--bg-gray); border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.section-dark { background: var(--bg-dark); color: #fff; }

.section-header { margin-bottom: 60px; }
.line { width: 60px; height: 4px; background: var(--primary); margin-top: 10px; }
.line-center { margin: 10px auto; }
.text-center { text-align: center; }

/* --- GRIDS --- */
.grid-2-col { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.grid-4-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }

/* --- ABOUT SPECS --- */
.specs-list {
  display: flex;
  gap: 40px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}
.specs-list dt { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; font-weight: 700; }
.specs-list dd { font-size: 1.1rem; font-weight: 600; color: var(--text-main); }

.about-card {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border-left: 5px solid var(--primary);
}

/* CHECKMARK FIX: Drawing the checkmark with CSS borders instead of a font character */
.check-list li {
  margin-bottom: 12px;
  padding-left: 30px; /* More space for the checkmark */
  position: relative;
  font-weight: 600;
  color: var(--text-main);
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 14px;
  border: solid var(--primary);
  border-width: 0 3px 3px 0; /* Creates the 'L' shape */
  transform: rotate(45deg);   /* Rotates it to look like a checkmark */
}

/* --- EXPERTISE CARDS (ICONS) --- */
.service-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
  border-color: rgba(196, 0, 26, 0.1);
}

.icon-box {
  width: 70px;
  height: 70px;
  background: rgba(196, 0, 26, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  /* Font size fallback if using font-icons later */
  font-size: 24px; 
  color: var(--primary);
}

/* This ensures if image is missing, the box still looks nice */
.icon-box img { 
    width: 36px; 
    height: 36px; 
}

/* --- TAGS & PARTNERS --- */
.tags-container { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tag {
  background: var(--bg-gray);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main);
}
.tag-outline { border: 1px solid #ddd; background: transparent; color: var(--text-muted); }

.partners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 20px;
}
.partner-item {
  background: var(--bg-gray);
  padding: 15px;
  text-align: center;
  border-radius: 8px;
  font-weight: 700;
  color: #444;
}

/* --- CONTACT --- */
.contact-card {
  background: #1f2125;
  padding: 50px;
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  color: #fff;
}
.contact-card h3 { color: var(--primary); margin-bottom: 20px; }
.contact-card address { font-style: normal; color: #ccc; line-height: 1.8; }
.contact-card a { color: #fff; text-decoration: underline; }
.person-name { font-size: 1.2rem; margin-bottom: 5px; color: #fff; }

/* --- FOOTER --- */
footer {
  background: #000;
  color: #666;
  padding: 30px 0;
  font-size: 0.9rem;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-nav a { margin-left: 20px; color: #666; }
.footer-nav a:hover { color: #fff; }

/* --- ANIMATIONS (FADE IN) --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .hero-grid, .grid-2-col, .contact-card { grid-template-columns: 1fr; gap: 30px; }
  .navbar-inner { flex-wrap: wrap; }
  
  .menu-toggle { display: block; }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    padding: 20px 0;
    background: #fff;
    border-top: 1px solid #eee;
  }
  .nav-links.active { display: flex; }
  .hero-visual { height: 200px; }
}