:root {
  --primary: #1a4d7a;
  --primary-dark: #0f2e47;
  --accent: #00b4d8;
  --accent-light: #90e0ef;
  --text-dark: #1a1a2e;
  --text-muted: #6c757d;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.15);
  --border-radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Karla', sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  background: var(--bg-white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

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

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

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.navbar-nav .nav-link {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  position: relative;
  transition: var(--transition);
}

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

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 80%;
}

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

.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

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

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.15) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle, rgba(26, 77, 122, 0.1) 0%, transparent 70%);
  animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(5deg); }
  66% { transform: translate(-20px, 20px) rotate(-5deg); }
}

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

.btn-outline-primary{
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-title {
  font-size: clamp(2rem, 6vw, 3.5rem);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--text-muted);
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-cta {
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

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

.hero-visual {
  position: relative;
  animation: fadeInRight 1s ease-out 0.3s backwards;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.floating-card {
  position: absolute;
  background: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.floating-card:nth-child(1) {
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.floating-card:nth-child(2) {
  bottom: 15%;
  right: 5%;
  animation-delay: 2s;
}

/* Section Styling */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  position: relative;
  display: inline-block;
}

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

/* Timeline Section */
.timeline-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  position: relative;
  overflow: hidden;
}

.timeline-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

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

.timeline-item {
  display: flex;
  margin-bottom: 4rem;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-dot {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin: 0 2rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.timeline-content {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  flex: 1;
  transition: var(--transition);
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* Course Cards */
.course-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  position: relative;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.course-card:hover::before {
  transform: scaleX(1);
}

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

.course-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.course-content {
  padding: 2rem;
}

.course-tag {
  display: inline-block;
  background: var(--accent-light);
  color: var(--primary-dark);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.course-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1rem 0;
}

/* Learning Path Map */
.learning-path {
  background: linear-gradient(135deg, #1a4d7a 0%, #0f2e47 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.learning-path::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.path-step {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.path-step:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

.path-number {
  width: 50px;
  height: 50px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

/* Lab Results Style */
.lab-results {
  background: #f8f9fa;
}

.result-card {
  background: white;
  border-left: 4px solid var(--accent);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.result-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(5px);
}

.result-label {
  font-family: 'Courier New', monospace;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.result-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 0.5rem;
}

/* Trust Section */
.trust-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.trust-badge {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.trust-badge:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.trust-icon {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* Blog Cards */
.blog-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

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

.blog-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.blog-content {
  padding: 2rem;
}

.blog-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.2) 0%, transparent 70%);
  animation: rotate 30s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.cta-content {
  position: relative;
  z-index: 1;
}

.btn-light-custom {
  background: white;
  color: var(--primary);
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-light-custom:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  display: block;
  padding: 0.5rem 0;
  transition: var(--transition);
}

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

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-right: 0.5rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(26, 77, 122, 0.98);
  backdrop-filter: blur(10px);
  color: white;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner .btn {
  margin: 0 0.5rem;
}

/* Contact Form */
.contact-form {
  background: white;
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.form-control {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

.error-message {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: none;
}

/* Course Detail Page */
.course-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 6rem 0 4rem;
}

.course-modules {
  background: #f8f9fa;
}

.module-item {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.module-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(5px);
}

.price-box {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 100px;
}

/* Article Page */
.article-hero {
  background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
  padding: 4rem 0;
}

.article-content {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

.article-content h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content ul, .article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

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

.article-image {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  margin: 2rem 0;
}

/* Policy Pages */
.policy-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 0;
}

.policy-content h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.policy-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.policy-content p, .policy-content ul, .policy-content ol {
  margin-bottom: 1.5rem;
}

.policy-content ul, .policy-content ol {
  padding-left: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .timeline-item {
    flex-direction: column !important;
  }
  
  .timeline-dot {
    margin: 0 auto 1rem;
  }
  
  .hero-section {
    min-height: auto;
    padding: 4rem 0;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .contact-form {
    padding: 2rem;
  }
}

/* Animations */
[data-aos] {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos].aos-animate {
  opacity: 1;
}

/* Loading Animation */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.loading {
  animation: pulse 1.5s ease-in-out infinite;
}

/* Decorative Elements */
.decorative-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  pointer-events: none;
}

.decorative-shape-1 {
  width: 300px;
  height: 300px;
  background: var(--accent);
  top: 10%;
  right: 5%;
}

.decorative-shape-2 {
  width: 200px;
  height: 200px;
  background: var(--primary);
  bottom: 10%;
  left: 5%;
}




.navbar-brand img{
    max-width: 250px;
    width: 250px;
    object-fit: contain;
}

html{
    overflow-x: hidden;
}


footer .navbar-brand img{
    filter: brightness(0) invert(1);
}

.footer-text{
    margin-top: 20px;
}