/*
 * General styling for the GGG‑Development website.
 * The palette takes inspiration from the supplied company logo with
 * cool blues and neutral greys. Basic typography and layout rules
 * provide a clean, modern appearance that remains easy to read
 * across devices.
 */

/* Reset some common defaults */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light);
  background-color: var(--primary-color);
  background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Enable smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

main {
  flex: 1;
}

/*------------------------------------------------------------
  Global variables and glassmorphism helpers
  We define CSS variables to hold our brand colours and glass
  effect parameters. These variables allow for easier
  maintenance and a consistent look across the site. The
  glass effect uses semi‑transparent backgrounds and blur filters
  to create a "liquid glass" feel, similar to modern Apple UI
  elements.
------------------------------------------------------------*/

:root {
  /* Modern dark IT color scheme with deep navy blue as primary.
     The palette creates a professional, tech-focused aesthetic with
     strong contrast between dark backgrounds and bright accents. */
  --primary-color: #0a1929;    /* deep dark navy blue - main background color */
  --secondary-color: #00d4ff;  /* bright cyan - tech accent color */
  --accent-blue: #1976d2;      /* vibrant blue for interactive elements */
  --primary-dark: #001e3c;     /* even darker navy for depth */
  --text-light: #ffffff;       /* white text on dark backgrounds */
  --text-dark: #0a1929;        /* dark text on light backgrounds */
  --gray-light: #e0e0e0;       /* light gray for subtle text */
  --gray-medium: #94a3b8;      /* medium gray for secondary text */

  /* Dark glassmorphism: semi-transparent dark surfaces with blur.
     Creates depth while maintaining the modern glass aesthetic. */
  --glass-bg: rgba(10, 25, 41, 0.85);
  --glass-bg-light: rgba(25, 118, 210, 0.15);
  --glass-border: rgba(0, 212, 255, 0.2);
  --glass-blur: blur(20px);
}

/* Generic glass utility class */
.glass {
  background-color: var(--glass-bg);
  backdrop-filter: var(--glass-blur) saturate(180%);
  -webkit-backdrop-filter: var(--glass-blur) saturate(180%);
  border: 1px solid var(--glass-border);
}
/* Navigation bar */
nav {
  position: sticky;
  top: 0;
  width: 100%;
  /* Dark glass effect for nav bar: semi‑transparent with blur and glow */
  background-color: var(--glass-bg);
  backdrop-filter: var(--glass-blur) saturate(180%);
  -webkit-backdrop-filter: var(--glass-blur) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.1), 0 2px 6px rgba(0, 0, 0, 0.3);
  z-index: 100;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  /* Bright text for logo on dark background with cyan accent */
  color: var(--text-light);
  text-decoration: none;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.logo img {
  display: none; /* Logo-Bild ausgeblendet, nur Text anzeigen */
}

/* Navigation links */
nav ul {
  list-style: none;
  display: flex;
  gap: 1.25rem;
}

/* Toggle button for mobile navigation (hamburger icon). Hidden on large screens */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--text-light);
  cursor: pointer;
}

nav li a {
  text-decoration: none;
  color: var(--gray-light);
  font-weight: 500;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

/* Highlight the current page in the navigation */
nav li a.active {
  color: var(--secondary-color);
  font-weight: 700;
  text-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
}

nav li a:hover {
  color: var(--secondary-color);
  text-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}

/* Vertical separator in navigation */
.nav-separator {
  position: relative;
  padding-left: 1.25rem;
}

.nav-separator::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 1.2em;
  background-color: rgba(255, 255, 255, 0.4);
}

/* Hero section */
/* Hero section with dark background and glowing cyan accents */
.hero {
  /* Deep dark gradient with cyan glow effect */
  background: radial-gradient(circle at 50% 0%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
    linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  color: var(--text-light);
  padding: 2.5rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero img {
  width: 245px;
  height: auto;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

 .hero h1 {
  font-size: 2.75rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
  color: var(--text-light);
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
 }

 /* Hide mobile line break on desktop */
 .hero h1 .mobile-break {
  display: none;
 }

 .hero p {
  max-width: 700px;
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: var(--gray-light);
 }

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

 .btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--accent-blue), var(--secondary-color));
  color: var(--text-light);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
 }

 .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.5), 0 0 20px rgba(0, 212, 255, 0.3);
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-blue));
 }

/* Section for areas/services overview */
.services {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.services h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--text-light);
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.service-card {
  /* Dark glass effect for service cards with cyan glow */
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  background-color: var(--glass-bg);
  backdrop-filter: var(--glass-blur) saturate(180%);
  -webkit-backdrop-filter: var(--glass-blur) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.2), 0 0 40px rgba(0, 212, 255, 0.1);
  border-color: var(--secondary-color);
}

.service-card h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1.25rem;
  color: var(--secondary-color);
}

.service-card p {
  color: var(--gray-medium);
  font-size: 0.95rem;
}

.service-icon {
  font-size: 3rem;
  color: var(--secondary-color);
  filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

/* Contact page styles */
.contact-section {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem;
}

.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-light);
  text-align: center;
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.contact-info {
  margin-bottom: 2rem;
  line-height: 1.5;
}

.contact-info p {
  margin-bottom: 0.5rem;
  color: var(--gray-light);
}

.contact-info a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-info a:hover {
  color: var(--accent-blue);
  text-decoration: underline;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  font-weight: 600;
  color: var(--gray-light);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--glass-border);
  border-radius: 0.5rem;
  font-size: 1rem;
  background-color: rgba(0, 30, 60, 0.5);
  color: var(--text-light);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--gray-medium);
  opacity: 1;
}

.contact-form button {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--accent-blue), var(--secondary-color));
  color: var(--text-light);
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.contact-form button:hover {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-blue));
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.5);
}

/* Footer */
footer {
  background-color: var(--primary-dark);
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray-medium);
  border-top: 1px solid var(--glass-border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  line-height: 1.8;
}

footer strong {
  color: var(--secondary-color);
  font-weight: 700;
}

footer a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

footer a:hover {
  color: var(--accent-blue);
  text-decoration: underline;
}

/* Social media icons in footer */
.social-icons {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-icons a {
  color: var(--secondary-color);
  font-size: 1.25rem;
  transition: color 0.2s ease, filter 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.social-icons a:hover {
  color: var(--text-light);
  filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.6));
  transform: translateY(-2px);
}

/* System status link button */
.system-status-link {
  margin: 0.4rem 0;
}

.system-status-link a {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--accent-blue), var(--secondary-color));
  color: var(--primary-dark);
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.system-status-link a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 212, 255, 0.5);
  color: var(--primary-dark);
  text-decoration: none;
}

/* Status indicator dot */
.status-indicator {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 0.5rem;
  animation: pulse 2s infinite;
}

.status-indicator.status-up {
  background-color: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.status-indicator.status-down {
  background-color: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
}

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

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: var(--text-light);
  padding: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  z-index: 1000;
  border-top: 1px solid var(--glass-border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.cookie-banner p {
  margin: 0;
  flex: 1 1 300px;
  font-size: 0.875rem;
}

.cookie-banner button {
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--accent-blue), var(--secondary-color));
  color: var(--text-light);
  border: none;
  border-radius: 0.375rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
  transition: box-shadow 0.2s ease;
}

.cookie-banner button:hover {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-blue));
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.5);
}

/* References page styles */
.references {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.references h2 {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 2.5rem;
  color: var(--text-light);
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.reference-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.reference-card {
  /* Dark glass effect for reference cards with cyan glow */
  border-radius: 1.25rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.3s ease;
  background-color: var(--glass-bg);
  backdrop-filter: var(--glass-blur) saturate(180%);
  -webkit-backdrop-filter: var(--glass-blur) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.reference-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 212, 255, 0.25), 0 0 40px rgba(0, 212, 255, 0.15);
  border-color: var(--secondary-color);
}

.reference-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.reference-card h3 {
  margin: 1rem;
  font-size: 1.5rem;
  color: var(--secondary-color);
}

.reference-card p {
  flex: 1;
  margin: 0 1rem 1rem 1rem;
  color: var(--gray-medium);
  font-size: 0.95rem;
}

.reference-card .cta {
  display: inline-block;
  margin: 0 1rem 1.5rem 1rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--accent-blue), var(--secondary-color));
  color: var(--text-light);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  align-self: flex-start;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.reference-card .cta:hover {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-blue));
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.5);
}

/* Additional styles for reference cards that contain multiple buttons,
   e.g. for the 3G projects app with separate App Store and Play Store links. */
.reference-card .app-links {
  display: flex;
  gap: 0.5rem;
  margin: 0 1rem 1.5rem 1rem;
}

/* Make multiple buttons share available space equally */
.reference-card .app-links .cta {
  flex: 1;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  /* Show mobile line break on mobile */
  .hero h1 .mobile-break {
    display: inline;
  }
  .hero p {
    font-size: 1rem;
  }
  nav ul {
    gap: 0.75rem;
  }
  /* Mobile navigation styles */
  .nav-container {
    flex-wrap: wrap;
  }
  .nav-toggle {
    display: block;
  }
  nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 300px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: rgba(10, 25, 41, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-left: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 0;
    margin-top: 0;
    padding: 6rem 0 2rem 0;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.4);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow-y: auto;
  }
  nav.open ul {
    display: flex;
    right: 0;
  }
  nav ul li {
    margin: 0;
    padding: 0;
    text-align: center;
  }
  nav ul li a {
    display: block;
    width: 100%;
    padding: 1.5rem 1.5rem;
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    margin: 0 1.5rem;
    padding: 1.5rem 0;
    width: calc(100% - 3rem);
    transition: all 0.2s ease;
    position: relative;
  }
  nav ul li:last-child a {
    border-bottom: none;
  }
  nav ul li a::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
  }
  nav ul li a:hover {
    color: #00d4ff;
    background-color: rgba(0, 212, 255, 0.05);
  }
  nav ul li a:hover::before {
    transform: scaleX(1);
  }
  
  /* Hide nav separator in mobile menu */
  .nav-separator::before {
    display: none;
  }
}

/*------------------------------------------------------------
  Animations and scroll reveal
  Sections with the class `.section` start slightly displaced and
  transparent. When the page loads or the observer triggers,
  the `.animate` class is added via JS, which fades the element
  in and moves it up for a subtle entrance effect.
------------------------------------------------------------*/
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  opacity: 0;
  transform: translateY(30px);
}

.section.animate {
  animation: fadeInUp 0.8s ease-out forwards;
}

/*------------------------------------------------------------
  About page styles
  Styles for the About/Über uns page including mission, team
  and call-to-action sections. The team cards adopt the
  glassmorphism aesthetic and respond to hover with subtle
  elevation.
------------------------------------------------------------*/

.about-hero {
  background: radial-gradient(circle at 50% 0%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
    linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  color: var(--text-light);
  padding: 5rem 1rem;
  text-align: center;
}

.about-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
  color: var(--text-light);
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.about-hero p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.125rem;
  color: var(--gray-light);
}

.about-section,
.team-section,
.cta-section {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 0 1rem;
  text-align: center;
}

.about-section h2,
.team-section h2,
.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-light);
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.about-section p {
  color: var(--gray-light);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

.team-card {
  flex: 1 1 250px;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  background-color: var(--glass-bg);
  backdrop-filter: var(--glass-blur) saturate(180%);
  -webkit-backdrop-filter: var(--glass-blur) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 212, 255, 0.2), 0 0 40px rgba(0, 212, 255, 0.1);
  border-color: var(--secondary-color);
}

.team-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 1rem auto;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* Placeholder gradient for team photos */
.placeholder-photo {
  background: linear-gradient(135deg, var(--accent-blue), var(--secondary-color));
  filter: brightness(1.1);
}

.team-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  color: var(--secondary-color);
}

.team-card p {
  font-size: 0.9rem;
  color: var(--gray-medium);
}

.cta-section {
  background: linear-gradient(135deg, var(--accent-blue), var(--secondary-color));
  color: var(--text-light);
  padding: 4rem 1rem;
  border-radius: 1rem;
  box-shadow: 0 4px 30px rgba(0, 212, 255, 0.3), 0 0 60px rgba(0, 212, 255, 0.2);
}

.cta-section h2 {
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.cta-section p {
  max-width: 600px;
  margin: 0 auto 1.5rem auto;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta-section .btn {
  background: var(--primary-dark);
  color: var(--text-light);
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.cta-section .btn:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

/*------------------------------------------------------------
  Testimonial section styles
  Displays client feedback or reference quotes in glass cards.
------------------------------------------------------------*/

.testimonial-section {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 0 1rem;
  text-align: center;
}

.testimonial-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--text-light);
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.testimonial-card {
  flex: 1 1 300px;
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  background-color: var(--glass-bg);
  backdrop-filter: var(--glass-blur) saturate(180%);
  -webkit-backdrop-filter: var(--glass-blur) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 212, 255, 0.2), 0 0 40px rgba(0, 212, 255, 0.1);
  border-color: var(--secondary-color);
}

.testimonial-quote {
  font-style: italic;
  margin-bottom: 1.25rem;
  color: var(--gray-light);
}

.testimonial-author {
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.25rem;
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--gray-medium);
}

/*------------------------------------------------------------
  Stats / Numbers Section
  Showcases quantitative achievements with animated counters.
------------------------------------------------------------*/
.stats-section {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 0 1rem;
  text-align: center;
}

.stats-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.stat-card {
  flex: 1 1 200px;
  border-radius: 1rem;
  padding: 2rem;
  background-color: var(--glass-bg);
  backdrop-filter: var(--glass-blur) saturate(180%);
  -webkit-backdrop-filter: var(--glass-blur) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  text-align: center;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 212, 255, 0.2), 0 0 40px rgba(0, 212, 255, 0.1);
  border-color: var(--secondary-color);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--secondary-color);
  display: block;
  margin-bottom: 0.25rem;
  transition: color 0.3s ease;
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.stat-card:hover .stat-number {
  color: var(--accent-blue);
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
}

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

/*------------------------------------------------------------
  Trust section styles
  Displays certifications, security badges and client satisfaction.
------------------------------------------------------------*/
.trust-section {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.trust-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--text-light);
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.trust-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.trust-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .trust-grid-2x2 {
    grid-template-columns: 1fr;
  }
}

.trust-card {
  flex: 1 1 250px;
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  background-color: var(--glass-bg);
  backdrop-filter: var(--glass-blur) saturate(180%);
  -webkit-backdrop-filter: var(--glass-blur) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.trust-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 212, 255, 0.2), 0 0 40px rgba(0, 212, 255, 0.1);
  border-color: var(--secondary-color);
}

.trust-icon {
  color: var(--secondary-color);
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

.trust-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.trust-card p {
  font-size: 0.875rem;
  color: var(--gray-medium);
}

@media (max-width: 768px) {
  .trust-card {
    flex: 1 1 100%;
  }
}

/*------------------------------------------------------------
  Case studies page styles
  Layout and styling for detailed project reports.
------------------------------------------------------------*/
.case-studies {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 3rem 1rem;
}

.case-study {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  margin-bottom: 4rem;
}

.case-image {
  flex: 1 1 400px;
}

.case-image img {
  width: 100%;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
}

.case-study:hover .case-image img {
  transform: scale(1.05);
}

.case-content {
  flex: 1 1 500px;
}

.case-content h2 {
  font-size: 1.75rem;
  color: var(--secondary-color);
  margin-bottom: 0.75rem;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.case-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-light);
  margin-bottom: 1rem;
}

.case-content ul {
  margin: 0 0 1rem 1rem;
  padding-left: 1rem;
  list-style-type: disc;
  color: var(--gray-light);
}

.case-content li {
  margin-bottom: 0.5rem;
}

.case-content .btn {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--accent-blue), var(--secondary-color));
  color: var(--text-light);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.case-content .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.5), 0 0 20px rgba(0, 212, 255, 0.3);
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-blue));
}

@media (max-width: 768px) {
  .case-study {
    flex-direction: column;
    text-align: center;
  }
  .case-content,
  .case-image {
    flex: 1 1 100%;
  }
  .case-content h2 {
    font-size: 1.5rem;
  }
  .case-content p,
  .case-content ul {
    text-align: left;
  }
}