:root {
  --primary: #0f172a;
  --secondary: #1e293b;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --bg-light: #f8fafc;
  --text-main: #334155;
  --text-light: #64748b;
  --white: #ffffff;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: transparent;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition);
}

header.scrolled {
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--accent);
}

.logo-img {
  height: 100px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: var(--transition);
}

header.scrolled .logo-img {
  filter: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  color: var(--white);
  position: relative;
  transition: var(--transition);
}

header.scrolled .nav-links a {
  color: var(--secondary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 8rem 2rem 4rem;
  background-color: var(--primary);
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.hero h1 {
  font-size: clamp(3rem, 5vw, 5rem);
  color: var(--white);
  margin-bottom: 1.5rem;
  max-width: 800px;
  animation: fadeUp 1s ease-out;
}

.hero p {
  font-size: 1.25rem;
  color: #cbd5e1;
  margin-bottom: 2.5rem;
  max-width: 600px;
  animation: fadeUp 1s ease-out 0.2s backwards;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  animation: fadeUp 1s ease-out 0.4s backwards;
}

/* Services Overview */
.section {
  padding: 6rem 2rem;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 4rem;
  font-size: 1.1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: var(--accent);
}

.service-icon {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.service-link {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.service-link:hover {
  color: var(--accent);
}

.service-link::after {
  content: '→';
  transition: transform 0.3s ease;
}

.service-card:hover .service-link::after {
  transform: translateX(5px);
}

/* Inner Pages Hero */
.page-hero {
  padding: 10rem 2rem 6rem;
  background-color: var(--primary);
  color: var(--white);
  text-align: center;
  position: relative;
}

.page-hero h1 {
  color: var(--white);
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.page-hero p {
  color: #cbd5e1;
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Service Detail Content */
.service-detail {
  padding: 6rem 2rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.detail-image {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.detail-image img {
  width: 100%;
  height: auto;
  display: block;
}

.detail-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.detail-content p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.detail-features {
  margin-top: 2rem;
}

.detail-features li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.detail-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Footer */
footer {
  background-color: var(--secondary);
  color: var(--white);
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1280px;
  margin: 0 auto;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-col p {
  color: #94a3b8;
  margin-bottom: 1rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #334155;
  color: #94a3b8;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--white);
  min-width: 250px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
  z-index: 1000;
  border-radius: 0.5rem;
  top: 100%;
  left: 0;
  overflow: hidden;
}

.dropdown-content a {
  color: var(--text-main);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-weight: 500;
}

.dropdown-content a::after {
  display: none;
}

.dropdown-content a:hover {
  background-color: var(--bg-light);
  color: var(--accent);
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Product Section (Tecbor) */
.product-section {
  background-color: #f1b505;
  color: #000;
  padding: 6rem 2rem;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.product-content h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 800;
  color: #000;
}

.product-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 800;
  color: #000;
}

.product-content p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: #000;
  line-height: 1.5;
}

.product-content .subtitle {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  font-style: italic;
}

.product-features {
  margin-bottom: 3rem;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #000;
  font-size: 1.1rem;
}

.product-features li::before {
  content: '☑';
  color: #000;
  font-size: 1.2rem;
}

.product-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.circular-image {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 4px solid #fff;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-outline {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 2rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid #000;
  color: #000;
  background: transparent;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.btn-outline:hover {
  background-color: #000;
  color: #f1b505;
}

/* Contact Page */
.contact-container {
  max-width: 800px;
  margin: 0 auto;
}

.contact-form {
  background: var(--white);
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--secondary);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.375rem;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

/* References Carousel */
.references-section {
  padding: 4rem 0;
  background-color: var(--white);
  overflow: hidden;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.references-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-container {
  display: flex;
  width: max-content;
  animation: scroll 30s linear infinite;
}

.carousel-container:hover {
  animation-play-state: paused;
}

.carousel-item {
  width: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 2rem;
  flex-shrink: 0;
}

.carousel-item img {
  max-width: 250px;
  max-height: 140px;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: var(--transition);
  object-fit: contain;
}

.carousel-item img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-350px * 5));
  }
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .detail-grid {
    grid-template-columns: 1fr;
  }
}



/* Social Media Buttons */
.social-links {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 1.5rem;
}

.social {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    text-decoration: none;
    font-size: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social:hover {
    transform: translateY(-4px);
    color: #fff !important;
}

/* WhatsApp */
.social.whatsapp {
    background-color: #25D366;
}

.social.whatsapp:hover {
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.35);
}

/* TikTok */
.social.tiktok {
    background-color: #000000;
}

.social.tiktok:hover {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.35);
}

/* Facebook */
.social.facebook {
    background-color: #1877F2;
}

.social.facebook:hover {
    box-shadow: 0 6px 15px rgba(24, 119, 242, 0.35);
}

/* LinkedIn */
.social.linkedin {
    background-color: #0A66C2;
}

.social.linkedin:hover {
    box-shadow: 0 6px 15px rgba(10, 102, 194, 0.35);
}