:root {
  /* Base colors */
  --primary-color: #4e6fff;
  --primary-dark: #3a5bdb;
  --primary-light: #7b95ff;
  
  --secondary-color: #29303d;
  --secondary-dark: #1a1f28;
  --secondary-light: #3c4657;
  
  --accent-color: #00d0ff;
  --accent-dark: #00a8cc;
  --accent-light: #4ddfff;
  
  /* Monochromatic palette */
  --mono-100: #ffffff;
  --mono-200: #f5f7fa;
  --mono-300: #e4e9f0;
  --mono-400: #cbd2df;
  --mono-500: #a1abbe;
  --mono-600: #7a859d;
  --mono-700: #586180;
  --mono-800: #3e4660;
  --mono-900: #2c334a;
  
  /* Glassmorphism variables */
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: rgba(31, 38, 135, 0.15);
  --glass-blur: 15px;
  
  /* Typography */
  --font-heading: 'Archivo Black', sans-serif;
  --font-body: 'Roboto', sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
  --transition-slow: 0.6s ease;
  
  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-round: 50%;
  
  /* 3D effects */
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 15px 35px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--secondary-color);
  background-color: var(--mono-200);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--secondary-color);
  margin-bottom: var(--space-sm);
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.25rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

p {
  margin-bottom: var(--space-sm);
}

img {
  max-width: 100%;
  height: auto;
}

section {
  padding: var(--space-lg) 0;
  position: relative;
}

.section-header {
  margin-bottom: var(--space-lg);
}

.section-subtitle {
  color: var(--mono-600);
  font-size: 1.2rem;
  margin-bottom: var(--space-lg);
}

/* Glassmorphism components */
.glassmorphism-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: 0 8px 32px 0 var(--glass-shadow);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.glassmorphism-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px 0 var(--glass-shadow);
}

.glassmorphism-header {
  background: rgba(var(--secondary-dark), 0.85);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-sm) 0;
}

.glassmorphism-footer {
  background: linear-gradient(to bottom, var(--secondary-color), var(--secondary-dark));
  color: var(--mono-300);
  padding: var(--space-xl) 0 var(--space-md);
  position: relative;
  margin-top: var(--space-xl);
}

/* Button styles - Global */
.btn, 
button,
input[type='submit'] {
  display: inline-block;
  font-weight: 500;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: var(--radius-md);
  transition: all var(--transition-medium);
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn:after,
button:after,
input[type='submit']:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.btn:before,
button:before,
input[type='submit']:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: #000;
  transition: all var(--transition-medium);
  z-index: -1;
}

.btn:hover:before,
button:hover:before,
input[type='submit']:hover:before {
  width: 100%;
}

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

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

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

.btn-outline-primary {
  color: var(--primary-color);
  background-color: transparent;
  border: 2px solid var(--primary-color);
}

.btn-outline-primary:after {
  background-color: transparent;
}

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

.btn-outline-light {
  color: white;
  background-color: transparent;
  border: 2px solid white;
}

.btn-outline-light:after {
  background-color: transparent;
}

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

/* 3D Button Effect */
.btn-3d {
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.2);
}

.btn-3d:hover {
  transform: translate(0, 3px);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.2);
}

.btn-3d:active {
  transform: translate(0, 6px);
  box-shadow: none;
}

/* Navbar Styles */
.navbar-brand {
  font-family: var(--font-heading);
  color: #000 !important;
  font-size: 1.75rem;
}

.navbar-nav .nav-link {
  color: #000 !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color var(--transition-fast);
}

.navbar-nav .nav-link:hover {
  color: var(--mono-100) !important;
}

.navbar-toggler {
  border-color: var(--mono-300);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 0;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
  z-index: -1;
}

.hero-content {
  max-width: 650px;
  padding: var(--space-lg);
  color: white;
  text-align: left;
  backdrop-filter: blur(5px);
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-lg);
  margin-top: 80px;
}

.hero-content h1 {
  color: white;
  font-size: 3.5rem;
  margin-bottom: var(--space-sm);
}

.hero-content p {
  color: var(--mono-200);
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
}

.hero-buttons {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

/* Particles animation */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* About Section */
.about-section {
  background-color: var(--mono-200);
}

.about-image {
  margin-bottom: var(--space-md);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

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

.about-content h3 {
  margin-bottom: var(--space-md);
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.feature-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-round);
  background-color: var(--primary-light);
  padding: var(--space-xs);
}

.feature-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.feature-text h4 {
  margin-bottom: var(--space-xs);
}

/* Solutions Section */
.solutions-section {
  background-color: var(--mono-100);
}

.solution-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.solution-card:hover .card-image img {
  transform: scale(1.1);
}

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

.card-content h3 {
  margin-bottom: var(--space-sm);
  text-align: center;
}

.card-content p {
  margin-bottom: var(--space-md);
  text-align: left;
}

.card-content .btn {
  margin-top: auto;
}

/* Innovation Section */
.innovation-section {
  background-color: var(--mono-200);
  position: relative;
}

.innovation-timeline {
  position: relative;
  padding: var(--space-lg) 0;
}

.innovation-timeline:before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  width: 3px;
  background-color: var(--primary-color);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-xl);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 50px;
  width: 20px;
  height: 20px;
  background-color: var(--primary-color);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-content {
  width: 45%;
  padding: var(--space-md);
  position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
}

.timeline-image {
  margin-top: var(--space-md);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.timeline-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.timeline-date {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--space-sm);
}

/* Resources Section */
.resources-section {
  background-color: var(--mono-100);
}

.resource-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  padding: var(--space-lg);
}

.resource-card h3 {
  margin-bottom: var(--space-md);
  color: var(--secondary-color);
}

.resource-links {
  list-style: none;
  padding: 0;
  margin-top: var(--space-md);
}

.resource-links li {
  margin-bottom: var(--space-sm);
}

.resource-links li a {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 500;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
}

.resource-links li a:hover {
  color: var(--primary-dark);
  border-bottom-color: var(--primary-color);
}

/* Awards Section */
.awards-section {
  background-color: var(--mono-200);
}

.awards-container {
  display: flex;
  flex-wrap: wrap;
}

.award-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  text-align: center;
  padding: var(--space-md);
}

.award-icon {
  width: 120px;
  height: 120px;
  margin-bottom: var(--space-md);
}

.award-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.award-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.award-content h3 {
  margin-bottom: var(--space-xs);
}

.award-content p {
  margin-bottom: var(--space-sm);
}

/* Press Section */
.press-section {
  background-color: var(--mono-100);
}

.press-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.press-logo {
  width: 200px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-md);
}

.press-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.press-content {
  flex: 1;
  text-align: center;
}

.press-date {
  color: var(--mono-600);
  font-style: italic;
  margin-bottom: var(--space-sm);
}

.press-excerpt {
  margin-bottom: var(--space-md);
}

/* Contact Section */
.contact-section {
  background-color: var(--mono-200);
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-md);
}

.info-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  margin-right: var(--space-sm);
}

.info-content h4 {
  margin-bottom: var(--space-xs);
}

.contact-map {
  width: 100%;
  margin-top: var(--space-md);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.contact-map img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.contact-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}

.contact-form h3 {
  margin-bottom: var(--space-md);
}

.form-floating {
  width: 100%;
}

/* Footer Styles */
.site-footer {
  color: var(--mono-300);
}

.site-footer h3, .site-footer h4 {
  color: var(--mono-100);
  margin-bottom: var(--space-md);
}

.footer-info p {
  margin-bottom: var(--space-md);
  color: var(--mono-400);
}

.footer-social {
  margin-top: var(--space-md);
}

.social-links {
  display: flex;
  list-style: none;
  padding: 0;
  gap: var(--space-md);
}

.social-links li a {
  color: var(--mono-300);
  transition: color var(--transition-fast);
}

.social-links li a:hover {
  color: var(--mono-100);
}

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

.footer-links ul li {
  margin-bottom: var(--space-xs);
}

.footer-links ul li a {
  color: var(--mono-400);
  transition: color var(--transition-fast);
}

.footer-links ul li a:hover {
  color: var(--mono-100);
}

.footer-newsletter {
  margin-top: var(--space-sm);
}

.footer-newsletter p {
  color: var(--mono-400);
  margin-bottom: var(--space-sm);
}

.footer-newsletter .input-group {
  margin-top: var(--space-sm);
}

.footer-bottom {
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid var(--mono-800);
}

.copyright {
  color: var(--mono-500);
}

.footer-bottom-links a {
  color: var(--mono-400);
  margin-left: var(--space-md);
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--mono-100);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: 900;
}

.back-to-top:hover {
  background-color: var(--primary-dark);
}

.back-to-top:before {
  content: "↑";
  font-size: 1.5rem;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

/* Success Page */
.success-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: var(--mono-200);
  padding: var(--space-lg);
}

.success-content {
  text-align: center;
  max-width: 600px;
  padding: var(--space-lg);
}

/* Privacy and Terms Pages */
.privacy-page, .terms-page {
  padding-top: 100px;
  padding-bottom: var(--space-xl);
}

.privacy-content, .terms-content {
  background-color: var(--mono-100);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
}

/* Media Queries */
@media (max-width: 991px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .timeline-content {
    width: 100%;
    margin-left: 0 !important;
    margin-bottom: var(--space-lg);
  }
  
  .timeline-dot {
    left: 0;
  }
  
  .innovation-timeline:before {
    left: 10px;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons .btn {
    width: 100%;
    margin-bottom: var(--space-sm);
  }
}

@media (max-width: 767px) {
  .section-header {
    margin-bottom: var(--space-md);
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .back-to-top {
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
  }
}

.form-control,
.form {
  width: 100%;
}

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

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

.terms-page section {
  padding-top: 0;
  padding-bottom: 0;
}

.success-content {
  margin-left: auto;
  margin-right: auto;
}