:root {
  --primary-color: #1a1a2e; /* Deep Navy */
  --secondary-color: #e94560; /* Vibrant Crimson */
  --accent-color: #0f3460; /* Rich Indigo */
  --accent-gradient: linear-gradient(135deg, #e94560 0%, #f97316 100%);
  --bg-light: #fafafa;
  --bg-white: #ffffff;
  --text-dark: #16213e;
  --text-light: #6b7280;
  --border-color: #e5e7eb;
  --font-family: 'Inter', sans-serif;
  --box-shadow: 0 1px 3px rgb(0 0 0 / 0.06), 0 1px 2px rgb(0 0 0 / 0.04);
  --box-shadow-hover: 0 20px 40px rgb(0 0 0 / 0.12), 0 8px 16px rgb(0 0 0 / 0.08);
  --radius: 12px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body {
  width: 100%;
  overflow-x: hidden;
  position: relative;
}

body {
  font-family: var(--font-family);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 90px 0;
}

@media (max-width: 768px) {
  .section-padding { padding: 45px 0; }
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary-color);
  letter-spacing: -0.5px;
}

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

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--bg-white);
  box-shadow: 0 4px 14px rgba(26, 26, 46, 0.25);
}

.btn-primary:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 52, 96, 0.35);
}

.btn-accent {
  background: var(--accent-gradient);
  color: var(--bg-white);
  box-shadow: 0 4px 14px rgba(233, 69, 96, 0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(233, 69, 96, 0.4);
  filter: brightness(1.1);
}

/* Header & Nav */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 8px 0;
  min-height: 100px;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.logo {
  flex-shrink: 0;
}

.logo img {
  height: 65px; /* Slightly reduced to keep header slim */
  width: auto;
  display: block;
}

.header-brand {
  text-align: left;
  flex-shrink: 0;
}

.header-brand a {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
  display: block;
  max-width: 220px; /* Two-line wrap */
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px; /* Safe gap */
  margin-left: auto; /* Force to far right */
  flex-wrap: wrap; /* Prevents overflow */
  justify-content: flex-end;
}

.nav-links li a {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.95rem;
  letter-spacing: 0.2px;
  position: relative;
  padding: 4px 0;
  text-transform: uppercase;
}

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

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

.nav-links li a:hover, .nav-links li a.active {
  color: var(--secondary-color);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--primary-color);
}

/* Footer */
footer {
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
  color: var(--bg-white);
  padding: 40px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 1.15rem;
  margin-bottom: 20px;
  color: var(--bg-white);
  font-weight: 700;
}

.footer-col p, .footer-col li {
  color: #94a3b8;
  margin-bottom: 12px;
  font-size: 0.93rem;
}

.footer-col a {
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--secondary-color);
  padding-left: 4px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: #fff;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons a:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
  color: #fff;
  border-color: var(--secondary-color);
  box-shadow: 0 5px 15px rgba(233, 69, 96, 0.3);
}

.social-icons a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #64748b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
}

/* Visitor Counter */
.visitor-counter {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  color: #94a3b8;
  transition: var(--transition);
}

.visitor-counter:hover {
  background: rgba(233, 69, 96, 0.1);
  border-color: rgba(233, 69, 96, 0.25);
}

.visitor-counter .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse-live 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.visitor-counter .count-value {
  font-weight: 700;
  color: var(--secondary-color);
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
}

/* Cards & Grid */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.card:hover {
  box-shadow: var(--box-shadow-hover);
  transform: translateY(-8px);
  border-color: rgba(233, 69, 96, 0.15);
}

/* Industry Icons */
.industry-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 20px;
  color: var(--secondary-color);
  display: block;
  stroke-width: 1.5;
  transition: var(--transition);
}

.card:hover .industry-icon {
  transform: scale(1.15) rotate(5deg);
  color: #f97316;
}

/* Forms */
.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--bg-light);
}

.form-row-mobile {
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .form-row-mobile {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 4px rgba(233, 69, 96, 0.1);
  background: var(--bg-white);
  transform: translateY(-1px);
}

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

/* Hero Section */
.hero {
  color: var(--bg-white);
  padding: 160px 0;
  text-align: center;
  display: flex;
  align-items: center;
  min-height: 70vh;
  position: relative;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to top, var(--bg-white) 0%, transparent 100%);
  z-index: 3;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -1.5px;
  position: relative;
  z-index: 1;
  text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 35px;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  z-index: 1;
}

.hero-btns {
  display: flex;
  gap: 15px;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* Trust Indicators */
.trust-badges {
  background-color: var(--bg-white);
  padding: 45px 0;
  border-bottom: 1px solid var(--border-color);
}

.trust-badges .grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 20px;
}

.badge-item {
  padding: 15px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.badge-item:hover {
  background: var(--bg-light);
}

.badge-item h4 {
  color: var(--secondary-color);
  font-size: 1.05rem;
  margin-bottom: 5px;
  font-weight: 700;
}

.badge-item p {
  color: var(--text-light);
  font-size: 0.88rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-container {
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    gap: 10px !important;
  }
  .logo img { height: 45px; }
  .header-brand {
    text-align: center;
  }
  .header-brand a { 
    font-size: 0.85rem; 
    max-width: 180px; 
    margin: 0 auto;
  }
  .mobile-menu-btn {
    justify-self: end;
  }
  .nav-links {
    display: none !important;
    flex-direction: column !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px;
    box-shadow: var(--box-shadow-hover);
    border-radius: 0 0 var(--radius) var(--radius);
  }
  .nav-links.active {
    display: flex !important;
  }
  .mobile-menu-btn { display: block; }
  .hero-btns { flex-direction: column; align-items: center; }
  .trust-badges .grid-container { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { justify-content: center; }
  
  /* Force stack and remove horizontal pressure */
  [style*="display:flex"] { 
    flex-direction: column !important;
    gap: 20px !important;
  }
  [style*="min-width"] {
    min-width: 0 !important;
    width: 100% !important;
  }
}
@media (max-width: 480px) {
  .trust-badges .grid-container { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
}

/* Floating Contact Buttons */
.floating-contact {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
}

.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: var(--transition);
  color: white;
  font-size: 24px;
  text-decoration: none;
}

.floating-btn:hover {
  transform: scale(1.1) translateY(-5px);
}

.floating-whatsapp {
  background-color: #25d366;
  animation: pulse-whatsapp 2s infinite;
}

.floating-phone {
  background-color: var(--primary-color);
}

@keyframes pulse-whatsapp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 768px) {
  .floating-contact {
    bottom: 10px;
    right: 15px;
    gap: 8px;
    transform: scale(0.85);
    transform-origin: bottom right;
  }
  .floating-btn {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}
/* Modern Banners */
.cool-banner {
  background: var(--primary-color);
  color: white;
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 40px 0;
}

.cool-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
}

.cool-banner .container {
  position: relative;
  z-index: 1;
}

.cool-banner h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.cool-banner p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 800px;
  margin: 0 auto 30px;
}
