/* ================================
   KVTC Modern Theme
   Yellow, Black, White Design System
   ================================ */

:root {
  /* Brand Colors */
  --kvtc-yellow: #FFD700;
  --kvtc-yellow-light: #FFE55C;
  --kvtc-yellow-dark: #FFC700;
  --kvtc-black: #0A0A0A;
  --kvtc-black-light: #1A1A1A;
  --kvtc-white: #FFFFFF;
  --kvtc-gray: #F5F5F5;
  --kvtc-gray-dark: #CCCCCC;
  
  /* Flat Backgrounds */
  --bg-primary: #FFD700;
  --bg-dark: #0A0A0A;
  --bg-overlay: rgba(10, 10, 10, 0.85);
  
  /* Typography */
  --font-primary: 'Poppins', sans-serif;
  --font-display: 'Playfair Display', serif;
  
  /* Spacing */
  --section-padding: 100px;
  --section-padding-mobile: 60px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --shadow-glow: 0 0 30px rgba(255, 215, 0, 0.3);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ================================
   Global Styles
   ================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.7;
  color: var(--kvtc-black);
  background: var(--kvtc-white);
  overflow-x: hidden;
}

/* Skip link for keyboard users */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--kvtc-yellow);
  color: var(--kvtc-black);
  padding: 0.5rem 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: top var(--transition-fast);
  z-index: 1100;
}

.skip-link:focus {
  top: 16px;
}

/* Ensure images are visible by default */
img {
  opacity: 1;
  max-width: 100%;
  height: auto;
}

::selection {
  background: var(--kvtc-yellow);
  color: var(--kvtc-black);
}

/* ================================
   Navbar
   ================================ */

#mainNav {
  padding: 1rem 0;
  transition: all var(--transition-base);
  background: rgba(10, 10, 10, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

#mainNav.shrink {
  padding: 0.5rem 0;
  background: var(--kvtc-black);
  box-shadow: var(--shadow-md);
}

.navbar-brand .brand-logo {
  border-radius: 50%;
  transition: transform var(--transition-base);
}

.navbar-brand:hover .brand-logo {
  transform: rotate(360deg) scale(1.1);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-title {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--kvtc-yellow);
  letter-spacing: 1px;
}

.brand-subtitle {
  font-size: 0.7rem;
  color: var(--kvtc-gray-dark);
  font-weight: 400;
}

.navbar-nav .nav-link {
  color: var(--kvtc-white) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: color var(--transition-base);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--kvtc-yellow);
  transition: all var(--transition-base);
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 60%;
}

.navbar-nav .nav-link:hover {
  color: var(--kvtc-yellow) !important;
}

/* ================================
   Buttons
   ================================ */

.btn {
  font-weight: 600;
  border-radius: var(--radius-lg);
  padding: 0.75rem 2rem;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.btn-primary-glow {
  background: var(--kvtc-yellow);
  color: var(--kvtc-black);
  box-shadow: var(--shadow-glow);
}

.btn-primary-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.5);
  color: var(--kvtc-black);
}

.btn-outline-glow {
  background: transparent;
  border: 2px solid var(--kvtc-yellow);
  color: var(--kvtc-white);
}

.btn-outline-glow:hover {
  background: var(--kvtc-yellow);
  color: var(--kvtc-black);
  transform: translateY(-2px);
}

.btn-contact {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--kvtc-black);
  padding: 0.65rem 1.5rem;
}

.btn-contact:hover {
  background: var(--kvtc-black);
  color: var(--kvtc-yellow);
  transform: translateY(-2px);
}

.btn-whatsapp:hover {
  background: #25D366;
  color: white;
  border-color: #25D366;
}

.btn-facebook:hover {
  background: #1877F2;
  color: white;
  border-color: #1877F2;
}

.btn-cta {
  background: var(--kvtc-black);
  color: var(--kvtc-yellow);
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  box-shadow: var(--shadow-lg);
}

.btn-cta:hover {
  background: var(--kvtc-yellow);
  color: var(--kvtc-black);
  transform: translateY(-3px) scale(1.05);
}

.btn-icon {
  font-size: 1.2rem;
  transition: transform var(--transition-base);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* Ripple Effect */
.interactive-btn {
  position: relative;
  overflow: hidden;
}

.interactive-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.interactive-btn:active::before {
  width: 300px;
  height: 300px;
}

/* Pulse Animation */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.pulse-btn {
  animation: pulse 2s infinite;
}

/* ================================
   Hero Section
   ================================ */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--kvtc-black);
  z-index: 0;
}

.hero-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:rgb(255,215,0);stop-opacity:0.1" /><stop offset="100%" style="stop-color:rgb(255,165,0);stop-opacity:0" /></linearGradient></defs><circle cx="200" cy="150" r="300" fill="url(%23grad)" /><circle cx="900" cy="600" r="400" fill="url(%23grad)" /></svg>');
  background-size: cover;
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-overlay);
  z-index: 1;
}

.hero-section .container {
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 215, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 215, 0, 0.3);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  color: var(--kvtc-yellow);
  font-weight: 600;
  font-size: 0.9rem;
}

.badge-icon {
  font-size: 1.2rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--kvtc-white);
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.25rem);
  color: var(--kvtc-yellow);
  font-weight: 600;
}

.hero-description {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
}

/* Hero Stats */
.hero-stats {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--kvtc-yellow);
  font-family: var(--font-display);
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255, 215, 0, 0.3);
}

/* Hero Image */
.hero-image-wrapper {
  position: relative;
  animation: subtleFloat 6s ease-in-out infinite;
}

.hero-img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255, 215, 0, 0.2);
}

/* Floating Cards */
.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--kvtc-black);
  animation: subtleFloat 4s ease-in-out infinite;
}

.floating-card-1 {
  top: 10%;
  left: -10%;
  animation-delay: 0s;
}

.floating-card-2 {
  bottom: 15%;
  right: -5%;
  animation-delay: 1s;
}

.icon-wrap {
  font-size: 2rem;
  background: var(--kvtc-yellow);
  color: var(--kvtc-black);
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.scroll-indicator a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--kvtc-white);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity var(--transition-base);
}

.scroll-indicator a:hover {
  opacity: 1;
}

.scroll-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.scroll-line {
  width: 2px;
  height: 40px;
  background: var(--kvtc-yellow);
  animation: scrollPulse 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* ================================
   Sections
   ================================ */

section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--kvtc-yellow);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2rem;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 2px;
  background: var(--kvtc-yellow);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--kvtc-black);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-description {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* ================================
   About Section
   ================================ */

.about-section {
  background: var(--kvtc-gray);
}

.about-image-wrapper {
  position: relative;
  display: inline-block;
}

.about-image-bg {
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  background: var(--kvtc-yellow);
  border-radius: var(--radius-xl);
  z-index: 0;
}

.about-logo {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  background: white;
  padding: 2rem;
}

.about-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--kvtc-black);
  color: var(--kvtc-yellow);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1.4;
  z-index: 2;
}

.info-box {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border-left: 4px solid var(--kvtc-yellow);
}

.info-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.info-content strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--kvtc-black);
}

.info-content p {
  margin: 0;
  color: #666;
}

/* ================================
   Courses Section
   ================================ */

.courses-section {
  background: white;
}

/* ================================
   Team Section
   ================================ */

.team-section {
  background: var(--kvtc-gray);
  padding: var(--section-padding) 0;
}

.team-section .section-label {
  background: rgba(10, 10, 10, 0.08);
  color: var(--kvtc-black);
}

.team-section .section-title {
  color: var(--kvtc-black);
}

.team-section .section-description {
  max-width: 640px;
  margin: 0 auto;
  color: #666;
}

.team-category {
  margin-bottom: 3rem;
}

.team-category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.team-category-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--kvtc-yellow);
  color: var(--kvtc-black);
  font-size: 1.4rem;
  box-shadow: var(--shadow-sm);
}

.team-category-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: var(--kvtc-black);
}

.team-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.team-photo-wrapper {
  position: relative;
  padding-top: 100%;
  overflow: hidden;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  background: var(--kvtc-gray);
}

.team-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.team-card:hover .team-photo {
  transform: scale(1.05);
}

.team-info {
  padding: 1.5rem;
  text-align: center;
}

.team-name {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--kvtc-black);
}

.team-role {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

@media (max-width: 575.98px) {
  .team-category {
    margin-bottom: 2.5rem;
  }

  .team-category-header {
    align-items: flex-start;
  }

  .team-category-icon {
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
  }
}

.course-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.course-image {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.course-card:hover .course-image img {
  transform: scale(1.1);
}

.course-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 10, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.course-card:hover .course-overlay {
  opacity: 1;
}

.course-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.course-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--kvtc-black);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.course-subtitle {
  font-size: 0.95rem;
  color: #666;
  font-weight: 500;
}

.course-description {
  font-size: 0.9rem;
  color: #777;
  line-height: 1.6;
  margin: 0;
}

/* ================================
   CTA Section
   ================================ */

.cta-section {
  background: var(--kvtc-yellow);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--kvtc-black);
  line-height: 1.3;
}

.cta-description {
  font-size: 1.1rem;
  color: rgba(0, 0, 0, 0.8);
  margin: 0;
}

/* ================================
   Contact Section
   ================================ */

.contact-section {
  background: var(--kvtc-gray);
}

.contact-info-card {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  height: 100%;
}

.contact-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

.contact-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.contact-item-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.contact-item-content {
  flex: 1;
}

.contact-item-content strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--kvtc-black);
  font-size: 0.95rem;
}

.contact-item-content a {
  color: #666;
  text-decoration: none;
  transition: color var(--transition-base);
}

.contact-item-content a:hover {
  color: var(--kvtc-yellow);
}

.contact-item-content p {
  color: #666;
  margin: 0;
  line-height: 1.6;
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 500px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
}

/* ================================
   Footer
   ================================ */

.footer-section {
  background: var(--kvtc-black);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-brand img {
  border-radius: 50%;
}

.footer-brand h5 {
  color: var(--kvtc-yellow);
  font-weight: 700;
  margin-top: 1rem;
}

.footer-title {
  color: var(--kvtc-yellow);
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all var(--transition-base);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--kvtc-yellow);
  transform: translateX(5px);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  font-size: 1.25rem;
  text-decoration: none;
  transition: all var(--transition-base);
}

.social-link:hover {
  background: var(--kvtc-yellow);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
}

/* ================================
   Modern Minimalist Animations
   ================================ */

/* Fade In Up Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade In Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Slide In Left */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Slide In Right */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Scale In */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Subtle Float */
@keyframes subtleFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Scroll Animations */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* Smooth Card Hover */
.course-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Icon Animations */
.course-icon,
.info-icon,
.contact-item-icon,
.badge-icon {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.course-card:hover .course-icon {
  transform: scale(1.1) rotate(5deg);
}

.info-box:hover .info-icon {
  transform: scale(1.15);
}

.contact-item:hover .contact-item-icon {
  transform: scale(1.1) rotate(-5deg);
}

/* Subtle Glow on Hover */
.btn-primary-glow:hover {
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

/* Smooth Image Zoom */
.course-image img,
.hero-img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Navigation Link Smooth Transition */
.navbar-nav .nav-link {
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Floating Card Subtle Animation */
.floating-card {
  animation: subtleFloat 4s ease-in-out infinite;
}

/* Social Link Smooth Hover */
.social-link {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Button Text Transition */
.btn .btn-icon {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth Background Transitions */
.btn,
.btn-contact {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Contact Button Icon Slide */
.btn-contact:hover .contact-icon {
  transform: translateX(3px);
}

/* Hero Stats Counter Animation */
.stat-number {
  transition: color 0.3s ease;
}

/* Navbar Smooth Transitions */
#mainNav {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Info Box Hover Effect */
.info-box {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-box:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

/* Contact Card Smooth Hover */
.contact-info-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Footer Links Smooth Slide */
.footer-links a {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* About Logo Hover */
.about-logo {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image-wrapper:hover .about-logo {
  transform: scale(1.02);
}

/* Scroll Line Pulse */
@keyframes scrollPulse {
  0%, 100% {
    opacity: 1;
    transform: translateY(0);
  }
  50% {
    opacity: 0.5;
    transform: translateY(10px);
  }
}

.scroll-line {
  animation: scrollPulse 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* ================================
   Additional Modern Enhancements
   ================================ */

/* Contact Buttons Responsiveness */
.contact-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

@media (max-width: 576px) {
  .contact-buttons {
    flex-direction: column;
  }
  
  .contact-buttons .btn {
    width: 100%;
  }
}

/* Hero Elements Entrance */
.hero-badge {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s backwards;
}

.hero-title {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s backwards;
}

.hero-subtitle,
.hero-description {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s backwards;
}

.hero-section .btn {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.8s backwards;
}

/* Section Headers Animation */
.section-label {
  animation: slideInLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-title {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s backwards;
}

/* Hover State for All Links */
a {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced Focus States for Accessibility */
a:focus,
button:focus,
.btn:focus {
  outline: 2px solid var(--kvtc-yellow);
  outline-offset: 2px;
}

/* Smooth Text Selection */
::selection {
  background: var(--kvtc-yellow);
  color: var(--kvtc-black);
}

::-moz-selection {
  background: var(--kvtc-yellow);
  color: var(--kvtc-black);
}

/* Contact Icon Smooth Transition */
.contact-icon {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reduce Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ================================
   Responsive
   ================================ */

/* Tablet Optimizations */
@media (min-width: 768px) and (max-width: 991px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .course-card {
    margin-bottom: 1.5rem;
  }
  
  .about-image-wrapper {
    max-width: 80%;
    margin: 0 auto;
  }
  
  .hero-stats {
    justify-content: center;
    gap: 2rem !important;
  }
}

/* Desktop Optimizations */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .hero-title {
    font-size: 4.5rem;
  }
  
  .section-title {
    font-size: 3.5rem;
  }
}

@media (min-width: 1200px) {
  .floating-card {
    display: flex;
  }
}

@media (max-width: 991px) {
  :root {
    --section-padding: 60px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .floating-card {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    padding: 100px 0 60px;
  }
  
  .stat-divider {
    display: none;
  }
  
  .map-wrapper {
    height: 350px;
  }
  
  .navbar-toggler {
    border: none;
    padding: 0.5rem;
  }
  
  .navbar-collapse {
    background: rgba(10, 10, 10, 0.98);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: var(--radius-md);
  }
  
  .scroll-indicator {
    bottom: 20px;
  }
  
  .scroll-text {
    font-size: 0.65rem;
  }
  
  .scroll-line {
    height: 30px;
  }
}

@media (max-width: 576px) {
  .btn-lg {
    padding: 0.65rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .hero-badge {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
  }
  
  .hero-section {
    padding: 80px 0 40px;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .course-image {
    height: 200px;
  }
  
  .course-card {
    margin-bottom: 1rem;
  }
  
  .cta-title {
    font-size: 1.25rem;
    line-height: 1.4;
  }
  
  .contact-info-card {
    padding: 1.5rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem !important;
  }
  
  .stat-item {
    text-align: center;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .d-flex.gap-3 {
    flex-direction: column;
  }
  
  .hero-image-wrapper {
    margin-top: 2rem;
  }
  
  .scroll-indicator {
    display: none;
  }
}

/* ================================
   Utility Classes
   ================================ */

.fade-in {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
