/* css/style.css */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
  --bg-dark: #061A40;
  --bg-darker: #0B2447;
  --bg-deep: #102C57;
  --accent-blue-1: #00B4FF;
  --accent-blue-2: #4FC3F7;
  --accent-blue-3: #3A86FF;
  --text-primary: #FFFFFF;
  --text-secondary: #D9E4F5;
  --glass-bg: rgba(11, 36, 71, 0.4);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glow-shadow: 0 0 20px rgba(0, 180, 255, 0.3);
  --transition-fast: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--text-primary);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Reusable Classes */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin: 0 auto 50px auto;
  position: relative;
  display: block;
  width: max-content;
  max-width: 100%;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 3px;
  background: var(--accent-blue-1);
  bottom: -10px;
  left: 25%;
  border-radius: 2px;
  box-shadow: var(--glow-shadow);
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px;
  transition: var(--transition-fast);
}

.glass-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--glow-shadow);
  border-color: rgba(0, 180, 255, 0.5);
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(45deg, var(--accent-blue-3), var(--accent-blue-1));
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 180, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 180, 255, 0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--accent-blue-1);
}

.btn-secondary:hover {
  background: rgba(0, 180, 255, 0.1);
  box-shadow: var(--glow-shadow);
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(50px);
  transition: var(--transition-slow);
}

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

/* --- Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: var(--transition-fast);
}

header.scrolled {
  background: rgba(6, 26, 64, 0.8);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 15px 0;
  border-bottom: 1px solid var(--glass-border);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 1px;
}

.logo span {
  color: var(--accent-blue-1);
  text-shadow: var(--glow-shadow);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-blue-1);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: var(--accent-blue-1);
  transition: var(--transition-fast);
  box-shadow: var(--glow-shadow);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
  z-index: 1001;
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
  background: radial-gradient(circle at top left, var(--bg-deep), var(--bg-dark));
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0IiBoZWlnaHQ9IjQiPgo8cmVjdCB3aWR0aD0iNCIgaGVpZ2h0PSI0IiBmaWxsPSIjZmZmIiBmaWxsLW9wYWNpdHk9IjAuMDUiLz4KPC9zdmc+') repeat;
  opacity: 0.5;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: var(--accent-blue-1);
  border-radius: 50%;
  opacity: 0.5;
  box-shadow: var(--glow-shadow);
  pointer-events: none;
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  25% { opacity: 0.8; }
  100% { transform: translateY(-200px) translateX(50px); opacity: 0; }
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 0 30px rgba(0, 180, 255, 0.2);
}

.hero-content h1 span {
  background: linear-gradient(45deg, var(--accent-blue-1), var(--accent-blue-3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--accent-blue-2);
  margin-bottom: 20px;
  font-weight: 500;
  letter-spacing: 2px;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.hero-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image::before {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  background: var(--accent-blue-1);
  filter: blur(100px);
  opacity: 0.3;
  z-index: 0;
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero-img-box {
  width: 400px;
  height: 500px;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  border: 2px solid rgba(255,255,255,0.1);
}

.hero-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0); }
}

/* --- About Section --- */
.about {
  background-color: var(--bg-darker);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  text-align: center;
  padding: 40px 30px;
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--accent-blue-1);
  text-shadow: var(--glow-shadow);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* --- YouTube Section --- */
.youtube {
  background-color: var(--bg-darker);
}

.yt-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-wrapper {
  width: 100%;
  max-width: 600px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--glow-shadow);
  border: 1px solid var(--glass-border);
  margin-bottom: 40px;
  position: relative;
  aspect-ratio: 16 / 9;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Content Highlights --- */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.highlight-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 30px;
}

.highlight-icon {
  font-size: 2rem;
  background: linear-gradient(45deg, var(--accent-blue-1), var(--accent-blue-3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.highlight-content h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.highlight-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* --- Contact Section --- */
.contact {
  background: radial-gradient(circle at bottom right, var(--bg-deep), var(--bg-dark));
}

.contact-container {
  display: flex;
  gap: 50px;
  justify-content: center;
}

.contact-info {
  flex: 1;
  max-width: 400px;
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.contact-detail i {
  color: var(--accent-blue-1);
  font-size: 1.5rem;
}

.contact-form {
  flex: 1;
  max-width: 600px;
}

.form-group {
  position: relative;
  margin-bottom: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-control {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--glass-border);
  padding: 10px 0;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-bottom-color: var(--accent-blue-1);
}

.form-label {
  position: absolute;
  top: 10px;
  left: 0;
  color: var(--text-secondary);
  pointer-events: none;
  transition: var(--transition-fast);
}

.form-control:focus ~ .form-label,
.form-control:valid ~ .form-label {
  top: -20px;
  font-size: 0.8rem;
  color: var(--accent-blue-1);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* --- Footer --- */
footer {
  background: linear-gradient(to right, #041029, #081d45);
  padding: 60px 0 20px;
  text-align: center;
  border-top: 1px solid var(--glass-border);
  position: relative;
}

.footer-content {
  margin-bottom: 40px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.social-links a:hover {
  background: var(--accent-blue-1);
  color: #fff;
  transform: translateY(-5px);
  box-shadow: var(--glow-shadow);
  border-color: var(--accent-blue-1);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-blue-1);
}

.copyright {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

.back-to-top {
  position: fixed;
  bottom: 80px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--accent-blue-1);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-fast);
  z-index: 1000;
  box-shadow: var(--glow-shadow);
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}

.back-to-top:hover {
  transform: translateY(-5px);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  .cards-grid, .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: rgba(6, 26, 64, 0.95);
    backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition-fast);
    border-left: 1px solid var(--glass-border);
  }
  .nav-links.active {
    right: 0;
  }
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-container {
    flex-direction: column;
    text-align: center;
    padding-top: 40px;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-desc {
    margin: 0 auto 40px;
  }
  .hero-image::before {
    width: 250px;
    height: 250px;
  }
  .hero-img-box {
    width: 300px;
    height: 400px;
  }
  
  .cards-grid, .highlights-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-container {
    flex-direction: column;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
}
