
/* Base Styles */
:root {
  --bg-color: #0D1B2A;
  --text-color: #ffffff;
  --accent-color: #00A676;
  --accent-hover: #008a63;
  --gold-color: #E2B13C;
  --navy-700: #0a1423;
  --navy-800: #07111d;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

/* Animation Variables */
:root {
  --transition-base: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: 0.2s ease-out;
  --scale-hover: scale(1.02);
  --scale-active: scale(0.98);
}
body {
    line-height: 1.6;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Light Mode */
body.light-mode {
  --bg-color: #ffffff;
  --text-color: #0D1B2A;
  --navy-700: #f7fafc;
  --navy-800: #edf2f7;
}

/* Sticky Header */
custom-header {
  transition: all 0.3s ease;
}

custom-header.scrolled {
  padding: 0.5rem 2rem;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background-color: var(--accent-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
/* Scroll Animations */
[data-scroll] {
  opacity: 0;
  transition: all 0.8s var(--transition-base);
}

[data-scroll="fade-in"] {
  transform: translateY(40px);
}

[data-scroll="fade-left"] {
  transform: translateX(-40px);
}

[data-scroll="fade-right"] {
  transform: translateX(40px);
}

[data-scroll].is-visible {
  opacity: 1;
  transform: translate(0);
}

/* Card hover effects */
.card-hover {
  transition: all var(--transition-base);
  will-change: transform;
}

.card-hover:hover {
  transform: translateY(-8px) var(--scale-hover);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile Menu Animation */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-menu {
  animation: slideDown 0.4s var(--transition-base) forwards;
}
/* Hero Section Background */
.bg-gradient-to-b.from-navy.to-navy-800 {
    background: linear-gradient(135deg, #07111d 0%, #0a1423 100%), 
                url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%2300a676' fill-opacity='0.02' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-blend-mode: overlay;
}
/* Section Spacing */
section:not(:first-child) {
    margin-top: 6rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
}
/* Custom Background Shades */
.bg-navy-700 {
    background-color: #0a1423;
}
.bg-navy-800 {
    background-color: #07111d;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
}

body, p, a, li, span {
    font-family: 'Open Sans', sans-serif;
}

/* Color Accents */
.text-emerald {
    color: #00A676;
}
.bg-emerald {
    background-color: #00A676;
}
.text-gold {
    color: #E2B13C;
}
.bg-gold {
    background-color: #E2B13C;
}
/* Links */
a {
    color: #00A676;
    transition: color 0.2s ease;
}
a:hover {
    color: #E2B13C;
}
/* Buttons */
.btn-primary {
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 9999px;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    transition: all var(--transition-base);
    box-shadow: 0 4px 6px rgba(0, 166, 118, 0.1);
    will-change: transform;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px) var(--scale-hover);
    box-shadow: 0 6px 12px rgba(0, 166, 118, 0.15);
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    border-radius: 9999px;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    transition: all var(--transition-base);
    will-change: transform;
}

.btn-secondary:hover {
    background-color: rgba(0, 166, 118, 0.1);
    transform: translateY(-2px) var(--scale-hover);
    box-shadow: 0 4px 8px rgba(0, 166, 118, 0.1);
}

.btn-secondary:active {
    transform: translateY(0) var(--scale-active);
}
/* Custom Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}
/* Card Styles */
.bg-navy-700 {
    background-color: #0a1423;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.bg-navy-700:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    border-color: rgba(0, 166, 118, 0.2);
}
/* Book Card Styles */
.bg-navy-800 .group:hover img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Tab Styles */
.tab-btn {
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn::after {
content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #00A676;
    transition: width 0.3s ease;
}

.tab-btn.active::after {
    width: 100%;
}

.tab-btn:hover::after {
    width: 100%;
}

/* Product Card Hover Effects */
.group:hover img {
    transform: scale(1.05);
}
/* Contact Form Styles */
#contact-form input,
#contact-form textarea {
    color: white;
    transition: all 0.3s ease;
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
    color: #6b7280;
}

#contact-form input:focus,
#contact-form textarea:focus {
    border-color: #00A676;
    box-shadow: 0 0 0 2px rgba(0, 166, 118, 0.2);
}

/* Coming Soon Tools */
.border-emerald\/20 {
    border-color: rgba(0, 166, 118, 0.2);
}

/* Newsletter Section Spacing */
section.bg-emerald {
margin-top: 8rem !important;
    padding: 6rem 2rem !important;
}
/* Product Grid Overrides */
product-grid {
  --bg-color: #0a1423;
  --accent-color: #00A676;
  --gold-color: #E2B13C;
  --font-heading: 'Montserrat', sans-serif;
}
/* Footer Disclosure */
custom-footer {
display: block;
    background-color: #0a1423;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* About Page Styles */
.article-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.article-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.prose {
    color: #e5e7eb;
}

.prose h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.prose h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.prose p {
    margin-bottom: 1.25rem;
}

.prose ul, .prose ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.prose li {
    margin-bottom: 0.5rem;
}

.prose .lead {
    font-size: 1.25rem;
    color: #9ca3af;
    font-style: italic;
    margin-bottom: 2rem;
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: rgba(0, 166, 118, 0.1);
    color: #00A676;
    border-radius: 9999px;
    font-size: 0.875rem;
}
/* Responsive Adjustments */
@media (max-width: 640px) {
    .hero-heading {
        font-size: 2.5rem;
    }
}