/* Variables */
:root {
  /* Primary Color Palette */
  --primary-color: #007bff;
  --primary-dark: #0056b3;
  --primary-light: #80bdff;
  --secondary-color: #6610f2;
  --secondary-dark: #4b0cb3;
  --secondary-light: #a370f7;
  --accent-color: #00c9a7;
  --accent-dark: #00a886;
  --accent-light: #5adfc7;
  
  /* Neutrals */
  --text-color: #2a2a2a;
  --text-light: #6c757d;
  --background: #f8f9fa;
  --background-light: #ffffff;
  --background-dark: #e9ecef;
  
  /* Shadows & Effects */
  --neumorph-light: #ffffff;
  --neumorph-dark: rgba(0, 0, 0, 0.1);
  --transition-speed: 0.3s;
  --shadow-small: 5px 5px 10px var(--neumorph-dark), -5px -5px 10px var(--neumorph-light);
  --shadow-medium: 10px 10px 20px var(--neumorph-dark), -10px -10px 20px var(--neumorph-light);
  --shadow-large: 15px 15px 30px var(--neumorph-dark), -15px -15px 30px var(--neumorph-light);
  --shadow-inset: inset 5px 5px 10px var(--neumorph-dark), inset -5px -5px 10px var(--neumorph-light);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Archivo Black', sans-serif;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

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

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

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

/* Typography */
.section-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

/* Layout */
.section {
  padding: 5rem 0;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-speed);
}

.navbar {
  background-color: transparent;
}

.logo {
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.8rem;
  color: var(--primary-color);
  margin: 0;
}

.navbar-item {
  font-weight: 500;
  transition: color var(--transition-speed);
}

.navbar-item:hover {
  color: var(--primary-color);
  background-color: transparent !important;
}

.navbar-burger {
  height: 4.25rem;
}

/* Neumorphism Styles */
.neumorph-box {
  border-radius: 15px;
  background-color: var(--background);
  box-shadow: var(--shadow-medium);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  overflow: hidden;
}

.neumorph-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-large);
}

.neumorph-mini-box {
  border-radius: 10px;
  background-color: var(--background);
  box-shadow: var(--shadow-small);
  transition: all var(--transition-speed);
}

.neumorph-mini-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.neumorph-img {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-small);
  transition: transform var(--transition-speed);
}

.neumorph-img:hover {
  transform: scale(1.02);
}

.neumorph-button {
  box-shadow: var(--shadow-small);
  transition: all var(--transition-speed);
  border: none !important;
}

.neumorph-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.neumorph-button:active {
  box-shadow: var(--shadow-inset);
  transform: translateY(0);
}

.neumorph-input, 
.neumorph-select select, 
.neumorph-textarea {
  border: none !important;
  box-shadow: var(--shadow-inset);
  background-color: var(--background);
  transition: all var(--transition-speed);
}

.neumorph-input:focus, 
.neumorph-select select:focus, 
.neumorph-textarea:focus {
  box-shadow: var(--shadow-small);
}

/* Hero Section */
.hero {
  position: relative;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: #FFFFFF;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.scroll-down {
  animation: bounce 2s infinite;
}

.scroll-down .icon {
  color: white;
  font-size: 2rem;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

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

.about-section .neumorph-box {
  padding: 2.5rem;
}

/* Services Section */
.services-section {
  background-color: var(--background);
}

.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card .card-image {
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  flex: 0 0 auto;
  width: 100%;
  height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card .card-content {
  flex: 1;
  padding: 1.5rem;
}

.service-card h3 {
  color: var(--primary-color);
}

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

.research-section .neumorph-box {
  height: 100%;
}

/* Methodology Section */
.methodology-section {
  background-color: var(--background);
}

.timeline {
  position: relative;
  padding: 1rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2.5rem;
  height: 100%;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 5rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--primary-color);
  z-index: 1;
}

.timeline-content {
  position: relative;
}

.timeline-content h3 {
  color: var(--primary-color);
}

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

.image-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--transition-speed);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 0.5rem;
  text-align: center;
  font-size: 0.9rem;
}

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

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

.award-image {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: var(--shadow-small);
}

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

.webinar-item {
  display: flex;
  align-items: center;
}

.webinar-date {
  flex: 0 0 auto;
  text-align: center;
}

.webinar-archives {
  margin-top: 2rem;
}

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

.archive-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
}

/* FAQ Section */
.faq-section {
  background-color: var(--background);
}

.accordion-item {
  overflow: hidden;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color var(--transition-speed);
}

.accordion-header:hover {
  background-color: rgba(0, 0, 0, 0.03);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-speed);
}

.accordion-item.is-active .accordion-content {
  max-height: 500px;
}

.accordion-item.is-active .accordion-header .icon {
  transform: rotate(180deg);
}

.accordion-header .icon {
  transition: transform var(--transition-speed);
}

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

.contact-item {
  display: flex;
  align-items: flex-start;
}

.icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

.contact-form .field {
  margin-bottom: 1.5rem;
}

.regional-offices {
  margin-top: 1.5rem;
}

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

.resource-link {
  display: block;
  transition: all var(--transition-speed);
}

.resource-link:hover {
  transform: translateY(-3px);
}

.resource-link h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.resource-link p {
  color: var(--text-light);
  margin-bottom: 0;
}

/* Footer */
.footer {
  background-color: #2a2a2a;
  color: #ffffff;
  padding: 4rem 0 2rem;
}

.footer h3 {
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.footer p {
  color: #cccccc;
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #cccccc;
  transition: color var(--transition-speed);
}

.footer-links a:hover {
  color: var(--primary-light);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.social-links a {
  color: #cccccc;
  margin-right: 1rem;
  transition: color var(--transition-speed);
}

.social-links a:hover {
  color: var(--primary-light);
}

.copyright {
  border-top: 1px solid #444444;
  padding-top: 1.5rem;
  color: #999999;
}

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

.success-icon {
  font-size: 5rem;
  color: var(--accent-color);
  margin-bottom: 2rem;
}

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

.privacy-page .content, 
.terms-page .content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

/* Media Queries */
@media screen and (max-width: 1023px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .timeline::before {
    left: 1.5rem;
  }
  
  .timeline-item {
    padding-left: 4rem;
  }
  
  .timeline-marker {
    width: 35px;
    height: 35px;
  }
}

@media screen and (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .neumorph-box {
    padding: 1.5rem;
  }
  
  .timeline::before {
    display: none;
  }
  
  .timeline-item {
    padding-left: 0;
    margin-bottom: 2rem;
  }
  
  .timeline-marker {
    position: relative;
    margin-bottom: 1rem;
    left: auto;
    top: auto;
  }
  
  .contact-item {
    flex-direction: column;
  }
  
  .icon-wrapper {
    margin-bottom: 1rem;
  }
  
  .image-gallery {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .award-item {
    margin-bottom: 2rem;
  }
}

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

.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

/* Custom Button Styles */
.button {
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all var(--transition-speed);
}

.button.is-primary {
  background-color: var(--primary-color);
}

.button.is-primary:hover {
  background-color: var(--primary-dark);
}

.button.is-light {
  background-color: var(--background-light);
  color: var(--text-color);
}

.button.is-light:hover {
  background-color: var(--background-dark);
}

/* Read More Links */
.read-more {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 500;
  position: relative;
  padding-right: 1.5rem;
  transition: all var(--transition-speed);
}

.read-more::after {
  content: '→';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform var(--transition-speed);
}

.read-more:hover {
  color: var(--primary-dark);
  padding-right: 1.8rem;
}

.read-more:hover::after {
  transform: translateY(-50%) translateX(3px);
}

/* Cookie Consent */
#cookieConsent {
  background-color: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 20px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  text-align: center;
}

#acceptCookies {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 20px;
  margin-top: 10px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color var(--transition-speed);
}

#acceptCookies:hover {
  background-color: var(--primary-dark);
}
*{
  opacity: 1 !important;
}