:root {
  --color-pomegranate: #A63446;
  --color-pomegranate-dark: #8B2C3A;
  --color-black: #2c2c2c;
  --color-dark-grey: #4a4a4a;
  --color-white: #ffffff;
  --color-light-grey: #f4f4f4;
  --color-bg-cream: #FEF5EC;

  --font-main: 'Inter', system-ui, Avenir, Helvetica, Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg-cream);
  color: var(--color-black);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 80px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #FEF5EC;
}

::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-pomegranate);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--color-pomegranate);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-pomegranate-dark);
  transform: translateY(-2px);
  box-shadow: 0 0 15px var(--color-pomegranate);
}

.btn-outline {
  border: 2px solid var(--color-pomegranate);
  color: var(--color-pomegranate);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--color-pomegranate);
  color: var(--color-white);
  box-shadow: 0 0 15px rgba(166, 52, 70, 0.5);
}

.section-padding {
  padding: 80px 0;
}

/* Navbar */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  transition: all 0.3s ease;
  background-color: #FEF5EC;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}

nav.scrolled {
  border-bottom: 1px solid rgba(166, 52, 70, 0.2);
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

nav .logo img {
  height: 45px;
  width: auto;
  object-fit: contain;
}

nav .logo span {
  font-size: 24px;
  font-weight: bold;
  color: #2c2c2c;
}

nav ul {
  display: flex;
  gap: 30px;
  align-items: center;
}

nav ul li a {
  font-size: 16px;
  font-weight: 500;
  color: #2c2c2c;
}

nav ul li a:hover {
  color: var(--color-pomegranate);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(254, 245, 236, 0.85);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -2px;
}

.tech-headline {
  background: linear-gradient(45deg, #2c2c2c, #A63446, #2c2c2c, #8B2C3A);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease infinite;
}

.future-text {
  color: var(--color-pomegranate);
  animation: pulse-glow 3s ease-in-out infinite;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.5rem);
  color: #666;
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero .btn-group {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.tech-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background-color: var(--color-pomegranate);
  border-radius: 50%;
  opacity: 0.3;
  z-index: 2;
  animation: float-particles 6s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(166, 52, 70, 0.5);
}

/* Animations */
@keyframes gradient-shift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes float-particles {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    text-shadow: 0 0 20px rgba(166, 52, 70, 0.3), 0 0 40px rgba(166, 52, 70, 0.2);
  }
  50% {
    text-shadow: 0 0 30px rgba(166, 52, 70, 0.5), 0 0 60px rgba(166, 52, 70, 0.3), 0 0 80px rgba(166, 52, 70, 0.2);
  }
}

/* Services Section */
.services-carousel {
  position: relative;
  overflow: hidden;
  margin: 0 -15px;
}

.services-track {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease;
  padding: 0 15px;
}

.service-card {
  min-width: calc(33.333% - 20px);
  background-color: #F8EFE5;
  border-radius: 16px;
  border: 1px solid rgba(166, 52, 70, 0.15);
  transition: all 0.3s ease;
  height: 400px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--color-pomegranate);
  box-shadow: 0 8px 16px rgba(166, 52, 70, 0.15);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover img {
  transform: scale(1.1);
}

.service-card-content {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #2c2c2c;
}

.service-card p {
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background-color: var(--color-pomegranate);
  width: 30px;
  border-radius: 6px;
}

/* Product Cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.product-card {
  background-color: #F8EFE5;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(166, 52, 70, 0.15);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(166, 52, 70, 0.2);
}

.product-card-image {
  height: 180px;
  position: relative;
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.product-card-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, #F8EFE5 100%);
}

.product-card-content {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #2c2c2c;
}

.product-card p {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex: 1;
}

.product-card button {
  background: transparent;
  border: 1px solid;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

/* Footer */
footer {
  background-color: #FEF5EC;
  padding: 60px 0 20px;
  border-top: 1px solid rgba(166, 52, 70, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.footer-brand span {
  font-size: 22px;
  font-weight: bold;
  color: #2c2c2c;
}

.footer-description {
  color: #666;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: #666;
  font-size: 20px;
}

.footer-section h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #2c2c2c;
}

.footer-section ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #555;
}

.footer-section ul li a:hover {
  color: var(--color-pomegranate);
}

.footer-bottom {
  border-top: 1px solid rgba(166, 52, 70, 0.15);
  padding-top: 20px;
  text-align: center;
  color: #888;
}

/* Coverage Section */
.coverage-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.coverage-map img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: #F8EFE5;
  padding: 40px 30px;
  border-radius: 16px;
  border: 1px solid rgba(166, 52, 70, 0.15);
  transition: all 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-pomegranate);
  box-shadow: 0 8px 16px rgba(166, 52, 70, 0.15);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #2c2c2c;
}

.feature-card p {
  color: #666;
  line-height: 1.6;
}

/* Contact CTA */
.contact-cta {
  background: linear-gradient(135deg, var(--color-pomegranate), var(--color-pomegranate-dark));
  color: white;
  text-align: center;
  border-radius: 16px;
  padding: 60px 40px;
  margin: 0 20px;
}

.contact-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.contact-cta p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
  nav ul {
    display: none;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .service-card {
    min-width: 100%;
  }

  .coverage-content {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}
