@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

:root {
  /* Colors from palette: #344CB7, #FFEB00, #E01171, #F2F2F2 */
  --primary-color: #344CB7;
  --secondary-color: #1E348A;
  --accent-color: #E01171;
  --light-color: #F2F2F2;
  --dark-color: #0A1142;
  --background-color: #FFFFFF;
  --text-color: #333333;
  --border-color: rgba(52, 76, 183, 0.2);
  --divider-color: rgba(52, 76, 183, 0.1);
  --shadow-color: rgba(52, 76, 183, 0.15);
  --highlight-color: #FFEB00;
  --main-font: 'Lora', serif;
  --alt-font: 'Poppins', 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;
}

.nav-link:hover {
    color: var(--highlight-color) !important;
    transition: color 0.3s;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(224, 17, 113, 0.6) !important;
}

.feature-row:hover > div:first-child {
    background-color: var(--highlight-color) !important;
    border-color: var(--primary-color) !important;
    transform: scale(1.1);
    transition: all 0.3s ease;
}
.feature-row > div:first-child {
    transition: all 0.3s ease;
}

details summary::-webkit-details-marker {
    display: none;
}
details[open] summary span {
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}
details summary span {
    transition: transform 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    background-color: #FFF250 !important; /* Lighter yellow */
}

.footer-link:hover {
    opacity: 1 !important;
    color: var(--highlight-color) !important;
}

/* Mobile Menu Checkbox Hack */
#menu-toggle-v3:checked ~ .mobile-menu-v3 {
    display: block !important;
}
.mobile-menu-v3 {
    display: none;
    width: 100%;
}

@media (max-width: 768px) {
    .feature-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .feature-row > div:nth-child(2) {
        border-left: none !important;
        border-top: 5px solid var(--primary-color);
    }
}