/* ===== CSS Custom Properties ===== */
:root {
  --red: #DC2626;
  --red-light: #EF4444;
  --navy: #1E293B;
  --navy-dark: #0F172A;
  --white: #FFFFFF;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-400: #94A3B8;
  --gray-600: #475569;
  --gray-700: #334155;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --transition: 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--navy);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }

/* ===== Animations ===== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Buttons ===== */
.btn-red {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 12px 30px;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-red:hover { background: var(--red-light); }
.btn-outline {
  display: inline-block;
  border: 2px solid var(--red);
  color: var(--red);
  padding: 10px 28px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  background: transparent;
}
.btn-outline:hover { background: var(--red); color: var(--white); }

/* ===== Section Heading ===== */
.section-heading {
  text-align: center;
  margin-bottom: 50px;
}
.section-heading span {
  color: var(--red);
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.section-heading h2 {
  font-size: 36px;
  font-weight: 800;
  margin-top: 8px;
  color: var(--navy-dark);
}

/* ===== Top Bar ===== */
.top-bar {
  background: var(--navy-dark);
  color: var(--gray-400);
  font-size: 14px;
  padding: 10px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-left { display: flex; align-items: center; gap: 20px; }
.top-bar-left span { display: flex; align-items: center; gap: 6px; }
.top-bar-right a {
  background: var(--red);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 13px;
  transition: background var(--transition);
}
.top-bar-right a:hover { background: var(--red-light); }

/* ===== Header / Navbar ===== */
.header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  padding-bottom: 15px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 26px;
  font-weight: 800;
  color: var(--navy-dark);
}
.logo svg { flex-shrink: 0; }
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  font-weight: 500;
  font-size: 15px;
  color: var(--navy);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--red); }
.nav-links a:hover::after { width: 100%; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}
.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--navy-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  background: var(--navy-dark);
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.hero .container {
  display: flex;
  align-items: center;
  gap: 50px;
  padding-top: 60px;
  padding-bottom: 60px;
}
.hero-content { flex: 1; color: var(--white); z-index: 2; }
.hero-content h1 {
  font-size: 50px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-content h1 .highlight { color: var(--red); }
.hero-content p {
  font-size: 17px;
  color: var(--gray-400);
  margin-bottom: 30px;
  max-width: 500px;
}
.hero-actions { display: flex; align-items: center; gap: 20px; }
.play-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--transition);
}
.play-btn:hover { transform: scale(1.1); }
.play-btn svg { margin-left: 3px; }
.hero-image { flex: 1; position: relative; z-index: 2; }
.hero-image img {
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 360px;
  object-fit: cover;
}

/* ===== Stats Bar ===== */
.stats-bar {
  background: var(--red);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
  color: var(--white);
}
.stat-item h3 {
  font-size: 40px;
  font-weight: 800;
}
.stat-item p {
  font-size: 15px;
  opacity: 0.9;
  margin-top: 4px;
}

/* ===== Services ===== */
.services { background: var(--gray-100); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.service-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.service-card-body { padding: 25px; }
.service-card-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--navy-dark);
}
.service-card-body p {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 18px;
}
.service-card-body a {
  color: var(--red);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}
.service-card-body a:hover { gap: 10px; }

/* ===== About ===== */
.about .container {
  display: flex;
  gap: 50px;
  align-items: center;
}
.about-images { flex: 1; position: relative; }
.about-images img {
  border-radius: 10px;
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--red);
  color: var(--white);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.experience-badge h3 { font-size: 36px; font-weight: 800; }
.experience-badge p { font-size: 13px; font-weight: 600; }
.about-content { flex: 1; }
.about-content .sub-title {
  color: var(--red);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  margin-bottom: 8px;
}
.about-content h2 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--navy-dark);
}
.about-content > p {
  color: var(--gray-600);
  margin-bottom: 25px;
  font-size: 15px;
}
.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 30px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 15px;
}
.feature-item .check {
  width: 24px;
  height: 24px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-item .check svg { width: 14px; height: 14px; }

/* ===== Projects ===== */
.projects { background: var(--gray-100); }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.project-card {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.project-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover img { transform: scale(1.05); }
.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(15,23,42,0.85));
  padding: 25px 20px 20px;
  color: var(--white);
}
.project-overlay h4 { font-size: 18px; font-weight: 700; }
.project-overlay p { font-size: 13px; color: var(--gray-400); }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}
.carousel-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gray-400);
  cursor: pointer;
  transition: background var(--transition);
}
.carousel-dots .dot.active { background: var(--red); }

/* ===== Process ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.process-step { position: relative; }
.process-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 6px 20px rgba(220,38,38,0.3);
}
.process-icon svg { width: 36px; height: 36px; }
.process-step h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy-dark);
}
.process-step p {
  font-size: 14px;
  color: var(--gray-600);
}
.process-step .step-num {
  font-size: 48px;
  font-weight: 800;
  color: var(--gray-200);
  position: absolute;
  top: -10px;
  right: 10px;
}

/* ===== Team ===== */
.team { background: var(--gray-100); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.team-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform var(--transition);
}
.team-card:hover { transform: translateY(-6px); }
.team-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.team-card-body { padding: 20px; }
.team-card-body h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-dark);
}
.team-card-body p {
  font-size: 13px;
  color: var(--gray-600);
  margin: 4px 0 12px;
}
.social-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.social-icons a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.social-icons a:hover { background: var(--red); }
.social-icons a:hover svg path { fill: var(--white); }
.social-icons a svg { width: 14px; height: 14px; }

/* ===== Testimonial ===== */
.testimonial {
  background: var(--navy-dark);
  color: var(--white);
  overflow: hidden;
}
.testimonial .container {
  display: flex;
  align-items: center;
  gap: 60px;
}
.testimonial-image { flex: 0 0 350px; }
.testimonial-image img {
  border-radius: 12px;
  width: 350px;
  height: 420px;
  object-fit: cover;
}
.testimonial-content { flex: 1; }
.testimonial-content .quote-icon {
  font-size: 60px;
  color: var(--red);
  line-height: 1;
  margin-bottom: 10px;
}
.testimonial-content blockquote {
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 25px;
  font-style: italic;
  color: var(--gray-200);
}
.testimonial-author h4 {
  font-size: 20px;
  font-weight: 700;
}
.testimonial-author p {
  color: var(--gray-400);
  font-size: 14px;
}
.stars { display: flex; gap: 4px; margin-top: 10px; }
.stars svg { width: 18px; height: 18px; }
.testimonial-nav {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}
.testimonial-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gray-600);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.testimonial-nav button:hover {
  border-color: var(--red);
  background: var(--red);
}

/* ===== Blog ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.blog-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.blog-card:hover { transform: translateY(-6px); }
.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.blog-card-body { padding: 25px; }
.blog-meta {
  display: flex;
  gap: 15px;
  font-size: 13px;
  color: var(--gray-600);
  margin-bottom: 12px;
}
.blog-meta span { display: flex; align-items: center; gap: 4px; }
.blog-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--navy-dark);
  line-height: 1.4;
}
.blog-card-body h3:hover { color: var(--red); }
.blog-card-body p {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 15px;
}

/* ===== CTA ===== */
.cta {
  background: var(--red);
  padding: 60px 0;
  text-align: center;
  color: var(--white);
}
.cta h2 {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 15px;
}
.cta p {
  font-size: 17px;
  opacity: 0.9;
  margin-bottom: 25px;
}
.cta .btn-white {
  background: var(--white);
  color: var(--red);
  padding: 14px 36px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.cta .btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* ===== Footer ===== */
.footer {
  background: var(--navy-dark);
  color: var(--gray-400);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer h4 {
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}
.footer p { font-size: 14px; line-height: 1.8; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 14px;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--red); }
.footer-news-item {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
}
.footer-news-item img {
  width: 70px;
  height: 55px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}
.footer-news-item p { font-size: 13px; line-height: 1.5; }
.footer-news-item small { font-size: 12px; color: var(--gray-600); }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
}
.footer-contact svg { flex-shrink: 0; margin-top: 3px; }
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.footer-social a:hover { background: var(--red); }
.footer-social a svg { width: 16px; height: 16px; }
.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding: 20px 0;
  margin-top: 50px;
  text-align: center;
  font-size: 14px;
}

/* ===== Responsive: 1024px ===== */
@media (max-width: 1024px) {
  .hero-content h1 { font-size: 38px; }
  .hero .container { gap: 30px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about .container { gap: 30px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial .container { gap: 30px; }
  .testimonial-image { flex: 0 0 280px; }
  .testimonial-image img { width: 280px; height: 340px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Responsive: 768px ===== */
@media (max-width: 768px) {
  .top-bar .container { flex-direction: column; gap: 8px; text-align: center; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    box-shadow: var(--shadow);
  }
  .nav-links.active { display: flex; }
  .hamburger { display: flex; }
  .header .container { position: relative; }
  .hero .container { flex-direction: column; text-align: center; }
  .hero-content h1 { font-size: 32px; }
  .hero-content p { margin: 0 auto 30px; }
  .hero-actions { justify-content: center; }
  .hero-image { width: 100%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .about .container { flex-direction: column; }
  .about-images { width: 100%; }
  .feature-list { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .testimonial .container { flex-direction: column; text-align: center; }
  .testimonial-image { flex: none; width: 100%; }
  .testimonial-image img { width: 100%; height: 300px; }
  .stars { justify-content: center; }
  .testimonial-nav { justify-content: center; }
  .blog-grid { grid-template-columns: 1fr; }
  .cta h2 { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-heading h2 { font-size: 28px; }
  .experience-badge { right: 10px; bottom: -15px; }
}
