:root {
  /* Main Colors */
  --primary-color: #3a6ea5;
  --primary-light: #4c85c2;
  --primary-dark: #2a5080;
  --secondary-color: #5d9cec;
  --secondary-light: #80b5f5;
  --secondary-dark: #4a85c9;
  --accent-color: #6dc0c0;
  --accent-light: #8dd5d5;
  --accent-dark: #55a3a3;
  
  /* Neutrals */
  --dark: #333333;
  --medium: #666666;
  --light: #f8f9fa;
  --white: #ffffff;
  
  /* Text Colors */
  --text-dark: #222222;
  --text-medium: #555555;
  --text-light: #f8f9fa;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --gradient-accent: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  --gradient-dark: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.5));
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 16px rgba(0,0,0,0.1);
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-circle: 50%;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

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

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

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

.section-title {
  position: relative;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-align: center;
}

.title-underline {
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  margin: 0 auto 2rem;
  border-radius: var(--radius-sm);
}

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

/* Custom Button Styles */
.btn {
  position: relative;
  overflow: hidden;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all var(--transition-fast);
  border: none;
  box-shadow: var(--shadow-sm);
  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: height var(--transition-fast);
  z-index: -1;
}

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

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

.btn-primary:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

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

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

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

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

.navbar {
  padding: 1rem 0;
  background-color: rgba(0, 0, 0, 0.8);
}

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

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

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--white);
  transition: width var(--transition-fast), left var(--transition-fast);
}

.navbar-nav .nav-link:hover::after {
  width: 80%;
  left: 10%;
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
}

.navbar-dark .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%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 180px 0 120px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--white);
  overflow: hidden;
  background-image: url('./image/about-1.jpg')
}

.hero-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-dark);
  z-index: 1;
}

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

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

.hero-section p {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

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

/* About Section */
.about-section {
  padding: 100px 0;
  background-color: var(--white);
}

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

.about-image-container {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-container img {
  transition: transform var(--transition-medium);
}

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

.stats-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 2rem;
}

.stat-card {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform var(--transition-fast);
  margin-bottom: 1rem;
}

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

.stat-card h4 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-card p {
  margin-bottom: 0;
  color: var(--text-medium);
}

/* History Section */
.history-section {
  padding: 100px 0;
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--white);
}

.history-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-dark);
  z-index: 1;
}

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

.history-section h2 {
  color: var(--white);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  padding: 2rem 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: 50%;
  width: 16px;
  height: 16px;
  background-color: var(--accent-color);
  border-radius: var(--radius-circle);
  transform: translateX(-50%);
  z-index: 2;
}

.timeline-content {
  position: relative;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  width: calc(50% - 40px);
  margin-left: auto;
  transition: transform var(--transition-fast);
}

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

.timeline-content:hover {
  transform: translateY(-5px);
}

.timeline-content h4 {
  color: var(--accent-light);
  margin-bottom: 1rem;
}

.timeline-content p {
  color: var(--white);
  margin-bottom: 0;
}

/* Courses Section */
.courses-section {
  padding: 100px 0;
  background-color: var(--light);
}

.course-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.image-container {
  height: 240px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-content h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.card-content ul {
  padding-left: 1.25rem;
  margin-bottom: 1.5rem;
}

.card-content ul li {
  margin-bottom: 0.5rem;
}

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

/* Resources Section */
.resources-section {
  padding: 100px 0;
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.resources-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-dark);
  z-index: 1;
}

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

.resources-container {
  margin-top: 2rem;
}

.resource-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  height: 100%;
  transition: transform var(--transition-fast);
}

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

.resource-card h4 {
  color: var(--white);
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 0.5rem;
}

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

.resource-list li {
  margin-bottom: 0.75rem;
}

.resource-list li a {
  color: var(--white);
  display: block;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}

.resource-list li a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--accent-light);
}

/* Testimonials Section */
.testimonials-section {
  padding: 100px 0;
  background-color: var(--white);
}

.testimonial-card {
  background-color: var(--light);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-fast);
}

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

.testimonial-image {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
}

.testimonial-image img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius-circle);
  border: 4px solid var(--primary-color);
  box-shadow: var(--shadow-md);
}

.testimonial-content {
  position: relative;
}

.rating {
  display: flex;
  gap: 5px;
  margin-bottom: 1rem;
  color: #FFD700;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  padding: 0 1rem;
}

.testimonial-text::before,
.testimonial-text::after {
  content: '"';
  font-size: 2rem;
  color: var(--primary-light);
  position: absolute;
}

.testimonial-text::before {
  left: -5px;
  top: -10px;
}

.testimonial-text::after {
  right: -5px;
  bottom: -30px;
}

.testimonial-author {
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--primary-color);
}

.testimonial-position {
  font-size: 0.9rem;
  color: var(--text-medium);
  margin-bottom: 0;
}

/* Gallery Section */
.gallery-section {
  padding: 100px 0;
  background-color: var(--light);
}

.gallery-grid {
  margin-top: 2rem;
}

.gallery-item {
  margin-bottom: 30px;
}

.gallery-image {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 250px;
}

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

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: var(--white);
  transform: translateY(100%);
  transition: transform var(--transition-fast);
}

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

.gallery-image:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h5 {
  margin-bottom: 0.25rem;
  color: var(--white);
}

.gallery-overlay p {
  margin-bottom: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Contact Section */
.contact-section {
  padding: 100px 0;
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.contact-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-dark);
  z-index: 1;
}

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

.contact-info h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.contact-details {
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-right: 1rem;
}

.contact-form-container {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  color: var(--white);
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder,
.contact-form select::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  background-color: rgba(255, 255, 255, 0.3);
  outline: none;
  box-shadow: none;
}

.form-check-input {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* FAQ Section */
.faq-section {
  padding: 100px 0;
  background-color: var(--light);
}

.accordion-item {
  margin-bottom: 1rem;
  border: none;
  border-radius: var(--radius-md) !important;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.accordion-button {
  padding: 1.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--primary-color);
  background-color: var(--white);
  box-shadow: none !important;
}

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

.accordion-button:focus {
  border-color: transparent;
  box-shadow: none;
}

.accordion-button::after {
  transition: transform var(--transition-fast);
}

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

/* Footer */
.footer {
  background-color: #1a1a1a;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

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

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

.social-links a {
  color: var(--text-light);
  transition: color var(--transition-fast);
  text-decoration: none;
}

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

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

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

.footer-links a {
  color: var(--text-light);
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--accent-light);
  transform: translateX(5px);
}

.newsletter-form .form-control {
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.newsletter-form .btn {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.newsletter-form .form-control:focus {
  background-color: rgba(255, 255, 255, 0.2);
  outline: none;
  box-shadow: none;
}

hr.bg-white-50 {
  opacity: 0.1;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  padding: 1rem 0;
  z-index: 9999;
  display: none;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-content p {
  color: var(--white);
  margin-bottom: 0;
  padding-right: 1rem;
}

.cookie-content a {
  color: var(--accent-light);
}

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

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

.success-icon {
  font-size: 4rem;
  color: #4CAF50;
  margin-bottom: 1.5rem;
}

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

.success-message {
  margin-bottom: 2rem;
}

/* Other Pages (Privacy, Terms) */
.page-content {
  padding-top: 120px;
  padding-bottom: 100px;
}

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

/* Animations */
.animate__animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate__fadeIn {
  animation-name: fadeIn;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.animate__fadeInUp {
  animation-name: fadeInUp;
}

/* Parallax Effect */
.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Media Queries */
@media (max-width: 991.98px) {
  .hero-section {
    padding: 150px 0 100px;
  }
  
  .hero-section h1 {
    font-size: 2.8rem;
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-item::before {
    left: 30px;
  }
  
  .timeline-content {
    width: calc(100% - 60px);
    margin-left: 60px !important;
  }
  
  .contact-info {
    margin-bottom: 3rem;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    padding: 130px 0 80px;
  }
  
  .hero-section h1 {
    font-size: 2.2rem;
  }
  
  .hero-section p {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .stat-card {
    margin-bottom: 1rem;
  }
  
  .testimonial-image {
    margin-bottom: 2rem;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-content p {
    margin-bottom: 1rem;
    padding-right: 0;
  }
}

@media (max-width: 575.98px) {
  .hero-section h1 {
    font-size: 1.8rem;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  
  .gallery-image {
    height: 200px;
  }
  
  .contact-form-container {
    padding: 1.5rem;
  }
}