/* ===== MODERN TECHNOLOGY WEBSITE STYLES ===== */

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

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #1e293b;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Sky Technology Color System */
:root {
  --sky-50: #f0f9ff;
  --sky-100: #e0f2fe;
  --sky-200: #bae6fd;
  --sky-300: #7dd3fc;
  --sky-400: #38bdf8;
  --sky-500: #0ea5e9;
  --sky-600: #0284c7;
  --sky-700: #0369a1;
  --sky-800: #075985;
  --sky-900: #0c4a6e;

  --primary: #0ea5e9;
  --secondary: #38bdf8;
  --accent: #06b6d4;

  --text-dark: #0f172a;
  --text-medium: #334155;
  --text-light: #64748b;

  --glass-bg: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(255, 255, 255, 0.2);

  --gradient-primary: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
  --gradient-sky: linear-gradient(
    135deg,
    #f0f9ff 0%,
    #e0f2fe 50%,
    #bae6fd 100%
  );
  --gradient-tech: linear-gradient(
    135deg,
    #0ea5e9 0%,
    #06b6d4 50%,
    #38bdf8 100%
  );

  --shadow-sm: 0 4px 16px rgba(14, 165, 233, 0.1);
  --shadow-md: 0 8px 32px rgba(14, 165, 233, 0.15);
  --shadow-lg: 0 16px 64px rgba(14, 165, 233, 0.2);

  --border-radius: 16px;
  --border-radius-lg: 24px;
}

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

p {
  color: var(--text-medium);
  font-size: 1rem;
  line-height: 1.7;
}

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

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: all 0.3s ease;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo .logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.company-name {
  font-weight: 800;
  font-size: 1.25rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-medium);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--primary);
  background: rgba(14, 165, 233, 0.1);
}

.nav-link.active {
  color: var(--primary);
  background: rgba(14, 165, 233, 0.15);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 4px;
}

.hamburger .bar {
  width: 24px;
  height: 3px;
  background: var(--text-medium);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* ===== LANGUAGE TOGGLE ===== */
.language-toggle {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 1rem;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-medium);
  backdrop-filter: blur(10px);
}

.lang-btn:hover {
  background: rgba(14, 165, 233, 0.1);
  border-color: var(--primary);
  color: var(--primary);
}

.lang-btn i:first-child {
  font-size: 1rem;
}

.lang-btn i:last-child {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  min-width: 160px;
  z-index: 1001;
  margin-top: 4px;
}

.lang-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown.active .lang-btn i:last-child {
  transform: rotate(180deg);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.875rem;
  color: var(--text-medium);
  text-align: left;
}

.lang-option:first-child {
  border-radius: 8px 8px 0 0;
}

.lang-option:last-child {
  border-radius: 0 0 8px 8px;
}

.lang-option:hover {
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary);
}

.lang-option img {
  width: 16px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-sky);
  padding-top: 80px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><circle fill="%23e0f2fe" cx="30" cy="30" r="2"/></g></svg>')
    repeat;
  opacity: 0.3;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  animation: fadeInUp 1s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-medium);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

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

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--glass-bg);
  color: var(--primary);
  border: 2px solid var(--primary);
  backdrop-filter: blur(10px);
}

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

.hero-stats {
  display: flex;
  gap: 2rem;
}

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

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-light);
  font-weight: 500;
}

.hero-visual {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-showcase {
  position: relative;
  width: 100%;
  height: 100%;
}

.tech-card {
  position: absolute;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  animation: float 6s ease-in-out infinite;
}

.tech-card:nth-child(1) {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.tech-card:nth-child(2) {
  top: 50%;
  right: 20%;
  animation-delay: 2s;
}

.tech-card:nth-child(3) {
  bottom: 20%;
  left: 30%;
  animation-delay: 4s;
}

.tech-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: var(--shadow-lg);
}

.card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.card-content i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.card-content span {
  font-weight: 600;
  color: var(--text-medium);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

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

/* ===== SECTION STYLES ===== */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.2);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-medium);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== ABOUT SECTION ===== */
.about {
  background: white;
  position: relative;
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: none;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.about-text h3 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.about-text p {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.feature-item i {
  color: var(--primary);
  font-size: 1.25rem;
}

.about-visual {
  position: relative;
  height: 400px;
  background: transparent;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-visual::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: none;
}

.visual-icon {
  font-size: 4rem;
  color: var(--primary);
  z-index: 2;
  position: relative;
}

.about-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--border-radius);
  z-index: 2;
  position: relative;
  box-shadow: var(--shadow-lg);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.about-image:hover {
  transform: scale(1.05) rotateY(5deg);
  box-shadow: 0 25px 50px rgba(14, 165, 233, 0.3);
}

/* ===== SERVICES SECTION ===== */
.services {
  background: var(--gradient-sky);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Responsive adjustments for services grid */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .portfolio-categories-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.8rem !important;
  }

  .category-box {
    border-radius: 18px !important;
  }

  .category-header {
    padding: 2rem 1.5rem 1.5rem !important;
  }

  .category-header h3 {
    font-size: 1.3rem !important;
  }

  .category-services {
    padding: 1.8rem !important;
    gap: 1.1rem !important;
  }

  /* About Section */
  .about-content {
    gap: 3rem !important;
  }

  .about-text h3 {
    font-size: 2.3rem !important;
  }

  .about-text p {
    font-size: 1.05rem !important;
  }

  .about-features {
    gap: 0.8rem !important;
  }

  .about-visual {
    height: 350px !important;
  }
}

@media (max-width: 768px) {
  .portfolio-categories-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    padding: 1rem 0 !important;
    margin-bottom: 3rem !important;
  }

  .category-box {
    margin: 0 !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.15) !important;
  }

  .category-header {
    padding: 1.5rem 1rem 1rem !important;
  }

  .category-header h3 {
    font-size: 1.2rem !important;
    line-height: 1.3 !important;
  }

  .category-services {
    padding: 1.5rem !important;
    gap: 1rem !important;
  }

  .service-box {
    padding: 0.75rem 1rem !important;
    font-size: 0.85rem !important;
    border-radius: 10px !important;
    margin: 0 !important;
    width: 100% !important;
  }
}

.service-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.service-card p {
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  margin-bottom: 2rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.5rem 0;
  color: var(--text-medium);
}

.service-features li i {
  color: #10b981;
  font-size: 0.875rem;
}

.service-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-primary);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  width: 100%;
  justify-content: center;
}

.service-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.portfolio::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%230ea5e9" fill-opacity="0.05"><circle cx="30" cy="30" r="2"/></g></g></svg>');
  opacity: 0.3;
}

/* Portfolio Categories Grid - Ultra Modern Design */
.portfolio-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 5rem;
  padding: 2rem 0;
}

/* Responsive adjustments for portfolio grid */
@media (max-width: 1200px) {
  .portfolio-categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .portfolio-categories-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Remove special positioning since all cards are in one row */
.portfolio-categories-grid .category-box:nth-child(4) {
  grid-column: auto;
  grid-row: auto;
}

/* Category Box - Premium Modern Design */
.category-box {
  background: linear-gradient(145deg, #0ea5e9 0%, #0284c7 50%, #0369a1 100%);
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  position: relative;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 20px 40px rgba(14, 165, 233, 0.2),
    0 8px 16px rgba(14, 165, 233, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform-style: preserve-3d;
}

.category-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Category Header - Enhanced Title Section */
.category-header {
  background: rgba(255, 255, 255, 0.05);
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  position: relative;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.category-header::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #60a5fa, transparent);
  border-radius: 2px;
}

.category-header h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  font-style: italic;
  margin: 0;
  line-height: 1.2;
  font-family: "Inter", sans-serif;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
}

/* Category Services - Enhanced Container */
.category-services {
  padding: 2rem;
  background: rgba(0, 63, 127, 0.3);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
}

/* Service Box - Premium White Cards */
.service-box {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  color: #334155;
  padding: 1.2rem 1.8rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.service-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(14, 165, 233, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

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

.service-box:hover {
  background: linear-gradient(145deg, #f0f9ff 0%, #e0f2fe 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.15),
    0 4px 8px rgba(14, 165, 233, 0.08), inset 0 1px 0 rgba(255, 255, 255, 1);
  color: #0369a1;
  border-color: rgba(14, 165, 233, 0.2);
}

/* Portfolio Stats - Existing Styles Enhanced */
.portfolio-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding: 3rem 0;
  border-top: 1px solid rgba(14, 165, 233, 0.1);
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  display: block;
}

.stat-label {
  color: var(--text-gray);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

/* Animation for numbers */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-number.counting {
  animation: countUp 0.6s ease-out;
}

/* Hide Legacy Portfolio Elements */
.portfolio-filter,
.portfolio-grid,
.portfolio-item,
.portfolio-card {
  display: none !important;
}

.portfolio-image {
  height: 200px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.portfolio-image i {
  font-size: 3rem;
  color: white;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-image:hover .portfolio-overlay {
  opacity: 1;
}

.overlay-btn {
  padding: 8px 16px;
  background: white;
  color: var(--text-dark);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

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

.portfolio-content {
  padding: 1.5rem;
}

.portfolio-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.portfolio-content p {
  margin-bottom: 1rem;
}

.portfolio-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  padding: 4px 12px;
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary);
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ===== CONTACT SECTION ===== */
.contact {
  background: var(--gradient-sky);
  position: relative;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.contact-info p {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  margin-bottom: 1rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-sm);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
}

.contact-map {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
}

.contact-map h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.map-description {
  color: var(--text-medium);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.map-container {
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(14, 165, 233, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 16px;
  filter: contrast(1.1) saturate(1.2);
  transition: all 0.3s ease;
}

.map-container:hover iframe {
  filter: contrast(1.2) saturate(1.3);
  transform: scale(1.01);
}

.map-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.directions-btn,
.call-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  min-width: 140px;
  justify-content: center;
}

.directions-btn {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.3);
}

.directions-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.4);
  text-decoration: none;
  color: white;
}

.call-btn {
  background: rgba(34, 197, 94, 0.1);
  color: #059669;
  border-color: rgba(34, 197, 94, 0.2);
}

.call-btn:hover {
  background: rgba(34, 197, 94, 0.2);
  transform: translateY(-2px);
  text-decoration: none;
  color: #047857;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--glass-border);
  border-radius: 8px;
  background: white;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

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

.submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ===== MODERN FOOTER ===== */
.footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(14, 165, 233, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(56, 189, 248, 0.1) 0%,
      transparent 50%
    );
  z-index: 1;
}

.footer .container {
  position: relative;
  z-index: 2;
}

.footer-content {
  max-width: 100%;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-logo .logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: white;
  padding: 4px;
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.footer-logo .logo:hover {
  box-shadow: 0 12px 32px rgba(14, 165, 233, 0.4);
  transform: scale(1.05);
  border-color: rgba(14, 165, 233, 0.3);
}

.brand-info h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.25rem 0;
}

.brand-info p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 0;
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-column h4 {
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

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

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

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--sky-300);
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.contact-list i {
  color: var(--sky-400);
  margin-top: 0.25rem;
}

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

.footer-copyright p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--sky-300);
}

/* ===== HERO IMAGE SLIDESHOW ===== */

.image-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(14, 165, 233, 0.25),
    0 15px 40px rgba(14, 165, 233, 0.15), 0 8px 20px rgba(0, 0, 0, 0.1),
    0 4px 8px rgba(0, 0, 0, 0.05);
  transform: translateY(0);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.slideshow-container {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.15));
  transition: all 0.4s ease;
}

.slide.active img {
  filter: drop-shadow(0 12px 48px rgba(14, 165, 233, 0.2));
}

/* Slideshow Navigation Dots */
.slideshow-nav {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-dot.active,
.nav-dot:hover {
  background: white;
  border-color: white;
  transform: scale(1.2);
}

/* Slideshow Controls - HIDDEN */
.slide-control {
  display: none;
}

/* Slideshow Animation Effects */
.slide.fade-in {
  animation: fadeIn 1s ease-in-out;
}

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

/* ===== VISION & MISSION SECTION ===== */

.vision-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(14, 165, 233, 0.1);
}

.vision-card,
.mission-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.vision-card::before,
.mission-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.vision-card:hover::before,
.mission-card:hover::before {
  transform: scaleX(1);
}

.vision-card:hover,
.mission-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15);
  border-color: rgba(14, 165, 233, 0.3);
}

.vm-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.vm-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.vm-icon::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: transform 0.6s;
  transform: rotate(-45deg) translate(-100%, -100%);
}

.vision-card:hover .vm-icon::before,
.mission-card:hover .vm-icon::before {
  transform: rotate(-45deg) translate(100%, 100%);
}

.vm-icon i {
  font-size: 1.8rem;
  color: white;
  z-index: 2;
  position: relative;
}

.vm-header h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.vm-content {
  color: var(--text-medium);
  line-height: 1.7;
  font-size: 1rem;
}

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

.mission-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  padding: 15px;
  background: rgba(14, 165, 233, 0.05);
  border-radius: 12px;
  border-left: 3px solid var(--primary);
  transition: all 0.3s ease;
}

.mission-list li:hover {
  background: rgba(14, 165, 233, 0.1);
  transform: translateX(5px);
}

.mission-list li:last-child {
  margin-bottom: 0;
}

.mission-check {
  color: white;
  background: var(--primary);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
}

.mission-list li:hover .mission-check {
  background: var(--sky-600);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
}

.mission-list li span {
  color: var(--text-medium);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Mission Icon Fallback - REMOVED (using direct check marks now) */

/* ===== VISION & MISSION TOGGLE BUTTON ===== */

.vm-toggle-container {
  text-align: center;
  margin: 3rem 0;
}

.vm-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vm-toggle-btn::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;
}

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

.vm-toggle-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 20px 40px rgba(14, 165, 233, 0.3);
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
}

.vm-toggle-btn:active {
  transform: translateY(-1px) scale(1.02);
}

.toggle-icon {
  transition: transform 0.3s ease;
  font-size: 0.9rem;
}

.vm-toggle-btn.active .toggle-icon {
  transform: rotate(180deg);
}

.vm-toggle-btn.active span {
  background: linear-gradient(45deg, #fbbf24, #f59e0b);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Vision Mission Section Animation */
.vision-mission {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.vision-mission.show {
  opacity: 1;
  transform: translateY(0);
}

.vision-mission.hide {
  opacity: 0;
  transform: translateY(-30px);
}

/* Enhanced animation for individual cards */
.vision-card,
.mission-card {
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.vision-mission.show .vision-card {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.2s;
}

.vision-mission.show .mission-card {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.4s;
}

/* Responsive design for toggle button */
@media (max-width: 768px) {
  .vm-toggle-btn {
    padding: 14px 24px;
    font-size: 1rem;
    gap: 8px;
  }

  /* Language Toggle Mobile */
  .language-toggle {
    margin-left: 0.5rem;
  }

  .lang-btn {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  .lang-dropdown {
    right: -10px;
    min-width: 140px;
  }

  .nav-menu {
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .vm-toggle-btn {
    padding: 12px 20px;
    font-size: 0.9rem;
    width: 100%;
    max-width: 280px;
  }

  .vm-toggle-container {
    padding: 0 1rem;
  }
}

/* ===== RESPONSIVE DESIGN ===== */
/* Large Desktop (1440px+) */
@media (min-width: 1440px) {
  .container {
    max-width: 1200px;
  }

  .hero-title {
    font-size: 4rem;
  }

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

  .partners .partners-grid {
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 2.5rem !important;
  }
}

/* Large Desktop (1200px - 1439px) */
@media (max-width: 1439px) and (min-width: 1200px) {
  .partners .partners-grid {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 2rem !important;
  }
}

/* Desktop (1024px - 1199px) */
@media (max-width: 1199px) and (min-width: 1024px) {
  .container {
    max-width: 1000px;
    padding: 0 2rem;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .partners .partners-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 2rem !important;
  }

  .portfolio-categories-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem !important;
  }

  .portfolio-categories-grid .category-box:nth-child(4) {
    grid-column: auto !important;
    grid-row: auto !important;
    max-width: none !important;
    margin: 0 !important;
  }
}

/* Tablet Large (900px - 1023px) */
@media (max-width: 1023px) and (min-width: 900px) {
  .container {
    padding: 0 1.5rem;
  }

  .partners .partners-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.8rem !important;
    margin: 3rem auto !important;
    max-width: 900px !important;
  }

  .partner-item {
    padding: 1.8rem !important;
    min-height: 160px !important;
  }

  .partner-logo {
    max-width: 110px !important;
    max-height: 65px !important;
  }
}

/* Tablet Landscape (768px - 899px) */
@media (max-width: 899px) and (min-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

  /* Navigation - Better tablet optimization */
  .navbar {
    padding: 0.8rem 0;
  }

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

  .nav-menu {
    gap: 0.8rem;
  }

  .nav-link {
    font-size: 0.85rem;
    padding: 8px 12px;
  }

  .company-name {
    font-size: 1.1rem;
  }

  .nav-logo .logo {
    width: 42px;
    height: 42px;
  }

  /* Show hamburger menu on smaller tablets when menu becomes too cramped */
  @media (max-width: 900px) {
    .hamburger {
      display: flex;
    }

    .nav-menu {
      position: fixed;
      left: -100%;
      top: 70px;
      flex-direction: column;
      background: rgba(15, 23, 42, 0.98);
      backdrop-filter: blur(20px);
      width: 100%;
      height: calc(100vh - 70px);
      padding: 2rem 0;
      transition: 0.3s;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

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

    .nav-menu li {
      margin: 1rem 0;
    }

    .nav-link {
      font-size: 1rem;
      padding: 12px 24px;
      color: white;
    }
  }

  /* Language toggle optimization for tablet */
  .language-toggle {
    margin-left: 1rem;
  }

  .lang-btn {
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  .lang-dropdown {
    right: 0;
    min-width: 130px;
  }

  /* About Section */
  .about-content {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
    text-align: center !important;
  }

  .about-text h3 {
    font-size: 2.2rem !important;
    margin-bottom: 1.2rem !important;
  }

  .about-text p {
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.8rem !important;
  }

  .about-features {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
    margin-top: 1.5rem !important;
  }

  .feature-item {
    padding: 0.8rem !important;
    font-size: 0.9rem !important;
  }

  .about-visual {
    height: 300px !important;
    margin: 0 auto !important;
    max-width: 400px !important;
  }

  .about-image {
    max-width: 90% !important;
    max-height: 90% !important;
  }

  /* Vision & Mission Mobile Optimization */
  .vision-mission {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    margin-top: 3rem !important;
    padding-top: 2rem !important;
  }

  .vision-card,
  .mission-card {
    padding: 2rem 1.5rem !important;
    border-radius: 16px !important;
    margin: 0 !important;
  }

  .vm-header {
    flex-direction: column !important;
    text-align: center !important;
    gap: 1rem !important;
    margin-bottom: 1.5rem !important;
  }

  .vm-icon {
    width: 50px !important;
    height: 50px !important;
    margin: 0 auto !important;
  }

  .vm-header h3 {
    font-size: 1.5rem !important;
    text-align: center !important;
  }

  .vm-content {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    text-align: center !important;
  }

  .mission-list {
    text-align: left !important;
  }

  .mission-list li {
    padding: 1rem !important;
    margin-bottom: 1rem !important;
    border-radius: 8px !important;
  }

  .mission-list li span {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
  }

  /* Partners Grid - 3 per row on tablet for better spacing */
  .partners .partners-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem !important;
    margin: 3rem auto !important;
    max-width: 800px !important;
  }

  .partner-item {
    padding: 1.5rem !important;
    min-height: 150px !important;
  }

  .partner-logo {
    max-width: 100px !important;
    max-height: 60px !important;
  }

  /* Hero Section */
  .hero {
    min-height: 80vh;
    padding: 3rem 0;
  }

  .hero-title {
    font-size: 3rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1.2rem;
    margin: 1.5rem 0 2rem;
  }

  /* Sections */
  .section {
    padding: 4rem 0;
  }

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

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

  /* Portfolio */
  .portfolio-categories-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }

  .portfolio-categories-grid .category-box:nth-child(4) {
    grid-column: auto !important;
    grid-row: auto !important;
    max-width: none !important;
    margin: 0 !important;
  }

  .category-box {
    padding: 2rem 1.5rem;
  }

  /* About Section */
  .about-content {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
    text-align: center !important;
  }

  .about-text h3 {
    font-size: 2rem !important;
    margin-bottom: 1rem !important;
    line-height: 1.3 !important;
  }

  .about-text p {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.5rem !important;
  }

  .about-features {
    grid-template-columns: 1fr !important;
    gap: 0.8rem !important;
    margin-top: 1.5rem !important;
  }

  .feature-item {
    padding: 0.75rem !important;
    font-size: 0.85rem !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .about-visual {
    height: 250px !important;
    margin: 0 auto !important;
    max-width: 300px !important;
  }

  .about-image {
    max-width: 85% !important;
    max-height: 85% !important;
  }

  /* Partners */
  .partners .partners-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem !important;
  }

  .partner-item {
    padding: 1.5rem;
    min-height: 160px;
  }

  /* Customers */
  .customer-slide {
    flex: 0 0 140px;
  }

  .customer-logo {
    max-width: 120px;
    max-height: 60px;
  }

  /* Contact */
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Tablet Portrait and Large Mobile (600px - 767px) */
@media (max-width: 767px) and (min-width: 600px) {
  .container {
    padding: 0 1rem;
  }

  /* About Section */
  .about-content {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    text-align: center !important;
  }

  .about-text h3 {
    font-size: 1.8rem !important;
    margin-bottom: 1rem !important;
    line-height: 1.3 !important;
  }

  .about-text p {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.5rem !important;
  }

  .about-features {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.8rem !important;
    margin-top: 1.2rem !important;
  }

  .feature-item {
    padding: 0.7rem !important;
    font-size: 0.8rem !important;
  }

  .about-visual {
    height: 200px !important;
    margin: 0 auto !important;
    max-width: 280px !important;
  }

  .about-image {
    max-width: 80% !important;
    max-height: 80% !important;
  }

  /* Vision & Mission Mobile Optimization */
  .vision-mission {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    margin-top: 2rem !important;
    padding-top: 1.5rem !important;
  }

  .vision-card,
  .mission-card {
    padding: 1.5rem 1rem !important;
    border-radius: 14px !important;
  }

  .vm-header {
    flex-direction: column !important;
    text-align: center !important;
    gap: 0.8rem !important;
    margin-bottom: 1.2rem !important;
  }

  .vm-icon {
    width: 45px !important;
    height: 45px !important;
    margin: 0 auto !important;
  }

  .vm-header h3 {
    font-size: 1.3rem !important;
    text-align: center !important;
  }

  .vm-content {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    text-align: center !important;
  }

  .mission-list li {
    padding: 0.8rem !important;
    margin-bottom: 0.8rem !important;
  }

  .mission-list li span {
    font-size: 0.8rem !important;
  }

  .partners .partners-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1rem !important;
    margin: 2.5rem auto !important;
  }

  .partner-item {
    padding: 1rem !important;
    min-height: 120px !important;
  }

  .partner-logo {
    max-width: 80px !important;
    max-height: 50px !important;
  }
}

/* Tablet Portrait (576px - 599px) */
@media (max-width: 599px) and (min-width: 576px) {
  .container {
    padding: 0 1rem;
  }

  /* Header */
  .header {
    padding: 0.75rem 0;
  }

  .navbar {
    padding: 0.75rem 0;
  }

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

  /* About Section */
  .about-content {
    grid-template-columns: 1fr !important;
    gap: 1.8rem !important;
    text-align: center !important;
  }

  .about-text h3 {
    font-size: 1.7rem !important;
    margin-bottom: 0.8rem !important;
    line-height: 1.3 !important;
  }

  .about-text p {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1.2rem !important;
  }

  .about-features {
    grid-template-columns: 1fr !important;
    gap: 0.7rem !important;
    margin-top: 1rem !important;
  }

  .feature-item {
    padding: 0.6rem !important;
    font-size: 0.75rem !important;
    justify-content: center !important;
  }

  .about-visual {
    height: 180px !important;
    margin: 0 auto !important;
    max-width: 250px !important;
  }

  .about-image {
    max-width: 75% !important;
    max-height: 75% !important;
  }

  /* Vision & Mission Mobile Optimization */
  .vision-mission {
    grid-template-columns: 1fr !important;
    gap: 1.2rem !important;
    margin-top: 2rem !important;
    padding-top: 1.2rem !important;
  }

  .vision-card,
  .mission-card {
    padding: 1.2rem 0.8rem !important;
    border-radius: 12px !important;
  }

  .vm-header {
    flex-direction: column !important;
    text-align: center !important;
    gap: 0.6rem !important;
    margin-bottom: 1rem !important;
  }

  .vm-icon {
    width: 40px !important;
    height: 40px !important;
    margin: 0 auto !important;
  }

  .vm-header h3 {
    font-size: 1.2rem !important;
    text-align: center !important;
  }

  .vm-content {
    font-size: 0.8rem !important;
    line-height: 1.4 !important;
    text-align: center !important;
  }

  .mission-list li {
    padding: 0.6rem !important;
    margin-bottom: 0.6rem !important;
    border-radius: 6px !important;
  }

  .mission-list li span {
    font-size: 0.75rem !important;
  }

  /* Partners Grid - 2 per row on tablet portrait */
  .partners .partners-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
    margin: 2.5rem auto !important;
  }

  .partner-item {
    padding: 1.5rem !important;
    min-height: 140px !important;
  }

  .partner-logo {
    max-width: 90px !important;
    max-height: 55px !important;
  }

  /* Mobile Menu */
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    width: 100%;
    height: calc(100vh - 70px);
    padding: 2rem 0;
    transition: 0.3s;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

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

  .nav-menu li {
    margin: 1rem 0;
  }

  /* Hero */
  .hero {
    min-height: 70vh;
    padding: 2rem 0;
  }

  .hero-title {
    font-size: 2.5rem;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    margin: 1rem 0 1.5rem;
  }

  /* Sections */
  .section {
    padding: 3rem 0;
  }

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

  .section-badge {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  /* Portfolio */
  .portfolio-categories-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* On mobile, all cards stack in single column, so no special positioning needed */
  .portfolio-categories-grid .category-box:nth-child(4) {
    grid-column: auto !important;
    max-width: none !important;
    margin: 0 !important;
  }

  .category-box {
    padding: 1.5rem;
  }

  .category-header h3 {
    font-size: 1.3rem;
  }

  /* Partners */
  .partners .partners-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.2rem !important;
    margin: 2rem auto !important;
  }

  .partner-item {
    padding: 1.25rem;
    min-height: 130px;
  }

  .partner-logo {
    max-width: 85px;
    max-height: 50px;
  }

  /* Customers */
  .customer-slide {
    flex: 0 0 120px;
  }

  .customer-logo {
    max-width: 100px;
    max-height: 50px;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Mobile Large (480px - 575px) */
@media (max-width: 575px) and (min-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  /* About Section */
  .about-content {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    text-align: center !important;
  }

  .about-text h3 {
    font-size: 1.5rem !important;
    margin-bottom: 0.8rem !important;
    line-height: 1.4 !important;
  }

  .about-text p {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1rem !important;
  }

  .about-features {
    grid-template-columns: 1fr !important;
    gap: 0.6rem !important;
    margin-top: 1rem !important;
  }

  .feature-item {
    padding: 0.5rem !important;
    font-size: 0.7rem !important;
    justify-content: center !important;
  }

  .about-visual {
    height: 160px !important;
    margin: 0 auto !important;
    max-width: 220px !important;
  }

  .about-image {
    max-width: 70% !important;
    max-height: 70% !important;
  }

  /* Vision & Mission Mobile Optimization */
  .vision-mission {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    margin-top: 1.5rem !important;
    padding-top: 1rem !important;
  }

  .vision-card,
  .mission-card {
    padding: 1rem 0.6rem !important;
    border-radius: 10px !important;
  }

  .vm-header {
    flex-direction: column !important;
    text-align: center !important;
    gap: 0.5rem !important;
    margin-bottom: 0.8rem !important;
  }

  .vm-icon {
    width: 35px !important;
    height: 35px !important;
    margin: 0 auto !important;
  }

  .vm-icon i {
    font-size: 1.2rem !important;
  }

  .vm-header h3 {
    font-size: 1.1rem !important;
    text-align: center !important;
  }

  .vm-content {
    font-size: 0.75rem !important;
    line-height: 1.4 !important;
    text-align: center !important;
  }

  .mission-list li {
    padding: 0.5rem !important;
    margin-bottom: 0.5rem !important;
  }

  .mission-list li span {
    font-size: 0.7rem !important;
  }

  .mission-check {
    width: 18px !important;
    height: 18px !important;
    font-size: 12px !important;
  }

  /* Hero */
  .hero-title {
    font-size: 2.2rem;
  }

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

  /* Buttons */
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  /* Sections */
  .section-title {
    font-size: 1.8rem;
  }

  /* Portfolio */
  .category-header h3 {
    font-size: 1.2rem;
  }

  .service-box {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }

  /* Partners */
  .partner-item {
    padding: 1rem;
    min-height: 120px;
  }

  .partner-logo {
    max-width: 90px;
    max-height: 50px;
  }

  /* Customers */
  .customer-slide {
    flex: 0 0 100px;
  }

  .customer-logo {
    max-width: 90px;
    max-height: 45px;
  }
}

/* Mobile Small (320px - 479px) */
@media (max-width: 479px) {
  .container {
    padding: 0 0.75rem;
  }

  /* Header */
  .header {
    padding: 0.5rem 0;
  }

  .navbar {
    padding: 0.5rem 0;
  }

  .logo img {
    height: 35px;
  }

  /* Hero */
  .hero {
    min-height: 60vh;
    padding: 1.5rem 0;
  }

  .hero-title {
    font-size: 1.8rem;
    line-height: 1.4;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin: 0.75rem 0 1.25rem;
  }

  /* Buttons */
  .btn {
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
  }

  /* About Section */
  .about-content {
    grid-template-columns: 1fr !important;
    gap: 1.2rem !important;
    text-align: center !important;
  }

  .about-text h3 {
    font-size: 1.3rem !important;
    margin-bottom: 0.6rem !important;
    line-height: 1.4 !important;
  }

  .about-text p {
    font-size: 0.8rem !important;
    line-height: 1.5 !important;
    margin-bottom: 0.8rem !important;
  }

  .about-features {
    grid-template-columns: 1fr !important;
    gap: 0.5rem !important;
    margin-top: 0.8rem !important;
  }

  .feature-item {
    padding: 0.4rem !important;
    font-size: 0.65rem !important;
    justify-content: center !important;
  }

  .feature-item i {
    font-size: 1rem !important;
  }

  .about-visual {
    height: 140px !important;
    margin: 0 auto !important;
    max-width: 200px !important;
  }

  .about-image {
    max-width: 65% !important;
    max-height: 65% !important;
  }

  /* Vision & Mission Mobile Optimization */
  .vision-mission {
    grid-template-columns: 1fr !important;
    gap: 0.8rem !important;
    margin-top: 1rem !important;
    padding-top: 0.8rem !important;
  }

  .vision-card,
  .mission-card {
    padding: 0.8rem 0.5rem !important;
    border-radius: 8px !important;
  }

  .vm-header {
    flex-direction: column !important;
    text-align: center !important;
    gap: 0.4rem !important;
    margin-bottom: 0.6rem !important;
  }

  .vm-icon {
    width: 30px !important;
    height: 30px !important;
    margin: 0 auto !important;
    border-radius: 8px !important;
  }

  .vm-icon i {
    font-size: 1rem !important;
  }

  .vm-header h3 {
    font-size: 1rem !important;
    text-align: center !important;
  }

  .vm-content {
    font-size: 0.7rem !important;
    line-height: 1.3 !important;
    text-align: center !important;
  }

  .mission-list li {
    padding: 0.4rem !important;
    margin-bottom: 0.4rem !important;
    border-radius: 4px !important;
  }

  .mission-list li span {
    font-size: 0.65rem !important;
    line-height: 1.3 !important;
  }

  .mission-check {
    width: 16px !important;
    height: 16px !important;
    font-size: 10px !important;
    margin-top: 1px !important;
  }

  /* Sections */
  .section {
    padding: 2.5rem 0;
  }

  .section-title {
    font-size: 1.6rem;
    line-height: 1.3;
  }

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

  .section-badge {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
  }

  /* Portfolio */
  .portfolio-categories-grid {
    gap: 1rem !important;
    padding: 0.5rem 0 !important;
    margin-bottom: 2rem !important;
  }

  .category-box {
    padding: 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.1) !important;
  }

  .category-header {
    padding: 1.25rem 1rem 0.75rem !important;
  }

  .category-header h3 {
    font-size: 1.1rem !important;
    line-height: 1.4 !important;
  }

  .category-services {
    padding: 1.25rem !important;
    gap: 0.8rem !important;
  }

  .service-box {
    padding: 0.75rem 1rem !important;
    font-size: 0.85rem !important;
    border-radius: 10px !important;
  }

  /* Portfolio Stats */
  .portfolio-stats {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding: 2rem 0;
  }

  .stat-item {
    padding: 1.5rem 0.5rem;
  }

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

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

  /* Contact */
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-map {
    padding: 1.5rem;
  }

  .map-container iframe {
    height: 300px;
  }

  .map-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .directions-btn,
  .call-btn {
    width: 100%;
  }

  /* Footer */
  .footer {
    padding: 3rem 0 1.5rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.5rem;
  }

  /* Hero */
  .hero-title {
    font-size: 1.5rem;
  }

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

  .partners .partners-grid {
    grid-template-columns: 1fr !important;
    gap: 0.5rem !important;
  }

  .customer-slide {
    flex: 0 0 70px;
  }

  .customer-logo {
    max-width: 65px;
    max-height: 32px;
  }
}

/* Landscape Orientation for Mobile */
@media (max-height: 600px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
    padding: 1rem 0;
  }

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

  .hero-subtitle {
    font-size: 0.9rem;
    margin: 0.5rem 0 1rem;
  }

  .section {
    padding: 2rem 0;
  }
}

/* High DPI / Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .partner-logo,
  .customer-logo {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print Styles */
@media print {
  .hamburger,
  .floating-particles,
  .matrix-rain,
  .geometric-shapes {
    display: none !important;
  }

  .hero,
  .section {
    page-break-inside: avoid;
  }

  .partners-grid,
  .portfolio-categories-grid {
    page-break-inside: avoid;
  }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .floating-particles,
  .matrix-rain {
    display: none;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .btn,
  .partner-item,
  .nav-link {
    min-height: 44px;
    min-width: 44px;
  }

  .partner-overlay {
    transform: translateY(0);
    opacity: 0.8;
  }

  .partner-item:active {
    transform: scale(0.98);
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .partner-item,
  .category-box {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
  }

  .footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  }
}

/* ===== RIPPLE EFFECT ===== */
.ripple-effect {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(14, 165, 233, 0.6) 0%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  animation: ripple-animation 0.6s ease-out;
  pointer-events: none;
  z-index: 1000;
}

@keyframes ripple-animation {
  0% {
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    width: 300px;
    height: 300px;
    opacity: 0;
  }
}

/* Ripple effect animation for Vision & Mission toggle */
@keyframes ripple-effect {
  to {
    transform: scale(2);
    opacity: 0;
  }
}

/* ===== ENHANCED TESTIMONIALS STYLES ===== */
.testimonial-item {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  position: relative;
}

.testimonial-item.active {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-item::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 60px;
  color: var(--primary);
  opacity: 0.3;
  font-family: serif;
}

/* ===== IMPROVED COUNTER STYLING ===== */
.digital-counter[data-target] {
  background: linear-gradient(
    45deg,
    rgba(14, 165, 233, 0.1),
    rgba(56, 189, 248, 0.1)
  );
  border: 1px solid var(--primary);
  border-radius: 8px;
  padding: 12px 20px;
  font-family: "Courier New", monospace;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  color: var(--primary);
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.3),
    inset 0 0 20px rgba(14, 165, 233, 0.1);
  animation: digital-pulse 2s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.digital-counter[data-target]::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: counter-scan 3s ease-in-out infinite;
}

@keyframes counter-scan {
  0% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

/* ===== ENHANCED SLIDER INDICATORS ===== */
.slider-indicator {
  position: relative;
  overflow: hidden;
}

.slider-indicator::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.slider-indicator.active::after {
  transform: translateX(0);
}

.slider-indicator:hover::after {
  transform: translateX(0);
  background: var(--secondary);
}

/* ===== IMPROVED PARTNER HOVER EFFECTS ===== */
.partner-item {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.partner-item::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(14, 165, 233, 0.2),
    transparent
  );
  opacity: 0;
  animation: partner-rotate 3s linear infinite;
  pointer-events: none;
  z-index: -1;
}

.partner-item:hover::before {
  opacity: 1;
}

@keyframes partner-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.partner-item img {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  filter: grayscale(1) opacity(0.7);
}

.partner-item:hover img {
  filter: grayscale(0) opacity(1);
  transform: scale(1.1) rotateY(5deg);
}

/* ===== CUSTOMERS SECTION ENHANCEMENTS ===== */
.customers-slider {
  position: relative;
  perspective: 1000px;
}

.customer-slide {
  transform-style: preserve-3d;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.customer-slide:not(.active) {
  transform: scale(0.9) rotateY(10deg);
  opacity: 0.6;
}

.customer-slide.active {
  transform: scale(1) rotateY(0deg);
  opacity: 1;
}

/* ===== LOADING STATES ===== */
.partner-item.loading,
.customer-slide.loading {
  background: linear-gradient(
    90deg,
    rgba(14, 165, 233, 0.1) 25%,
    rgba(56, 189, 248, 0.2) 50%,
    rgba(14, 165, 233, 0.1) 75%
  );
  background-size: 200% 100%;
  animation: loading-shimmer 2s infinite;
}

@keyframes loading-shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* ===== RESPONSIVE IMPROVEMENTS ===== */
@media (max-width: 768px) {
  .digital-counter[data-target] {
    font-size: 1.2rem;
    padding: 8px 16px;
  }

  .partner-item:hover img {
    transform: scale(1.05) rotateY(2deg);
  }

  .customer-slide:not(.active) {
    transform: scale(0.95) rotateY(5deg);
  }

  .ripple-effect {
    max-width: 150px;
    max-height: 150px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .partner-item::before,
  .digital-counter[data-target]::after,
  .ripple-effect,
  .testimonial-item {
    animation: none;
  }

  .partner-item img,
  .customer-slide,
  .slider-indicator::after {
    transition: none;
  }
}

/* ===== PARTNERS SECTION STYLES ===== */
.partners {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.partners::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(14, 165, 233, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(56, 189, 248, 0.05) 0%,
      transparent 50%
    );
  z-index: 1;
}

.partners .container {
  position: relative;
  z-index: 2;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  margin: 4rem 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.partner-item {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(14, 165, 233, 0.08);
}

.partner-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15);
  border-color: rgba(14, 165, 233, 0.3);
}

.partner-logo {
  max-width: 140px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.7);
  transition: all 0.4s ease;
  margin-bottom: 1rem;
}

.partner-item:hover .partner-logo {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.05);
}

.partner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gradient-primary);
  color: white;
  padding: 0.75rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  border-radius: 0 0 20px 20px;
}

.partner-item:hover .partner-overlay {
  transform: translateY(0);
}

.partner-name {
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0;
}

/* Partners Stats */
.partners-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(14, 165, 233, 0.1);
}

.partners-stat-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.partners-stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(14, 165, 233, 0.1);
}

.partners-stat-item .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
  display: block;
}

.partners-stat-item .stat-label {
  color: var(--text-medium);
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== CUSTOMERS SECTION STYLES ===== */
.customers {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: white;
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.customers::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 70% 20%,
      rgba(14, 165, 233, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 30% 80%,
      rgba(56, 189, 248, 0.1) 0%,
      transparent 50%
    );
  z-index: 1;
}

.customers .container {
  position: relative;
  z-index: 2;
}

.customers .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.customers .section-badge {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.2);
}

.customers .section-title {
  color: white;
}

.customers .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

/* Customer Logo Slider */
.customer-slider-container {
  margin: 4rem 0;
  overflow: hidden;
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem 0;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.customer-slider {
  display: flex;
  width: calc(200% + 4rem);
  animation: slide-customers 30s linear infinite;
  gap: 2rem;
}

.customer-slide {
  flex: 0 0 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  min-height: 80px;
}

.customer-logo {
  max-width: 120px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.7);
  transition: all 0.4s ease;
  border-radius: 8px;
}

.customer-slide:hover .customer-logo,
.customer-slide:active .customer-logo,
.customer-slide:focus .customer-logo {
  filter: brightness(0) invert(1) opacity(1);
  transform: scale(1.1);
}

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

/* Fade edges */
.customer-slider-container::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(30, 41, 59, 0.8));
  pointer-events: none;
  z-index: 3;
}

.customer-slider-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 100%;
  background: linear-gradient(90deg, rgba(30, 41, 59, 0.8), transparent);
  pointer-events: none;
  z-index: 3;
}

/* Customer slider animation */
@keyframes slide-customers {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Customer Testimonials */
.customer-testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.testimonial-item {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(20px);
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(14, 165, 233, 0.2);
}

.testimonial-item::before {
  content: "\201C";
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 3rem;
  color: rgba(14, 165, 233, 0.3);
  font-family: serif;
}

.testimonial-content {
  margin-bottom: 1.5rem;
  font-style: italic;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.testimonial-author {
  font-weight: 600;
  color: var(--sky-300);
  margin-bottom: 0.5rem;
}

.testimonial-position {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== RESPONSIVE STYLES FOR PARTNERS & CUSTOMERS ===== */
@media (max-width: 768px) {
  .partners {
    padding: 3rem 0;
  }

  .partners .partners-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem !important;
    margin: 2rem 0 !important;
  }

  .partner-item {
    padding: 1.5rem 1rem;
    min-height: 160px;
  }

  .partner-logo {
    max-width: 120px;
    max-height: 60px;
  }

  .partners-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
  }

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

  .customers {
    padding: 3rem 0;
  }

  .customer-slider {
    animation-duration: 20s;
  }

  .customer-slide {
    flex: 0 0 100px;
  }

  .customer-logo {
    max-width: 100px;
    max-height: 50px;
  }

  .customer-testimonials {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .partners .partners-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }

  .partner-item {
    padding: 1rem;
    min-height: 140px;
  }

  .partner-logo {
    max-width: 100px;
    max-height: 50px;
  }

  .partners-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .customer-slider-container {
    margin: 2rem 0;
    padding: 1rem 0;
  }

  .customer-slide {
    flex: 0 0 80px;
    padding: 0.5rem;
  }

  .customer-logo {
    max-width: 80px;
    max-height: 40px;
  }

  .testimonial-item {
    padding: 1.5rem;
  }
}

/* ===== MOBILE MENU RESPONSIVE FIXES ===== */

/* Ensure hamburger is always visible on mobile */
@media (max-width: 767px) {
  .hamburger {
    display: flex !important;
    order: 3;
    z-index: 1001;
  }

  .nav-menu {
    display: flex !important;
    position: fixed;
    top: 0;
    left: -100%;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(
      135deg,
      rgba(15, 23, 42, 0.98) 0%,
      rgba(30, 41, 59, 0.98) 100%
    );
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 0;
    margin: 0;
    list-style: none;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-menu.active {
    left: 0 !important;
  }

  .nav-menu li {
    margin: 0.5rem 0;
    width: auto;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
  }

  .nav-menu.active li {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-menu.active li:nth-child(1) {
    transition-delay: 0.1s;
  }
  .nav-menu.active li:nth-child(2) {
    transition-delay: 0.15s;
  }
  .nav-menu.active li:nth-child(3) {
    transition-delay: 0.2s;
  }
  .nav-menu.active li:nth-child(4) {
    transition-delay: 0.25s;
  }
  .nav-menu.active li:nth-child(5) {
    transition-delay: 0.3s;
  }
  .nav-menu.active li:nth-child(6) {
    transition-delay: 0.35s;
  }
  .nav-menu.active li:nth-child(7) {
    transition-delay: 0.4s;
  }

  .nav-link {
    display: block;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.4rem;
    font-weight: 600;
    padding: 1rem 2.5rem;
    text-align: center;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    min-width: 200px;
  }

  .nav-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(14, 165, 233, 0.3),
      transparent
    );
    transition: left 0.5s ease;
  }

  .nav-link:hover::before,
  .nav-link:focus::before {
    left: 100%;
  }

  .nav-link:hover,
  .nav-link:focus,
  .nav-link.active {
    color: var(--sky-300) !important;
    background: rgba(14, 165, 233, 0.25);
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.3);
  }

  /* Hamburger styling */
  .hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
  }

  .hamburger:hover {
    background: rgba(14, 165, 233, 0.1);
  }

  .hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 3px 0;
    background: var(--text-medium);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
  }

  /* Hamburger animation when active */
  .hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: white;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
    transform: scale(0);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
    background: white;
  }

  /* Language Toggle Mobile Adjustments */
  .nav-right {
    gap: 0.5rem;
  }

  .language-toggle {
    margin-left: 0;
  }

  .lang-btn {
    padding: 6px 8px;
    font-size: 0.75rem;
    min-width: 50px;
  }

  .lang-dropdown {
    right: 0;
    min-width: 120px;
  }

  .lang-option {
    padding: 8px 10px;
    font-size: 0.8rem;
  }

  /* Prevent body scroll when menu is open */
  body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
  }

  /* Safe area for notched phones */
  .nav-menu {
    padding-top: max(env(safe-area-inset-top), 60px);
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* Extra small mobile phones */
@media (max-width: 480px) {
  .nav-container {
    padding: 0.75rem 12px;
  }

  .company-name {
    font-size: 0.9rem;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-logo .logo {
    width: 36px;
    height: 36px;
  }

  .hamburger .bar {
    width: 22px;
    height: 2.5px;
  }

  .nav-link {
    font-size: 1.2rem;
    padding: 0.9rem 2rem;
    min-width: 180px;
  }
}

/* Very small mobile phones */
@media (max-width: 360px) {
  .nav-container {
    padding: 0.75rem 8px;
  }

  .company-name {
    font-size: 0.8rem;
    max-width: 140px;
  }

  .nav-logo .logo {
    width: 32px;
    height: 32px;
  }

  .hamburger .bar {
    width: 20px;
    height: 2px;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
    min-width: 160px;
  }
}

/* Landscape phone optimization */
@media (max-height: 500px) and (orientation: landscape) {
  @media (max-width: 767px) {
    .nav-menu {
      padding-top: 1rem;
      gap: 0.25rem;
    }

    .nav-link {
      padding: 0.5rem 1.5rem;
      font-size: 1rem;
    }
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  .nav-menu,
  .nav-link,
  .hamburger .bar,
  .nav-menu li {
    transition: none !important;
    animation: none !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .nav-menu {
    background: rgba(0, 0, 0, 0.95) !important;
  }

  .nav-link {
    color: #ffffff !important;
    border: 1px solid #ffffff;
  }

  .nav-link:hover,
  .nav-link.active {
    background: #ffffff !important;
    color: #000000 !important;
  }

  .hamburger .bar {
    background: #000000;
  }

  .hamburger.active .bar {
    background: #ffffff;
  }
}

/* ===== UTILITY CLASSES FOR MOBILE RESPONSIVENESS ===== */

/* Hide elements on mobile */
.mobile-hidden {
  display: none !important;
}

@media (min-width: 768px) {
  .mobile-hidden {
    display: block !important;
  }
}

/* Show elements only on mobile */
.mobile-only {
  display: block !important;
}

@media (min-width: 768px) {
  .mobile-only {
    display: none !important;
  }
}

/* Responsive text sizes */
.text-responsive {
  font-size: clamp(0.875rem, 2.5vw, 1rem);
}

/* Responsive containers */
.container-fluid {
  width: 100%;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container-fluid {
    padding: 0 2rem;
  }
}

/* Touch-friendly buttons */
.btn-touch {
  min-height: 44px;
  min-width: 44px;
}

/* Prevent zoom on input focus (iOS) */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
textarea,
select {
  font-size: 16px !important;
}

/* Smooth scrolling for all anchors */
html {
  scroll-behavior: smooth;
}

/* Improve touch scrolling on iOS */
* {
  -webkit-overflow-scrolling: touch;
}

/* Prevent text selection on UI elements */
.nav-link,
.hamburger,
.btn {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Fix for 100vh issue on mobile browsers */
.full-height {
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
}

/* Responsive images */
img {
  max-width: 100%;
  height: auto;
}

/* =====================================
   Gallery Section Styles
   ===================================== */

.gallery {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}

.gallery::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(59, 130, 246, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(147, 51, 234, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(16, 185, 129, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
}

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

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.gallery-item {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.gallery-item:hover {
  transform: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gallery-image-container {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
  border-radius: 20px 20px 0 0;
  display: block;
}

.gallery-item:hover .gallery-image {
  transform: none;
  filter: none;
}

/* Gallery overlay styles removed - no hover effects */

.gallery-btn i {
  font-size: 1rem;
}

/* Gallery Filter Buttons */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 30px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(59, 130, 246, 0.2);
  color: #1e293b;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  backdrop-filter: blur(10px);
  font-size: 0.95rem;
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(45deg, #3b82f6, #9333ea);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.filter-btn i {
  font-size: 1rem;
}

/* Gallery Animation Classes */
.gallery-item.fade-in {
  animation: galleryFadeIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item.fade-out {
  animation: galleryFadeOut 0.3s ease-out;
}

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

@keyframes galleryFadeOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-30px) scale(0.9);
  }
}

/* Gallery Responsive Design */
@media (max-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

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

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

  .gallery-item {
    margin: 0 10px;
  }

  .gallery-image-container {
    height: 250px;
  }

  .gallery-content {
    padding: 20px;
  }

  .gallery-content h3 {
    font-size: 1.3rem;
  }

  .gallery-content p {
    font-size: 0.95rem;
  }

  .gallery-filters {
    gap: 10px;
    margin-top: 40px;
  }

  .filter-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .gallery-filters {
    flex-direction: column;
    align-items: center;
  }

  .filter-btn {
    width: 200px;
    justify-content: center;
  }

  .gallery-image-container {
    height: 220px;
  }
}
