/* Import additional fonts for futuristic look */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

/* CSS Variables for consistent theming */
:root {
  --primary-color: #ff0040;
  --secondary-color: #00ffff;
  --accent-color: #ff6b35;
  --dark-bg: #0a0a0a;
  --darker-bg: #050505;
  --light-text: #ffffff;
  --gray-text: #b0b0b0;
  --gradient-primary: linear-gradient(135deg, #ff0040, #ff6b35);
  --gradient-secondary: linear-gradient(135deg, #00ffff, #0080ff);
  --gradient-dark: linear-gradient(135deg, #1a1a1a, #2d2d2d);
  --neon-glow: 0 0 20px rgba(255, 0, 64, 0.5);
  --cyber-glow: 0 0 30px rgba(0, 255, 255, 0.3);
  --success-color: #00ff88;
  --error-color: #ff4444;
  --block-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark-bg);
  color: var(--light-text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Animated Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 0, 64, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
  z-index: -1;
  animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
  0%, 100% { transform: translateX(0) translateY(0); }
  25% { transform: translateX(-20px) translateY(-10px); }
  50% { transform: translateX(20px) translateY(10px); }
  75% { transform: translateX(-10px) translateY(20px); }
}

/* Navigation Styles */
.navbar {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 0, 64, 0.2);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-family: 'Orbitron', monospace;
  font-weight: 900;
  font-size: 1.8rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: var(--neon-glow);
  transition: all 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 10px rgba(255, 0, 64, 0.8));
}

.nav-link {
  color: var(--light-text) !important;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
  margin: 0 0.5rem;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 100%;
}

.nav-link:hover {
  color: var(--primary-color) !important;
  text-shadow: var(--neon-glow);
}

.btn-book {
  background: var(--gradient-primary);
  border: none;
  padding: 0.7rem 1.5rem;
  font-weight: 600;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 10px 100%);
}

.btn-book::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 ease;
}

.btn-book:hover::before {
  left: 100%;
}

.btn-book:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 0, 64, 0.4);
  color: white;
}

/* Dropdown Menu */
.dropdown-menu {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 0, 64, 0.2);
  padding: 0.5rem 0;
}

.dropdown-item {
  color: var(--light-text);
  transition: all 0.3s ease;
  padding: 0.7rem 1.5rem;
}

.dropdown-item:hover {
  background: rgba(255, 0, 64, 0.1);
  color: var(--primary-color);
}

/* Page Header */
.page-header {
  background: var(--gradient-dark);
  padding: 150px 0 100px;
  position: relative;
  overflow: hidden;
  margin-top: 80px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), 0 100%);
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(45deg, transparent 30%, rgba(255, 0, 64, 0.1) 50%, transparent 70%),
    linear-gradient(-45deg, transparent 30%, rgba(0, 255, 255, 0.1) 50%, transparent 70%);
  animation: headerPattern 15s linear infinite;
}

@keyframes headerPattern {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.page-header-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.page-title {
  font-family: 'Orbitron', monospace;
  font-size: 4rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  animation: titleGlow 3s ease-in-out infinite alternate;
  text-transform: uppercase;
  letter-spacing: 3px;
}

@keyframes titleGlow {
  0% { filter: drop-shadow(0 0 10px rgba(255, 0, 64, 0.5)); }
  100% { filter: drop-shadow(0 0 30px rgba(255, 0, 64, 0.8)); }
}

.page-subtitle {
  font-size: 1.5rem;
  color: var(--secondary-color);
  font-weight: 300;
  text-shadow: var(--cyber-glow);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* About Content Section */
.about-content {
  padding: 100px 0;
  position: relative;
}

.about-image-block {
  position: relative;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.about-image-block img {
  width: 100%;
  height: auto;
  transition: all 0.5s ease;
  box-shadow: var(--block-shadow);
  border: 3px solid rgba(255, 0, 64, 0.3);
  clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 25px, 100% 100%, 25px 100%, 0 calc(100% - 25px));
}

.about-image-block::before {
  content: '';
  position: absolute;
  top: -15px;
  right: -15px;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(255, 0, 64, 0.4), transparent);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  z-index: 2;
}

.about-image-block::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: -15px;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, transparent, rgba(0, 255, 255, 0.4));
  clip-path: polygon(0 100%, 0 0, 100% 100%);
  z-index: 2;
}

.about-image-block:hover img {
  transform: scale(1.02) rotateY(3deg) rotateX(2deg);
  box-shadow: 
    var(--block-shadow),
    0 0 50px rgba(255, 0, 64, 0.3);
}

.about-text-block {
  position: relative;
  z-index: 2;
}

.section-title-block {
  font-family: 'Orbitron', monospace;
  font-size: 2.8rem;
  font-weight: 700;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2rem;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-title-block::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
}

.lead {
  font-size: 1.3rem;
  color: var(--gray-text);
  margin-bottom: 2rem;
  line-height: 1.8;
  font-weight: 500;
  position: relative;
  padding-left: 2rem;
}

.lead::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
}

.about-text-block p {
  color: var(--gray-text);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Achievements Block */
.achievements-block {
  padding: 100px 0;
  background: var(--gradient-dark);
  position: relative;
}

.achievements-block::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 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(0,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.section-header {
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--gray-text);
  max-width: 600px;
  margin: 0 auto;
}

.achievement-item {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 0, 64, 0.2);
  border-left: 6px solid var(--primary-color);
  padding: 2rem;
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--block-shadow);
  height: 100%;
}

.achievement-item::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(255, 0, 64, 0.2), transparent);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  transition: all 0.3s ease;
}

.achievement-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, transparent, rgba(0, 255, 255, 0.2));
  clip-path: polygon(0 100%, 0 0, 100% 100%);
  transition: all 0.3s ease;
}

.achievement-item:hover {
  transform: translateX(10px);
  border-left-color: var(--secondary-color);
  box-shadow: 
    var(--block-shadow),
    0 0 30px rgba(255, 0, 64, 0.2);
}

.achievement-item:hover::before {
  width: 80px;
  height: 80px;
}

.achievement-item:hover::after {
  width: 70px;
  height: 70px;
}

.achievement-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 2rem;
  font-size: 2rem;
  color: white;
  box-shadow: var(--neon-glow);
  animation: achievementFloat 3s ease-in-out infinite;
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
}

@keyframes achievementFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.achievement-content h4 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--light-text);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.achievement-content p {
  color: var(--gray-text);
  margin: 0;
  font-size: 1rem;
}

/* Mission & Vision Block */
.mission-vision-block {
  padding: 100px 0;
  position: relative;
}

.mission-block,
.vision-block {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-top: 6px solid var(--secondary-color);
  padding: 0;
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--block-shadow);
  height: 100%;
}

.mission-block::before,
.vision-block::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), transparent);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  transition: all 0.3s ease;
}

.mission-block::after,
.vision-block::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, transparent, rgba(255, 0, 64, 0.2));
  clip-path: polygon(0 100%, 0 0, 100% 100%);
  transition: all 0.3s ease;
}

.mission-block:hover,
.vision-block:hover {
  transform: translateY(-10px);
  border-top-color: var(--primary-color);
  box-shadow: 
    var(--block-shadow),
    0 0 40px rgba(0, 255, 255, 0.2);
}

.mission-block:hover::before,
.vision-block:hover::before {
  width: 90px;
  height: 90px;
}

.mission-block:hover::after,
.vision-block:hover::after {
  width: 80px;
  height: 80px;
}

.block-header {
  background: var(--gradient-secondary);
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.block-header h3 {
  font-family: 'Orbitron', monospace;
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: var(--cyber-glow);
}

.block-content {
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.block-content p {
  color: var(--gray-text);
  line-height: 1.8;
  margin: 0;
  font-size: 1.1rem;
}

/* Team Block */
.team-block {
  padding: 100px 0;
  background: var(--gradient-dark);
  position: relative;
}

.team-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(45deg, transparent 30%, rgba(255, 0, 64, 0.1) 50%, transparent 70%),
    linear-gradient(-45deg, transparent 30%, rgba(0, 255, 255, 0.1) 50%, transparent 70%);
  animation: teamPattern 25s linear infinite;
}

@keyframes teamPattern {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.team-member-block {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 0, 64, 0.3);
  border-bottom: 6px solid var(--primary-color);
  padding: 3rem;
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--block-shadow);
  text-align: center;
}

.team-member-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(255, 0, 64, 0.2), transparent);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  transition: all 0.3s ease;
}

.team-member-block::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, transparent, rgba(0, 255, 255, 0.2));
  clip-path: polygon(100% 100%, 0 100%, 100% 0);
  transition: all 0.3s ease;
}

.team-member-block:hover {
  transform: translateY(-15px);
  border-bottom-color: var(--secondary-color);
  box-shadow: 
    var(--block-shadow),
    0 0 50px rgba(255, 0, 64, 0.3);
}

.team-member-block:hover::before {
  width: 100px;
  height: 100px;
}

.team-member-block:hover::after {
  width: 90px;
  height: 90px;
}

.team-image {
  width: 200px;
  height: 200px;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 2;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
  box-shadow: var(--neon-glow);
  transition: all 0.3s ease;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.team-member-block:hover .team-image img {
  transform: scale(1.05);
  box-shadow: 
    var(--neon-glow),
    0 0 30px rgba(255, 0, 64, 0.5);
}

.team-content {
  position: relative;
  z-index: 2;
}

.team-content h3 {
  font-family: 'Orbitron', monospace;
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.team-content h4 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.team-content p {
  color: var(--gray-text);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.team-social a {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-text);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.team-social a:hover {
  background: var(--gradient-primary);
  transform: translateY(-3px);
  box-shadow: var(--neon-glow);
  color: white;
}

/* Footer */
footer {
  background: var(--darker-bg);
  padding: 4rem 0 2rem;
  border-top: 2px solid rgba(255, 0, 64, 0.2);
  position: relative;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  font-family: 'Orbitron', monospace;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  text-shadow: var(--neon-glow);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-section p,
.footer-section a {
  color: var(--gray-text);
  text-decoration: none;
  line-height: 2;
  transition: all 0.3s ease;
  display: block;
}

.footer-section a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
  text-decoration: none;
}

.social-icons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-text);
  transition: all 0.3s ease;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.social-icon:hover {
  background: var(--gradient-primary);
  transform: translateY(-3px);
  box-shadow: var(--neon-glow);
  color: white;
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray-text);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-title {
    font-size: 2.5rem;
  }
  
  .page-subtitle {
    font-size: 1.2rem;
  }
  
  .section-title-block {
    font-size: 2rem;
  }
  
  .about-content,
  .achievements-block,
  .mission-vision-block,
  .team-block {
    padding: 60px 0;
  }
  
  .achievement-item {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  
  .achievement-icon {
    margin-right: 0;
    margin-bottom: 1rem;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .team-member-block {
    padding: 2rem;
  }
  
  .team-image {
    width: 150px;
    height: 150px;
  }
  
  .mission-block,
  .vision-block {
    margin-bottom: 2rem;
  }
}

@media (max-width: 576px) {
  .page-title {
    font-size: 2rem;
  }
  
  .section-title-block {
    font-size: 1.8rem;
  }
  
  .about-content,
  .achievements-block,
  .mission-vision-block,
  .team-block {
    padding: 40px 0;
  }
  
  .achievement-item,
  .team-member-block {
    padding: 1rem;
  }
  
  .achievement-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
  
  .team-image {
    width: 120px;
    height: 120px;
  }
  
  .team-content h3 {
    font-size: 1.5rem;
  }
  
  .block-header {
    padding: 1.5rem;
  }
  
  .block-content {
    padding: 1.5rem;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* Loading Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-content,
.achievements-block,
.mission-vision-block,
.team-block {
  animation: fadeInUp 1s ease-out;
}

/* Focus Accessibility */
.social-icon:focus,
.team-social a:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

/* Hover Effects for Touch Devices */
@media (hover: none) {
  .achievement-item:hover,
  .mission-block:hover,
  .vision-block:hover,
  .team-member-block:hover {
    transform: none;
  }
}

/* Smooth Scroll for Anchor Links */
html {
  scroll-behavior: smooth;
}

/* Text Selection */
::selection {
  background: rgba(255, 0, 64, 0.3);
  color: var(--light-text);
}

::-moz-selection {
  background: rgba(255, 0, 64, 0.3);
  color: var(--light-text);
}

