/* ===================================
   SERVICES PAGE STYLES
   =================================== */

/* Added complete navbar CSS from style.css */

/* ===================================
   CSS RESET & BASE STYLES
   =================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-blue: #1a4fff;
  --dark-gray: #2f3237;
  --orange: #ff7f2a;
  --red: #cc1e2c;
  --white: #ffffff;
  --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
  font-family: var(--font-primary);
  color: var(--dark-gray);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===================================
   NAVIGATION BAR
   =================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  background-color: var(--dark-gray);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
  flex-shrink: 0;
  text-decoration: none;
  display: block;
  transition: opacity 0.3s ease;
}

.nav-logo:hover {
  opacity: 0.8;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.nav-spacer {
  width: 60px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 5rem;
  align-items: center;
  margin-left: auto;
}

.nav-item {
  position: relative;
}

.nav-link {
  text-decoration: none;
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: var(--orange);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--orange);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
  position: relative;
  width: 40px;
  height: 40px;
}

.hamburger-icon {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--white);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.25s ease;
  border-radius: 2px;
}

.hamburger-icon::before,
.hamburger-icon::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 3px;
  background-color: var(--white);
  transition: all 0.25s ease;
  left: 0;
  border-radius: 2px;
}

.hamburger-icon::before {
  top: -9px;
}

.hamburger-icon::after {
  top: 9px;
}

.mobile-menu-toggle.active .hamburger-icon {
  background-color: transparent;
}

.mobile-menu-toggle.active .hamburger-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.mobile-menu-toggle.active .hamburger-icon::after {
  transform: rotate(-45deg);
  top: 0;
}

/* ===================================
   SERVICES HERO SECTION
   =================================== */
.services-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

/* Hero Background Image (real img tag) */
.services-hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.services-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(26, 29, 41, 0.3) 0%,
    rgba(26, 29, 41, 0.5) 50%,
    rgba(26, 29, 41, 0.9) 100%
  );
  z-index: 1;
}

.services-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 80px;
}

.services-hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

/* Hero Title */
.services-hero-title {
  margin-bottom: 32px;
}

.title-line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
}

.title-line-1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 8px;
}

.title-line-2 {
  font-size: 3rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

/* Hero Tags - Enhanced Card Style */
.services-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(30px);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: linear-gradient(135deg, rgba(26, 79, 255, 0.25) 0%, rgba(255, 127, 42, 0.15) 100%);
  border: 1px solid rgba(26, 79, 255, 0.5);
  border-radius: 12px;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(26, 79, 255, 0.15);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

.hero-tag::before {
  font-size: 1.2rem;
  display: inline-block;
}

/* Smart Grid icon */
.hero-tag:nth-child(1)::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231a4fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 20V10'/%3E%3Cpath d='M12 20V4'/%3E%3Cpath d='M6 20v-6'/%3E%3C/svg%3E");
}

/* Power & Energy Automation icon */
.hero-tag:nth-child(2)::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23ff7f2a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='13 2 3 14 12 14 11 22 21 10 12 10 13 2'/%3E%3C/svg%3E");
}

/* Solar Farm icon */
.hero-tag:nth-child(3)::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23ffb347' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2'/%3E%3Cpath d='M12 20v2'/%3E%3Cpath d='m4.93 4.93 1.41 1.41'/%3E%3Cpath d='m17.66 17.66 1.41 1.41'/%3E%3Cpath d='M2 12h2'/%3E%3Cpath d='M20 12h2'/%3E%3Cpath d='m6.34 17.66-1.41 1.41'/%3E%3Cpath d='m19.07 4.93-1.41 1.41'/%3E%3C/svg%3E");
}

/* Substation Automation icon */
.hero-tag:nth-child(4)::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231a4fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='3' rx='2'/%3E%3Cpath d='M3 9h18'/%3E%3Cpath d='M9 21V9'/%3E%3C/svg%3E");
}

.hero-tag:hover {
  background: linear-gradient(135deg, rgba(255, 127, 42, 0.35) 0%, rgba(26, 79, 255, 0.25) 100%);
  border-color: var(--orange);
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(255, 127, 42, 0.25);
}

/* Hero Description */
.services-hero-desc {
  max-width: 700px;
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  opacity: 0;
  transform: translateY(30px);
}

/* Animation States */
.title-line.animate {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.title-line-1.animate {
  transition-delay: 0.2s;
}

.title-line-2.animate {
  transition-delay: 0.4s;
}

.services-hero-tags.animate {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease 0.6s, transform 0.8s ease 0.6s;
}

.services-hero-desc.animate {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease 0.8s, transform 0.8s ease 0.8s;
}

/* ===================================
   PAGE CONTENT (Below Hero)
   =================================== */
.page-content {
  padding-top: 120px;
  min-height: 100vh;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.page-content h1 {
  font-size: 2.5rem;
  color: var(--dark-gray);
  margin-bottom: 2rem;
}

.page-content p {
  font-size: 1.1rem;
  color: var(--dark-gray);
  line-height: 1.8;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Services Hero Responsive */
@media screen and (max-width: 1024px) {
  .services-hero-container {
    padding: 0 40px;
  }

  .title-line-1 {
    font-size: 2.8rem;
  }

  .title-line-2 {
    font-size: 2.4rem;
  }

  .services-hero-desc {
    font-size: 1.05rem;
  }
}

@media screen and (max-width: 768px) {
  .services-hero {
    min-height: 500px;
  }

  .services-hero-content {
    padding-bottom: 60px;
  }

  .services-hero-container {
    padding: 0 24px;
  }

  .title-line-1 {
    font-size: 2.2rem;
  }

  .title-line-2 {
    font-size: 1.9rem;
  }

  .services-hero-tags {
    flex-direction: column;
    gap: 12px;
  }

  .hero-tag {
    padding: 12px 18px;
    font-size: 0.95rem;
    width: 100%;
    justify-content: flex-start;
  }

  .services-hero-desc {
    font-size: 1rem;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .logo-img {
    height: 50px;
    min-width: 120px;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--dark-gray);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 80px;
    gap: 0;
    transition: right 0.25s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-link {
    display: block;
    padding: 1.2rem 2rem;
  }

  .nav-container {
    padding: 1rem 1.5rem;
  }

  .nav-spacer {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  .services-hero {
    min-height: 450px;
  }

  .services-hero-content {
    padding-bottom: 40px;
  }

  .title-line-1 {
    font-size: 1.8rem;
  }

  .title-line-2 {
    font-size: 1.5rem;
  }

  .services-hero-tags {
    gap: 10px;
    margin-bottom: 20px;
    flex-direction: column;
  }

  .hero-tag {
    padding: 10px 14px;
    font-size: 0.85rem;
    width: 100%;
    justify-content: flex-start;
  }

  .services-hero-desc {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .logo-img {
    height: 45px;
    min-width: 110px;
  }

  .nav-menu {
    width: 100%;
  }
}

/* ===================================
   SERVICES SECTIONS - SHARED STYLES
   =================================== */
.services-section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, rgba(26, 79, 255, 0.15) 0%, rgba(255, 127, 42, 0.1) 100%);
  border: 1px solid rgba(26, 79, 255, 0.3);
  border-radius: 30px;
  color: var(--primary-blue);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.15rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===================================
   SECTION 1: POWER & ENERGY AUTOMATION
   =================================== */
.services-power-section {
  padding: 100px 0;
  background: #f8f9fc;
}

.power-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.power-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0;
  transform: translateY(30px);
}

.power-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.power-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(26, 79, 255, 0.12);
  border-color: rgba(26, 79, 255, 0.2);
}

.power-card-featured {
  background: linear-gradient(135deg, #1a1d29 0%, #2f3237 100%);
  border: none;
}

.power-card-featured .power-card-icon {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--orange) 100%);
}

.power-card-featured .power-card-icon svg {
  stroke: var(--white);
}

.power-card-featured .power-card-title {
  color: var(--white);
}

.power-card-featured .power-card-desc {
  color: rgba(255, 255, 255, 0.8);
}

.power-card-featured .power-card-list li {
  color: rgba(255, 255, 255, 0.75);
}

.power-card-featured .power-card-list li::before {
  background: var(--orange);
}

.power-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(26, 79, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.power-card-icon svg {
  stroke: var(--primary-blue);
}

.power-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 12px;
}

.power-card-desc {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 20px;
}

.power-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.power-card-list li {
  font-size: 0.9rem;
  color: #4b5563;
  padding: 6px 0;
  padding-left: 16px;
  position: relative;
}

.power-card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--primary-blue);
  border-radius: 50%;
}

/* ===================================
   SECTION 2: HARDWARE SOLUTIONS
   =================================== */
.services-hardware-section {
  padding: 100px 0;
  background: var(--white);
}

.hardware-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.hardware-card {
  background: #f8f9fc;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0;
  transform: translateY(30px);
}

.hardware-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.hardware-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.hardware-card-image {
  position: relative;
  height: 240px;
  background: linear-gradient(135deg, #1a1d29 0%, #2f3237 100%);
  overflow: hidden;
}

.hardware-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.hardware-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(26, 29, 41, 0.4) 100%);
}

.hardware-card-content {
  padding: 32px;
}

.hardware-card-badge {
  display: inline-block;
  padding: 6px 14px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--orange) 100%);
  border-radius: 20px;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.hardware-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 12px;
}

.hardware-card-desc {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 24px;
}

.hardware-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.hardware-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #4b5563;
  padding: 8px 0;
}

.hardware-features li svg {
  stroke: var(--primary-blue);
  flex-shrink: 0;
}

.hardware-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hardware-card-link:hover {
  color: var(--orange);
  gap: 12px;
}

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

.hardware-card-link:hover::after {
  transform: translateX(4px);
}

/* ===================================
   SECTION 3: SOFTWARE SOLUTIONS
   =================================== */
.services-software-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #1a1d29 0%, #2f3237 100%);
}

.section-header-light .section-label {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--orange);
}

.section-header-light .section-title {
  color: var(--white);
}

.section-header-light .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

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

.software-info {
  opacity: 0;
  transform: translateX(-30px);
}

.software-info.animate {
  opacity: 1;
  transform: translateX(0);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.software-badge {
  display: inline-block;
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--orange) 100%);
  border-radius: 8px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.software-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.3;
}

.software-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 32px;
}

.software-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.software-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.software-feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(26, 79, 255, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.software-feature-icon svg {
  stroke: var(--primary-blue);
}

.software-feature-text h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.software-feature-text p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

.software-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.software-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

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

.software-btn-primary:hover {
  background: #e66a1a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 127, 42, 0.3);
}

.software-btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.software-btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.software-media {
  opacity: 0;
  transform: translateX(30px);
}

.software-media.animate {
  opacity: 1;
  transform: translateX(0);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
}

.software-video-wrapper {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.software-video-placeholder {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #0f1015 0%, #1a1d29 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.software-video-placeholder:hover {
  background: linear-gradient(135deg, #1a1d29 0%, #2f3237 100%);
}

.software-video-placeholder svg {
  stroke: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
}

.software-video-placeholder:hover svg {
  stroke: var(--orange);
  transform: scale(1.1);
}

.software-video-placeholder span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

/* ===================================
   SERVICES SECTIONS RESPONSIVE
   =================================== */
@media screen and (max-width: 1024px) {
  .services-section-container {
    padding: 0 40px;
  }

  .power-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-title {
    font-size: 2.4rem;
  }

  .software-content {
    gap: 40px;
  }
}

@media screen and (max-width: 768px) {
  .services-section-container {
    padding: 0 24px;
  }

  .services-power-section,
  .services-hardware-section,
  .services-software-section {
    padding: 70px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .power-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .power-card {
    padding: 24px;
  }

  .hardware-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hardware-card-image {
    height: 200px;
  }

  .hardware-card-content {
    padding: 24px;
  }

  .software-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .software-title {
    font-size: 1.6rem;
  }

  .software-actions {
    flex-direction: column;
  }

  .software-btn {
    justify-content: center;
  }
}

@media screen and (max-width: 480px) {
  .section-label {
    font-size: 0.75rem;
    padding: 6px 14px;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .power-card {
    padding: 20px;
  }

  .power-card-icon {
    width: 48px;
    height: 48px;
  }

  .power-card-title {
    font-size: 1.1rem;
  }

  .hardware-card-title {
    font-size: 1.25rem;
  }

  .software-feature {
    flex-direction: column;
    gap: 12px;
  }
}

/* ===================================
   SECTION 4: CTA / CLOSING SECTION
   =================================== */
.services-cta-section {
  padding: 100px 0 120px;
  background: linear-gradient(180deg, #f8f9fc 0%, #eef1f8 50%, #e8ecf4 100%);
  position: relative;
  overflow: hidden;
}

.services-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(26, 79, 255, 0.2) 50%, transparent 100%);
}

.services-cta-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.services-cta-content {
  max-width: 800px;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
}

.services-cta-content.animate {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.services-cta-label {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, rgba(26, 79, 255, 0.1) 0%, rgba(255, 127, 42, 0.08) 100%);
  border: 1px solid rgba(26, 79, 255, 0.25);
  border-radius: 30px;
  color: var(--primary-blue);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.services-cta-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--dark-gray);
  line-height: 1.2;
  margin-bottom: 20px;
}

.cta-highlight {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services-cta-desc {
  font-size: 1.15rem;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 36px;
}

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

.services-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.services-cta-btn-primary {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #ff7f2a 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(26, 79, 255, 0.3);
}

.services-cta-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(26, 79, 255, 0.4);
}

.services-cta-btn-secondary {
  background: var(--white);
  color: var(--dark-gray);
  border: 2px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.services-cta-btn-secondary:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.services-cta-visual {
  width: 100%;
  opacity: 0;
  transform: translateY(30px);
}

.services-cta-visual.animate {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
}

.cta-visual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.cta-stat-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-stat-card.counted .cta-stat-number {
  animation: statPulse 0.6s ease;
}

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

.cta-stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(26, 79, 255, 0.1);
  border-color: rgba(26, 79, 255, 0.15);
}

.cta-stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.cta-stat-label {
  font-size: 0.9rem;
  color: #6b7280;
  font-weight: 500;
}

/* CTA Section Responsive */
@media screen and (max-width: 1024px) {
  .services-cta-container {
    padding: 0 40px;
  }

  .services-cta-title {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 768px) {
  .services-cta-section {
    padding: 70px 0 90px;
  }

  .services-cta-container {
    padding: 0 24px;
  }

  .services-cta-title {
    font-size: 2rem;
  }

  .services-cta-desc {
    font-size: 1rem;
  }

   .services-cta-buttons {
    flex-direction: column;
    width: 100%; /* Mevcut genişliğin yarısı */
    max-width: 300px; /* Maksimum genişlik sınırı */
    margin-left: auto;
    margin-right: auto; /* Ortalamak için */
  }
  .services-cta-btn {
    justify-content: center;
    width: 100%;
  }

  .cta-visual-grid {
    grid-template-columns: 1fr;
    gap: 16px;

  }

  .cta-stat-card {
    padding: 24px 20px;
  }

  .cta-stat-number {
    font-size: 2rem;
  }
}

@media screen and (max-width: 480px) {
  .services-cta-title {
    font-size: 1.7rem;
  }

  .services-cta-label {
    font-size: 0.75rem;
    padding: 6px 14px;
  }

  .services-cta-btn {
    padding: 14px 24px;
    font-size: 0.95rem;
  }
}


/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.video-modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
}

.modal-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    padding: 5px 15px;
    z-index: 10000;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #00ffaa;
}

.modal-video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}
/* Video Thumbnail Styles */
.video-thumbnail {
    position: relative;
    width: 100%;
    max-width: auto;
    margin: 0 auto 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-thumbnail:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 217, 255, 0.2);
}

.video-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.video-thumbnail:hover img {
    transform: scale(1.03);
}

.play-button-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.video-thumbnail:hover .play-button-overlay {
    background: rgba(0, 217, 255, 0.2);
}

.play-button-overlay svg {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.video-thumbnail:hover .play-button-overlay svg {
    transform: scale(1.1);
}

/* Video placeholder text */
.software-video-placeholder span {
    display: block;
    text-align: center;
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
    margin-top: 10px;
}

/* Modal video poster */
.modal-video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    background: #0f1015; /* Siyah yerine koyu gri */
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .video-thumbnail {
        max-width: 100%;
        margin-bottom: 12px;
    }
    
    .play-button-overlay svg {
        width: 48px;
        height: 48px;
    }
    
    .software-video-placeholder span {
        font-size: 0.95rem;
    }
}