:root {
  /* Color Palette */
  --primary-color: #3A7BD5;
  --primary-hover: #2a6fc7;
  --primary-active: #1b63b9;
  --secondary-color: #76ABFF;
  --accent-color: #0F4C81;
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-light: #888888;
  --background-light: #f8f9fa;
  --background-white: #ffffff;
  --background-card: rgba(255, 255, 255, 0.7);
  --border-color: rgba(0, 0, 0, 0.1);
  
  /* Glassmorphism variables */
  --glass-background: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  --glass-blur: 10px;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Work Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background-light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

p {
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
}

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

a:hover {
  color: var(--primary-hover);
}

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

/* Glassmorphism Effect */
.glassmorphism {
  background: var(--glass-background);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.glassmorphism:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(31, 38, 135, 0.2);
}

/* Buttons */
.btn {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  padding: 0.5rem 1.5rem;
  border: none;
  transition: all var(--transition-normal);
  text-transform: capitalize;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  z-index: -1;
}

.btn:hover::after {
  height: 100%;
}

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

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

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

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

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

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

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

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.25rem 1rem;
  font-size: 0.875rem;
}

/* Header & Navigation */
header {
  transition: all var(--transition-normal);
  z-index: 1000;
  width: 100vw !important;
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.nav-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0 0.5rem;
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition-normal);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-normal);
}

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

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

/* Hero Section */
.hero-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
}

.hero-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}

.hero-section h1 {
  margin-bottom: 1.5rem;
  font-size: 3.5rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section .lead {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 80%;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Parallax effect */
.parallax-effect {
  background-attachment: fixed;
}

/* Features Section */
.feature-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.feature-card .card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

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

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

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

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

/* Statistics Section */
.statistics-section {
  background-color: var(--background-light);
}

.stat-card {
  text-align: center;
}

.stat-card h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* Webinars Section */
.webinar-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.webinar-card .card-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

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

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

.webinar-card .webinar-date {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--primary-color);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-sm) 0 0 0;
  font-size: 0.85rem;
}

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

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

/* Behind the Scenes */
.behind-scenes-image {
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.accordion-item {
  overflow: hidden;
  margin-bottom: 1rem;
}

.accordion-button {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  padding: 1rem;
}

.accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background-color: rgba(58, 123, 213, 0.05);
}

/* Events Section */
.event-card {
  overflow: hidden;
  transition: transform var(--transition-normal);
}

.event-card:hover {
  transform: translateY(-5px);
}

.event-card .card-image {
  overflow: hidden;
  height: 100%;
}

.event-card img {
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.event-card .event-date {
  font-size: 0.85rem;
  color: var(--primary-color);
  font-weight: 600;
}

.event-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

/* Resources Section */
.resource-card {
  height: 100%;
}

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

.resource-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.resource-list li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.resource-list li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary-color);
}

.resource-list a {
  color: var(--text-secondary);
  transition: color var(--transition-normal);
}

.resource-list a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Awards Section */
.awards-image {
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.award-item h3 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.award-item p.text-muted {
  margin-bottom: 0.75rem;
  font-style: italic;
}

/* News Section */
.news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.news-card .card-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

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

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

.news-card .news-date {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--primary-color);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-sm) 0 0 0;
  font-size: 0.85rem;
}

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

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

/* Pricing Section */
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-align: center;
}

.pricing-card.premium {
  transform: scale(1.05);
  z-index: 2;
  border: 2px solid var(--primary-color);
}

.pricing-card .popular-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: 0 var(--radius-md) 0 var(--radius-md);
  font-weight: 600;
}

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

.price-tag {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.price-tag .currency {
  font-size: 1.2rem;
  margin-right: 0.25rem;
  color: var(--text-primary);
}

.price-tag .amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.price-tag .period {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-left: 0.25rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.feature-list li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
  text-align: left;
}

.feature-list li::before {
  content: '✓';
  color: var(--primary-color);
  position: absolute;
  left: 0;
}

/* Careers Section */
.career-card h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.career-card p.text-muted {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-style: italic;
}

/* Press Section */
.press-card {
  height: 100%;
}

.press-logo {
  width: 150px;
  height: 50px;
  margin-bottom: 1rem;
}

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

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

.press-quote {
  font-style: italic;
  margin-bottom: 1rem;
}

/* Contact Section */
.contact-info h3, .contact-form h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.contact-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.contact-form label {
  font-weight: 500;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: white;
  padding: 3rem 0 1.5rem;
}

.footer h4, .footer h5 {
  color: white;
  font-weight: 600;
}

.footer p, .footer a {
  color: rgba(255, 255, 255, 0.8);
}

.footer a:hover {
  color: white;
  text-decoration: underline;
}

.footer .nav-link {
  color: rgba(255, 255, 255, 0.8);
  padding: 0.25rem 0;
}

.footer .nav-link:hover {
  color: white;
}

.social-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-normal);
  text-decoration: none;
}

.social-links a:hover {
  color: white;
  text-decoration: underline;
}

.newsletter-form .form-control {
  background-color: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
}

.newsletter-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

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

.newsletter-form .btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

/* Success Page */
.success-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
}

.success-card {
  max-width: 600px;
  padding: 2rem;
}

/* Terms & Privacy Pages */
.terms-page, .privacy-page {
  padding-top: 100px;
}

/* Media Queries */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: var(--glass-background);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-top: 1rem;
  }
  
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .hero-section .lead {
    font-size: 1.1rem;
    max-width: 100%;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .pricing-card.premium {
    transform: none;
  }
}

@media (max-width: 767.98px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .card {
    margin-bottom: 1.5rem;
  }
  
  .awards-image {
    margin-bottom: 2rem;
  }
  
  .social-links {
    margin-top: 1.5rem;
  }
}

/* AOS Animation Styles */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
  transition-timing-function: ease-out;
}

[data-aos="fade-up"] {
  transform: translateY(50px);
}

[data-aos="fade-right"] {
  transform: translateX(-50px);
}

[data-aos="fade-left"] {
  transform: translateX(50px);
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translate(0, 0);
}

/* Custom Animation for Cards */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

.card:hover {
  animation: float 3s ease-in-out infinite;
}

/* Counter Animation */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.counter {
  animation: countUp 1s ease forwards;
}

/* Style for card images */
.card-image {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.card-image img {
  margin: 0 auto;
}

/* Style for "Citește mai mult" links */
a.btn-outline-primary {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

a.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(58, 123, 213, 0.3);
}

/* Ensure content doesn't overlap with fixed header */
main {
  padding-top: 70px;
}

/* Ensure all sections have proper spacing */
section {
  position: relative;
  z-index: 1;
}

/* Additional utility classes */
.text-primary {
  color: var(--primary-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}