:root {
  /* Color Palette - Triadic Color Scheme */
  --primary-color: #2c3e50;
  --secondary-color: #27ae60;
  --accent-color: #e74c3c;
  --light-color: #ecf0f1;
  --dark-color: #1a252f;
  
  /* Gradients */
  --primary-gradient: linear-gradient(135deg, var(--primary-color), #34495e);
  --secondary-gradient: linear-gradient(135deg, var(--secondary-color), #2ecc71);
  --accent-gradient: linear-gradient(135deg, var(--accent-color), #c0392b);
  
  /* Shadows */
  --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  --hover-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  
  /* Typography */
  --heading-font: 'Roboto', sans-serif;
  --body-font: 'Lato', sans-serif;
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;
  
  /* Spacing */
  --section-spacing: 100px;
  --element-spacing: 30px;
}

/* Base Styles */
body {
  font-family: var(--body-font);
  color: var(--primary-color);
  background-color: var(--light-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

p {
  color: #495057;
  margin-bottom: 1.5rem;
}

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

a:hover {
  color: #219653;
  text-decoration: none;
}

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

/* Section Styles */
.section {
  padding: 80px 0;
  position: relative;
}

.section-title {
  position: relative;
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
  color: var(--primary-color);
}

.section-divider {
  width: 80px;
  height: 4px;
  background: var(--secondary-gradient);
  margin: 0 auto 2.5rem;
  border-radius: 2px;
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 2rem;
  color: #495057;
}

/* Button Styles */
.btn {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  font-weight: 500;
  transition: all var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 24px;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: all var(--transition-medium);
  z-index: -1;
}

.btn:hover::before {
  left: 0;
}

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

.btn-primary:hover, .btn-primary:focus {
  background: var(--secondary-color);
  box-shadow: var(--hover-shadow);
  transform: translateY(-2px);
}

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

.btn-outline-light:hover, .btn-outline-light:focus {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transform: translateY(-2px);
}

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

.btn-outline-primary:hover, .btn-outline-primary:focus {
  background: var(--secondary-color);
  color: white;
  transform: translateY(-2px);
}

/* Header & Navigation */
header {
  transition: all var(--transition-fast);
  z-index: 1000;
}

.navbar {
  padding: 15px 0;
  transition: all var(--transition-fast);
}

.navbar-brand {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.5rem;
  color: white;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  padding: 10px 15px;
  transition: color var(--transition-fast);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
  color: white;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 0;
  margin-top: 76px;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 85vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  text-align: center;
  position: relative;
}

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

.hero-container p {
  color: white;
  font-size: 1.25rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  margin-top: 2rem;
}

/* About Section */
.about-section .image-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-medium);
}

.about-section .image-container:hover {
  transform: translateY(-10px);
  box-shadow: var(--hover-shadow);
}

.about-section h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

/* Mission Section */
.mission-section {
  background-color: #f8f9fa;
}

.mission-section .image-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-medium);
}

.mission-section .image-container:hover {
  transform: translateY(-10px);
  box-shadow: var(--hover-shadow);
}

.mission-section h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

/* Innovation Section */
.innovation-section .card {
  border: none;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-medium);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.innovation-section .card-image {
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

.innovation-section .card-title {
  color: var(--primary-color);
  margin-top: 1rem;
  margin-bottom: 1rem;
}

/* Resources Section */
.resources-section .card {
  border: none;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-medium);
  height: 100%;
}

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

.resources-section .card-title {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.resources-section .btn {
  margin-top: 1rem;
}

/* Pricing Section */
.pricing-section .pricing-card {
  border: none;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-medium);
  height: 100%;
}

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

.pricing-section .pricing-card.featured {
  position: relative;
  border: 2px solid var(--secondary-color);
  z-index: 1;
}

.pricing-section .card-header {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
  padding: 25px 20px;
  border-bottom: none;
}

.pricing-section .featured .card-header {
  background: var(--secondary-gradient);
}

.pricing-section .price {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 15px 0;
}

.pricing-section .card-body ul li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 1.5rem;
}

.pricing-section .card-body ul li::before {
  content: '✓';
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  top: 0;
}

.pricing-section .card-footer {
  background-color: transparent;
  border-top: none;
  padding: 20px;
}

/* Ribbon for featured pricing card */
.ribbon {
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  overflow: hidden;
  z-index: 1;
}

.ribbon span {
  position: absolute;
  display: block;
  width: 225px;
  padding: 8px 0;
  background-color: var(--accent-color);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  color: white;
  font-size: 0.875rem;
  text-transform: uppercase;
  text-align: center;
  right: -25px;
  top: 30px;
  transform: rotate(45deg);
}

/* Events Calendar Section */
.events-section .event-card {
  border: none;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-medium);
  height: 100%;
}

.events-section .event-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--hover-shadow);
}

.events-section .event-date {
  display: inline-block;
  background: var(--primary-gradient);
  color: white;
  text-align: center;
  padding: 10px 15px;
  border-radius: 4px;
  margin-bottom: 20px;
  float: right;
}

.events-section .event-date .day {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.events-section .event-date .month {
  display: block;
  font-size: 0.875rem;
  text-transform: uppercase;
}

.events-section .card-title {
  color: var(--primary-color);
  margin-bottom: 1rem;
  padding-right: 80px;
}

/* Careers Section */
.careers-section .career-card {
  border: none;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-medium);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.careers-section .card-image {
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.careers-section .career-card:hover .card-image img {
  transform: scale(1.1);
}

.careers-section .card-title {
  color: var(--primary-color);
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.careers-section ul {
  padding-left: 1.2rem;
}

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

/* Contact Section */
.contact-section .contact-info {
  padding: 30px;
  background-color: white;
  border-radius: 8px;
  box-shadow: var(--card-shadow);
}

.contact-section .contact-item h4 {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.contact-section .contact-item p {
  margin-bottom: 0;
}

.contact-section .contact-card {
  border: none;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.contact-section .form-control {
  border: 1px solid #ced4da;
  padding: 12px 15px;
  border-radius: 4px;
  margin-bottom: 1rem;
  transition: all var(--transition-fast);
}

.contact-section .form-control:focus {
  box-shadow: none;
  border-color: var(--secondary-color);
}

.contact-section .form-select {
  border: 1px solid #ced4da;
  padding: 12px 15px;
  border-radius: 4px;
  margin-bottom: 1rem;
  transition: all var(--transition-fast);
}

.contact-section .form-select:focus {
  box-shadow: none;
  border-color: var(--secondary-color);
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: white;
  padding-top: 60px;
}

.footer-title {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: var(--secondary-gradient);
  border-radius: 2px;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: white;
  text-decoration: none;
  padding-left: 5px;
}

.footer-bottom {
  margin-top: 40px;
}

/* Social Media Icons in Footer */
.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.25rem;
  transition: color var(--transition-fast);
}

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

/* Success Page */
.success-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: 20px;
  background: var(--light-color);
}

.success-container {
  max-width: 600px;
  padding: 40px;
  background: white;
  border-radius: 8px;
  box-shadow: var(--card-shadow);
}

.success-icon {
  font-size: 4rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

/* Privacy & Terms Pages */
.content-page {
  padding-top: 150px;
  padding-bottom: 80px;
}

.content-page h1 {
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.content-page h2 {
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

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

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Media Queries */
@media (max-width: 991.98px) {
  .section {
    padding: 60px 0;
  }
  
  .hero-container h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .navbar-collapse {
    background-color: rgba(26, 37, 47, 0.95);
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
  }
}

@media (max-width: 767.98px) {
  .section {
    padding: 50px 0;
  }
  
  .hero-container {
    min-height: 70vh;
  }
  
  .hero-container h1 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .about-section .image-container,
  .mission-section .image-container {
    margin-bottom: 30px;
  }
  
  .contact-section .contact-info {
    margin-bottom: 30px;
  }
}

@media (max-width: 575.98px) {
  .hero-container {
    min-height: 60vh;
  }
  
  .hero-container h1 {
    font-size: 1.75rem;
  }
  
  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin: 10px 0;
  }
  
  .hero-buttons .btn:first-child {
    margin-right: 0;
  }
}

/* Utilities */
.bg-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.5));
  z-index: -1;
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--light-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity var(--transition-medium);
}

.preloader.fade-out {
  opacity: 0;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(39, 174, 96, 0.3);
  border-radius: 50%;
  border-top-color: var(--secondary-color);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ScrollToTop Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--secondary-gradient);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: 99;
}

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

.scroll-to-top:hover {
  transform: translateY(-5px);
}
html,body{
  overflow-x: hidden;
}