/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Warm Nordic Craft Color Palette */
    --primary-beige: #F5F1EB;
    --warm-beige: #E8DDD4;
    --clay-light: #D4C4B0;
    --clay-medium: #B8A082;
    --clay-dark: #A0845C;
    --wood-brown: #8B6914;
    --accent-terracotta: #C17B5A;
    --text-dark: #3E3530;
    --text-medium: #6B5B4F;
    --text-light: #8B7D71;
    --white: #FEFCF9;
    --shadow: rgba(62, 53, 48, 0.1);
    --shadow-medium: rgba(62, 53, 48, 0.15);
    --shadow-dark: rgba(62, 53, 48, 0.25);
    
    /* Typography */
    --font-serif: 'Crimson Text', serif;
    --font-sans: 'Inter', sans-serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --element-spacing: 2rem;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--primary-beige);
    line-height: 1.6;
    font-weight: 400;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-medium);
}

a {
    color: var(--accent-terracotta);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--clay-dark);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 25px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(0,0,0,0.05));
    border-radius: 25px;
    pointer-events: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-terracotta), var(--clay-dark));
    color: var(--white);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-medium);
    color: var(--white);
}

.btn-secondary {
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--clay-light);
}

.btn-secondary:hover {
    background: var(--warm-beige);
    border-color: var(--clay-medium);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-medium);
    color: var(--text-dark);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 3px solid var(--clay-light);
    padding: 1.5rem 0;
    z-index: 1000;
    box-shadow: 0 -4px 20px var(--shadow);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-buttons .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 20px var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    backdrop-filter: blur(10px);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo {
    width: 40px;
    height: 40px;
}

.brand-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-medium);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-terracotta);
    background: var(--warm-beige);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--primary-beige), var(--warm-beige));
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4C4B0' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-title .accent {
    color: var(--accent-terracotta);
    position: relative;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--text-medium);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px var(--shadow-dark);
    transform: rotate(2deg);
    transition: transform 0.3s ease;
}

.hero-img:hover {
    transform: rotate(0deg) scale(1.02);
}

/* Section Styling */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
}

/* About Section */
.about {
    padding: var(--section-padding);
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--primary-beige);
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(0,0,0,0.02));
    border-radius: 25px;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px var(--shadow-medium);
    border-color: var(--clay-light);
}

.feature-icon {
    margin-bottom: 2rem;
}

.feature-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 25px var(--shadow);
}

.feature-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-medium);
    line-height: 1.6;
}

/* Services Section */
.services {
    padding: var(--section-padding);
    background: var(--warm-beige);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.service-card {
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px var(--shadow-medium);
    border-color: var(--clay-light);
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-content {
    padding: 2.5rem;
}

.service-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-medium);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-terracotta);
    font-weight: bold;
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background: var(--primary-beige);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    padding-right: 2rem;
}

.contact-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: var(--text-medium);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-family: var(--font-serif);
}

.contact-item p {
    color: var(--text-medium);
    margin: 0;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 15px 35px var(--shadow);
    border: 2px solid var(--clay-light);
}

.contact-form h3 {
    margin-bottom: 2rem;
    color: var(--text-dark);
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--clay-light);
    border-radius: 15px;
    font-family: var(--font-sans);
    font-size: 1rem;
    background: var(--primary-beige);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-terracotta);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(193, 123, 90, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.checkbox-group label {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--clay-light);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

.footer-brand-text {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
}

.footer-description {
    color: var(--clay-light);
    line-height: 1.6;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-family: var(--font-serif);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--clay-light);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact p {
    color: var(--clay-light);
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid var(--clay-dark);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--clay-light);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 20px var(--shadow);
        transform: translateY(-100vh);
        transition: transform 0.3s ease;
        gap: 1rem;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .features-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        padding-right: 0;
        text-align: center;
    }
    
    .contact-details {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .contact-details {
        flex-direction: column;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Form Success/Error States */
.form-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 1rem;
    border-radius: 15px;
    margin-bottom: 1rem;
}

.form-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 1rem;
    border-radius: 15px;
    margin-bottom: 1rem;
}

/* Calculators Section */
.calculators {
    padding: var(--section-padding);
    background: var(--white);
}

.calculators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.calculator-card {
    background: var(--primary-beige);
    border-radius: 25px;
    padding: 2.5rem;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.calculator-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(0,0,0,0.02));
    border-radius: 25px;
    pointer-events: none;
}

.calculator-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px var(--shadow-medium);
    border-color: var(--clay-light);
}

.calculator-icon {
    margin-bottom: 2rem;
}

.calculator-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 25px var(--shadow);
}

.calculator-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.calculator-description {
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.calculator-form input {
    padding: 12px 16px;
    border: 2px solid var(--clay-light);
    border-radius: 15px;
    font-family: var(--font-sans);
    font-size: 1rem;
    background: var(--white);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.calculator-form input:focus {
    outline: none;
    border-color: var(--accent-terracotta);
    box-shadow: 0 0 0 3px rgba(193, 123, 90, 0.1);
}

.calculator-result {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 15px;
    border: 2px solid var(--clay-light);
    font-weight: 600;
    color: var(--accent-terracotta);
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tax Calendar Section */
.tax-calendar {
    padding: var(--section-padding);
    background: var(--warm-beige);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.calendar-month {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
}

.calendar-month:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.calendar-month h3 {
    color: var(--accent-terracotta);
    margin-bottom: 1.5rem;
    font-family: var(--font-serif);
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--clay-light);
}

.calendar-events {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.calendar-event {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.event-date {
    background: var(--accent-terracotta);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
    text-align: center;
    min-width: 50px;
}

.event-info h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.event-info p {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

/* FAQ Section */
.faq {
    padding: var(--section-padding);
    background: var(--primary-beige);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 20px;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.faq-question:hover {
    background: var(--warm-beige);
    border-bottom-color: var(--clay-light);
}

.faq-question h3 {
    color: var(--text-dark);
    margin: 0;
    font-size: 1.1rem;
    flex: 1;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-terracotta);
    transition: transform 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--clay-light);
    border-radius: 50%;
    flex-shrink: 0;
}

.faq-question.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--primary-beige);
}

.faq-answer.active {
    max-height: 200px;
    padding: 1.5rem 2rem;
}

.faq-answer p {
    color: var(--text-medium);
    line-height: 1.6;
    margin: 0;
}

/* Testimonials Section */
.testimonials {
    padding: var(--section-padding);
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    background: var(--primary-beige);
    border-radius: 25px;
    padding: 2.5rem;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(0,0,0,0.02));
    border-radius: 25px;
    pointer-events: none;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px var(--shadow-medium);
    border-color: var(--clay-light);
}

.testimonial-stars {
    font-size: 1.5rem;
    color: var(--accent-terracotta);
    margin-bottom: 1.5rem;
}

.testimonial-text {
    color: var(--text-medium);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 5px 15px var(--shadow);
}

.author-info h4 {
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Resources Section */
.resources {
    padding: var(--section-padding);
    background: var(--warm-beige);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.resource-category {
    background: var(--white);
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
}

.resource-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.resource-category h3 {
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
    font-family: var(--font-serif);
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--clay-light);
}

.resource-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.resource-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--primary-beige);
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.resource-link:hover {
    background: var(--warm-beige);
    border-color: var(--clay-light);
    transform: translateX(5px);
    color: var(--text-dark);
}

.resource-icon {
    font-size: 2rem;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 4px 15px var(--shadow);
}

.resource-info h4 {
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.resource-info p {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .calculators-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .calendar-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .calendar-month {
        padding: 1.5rem;
    }
    
    .faq-question {
        padding: 1rem 1.5rem;
    }
    
    .faq-answer.active {
        padding: 1rem 1.5rem;
    }
    
    .testimonial-card,
    .calculator-card {
        padding: 2rem;
    }
    
    .resource-category {
        padding: 2rem;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .calculator-form {
        gap: 0.75rem;
    }
    
    .calculator-form input {
        font-size: 0.9rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .calendar-event {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .event-date {
        align-self: center;
    }
}
