/* Universal Selector */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Color Palette - Professional Corporate Blue */
:root {
  --primary-blue: #1B365D;
  --secondary-blue: #4A90E2;
  --accent-cyan: #00D9FF;
  --background-dark: #0D1117;
  --background-darker: #010409;
  --surface-dark: #161B22;
  --text-primary: #E6EDF3;
  --text-secondary: #8B949E;
  --border-color: rgba(74, 144, 226, 0.2);
  --success-green: #10B981;
  --warning-orange: #F59E0B;
}

/* Light Theme Variables */
html[data-theme='light'] {
  --primary-blue: #1B365D;
  --secondary-blue: #4A90E2;
  --accent-cyan: #0088CC;
  --background-dark: #F5F7FA;
  --background-darker: #FFFFFF;
  --surface-dark: #FFFFFF;
  --text-primary: #1A1A1A;
  --text-secondary: #6B7280;
  --border-color: rgba(74, 144, 226, 0.3);
  --success-green: #059669;
  --warning-orange: #D97706;
}

body {
  font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background-dark);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header and Navigation */
.header {
  background: rgba(13, 17, 23, 0.98);
  backdrop-filter: blur(15px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--secondary-blue);
  box-shadow: 0 4px 30px rgba(74, 144, 226, 0.3);
  transition: all 0.3s ease;
}

.header:hover {
  border-bottom-color: var(--accent-cyan);
  box-shadow: 0 6px 40px rgba(74, 144, 226, 0.5);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-image {
  position: relative;
  width: 200px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  margin-top: 20px;
  flex-shrink: 0;
}

.logo-img {
  cursor: pointer;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: logoGlow 3s ease-in-out infinite, logoEntrance 1s ease-out;
  filter: brightness(1.1) contrast(1.1);
  transition: all 0.3s ease;
  margin-top: 18px;
}

.logo-img:hover {
  transform: scale(1.05);
  filter: brightness(1.2) contrast(1.2);
}

.logo-fallback {
  color: var(--secondary-blue);
  font-size: 2.5rem;
  animation: shieldPulse 2s infinite;
  text-shadow: 0 0 10px rgba(74, 144, 226, 0.5), 0 0 10px rgba(0, 217, 255, 0.5);
  display: none;
}

/* Hide fallback icon when logo image is loaded */
.logo-image:has(img[src*="optimal-logo.png"]) .logo-fallback {
  display: none;
}

/* Show fallback icon when logo image fails to load */
.logo-image:not(:has(img[src*="optimal-logo.png"])) .logo-fallback {
  display: block;
}

.logo h1 {
  background: linear-gradient(45deg, var(--secondary-blue), var(--accent-cyan), var(--primary-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  text-shadow: none;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}

.nav-links a {
  color: #e0e0e0;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 12px;
  border-radius: 25px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus {
  color: #ffffff;
  background: rgba(74, 144, 226, 0.15);
  text-shadow: 0 0 15px rgba(74, 144, 226, 0.8);
  transform: translateY(-2px);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.user-icon {
  color: var(--secondary-blue);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 10px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: rgba(74, 144, 226, 0.1);
}

.user-icon:hover,
.user-icon:focus {
  color: var(--accent-cyan);
  background: rgba(74, 144, 226, 0.2);
  border-color: var(--secondary-blue);
  transform: scale(1.1);
}

/* Theme Toggle Button */
.theme-toggle {
  background: rgba(74, 144, 226, 0.1);
  border: 2px solid transparent;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--secondary-blue);
  padding: 0;
}

.theme-toggle:hover,
.theme-toggle:focus {
  background: rgba(74, 144, 226, 0.2);
  border-color: var(--secondary-blue);
  transform: scale(1.1);
  color: var(--accent-cyan);
  outline: none;
}

.theme-toggle i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.theme-toggle:active i {
  transform: rotate(180deg);
}

.mobile-menu {
  display: none;
  color: var(--secondary-blue);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg,
      var(--background-darker) 0%,
      #0A1628 30%,
      #1B365D 60%,
      var(--background-dark) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 130px 20px 80px;
  position: relative;
  overflow: hidden;
}

html[data-theme='light'] .hero {
  background: linear-gradient(135deg,
      #FFFFFF 0%,
      #E3F2FD 30%,
      #BBDEFB 60%,
      #F5F7FA 100%);
}

.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="%234A90E2" stroke-width="0.5" opacity="0.3"/><path d="M 0 0 L 10 10" fill="none" stroke="%2300D9FF" stroke-width="0.5" opacity="0.3"/><path d="M 5 0 L 5 10" fill="none" stroke="%231B365D" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.1;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 2;
}

.hero-content h2 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(74, 144, 226, 0.6);
  animation: fadeInUp 1s ease;
  font-weight: 700;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.4s both;
}

.cta-button {
  border: none;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-button.primary {
  background: linear-gradient(45deg, var(--secondary-blue), var(--accent-cyan));
  color: #ffffff;
  box-shadow: 0 5px 20px rgba(74, 144, 226, 0.4);
}

.cta-button.primary:hover,
.cta-button.primary:focus {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(74, 144, 226, 0.6);
}

.cta-button.secondary {
  background: transparent;
  color: var(--secondary-blue);
  border: 2px solid var(--secondary-blue);
}

.cta-button.secondary:hover,
.cta-button.secondary:focus {
  background: var(--secondary-blue);
  color: #ffffff;
  transform: translateY(-3px);
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.cyber-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 300px;
  height: 300px;
}

.grid-item {
  background: rgba(74, 144, 226, 0.1);
  border: 1px solid rgba(74, 144, 226, 0.3);
  animation: gridPulse 3s infinite;
}

.grid-item:nth-child(1) {
  border-color: rgba(74, 144, 226, 0.5);
}

.grid-item:nth-child(2) {
  border-color: rgba(0, 217, 255, 0.5);
}

.grid-item:nth-child(3) {
  border-color: rgba(27, 54, 93, 0.5);
}

.grid-item:nth-child(4) {
  border-color: rgba(74, 144, 226, 0.5);
}

.grid-item:nth-child(5) {
  border-color: rgba(0, 217, 255, 0.5);
}

.grid-item:nth-child(6) {
  border-color: rgba(27, 54, 93, 0.5);
}

.grid-item:nth-child(7) {
  border-color: rgba(74, 144, 226, 0.5);
}

.grid-item:nth-child(8) {
  border-color: rgba(0, 217, 255, 0.5);
}

.grid-item:nth-child(9) {
  border-color: rgba(27, 54, 93, 0.5);
}

.grid-item:nth-child(odd) {
  animation-delay: 0.5s;
}

.shield-overlay {
  position: absolute;
  font-size: 8rem;
  color: rgba(74, 144, 226, 0.2);
  animation: shieldFloat 4s ease-in-out infinite;
}

/* About Section */
.about {
  padding: 100px 0;
  background: var(--surface-dark);
}

.about h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #ffffff;
  text-shadow: 0 0 15px rgba(74, 144, 226, 0.6);
  font-weight: 700;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(74, 144, 226, 0.05);
  border-radius: 10px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(74, 144, 226, 0.1);
  border-color: var(--secondary-blue);
  transform: translateX(10px);
}

.feature-item i {
  font-size: 2rem;
  color: var(--accent-cyan);
  margin-top: 0.5rem;
}

.feature-item h3 {
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.feature-item p {
  color: var(--text-secondary);
}

.security-dashboard {
  background: linear-gradient(135deg, var(--surface-dark), var(--primary-blue));
  border: 2px solid var(--secondary-blue);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.dashboard-header h4 {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 600;
}

.status-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--success-green);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
  animation: statusPulse 2s infinite;
}

.dashboard-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.metric {
  text-align: center;
  padding: 1rem;
  background: rgba(74, 144, 226, 0.1);
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

.metric-value {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
}

.metric-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Certifications Section */
.certifications {
  padding: 60px 0;
  background: var(--surface-dark);
}

.certifications h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
  color: #ffffff;
  text-shadow: 0 0 15px rgba(74, 144, 226, 0.6);
  font-weight: 700;
}

.certs-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.cert-badge {
  flex: 1 1 calc(20% - 1.5rem);
  min-width: 150px;
  background: linear-gradient(135deg, rgba(22, 27, 34, 0.6), rgba(27, 54, 93, 0.4));
  padding: 1.8rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.cert-badge:hover {
  transform: translateY(-8px);
  border-color: var(--accent-cyan);
  box-shadow: 0 15px 40px rgba(74, 144, 226, 0.4);
  background: linear-gradient(135deg, rgba(27, 54, 93, 0.7), rgba(74, 144, 226, 0.3));
}

.cert-badge>i {
  font-size: 2.5rem;
  color: var(--accent-cyan);
  margin-bottom: 0.8rem;
  display: block;
}

.cert-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 0.8rem;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary-blue), var(--accent-cyan));
  box-shadow: 0 5px 20px rgba(74, 144, 226, 0.3);
  position: relative;
}

.cert-icon i {
  color: #ffffff !important;
  font-size: 2.2rem !important;
  margin: 0 !important;
  display: inline-block !important;
  line-height: 1 !important;
  z-index: 1;
  position: relative;
}

.cert-icon i::before {
  display: inline-block !important;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}

.soc2-icon {
  background: linear-gradient(135deg, #4A90E2, #00D9FF) !important;
  animation: certPulse 3s ease-in-out infinite;
}

html[data-theme='light'] .cert-icon {
  background: linear-gradient(135deg, #4A90E2, #00D9FF) !important;
  box-shadow: 0 5px 20px rgba(74, 144, 226, 0.4);
}

@keyframes certPulse {

  0%,
  100% {
    box-shadow: 0 5px 20px rgba(74, 144, 226, 0.3);
  }

  50% {
    box-shadow: 0 8px 30px rgba(74, 144, 226, 0.6);
  }
}

.cert-badge h4 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 0.4rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.cert-badge p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.3;
}

/* Services Section */
.services {
  padding: 100px 0;
  background: var(--background-dark);
}

.services h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #ffffff;
  text-shadow: 0 0 15px rgba(74, 144, 226, 0.6);
  font-weight: 700;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background: linear-gradient(135deg, var(--surface-dark), var(--primary-blue));
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(74, 144, 226, 0.15),
      transparent);
  transition: left 0.5s ease;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--secondary-blue);
  box-shadow: 0 15px 40px rgba(74, 144, 226, 0.4);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--accent-cyan);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
  font-weight: 600;
}

.service-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: linear-gradient(45deg, var(--secondary-blue), var(--accent-cyan));
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  color: #ffffff;
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  text-align: left;
}

.service-features li {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success-green);
  font-weight: bold;
}

/* Threats Section */
.threats {
  padding: 100px 0;
  background: var(--surface-dark);
}

.threats h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #ffffff;
  text-shadow: 0 0 15px rgba(74, 144, 226, 0.6);
  font-weight: 700;
}

.threats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.threat-card {
  background: linear-gradient(135deg, var(--surface-dark), var(--primary-blue));
  padding: 2rem;
  border-radius: 15px;
  border-left: 5px solid;
  transition: all 0.3s ease;
}

.threat-card.high {
  border-left-color: #EF4444;
}

.threat-card.medium {
  border-left-color: var(--warning-orange);
}

.threat-card.low {
  border-left-color: var(--success-green);
}

.threat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.threat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.threat-header i {
  font-size: 1.5rem;
}

.threat-card.high .threat-header i {
  color: #EF4444;
}

.threat-card.medium .threat-header i {
  color: var(--warning-orange);
}

.threat-card.low .threat-header i {
  color: var(--success-green);
}

.threat-level {
  font-size: 0.9rem;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-weight: bold;
}

.threat-card.high .threat-level {
  background: rgba(239, 68, 68, 0.2);
  color: #EF4444;
}

.threat-card.medium .threat-level {
  background: rgba(245, 158, 11, 0.2);
  color: var(--warning-orange);
}

.threat-card.low .threat-level {
  background: rgba(16, 185, 129, 0.2);
  color: var(--success-green);
}

.threat-card h3 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.threat-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.threat-stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--accent-cyan);
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background: var(--background-dark);
}

.contact h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #ffffff;
  text-shadow: 0 0 15px rgba(74, 144, 226, 0.6);
  font-weight: 700;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.contact-info p {
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(74, 144, 226, 0.05);
  border-radius: 10px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(74, 144, 226, 0.15);
  border-color: var(--secondary-blue);
  transform: translateX(5px);
  box-shadow: 0 5px 20px rgba(74, 144, 226, 0.2);
}

.contact-item[onclick] {
  cursor: pointer;
}

.contact-item[onclick]:active {
  transform: translateX(5px) scale(0.98);
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--accent-cyan);
  width: 40px;
  text-align: center;
}

.contact-item h4 {
  color: #ffffff;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.contact-item p {
  color: var(--text-secondary);
  margin: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  color: var(--text-primary);
  transition: all 0.3s ease;
  width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--secondary-blue);
  box-shadow: 0 0 15px rgba(74, 144, 226, 0.4);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-secondary);
}

.contact-form select {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  cursor: pointer;
}

.contact-form select option {
  background: var(--surface-dark);
  color: var(--text-primary);
  padding: 10px;
}

.submit-button {
  background: linear-gradient(45deg, var(--secondary-blue), var(--accent-cyan));
  color: #ffffff;
  border: none;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.submit-button:hover,
.submit-button:focus {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(74, 144, 226, 0.5);
}

.error-message {
  color: #e63946;
  font-size: 0.8rem;
  margin-top: 4px;
  min-height: 14px;
}

input.error,
textarea.error,
select.error {
  border: 1px solid #e63946;
}

.error-message {
  color: #e63946;
  font-size: 0.8rem;
  margin-top: 4px;
  display: block;
  min-height: 14px;
  /* keeps spacing consistent */
}

input.error,
textarea.error,
select.error {
  border: 1px solid #e63946;
}

/* Form Notifications */
.form-notification {
  padding: 1.2rem 1.5rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: slideDown 0.3s ease;
  font-weight: 500;
}

.form-notification.success {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
  border: 2px solid var(--success-green);
  color: var(--success-green);
}

.form-notification.error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.05));
  border: 2px solid #EF4444;
  color: #EF4444;
}

html[data-theme='light'] .form-notification.success {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
  color: #059669;
}

html[data-theme='light'] .form-notification.error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.1));
  color: #DC2626;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--surface-dark), var(--primary-blue));
  color: var(--text-primary);
  padding: 4rem 0 2rem;
  border-top: 2px solid var(--border-color);
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-about {
  max-width: 350px;
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, var(--secondary-blue), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.footer-section p {
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.footer-section h4 {
  color: var(--accent-cyan);
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--accent-cyan);
}

.partner-footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: linear-gradient(135deg, rgba(74, 144, 226, 0.2), rgba(0, 217, 255, 0.2));
  border: 1px solid var(--accent-cyan);
  border-radius: 25px;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

.partner-footer-badge i {
  font-size: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(74, 144, 226, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--secondary-blue);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--secondary-blue);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
}

/* Partner Badge in Hero */
.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(135deg, rgba(74, 144, 226, 0.2), rgba(0, 217, 255, 0.2));
  border: 2px solid var(--accent-cyan);
  border-radius: 50px;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease, badgeGlow 3s ease-in-out infinite;
}

.partner-badge i {
  color: var(--accent-cyan);
  font-size: 1.2rem;
}

.partner-badge span {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@keyframes badgeGlow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
  }

  50% {
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.6);
  }
}

/* Partnership Section */
.partnership {
  padding: 100px 0;
  background: var(--background-dark);
  position: relative;
}

.partnership h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
  text-shadow: 0 0 15px rgba(74, 144, 226, 0.6);
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.partnership-content {
  margin-bottom: 4rem;
}

.partnership-intro {
  background: linear-gradient(135deg, var(--surface-dark), var(--primary-blue));
  padding: 3rem;
  border-radius: 15px;
  border: 1px solid var(--border-color);
  margin-bottom: 3rem;
  text-align: center;
}

.seceon-logo-container {
  margin-bottom: 2.5rem;
  display: flex;
  justify-content: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  border: 1px solid var(--border-color);
}

.seceon-logo {
  max-width: 300px;
  height: auto;
  filter: brightness(1.1);
  transition: all 0.3s ease;
}

.seceon-logo:hover {
  filter: brightness(1.3);
  transform: scale(1.05);
}

.partnership-intro h3 {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.partnership-intro p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
}

.partnership-benefits {
  margin-bottom: 4rem;
}

.partnership-benefits h3 {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 700;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-item {
  background: linear-gradient(135deg, var(--surface-dark), var(--primary-blue));
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-10px);
  border-color: var(--secondary-blue);
  box-shadow: 0 15px 40px rgba(74, 144, 226, 0.3);
}

.benefit-item i {
  font-size: 3rem;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
}

.benefit-item h4 {
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.benefit-item p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.seceon-products h3 {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 700;
}

.product-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.product-card {
  background: linear-gradient(135deg, var(--surface-dark), var(--primary-blue));
  padding: 2.5rem;
  border-radius: 15px;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(0, 217, 255, 0.1),
      transparent);
  transition: left 0.5s ease;
}

.product-card:hover::before {
  left: 100%;
}

.product-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-cyan);
  box-shadow: 0 20px 50px rgba(74, 144, 226, 0.4);
}

.product-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--secondary-blue), var(--accent-cyan));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.product-icon i {
  font-size: 2.5rem;
  color: #ffffff;
}

.product-card h4 {
  font-size: 1.8rem;
  color: #ffffff;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 700;
}

.product-card>p {
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.product-features {
  list-style: none;
  padding: 0;
}

.product-features li {
  color: var(--text-primary);
  margin-bottom: 0.8rem;
  padding-left: 1.8rem;
  position: relative;
}

.product-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success-green);
  font-weight: bold;
  font-size: 1.2rem;
}

.partnership-cta {
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
  padding: 3rem;
  border-radius: 20px;
  text-align: center;
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 10px 40px rgba(74, 144, 226, 0.3);
}

.partnership-cta h3 {
  font-size: 2.2rem;
  color: #ffffff;
  margin-bottom: 1rem;
  font-weight: 700;
}

.partnership-cta p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.partnership-cta .cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.2rem;
  padding: 18px 40px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shieldPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

@keyframes logoGlow {

  0%,
  100% {
    filter: drop-shadow(0 0 12px rgba(74, 144, 226, 0.5)) drop-shadow(0 0 20px rgba(0, 217, 255, 0.5)) brightness(1.15) contrast(1.15);
  }

  50% {
    filter: drop-shadow(0 0 25px rgba(74, 144, 226, 0.8)) drop-shadow(0 0 35px rgba(0, 217, 255, 0.8)) brightness(1.25) contrast(1.25);
  }
}

@keyframes gridPulse {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 0.8;
  }
}

@keyframes shieldFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

@keyframes statusPulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

@keyframes logoEntrance {
  from {
    opacity: 0;
    transform: scale(0.8) rotate(-5deg);
  }

  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

/* Light Theme Specific Adjustments */
html[data-theme='light'] .header {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 30px rgba(74, 144, 226, 0.2);
  border-bottom-color: var(--secondary-blue);
}

html[data-theme='light'] .nav-links a {
  color: #2C3E50;
}

html[data-theme='light'] .nav-links a:hover,
html[data-theme='light'] .nav-links a:focus {
  color: var(--primary-blue);
  background: rgba(74, 144, 226, 0.1);
  text-shadow: none;
}

html[data-theme='light'] .hero-content h2 {
  color: var(--primary-blue);
  text-shadow: none;
}

html[data-theme='light'] .hero-content p {
  color: #4B5563;
}

html[data-theme='light'] h2,
html[data-theme='light'] h3,
html[data-theme='light'] h4 {
  color: var(--primary-blue) !important;
  text-shadow: none !important;
}

html[data-theme='light'] .about h2,
html[data-theme='light'] .services h2,
html[data-theme='light'] .threats h2,
html[data-theme='light'] .contact h2,
html[data-theme='light'] .partnership h2,
html[data-theme='light'] .certifications h2 {
  color: var(--primary-blue) !important;
  text-shadow: none !important;
}

html[data-theme='light'] .section-subtitle {
  color: #4B5563;
}

html[data-theme='light'] .feature-item h3,
html[data-theme='light'] .contact-item h4,
html[data-theme='light'] .dashboard-header h4,
html[data-theme='light'] .cert-badge h4,
html[data-theme='light'] .service-card h3,
html[data-theme='light'] .threat-card h3,
html[data-theme='light'] .product-card h4,
html[data-theme='light'] .benefit-item h4,
html[data-theme='light'] .partnership-intro h3,
html[data-theme='light'] .partnership-benefits h3,
html[data-theme='light'] .seceon-products h3,
html[data-theme='light'] .partnership-cta h3,
html[data-theme='light'] .contact-info h3,
html[data-theme='light'] .footer-brand {
  color: var(--primary-blue) !important;
}

html[data-theme='light'] .security-dashboard,
html[data-theme='light'] .service-card,
html[data-theme='light'] .threat-card,
html[data-theme='light'] .product-card,
html[data-theme='light'] .benefit-item,
html[data-theme='light'] .partnership-intro,
html[data-theme='light'] .cert-badge,
html[data-theme='light'] .feature-item,
html[data-theme='light'] .contact-item {
  background: linear-gradient(135deg, #FFFFFF, #F0F9FF);
  box-shadow: 0 4px 20px rgba(74, 144, 226, 0.15);
  border-color: rgba(74, 144, 226, 0.3);
}

html[data-theme='light'] .footer {
  background: linear-gradient(135deg, #F5F7FA, #E3F2FD);
}

html[data-theme='light'] .partnership-cta {
  background: linear-gradient(135deg, #BBDEFB, #90CAF9);
}

html[data-theme='light'] .partnership-cta h3,
html[data-theme='light'] .partnership-cta p {
  color: var(--primary-blue) !important;
}

html[data-theme='light'] .footer-section h4 {
  color: var(--primary-blue) !important;
}

html[data-theme='light'] .seceon-logo {
  filter: invert(1) brightness(0.3) contrast(1.5);
}

html[data-theme='light'] .logo-img {
  filter: brightness(0.9) contrast(1.2);
}

html[data-theme='light'] .seceon-logo-container {
  background: rgba(27, 54, 93, 0.05);
  border-color: rgba(74, 144, 226, 0.3);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .nav-links {
    gap: 1rem;
  }

  .nav-links a {
    padding: 6px 10px;
    font-size: 0.85rem;
  }
}

@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }

  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .cyber-grid {
    width: 250px;
    height: 250px;
  }

  .shield-overlay {
    font-size: 6rem;
  }
}

@media (max-width: 768px) {
  .logo-image {
    width: 120px;
    height: 52px;
    margin-right: 15px;
    margin-top: 0;
  }

  .footer-logo-image {
    width: 150px;
    height: 80px;
  }

  .mobile-menu {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(13, 17, 23, 0.98);
    flex-direction: column;
    padding: 2rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-top: 1px solid var(--border-color);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .hero-content h2 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .services-grid,
  .benefits-grid,
  .product-cards,
  .certs-grid {
    grid-template-columns: 1fr;
  }

  .certs-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
  }

  .certs-grid .cert-badge {
    flex: 1 1 calc(33.333% - 1.5rem);
    min-width: 150px;
  }

  .partnership-intro,
  .partnership-cta {
    padding: 2rem;
  }

  .partner-badge {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
  }

  .form-group {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .container {
    padding: 0 15px;
  }

  .footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
  }

  .social-links {
    justify-content: center;
    margin-top: 1rem;
  }

  .service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .logo-image {
    width: 100px;
    height: 52px;
    margin-right: 12px;
    margin-top: 0;
  }

  .footer-logo-image {
    width: 150px;
    height: 70px;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    /* Single column */
  }

  .social-links {
    justify-content: center;
  }

  .footer-section {
    text-align: center;
  }

  .service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
  }

  .about h2,
  .services h2,
  .threats h2,
  .contact h2,
  .partnership h2,
  .certifications h2 {
    font-size: 2rem;
  }

  .certs-grid {
    display: flex;
    justify-content: center;
  }

  .certs-grid .cert-badge {
    flex: 1 1 calc(50% - 1.5rem);
    min-width: 140px;
  }

  .partnership-intro h3,
  .partnership-benefits h3,
  .seceon-products h3 {
    font-size: 1.5rem;
  }

  .partnership-cta h3 {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .cyber-grid {
    width: 200px;
    height: 200px;
  }

  .shield-overlay {
    font-size: 4rem;
  }

  .cta-button {
    padding: 12px 24px;
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    /* 2 columns */
    gap: 2rem;
  }

  .footer-section {
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-logo-image {
    width: 50%;
  }

  .footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
  }
}