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

:root {
  /* Light Theme (Default) */
  --primary-color: #1118fa;
  --primary-hover: #0a0fd1;
  --primary-rgb: 17, 24, 250;
  --accent-color: #7c3aed; /* Purple accent */
  --secondary-color: #ffffff;
  --font-primary: #0f172a; /* Slate 900 */
  --font-secondary: #475569; /* Slate 600 */
  --font-tertiary: #94a3b8; /* Slate 400 */
  --neutral-light: #f1f5f9; /* Slate 100 */
  --neutral-mid: #64748b; /* Slate 500 */
  --neutral-dark: #0f172a; /* Slate 900 */
  --bg-base: #f8fafc; /* Slate 50 */
  --bg-elevated: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.1);
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --gradient-blue: linear-gradient(135deg, #1118fa 0%, #4f46e5 100%);
  --gradient-rainbow: linear-gradient(135deg, #1118fa 0%, #7c3aed 50%, #ec4899 100%);
}

/* Dark Theme Variables */
[data-theme="dark"] {
  --primary-color: #3b82f6;
  --primary-hover: #2563eb;
  --primary-rgb: 59, 130, 246;
  --accent-color: #a78bfa;
  --secondary-color: #0f172a;
  --font-primary: #f8fafc; /* Slate 50 */
  --font-secondary: #cbd5e1; /* Slate 300 */
  --font-tertiary: #64748b; /* Slate 500 */
  --neutral-light: #1e293b; /* Slate 800 */
  --neutral-mid: #94a3b8; /* Slate 400 */
  --neutral-dark: #f8fafc;
  --bg-base: #0b0f19; /* Dark Navy Slate */
  --bg-elevated: #111827; /* Gray 900 */
  --border-color: #1e293b;
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.45);
  --gradient-blue: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  --gradient-rainbow: linear-gradient(135deg, #3b82f6 0%, #a78bfa 50%, #f472b6 100%);
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
}

body {
  background-color: var(--bg-base);
  color: var(--font-primary);
  line-height: 1.6;
  font-weight: 400;
  padding-top: 80px; /* Offset for sticky nav */
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
  background: var(--neutral-light);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--font-tertiary);
}

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

/* Navigation Styles */
nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  background: var(--bg-elevated);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--neutral-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition), background-color 0.4s ease;
  height: 80px;
}

[data-theme="light"] nav {
  background: rgba(255, 255, 255, 0.8);
}
[data-theme="dark"] nav {
  background: rgba(17, 24, 39, 0.8);
}

nav .wrapper {
  position: relative;
  max-width: 1200px;
  padding: 0 24px;
  height: 80px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wrapper .logo a {
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.wrapper .logo .brand-logo {
  height: 48px !important;
  width: auto !important;
  max-width: 100% !important;
  display: block !important;
  object-fit: contain !important;
  transition: var(--transition);
}

[data-theme="dark"] .brand-logo {
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.4)) brightness(1.1);
}

.wrapper .logo a:hover {
  opacity: 0.85;
}

.wrapper .nav-links {
  display: inline-flex;
  margin-bottom: 0;
  align-items: center;
}

.nav-links li {
  list-style: none;
}

.nav-links li a {
  color: var(--font-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  margin: 0 4px;
  transition: var(--transition);
}

.nav-links li a:hover {
  color: var(--primary-color);
  background: rgba(var(--primary-rgb), 0.08);
}

.nav-links li a.active {
  color: #ffffff !important;
  background: var(--primary-color);
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.2);
}

/* Theme Switcher Toggle */
.theme-toggle-btn {
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  color: var(--font-secondary);
  border: 1px solid var(--neutral-light);
  background: var(--bg-elevated);
  transition: var(--transition);
}

.theme-toggle-btn:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-sm);
  transform: scale(1.05);
}

.theme-toggle-btn i {
  font-size: 18px;
  transition: transform 0.5s ease;
}

[data-theme="dark"] .theme-toggle-btn i {
  transform: rotate(360deg);
}

/* Mobile Toggle classes */
.wrapper .btn {
  color: var(--font-primary);
  font-size: 20px;
  cursor: pointer;
  display: none;
  line-height: 80px;
  background: none;
  border: none;
  padding: 0;
  outline: none;
}

.wrapper .btn.close-btn {
  position: absolute;
  right: 24px;
  top: 20px;
  line-height: 40px;
  font-size: 22px;
}

nav input {
  display: none;
}

/* Mobile responsive menu */
@media screen and (max-width: 970px) {
  body {
    padding-top: 80px;
  }
  .wrapper .btn {
    display: block;
  }
  .wrapper .nav-links {
    position: fixed;
    height: 100vh;
    width: 100%;
    max-width: 300px;
    top: 0;
    left: -100%;
    background: var(--bg-elevated);
    border-right: 1px solid var(--neutral-light);
    display: flex;
    flex-direction: column;
    padding: 80px 24px 24px 24px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
  }
  
  #menu-btn:checked ~ .nav-links {
    left: 0%;
  }
  
  #menu-btn:checked ~ .btn.menu-btn {
    display: none;
  }
  
  #close-btn:checked ~ .btn.menu-btn {
    display: block;
  }
  
  .nav-links li {
    margin: 8px 0;
    width: 100%;
  }
  
  .nav-links li a {
    padding: 12px 20px;
    display: block;
    font-size: 17px;
    border-radius: 12px;
  }

  .theme-toggle-btn {
    margin-left: 0;
    margin-top: 16px;
    width: 100%;
    border-radius: 12px;
    gap: 8px;
  }
  .theme-toggle-btn::after {
    content: 'Toggle Theme';
    font-size: 15px;
    font-weight: 500;
  }
}

/* WhatsApp Floating Button */
.whatsapp-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
  text-decoration: none;
  transition: var(--transition);
}

.whatsapp-button:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
  background-color: #1ebe5a;
  color: white;
}

.whatsapp-icon {
  font-size: 26px;
}

/* Footer Section */
footer.page-footer {
  background-color: var(--bg-elevated);
  border-top: 1px solid var(--neutral-light);
  padding: 40px 0;
  margin-top: 80px;
  transition: background-color 0.4s ease;
}

footer.page-footer .footer-copyright {
  text-align: center;
  color: var(--font-tertiary);
  font-size: 14px;
}

footer.page-footer p {
  margin: 0;
}

/* Custom premium elements */
.btn-primary {
  background-image: var(--gradient-blue) !important;
  border: none !important;
  color: #ffffff !important;
  font-weight: 600;
  padding: 12px 28px !important;
  border-radius: 30px !important;
  box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.35);
  transition: var(--transition) !important;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.5);
  opacity: 0.95;
}

.btn-primary:active {
  transform: translateY(0);
}

