/* CSS Root Variables - Enhanced Color Scheme with Animation Colors */
:root {
  --primary-color: #0081a7;
  --secondary-color: #00afb9;
  --primary-dark: #005f73;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --white: #ffffff;
  --black: #000000;
  --light-gray: #f8fafc;
  --border-gray: #e5e7eb;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
}
h2{
  text-align: center;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 2rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 1rem;
  }
}

/* Enhanced Glass Navigation - now transparent across all sections */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 129, 167, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 4rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}

.brand-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dark);
  white-space: nowrap;
}

.nav-menu {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

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

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

.nav-link-active::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-color);
  border-radius: 1px;
}

.glass-nav {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Contact Info Bar */
.contact-info-bar {
  background: var(--light-gray);
  border-bottom: 1px solid var(--border-gray);
  padding: 0.5rem 0;
  margin-top: 4rem;
}

.contact-info-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--text-dark);
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-info-icon {
  width: 1rem;
  height: 1rem;
  color: var(--primary-color);
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

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

.btn-secondary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

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

.btn-outline:hover {
  background: var(--white);
  color: var(--text-dark);
  transform: translateY(-1px);
}

/* Mobile Menu */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 2rem;
  height: 2rem;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.25rem;
  cursor: pointer;
  padding: 0.5rem;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.3);
}

.hamburger-line {
  width: 1.25rem;
  height: 0.125rem;
  background: var(--text-dark);
  border-radius: 0.125rem;
  transition: all 0.3s ease;
  margin: 0.125rem 0;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(0.25rem, 0.25rem);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(0.25rem, -0.25rem);
}

.mobile-menu {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.mobile-menu.active {
  max-height: 25rem;
  opacity: 1;
}

.mobile-menu-content {
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.mobile-btn {
  width: 100%;
}

/* Enhanced Hero Section with video background and proper spacing */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 8rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.animated-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 3;
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: floatAnimation 8s ease-in-out infinite;
}

.shape-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  background: linear-gradient(135deg, rgba(0, 129, 167, 0.3), rgba(0, 175, 185, 0.2));
  animation-delay: 0s;
}

.shape-2 {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 15%;
  background: linear-gradient(135deg, rgba(0, 175, 185, 0.3), rgba(0, 129, 167, 0.2));
  animation-delay: 2s;
}

.shape-3 {
  width: 60px;
  height: 60px;
  bottom: 30%;
  left: 20%;
  background: linear-gradient(135deg, rgba(0, 129, 167, 0.4), rgba(0, 175, 185, 0.3));
  animation-delay: 4s;
}

.shape-4 {
  width: 100px;
  height: 100px;
  top: 10%;
  right: 30%;
  background: linear-gradient(135deg, rgba(0, 175, 185, 0.2), rgba(0, 129, 167, 0.3));
  animation-delay: 1s;
}

.shape-5 {
  width: 140px;
  height: 140px;
  bottom: 10%;
  right: 10%;
  background: linear-gradient(135deg, rgba(0, 175, 185, 0.2), rgba(0, 129, 167, 0.4));
  animation-delay: 3s;
}

@keyframes floatAnimation {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.3;
  }
  25% {
    transform: translateY(-20px) rotate(90deg);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-40px) rotate(180deg);
    opacity: 0.4;
  }
  75% {
    transform: translateY(-20px) rotate(270deg);
    opacity: 0.7;
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-text {
  text-align: center;
  color: var(--white);
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.gradient-text {
  color: var(--white);
}

.hero-subtitle {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

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

.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

/* Added proper spacing between hero buttons and next section */
.hero-buttons-spaced {
  margin-bottom: 4rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .hero-stats {
    gap: 3rem;
  }
}

.hero-illustration {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-container {
  position: relative;
}

.hero-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Regular Sections - No Glass Effect */
.section {
  background: var(--white);
  padding: 5rem 0;
}

.section-alt {
  background: var(--light-gray);
  padding: 5rem 0;
}

.section-header {
  margin-bottom: 4rem;
}

/* Course Showcase */
.courses-section {
  padding: 5rem 0;
  background: var(--light-gray);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 32rem;
  margin: 0 auto;
}

/* Compact course grid with minimized cards while keeping all content */
.courses-grid-compact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.course-card-compact {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 0.75rem;
  box-shadow: 0 6px 25px rgba(0, 129, 167, 0.08);
  transition: all 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 320px;
  animation: slideInUp 0.6s ease-out;
}

.course-card-compact:nth-child(1) {
  animation-delay: 0.1s;
}
.course-card-compact:nth-child(2) {
  animation-delay: 0.2s;
}
.course-card-compact:nth-child(3) {
  animation-delay: 0.3s;
}
.course-card-compact:nth-child(4) {
  animation-delay: 0.4s;
}
.course-card-compact:nth-child(5) {
  animation-delay: 0.5s;
}
.course-card-compact:nth-child(6) {
  animation-delay: 0.6s;
}
.course-card-compact:nth-child(7) {
  animation-delay: 0.7s;
}

.course-card-compact:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 129, 167, 0.15);
}

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

.course-header-compact {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
}

.course-header-compact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
  pointer-events: none;
}

.course-header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 2;
}

.course-badge {
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  backdrop-filter: blur(5px);
}

.course-badge.beginner {
  background: rgba(34, 197, 94, 0.2);
}

.course-badge.intermediate {
  background: rgba(251, 191, 36, 0.2);
}

.course-icon {
  font-size: 1.25rem;
  opacity: 0.9;
}

.course-title-compact {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 2;
}

.course-description-compact {
  opacity: 0.95;
  font-size: 0.85rem;
  line-height: 1.4;
  position: relative;
  z-index: 2;
}

.course-content-compact {
  padding: 1.25rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.8);
}

.course-meta-compact {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-light);
}

.course-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.meta-icon {
  font-size: 0.8rem;
  color: var(--primary-color);
}

.course-skills-compact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.skill-tag {
  background: rgba(0, 129, 167, 0.1);
  color: var(--primary-color);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 500;
}

.btn-course-compact {
  width: 100%;
  padding: 0.6rem 1.25rem;
  border: none;
  border-radius: 0.6rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: auto;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  box-shadow: 0 3px 12px rgba(0, 129, 167, 0.25);
  font-size: 0.85rem;
}

.btn-course-compact:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 129, 167, 0.35);
}

/* Reference-style course grid with equal heights and compact design */
.courses-grid-reference {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.course-card-reference {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(0, 129, 167, 0.1);
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(0, 129, 167, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 420px; /* Fixed height for equal card sizes */
  animation: slideInUp 0.6s ease-out;
  position: relative;
}

.course-card-reference::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.course-card-reference:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 129, 167, 0.15);
}

.course-header-reference {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  min-height: 80px;
}

.course-header-reference::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
  pointer-events: none;
}

.course-level-badge {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(5px);
  position: relative;
  z-index: 2;
}

.course-level-badge.beginner {
  background: rgba(34, 197, 94, 0.3);
}

.course-level-badge.intermediate {
  background: rgba(251, 191, 36, 0.3);
}

.course-icon-reference {
  font-size: 1.5rem;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}

.course-content-reference {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.8);
}

.course-title-reference {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
  line-height: 1.3;
}

.course-description-reference {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.course-meta-reference {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--text-light);
}

.course-meta-item-reference {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.course-meta-item-reference i {
  color: var(--primary-color);
  font-size: 0.9rem;
}

.course-skills-reference {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.skill-tag-reference {
  background: rgba(0, 129, 167, 0.1);
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(0, 129, 167, 0.2);
}

.btn-enroll-reference {
  width: 100%;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: auto;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 129, 167, 0.3);
  font-size: 0.9rem;
}
.btn-btn-course{
   width: 100%;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: auto;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 129, 167, 0.3);
  font-size: 0.9rem;
}
.btn-enroll-reference:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 129, 167, 0.4);
}

/* About Section */
.about-section {
  padding: 5rem 0;
  background: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.about-description {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.7;
}

.about-features {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

.feature-item {
  text-align: center;
  padding: 1rem;
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: all 0.3s ease;
  font-size: 1.5rem;
  color: var(--white);
  background: var(--primary-color);
}

.feature-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

/* Founder Section */
.founder-section {
  padding: 5rem 0;
  background: var(--light-gray);
}

.founder-container-minimal {
  max-width: 800px;
  margin: 0 auto;
}

.founder-card-minimal {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
}

.founder-image-minimal {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.founder-photo-minimal {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.founder-info-minimal {
  text-align: center;
}

.founder-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.founder-role {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.founder-description {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
  text-align: left;
}

/* Blog Section */
.blog-section {
  padding: 5rem 0;
  background: var(--white);
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
}

.blog-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.blog-image-container {
  position: relative;
  overflow: hidden;
}

.blog-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-image {
  transform: scale(1.05);
}

.blog-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
  background: var(--primary-color);
}

.blog-content {
  padding: 1.5rem;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--text-light);
}

.blog-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-excerpt {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.btn-blog {
  background: var(--primary-color);
  color: var(--white);
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.875rem;
  text-decoration: none;
  display: inline-block;
}

.btn-blog:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.blog-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Gallery Section */
.gallery-section {
  padding: 5rem 0;
  background: var(--light-gray);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.gallery-item-large {
  grid-column: span 1;
  grid-row: span 2;
}

.gallery-item:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

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

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

.gallery-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.gallery-description {
  font-size: 0.875rem;
  opacity: 0.9;
}

.gallery-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Testimonials */
.testimonials-section {
  padding: 5rem 0;
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  break-inside: avoid;
  margin-bottom: 0;
  height: auto;
  min-height: 280px;
}

.glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(0, 129, 167, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 129, 167, 0.15);
}

.testimonial-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.star {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary-color);
}

.testimonial-text {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-style: italic;
  flex-grow: 1;
  font-size: 0.95rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
  background: var(--primary-color);
}

.author-info {
  flex: 1;
}

.author-name {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.125rem;
  font-size: 0.95rem;
}

.author-role {
  font-size: 0.8rem;
  color: var(--text-light);
}

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

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section {
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-brand-text {
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.social-link svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.contact-info {
  font-style: normal;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

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

.contact-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

.footer-credit {
  font-size: 0.875rem;
}

.footer-credit-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-credit-link:hover {
  color: var(--primary-color);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0, 129, 167, 0.3);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

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

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0, 129, 167, 0.4);
}

.back-to-top svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Responsive Design */
@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .hero-stats {
    gap: 3rem;
  }

  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

  .footer-section {
    text-align: left;
  }

  .footer-brand {
    justify-content: flex-start;
  }

  .social-links {
    justify-content: flex-start;
  }

  .contact-item {
    justify-content: flex-start;
  }

  .contact-info-content {
    gap: 3rem;
  }
}

@media (min-width: 768px) {
  .nav-menu {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }

  .hero-text {
    text-align: left;
  }

  .hero-subtitle {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-buttons {
    justify-content: flex-start;
  }

  .hero-stats {
    justify-content: flex-start;
  }

  .hero-title {
    font-size: 3rem;
  }

  .section-title {
    font-size: 3rem;
  }

  .about-content {
    grid-template-columns: 2fr 1fr;
    align-items: start;
  }

  .founder-card-minimal {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }

  .founder-image-minimal {
    margin-bottom: 0;
    margin-right: 2rem;
  }

  .founder-info-minimal {
    text-align: left;
  }

  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-item-large {
    grid-column: span 2;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Utility Classes */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}
.hidden {
  display: none;
}
.visible {
  display: block;
}

/* Focus States for Accessibility */
.btn:focus,
.nav-link:focus,
.mobile-link:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .navbar {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--black);
  }

  .footer {
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid var(--white);
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .shape {
    animation: none;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .back-to-top,
  .animated-background {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
  }

  h1,
  h2,
  h3 {
    page-break-after: avoid;
  }
}

/* Additional animations and effects */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive design for course cards */
@media (max-width: 768px) {
  .courses-grid-reference {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .course-card-reference {
    height: auto;
    min-height: 380px;
  }

  .course-header-reference {
    padding: 1.25rem;
    min-height: 70px;
  }

  .course-content-reference {
    padding: 1.25rem;
  }

  .course-title-reference {
    font-size: 1.1rem;
  }

  .course-description-reference {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .course-card-reference {
    min-height: 360px;
  }

  .course-meta-reference {
    flex-direction: column;
    gap: 0.5rem;
  }

  .course-skills-reference {
    gap: 0.25rem;
  }

  .skill-tag-reference {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
  }
}
