:root {
  /* Primary Colors */
  --primary-color: #ff5588;
  --primary-dark: #e63f74;
  --primary-light: #ff80aa;
  --secondary-color: #4466ff;
  --secondary-dark: #3355dd;
  --secondary-light: #6699ff;
  --accent-color: #44ddff;
  --accent-dark: #33ccee;
  --accent-light: #77eeff;
  
  /* Gradient Colors */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  --gradient-dark: linear-gradient(135deg, #20253a, #343c64);
  
  /* Neutral Colors */
  --dark-color: #151c2e;
  --dark-medium: #20253a;
  --gray-color: #a0a0b0;
  --light-gray: #e0e0e8;
  --light-color: #f5f6fa;
  
  /* Text Colors */
  --text-dark: #1e1e2f;
  --text-medium: #3e3e5f;
  --text-light: #f0f0f8;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  
  /* Borders */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  
  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-retro: 6px 6px 0px rgba(0, 0, 0, 0.2);
}

/* Base Styles */
body {
  font-family: 'Lato', sans-serif;
  color: var(--text-medium);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--light-color);
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  color: var(--text-dark);
}

.section-title {
  position: relative;
  margin-bottom: var(--spacing-md);
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  margin: 15px auto 0;
  background: var(--gradient-primary);
  border-radius: var(--border-radius-sm);
}

/* Buttons */
.btn {
  position: relative;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-secondary);
  z-index: -1;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  color: var(--text-light);
}

.btn-primary:hover, .btn-primary:focus {
  background: var(--gradient-primary);
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  border: 2px solid var(--text-light);
  color: var(--text-light);
}

.btn-outline-light:hover, .btn-outline-light:focus {
  background: var(--text-light);
  color: var(--primary-color);
  transform: translateY(-3px);
}

.retro-button {
  border: none;
  box-shadow: var(--shadow-retro);
  transition: all 0.2s ease;
}

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

.retro-button:active {
  transform: translate(6px, 6px);
  box-shadow: none;
}

/* Header & Navigation */
.retro-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  padding: 10px 0;
}

.navbar {
  padding: 15px 0;
}

.navbar-nav .nav-link {
  position: relative;
  margin: 0 10px;
  padding: 10px 5px;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.navbar-brand img {
  max-height: 60px;
  width: 80px !important;
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  margin-top: 0;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
  z-index: 1;
}

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

.hero-section h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease-out;
}

.hero-section p {
  font-size: 1.25rem;
  max-width: 600px;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out 0.3s;
  animation-fill-mode: both;
}

.hero-section .btn {
  animation: fadeInUp 1s ease-out 0.6s;
  animation-fill-mode: both;
}

.retro-text {
  text-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2);
  letter-spacing: 2px;
}

/* Vision Section */
.vision-section {
  position: relative;
  overflow: hidden;
  padding: var(--spacing-xl) 0;
}

.asymmetric-image {
  position: relative;
  transform: rotate(-3deg) translateY(-20px);
  box-shadow: var(--shadow-lg);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: transform 0.5s ease;
}

.asymmetric-image:hover {
  transform: rotate(0deg) translateY(-10px);
}

.asymmetric-image img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

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

.vision-stats {
  margin: var(--spacing-md) 0;
}

.retro-stat-box {
  background: var(--gradient-secondary);
  color: var(--text-light);
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-retro);
  transform: rotate(-2deg);
  transition: transform 0.3s ease;
}

.retro-stat-box:hover {
  transform: rotate(0deg) translateY(-5px);
}

.retro-stat-box h3 {
  font-size: 2.5rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.retro-stat-box p {
  font-size: 1rem;
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Portfolio Section */
.portfolio-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--light-color);
}

.portfolio-card {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-content h4 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.card-content p {
  flex: 1;
  margin-bottom: 1.5rem;
}

.card-content .btn {
  align-self: flex-start;
}

/* Innovation Section */
.innovation-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--light-gray);
  position: relative;
  overflow: hidden;
}

.innovation-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: var(--gradient-accent);
  opacity: 0.1;
  border-radius: 50%;
  transform: translate(50%, -50%);
}

.innovation-card {
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  transform: rotate(-1deg);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.innovation-card:hover {
  transform: rotate(0deg) translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.animated-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  transition: transform 0.3s ease;
}

.innovation-card:hover .animated-icon {
  transform: scale(1.1) translateY(-5px);
}

.icon-3d {
  fill: none;
  stroke: var(--primary-color);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: all 0.3s ease;
}

.innovation-card:hover .icon-3d {
  stroke: url(#gradient);
  filter: drop-shadow(0 0 8px var(--primary-light));
}

/* External Resources Section */
.external-resources-section {
  padding: var(--spacing-xl) 0;
}

.retro-resource-cards {
  display: flex;
  flex-wrap: wrap;
}

.resource-card {
  background: white;
  border-radius: var(--border-radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-retro);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.resource-card h4 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.resource-card p {
  margin-bottom: 1.5rem;
  flex: 1;
}

.resource-card:hover {
  transform: translateY(-10px);
  box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.1);
}

/* Partners Section */
.partners-section {
  padding: var(--spacing-lg) 0;
  background-color: white;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  padding: 10px;
  transition: all 0.3s ease;
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.partner-logo:hover img {
  filter: grayscale(0%);
  transform: scale(1.1);
}

/* Success Stories Section */
.success-stories-section {
  padding: var(--spacing-xl) 0;
}

.success-story-card {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: white;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.success-story-card .image-container {
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-story-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.success-story-card:hover img {
  transform: scale(1.1);
}

.success-story-card .card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.success-story-card .card-text {
  margin-bottom: 1rem;
}

.success-story-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* FAQ Section */
.faq-section {
  padding: var(--spacing-xl) 0;
  position: relative;
  background-color: var(--light-color);
}

.faq-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 300px;
  height: 300px;
  background: var(--gradient-primary);
  opacity: 0.1;
  border-radius: 50%;
  transform: translate(-50%, 50%);
}

.retro-accordion-item {
  border: none;
  margin-bottom: 1rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.3s ease;
}

.retro-accordion-item:hover {
  box-shadow: var(--shadow-md);
}

.accordion-button {
  background-color: white;
  font-weight: bold;
  color: var(--text-dark);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background-color: white;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--primary-light);
}

.accordion-button::after {
  background-size: 1rem;
  transition: all 0.3s ease;
}

.accordion-body {
  padding: 1.5rem;
  background-color: white;
}

/* Careers Section */
.careers-section {
  padding: var(--spacing-xl) 0;
}

.career-card {
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.career-card .card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.career-card h4 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.career-card p {
  flex: 1;
}

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

.career-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* Contact Section */
.contact-section {
  padding: var(--spacing-xl) 0;
  background-color: white;
}

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

.contact-info h4 {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  color: var(--primary-color);
}

.contact-info h4 i {
  margin-right: 10px;
}

.contact-form-container {
  background: var(--light-color);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transform: rotate(1deg);
  transition: transform 0.3s ease;
}

.contact-form-container:hover {
  transform: rotate(0deg);
}

.retro-form .form-control {
  border-radius: var(--border-radius-md);
  padding: 0.75rem 1rem;
  border: 2px solid var(--light-gray);
  transition: all 0.3s ease;
}

.retro-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: none;
}

.retro-form label {
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.retro-form .form-check-label {
  font-weight: normal;
}

/* Footer */
.footer-section {
  padding: var(--spacing-xl) 0 var(--spacing-lg);
  background: var(--gradient-dark);
  color: var(--text-light);
}

.footer-section h4, .footer-section h5 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-section p {
  color: var(--light-gray);
}

.footer-section .list-unstyled li {
  margin-bottom: 0.75rem;
}

.footer-section .text-white {
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-section .text-white::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -3px;
  left: 0;
  background-color: var(--primary-light);
  transition: width 0.3s ease;
}

.footer-section .text-white:hover {
  color: var(--primary-light) !important;
}

.footer-section .text-white:hover::after {
  width: 100%;
}

.social-links a {
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: bold;
}

.social-links a:hover {
  color: var(--primary-light) !important;
  transform: translateY(-3px);
}

.newsletter-form .form-control {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border: none;
}

.newsletter-form .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* Modals */
.retro-modal {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.modal-header {
  background: var(--gradient-primary);
  color: white;
  border-bottom: none;
}

.modal-title {
  color: white;
}

.modal-body {
  padding: 2rem;
}

.modal-footer {
  border-top: none;
}

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

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

.counter {
  animation: count 2s ease-out;
}

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

/* Additional pages styles */
.privacy-page, .terms-page {
  padding-top: 100px;
}

.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.success-container {
  max-width: 600px;
  padding: 3rem;
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  animation: fadeInUp 1s ease;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .section-title {
    font-size: 2rem;
  }
  
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .asymmetric-image {
    transform: rotate(-2deg) translateY(-10px);
    margin-bottom: 2rem;
  }
  
  .contact-form-container {
    transform: none;
    margin-top: 2rem;
  }
  
  .retro-stat-box {
    margin-bottom: 1rem;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    padding: 100px 0 60px;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .retro-stat-box {
    transform: none;
  }
  
  .asymmetric-image {
    transform: none;
  }
  
  .contact-info {
    text-align: center;
  }
}

/* Print styles */
@media print {
  .navbar, .hero-section, .footer-section, .contact-section {
    display: none;
  }
  
  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }
  
  .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
  }
}