/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:   #d32f2f;
  --primary-dk:#b71c1c;
  --accent:    #ff6f00;
  --dark:      #1a1a2e;
  --dark2:     #16213e;
  --light:     #f5f5f5;
  --white:     #ffffff;
  --text:      #333333;
  --text-muted:#666666;
  --radius:    12px;
  --shadow:    0 4px 24px rgba(0,0,0,.12);
  --transition:0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 5%;
  background: rgba(26,26,46,.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
  transition: var(--transition);
}
.navbar.scrolled { padding: 0.65rem 5%; }

.logo {
  display: flex; align-items: center; gap: .6rem;
  font-size: 1.5rem; font-weight: 800; color: var(--white);
  letter-spacing: .5px;
}
.logo span { color: var(--primary); }
.logo-icon { font-size: 1.8rem; }

.nav-links {
  display: flex; align-items: center; gap: 2rem;
}
.nav-links a {
  color: rgba(255,255,255,.85);
  font-weight: 500; font-size: .95rem;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--primary);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-links .btn-nav {
  background: var(--primary); color: var(--white);
  padding: .45rem 1.2rem; border-radius: 50px;
  font-weight: 600;
}
.nav-links .btn-nav:hover { background: var(--primary-dk); }
.nav-links .btn-nav::after { display: none; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 25px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 50%, #0f3460 100%);
  position: relative; overflow: hidden; padding: 7rem 5% 4rem;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(211,47,47,.15) 0%, transparent 70%);
}
.hero-shapes .shape {
  position: absolute; border-radius: 50%; opacity: .08;
  animation: float 6s ease-in-out infinite;
}
.shape-1 { width: 400px; height: 400px; background: var(--primary); top: -100px; left: -100px; animation-delay: 0s; }
.shape-2 { width: 300px; height: 300px; background: var(--accent);  bottom: -80px; right: -80px; animation-delay: 2s; }
.shape-3 { width: 200px; height: 200px; background: var(--white);   top: 40%; left: 70%; animation-delay: 4s; }

@keyframes float {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-20px) rotate(5deg); }
}

.hero-content { position: relative; z-index: 2; max-width: 780px; margin: auto; }
.hero-badge {
  display: inline-block;
  background: rgba(211,47,47,.2); border: 1px solid rgba(211,47,47,.4);
  color: #ff8a80; padding: .35rem 1rem; border-radius: 50px;
  font-size: .85rem; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 900; color: var(--white); line-height: 1.1;
  margin-bottom: 1rem;
}
.hero h1 .highlight { color: var(--primary); }
.hero p {
  font-size: 1.15rem; color: rgba(255,255,255,.75);
  max-width: 560px; margin: 0 auto 2.5rem;
}
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 2rem; border-radius: 50px; font-weight: 700;
  font-size: 1rem; transition: var(--transition); cursor: pointer; border: none;
}
.btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 4px 20px rgba(211,47,47,.4); }
.btn-primary:hover { background: var(--primary-dk); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(211,47,47,.5); }
.btn-outline  { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.4); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.1); transform: translateY(-2px); }

.hero-stats {
  display: flex; gap: 2.5rem; justify-content: center; margin-top: 3.5rem; flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num { font-size: 2rem; font-weight: 800; color: var(--white); }
.stat-label { font-size: .8rem; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: 1px; }

/* ===== SECTION BASE ===== */
section { padding: 5rem 5%; }
.section-tag {
  display: inline-block; background: rgba(211,47,47,.1);
  color: var(--primary); padding: .3rem .9rem; border-radius: 50px;
  font-size: .78rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: .8rem;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800;
  color: var(--dark); margin-bottom: .8rem; line-height: 1.2;
}
.section-subtitle { font-size: 1rem; color: var(--text-muted); max-width: 560px; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .section-subtitle { margin: 0 auto; }

/* ===== ABOUT ===== */
.about { background: var(--light); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.about-visual {
  position: relative;
}
.about-card-main {
  background: linear-gradient(135deg, var(--dark), var(--dark2));
  border-radius: var(--radius); padding: 2.5rem; color: var(--white);
  text-align: center; box-shadow: var(--shadow);
}
.about-icon-big { font-size: 5rem; margin-bottom: 1rem; }
.about-card-main h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.about-card-main p { color: rgba(255,255,255,.7); font-size: .9rem; }
.about-badge-float {
  position: absolute; bottom: -1.2rem; right: -1.2rem;
  background: var(--primary); color: var(--white);
  padding: .8rem 1.2rem; border-radius: var(--radius);
  font-weight: 800; text-align: center; box-shadow: var(--shadow);
}
.about-badge-float span { font-size: 1.5rem; display: block; }

.about-content .section-subtitle { max-width: 100%; margin-bottom: 1.5rem; }
.about-features { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.feature-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem; background: var(--white); border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: var(--transition);
}
.feature-item:hover { transform: translateX(6px); box-shadow: 0 4px 20px rgba(0,0,0,.1); }
.feature-icon { font-size: 1.5rem; flex-shrink: 0; }
.feature-item h4 { font-weight: 700; margin-bottom: .2rem; }
.feature-item p { font-size: .88rem; color: var(--text-muted); }

/* ===== CATEGORIES ===== */
.categories { background: var(--white); }
.categories-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem;
}
.cat-card {
  background: var(--white); border: 1px solid #eee;
  border-radius: var(--radius); padding: 2rem 1.5rem;
  text-align: center; cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.cat-card:hover {
  border-color: var(--primary); transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(211,47,47,.15);
}
.cat-card:hover .cat-icon { transform: scale(1.2) rotate(-5deg); }
.cat-icon { font-size: 2.8rem; margin-bottom: 1rem; display: block; transition: var(--transition); }
.cat-card h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: .3rem; }
.cat-card p { font-size: .82rem; color: var(--text-muted); }

/* ===== WHY US ===== */
.why-us { background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%); }
.why-us .section-title { color: var(--white); }
.why-us .section-tag { background: rgba(211,47,47,.25); color: #ff8a80; }
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem;
}
.why-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 2rem;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.why-card:hover {
  background: rgba(255,255,255,.12); transform: translateY(-4px);
  border-color: rgba(211,47,47,.5);
}
.why-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.why-card h3 { color: var(--white); font-size: 1.1rem; margin-bottom: .5rem; }
.why-card p { color: rgba(255,255,255,.65); font-size: .9rem; }

/* ===== CONTACT ===== */
.contact { background: var(--light); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start;
}
.contact-info-cards { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 1.5rem; }
.contact-card {
  display: flex; align-items: center; gap: 1.2rem;
  background: var(--white); border-radius: var(--radius);
  padding: 1.2rem 1.5rem; box-shadow: var(--shadow);
  transition: var(--transition);
}
.contact-card:hover { transform: translateX(6px); box-shadow: 0 8px 28px rgba(0,0,0,.12); }
.contact-card-icon { font-size: 2rem; flex-shrink: 0; }
.contact-card-text strong { display: block; font-weight: 700; color: var(--dark); margin-bottom: .15rem; }
.contact-card-text a { color: var(--primary); font-weight: 600; }
.contact-card-text a:hover { text-decoration: underline; }

.contact-form { background: var(--white); border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow); }
.contact-form h3 { font-size: 1.4rem; font-weight: 800; color: var(--dark); margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: .88rem; font-weight: 600; color: var(--dark); margin-bottom: .4rem; }
.form-group input, .form-group textarea {
  width: 100%; padding: .75rem 1rem; border: 2px solid #e5e7eb;
  border-radius: 8px; font-size: .95rem; color: var(--text);
  transition: border-color var(--transition); outline: none;
  font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 110px; }
.btn-submit { width: 100%; padding: .9rem; font-size: 1rem; }

/* ===== FOOTER ===== */
footer {
  background: var(--dark); color: rgba(255,255,255,.75);
  padding: 3.5rem 5% 1.5rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem;
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p { font-size: .9rem; line-height: 1.8; }
.footer-col h4 { color: var(--white); font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul li a { font-size: .9rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .5rem; font-size: .85rem;
}
.footer-bottom a { color: var(--primary); }
.footer-bottom a:hover { text-decoration: underline; }

/* ===== POLICY PAGES ===== */
.policy-hero {
  background: linear-gradient(135deg, var(--dark), var(--dark2));
  padding: 7rem 5% 4rem; text-align: center; color: var(--white);
}
.policy-hero h1 { font-size: clamp(2rem,5vw,3.5rem); font-weight: 900; margin-bottom: .6rem; }
.policy-hero p { color: rgba(255,255,255,.7); }

.policy-body { max-width: 820px; margin: 0 auto; padding: 4rem 5%; }
.policy-body h2 { font-size: 1.3rem; font-weight: 800; color: var(--dark); margin: 2rem 0 .6rem; }
.policy-body h2:first-child { margin-top: 0; }
.policy-body p { color: var(--text-muted); margin-bottom: .9rem; }
.policy-body ul { margin: .6rem 0 .9rem 1.5rem; list-style: disc; color: var(--text-muted); display: flex; flex-direction: column; gap: .4rem; }
.policy-body a { color: var(--primary); font-weight: 600; }
.policy-body a:hover { text-decoration: underline; }
.policy-updated {
  display: inline-block; background: rgba(211,47,47,.1); color: var(--primary);
  padding: .35rem .9rem; border-radius: 50px; font-size: .82rem;
  font-weight: 600; margin-bottom: 2rem;
}

/* ===== SCROLL TOP ===== */
.scroll-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  background: var(--primary); color: var(--white);
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; box-shadow: 0 4px 16px rgba(211,47,47,.4);
  cursor: pointer; opacity: 0; pointer-events: none;
  transition: var(--transition); border: none;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--primary-dk); transform: translateY(-3px); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-badge-float { right: 0; }
}
@media (max-width: 680px) {
  .nav-links { display: none; flex-direction: column; position: fixed; inset: 0; top: 65px; background: var(--dark); padding: 2rem 5%; gap: 1rem; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-stats { gap: 1.5rem; }
}
