
/* Smooth Page Transitions */
html {
  scroll-behavior: smooth;
}

body {
  opacity: 0;
  animation: pageFadeIn 0.8s ease-out forwards;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Page transition effect for navigation links */
a {
  position: relative;
  transition: all 0.3s ease;
}

a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color, #ff4d00);
  transition: width 0.3s ease;
}

a:hover::after {
  width: 100%;
}

/* Smooth section transitions */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Enhanced page transitions */
.page-transition {
  animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Navigation link transitions */
nav a {
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

nav a:hover {
  transform: translateY(-2px);
}

/* Button transitions */
button {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

button:hover::before {
  width: 300px;
  height: 300px;
}

/* Card hover transitions */
.hover-lift {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Service card transitions */
.service-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 77, 0, 0.1), transparent);
  transition: left 0.8s ease;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* Hero section transitions */
.hero {
  animation: heroSlideIn 1.2s ease-out;
}

@keyframes heroSlideIn {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-content {
  animation: contentFadeIn 1s ease-out 0.3s both;
}

@keyframes contentFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* About section transitions */
.about {
  animation: aboutSlideIn 1s ease-out 0.5s both;
}

@keyframes aboutSlideIn {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Services section transitions */
.services {
  animation: servicesFadeIn 1s ease-out 0.7s both;
}

@keyframes servicesFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Footer transitions */
.footer {
  animation: footerSlideIn 1s ease-out 0.9s both;
}

@keyframes footerSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Smooth scroll behavior */
* {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-primary);
}

:root {
  --primary-color: #ff4d00;
  --primary-dark: #e64300;
  --primary-light: #ff6633;
  --primary-gradient: linear-gradient(135deg, #ff4d00 0%, #e64300 50%, #ff6633 100%);
  --secondary-color: #ff6b35;
  --accent-color: #ff8c42;
  --dark-bg: #0f172a;
  --dark-secondary: #1e293b;
  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  --card-bg: #ffffff;
  --card-hover: #f8fafc;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --font-primary: 'Zimora Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-secondary: 'Zimora Tech', 'Courier New', monospace;
  --font-display: 'Zimora Display', Georgia, serif;
  --font-code: 'Zimora Code', 'Fira Code', monospace;
  --font-fallback: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ZIMORA UNIQUE FONT USAGE */
body {
  font-family: var(--font-primary);
  color: #374151;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
}

.hero-subtitle {
  font-family: var(--font-secondary);
  font-weight: 500;
  letter-spacing: 2px;
}

.navbar {
  font-family: var(--font-primary);
  font-weight: 500;
}

.btn-primary, .btn-outline {
  font-family: var(--font-primary);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.service-card h3 {
  font-family: var(--font-primary);
  font-weight: 600;
}

.footer h3 {
  font-family: var(--font-secondary);
  font-weight: 600;
}

/* Code and technical elements */
code, pre {
  font-family: var(--font-code);
  background: rgba(255, 77, 0, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

/* TOP HEADER */
.top-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  padding: 12px 0;
  font-size: 12px;
  border-bottom: 1px solid rgba(255, 77, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.top-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 77, 0, 0.1), transparent);
  animation: topHeaderShimmer 8s ease-in-out infinite;
}

@keyframes topHeaderShimmer {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}

.top-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.top-header-left {
  display: flex;
  align-items: center;
  gap: 30px;
}

.header-email {
  color: #e0e0e0;
  text-decoration: none;
  transition: var(--transition-base);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-email::before {
  content: '✉';
  font-size: 14px;
  color: var(--primary-color);
}

.header-email:hover {
  color: var(--primary-color);
  transform: translateY(-1px);
}

.header-time {
  color: #b0b0b0;
  font-family: 'Courier New', monospace;
  font-weight: 600;
  background: rgba(255, 77, 0, 0.1);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 77, 0, 0.2);
}

.top-header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-icon {
  color: #e0e0e0;
  font-size: 16px;
  transition: var(--transition-base);
  text-decoration: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.social-icon:hover {
  color: var(--primary-color);
  transform: translateY(-3px) scale(1.1);
  background: rgba(255, 77, 0, 0.1);
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(255, 77, 0, 0.3);
}

/* MAIN NAVBAR */
.navbar {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: var(--transition-base);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.navbar:hover::before {
  opacity: 0.3;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 10;
  height: 75px;
}

.logo-img {
  height: 100px;
  width: auto;
  transition: var(--transition-base);
  position: absolute;
  top: 50%;
  left: -70px;
  transform: translateY(-50%);
}


.logo:hover .logo-img {
  transform: translateY(-50%) scale(1.05);
}


nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 40px;
}

/* Navigation Dropdown */
.nav-dropdown {
  position: relative;
}

.services-link {
  display: flex;
  align-items: center;
  gap: 5px;
}

.services-link i {
  font-size: 10px;
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .services-link i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 320px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  border: 1px solid rgba(255, 77, 0, 0.1);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: flex-start;
  padding: 12px 20px;
  color: #2c3e50;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  border-radius: 4px;
  margin: 2px 8px;
  gap: 12px;
}

.dropdown-menu a:hover {
  background: rgba(255, 77, 0, 0.1);
  color: var(--primary-color);
  transform: translateX(4px);
}

.dropdown-menu a i {
  margin-right: 8px;
  width: 16px;
  text-align: center;
  color: var(--primary-color);
  flex-shrink: 0;
}

.dropdown-service-content {
  flex: 1;
}

.dropdown-service-title {
  font-weight: 600;
  margin-bottom: 2px;
  color: #2c3e50;
}

.dropdown-service-desc {
  font-size: 12px;
  color: #666;
  line-height: 1.3;
}

nav a {
  color: #2c3e50;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition-base);
  position: relative;
  padding: 8px 12px;
  border-radius: 6px;
  background: transparent;
}

nav a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition-base);
  transform: translateX(-50%);
}

nav a:hover {
  color: var(--primary-color);
  background: rgba(255, 77, 0, 0.08);
  transform: translateY(-1px);
}

nav a:hover::before {
  width: 80%;
}

nav a.active {
  color: var(--primary-color);
  background: rgba(255, 77, 0, 0.1);
}

nav a.active::before {
  width: 80%;
}

.nav-quote-btn {
  background: var(--primary-gradient);
  border: none;
  color: white;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 14px;
  border-radius: 25px;
  cursor: pointer;
  transition: var(--transition-base);
  box-shadow: 0 4px 15px rgba(255, 77, 0, 0.3);
  margin-left: 12px;
  position: relative;
  overflow: hidden;
}

.nav-quote-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: var(--transition-slow);
}

.nav-quote-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(255, 77, 0, 0.4);
}

.nav-quote-btn:hover::before {
  left: 100%;
}

.nav-quote-btn:active {
  transform: translateY(0) scale(0.98);
}

.menu {
  display: none;
  background: linear-gradient(135deg, rgba(255, 77, 0, 0.1), rgba(255, 77, 0, 0.05));
  border: 1px solid rgba(255, 77, 0, 0.2);
  color: var(--primary-color);
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-base);
  font-size: 18px;
}

.menu:hover {
  background: linear-gradient(135deg, rgba(255, 77, 0, 0.2), rgba(255, 77, 0, 0.1));
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 77, 0, 0.2);
}

.menu.open {
  transform: rotate(90deg);
}

/* INDEX HERO SECTION */
.index-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.index-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://images.pexels.com/photos/269077/pexels-photo-269077.jpeg?cs=srgb&dl=pexels-pixabay-269077.jpg&fm=jpg');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  z-index: 1;
  animation: heroZoom 20s ease-in-out infinite alternate;
  filter: brightness(0.9) contrast(1.1);
}

@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.index-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.85) 0%,
    rgba(15, 23, 42, 0.80) 25%,
    rgba(15, 23, 42, 0.75) 50%,
    rgba(15, 23, 42, 0.80) 75%,
    rgba(15, 23, 42, 0.85) 100%
  );
  backdrop-filter: blur(2px);
}

.index-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

.index-hero-content {
  max-width: 800px;
  animation: slideInLeft 1.2s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.index-hero-subtitle {
  color: var(--primary-color);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  position: relative;
}

.index-hero-subtitle::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
  opacity: 0.3;
}

.index-hero-line {
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-color));
  border-radius: 1px;
  position: relative;
  overflow: hidden;
}

.index-hero-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  animation: lineShine 3s ease-in-out infinite;
}

@keyframes lineShine {
  0%, 100% { left: -100%; }
  50% { left: 100%; }
}

.index-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #ffffff;
  position: relative;
}

.index-hero-title .text-primary {
  color: var(--primary-color);
  background: unset;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: unset;
  position: relative;
  text-shadow: 0 0 20px rgba(255, 77, 0, 0.3);
}

.index-hero-description {
  font-size: 1.1rem;
  color: #d1d5db;
  line-height: 1.6;
  margin-bottom: 32px;
  font-weight: 400;
}

.index-hero-buttons {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://images.pexels.com/photos/269077/pexels-photo-269077.jpeg?cs=srgb&dl=pexels-pixabay-269077.jpg&fm=jpg') center/cover no-repeat;
  background-attachment: fixed;
  animation: heroZoom 25s ease-in-out infinite alternate;
  filter: brightness(0.9) contrast(1.1);
}

@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.85) 0%,
    rgba(15, 23, 42, 0.80) 25%,
    rgba(15, 23, 42, 0.75) 50%,
    rgba(15, 23, 42, 0.80) 75%,
    rgba(15, 23, 42, 0.85) 100%
  );
  backdrop-filter: blur(2px);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 25% 25%, rgba(255, 77, 0, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 75% 75%, rgba(255, 77, 0, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
  pointer-events: none;
  animation: heroPulse 10s ease-in-out infinite;
}

@keyframes heroPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 750px;
  animation: slideInLeft 1.2s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-subtitle {
  color: var(--primary-color);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  animation: fadeInUp 1.2s ease-out 0.2s both;
  position: relative;
}

.hero-subtitle::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
  border-radius: 1px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-line {
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-color));
  border: 1px dashed var(--primary-color);
  position: relative;
  overflow: hidden;
  border-radius: 1px;
}

.hero-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  animation: lineShimmer 3s ease-in-out infinite;
}

@keyframes lineShimmer {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -1px;
  animation: fadeInUp 1.2s ease-out 0.4s both;
  text-shadow: 
    2px 2px 4px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(0, 0, 0, 0.3);
  color: #ffffff;
  position: relative;
}

.hero-title::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -15px;
  right: -15px;
  bottom: -8px;
  background: linear-gradient(135deg, rgba(255, 77, 0, 0.08), transparent);
  border-radius: 15px;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}

.hero-title:hover::before {
  opacity: 1;
}

.hero-title .text-primary {
  color: var(--primary-color);
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
  position: relative;
  display: inline-block;
  text-shadow: 
    2px 2px 4px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(255, 77, 0, 0.3);
}

.hero-title .text-primary::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary-color);
  transition: width 0.8s ease;
  box-shadow: 0 0 10px rgba(255, 77, 0, 0.5);
  border-radius: 1px;
}

.hero-title:hover .text-primary::after {
  width: 100%;
}

.hero-description {
  font-size: 1.1rem;
  color: #d1d5db;
  line-height: 1.6;
  margin-bottom: 35px;
  max-width: 600px;
  animation: fadeInUp 1.2s ease-out 0.6s both;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  animation: fadeInUp 1.2s ease-out 0.8s both;
}

.btn-primary {
  background: var(--primary-gradient);
  border: none;
  padding: 16px 32px;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 15px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-base);
  box-shadow: 0 8px 25px rgba(255, 77, 0, 0.4);
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  backdrop-filter: blur(10px);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: var(--transition-slow);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 35px rgba(255, 77, 0, 0.5);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:active {
  transform: translateY(-1px) scale(1.01);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: var(--text-primary);
  padding: 14px 30px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: var(--transition-slow);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.btn-outline:hover::before {
  left: 100%;
}

.hero-next {
  position: absolute;
  left: 35px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transition: var(--transition-base);
  cursor: pointer;
  animation: bounce 2.5s ease-in-out infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(-50%) rotate(-90deg); }
  40% { transform: translateY(-55%) rotate(-90deg); }
  60% { transform: translateY(-45%) rotate(-90deg); }
}

.hero-next:hover {
  color: var(--primary-color);
  letter-spacing: 4px;
  text-shadow: 0 0 12px rgba(255, 77, 0, 0.5);
}

.services, .about, .portfolio, .process, .faq, .blog {
  padding: 100px 0;
  text-align: center;
}

.services h2, .about h2, .portfolio h2, .process h2, .faq h2, .blog h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 60px;
  color: var(--dark-bg);
  position: relative;
  display: inline-block;
}

.services h2::after, .about h2::after, .portfolio h2::after, .process h2::after, .faq h2::after, .blog h2::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary-gradient);
  border-radius: 2px;
}

.service-grid, .portfolio-grid, .blog-grid, .process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.service-card, .portfolio-card, .blog-card {
  padding: 40px 32px;
  border-radius: 20px;
  background: var(--card-bg);
  transition: var(--transition-base);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.service-card::before, .portfolio-card::before, .blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transition: var(--transition-base);
}

.service-card:hover, .portfolio-card:hover, .blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.service-card:hover::before, .portfolio-card:hover::before, .blog-card:hover::before {
  transform: scaleX(1);
}

.service-card i {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 24px;
  transition: var(--transition-base);
}

.service-card:hover i {
  transform: scale(1.1) rotate(5deg);
}

.service-card h3, .portfolio-card h3, .blog-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--dark-bg);
}

.service-card p, .portfolio-card p, .blog-card p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1rem;
}

.portfolio-card img, .blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
  transition: var(--transition-base);
}

.portfolio-card:hover img, .blog-card:hover img {
  transform: scale(1.05);
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-container img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
}

.about-container h4 {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.about-container h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--dark-bg);
  text-align: left;
}

.about-container p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.about-container ul {
  list-style: none;
  margin-bottom: 32px;
}

.about-container li {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
  line-height: 1.6;
}

.about-container li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.1rem;
}

.process-grid > div {
  text-align: center;
  padding: 40px 20px;
  border-radius: 16px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.process-grid > div::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transition: var(--transition-base);
}

.process-grid > div:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.process-grid > div:hover::before {
  transform: scaleX(1);
}

.process-grid span {
  display: inline-block;
  width: 60px;
  height: 60px;
  background: var(--primary-gradient);
  color: var(--text-primary);
  border-radius: 50%;
  line-height: 60px;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  transition: var(--transition-base);
}

.process-grid > div:hover span {
  transform: scale(1.1) rotate(5deg);
}

.process-grid h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark-bg);
  margin-bottom: 12px;
}

.faq details {
  max-width: 800px;
  margin: 0 auto 20px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-base);
}

.faq details:hover {
  box-shadow: var(--shadow-md);
}

.faq summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--dark-bg);
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: var(--transition-base);
}

.faq summary::before {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: var(--transition-base);
}

.faq details[open] summary::before {
  content: '−';
}

.faq summary:hover {
  background: rgba(255, 77, 0, 0.05);
}

.faq p {
  padding: 0 24px 20px;
  color: var(--text-muted);
  line-height: 1.7;
}

.stats {
  background: var(--primary-gradient);
  color: var(--text-primary);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.stats > div {
  position: relative;
  z-index: 1;
  padding: 20px;
}

.stats h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stats p {
  font-size: 1.1rem;
  opacity: 0.9;
  font-weight: 500;
}

.testimonials {
  background: var(--dark-bg);
  color: var(--text-primary);
  padding: 100px 0;
  text-align: center;
  position: relative;
}

.testimonials h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 60px;
  color: var(--text-primary);
}

.slider {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.slide {
  display: none;
  padding: 40px;
  font-size: 1.25rem;
  line-height: 1.8;
  font-style: italic;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-base);
}

.slide.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.slide b {
  display: block;
  margin-top: 20px;
  font-style: normal;
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: var(--transition-slow);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* MODERN FOOTER */
.footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  color: var(--text-secondary);
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 77, 0, 0.2);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  animation: footerShimmer 3s ease-in-out infinite;
}

@keyframes footerShimmer {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

.footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(255, 77, 0, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 77, 0, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

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

.footer-logo {
  margin-bottom: 20px;
  text-align: left;
}

.footer-logo-img {
  max-height: 100px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: all 0.3s ease;
}

.footer-logo-img:hover {
  filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255, 77, 0, 0.3));
  transform: scale(1.05);
}

.footer-section h3 {
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-color);
  border-radius: 1px;
}

.footer-section p,
.footer-section ul {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.footer-section ul li:hover {
  transform: translateX(5px);
}

.footer-section a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.footer-section a:hover {
  color: var(--primary-color);
}

.footer-section a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.footer-section a:hover::after {
  width: 100%;
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  font-size: 16px;
}

.footer-social a:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 77, 0, 0.3);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

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

/* Responsive Footer */
@media (max-width: 768px) {
  .footer {
    padding: 60px 0 30px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-bottom-links {
    justify-content: center;
  }
}

/* Simple footer for pages without full footer structure */
.footer.simple {
  padding: 40px 0;
  text-align: center;
}

.footer.simple p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
  position: relative;
  z-index: 2;
}

/* WHY CHOOSE ZIMORA TECHNOLOGIES */
.why-choose {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
}

.why-choose::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  animation: whyShimmer 8s ease-in-out infinite;
}

@keyframes whyShimmer {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

.why-choose h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #1a1f2e;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  font-family: var(--font-display);
}

.why-choose h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

.section-description {
  text-align: center;
  color: #64748b;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 60px;
  line-height: 1.6;
  font-family: var(--font-primary);
}

.why-section {
  margin-bottom: 40px;
  position: relative;
}

.why-section:last-child {
  margin-bottom: 0;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.why-choose-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.1),
    0 4px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.why-choose-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.why-choose-card:hover::before {
  transform: scaleX(1);
}

.why-choose-card:hover {
  transform: translateY(-10px);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.15),
    0 8px 20px rgba(0, 0, 0, 0.1);
}

.why-choose-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  margin-bottom: 25px;
  box-shadow: 0 8px 20px rgba(255, 77, 0, 0.3);
  transition: all 0.3s ease;
}

.why-choose-card:hover .why-choose-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 30px rgba(255, 77, 0, 0.4);
}

.why-choose-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1a1f2e;
  margin-bottom: 15px;
  line-height: 1.3;
  font-family: var(--font-primary);
}

.why-choose-card p {
  color: #64748b;
  line-height: 1.6;
  font-size: 0.95rem;
  font-family: var(--font-primary);
}

.why-choose-cta {
  text-align: center;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 40px 0;
}

.why-choose-cta .btn-primary,
.why-choose-cta .btn-outline {
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
  font-family: var(--font-primary);
  text-decoration: none;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.why-choose-cta .btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 15px rgba(255, 77, 0, 0.3);
}

.why-choose-cta .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 77, 0, 0.4);
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
}

.why-choose-cta .btn-outline {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(255, 77, 0, 0.1);
}

.why-choose-cta .btn-outline:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 77, 0, 0.3);
}

.why-choose-cta .btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.why-choose-cta .btn-outline:hover::before {
  left: 100%;
}

/* Responsive Design for Why Choose Section */
@media (max-width: 768px) {
  .why-choose {
    padding: 80px 0;
  }
  
  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .why-choose-card {
    padding: 30px 25px;
  }
  
  .why-choose-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .why-choose-card h3 {
    font-size: 1.2rem;
  }
  
  .why-choose-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .why-choose-cta .btn-primary,
  .why-choose-cta .btn-outline {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .why-choose {
    padding: 60px 0;
  }
  
  .section-description {
    font-size: 1rem;
    margin-bottom: 40px;
  }
  
  .why-choose-card {
    padding: 25px 20px;
  }
  
  .why-choose-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
}

.why-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 77, 0, 0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.why-card:hover::before {
  transform: scaleX(1);
}

.why-card:hover::after {
  opacity: 1;
}

.why-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.15),
    0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: rgba(255, 77, 0, 0.2);
}

.why-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 8px 25px rgba(255, 77, 0, 0.3);
}

.why-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent);
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.why-card:hover .why-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 40px rgba(255, 77, 0, 0.4);
}

.why-card:hover .why-icon::before {
  opacity: 1;
}

.why-icon i {
  font-size: 28px;
  color: white;
  transition: transform 0.3s ease;
}

.why-card:hover .why-icon i {
  transform: scale(1.1);
}

.why-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1f2e;
  margin-bottom: 15px;
  text-align: center;
  transition: color 0.3s ease;
}

.why-card:hover h3 {
  color: var(--primary-color);
}

.why-card p {
  color: #64748b;
  line-height: 1.7;
  font-size: 1.05rem;
  text-align: center;
  transition: color 0.3s ease;
}

.why-card:hover p {
  color: #475569;
}

/* Add floating animation to why cards */
@keyframes whyFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.why-card:nth-child(1) { animation: whyFloat 6s ease-in-out infinite; }
.why-card:nth-child(2) { animation: whyFloat 6s ease-in-out infinite 1.2s; }
.why-card:nth-child(3) { animation: whyFloat 6s ease-in-out infinite 2.4s; }
.why-card:nth-child(4) { animation: whyFloat 6s ease-in-out infinite 3.6s; }
.why-card:nth-child(5) { animation: whyFloat 6s ease-in-out infinite 4.8s; }

/* Responsive design for why section */
@media (max-width: 768px) {
  .why-choose {
    padding: 80px 0;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .why-card {
    padding: 30px 25px;
  }
  
  .why-icon {
    width: 60px;
    height: 60px;
  }
  
  .why-icon i {
    font-size: 24px;
  }
  
  .why-card h3 {
    font-size: 1.3rem;
  }
  
  .why-card p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .why-choose {
    padding: 60px 0;
  }
  
  .why-grid {
    gap: 25px;
  }
  
  .why-card {
    padding: 25px 20px;
  }
}

.services-button-container {
  text-align: center;
  margin-top: 50px;
}

.services-button-container .btn-primary {
  padding: 18px 40px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* SERVICES */
.services {
  padding: 120px 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  animation: servicesShimmer 8s ease-in-out infinite;
}

@keyframes servicesShimmer {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

.services h2 {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #1a1f2e;
  margin-bottom: 60px;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.services h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(255, 77, 0, 0.3);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.service-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.08),
    0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  text-align: center;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 77, 0, 0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover::after {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.15),
    0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: rgba(255, 77, 0, 0.2);
}

.service-card i {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  position: relative;
}

.service-card i::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(255, 77, 0, 0.1), rgba(255, 77, 0, 0.05));
  border-radius: 50%;
  z-index: -1;
  transition: all 0.4s ease;
}

.service-card:hover i {
  transform: scale(1.15) rotate(3deg);
  color: var(--primary-dark);
}

.service-card:hover i::before {
  width: 85px;
  height: 85px;
  background: linear-gradient(135deg, rgba(255, 77, 0, 0.15), rgba(255, 77, 0, 0.08));
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1a1f2e;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.service-card:hover h3 {
  color: var(--primary-color);
}

.service-card p {
  color: #64748b;
  line-height: 1.6;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.service-card:hover p {
  color: #475569;
}

.services-button-container {
  text-align: center;
  margin-top: 50px;
  position: relative;
  z-index: 2;
}

.services-button-container .btn-primary {
  padding: 16px 40px;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(255, 77, 0, 0.4);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-button-container .btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.services-button-container .btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 40px rgba(255, 77, 0, 0.5);
}

.services-button-container .btn-primary:hover::before {
  left: 100%;
}

/* Add floating animation to service cards */
@keyframes serviceFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.service-card:nth-child(1) { animation: serviceFloat 7s ease-in-out infinite; }
.service-card:nth-child(2) { animation: serviceFloat 7s ease-in-out infinite 2.3s; }
.service-card:nth-child(3) { animation: serviceFloat 7s ease-in-out infinite 4.6s; }

/* Responsive design for services section */
@media (max-width: 768px) {
  .services {
    padding: 80px 0;
  }
  
  .services h2 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 60px;
  }
  
  .service-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .service-card {
    padding: 40px 30px;
  }
  
  .service-card i {
    font-size: 40px;
    margin-bottom: 20px;
  }
  
  .service-card h3 {
    font-size: 1.4rem;
  }
  
  .service-card p {
    font-size: 1rem;
  }
  
  .services-button-container {
    margin-top: 50px;
  }
  
  .services-button-container .btn-primary {
    padding: 16px 40px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .services {
    padding: 60px 0;
  }
  
  .service-grid {
    gap: 30px;
  }
  
  .service-card {
    padding: 35px 25px;
  }
  
  .services-button-container .btn-primary {
    padding: 14px 35px;
    font-size: 14px;
  }
}

/* TRUSTED COMPANIES CAROUSEL */
.trusted-companies {
  padding: 5px 0 5px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
}

.trusted-companies::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  animation: trustedShimmer 8s ease-in-out infinite;
}

@keyframes trustedShimmer {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

.trusted-header {
  text-align: center;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.trusted-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--dark-bg);
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--dark-bg), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.trusted-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
}

.carousel-track {
  display: flex;
  animation: scrollRight 30s linear infinite;
  width: fit-content;
}

@keyframes scrollRight {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.logo-slide {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 60px;
  height: 80px;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.logo-slide:hover {
  opacity: 1;
  transform: scale(1.1);
}

.company-logo {
  max-height: 60px;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.logo-slide:hover .company-logo {
  filter: grayscale(0%);
}

/* Pause animation on hover */
.carousel-container:hover .carousel-track {
  animation-play-state: paused;
}

/* Responsive design */
@media (max-width: 768px) {
  .trusted-companies {
    padding: 15px 0;
  }
  
  .trusted-header h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 15px;
  }
  
  .trusted-header p {
    font-size: 1rem;
    padding: 0 20px;
  }
  
  .carousel-container {
    padding: 8px 0;
  }
  
  .logo-slide {
    padding: 0 40px;
    height: 60px;
  }
  
  .company-logo {
    max-height: 40px;
    max-width: 120px;
  }
}

@media (max-width: 480px) {
  .logo-slide {
    padding: 0 30px;
  }
  
  .company-logo {
    max-height: 35px;
    max-width: 100px;
  }
}


/* Page transitions */
.page-transition {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Selection styling */
::selection {
  background: var(--primary-color);
  color: var(--text-primary);
}

::-moz-selection {
  background: var(--primary-color);
  color: var(--text-primary);
}

/* Focus styles for accessibility */
*:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

button:focus,
.btn-primary:focus,
.btn-outline:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--dark-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Pulse animation for important elements */
.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 77, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 77, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 77, 0, 0);
  }
}

/* Hover lift effect */
.hover-lift {
  transition: var(--transition-base);
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Text gradient utility */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Newsletter Subscription Styles */
.newsletter-form {
  margin-top: 20px;
}

.newsletter-input-group {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.newsletter-input-group input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid rgba(255, 77, 0, 0.2);
  border-radius: 8px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}

.newsletter-input-group input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 77, 0, 0.1);
}

.newsletter-input-group input::placeholder {
  color: #999;
}

.newsletter-btn {
  padding: 12px 16px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
  min-width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-btn:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 77, 0, 0.3);
}

.newsletter-btn:active {
  transform: translateY(0);
}

.newsletter-message {
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  text-align: center;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.newsletter-message.show {
  opacity: 1;
  transform: translateY(0);
}

.newsletter-message.success {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.newsletter-message.error {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.newsletter-benefits {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #666;
}

.benefit-item i {
  color: var(--primary-color);
  font-size: 12px;
}

/* Newsletter responsive styles */
@media (max-width: 768px) {
  .newsletter-input-group {
    flex-direction: column;
  }
  
  .newsletter-btn {
    width: 100%;
  }
  
  .newsletter-benefits {
    margin-top: 16px;
  }
  
  .benefit-item {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .top-header {
    display: none;
  }
  
  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 20px;
    width: 280px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 15px;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 77, 0, 0.1);
  }
  
  nav.active {
    display: flex;
  }
  
  nav a {
    padding: 10px 12px;
    margin: 2px 0;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s ease;
  }
  
  nav a:hover {
    background: rgba(255, 77, 0, 0.1);
    transform: translateX(4px);
  }
  
  /* Mobile dropdown styles */
  .nav-dropdown {
    width: 100%;
  }
  
  .services-link {
    justify-content: space-between;
    padding: 12px;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    box-shadow: none;
    border: none;
    background: rgba(255, 77, 0, 0.05);
    margin-top: 8px;
    border-radius: 8px;
    padding: 8px;
  }
  
  .dropdown-menu a {
    margin: 4px 0;
    padding: 8px 12px;
    font-size: 13px;
  }
  
  .nav-quote-btn {
    width: 100%;
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
    padding: 10px 12px;
    font-size: 14px;
  }
  
  .menu {
    display: block;
  }
  
  .menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 999;
  }
  
  .menu-overlay.active {
    display: block;
  }
  
  .logo-img {
    height: 65px;
    left: 0px;
  }
  
  .hero {
    min-height: auto;
    padding: 100px 0;
  }
  
  .hero-background {
    background-attachment: scroll;
  }
  
  .hero-overlay {
    background: linear-gradient(
      135deg,
      rgba(10, 14, 39, 0.95) 0%,
      rgba(10, 14, 39, 0.9) 50%,
      rgba(10, 14, 39, 0.95) 100%
    );
  }
  
  .hero-container {
    padding: 0 20px;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
    padding: 0;
  }
  
  .hero-subtitle {
    justify-content: center;
    margin-bottom: 20px;
  }
  
  .hero-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
    text-align: center;
    margin-bottom: 24px;
  }
  
  .hero-description {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 32px;
    max-width: 100%;
  }
  
  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  
  .btn-primary, .btn-outline {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .hero-next {
    display: none;
  }
  
  .service-grid, .portfolio-grid, .blog-grid, .process-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 20px;
  }
  
  .about-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 20px;
  }
  
  .about-container img {
    height: 300px;
  }
  
  .about-container h2 {
    font-size: 2rem;
    text-align: center;
  }
  
  .about-container h4 {
    text-align: center;
  }
  
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .stats h2 {
    font-size: 2rem;
  }
  
  .services, .about, .portfolio, .process, .faq, .blog {
    padding: 60px 0;
  }
  
  .testimonials {
    padding: 60px 0;
  }
  
  .slide {
    font-size: 1.1rem;
    padding: 20px;
  }
  
  .faq summary {
    padding: 16px 20px;
    font-size: 1rem;
  }
  
  .faq p {
    padding: 0 20px 16px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .logo-img {
    height: 60px;
    left: 0px;
  }
  
  .hero-container {
    padding: 0 16px;
  }
  
  .hero-title {
    font-size: clamp(1.8rem, 10vw, 3rem);
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .btn-primary, .btn-outline {
    padding: 14px 24px;
    font-size: 14px;
  }
  
  .stats {
    grid-template-columns: 1fr;
  }
  
  .service-card, .portfolio-card, .blog-card {
    padding: 30px 20px;
  }
}

/* ========================================
   COMPANY PAGE STYLES
   ======================================== */

/* Company Hero Section */
.company-hero {
  background: linear-gradient(135deg, #0b0f1c 0%, #1a1f2e 50%, #0b0f1c 100%);
  color: var(--text-primary);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.company-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://images.pexels.com/photos/3184418/pexels-photo-3184418.jpeg?cs=srgb&dl=pexels-fauxels-3184418.jpg&fm=jpg') center/cover;
  z-index: 0;
}

.company-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 15, 28, 0.85);
  z-index: 1;
}

.company-hero-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.company-hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.company-hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.company-hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 60px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.8;
}

/* Company Overview Section */
.company-overview {
  padding: 100px 0;
  background: var(--bg-primary);
}

.company-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.company-text {
  padding-right: 20px;
}

.company-description {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.company-highlights {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.highlight-icon {
  font-size: 2rem;
  color: var(--primary-color);
  min-width: 40px;
  text-align: center;
}

.highlight-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.highlight-content p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.company-image {
  position: relative;
}

.company-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Leadership Section */
.leadership-section {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.leader-card {
  background: var(--bg-primary);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.leader-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.leader-image {
  height: 250px;
  overflow: hidden;
}

.leader-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.leader-card:hover .leader-img {
  transform: scale(1.05);
}

.leader-info {
  padding: 30px;
}

.leader-name {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.leader-position {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 15px;
}

.leader-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.leader-social {
  display: flex;
  gap: 15px;
}

.leader-social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.leader-social-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.leader-achievements {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.achievement-badge {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Company Values Section */
.company-values {
  padding: 100px 0;
  background: var(--bg-primary);
}

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

.value-card {
  text-align: center;
  padding: 40px 30px;
  background: var(--bg-secondary);
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.value-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
}

.value-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.value-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Company CTA Section */
.company-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-description {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-primary, .cta-secondary {
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cta-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta-secondary:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-3px);
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-size: 1rem;
}

.cta-feature i {
  color: #4ade80;
  font-size: 1.2rem;
}

/* Responsive Design for Company Page */
@media (max-width: 768px) {
  .company-hero-title {
    font-size: 2.5rem;
  }
  
  .company-hero-subtitle {
    font-size: 1.1rem;
  }
  
  .company-hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 400px;
    margin: 40px auto 0;
  }
  
  .company-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .company-text {
    padding-right: 0;
  }
  
  .leadership-grid {
    grid-template-columns: 1fr;
  }
  
  .values-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-primary, .cta-secondary {
    width: 100%;
    max-width: 300px;
  }
  
  .cta-features {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  
  .achievement-badge {
    font-size: 0.7rem;
    padding: 3px 10px;
  }
}

@media (max-width: 480px) {
  .company-hero {
    padding: 100px 0 60px;
  }
  
  .company-overview, .leadership-section, .company-values, .company-cta {
    padding: 80px 0;
  }
  
  .company-hero-title {
    font-size: 2rem;
  }
  
  .company-hero-stats {
    gap: 20px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .value-card {
    padding: 30px 20px;
  }
  
  .leader-info {
    padding: 20px;
  }
}

.whatsapp-float {
    position: fixed !important;           /* Ensure fixed positioning */
    bottom: 20px !important;              /* distance from bottom */
    right: 20px !important;               /* distance from right */
    z-index: 99999 !important;            /* very high so it stays on top of everything */
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    background-color: #25D366 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

.whatsapp-float img {
    width: 25px;
    height: 25px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(255, 77, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 77, 0, 0.4);
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
}

.back-to-top:active {
    transform: translateY(-1px) scale(1.05);
}

.back-to-top i {
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    transform: translateY(-2px);
}

/* Responsive adjustments for floating buttons */
@media (max-width: 768px) {
    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 16px;
        bottom: 15px;
        left: 15px;
    }
    
    .whatsapp-float {
        bottom: 15px !important;
        right: 15px !important;
        width: 45px !important;
        height: 45px !important;
    }
    
    .chatbox-toggle {
        bottom: 15px;
        right: 70px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* Recent Blogs Section Styles */
.recent-blogs {
    padding: 80px 0;
    background: #f8f9fa;
    display: block;
}

.recent-blogs .container {
    display: block;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    width: 100%;
    display: block;
    flex-shrink: 0;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color, #ff4d00);
}

.section-description {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 20px auto 0;
    line-height: 1.6;
}

.blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
    place-items: center;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 480px;
    justify-self: center;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.blog-category {
    background: var(--primary-color, #ff4d00);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-date {
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.4;
    flex-grow: 1;
}

.blog-excerpt {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color, #ff4d00);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    gap: 12px;
    color: #e64300;
}

.blogs-cta {
    text-align: center;
}

.loading-spinner {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.loading-spinner i {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
}

.loading-spinner p {
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .blogs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .recent-blogs {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .blogs-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .blog-card {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .blogs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-card {
        max-width: 100%;
    }
}
