:root {
  --primary: #c0392b;
  --primary-dark: #a93226;
  --dark: #1a1a2e;
  --text: #333333;
  --text-light: #666666;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --border: #e0e0e0;
  --shadow: 0 5px 30px rgba(0,0,0,0.08);
  --shadow-hover: 0 10px 40px rgba(0,0,0,0.15);
  --transition: all 0.3s ease;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); line-height: 1.6; overflow-x: hidden; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); line-height: 1.3; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 36px; color: var(--dark); margin-bottom: 10px; position: relative; display: inline-block; }
.section-title h2::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: var(--primary); }
.section-title p { color: var(--text-light); margin-top: 20px; max-width: 600px; margin-left: auto; margin-right: auto; }
.btn { display: inline-block; padding: 12px 30px; border-radius: 4px; font-weight: 600; font-family: var(--font-heading); transition: var(--transition); cursor: pointer; border: none; font-size: 14px; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 5px 20px rgba(192,57,43,0.3); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.animate { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate.visible { opacity: 1; transform: translateY(0); }

/* NAV */
.navbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.08); transition: var(--transition); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 75px; }
.logo { font-family: var(--font-heading); font-size: 26px; font-weight: 800; color: var(--dark); letter-spacing: 1px; }
.logo span { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-family: var(--font-heading); font-size: 14px; font-weight: 500; color: var(--text); }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links .btn { color: var(--white); margin-left: 10px; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 25px; height: 3px; background: var(--dark); transition: var(--transition); }

/* HERO */
.hero { padding-top: 75px; min-height: 100vh; display: flex; align-items: center; background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%); position: relative; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-content h1 { font-size: 52px; color: var(--dark); margin-bottom: 20px; line-height: 1.2; }
.hero-content h1 span { color: var(--primary); }
.hero-content p { font-size: 16px; color: var(--text-light); margin-bottom: 30px; max-width: 480px; }
.hero-image { position: relative; }
.hero-image img { border-radius: 10px; box-shadow: var(--shadow); width: 100%; height: 450px; object-fit: cover; }

/* ABOUT */
.about { background: var(--white); }
.about .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image img { border-radius: 10px; box-shadow: var(--shadow); width: 100%; height: 500px; object-fit: cover; }
.about-content h2 { font-size: 34px; color: var(--dark); margin-bottom: 20px; }
.about-content h2 span { color: var(--primary); }
.about-content p { color: var(--text-light); margin-bottom: 20px; }
.about-list { margin-bottom: 30px; }
.about-list li { padding: 8px 0; padding-left: 30px; position: relative; color: var(--text); }
.about-list li::before { content: '\2713'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

/* SERVICES */
.services { background: var(--light-bg); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card { background: var(--white); padding: 40px 30px; border-radius: 8px; text-align: center; box-shadow: var(--shadow); transition: var(--transition); }
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.service-icon { width: 70px; height: 70px; margin: 0 auto 20px; background: rgba(192,57,43,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.service-icon svg { width: 32px; height: 32px; fill: var(--primary); }
.service-card h3 { font-size: 20px; color: var(--dark); margin-bottom: 12px; }
.service-card p { color: var(--text-light); font-size: 14px; margin-bottom: 20px; }
.service-card .read-more { color: var(--primary); font-weight: 600; font-size: 14px; }
.service-card .read-more:hover { color: var(--primary-dark); }

/* CASE STUDIES */
.case-studies { background: var(--white); }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.case-card { text-align: center; }
.case-card img { width: 100%; height: 350px; object-fit: cover; border-radius: 8px; margin-bottom: 15px; }
.case-card h3 { font-size: 20px; color: var(--dark); }
.case-card p { color: var(--text-light); font-size: 14px; }

/* STATS */
.stats { background: var(--light-bg); }
.stats .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.stats-image img { border-radius: 10px; width: 100%; height: 400px; object-fit: cover; box-shadow: var(--shadow); }
.stats-content h2 { font-size: 32px; color: var(--dark); margin-bottom: 20px; }
.stats-content h2 span { color: var(--primary); }
.stats-content p { color: var(--text-light); margin-bottom: 30px; }
.progress-bar { margin-bottom: 20px; }
.progress-bar label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 14px; }
.progress-track { width: 100%; height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--primary); border-radius: 4px; transition: width 1.5s ease; width: 0; }

/* PORTFOLIO */
.portfolio { background: var(--white); }
.filter-tabs { display: flex; justify-content: center; gap: 15px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-tabs button { padding: 8px 24px; border: 2px solid var(--border); background: transparent; border-radius: 30px; cursor: pointer; font-family: var(--font-heading); font-size: 14px; font-weight: 500; transition: var(--transition); }
.filter-tabs button.active, .filter-tabs button:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.portfolio-item { position: relative; overflow: hidden; border-radius: 8px; cursor: pointer; }
.portfolio-item img { width: 100%; height: 250px; object-fit: cover; transition: var(--transition); }
.portfolio-item:hover img { transform: scale(1.1); }
.portfolio-overlay { position: absolute; inset: 0; background: rgba(192,57,43,0.8); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); }
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay span { color: var(--white); font-family: var(--font-heading); font-weight: 600; font-size: 16px; }

/* CLIENTS */
.clients { padding: 60px 0; background: var(--light-bg); }
.clients-grid { display: flex; justify-content: center; align-items: center; gap: 50px; flex-wrap: wrap; }
.client-logo { font-family: var(--font-heading); font-size: 24px; font-weight: 700; color: #999; opacity: 0.6; transition: var(--transition); }
.client-logo:hover { opacity: 1; color: var(--primary); }

/* PRICING */
.pricing { background: var(--white); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.pricing-card { background: var(--white); border: 2px solid var(--border); border-radius: 10px; padding: 40px 30px; text-align: center; transition: var(--transition); position: relative; }
.pricing-card.featured { border-color: var(--primary); transform: scale(1.05); }
.pricing-card.featured::before { content: 'Recommended'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: var(--white); padding: 4px 20px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.pricing-card:hover { box-shadow: var(--shadow-hover); }
.pricing-card h3 { font-size: 22px; color: var(--dark); margin-bottom: 10px; }
.pricing-card .price { font-size: 48px; font-weight: 800; color: var(--primary); font-family: var(--font-heading); }
.pricing-card .price span { font-size: 16px; color: var(--text-light); font-weight: 400; }
.pricing-card ul { margin: 25px 0; }
.pricing-card ul li { padding: 10px 0; border-bottom: 1px solid var(--border); color: var(--text); font-size: 14px; }
.pricing-card ul li:last-child { border: none; }

/* VIDEO */
.video-section { position: relative; height: 400px; overflow: hidden; }
.video-section img { width: 100%; height: 100%; object-fit: cover; }
.video-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; }
.play-btn { width: 80px; height: 80px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); animation: pulse 2s infinite; }
.play-btn:hover { transform: scale(1.1); }
.play-btn svg { width: 30px; height: 30px; fill: var(--white); margin-left: 4px; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(192,57,43,0.5); } 50% { box-shadow: 0 0 0 20px rgba(192,57,43,0); } }

/* TESTIMONIALS */
.testimonials { background: var(--light-bg); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.testimonial-card { background: var(--white); padding: 30px; border-radius: 10px; box-shadow: var(--shadow); }
.testimonial-card .stars { color: #f1c40f; margin-bottom: 15px; font-size: 18px; }
.testimonial-card p { color: var(--text-light); font-style: italic; margin-bottom: 20px; font-size: 14px; line-height: 1.8; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.testimonial-author h4 { font-size: 15px; color: var(--dark); }
.testimonial-author span { font-size: 12px; color: var(--text-light); }

/* BLOG */
.blog { background: var(--white); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-card { border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.blog-card img { width: 100%; height: 220px; object-fit: cover; }
.blog-card-content { padding: 25px; }
.blog-card-content .date { font-size: 12px; color: var(--primary); font-weight: 600; margin-bottom: 10px; }
.blog-card-content h3 { font-size: 18px; color: var(--dark); margin-bottom: 10px; }
.blog-card-content p { font-size: 14px; color: var(--text-light); margin-bottom: 15px; }
.blog-card-content .read-more { color: var(--primary); font-weight: 600; font-size: 14px; }

/* FOOTER */
.footer { background: var(--dark); color: #ccc; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h3 { color: var(--white); font-size: 18px; margin-bottom: 20px; }
.footer p { font-size: 14px; line-height: 1.8; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: #ccc; }
.footer-links a:hover { color: var(--primary); }
.footer .logo { color: var(--white); margin-bottom: 15px; display: inline-block; }
.social-icons { display: flex; gap: 12px; margin-top: 20px; }
.social-icons a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.social-icons a:hover { background: var(--primary); }
.social-icons svg { width: 16px; height: 16px; fill: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; text-align: center; font-size: 13px; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero .container, .about .container, .stats .container { grid-template-columns: 1fr; }
  .services-grid, .case-grid, .portfolio-grid, .pricing-grid, .testimonials-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-content h1 { font-size: 40px; }
  .pricing-card.featured { transform: scale(1); }
}
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 75px; left: 0; width: 100%; background: var(--white); flex-direction: column; padding: 20px; box-shadow: 0 5px 10px rgba(0,0,0,0.1); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .services-grid, .case-grid, .portfolio-grid, .pricing-grid, .testimonials-grid, .blog-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 32px; }
  .section-title h2 { font-size: 28px; }
  .section { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .clients-grid { gap: 30px; }
}