/* Custom Properties */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #64748b;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --dark: #0f172a;
  --light: #f8fafc;
  --muted: #64748b;
  --muted-dark: #475569;
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: var(--gradient-hero);
  min-height: 100vh;
  overflow-x: hidden;
  padding-top: 40px; /* Fixed header space */
  padding-bottom: 40px; /* Fixed footer space */
}

/* Animated Background */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-hero);
  z-index: -2;
}

.animated-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 20% 20%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 118, 117, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(120, 119, 198, 0.2) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
}

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

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Fixed Header */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 800;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
  padding: 0.5rem 0;
  background: rgba(15, 23, 42, 0.98);
  box-shadow: var(--shadow-lg);
}

.glass-nav {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  text-decoration: none;
}

.logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
/*  background: var(--gradient-primary);*/
}

.brand-title {
  background: linear-gradient(135deg, #fff 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.nav-link {
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--primary) !important;
  transform: translateY(-2px);
}

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

.nav-link:hover::after {
  width: 100%;
  left: 0;
}

/* Buttons */
.btn-cta {
  background: var(--gradient-primary);
  border: none;
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.btn-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-cta:hover::before {
  left: 100%;
}

.btn-outline-cta {
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  background: transparent;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-outline-cta:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
/*  min-height: 100vh;*/
  display: flex;
  align-items: center;
  position: relative;
  padding: 2rem 0;
}

.hero-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 20000px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-left {
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-right {
  z-index: 2;
}

.hero-carousel {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 5px solid rgba(255, 255, 255, 0.2);
}

.hero-carousel img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

/* Utility Classes */
.py-8 {
  padding: 5rem 0;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Feature Cards */
.feature-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  color: white;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  background: rgba(255, 255, 255, 0.15);
}

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

.feature-card h5 {
  color: white;
  margin-bottom: 1rem;
}

.feature-card .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Pricing Cards */
.plan-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.plan-card.featured {
  background: var(--gradient-primary);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.plan-card.featured:hover {
  transform: scale(1.08) translateY(-10px);
}

.price {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
}

.plan-card h5 {
  color: white;
}

.plan-card .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

.plan-card ul li {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
}

/* Directors Section */
.director-carousel {
  max-width: 800px;
  margin: 0 auto;
}

.director-slide {
  padding: 2rem;
}

.director-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  color: white;
}

.director-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 4px solid rgba(255, 255, 255, 0.3);
}

.director-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.director-role {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.director-desc {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  max-height: 200px;
  overflow-y: auto;
}

/* Contact Section */
.contact-section {
  position: relative;
}

.floating-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2rem;
  height: fit-content;
}

/* Forms */
.form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  color: white;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-label {
  color: white;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.invalid-feedback {
  color: var(--danger);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.was-validated .form-control:invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.was-validated .form-control:valid {
  border-color: var(--success);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Fixed Footer */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  z-index: 1000;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  body {
    padding-top: 70px;
    padding-bottom: 70px;
  }

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

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

  .hero-sub {
    font-size: 1.1rem;
  }

  .hero-carousel img {
    height: 300px;
  }

  .py-8 {
    padding: 3rem 0;
  }

  .feature-card,
  .plan-card,
  .floating-card,
  .director-card {
    margin-bottom: 1rem;
  }

  .plan-card.featured {
    transform: none;
  }

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

  .director-desc {
    font-size: 0.9rem;
    max-height: 150px;
  }

  .navbar {
    padding: 0.5rem 0;
  }

  .navbar-brand {
    font-size: 1.25rem;
  }

  .logo {
    width: 35px;
    height: 35px;
  }
}

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

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

  .hero-carousel img {
    height: 250px;
  }

  .feature-card,
  .plan-card,
  .floating-card {
    padding: 1.5rem;
  }

  .director-card {
    padding: 1.5rem;
  }

  .director-avatar {
    width: 100px;
    height: 100px;
  }

  .price {
    font-size: 2rem;
  }

  .py-8 {
    padding: 1.5rem 0;
  }
}

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

  .animated-bg::before {
    animation: none;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .feature-card,
  .plan-card,
  .floating-card,
  .director-card {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid white;
  }

  .form-control {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid white;
  }
}

/* Print styles */
@media print {
  .navbar,
  footer,
  .loading-overlay,
  .animated-bg {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
    padding: 0 !important;
  }

  .hero-section,
  section {
    background: white !important;
    color: black !important;
  }
}

/* Additional Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.slide-in-up {
  animation: slideInUp 0.6s ease-out;
}

.fade-in-scale {
  animation: fadeInScale 0.6s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}


/* General Styles */
body {
   font-family: 'Inter', sans-serif;
   background-color: #1c1e26; /* Dark background for contrast */
   color: #f8f9fa; /* Light text color */
}

a {
   text-decoration: none;
}

/* Navbar Styling */
.glass-nav {
   background: rgba(25, 25, 25, 0.7); /* Adding transparency */
}
.navbar-nav .nav-link {
   transition: color 0.3s;
}
.navbar-nav .nav-link:hover {
   color: #ffc107; /* Highlight color */
}

/* Hero Section */
.hero-section {
   background: url('path-to-your-hero-image.jpg') no-repeat center center/cover; /* Add a background image */
   padding: 100px 0; /* Adequate padding for sections */
}

/* Button Styles */
.btn-cta {
   background: #007bff; /* Primary color */
   border: none;
   transition: background 0.3s;
}
.btn-cta:hover {
   background: #0056b3;
}

.btn-outline-cta {
   border-color: #ffc107; /* Outline color */
   color: #ffc107;
   transition: background 0.3s, color 0.3s;
}
.btn-outline-cta:hover {
   background: #ffc107;
   color: #fff;
}

/* Feature Cards */
.feature-card {
   background: rgba(255, 255, 255, 0.1); /* Light background */
   border-radius: 8px;
   transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
   transform: translateY(-5px);
   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Carousel Controls */
.carousel-control-prev-icon, .carousel-control-next-icon {
   background-color: rgba(0, 0, 0, 0.5); /* Dark background for navigation */
}

/* Footer */
footer {
   background: #2a2e37;
   padding: 5px 0;
}


/* Hero Section */
.hero-section {
   position: relative;
   overflow: hidden; /* Ensure no overflow */
}

.hero-right img {
   width: 100%; /* Make images responsive */
   height: auto; /* Maintain aspect ratio */
   display: block; /* Remove spacing below the images */
}

/* Carousel Controls */
.carousel-control-prev-icon, .carousel-control-next-icon {
   background-color: rgba(0, 0, 0, 0.5); /* Dark background for navigation */
   border-radius: 50%; /* Make controls circular */
   width: 40px; /* Adjust width */
   height: 40px; /* Adjust height */
}

.carousel-control-prev,
.carousel-control-next {
   top: 50%; /* Position vertically centered */
   transform: translateY(-50%); /* Adjust to center */
}


