/* VegaSEC - Profesyonel Siber Güvenlik Firması CSS */

:root {
  --white: #f4f2ee;
  --primary: #05253f;
  --secondary: #041a2d;
  --accent: #05253f;
  --text: #041a2d;
  --light-text: #666;
  --border: #e0e0e0;
  --shadow: rgba(4, 26, 45, 0.1);
  --gradient: linear-gradient(135deg, #05253f 0%, #041a2d 100%);
  --bg-primary: #f4f2ee;
  --bg-secondary: #ffffff;
  --card-bg: #ffffff;
  --header-bg: #f4f2ee;
  --footer-bg: #041a2d;
  --hero-text: #ffffff;
  --hero-text-shadow: rgba(0,0,0,0.5);
}

/* Dark Mode Variables */
[data-theme="dark"] {
  --white: #ffffff;
  --primary: #4a9eff;
  --secondary: #2d3748;
  --accent: #4a9eff;
  --text: #ffffff;
  --light-text: #a0aec0;
  --border: #4a5568;
  --shadow: rgba(0, 0, 0, 0.3);
  --gradient: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
  --bg-primary: #1a202c;
  --bg-secondary: #2d3748;
  --card-bg: #2d3748;
  --header-bg: #2d3748;
  --footer-bg: #1a202c;
  --hero-text: #ffffff;
  --hero-text-shadow: rgba(0,0,0,0.7);
}

/* Ensure all text elements use the correct color variables */
body, p, div, span, h1, h2, h3, h4, h5, h6, li, a {
  color: var(--text);
  transition: color 0.3s ease;
}

/* Ensure form elements use correct colors */
input, textarea, select {
  color: var(--text);
  background-color: var(--card-bg);
  border-color: var(--border);
}

/* Ensure buttons use correct colors */
.btn {
  color: inherit;
}

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

/* Ensure navigation uses correct colors */
nav a {
  color: var(--text);
}

nav a:hover,
nav a.active {
  color: var(--primary);
}

/* Ensure service cards use correct colors */
.service-card h3 {
  color: var(--primary);
}

.service-card p {
  color: var(--light-text);
}

.service-features li {
  color: var(--text);
}

/* Ensure value cards use correct colors */
.value-card h4 {
  color: var(--primary);
}

.value-card p {
  color: var(--light-text);
}

/* Ensure contact items use correct colors */
.contact-item strong {
  color: var(--primary);
}

.contact-item div {
  color: var(--light-text);
}

/* Ensure form labels use correct colors */
.form-group label {
  color: var(--primary);
}

/* Hero section specific overrides for better readability */
.hero h1,
.hero .brand,
.hero .slogan,
.hero p {
  color: var(--hero-text) !important;
  text-shadow: 0 4px 20px var(--hero-text-shadow) !important;
  font-weight: 700 !important;
}

/* Force hero text to be white and readable */
.hero * {
  color: var(--hero-text) !important;
}

.hero h1,
.hero .brand {
  font-size: 4rem !important;
  font-weight: 700 !important;
  color: var(--hero-text) !important;
  text-shadow: 0 4px 20px var(--hero-text-shadow) !important;
}

.hero .slogan,
.hero p {
  font-size: 1.5rem !important;
  font-weight: 300 !important;
  color: var(--hero-text) !important;
  text-shadow: 0 2px 10px var(--hero-text-shadow) !important;
}

/* Ensure hero buttons are always readable */
.hero .btn {
  color: var(--primary) !important;
  background: var(--white) !important;
  border-color: var(--white) !important;
  text-shadow: none !important;
}

.hero .btn:hover {
  color: var(--white) !important;
  background: transparent !important;
  border-color: var(--white) !important;
}

.hero .btn:not(.btn-primary) {
  color: var(--white) !important;
  background: transparent !important;
  border-color: var(--white) !important;
  text-shadow: none !important;
}

.hero .btn:not(.btn-primary):hover {
  color: var(--primary) !important;
  background: var(--white) !important;
  border-color: var(--white) !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-primary);
  overflow-x: hidden;
  transition: all 0.3s ease;
}

/* Control Buttons Container */
.header-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Desktop Controls in Header */
@media (min-width: 769px) {
  .header-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    order: 3;
  }
  
  .theme-toggle,
  .language-toggle {
    position: static;
  }
  
  nav {
    display: flex;
    justify-content: center;
  }
  
  .mobile-menu-toggle {
    display: none;
  }
}

/* Theme Toggle Button */
.theme-toggle {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 2px 8px var(--shadow);
  transition: all 0.3s ease;
  min-width: 40px;
  min-height: 40px;
}

.theme-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px var(--shadow);
}

/* Language Toggle Button */
.language-toggle {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: bold;
  box-shadow: 0 2px 8px var(--shadow);
  transition: all 0.3s ease;
  min-width: 40px;
  min-height: 40px;
}

.language-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px var(--shadow);
}

/* Header */
header {
  background: var(--header-bg);
  box-shadow: 0 2px 20px var(--shadow);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.3rem 0;
  transition: all 0.3s ease;
  height: auto;
  min-height: 50px;
}

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

.logo-area {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-area img {
  height: 100px;
  width: auto;
}

.brand {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 2px;
  transition: color 0.3s ease;
}

.slogan {
  font-size: 0.9rem;
  color: var(--light-text);
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: all 0.3s ease;
  position: relative;
}

nav a:hover,
nav a.active {
  color: var(--primary);
  background: rgba(74, 158, 255, 0.1);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

nav a:hover::after,
nav a.active::after {
  width: 80%;
}

/* Dropdown Menu Styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--card-bg);
  min-width: 200px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  z-index: 1000;
  top: 100%;
  left: 0;
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.dropdown-content a {
  color: var(--text) !important;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
  border-radius: 0;
  background: transparent;
}

.dropdown-content a:hover {
  background-color: var(--primary);
  color: var(--white) !important;
}

.dropdown-content a::after {
  display: none;
}

.dropdown:hover .dropdown-content {
  display: block;
  animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Team Hero Section */
.team-hero {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 4rem 0 2rem;
  text-align: center;
  color: var(--white);
}

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

.team-logo {
  margin-bottom: 2rem;
}

.team-logo img {
  width: 280px;
  height: 280px;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.team-header h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--white);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.team-header h2 {
  font-size: 1.5rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Team Mission */
.mission-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.mission-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text);
}

/* Strategies Grid */
.strategies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.strategy-card {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

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

.strategy-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.strategy-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.strategy-card p {
  color: var(--text);
  line-height: 1.6;
}

/* CTI Content - Improved Layout */
.cti-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.cti-description {
  text-align: center;
}

.cti-description p {
  font-size: 1.3rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  color: var(--text);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cti-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  color: var(--text);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.feature-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.feature-item span:last-child {
  font-weight: 600;
  font-size: 1.1rem;
}

.cti-action {
  text-align: center;
}

.cti-action .btn {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(74, 158, 255, 0.3);
  transition: all 0.3s ease;
}

.cti-action .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(74, 158, 255, 0.4);
}

.contact-cta {
  text-align: center;
  margin-top: 2rem;
}

/* Enhanced Contact Section for Team Pages */
.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  color: var(--primary);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* Enhanced Contact CTA */
.contact-cta {
  text-align: center;
  margin-top: 2.5rem;
  padding: 2rem;
  background: rgba(74, 158, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(74, 158, 255, 0.1);
}

.contact-cta .btn {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(74, 158, 255, 0.3);
  transition: all 0.3s ease;
}

.contact-cta .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(74, 158, 255, 0.4);
}

/* Teams Overview Styles */
.teams-overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.team-overview-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  align-items: center;
}

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

.team-overview-logo {
  text-align: center;
}

.team-overview-logo img {
  width: 250px;
  height: 250px;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.team-overview-content h2 {
  color: var(--primary);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.team-overview-content h3 {
  color: var(--text);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.team-overview-content p {
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.team-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.feature-tag {
  background: rgba(74, 158, 255, 0.1);
  color: var(--primary);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(74, 158, 255, 0.2);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

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

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.feature-card p {
  color: var(--text);
  line-height: 1.6;
}

/* Responsive Design for Teams */
@media (max-width: 768px) {
  .team-overview-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }
  
  .team-overview-logo img {
    width: 200px;
    height: 200px;
  }
  
  .team-overview-content h2 {
    font-size: 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  .team-logo img {
    width: 200px;
    height: 200px;
  }
  
  .team-header h1 {
    font-size: 2.5rem;
  }
  
  .team-header h2 {
    font-size: 1.2rem;
  }
  
  .strategies-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .cti-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .feature-item {
    padding: 1rem;
  }
  
  .feature-icon {
    font-size: 2rem;
  }
  
  .cti-description p {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .cti-features {
    grid-template-columns: 1fr;
  }
  
  .feature-item span:last-child {
    font-size: 1rem;
  }
}

/* Service Detail Section */
.service-detail {
  padding: 4rem 0;
  background: var(--bg-primary);
}

.service-detail-content {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.service-icon-large {
  font-size: 4rem;
  margin-bottom: 2rem;
}

.service-detail h2 {
  color: var(--primary);
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.service-detail p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 3rem;
  color: var(--light-text);
}

/* Hero Section */
.hero {
  background: var(--gradient);
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--hero-text);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-top: 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  max-width: 800px;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.hero .brand {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--hero-text);
  text-shadow: 0 4px 20px var(--hero-text-shadow);
  transition: all 0.3s ease;
}

.hero .slogan {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--hero-text);
  font-weight: 300;
  text-shadow: 0 2px 10px var(--hero-text-shadow);
  transition: all 0.3s ease;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--hero-text);
  text-shadow: 0 4px 20px var(--hero-text-shadow);
  transition: all 0.3s ease;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--hero-text);
  text-shadow: 0 2px 10px var(--hero-text-shadow);
  transition: all 0.3s ease;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--shadow);
}

.btn:not(.btn-primary) {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn:not(.btn-primary):hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--shadow);
}

/* Ensure buttons in non-hero sections are readable */
section .btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

section .btn-primary:hover {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

section .btn:not(.btn-primary) {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

section .btn:not(.btn-primary):hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* Main Content */
main {
  margin-top: 70px;
}

section {
  padding: 5rem 0;
  transition: all 0.3s ease;
}

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

/* Section Headers */
section h1,
section h2 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 3rem;
  font-size: 2.5rem;
  font-weight: 700;
  transition: color 0.3s ease;
}

section h3 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 40px var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

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

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

.service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.service-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--primary);
  transition: color 0.3s ease;
}

.service-card p {
  color: var(--light-text);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  transition: color 0.3s ease;
}

.service-features {
  list-style: none;
  margin-top: 1.5rem;
}

.service-features li {
  padding: 0.5rem 0;
  color: var(--text);
  position: relative;
  padding-left: 1.5rem;
  transition: color 0.3s ease;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
  transition: color 0.3s ease;
}

/* About Section */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content h1 {
  margin-bottom: 2rem;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--light-text);
  margin-bottom: 1.5rem;
  transition: color 0.3s ease;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 30px var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px var(--shadow);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.value-card h4 {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.value-card p {
  color: var(--light-text);
  line-height: 1.6;
  transition: color 0.3s ease;
}

/* Contact */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info h3,
.contact-form h3 {
  margin-bottom: 2rem;
  color: var(--primary);
  font-size: 1.8rem;
  transition: color 0.3s ease;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 5px 20px var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.contact-item span {
  font-size: 1.5rem;
  color: var(--primary);
  transition: color 0.3s ease;
}

.contact-item strong {
  color: var(--primary);
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.contact-item div {
  color: var(--light-text);
  line-height: 1.6;
  transition: color 0.3s ease;
}

/* Form */
.contact-form {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 40px var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  transition: color 0.3s ease;
}

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

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

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

/* Footer */
footer {
  background: var(--footer-bg);
  color: #ffffff;
  padding: 3rem 0 1rem;
  margin-top: 5rem;
  transition: all 0.3s ease;
}

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

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

.footer-section {
  color: #ffffff !important;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-brand {
  margin-bottom: 1rem;
}

.footer-brand .brand {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff !important;
  transition: color 0.3s ease;
}

.footer-brand .slogan {
  color: #ffffff !important;
  font-size: 1.1rem;
  transition: color 0.3s ease;
  opacity: 0.9;
}

.footer-slogan {
  text-align: center;
  color: #ffffff !important;
  margin-bottom: 3rem;
  font-size: 1.1rem;
  transition: color 0.3s ease;
  opacity: 0.9;
}

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

.footer-section h4 {
  color: #ffffff !important;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  transition: color 0.3s ease;
  font-weight: 600;
}

.footer-section p {
  color: #ffffff !important;
  margin-bottom: 0.5rem;
  line-height: 1.6;
  transition: color 0.3s ease;
  opacity: 0.9;
}

.footer-section a {
  color: #ffffff !important;
  text-decoration: none;
  transition: color 0.3s ease;
  opacity: 0.9;
}

.footer-section a:hover {
  color: #ffffff !important;
  opacity: 1;
  text-decoration: underline;
}

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

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-links a {
  font-size: 1.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #ffffff !important;
  display: inline-block;
}

.social-links a:hover {
  transform: scale(1.2);
  opacity: 1 !important;
}

/* Social media logo images */
.social-links img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1); /* Makes images white */
  transition: all 0.3s ease;
}

.social-links a:hover img {
  filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(255, 255, 255, 0.7));
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  margin-top: 2rem;
}

.footer-bottom p {
  color: #ffffff !important;
  transition: color 0.3s ease;
  opacity: 0.8;
  margin: 0;
}

/* Force footer text to be white in all themes */
footer * {
  color: #ffffff !important;
}

footer .footer-section p,
footer .footer-section a,
footer .footer-section span {
  color: #ffffff !important;
  opacity: 0.9;
}

footer .footer-section a:hover {
  color: #ffffff !important;
  opacity: 1;
}

footer .footer-bottom {
  color: #ffffff !important;
  opacity: 0.8;
}

/* Dark mode specific footer overrides */
[data-theme="dark"] footer {
  background: #1a202c;
}

[data-theme="dark"] footer * {
  color: #ffffff !important;
}

[data-theme="dark"] .footer-brand,
[data-theme="dark"] .footer-slogan,
[data-theme="dark"] .footer-section h4,
[data-theme="dark"] .footer-section p,
[data-theme="dark"] .footer-section a,
[data-theme="dark"] .footer-bottom {
  color: #ffffff !important;
}

/* Blockchain Background */
#blockchain-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.1;
}

/* ==========================================
   MOBILE RESPONSIVE DESIGN SYSTEM
   ========================================== */

/* Mobile Navigation - Hidden by default */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-primary);
  z-index: 1000;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  padding-top: 40px;
}

.mobile-nav.active {
  display: block;
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid var(--border);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--header-bg);
  z-index: 1001;
}

.mobile-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text);
  cursor: pointer;
  padding: 0.3rem;
}

.mobile-nav-content {
  padding: 1rem;
  margin-top: 40px;
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav > ul > li {
  margin-bottom: 0;
  border-bottom: 1px solid var(--border);
}

.mobile-nav > ul > li:last-child {
  border-bottom: none;
}

.mobile-nav a {
  display: block;
  padding: 0.8rem 0;
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  padding-left: 1rem;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--primary);
  border-left-color: var(--primary);
  background: rgba(74, 158, 255, 0.1);
  padding-left: 1.5rem;
}

/* Mobile Dropdown Styling */
.mobile-nav .dropdown-content {
  display: block;
  position: static;
  background: transparent;
  box-shadow: none;
  border: none;
  padding: 0;
  margin-left: 1.5rem;
  margin-top: 0.5rem;
  border-left: 2px solid var(--border);
}

.mobile-nav .dropdown-content a {
  padding: 0.6rem 0 0.6rem 1rem;
  font-size: 0.9rem;
  color: var(--light-text);
  border-left: none;
  min-height: 40px;
}

.mobile-nav .dropdown-content a:hover {
  color: var(--primary);
  background: rgba(74, 158, 255, 0.05);
  padding-left: 1.5rem;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--text);
  cursor: pointer;
  padding: 0.5rem;
  transition: all 0.3s ease;
  z-index: 1001;
}

.mobile-menu-toggle:hover {
  color: var(--primary);
  transform: scale(1.1);
}

/* Mobile Theme/Language Controls */
.mobile-controls {
  display: flex;
  gap: 0.8rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  margin-top: 1.5rem;
}

.mobile-controls .theme-toggle,
.mobile-controls .language-toggle {
  flex: 1;
  padding: 0.6rem;
  font-size: 0.9rem;
  border-radius: 8px;
  border: 2px solid var(--border);
  background: var(--card-bg);
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-controls .theme-toggle:hover,
.mobile-controls .language-toggle:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

/* Tablet Responsive (768px and below) */
@media (max-width: 768px) {
  main {
    margin-top: 50px;
  }
  
  .mobile-menu-toggle {
    display: block;
    order: 3;
    font-size: 1.4rem;
    padding: 0.2rem;
  }
  
  .header-container {
    padding: 0.3rem 0.8rem;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }
  
  .logo-area {
    order: 1;
    flex: 1;
  }
  
  .logo-area img {
    height: 35px;
  }
  
  .brand {
    font-size: 1.3rem;
    font-weight: 700;
  }
  
  .slogan {
    font-size: 0.75rem;
    font-weight: 500;
  }
  
  .header-controls {
    order: 2;
    display: flex;
    gap: 0.2rem;
  }
  
  .theme-toggle,
  .language-toggle {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
    border-radius: 6px;
  }
  
  /* Hide desktop navigation */
  nav {
    display: none !important;
  }
  
  /* Hero Section Mobile */
  .hero {
    min-height: calc(100vh - 50px);
    padding: 1rem 0;
  }
  
  .hero .brand,
  .hero h1 {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
  }
  
  .hero .slogan,
  .hero p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    line-height: 1.4;
  }
  
  .hero-btns {
    flex-direction: column;
    gap: 0.8rem;
  }
  
  .hero-btns .btn {
    padding: 0.9rem 1.8rem;
    font-size: 1rem;
    width: 100%;
    max-width: 280px;
    font-weight: 600;
  }
  
  /* Grid Layouts Mobile */
  .services-grid,
  .values-grid,
  .features-grid,
  .strategies-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  /* Contact Form Mobile */
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  /* Team Pages Mobile */
  .team-overview-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
    padding: 2rem;
  }
  
  .team-logo img {
    width: 150px;
    height: 150px;
  }
  
  .team-header h1 {
    font-size: 2.2rem;
  }
  
  .team-header h2 {
    font-size: 1.1rem;
  }
  
  /* CTI Features Mobile */
  .cti-features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .feature-item {
    padding: 1.2rem;
    text-align: center;
  }
  
  .feature-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }
  
  /* Footer Mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-section h4 {
    margin-bottom: 1rem;
  }
  
  /* Section Spacing Mobile */
  .section {
    padding: 3rem 0;
  }
  
  .container {
    padding: 0 1.5rem;
  }
  
  /* Cards Mobile */
  .service-card,
  .value-card,
  .strategy-card {
    padding: 2rem;
    margin-bottom: 1rem;
  }
  
  /* Typography Mobile */
  section h1,
  section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  
  section h3 {
    font-size: 1.3rem;
  }
  
  p {
    line-height: 1.6;
    margin-bottom: 1rem;
  }
}

/* Mobile Responsive (480px and below) */
@media (max-width: 480px) {
  .header-container {
    padding: 0.25rem 0.6rem;
  }
  
  .logo-area img {
    height: 30px;
  }
  
  .brand {
    font-size: 1.1rem;
    font-weight: 700;
  }
  
  .slogan {
    font-size: 0.65rem;
    font-weight: 500;
  }
  
  .theme-toggle,
  .language-toggle {
    width: 28px;
    height: 28px;
    font-size: 0.65rem;
  }
  
  .mobile-menu-toggle {
    font-size: 1.2rem;
    padding: 0.15rem;
  }
  
  /* Hero Section Small Mobile */
  .hero {
    min-height: calc(100vh - 40px);
    padding: 0.8rem 0;
  }
  
  .hero .brand,
  .hero h1 {
    font-size: 1.9rem;
    margin-bottom: 0.6rem;
    font-weight: 700;
  }
  
  .hero .slogan,
  .hero p {
    font-size: 1rem;
    margin-bottom: 1.2rem;
    font-weight: 400;
    line-height: 1.3;
  }
  
  .hero-btns .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
  }
  
  /* Mobile Navigation Small Screen */
  .mobile-nav {
    padding-top: 35px;
  }
  
  .mobile-nav-header {
    padding: 0.5rem 0.6rem;
  }
  
  .mobile-nav-content {
    padding: 0.8rem;
    margin-top: 35px;
  }
  
  .mobile-nav a {
    padding: 0.7rem 0;
    font-size: 0.95rem;
    min-height: 42px;
    font-weight: 500;
  }
  
  .mobile-nav .dropdown-content a {
    padding: 0.6rem 0 0.6rem 1rem;
    font-size: 0.85rem;
    min-height: 38px;
  }
  
  .mobile-controls {
    gap: 0.5rem;
    padding: 0.8rem 0;
  }
  
  .mobile-controls .theme-toggle,
  .mobile-controls .language-toggle {
    padding: 0.5rem;
    font-size: 0.8rem;
    min-height: 38px;
    font-weight: 500;
  }
}

/* Extra Small Mobile (320px and below) */
@media (max-width: 320px) {
  .header-container {
    padding: 0.2rem 0.5rem;
  }
  
  .logo-area img {
    height: 28px;
  }
  
  .brand {
    font-size: 1rem;
    font-weight: 700;
  }
  
  .slogan {
    font-size: 0.6rem;
    font-weight: 500;
  }
  
  .theme-toggle,
  .language-toggle {
    width: 26px;
    height: 26px;
    font-size: 0.6rem;
  }
  
  .mobile-menu-toggle {
    font-size: 1.1rem;
    padding: 0.1rem;
  }
  
  .hero .brand,
  .hero h1 {
    font-size: 1.7rem;
    font-weight: 700;
  }
  
  .hero .slogan,
  .hero p {
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.3;
  }
  
  .hero-btns .btn {
    padding: 0.7rem 1.3rem;
    font-size: 0.85rem;
    font-weight: 600;
  }
  
  .mobile-nav {
    padding-top: 30px;
  }
  
  .mobile-nav-header {
    padding: 0.4rem 0.5rem;
  }
  
  .mobile-nav-content {
    padding: 0.6rem;
    margin-top: 30px;
  }
  
  .mobile-nav a {
    padding: 0.6rem 0;
    font-size: 0.9rem;
    min-height: 40px;
    font-weight: 500;
  }
  
  .mobile-nav .dropdown-content a {
    padding: 0.5rem 0 0.5rem 0.8rem;
    font-size: 0.8rem;
    min-height: 36px;
  }
  
  .mobile-controls {
    gap: 0.4rem;
    padding: 0.6rem 0;
  }
  
  .mobile-controls .theme-toggle,
  .mobile-controls .language-toggle {
    padding: 0.4rem;
    font-size: 0.75rem;
    min-height: 36px;
    font-weight: 500;
  }
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Page Transitions */
.page-loaded {
  opacity: 1;
  transition: opacity 0.8s ease-in;
}

body {
  opacity: 0;
}

/* Form Success Message */
.form-success {
  background: #28a745;
  color: white;
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  text-align: center;
  font-weight: 600;
} 

/* Desktop Navigation (769px+) */
@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none !important;
  }
  
  .mobile-nav {
    display: none !important;
  }
  
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
  }
  
  .logo-area {
    order: 1;
  }
  
  nav {
    order: 2;
    flex: 1;
    display: block !important;
  }
  
  .header-controls {
    order: 3;
    display: flex;
  }
} 

/* Mobile Touch & Performance Optimizations */
@media (max-width: 768px) {
  /* Touch-friendly tap targets */
  button, 
  a, 
  .btn {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Smooth scrolling */
  html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Disable text selection on touch elements */
  .mobile-menu-toggle,
  .theme-toggle,
  .language-toggle,
  .mobile-close-btn {
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }
  
  /* Improve touch responsiveness */
  .mobile-nav a,
  .btn,
  button {
    -webkit-tap-highlight-color: rgba(74, 158, 255, 0.2);
    touch-action: manipulation;
  }
  
  /* Prevent zoom on input focus */
  input,
  select,
  textarea {
    font-size: 16px !important;
  }
  
  /* Optimize animations for mobile */
  * {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
  
  /* Hide scrollbars in webkit browsers */
  .mobile-nav::-webkit-scrollbar {
    width: 0px;
    background: transparent;
  }
} 