/* ===== Variables ===== */
:root {
  --red: #C41E2A;
  --red-dark: #9B1520;
  --red-light: #E8353F;
  --blue: #1A3A6B;
  --blue-dark: #0F2548;
  --blue-light: #2A5298;
  --white: #FFFFFF;
  --gray-50: #F8F9FA;
  --gray-100: #F1F3F5;
  --gray-200: #E9ECEF;
  --gray-400: #ADB5BD;
  --gray-600: #6C757D;
  --gray-800: #343A40;
  --gray-900: #212529;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-800);
  line-height: 1.7;
  overflow-x: hidden;
  background: var(--white);
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== Container ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; font-weight: 600;
  font-size: 0.95rem; cursor: pointer; transition: var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--red); color: var(--white); border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark); border-color: var(--red-dark);
  transform: translateY(-2px); box-shadow: 0 8px 25px rgba(196,30,42,0.35);
}
.btn-outline {
  background: transparent; color: var(--blue); border-color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue); color: var(--white);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }

/* ===== Navigation ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
}
#navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px; font-size: 1.05rem;
  color: var(--blue-dark);
}
.nav-logo img { height: 42px; width: 42px; border-radius: 8px; object-fit: cover; }
.nav-logo span { letter-spacing: -0.3px; }
.nav-links {
  display: flex; align-items: center; gap: 8px;
}
.nav-links a {
  padding: 8px 16px; border-radius: 8px; font-size: 0.9rem;
  font-weight: 500; color: var(--gray-600);
}
.nav-links a:hover { color: var(--red); background: var(--gray-50); }
.nav-cta {
  background: var(--red) !important; color: var(--white) !important;
  border-radius: 50px !important; padding: 10px 24px !important;
}
.nav-cta:hover { background: var(--red-dark) !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--gray-800);
  margin: 5px 0; transition: var(--transition); border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(160deg, #f8f9fa 0%, #e8edf4 40%, #3a6ea5 75%, #1A3A6B 100%);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 85%, rgba(196,30,42,0.1) 0%, transparent 40%),
    radial-gradient(circle at 85% 15%, rgba(26,58,107,0.15) 0%, transparent 40%);
}
.hero::after {
  content: ''; position: absolute; top: -30%; right: -15%;
  width: 700px; height: 700px; border-radius: 50%;
  background: rgba(196,30,42,0.05);
}
.hero-overlay { position: absolute; inset: 0; background: transparent; }
.hero-content {
  position: relative; z-index: 2; max-width: 1200px;
  margin: 0 auto; padding: 120px 24px 80px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(196,30,42,0.08); backdrop-filter: blur(10px);
  border: 1px solid rgba(196,30,42,0.15);
  padding: 8px 20px; border-radius: 50px; color: var(--red);
  font-size: 0.85rem; font-weight: 600; margin-bottom: 24px;
  animation: fadeInUp 0.8s ease;
}
.hero h1 {
  font-family: 'Playfair Display', serif; font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  color: var(--gray-900); line-height: 1.15; margin-bottom: 20px;
  font-weight: 700; animation: fadeInUp 0.8s ease 0.1s both;
}
.hero p {
  font-size: 1.15rem; color: var(--gray-600); max-width: 560px;
  margin-bottom: 36px; line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.2s both;
}
.highlight { color: var(--red-light); }
.hero-buttons {
  display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px;
  animation: fadeInUp 0.8s ease 0.3s both;
}
.hero-stats {
  display: flex; gap: 40px; flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.4s both;
}
.stat {
  display: flex; align-items: center; gap: 14px; color: var(--gray-800);
}
.stat i {
  font-size: 1.4rem; color: var(--red);
  background: rgba(196,30,42,0.08); width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
}
.stat strong { display: block; font-size: 0.95rem; }
.stat span { font-size: 0.8rem; color: var(--gray-600); }

/* ===== Section Shared ===== */
section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(196,30,42,0.08); color: var(--red);
  padding: 6px 16px; border-radius: 50px; font-size: 0.85rem;
  font-weight: 600; margin-bottom: 16px;
}
.section-header h2 {
  font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--gray-900); line-height: 1.25; margin-bottom: 12px;
}
.section-subtitle { color: var(--gray-600); font-size: 1.05rem; max-width: 540px; margin: 0 auto; }

/* ===== About ===== */
.about { background: var(--gray-50); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.about-main { grid-column: 1 / -1; }
.about-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 40px;
  box-shadow: var(--shadow-sm); transition: var(--transition);
  border: 1px solid var(--gray-200);
}
.about-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.about-icon-large {
  width: 72px; height: 72px; border-radius: 16px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: var(--white); margin-bottom: 24px;
}
.about-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(196,30,42,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--red); margin-bottom: 20px;
}
.about-card h3 { font-size: 1.25rem; margin-bottom: 12px; color: var(--gray-900); }
.about-card p { color: var(--gray-600); margin-bottom: 12px; }

/* ===== Services ===== */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--shadow-sm); transition: var(--transition);
  border: 1px solid var(--gray-200); position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--red); transform: scaleX(0);
  transition: var(--transition); transform-origin: left;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.service-card.featured {
  grid-column: 1 / -1; display: grid;
  grid-template-columns: auto 1fr; gap: 0 32px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: var(--white); border: none;
}
.service-card.featured .service-icon {
  background: rgba(255,255,255,0.1); color: var(--white);
  grid-row: 1 / 3;
}
.service-card.featured h3 { color: var(--white); }
.service-card.featured p { color: rgba(255,255,255,0.8); }
.service-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: rgba(196,30,42,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--red); margin-bottom: 20px;
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--gray-900); }
.service-card p { color: var(--gray-600); font-size: 0.95rem; }
.service-features {
  margin-top: 16px; display: flex; flex-direction: column; gap: 8px;
}
.service-features li {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.85); font-size: 0.9rem;
}
.service-features i { color: var(--red-light); font-size: 0.85rem; }

/* ===== Why Us ===== */
.why-us { background: var(--gray-50); }
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.why-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--shadow-sm); transition: var(--transition);
  border: 1px solid var(--gray-200);
}
.why-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.why-number {
  font-family: 'Playfair Display', serif; font-size: 2.5rem;
  font-weight: 700; color: rgba(196,30,42,0.12); margin-bottom: 16px;
  line-height: 1;
}
.why-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--gray-900); }
.why-card p { color: var(--gray-600); font-size: 0.95rem; }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  margin-bottom: 12px; overflow: hidden; background: var(--white);
  transition: var(--transition);
}
.faq-item.active { border-color: var(--red); box-shadow: 0 4px 15px rgba(196,30,42,0.1); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; background: none; border: none; cursor: pointer;
  font-size: 1rem; font-weight: 600; color: var(--gray-900);
  font-family: 'Inter', sans-serif; text-align: left;
}
.faq-question i { color: var(--red); transition: var(--transition); font-size: 0.85rem; }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
}
.faq-answer p { padding: 0 24px 20px; color: var(--gray-600); line-height: 1.8; }

/* ===== Contact ===== */
.contact { background: var(--gray-50); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 40px;
}
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--white); padding: 24px; border-radius: var(--radius);
  border: 1px solid var(--gray-200); transition: var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.contact-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: rgba(196,30,42,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--red);
}
.contact-card h4 { font-size: 0.85rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.contact-card a { display: block; color: var(--gray-800); font-weight: 500; }
.contact-card a:hover { color: var(--red); }
.contact-card p { color: var(--gray-600); font-size: 0.95rem; line-height: 1.6; }
.contact-form-wrapper {
  background: var(--white); padding: 40px; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
}
.contact-form-wrapper h3 { font-size: 1.3rem; margin-bottom: 24px; color: var(--gray-900); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 14px 18px; border: 1px solid var(--gray-200);
  border-radius: var(--radius); font-family: 'Inter', sans-serif;
  font-size: 0.95rem; transition: var(--transition); background: var(--gray-50);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--red); background: var(--white);
  box-shadow: 0 0 0 3px rgba(196,30,42,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* ===== Footer ===== */
.footer {
  background: var(--gray-900); color: rgba(255,255,255,0.7); padding: 60px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1.5fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo { height: 50px; width: 50px; border-radius: 10px; margin-bottom: 12px; }
.footer-tagline { font-style: italic; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); font-size: 1.1rem;
}
.footer-social a:hover { background: var(--red); color: var(--white); }
.footer-links h4, .footer-contact h4 {
  color: var(--white); font-size: 1rem; margin-bottom: 16px;
}
.footer-links a {
  display: block; padding: 4px 0; color: rgba(255,255,255,0.6); font-size: 0.9rem;
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-contact p {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9rem; margin-bottom: 10px;
}
.footer-contact i { color: var(--red-light); margin-top: 4px; }
.footer-bottom { text-align: center; padding: 24px 0; font-size: 0.85rem; }

/* ===== Animations ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate.visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 968px) {
  .services-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card.featured { grid-template-columns: 1fr; }
  .service-card.featured .service-icon { grid-row: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
    background: var(--white); flex-direction: column;
    padding: 24px; gap: 4px;
    transform: translateX(100%); transition: var(--transition);
  }
  .nav-links.active { transform: translateX(0); }
  .nav-toggle { display: block; }
  .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .nav-links a { padding: 14px 16px; font-size: 1rem; width: 100%; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .about-grid, .services-grid, .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
