/* Global Reset & Variables */
:root {
    --primary-color: #A91B0D;
    /* Deep Red */
    --primary-dark: #801409;
    --accent-color: #F4C430;
    /* Saffron/Gold */
    --text-color: #333;
    --text-light: #f4f4f4;
    --bg-light: #f9f9f9;
    --bg-dark: #222;
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 15px auto 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--bg-dark);
}

.text-light {
    color: var(--text-light) !important;
}

.text-center {
    text-align: center;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    /* Adjust as needed */
    width: auto;
}

.nav-link {
    margin-left: 25px;
    font-weight: 600;
    color: var(--text-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Hero */
.hero {
    height: 80vh;
    min-height: 500px;
    background-image: url('assets/hero_nespoli.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Intro */
.intro-text {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Courses */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border-top: 5px solid var(--primary-color);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-header {
    padding: 25px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.card-header h3 {
    margin-bottom: 0;
    color: var(--primary-color);
}

.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-color);
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 700;
}

.card-body {
    padding: 25px;
}

.info-list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.info-list li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.price-block {
    background: #fdfdfd;
    padding: 15px;
    border-radius: 5px;
    margin-top: 15px;
    border: 1px solid #eee;
}

.price-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 10px;
    font-weight: 600;
}

.price-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.insurance-note {
    font-size: 0.85rem;
    color: #666;
    margin-top: 10px;
    font-style: italic;
    border-top: 1px dashed #ddd;
    padding-top: 5px;
}

/* Details */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.detail-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.detail-item h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Payment */
.payment-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.step-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    position: relative;
    padding-left: 80px;
    border-left: 5px solid var(--accent-color);
}

.step-number {
    position: absolute;
    left: 20px;
    top: 25px;
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-desc {
    margin-bottom: 15px;
    color: #555;
}

.iban-box {
    background: #f0f4f8;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    border-left: 3px solid #2C3E50;
    font-family: monospace;
}

.iban {
    display: block;
    font-size: 1.1rem;
    margin: 5px 0;
    font-weight: 700;
    color: #2C3E50;
    word-break: break-all;
}

.bank-name {
    display: block;
    font-size: 0.85rem;
    color: #666;
}

.causal-box {
    background: #fff3cd;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #ffeeba;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.causal-text {
    font-style: italic;
    color: #856404;
}

.email-note a {
    color: var(--primary-color);
    font-weight: 600;
}

.alternative-note {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #666;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

/* Membership */
.membership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 50px;
}

.membership-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
}

.membership-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.02);
}

.membership-card h3 {
    margin-bottom: 10px;
    color: var(--accent-color);
}

.period {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 20px;
    opacity: 0.7;
}

.cost {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.cost small {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.8;
}

.benefits-list {
    margin: 30px 0;
}

.benefits-list li {
    margin-bottom: 10px;
}

.practice-types {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* Locations */
.locations-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    text-align: center;
}

.location-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.copyright {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.8rem;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .payment-steps {
        padding: 0 10px;
    }

    .step-card {
        padding-left: 20px;
        padding-top: 70px;
        border-left: none;
        border-top: 5px solid var(--accent-color);
    }

    .header-container {
        flex-direction: column;
        gap: 15px;
    }
}