@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

:root {
  /* Colors from palette: #0F1021, #000957, #5CB338, #ECE852 */
  --primary-color: #000957;
  --secondary-color: #0F1021; /* Slightly lighter than dark-color for sections */
  --accent-color: #5CB338;
  --light-color: #ECE852;
  --dark-color: #050510; /* Very dark background */
  --background-color: #000424; /* Deep navy background */
  --text-color: #E0E0E0; /* Light gray for readability */
  --border-color: rgba(92, 179, 56, 0.3);
  --divider-color: rgba(236, 232, 82, 0.1);
  --shadow-color: rgba(0, 0, 0, 0.5);
  --highlight-color: #ECE852;
  --main-font: 'Raleway', sans-serif;
  --alt-font: 'Fira Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--alt-font);
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.max-width-1200 {
    max-width: 1200px;
}

/* Hover effects */
.top-link {
    position: relative;
}
.top-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}
.top-link:hover::after {
    width: 100%;
}
.top-link:hover {
    color: var(--accent-color) !important;
}

.action-btn:hover, .submit-hover:hover {
    opacity: 0.9;
    box-shadow: 0 0 15px rgba(92, 179, 56, 0.5);
    transform: translateY(-2px);
}

.card-feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px var(--shadow-color);
    border-color: var(--light-color) !important;
}

.f-link:hover {
    opacity: 1 !important;
    color: var(--accent-color) !important;
}

/* Input focus */
input:focus {
    border-color: var(--accent-color) !important;
}

/* Details/Summary animation */
details summary::-webkit-details-marker {
    display: none;
}
details[open] summary {
    color: var(--accent-color) !important;
}

/* Mobile Menu */
#nav-btn-v4:checked ~ .mobile-nav-v4 {
    display: block !important;
}
.mobile-nav-v4 {
    display: none;
    width: 100%;
}

@media (max-width: 768px) {
    #hero-title {
        font-size: 3rem !important;
    }
    footer div {
        justify-content: center !important;
        text-align: center;
    }
}