/* Karunya Institute - Premium Coaching Website Styles */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed&display=swap');

/* CSS Variables - Updated Color Scheme */
:root {
  --primary-color: #667eea; /* Deep Blue */
  --secondary-color: #764ba2; /* Teal */
  --accent-color: #f093fb; /* Light Teal */
  --light-accent: #f7fafc; /* Very Light Green */
  --neutral-color: #718096; /* Gray */
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --error-color: #ef4444;
  --light-gray: #e2e8f0;
  --dark-gray: #2d3748;
  --white: #ffffff;
  --black: #000000;

  /* Gradient Variables */
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #764ba2 0%, #f093fb 100%);
  --hero-gradient: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.9) 0%,
    rgba(118, 75, 162, 0.8) 100%
  );

  /* Font Variables */
  --font-primary: "Poppins", sans-serif;
  --font-secondary: "Inter", sans-serif;

  /* Spacing Variables */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  --spacing-xxl: 64px;

  --font-primary: 'Roboto Condensed', sans-serif; /* Updated to Roboto Condensed */
  --font-secondary: 'Roboto Condensed', sans-serif;
}

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

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

h1 {
  font-size: 3rem;
}
h2 {
  font-size: 2.5rem;
}
h3 {
  font-size: 2rem;
}
h4 {
  font-size: 1.5rem;
}
h5 {
  font-size: 1.25rem;
}
h6 {
  font-size: 1rem;
}

p {
  font-family: var(--font-secondary);
  line-height: 1.5;
  margin-bottom: var(--spacing-sm);
}

/* Button Styles */
.btn {
  border-radius: 8px;
  font-weight: 500;
  padding: 12px 24px;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(27, 94, 150, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(27, 94, 150, 0.4);
  color: var(--white);
}

.btn-secondary {
  background: var(--secondary-gradient);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 166, 147, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 166, 147, 0.4);
  color: var(--white);
}

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

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

/* Navigation Styles */
.custom-navbar {
  background: #6355a8ff;
  backdrop-filter: blur(10px);
  padding: var(--spacing-sm) 0;
  transition: all 0.3s ease;
}

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

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  margin: 0 var(--spacing-xs);
  padding: var(--spacing-xs) var(--spacing-sm) !important;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--white) !important;
  background: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: var(--hero-gradient);
  position: relative;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("/assets/Home.jpg")
    center/cover;
  z-index: -1;
}

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

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  /* margin-bottom: var(--spacing-md); */
  margin-top: 7rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xl);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.hero-buttons {
  margin-bottom: var(--spacing-xl);
}

.trust-badges {
  display: flex;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-weight: 500;
}

.badge-item i {
  font-size: 1.25rem;
  color: var(--secondary-color);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.scroll-arrow {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  animation: bounce 2s infinite;
  cursor: pointer;
  transition: all 0.3s ease;
}

.scroll-arrow:hover {
  border-color: var(--white);
  color: var(--white);
  transform: scale(1.1);
}

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

/* Page Header */
.page-header {
  background: var(--primary-gradient);
  color: var(--white);
  padding: 120px 0 80px;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
}

.page-header p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Stats Cards */
.stat-card {
  background: var(--white);
  border-radius: 15px;
  padding: var(--spacing-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid #e5e7eb;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--spacing-xs);
}

.stat-label {
  color: var(--dark-gray);
  margin: 0;
  font-weight: 500;
}

/* Course Cards */
.course-card {
  background: var(--white);
  border-radius: 15px;
  padding: var(--spacing-xl);
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid #e5e7eb;
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.course-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
  color: var(--white);
  font-size: 2rem;
}

.course-features {
  margin: var(--spacing-md) 0;
  display: flex;
  gap: var(--spacing-xs);
  justify-content: center;
  flex-wrap: wrap;
}

.feature-badge {
  background: var(--light-accent);
  color: var(--primary-color);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

.course-price {
  margin: var(--spacing-md) 0;
}

.course-price .price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
}

.course-price small {
  color: var(--dark-gray);
  margin-left: var(--spacing-xs);
}

/* Topper Cards */
.topper-card {
  background: var(--white);
  border-radius: 15px;
  padding: var(--spacing-lg);
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.topper-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--secondary-gradient);
}

.topper-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.topper-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: var(--spacing-sm);
  border: 4px solid var(--secondary-color);
}

.rank-badge {
  position: absolute;
  top: var(--spacing-sm);
  right: var(--spacing-sm);
  background: var(--secondary-gradient);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.875rem;
}

/* Feature Boxes */
.feature-box {
  text-align: center;
  padding: var(--spacing-xl);
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-box i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

/* Google Rating */
.google-rating {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.stars {
  color: #fcd34d;
}

.rating-text {
  color: var(--dark-gray);
  font-weight: 500;
}

.review-card {
  background: var(--white);
  border-radius: 15px;
  padding: var(--spacing-xl);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
}

.review-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--secondary-gradient);
  border-radius: 15px 15px 0 0;
}

.reviewer {
  margin-top: var(--spacing-sm);
}
.logo {
  height: 40px;
  width: 40px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  padding: 3px;
  margin-right: 10px;
}

.logo:hover {
  transform: scale(1.05);
}

.reviewer strong {
  color: var(--primary-color);
}

.reviewer small {
  color: var(--dark-gray);
  display: block;
}

/* Contact Styles */
.contact-form-container {
  background: var(--white);
  border-radius: 15px;
  padding: var(--spacing-xl);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info {
  background: var(--white);
  border-radius: 15px;
  padding: var(--spacing-xl);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: fit-content;
}

.contact-item {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.contact-details h5 {
  margin-bottom: var(--spacing-xs);
}

.contact-details p {
  margin-bottom: 4px;
}

.contact-details a {
  color: var(--primary-color);
  text-decoration: none;
}

.contact-details a:hover {
  color: var(--secondary-color);
}

.contact-details small {
  color: var(--dark-gray);
}

.social-icons {
  display: flex;
  gap: var(--spacing-sm);
}

.social-icon {
  width: 40px;
  height: 40px;
  background: var(--light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

.map-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.office-hours {
  background: var(--white);
  border-radius: 15px;
  padding: var(--spacing-xl);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid #e5e7eb;
}

.hours-item:last-child {
  border-bottom: none;
}

.hours-item.special {
  background: #fef3c7;
  margin: var(--spacing-sm) -var(--spacing-lg);
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: 8px;
}

.day {
  font-weight: 600;
}

.time {
  color: var(--primary-color);
  font-weight: 500;
}

/* Quick Actions */
.quick-actions h5 {
  margin-bottom: var(--spacing-md);
}

.quick-actions .btn {
  margin-bottom: var(--spacing-xs);
}

/* Success Statistics */
.success-stat {
  padding: var(--spacing-lg);
}

.success-stat h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
}

/* Campus Stats */
.campus-stat {
  text-align: center;
  padding: var(--spacing-lg);
}

.campus-stat i {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: var(--spacing-sm);
}

.campus-stat h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--spacing-xs);
}

/* Timeline */
.timeline {
  position: relative;
  padding: var(--spacing-lg) 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--secondary-color);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--spacing-xl);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: 50%;
  padding-right: var(--spacing-xl);
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 50%;
  padding-left: var(--spacing-xl);
}

.timeline-content {
  background: var(--white);
  border-radius: 15px;
  padding: var(--spacing-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
}

.timeline-content::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  background: var(--secondary-color);
  border-radius: 50%;
  transform: translateY(-50%);
  border: 4px solid var(--white);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -calc(var(--spacing-xl) + 10px);
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -calc(var(--spacing-xl) + 10px);
}

.timeline-content h4 {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 700;
}

.timeline-content h5 {
  color: var(--secondary-color);
  margin-bottom: var(--spacing-sm);
}

/* Faculty Cards */
.faculty-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 400px;
}

.faculty-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.faculty-image {
  height: 250px;
  overflow: hidden;
  position: relative;
  background: #f8f9fa;
}

.faculty-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  transition: transform 0.3s ease;
  display: block;
}

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

.faculty-info {
  padding: var(--spacing-lg);
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.faculty-info h5 {
  margin-bottom: var(--spacing-xs);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-color);
}

.faculty-info p {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: var(--spacing-xs);
  font-size: 0.9rem;
  line-height: 1.4;
}

.faculty-info small {
  color: var(--dark-gray);
  line-height: 1.4;
}

/* Faculty Cards Responsive */
@media (max-width: 768px) {
  .faculty-image {
    height: 200px;
  }

  .faculty-card {
    min-height: 350px;
  }

  .faculty-info {
    padding: var(--spacing-md);
  }

  .faculty-info h5 {
    font-size: 1rem;
  }

  .faculty-info p {
    font-size: 0.85rem;
  }
}

/* Founder Message */
.founder-image {
  border-radius: 15px;
}

.founder-message {
  background: var(--white);
  border-radius: 15px;
  padding: var(--spacing-xl);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.founder-message blockquote {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--dark-gray);
  border-left: 4px solid var(--secondary-color);
  padding-left: var(--spacing-md);
  margin: var(--spacing-md) 0;
}

.founder-details h5 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-xs);
}

.founder-details p {
  margin: 0;
  color: var(--dark-gray);
}

/* Course Detailed Cards */
.course-detailed-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid #e5e7eb;
}

.course-detailed-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.course-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

.course-detailed-card:hover .course-image img {
  transform: scale(1.05);
}

.course-badge {
  position: absolute;
  top: var(--spacing-sm);
  right: var(--spacing-sm);
  background: var(--secondary-gradient);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.success-badge {
  background: var(--success-color) !important;
}

.foundation-badge {
  background: var(--accent-color) !important;
}

.olympiad-badge {
  background: #8b5cf6 !important;
}

.online-badge {
  background: var(--secondary-color) !important;
}

.course-content {
  padding: var(--spacing-lg);
}

.course-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--spacing-sm);
}

.course-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.875rem;
}

.course-rating .fas {
  color: #fcd34d;
}

.course-features {
  margin: var(--spacing-md) 0;
}

.feature {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-xs);
  font-size: 0.875rem;
  color: var(--dark-gray);
}

.feature i {
  color: var(--primary-color);
  width: 16px;
}

.course-actions {
  display: flex;
  gap: var(--spacing-sm);
}

.course-actions .btn {
  flex: 1;
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  text-align: center;
  font-size: 24px;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

/* Call Float Button */
.call-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 50px;
  left: 50px;
  background: var(--primary-gradient);
  color: var(--white);
  border-radius: 50%;
  text-align: center;
  font-size: 24px;
  box-shadow: 0 8px 20px rgba(27, 94, 150, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.call-float:hover {
  transform: scale(1.1);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(27, 94, 150, 0.4);
}

@keyframes pulse {
  0% {
    box-shadow: 0 8px 20px rgba(27, 94, 150, 0.3),
      0 0 0 0 rgba(27, 94, 150, 0.7);
  }
  70% {
    box-shadow: 0 8px 20px rgba(27, 94, 150, 0.3),
      0 0 0 10px rgba(27, 94, 150, 0);
  }
  100% {
    box-shadow: 0 8px 20px rgba(27, 94, 150, 0.3), 0 0 0 0 rgba(27, 94, 150, 0);
  }
}

/* Premium Right Sidebar */
.premium-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background: var(--white);
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
  z-index: 1050;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.premium-sidebar.active {
  right: 0;
}

.sidebar-header {
  background: var(--primary-gradient);
  color: var(--white);
  padding: var(--spacing-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar-header h5 {
  margin: 0;
  font-weight: 600;
}

.sidebar-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.sidebar-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.sidebar-content {
  padding: var(--spacing-lg);
}

.quick-action-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  padding: var(--spacing-lg);
  border-radius: 15px;
  background: var(--light-gray);
  margin-bottom: var(--spacing-md);
  transition: all 0.3s ease;
}

.quick-action-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.quick-action-item i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-top: 4px;
}

.quick-action-item h6 {
  margin-bottom: 4px;
  color: var(--primary-color);
  font-weight: 600;
}

.quick-action-item p {
  margin-bottom: var(--spacing-sm);
  color: var(--dark-gray);
  font-size: 0.875rem;
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sidebar-toggle {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background: var(--secondary-gradient);
  color: var(--white);
  border: none;
  padding: var(--spacing-sm) 8px;
  border-radius: 15px 0 0 15px;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 1030;
  transition: all 0.3s ease;
  box-shadow: -3px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar-toggle:hover {
  background: var(--primary-color);
  transform: translateY(-50%) translateX(-5px);
}

/* Mobile Responsive for Sidebar */
@media (max-width: 768px) {
  .premium-sidebar {
    width: 100%;
    right: -100%;
  }

  .call-float {
    width: 50px;
    height: 50px;
    bottom: 30px;
    left: 30px;
    font-size: 20px;
    box-shadow: 0 6px 15px rgba(27, 94, 150, 0.3);
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 80px;
    right: 20px;
    font-size: 20px;
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3);
  }

  .sidebar-toggle {
    padding: var(--spacing-xs) 6px;
    font-size: 1rem;
  }
}

/* Additional mobile responsiveness improvements */
@media (max-width: 576px) {
  .call-float {
    bottom: 25px;
    left: 25px;
    width: 45px;
    height: 45px;
    font-size: 18px;
  }

  .whatsapp-float {
    bottom: 70px;
    right: 15px;
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
}

/* Ensure buttons do not overlap and have proper spacing */
@media (max-width: 400px) {
  .call-float {
    bottom: 25px;
    left: 20px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .whatsapp-float {
    bottom: 65px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

/* Smooth responsive adjustments for hero buttons */
@media (max-width: 768px) {
  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    width: 100%;
    max-width: 300px;
    margin: 0 auto var(--spacing-xl);
  }

  .hero-buttons .btn {
    width: 100%;
    font-size: 1rem;
    padding: 10px 0;
  }
}

/* Fix potential overflow issues on small devices */
@media (max-width: 576px) {
  html,
  body {
    overflow-x: hidden;
    width: 100%;
  }
  body {
    width: 100%;
    height: 100%;
  }
}
/* Footer Styles */
.footer {
  background: linear-gradient(135deg, #071952 0%, #0b666a 100%);
  color: var(--white);
  padding: var(--spacing-xxl) 0 var(--spacing-lg);
  margin-top: var(--spacing-xxl);
}

.footer-content {
  margin-bottom: var(--spacing-xl);
}

.footer h5 {
  color: var(--white);
  margin-bottom: var(--spacing-md);
  font-weight: 600;
}

.footer p,
.footer li {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--spacing-xs);
}

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

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

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

.footer-links li {
  margin-bottom: var(--spacing-xs);
}

.footer-social {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-lg);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
}

/* Form Validation Styles */
.is-invalid {
  border-color: var(--error-color) !important;
  box-shadow: 0 0 0 0.2rem rgba(244, 67, 54, 0.25) !important;
}

.is-valid {
  border-color: var(--success-color) !important;
  box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25) !important;
}

.error-message {
  color: var(--error-color);
  font-size: 0.875rem;
  margin-top: 4px;
}

/* Loading Animation */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}
html,
body {
  width: 100%;
  overflow-x: hidden;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
    margin-top: 7rem;
  }
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  .trust-badges {
    justify-content: center;
    margin-bottom: 1rem;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 60px;
    margin-right: 0;
    padding-left: var(--spacing-lg);
    padding-right: var(--spacing-lg);
    text-align: left;
  }

  .timeline-content::before {
    left: -40px !important;
  }
}

@media (max-width: 768px) {
  :root {
    --spacing-xs: 6px;
    --spacing-sm: 12px;
    --spacing-md: 18px;
    --spacing-lg: 24px;
    --spacing-xl: 36px;
    --spacing-xxl: 48px;
  }
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

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

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .trust-badges {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: 1rem;
  }

  .page-header {
    padding: 100px 0 60px;
  }

  .page-header h1 {
    font-size: 2.5rem;
  }

  .course-actions {
    flex-direction: column;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 20px;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .hero-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  .navbar-brand {
    font-size: 1.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  h3 {
    font-size: 1.5rem;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
  }

  .stat-card {
    padding: var(--spacing-md);
  }

  .stat-number {
    font-size: 2rem;
  }
}

/* Utility Classes */
.text-primary {
  color: var(--primary-color) !important;
}
.text-secondary {
  color: var(--secondary-color) !important;
}
.bg-primary {
  background: var(--primary-color) !important;
}
.bg-secondary {
  background: var(--secondary-color) !important;
}
.bg-gradient-primary {
  background: var(--primary-gradient) !important;
}
.bg-gradient-secondary {
  background: var(--secondary-gradient) !important;
}

.shadow-sm {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}
.shadow-md {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}
.shadow-lg {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.rounded-sm {
  border-radius: 6px !important;
}
.rounded-md {
  border-radius: 10px !important;
}
.rounded-lg {
  border-radius: 15px !important;
}

.z-index-1051 {
  z-index: 1051 !important;
}

/* YouTube Video Container Styles */
.youtube-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

/* YouTube iframe positioning */
.youtube-container iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.youtube-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: transparent;
}

/* Remove pointer events from iframe */
.youtube-container iframe {
  pointer-events: none;
}

/* Enable play button programmatically */
.youtube-container.playing iframe {
  pointer-events: auto;
}

/* YouTube blocking overlay styles */
.youtube-block-overlay {
  background: transparent;
  border: none;
  /* No visual effects - completely invisible overlays */
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
  .youtube-container {
    height: 300px;
  }

  /* Maintain full coverage on mobile - CRITICAL for blocking YouTube UI */
  .youtube-block-top-right {
    width: 200px !important;
    height: 100px !important;
    top: 0px !important;
    right: 0px !important;
  }

  .youtube-block-bottom-right {
    width: 250px !important;
    height: 100px !important;
    bottom: 0px !important;
    right: 0px !important;
  }

  .youtube-block-bottom-left {
    width: 200px !important;
    height: 100px !important;
    bottom: 0px !important;
    left: 0px !important;
  }
}

@media (max-width: 576px) {
  .youtube-container {
    height: 250px;
  }

  /* Even more coverage for small mobile screens */
  .youtube-block-top-right {
    width: 180px !important;
    height: 90px !important;
    top: 0px !important;
    right: 0px !important;
  }

  .youtube-block-bottom-right {
    width: 220px !important;
    height: 90px !important;
    bottom: 0px !important;
    right: 0px !important;
  }

  .youtube-block-bottom-left {
    width: 180px !important;
    height: 90px !important;
    bottom: 0px !important;
    left: 0px !important;
  }
}
