:root {
  /* Colors */
  --primary: #D32F2F;
  --primary-dark: #B71C1C;
  --primary-light: #FFEBEE;
  --secondary: #121212;
  --text-main: #2D3436;
  --text-muted: #636E72;
  --bg-white: #FFFFFF;
  --bg-light: #F8F9FA;
  --glass: rgba(255, 255, 255, 0.8);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.1);

  /* Spacing & Borders */
  --container: 1200px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-main);
  line-height: 1.6;
  background-color: var(--bg-white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  background: var(--glass);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 42px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a:not(.nav-btn) {
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:not(.nav-btn):hover {
  color: var(--primary);
}

.nav-btn {
  background: var(--secondary);
  color: white;
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 600;
  border: 1px solid var(--secondary);
}

.nav-btn:hover {
  background: transparent;
  color: var(--secondary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  background: radial-gradient(circle at top right, #fff5f5, #ffffff);
  overflow: hidden;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 24px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), #FF5252);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cta {
  background: var(--primary);
  color: white;
  padding: 16px 36px;
  border-radius: 100px;
  font-weight: 700;
  display: inline-block;
  box-shadow: 0 10px 20px rgba(211, 47, 47, 0.2);
}

.cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(211, 47, 47, 0.3);
}

.cta.secondary {
  background: white;
  color: var(--secondary);
  border: 2px solid #E0E0E0;
  box-shadow: none;
}

.cta.secondary:hover {
  border-color: var(--secondary);
}

.hero-visual {
  position: relative;
}

.visual-card {
  background: white;
  padding: 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  transform: rotate(3deg);
  transition: var(--transition);
}

.visual-card:hover {
  transform: rotate(0deg);
}

.visual-card img {
  width: 100%;
  border-radius: var(--radius-md);
  display: block;
}

/* Sections */
.section {
  padding: 120px 0;
}

.bg-light {
  background-color: var(--bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.icon-box {
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.service-card h3 {
  margin-bottom: 16px;
}

.service-card p {
  color: var(--text-muted);
}

/* About Section */
.about-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
}

.about-content h2 {
  font-size: 2.8rem;
  margin-bottom: 24px;
}

.about-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.check-list {
  display: grid;
  gap: 16px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.check-list i {
  color: var(--primary);
}

/* Testimonials */
.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-card {
  background: white;
  padding: 50px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow);
}

.stars {
  color: #FFC107;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.testimonial-card p {
  font-size: 1.4rem;
  font-style: italic;
  margin-bottom: 30px;
}

.client-info strong {
  display: block;
  font-size: 1.1rem;
}

.client-info span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Map */
.map-wrapper {
  height: 450px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
footer {
  background: var(--secondary);
  color: white;
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .logo {
  filter: brightness(0) invert(1);
  margin-bottom: 24px;
}

.footer-brand p {
  opacity: 0.7;
}

.footer-links h4,
.footer-contact h4 {
  margin-bottom: 24px;
  font-size: 1.2rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  opacity: 0.7;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--primary);
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  opacity: 0.8;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.2rem;
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-5px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.5;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
  color: var(--secondary);
}

.brand-name.white {
  color: white;
}

.nav-links .store-link {
  color: var(--primary);
  font-weight: 700;
  position: relative;
}

.nav-links .store-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: var(--transition);
}

.nav-links .store-link:hover::after {
  transform: scaleX(1);
}

/* Store Button Hero */
.store-btn {
  background: var(--secondary) !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.store-btn:hover {
  background: var(--primary) !important;
  box-shadow: 0 15px 30px rgba(211, 47, 47, 0.3) !important;
}

/* Specialized Logo Masking */
.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.logo-masked {
  width: 42px;
  height: 42px;
  background: #ffffff;
  -webkit-mask-image: url('img/iclogo.png');
  mask-image: url('img/iclogo.png');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  transition: var(--transition);
}

.logo-masked:hover {
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 992px) {

  .hero-wrapper,
  .about-flex,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero {
    text-align: center;
    padding-top: 140px;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-wrapper {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    padding: 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    gap: 20px;
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
    cursor: pointer;
    color: var(--secondary);
  }

  .section {
    padding: 80px 0;
  }

  .about-content h2 {
    font-size: 2.2rem;
  }

  .footer-grid {
    text-align: center;
  }

  .footer-contact p {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }

  .logo-container {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 40px;
  }

  .visual-card {
    transform: rotate(0) !important;
  }

  .testimonial-card {
    padding: 30px 20px;
  }

  .testimonial-card p {
    font-size: 1.1rem;
  }
}