/* Custom Styling for POSLİNE YAZILIM Website */

:root {
  /* Typography */
  --font-headers: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* HSL Colors - Light Theme Default */
  --hue: 228;
  --color-primary: hsl(var(--hue), 85%, 55%);
  --color-primary-hover: hsl(var(--hue), 85%, 45%);
  --color-primary-glow: hsla(var(--hue), 85%, 55%, 0.15);
  
  --color-accent: hsl(265, 80%, 60%);
  --color-accent-hover: hsl(265, 80%, 50%);
  
  --bg-primary: hsl(var(--hue), 25%, 98%);
  --bg-secondary: hsl(0, 0%, 100%);
  --bg-tertiary: hsl(var(--hue), 20%, 94%);
  
  --color-text: hsl(var(--hue), 40%, 15%);
  --color-text-muted: hsl(var(--hue), 20%, 45%);
  --color-border: hsl(var(--hue), 20%, 90%);
  
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.4);
  --card-shadow: 0 10px 30px rgba(13, 27, 62, 0.05), 0 1px 3px rgba(13, 27, 62, 0.02);
  --card-hover-shadow: 0 20px 40px rgba(13, 27, 62, 0.12);
  
  --whatsapp-color: #25d366;
  
  /* Layout constraints */
  --header-height: 125px;
  --max-width: 1480px;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
}

/* Dark Theme overrides */
body.dark-theme {
  --bg-primary: hsl(var(--hue), 40%, 6%);
  --bg-secondary: hsl(var(--hue), 35%, 10%);
  --bg-tertiary: hsl(var(--hue), 30%, 14%);
  
  --color-text: hsl(var(--hue), 20%, 93%);
  --color-text-muted: hsl(var(--hue), 15%, 70%);
  --color-border: hsl(var(--hue), 25%, 16%);
  
  --glass-bg: rgba(13, 21, 38, 0.65);
  --glass-border: rgba(255, 255, 255, 0.07);
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  --card-hover-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
  
  --color-primary-glow: hsla(var(--hue), 85%, 55%, 0.3);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Main Container Helper */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Dynamic Gradient Background shapes */
.bg-gradient-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.8;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  mix-blend-mode: multiply;
  opacity: 0.15;
  transition: all 0.4s ease;
}

body.dark-theme .shape {
  opacity: 0.1;
  filter: blur(120px);
}

.shape-1 {
  top: -10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-primary) 0%, transparent 80%);
}

.shape-2 {
  bottom: -10%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-accent) 0%, transparent 80%);
}

.shape-3 {
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, hsl(190, 85%, 55%) 0%, transparent 80%);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-headers);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  background-color: var(--bg-tertiary);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background-color: var(--color-border);
  transform: translateY(-2px);
}

.btn-block {
  display: flex;
  width: 100%;
}

.icon-button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
  padding: 8px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.icon-button:hover {
  background-color: var(--color-border);
}

/* Header & Navigation Styles */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background-color: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  transition: background-color 0.4s ease, border-color 0.4s ease, transform 0.3s ease;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-text);
}

.logo-svg {
  height: 65px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-family: var(--font-headers);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--border-radius-sm);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
  background-color: var(--color-primary-glow);
}

/* Dropdown Menu System */
.dropdown {
  position: relative;
}

.dropdown-toggle svg {
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background-color: var(--bg-secondary);
  border: 1px solid var(--color-border);
  box-shadow: var(--card-hover-shadow);
  border-radius: var(--border-radius-md);
  list-style: none;
  padding: 12px 0;
  width: 250px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1010;
}

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

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-text);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-menu li a:hover {
  background-color: var(--bg-tertiary);
  color: var(--color-primary);
  padding-left: 24px;
}

.dropdown-submenu-title {
  padding: 8px 20px 4px;
  font-family: var(--font-headers);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  margin-top: 8px;
}

.dropdown-menu li:first-child.dropdown-submenu-title {
  border-top: none;
  margin-top: 0;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Light/Dark Toggle Icon Switching */
#theme-toggle .sun-icon {
  display: block;
}
#theme-toggle .moon-icon {
  display: none;
}
body.dark-theme #theme-toggle .sun-icon {
  display: none;
}
body.dark-theme #theme-toggle .moon-icon {
  display: block;
}

/* App Content Area */
.app-container {
  flex: 1;
  margin-top: var(--header-height);
  min-height: calc(100vh - var(--header-height) - 400px);
  padding: 40px 0 80px;
}

/* Page Loading Skeleton */
.page-loading-skeleton {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.skeleton-title {
  height: 48px;
  width: 50%;
  background-color: var(--color-border);
  border-radius: var(--border-radius-sm);
  margin-bottom: 24px;
  animation: pulseSkeleton 1.5s infinite ease-in-out;
}

.skeleton-line {
  height: 18px;
  width: 100%;
  background-color: var(--color-border);
  border-radius: var(--border-radius-sm);
  margin-bottom: 12px;
  animation: pulseSkeleton 1.5s infinite ease-in-out;
}

.skeleton-line:last-child {
  width: 75%;
}

@keyframes pulseSkeleton {
  0% { opacity: 0.5; }
  50% { opacity: 0.8; }
  100% { opacity: 0.5; }
}

/* Animation utilities for dynamically injected elements */
.animate-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* Add incremental animation delays to elements */
.animate-up:nth-child(1) { animation-delay: 0.05s; }
.animate-up:nth-child(2) { animation-delay: 0.1s; }
.animate-up:nth-child(3) { animation-delay: 0.15s; }
.animate-up:nth-child(4) { animation-delay: 0.2s; }
.animate-up:nth-child(5) { animation-delay: 0.25s; }
.animate-up:nth-child(6) { animation-delay: 0.3s; }
.animate-up:nth-child(7) { animation-delay: 0.35s; }

/* Dynamic Web Page Elements styling (Markdown converted content) */
.page-title {
  font-family: var(--font-headers);
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--color-text) 50%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.section-title {
  font-family: var(--font-headers);
  font-size: 2rem;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 12px;
}

.subsection-title {
  font-family: var(--font-headers);
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 16px;
  color: var(--color-primary);
}

.body-text {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: var(--color-text-muted);
}

/* Lists styling */
.feature-list {
  list-style: none;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 30px;
  align-items: stretch;
}

@media (max-width: 768px) {
  .feature-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.feature-list li {
  display: flex;
  align-items: center;
  position: relative;
  padding: 16px 20px 16px 48px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  min-height: 58px;
}

.feature-list li:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: calc(50% - 3.5px);
  width: 13px;
  height: 8px;
  border-left: 2.8px solid var(--color-primary);
  border-bottom: 2.8px solid var(--color-primary);
  transform: translateY(-50%) rotate(-45deg);
  transform-origin: center;
}

/* Custom testimonial blockquote boxes */
.review-box {
  position: relative;
  background-color: var(--bg-secondary);
  border-left: 4px solid var(--color-primary);
  padding: 24px 32px;
  margin: 24px 0;
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
  box-shadow: var(--card-shadow);
}

.review-box p {
  font-style: italic;
  color: var(--color-text);
  font-size: 1.05rem;
  position: relative;
  z-index: 2;
}

.review-box::before {
  content: "“";
  position: absolute;
  top: -10px;
  left: 10px;
  font-size: 8rem;
  font-family: Georgia, serif;
  color: var(--color-border);
  opacity: 0.3;
  line-height: 1;
  z-index: 1;
  pointer-events: none;
}

/* Homepage specific Layout Customizations */
.home-hero {
  padding: 60px 0 100px;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  padding: 8px 16px;
  background-color: var(--color-primary-glow);
  color: var(--color-primary);
  font-family: var(--font-headers);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.home-hero .page-title {
  font-size: 3.5rem;
  max-width: 900px;
  margin: 0 auto 24px;
}

.home-hero .body-text {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 40px;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
}

/* Interactive Grid for Services & Software on Homepage */
.home-services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 35px;
  margin-bottom: 60px;
}

@media (max-width: 1200px) {
  .home-services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .home-services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .home-services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 28px 18px 30px 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(59, 130, 246, 0.4);
}

.card-icon-container {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  flex-shrink: 0;
}

.service-card .card-title {
  font-family: var(--font-headers);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--color-text);
  margin-bottom: 10px;
  text-align: left;
  line-height: 1.3;
}

.service-card .card-desc {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  line-height: 1.55;
  margin: 0;
  text-align: left;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap 0.2s ease;
}

.card-link:hover {
  gap: 10px;
}

/* FAQ Accordion Styling (Used in Narbulut & other pages) */
.faq-accordion {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: var(--bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.faq-header {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-headers);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-text);
  transition: background-color 0.2s ease;
}

.faq-header:hover {
  background-color: var(--bg-tertiary);
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--color-primary);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-top: 1px solid transparent;
}

.faq-item.active .faq-body {
  border-top-color: var(--color-border);
}

.faq-content {
  padding: 20px 24px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Software Product Cards styling */
.software-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.software-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: 36px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.software-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

/* Contact Page Form & Layout */
.contact-section-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  margin-top: 40px;
}

.contact-card-box {
  background-color: var(--bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: 40px;
  box-shadow: var(--card-shadow);
}

.form-group {
  margin-bottom: 24px;
}

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

.form-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--color-border);
  background-color: var(--bg-primary);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-glow);
  background-color: var(--bg-secondary);
}

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

/* Interactive Checkboxes in Form */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  cursor: pointer;
}

.checkbox-input {
  margin-top: 4px;
}

.checkbox-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Sidebar Contact Info Details */
.info-sidebar-box {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-contact-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: 30px;
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.sidebar-contact-card svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact-card-details h5 {
  font-family: var(--font-headers);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-card-details p, .contact-card-details a {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.contact-card-details a:hover {
  color: var(--color-primary);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background-color: var(--bg-secondary);
  border: 1px solid var(--color-border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border-left: 4px solid var(--color-primary);
  padding: 16px 24px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(-120%);
  opacity: 0;
  animation: slideInToast 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInToast {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.toast.toast-success {
  border-left-color: var(--whatsapp-color);
}

.toast-message {
  font-weight: 600;
  font-size: 0.9rem;
}

/* Footer Section */
.main-footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--color-border);
  padding: 80px 0 40px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
}

.brand-col .footer-logo {
  font-family: var(--font-headers);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--color-text);
  margin-bottom: 20px;
}

.footer-desc {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  color: var(--color-text-muted);
  padding: 8px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: inline-flex;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background-color: var(--color-primary-glow);
  transform: translateY(-2px);
}

.footer-title {
  font-family: var(--font-headers);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

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

.footer-contact-info {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-info li {
  display: flex;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.footer-contact-info li svg {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-link {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-link:hover {
  color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  margin-top: 60px;
  padding-top: 30px;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

/* Floating whatsapp elements */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.whatsapp-float {
  background-color: var(--whatsapp-color);
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float .tooltip-text {
  position: absolute;
  right: 70px;
  background-color: var(--bg-secondary);
  color: var(--color-text);
  font-family: var(--font-headers);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 50px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--color-border);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.whatsapp-float:hover .tooltip-text {
  opacity: 1;
  visibility: visible;
  right: 66px;
}

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

.animate-pulse {
  animation: pulse 2s infinite;
}

/* Mobile responsive navigation drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background-color: var(--bg-secondary);
  z-index: 1050;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.5);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-header {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.drawer-title {
  font-family: var(--font-headers);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 1px;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-link {
  display: block;
  font-family: var(--font-headers);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text);
  text-decoration: none;
  padding: 12px 16px;
  border-radius: var(--border-radius-sm);
  transition: all 0.2s ease;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background-color: var(--color-primary-glow);
  color: var(--color-primary);
}

.mobile-dropdown-toggle {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-headers);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text);
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.mobile-dropdown-toggle svg {
  transition: transform 0.3s ease;
}

.mobile-dropdown.open .mobile-dropdown-toggle svg {
  transform: rotate(180deg);
}

.mobile-dropdown-menu {
  display: none;
  list-style: none;
  padding-left: 20px;
  border-left: 2px solid var(--color-border);
  margin: 4px 16px;
}

.mobile-dropdown.open .mobile-dropdown-menu {
  display: block;
}

.mobile-dropdown-menu li a {
  display: block;
  padding: 8px 12px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-dropdown-menu li a:hover {
  color: var(--color-primary);
}

.mobile-drawer-cta {
  margin-top: auto;
  padding-top: 30px;
}

/* Mobile Icon Toggle Switch overrides */
.mobile-only {
  display: none;
}

.menu-close-icon {
  display: none;
}

body.mobile-menu-active .menu-open-icon {
  display: none;
}
body.mobile-menu-active .menu-close-icon {
  display: block;
}

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

@media (max-width: 768px) {
  :root {
    --header-height: 95px;
  }
  
  .logo-link img {
    height: 85px !important;
  }
  
  .desktop-nav, .hide-mobile {
    display: none;
  }
  
  .mobile-only {
    display: inline-flex;
  }
  
  .home-slider {
    height: 380px !important;
  }
  
  .home-slide {
    padding: 25px 20px !important;
  }
  
  .home-slide .page-title {
    font-size: 1.6rem !important;
    margin-bottom: 10px !important;
    line-height: 1.3 !important;
  }
  
  .home-slide .body-text {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    margin-bottom: 15px !important;
  }
  
  .home-slide .hero-ctas .btn {
    padding: 8px 16px !important;
    font-size: 0.85rem !important;
  }
  
  .page-title {
    font-size: 2.0rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .contact-section-layout {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .sidebar-contact-card {
    padding: 20px;
  }
  
  .page-hero-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 25px 20px !important;
    gap: 15px;
  }
  
  .banner-content {
    max-width: 100% !important;
  }
  
  .banner-icon-wrapper {
    display: none;
  }
  
  .detail-info-column {
    padding: 20px !important;
  }
  
  .detail-title {
    font-size: 1.6rem !important;
  }
  
  .detail-img-box {
    min-height: 250px !important;
    padding: 15px !important;
  }
  
  .admin-main-panel {
    padding: 15px !important;
  }
  
  .admin-grid-2col {
    grid-template-columns: 1fr !important;
  }
}

/* Subpage Custom Hero Banner and Layout Styling */
.page-hero-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px;
  background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--color-primary-glow) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  margin-bottom: 40px;
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
}

body.dark-theme .page-hero-banner {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, hsla(var(--hue), 85%, 20%, 0.2) 100%);
}

.banner-content {
  max-width: 70%;
}

.page-banner-title {
  font-family: var(--font-headers);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--color-text);
}

.page-banner-sub {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.banner-icon-wrapper {
  color: var(--color-primary);
  opacity: 0.8;
  filter: drop-shadow(0 0 10px var(--color-primary-glow));
}

.subpage-content-wrapper {
  background-color: var(--bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: 40px;
  box-shadow: var(--card-shadow);
}

.subpage-content-wrapper p.body-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* Product Catalog Styling */
.products-filter-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
  justify-content: center;
}

.filter-btn {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  padding: 10px 20px;
  border-radius: 30px;
  font-family: var(--font-headers);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--color-primary-glow);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.product-catalog-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-catalog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  border-color: var(--color-primary);
}

.product-card-img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 100%; /* 1:1 Aspect Ratio */
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.product-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: transform 0.4s ease;
}

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

.product-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card-cat-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  background-color: var(--color-primary-glow);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-card-title {
  font-family: var(--font-headers);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
  color: var(--color-text);
  flex-grow: 1;
}

.product-card-footer {
  margin-top: auto;
}

.product-card-btn {
  display: block;
  text-align: center;
  width: 100%;
  padding: 10px;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  color: var(--color-text);
  font-family: var(--font-headers);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.product-card-btn:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

/* Modal Overlay & Dialog Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  display: flex;
  opacity: 1;
}

.modal-content {
  background-color: var(--bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  width: 100%;
  max-width: 850px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  padding: 30px;
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 5px;
  transition: color 0.2s ease;
  z-index: 10;
}

.modal-close-btn:hover {
  color: var(--color-text);
}

.modal-body-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .modal-body-layout {
    grid-template-columns: 1.2fr 1.8fr;
  }
}

.modal-media-column {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
}

.modal-media-column img {
  max-width: 100%;
  max-height: 350px;
  object-fit: contain;
}

.modal-info-column {
  display: flex;
  flex-direction: column;
}

.modal-info-column h2 {
  font-family: var(--font-headers);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--color-text);
  line-height: 1.3;
}

.modal-product-desc-content {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 25px;
  max-height: 300px;
  overflow-y: auto;
  padding-right: 10px;
}

.modal-product-desc-content p {
  margin-bottom: 12px;
}

.modal-product-desc-content ul {
  margin-bottom: 12px;
  padding-left: 20px;
}

.modal-product-desc-content li {
  margin-bottom: 6px;
}

.modal-footer-actions {
  margin-top: auto;
}

.modal-footer-actions button {
  width: 100%;
  padding: 12px;
  font-weight: 700;
}

/* Homepage Specific Elements */
.home-hero-bg {
  position: relative;
  background: linear-gradient(rgba(15, 23, 42, 0.65), rgba(15, 23, 42, 0.75)), url('assets/home/netline-yazilim-web-hd-bg-1.webp') no-repeat center center;
  background-size: cover;
  border-radius: var(--border-radius-md);
  padding: 80px 40px;
  margin-bottom: 50px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

[data-theme="light"] .home-hero-bg {
  background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.85)), url('assets/home/netline-yazilim-web-hd-bg-1.webp') no-repeat center center;
  background-size: cover;
}

.home-row-banner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 35px;
  align-items: center;
  margin-bottom: 60px;
  padding: 40px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  box-shadow: var(--card-shadow);
}

@media (min-width: 768px) {
  .home-row-banner {
    grid-template-columns: 1fr 1fr;
  }
}

.home-row-img-wrapper {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-row-img-wrapper img {
  max-width: 100%;
  max-height: 280px;
  object-fit: contain;
}

.home-row-content h2 {
  font-family: var(--font-headers);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--color-text);
  line-height: 1.3;
}

.home-row-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 25px;
}

.home-sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 15px;
  margin-top: 30px;
  margin-bottom: 60px;
}

.sector-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  padding: 20px 10px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.sector-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-primary);
  box-shadow: var(--card-shadow);
}

.sector-icon-wrapper {
  width: 45px;
  height: 45px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sector-icon-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.sector-title {
  font-family: var(--font-headers);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
}

.testimonial-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: var(--card-shadow);
  position: relative;
}

.testimonial-text {
  font-style: italic;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 15px;
}

.testimonial-author {
  font-family: var(--font-headers);
  font-weight: 700;
  color: var(--color-text);
  font-size: 0.95rem;
}

/* Modal Gallery Thumbnail Styles */
.modal-gallery-thumb {
  width: 55px;
  height: 55px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  padding: 3px;
  background-color: #ffffff;
  object-fit: contain;
  opacity: 0.6;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.modal-gallery-thumb:hover,
.modal-gallery-thumb.active {
  opacity: 1;
  border-color: var(--color-primary);
  box-shadow: 0 0 5px var(--color-primary-glow);
}

/* Product Detail Page Layout */
.product-detail-container {
  padding-top: 20px;
  padding-bottom: 50px;
}

.detail-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 20px;
}

@media (min-width: 992px) {
  .detail-layout-grid {
    grid-template-columns: 1fr 1.4fr;
  }
}

.detail-media-column {
  position: sticky;
  top: 100px;
}

.detail-img-box {
  width: 100%;
  min-height: 350px;
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--card-shadow);
}

.detail-img-box img {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
}

.detail-info-column {
  background-color: var(--bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: 40px;
  box-shadow: var(--card-shadow);
}

.detail-title {
  font-family: var(--font-headers);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.2;
  margin-top: 10px;
  margin-bottom: 20px;
  color: var(--color-text);
}

.detail-description-content {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 35px;
}

.detail-description-content p {
  margin-bottom: 15px;
}

.detail-description-content h4 {
  font-family: var(--font-headers);
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 25px;
  margin-bottom: 15px;
  color: var(--color-text);
}

.detail-description-content ul {
  margin-bottom: 20px;
  padding-left: 25px;
}

.detail-description-content li {
  margin-bottom: 8px;
}

.detail-cta-card {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  padding: 25px;
  text-align: center;
  margin-top: 30px;
}

.detail-cta-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 15px;
}

/* Admin Area Styles */
.admin-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: 40px;
  box-shadow: var(--card-shadow);
  max-width: 450px;
  margin: 50px auto;
}

.admin-dashboard-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .admin-dashboard-layout {
    grid-template-columns: 240px 1fr;
  }
}

.admin-sidebar {
  background-color: var(--bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: fit-content;
}

.admin-tab-btn {
  width: 100%;
  padding: 12px 15px;
  text-align: left;
  border: 1px solid transparent;
  background: transparent;
  color: var(--color-text-muted);
  font-family: var(--font-headers);
  font-weight: 700;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-tab-btn:hover,
.admin-tab-btn.active {
  background-color: var(--bg-tertiary);
  color: var(--color-primary);
  border-color: var(--color-border);
}

.admin-main-panel {
  background-color: var(--bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: 30px;
  box-shadow: var(--card-shadow);
  min-height: 400px;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.admin-stat-card {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  padding: 25px;
  text-align: center;
}

.admin-stat-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: 5px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 0.95rem;
}

.admin-table th,
.admin-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.admin-table th {
  font-family: var(--font-headers);
  font-weight: 700;
  color: var(--color-text);
  background-color: var(--bg-tertiary);
}

.admin-table tr:hover {
  background-color: var(--bg-tertiary);
}

.admin-action-btn {
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  border: 1px solid var(--color-border);
  background-color: var(--bg-secondary);
  color: var(--color-text);
  margin-right: 5px;
  transition: all 0.2s ease;
}

.admin-action-btn.edit:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.admin-action-btn.delete:hover {
  background-color: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
}

.admin-form-group {
  margin-bottom: 20px;
}

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

.admin-input,
.admin-textarea,
.admin-select {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  background-color: var(--bg-tertiary);
  color: var(--color-text);
  font-family: var(--font-body);
}

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

/* Universal Responsive Auto-scaling for all site images */
img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.product-card-img,
.detail-img-box img,
.modal-media-column img,
.home-row-img-wrapper img,
.sector-icon-wrapper img,
#admin-page-image-preview img,
#admin-logo-preview-box img,
#slide-img-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.home-slider {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  margin-bottom: 40px;
  box-shadow: var(--shadow-lg);
  background-color: #ffffff;
}

.home-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  background-size: contain; /* Automatically scales full slide image without cropping edges */
  background-position: center;
  background-repeat: no-repeat;
  background-color: #ffffff;
  z-index: 1;
}

/* Remove dark overlay completely so slide images pop with 100% bright, vivid, original colors */
.home-slide::after {
  display: none !important;
}

.home-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 3;
}

.slider-nav-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.slider-dot:hover {
  background-color: rgba(255, 255, 255, 0.75);
}

.slider-dot.active {
  background-color: var(--color-primary);
  transform: scale(1.2);
}

/* ----------------------------------------------------
   Vega Cloud 9 Custom Layout Styles
   ---------------------------------------------------- */
.cloud9-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 50px;
}

@media (max-width: 1024px) {
  .cloud9-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .cloud9-features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.cloud9-feature-card {
  background: var(--bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: 30px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cloud9-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-hover-shadow);
}

.cloud9-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.cloud9-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cloud9-card-icon svg {
  width: 22px;
  height: 22px;
}

.cloud9-card-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.cloud9-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 12px 0;
  font-family: var(--font-headers);
}

.cloud9-card-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

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

.cloud9-card-list li {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.cloud9-card-list li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

/* Card Themes */
.cloud9-feature-card.theme-blue .cloud9-card-icon { background: rgba(59, 130, 246, 0.1); color: rgb(59, 130, 246); }
.cloud9-feature-card.theme-blue .cloud9-card-badge { background: rgba(59, 130, 246, 0.1); color: rgb(59, 130, 246); }
.cloud9-feature-card.theme-blue .cloud9-card-list li::before { background: rgb(59, 130, 246); }

.cloud9-feature-card.theme-green .cloud9-card-icon { background: rgba(16, 185, 129, 0.1); color: rgb(16, 185, 129); }
.cloud9-feature-card.theme-green .cloud9-card-badge { background: rgba(16, 185, 129, 0.1); color: rgb(16, 185, 129); }
.cloud9-feature-card.theme-green .cloud9-card-list li::before { background: rgb(16, 185, 129); }

.cloud9-feature-card.theme-teal .cloud9-card-icon { background: rgba(20, 184, 166, 0.1); color: rgb(20, 184, 166); }
.cloud9-feature-card.theme-teal .cloud9-card-badge { background: rgba(20, 184, 166, 0.1); color: rgb(20, 184, 166); }
.cloud9-feature-card.theme-teal .cloud9-card-list li::before { background: rgb(20, 184, 166); }

.cloud9-feature-card.theme-indigo .cloud9-card-icon { background: rgba(99, 102, 241, 0.1); color: rgb(99, 102, 241); }
.cloud9-feature-card.theme-indigo .cloud9-card-badge { background: rgba(99, 102, 241, 0.1); color: rgb(99, 102, 241); }
.cloud9-feature-card.theme-indigo .cloud9-card-list li::before { background: rgb(99, 102, 241); }

.cloud9-feature-card.theme-orange .cloud9-card-icon { background: rgba(245, 158, 11, 0.1); color: rgb(245, 158, 11); }
.cloud9-feature-card.theme-orange .cloud9-card-badge { background: rgba(245, 158, 11, 0.1); color: rgb(245, 158, 11); }
.cloud9-feature-card.theme-orange .cloud9-card-list li::before { background: rgb(245, 158, 11); }

.cloud9-feature-card.theme-red .cloud9-card-icon { background: rgba(239, 68, 68, 0.1); color: rgb(239, 68, 68); }
.cloud9-feature-card.theme-red .cloud9-card-badge { background: rgba(239, 68, 68, 0.1); color: rgb(239, 68, 68); }
.cloud9-feature-card.theme-red .cloud9-card-list li::before { background: rgb(239, 68, 68); }

/* Steps Custom Layout */
.cloud9-steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 50px;
}

@media (max-width: 900px) {
  .cloud9-steps-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .cloud9-steps-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

.cloud9-step-card {
  background: var(--bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: 24px;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease;
}

.cloud9-step-card:hover {
  transform: translateY(-3px);
}

.cloud9-step-number {
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin: 0 auto 15px auto;
  font-size: 1.1rem;
}

.cloud9-step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
  font-family: var(--font-headers);
}

.cloud9-step-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* SEO Keyword Tags Styling */
.seo-tag-chip {
  display: inline-block;
  background-color: var(--bg-primary);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 500;
  transition: all 0.25s ease;
  user-select: none;
}

.seo-tag-chip:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(0, 102, 255, 0.2);
}

/* ==================================================== */
/* NETWORK SOLUTIONS PAGE STYLING                      */
/* ==================================================== */

.network-hero-card {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  background: var(--bg-secondary);
}

@media (min-width: 992px) {
  .network-hero-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

.network-hero-img-wrap {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background: #0f172a;
}

.network-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.network-hero-card:hover .network-hero-img {
  transform: scale(1.04);
}

.network-hero-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.network-hero-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  width: fit-content;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.network-hero-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 16px;
  font-family: var(--font-headers);
  line-height: 1.25;
}

.network-hero-desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.network-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.network-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-tertiary);
  color: var(--color-text);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--color-border);
}

/* Network Services Grid & Cards */
.network-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.network-card {
  background: var(--bg-secondary);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.network-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-hover-shadow);
  border-color: var(--card-accent, var(--color-primary));
}

.network-card-img-wrap {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: #0f172a;
}

.network-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.network-card:hover .network-card-img {
  transform: scale(1.06);
}

.network-card-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.network-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.network-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.network-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.network-card-icon svg {
  width: 22px;
  height: 22px;
}

.network-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  font-family: var(--font-headers);
  margin: 0;
}

.network-card-desc {
  font-size: 0.93rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.network-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px dashed var(--color-border);
  padding-top: 18px;
}

.network-card-list li {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Network FAQ Accordion */
.network-faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 30px;
}

.network-faq-cat {
  background: var(--bg-secondary);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--color-border);
  padding: 24px;
  box-shadow: var(--card-shadow);
  margin-bottom: 24px;
}

.network-faq-cat-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-headers);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-primary-glow);
}

.network-faq-item {
  border-bottom: 1px solid var(--color-border);
}

.network-faq-item:last-child {
  border-bottom: none;
}

.network-faq-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 14px 0;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: color 0.2s ease;
  font-family: var(--font-headers);
}

.network-faq-btn:hover {
  color: var(--color-primary);
}

.faq-chevron {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.network-faq-btn.active .faq-chevron {
  transform: rotate(180deg);
}

.network-faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
}

.network-faq-content p {
  padding: 0 0 14px 0;
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Network CTA Card */
.network-cta-card {
  background: linear-gradient(135deg, hsl(228, 65%, 16%) 0%, hsl(228, 80%, 28%) 100%);
  border-radius: var(--border-radius-lg);
  padding: 45px;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 992px) {
  .network-cta-card {
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
  }
}

.network-cta-badge {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #38bdf8;
  margin-bottom: 12px;
}

.network-cta-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  font-family: var(--font-headers);
}

.network-cta-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 24px;
}

.network-cta-features {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.network-cta-features span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.network-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.network-contact-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-radius: var(--border-radius-sm);
  text-decoration: none;
  transition: all 0.3s ease;
  font-family: var(--font-headers);
}

.btn-call {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-call:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.btn-call div span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 1px;
  opacity: 0.8;
}

.btn-call div strong {
  font-size: 1rem;
}

.btn-wa {
  background: #25d366;
  color: #ffffff;
}

.btn-wa:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

.btn-wa div span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 1px;
  opacity: 0.9;
}

.btn-wa div strong {
  font-size: 1rem;
}

.btn-primary-action {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: #ffffff;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn-primary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.5);
}

