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

:root {
  --primary-navy: #050b14;
  --secondary-indigo: #45f3ff;
  --accent-purple: #7b2cbf;
  --text-light: #f8f9fa;
  --text-dark: #1a1a1a;
  --bg-light: #0c1221;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --whatsapp-green: #25D366;
  --gradient-main: linear-gradient(135deg, #45f3ff 0%, #7b2cbf 100%);
  --gradient-hover: linear-gradient(135deg, #7b2cbf 0%, #45f3ff 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-light);
  line-height: 1.6;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--primary-navy);
  color: var(--text-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  text-decoration: none;
}

.logo span {
  color: var(--secondary-indigo);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--secondary-indigo);
}

/* Hamburger */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: var(--text-light);
  transition: all 0.3s ease;
}


/* Buttons */
.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.4s ease;
  border: 1px solid transparent;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(69, 243, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--gradient-hover);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 20px rgba(123, 44, 191, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--text-light);
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.4s ease;
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.05);
  border-color: var(--secondary-indigo);
  color: var(--secondary-indigo);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
/* Hero Section */
.hero {
  height: 100vh;
  background: var(--primary-navy);
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 5%;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}

@keyframes floatOrb {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
  100% { transform: translateY(0) scale(1); }
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(123,44,191,0.25) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  z-index: 0;
  filter: blur(60px);
  animation: floatOrb 10s ease-in-out infinite;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(69,243,255,0.15) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  z-index: 0;
  filter: blur(60px);
  animation: floatOrb 15s ease-in-out infinite reverse;
}

.hero > div {
  z-index: 1;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin-bottom: 2rem;
  color: #e0e0e0;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}
/* Stats Section */
.stats {
  display: flex;
  justify-content: space-around;
  background: var(--secondary-indigo);
  color: var(--text-light);
  padding: 3rem 5%;
  flex-wrap: wrap;
  gap: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

/* General Sections */
section:not(.hero):not(.page-hero) {
  padding: 5rem 5%;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-light);
}

.dark-bg .section-title {
  color: var(--text-light);
}


/* Cards (Grid) */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: #151e32;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.card:hover {
  transform: translateY(-12px) rotateX(2deg) rotateY(2deg);
  box-shadow: 0 25px 45px rgba(0,0,0,0.4);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--secondary-indigo);
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.card:hover .card-icon {
  transform: scale(1.15);
}

.card h3 {
  margin-bottom: 1rem;
  color: var(--text-light);
  font-size: 1.5rem;
}

.card p {
  color: #a0aab2;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  color: var(--text-light);
}

.glass-card h3 {
  color: var(--text-light);
}

.glass-card p {
  color: #a0aab2;
}

.glass-card .card-icon {
  color: var(--secondary-indigo);
}
/* Forms */
.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-light);
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: border-color 0.3s;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-indigo);
  box-shadow: 0 0 0 3px rgba(91, 78, 232, 0.2);
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #151e32;
  padding: 2.5rem;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  transform: translateY(50px);
  transition: transform 0.3s;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-content h3 {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.modal-content p {
  margin-bottom: 1.5rem;
  color: #a0aab2;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 2rem;
  cursor: pointer;
  color: #999;
  line-height: 1;
  transition: color 0.3s;
}

.close-modal:hover {
  color: #fff;
}

/* Footer */
footer {
  background: var(--primary-navy);
  color: var(--text-light);
  padding: 4rem 5% 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col h3 {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.footer-col p {
  color: #ccc;
  margin-bottom: 0.8rem;
}

.footer-col a {
  color: #ccc;
  text-decoration: none;
  margin-bottom: 0.8rem;
  display: block;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--secondary-indigo);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #ccc;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--whatsapp-green);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 35px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: transform 0.3s;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Fade in animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Success Message */
.success-message {
  display: none;
  background: #d4edda;
  color: #155724;
  padding: 1rem;
  border-radius: 5px;
  margin-top: 1rem;
  text-align: center;
}

.success-message.show {
  display: block;
}

/* Media Queries */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    flex-direction: column;
    background: var(--primary-navy);
    width: 60%;
    height: calc(100vh - 70px);
    text-align: center;
    padding: 3rem 0;
    transition: right 0.3s ease;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .hamburger {
    display: flex;
  }
  
  .hamburger.active div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  .hamburger.active div:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active div:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero-btns {
    flex-direction: column;
  }
  .stats {
    flex-direction: column;
  }
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 28px;
  }
  .nav-links {
    width: 100%;
  }
}

/* Misc Utilities / Extra sections */
.page-hero {
  height: 50vh;
  background: var(--primary-navy);
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 5%;
  padding-top: 70px;
}

.page-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.dark-bg {
  background: var(--primary-navy);
  color: var(--text-light);
}

.cta-banner {
  text-align: center;
  padding: 6rem 5%;
  background: var(--secondary-indigo);
  color: white;
}

.cta-banner h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

/* About Page Specifics */
.team-member {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.avatar {
  width: 120px;
  height: 120px;
  background: var(--secondary-indigo);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  font-weight: 800;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 20px rgba(91, 78, 232, 0.3);
}

.team-role {
  color: var(--secondary-indigo);
  font-weight: 600;
  margin-bottom: 1rem;
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
  border-left: 2px solid var(--secondary-indigo);
  padding-left: 2rem;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  background: #151e32;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.6rem;
  top: 1.5rem;
  width: 20px;
  height: 20px;
  background: var(--secondary-indigo);
  border-radius: 50%;
  border: 4px solid var(--bg-light);
}

.timeline-item h4 {
  color: var(--text-light);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.mission-vision {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

/* Contact Page Specifics */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #151e32;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-card .icon {
  font-size: 2rem;
  color: var(--secondary-indigo);
}

.contact-card h4 {
  color: var(--text-light);
  margin-bottom: 0.3rem;
}

.contact-card a {
  color: var(--text-light);
  text-decoration: none;
}

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

.faq {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  background: #151e32;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.faq-item h4 {
  color: var(--text-light);
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}


/* Floating Buttons */
.float-btn {
  position: fixed;
  bottom: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-main);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(69, 243, 255, 0.3);
  border: none;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.float-btn:hover { transform: scale(1.1) translateY(-5px); }
.btn-faq { left: 30px; background: linear-gradient(135deg, #ff007f, #7f00ff); box-shadow: 0 5px 20px rgba(255, 0, 127, 0.3); }
.btn-ai { right: 100px; } /* Adjusted to not overlap WhatsApp */

/* Popup Containers */
.popup-widget {
  position: fixed;
  bottom: 100px;
  width: 350px;
  background: rgba(12, 18, 33, 0.95);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 1000;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  color: var(--text-light);
}
.popup-widget.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}
.popup-faq { left: 30px; }
.popup-ai { right: 100px; }

/* Headers */
.widget-header {
  padding: 15px;
  font-weight: 600;
  font-size: 1.1rem;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.widget-header.faq-header { background: linear-gradient(135deg, rgba(255,0,127,0.2), transparent); }
.widget-header.ai-header { background: linear-gradient(135deg, rgba(69,243,255,0.2), transparent); }
.close-btn { cursor: pointer; font-size: 1.2rem; color: #a0aab2; transition: color 0.2s; background: none; border: none; padding: 0; font-family: inherit; }
.close-btn:hover { color: white; }

/* FAQ Content */
.faq-body { padding: 15px; max-height: 400px; overflow-y: auto; }
.faq-body::-webkit-scrollbar, .chat-body::-webkit-scrollbar { width: 6px; }
.faq-body::-webkit-scrollbar-thumb, .chat-body::-webkit-scrollbar-thumb { background: var(--glass-border); border-radius: 10px; }

.faq-item {
  margin-bottom: 10px;
  background: var(--glass-bg);
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  overflow: hidden;
}
.faq-q {
  padding: 12px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
  font-size: 0.95rem;
}
.faq-q:hover { background: rgba(255,255,255,0.1); }
.faq-a {
  padding: 0 12px 12px;
  color: #a0aab2;
  font-size: 0.9rem;
  display: none;
  line-height: 1.5;
}
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q { color: #ff007f; }

/* AI Chat Content */
.chat-body {
  padding: 15px;
  height: 350px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.4;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.msg.bot {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}
.msg.user {
  background: var(--gradient-main);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}
.chat-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 5px;
}
.chat-options.grid {
  display: grid;
  grid-template-columns: 1fr;
}
.chat-chip {
  background: transparent;
  border: 1px solid var(--secondary-indigo);
  color: var(--secondary-indigo);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.chat-chip.full-width {
  width: 100%;
  text-align: center;
}
.chat-chip:hover {
  background: var(--secondary-indigo);
  color: #fff;
  box-shadow: 0 4px 10px rgba(69,243,255,0.3);
}
.chat-input {
  display: flex;
  padding: 15px;
  border-top: 1px solid var(--glass-border);
  background: rgba(0,0,0,0.2);
}
.chat-input input {
  flex: 1;
  background: transparent;
  border: none;
  color: white;
  outline: none;
  font-family: inherit;
  font-size: 0.95rem;
}
