/* ===== VARIABILI CSS ===== */
:root {
    --primary-color: #28539b;
    --primary-dark: #1e3d6b;
    --primary-light: #3a6bc7;
    --text-white: #ffffff;
    --text-light: #f8f9fa;
    --text-muted: #dee2e6;
    --accent-color: #ffc107;
    --section-padding: 80px 0;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* ===== PRIVACY MODAL STYLES ===== */
#privacyModal .modal-content {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
}

#privacyModal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

#privacyModal .modal-title {
    color: var(--text-white);
    font-weight: 600;
    font-size: 1.25rem;
}

#privacyModal .modal-body {
    padding: 2rem;
    line-height: 1.7;
    font-size: 1rem;
}

#privacyModal .privacy-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

#privacyModal .external-links {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--text-white);
}

#privacyModal .external-link {
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    margin-bottom: 0.5rem;
}

#privacyModal .external-link:hover {
    color: var(--text-white);
    text-decoration: underline;
    opacity: 0.8;
}

#privacyModal .email-link {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

#privacyModal .email-link:hover {
    color: var(--text-white);
    text-decoration: underline;
    opacity: 0.8;
}

#privacyModal .modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    padding: 1.5rem 2rem;
}

#privacyModal .btn {
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition);
    border: none;
}

#privacyModal .btn-primary {
    background: var(--text-white);
    color: var(--primary-dark);
}

#privacyModal .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

#privacyModal .btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

#privacyModal .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    color: var(--text-white);
    transform: translateY(-2px);
}

/* Modal backdrop enhancement */
.modal-backdrop.show {
    opacity: 0.8;
}

/* Responsive adjustments for modal */
@media (max-width: 767.98px) {
    #privacyModal .modal-dialog {
        margin: 1rem;
    }
    
    #privacyModal .modal-body {
        padding: 1.5rem;
        font-size: 0.95rem;
    }
    
    #privacyModal .modal-footer {
        padding: 1rem 1.5rem;
    }
    
    #privacyModal .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ===== RESET E BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-white);
    background-color: var(--primary-color);
    overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.navbar {
    background-color: rgba(40, 83, 155, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.navbar.scrolled .nav-link {
    color: var(--primary-color) !important;
}

.navbar.scrolled .logo-white {
    display: none !important;
}

.navbar.scrolled .logo-blue {
    display: block !important;
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    color: var(--text-white) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--text-white) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--text-white);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-logo {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-note {
    font-size: 0.95rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.7;
    line-height: 1.5;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--text-white);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.hero-logo-large {
    width: 100%;
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.4));
    transition: var(--transition);
    animation: logoFloat 3s ease-in-out infinite;
}

.hero-logo-large:hover {
    transform: translateY(-5px) scale(1.05);
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.5));
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    padding: var(--section-padding);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--primary-dark));
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--text-white);
    border-radius: 2px;
}

.about-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-icon i {
    font-size: 2rem;
    color: var(--text-white);
}

.about-card:hover .card-icon {
    transform: scale(1.1);
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-white);
    line-height: 1.3;
}

.about-card h3::first-letter {
    font-size: 1.8rem;
    margin-right: 0.3rem;
}

.about-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== FOUNDERS SECTION ===== */
.founders-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-top: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.founder-info {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.founder-info:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.founder-info h4 {
    color: var(--text-white);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.founder-info .role {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
    font-style: italic;
}

/* ===== DOCUMENTS SECTION ===== */
.documents-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-top: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.document-link {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.document-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    text-decoration: none;
    transform: translateY(-2px);
}

.document-link i {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: var(--text-white);
}

/* ===== MEMBERSHIP SECTION ===== */
.membership-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: var(--section-padding);
    position: relative;
}

.membership-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
}

.membership-content h3 {
    color: var(--text-white);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.membership-content p {
    color: var(--text-light);
    line-height: 1.6;
}

.membership-benefits h4 {
    color: var(--text-white);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.benefits-list li i {
    color: var(--text-white);
    margin-right: 0.75rem;
    font-size: 0.9rem;
}

.membership-card {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.card-preview {
    background: linear-gradient(135deg, var(--text-white) 0%, #f8f9fa 100%);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    text-align: center;
    color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cardPattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23cardPattern)"/></svg>');
    opacity: 0.3;
}

.card-preview:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.card-preview i {
    font-size: 4rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.card-preview h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.card-preview p {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.8;
    position: relative;
    z-index: 2;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    padding: var(--section-padding);
    position: relative;
}

.contact-info, .contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
}

.contact-info h3, .contact-form h3 {
    color: var(--text-white);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--text-light);
    line-height: 1.6;
}

.social-links h4 {
    color: var(--text-white);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-icon:hover {
    background: var(--primary-light);
    color: var(--text-white);
    transform: translateY(-3px);
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.contact-item i {
    width: 30px;
    color: var(--text-white);
    margin-right: 1rem;
}

/* ===== FORM STYLES ===== */
.form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    color: var(--text-white);
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--text-white);
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
    color: var(--text-white);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-label {
    color: var(--text-white);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-check-label {
    color: var(--text-light);
}

.btn-primary {
    background: var(--text-white);
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--primary-light);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline-light {
    border: 2px solid var(--text-white);
    color: var(--text-white);
    font-weight: 500;
    transition: var(--transition);
}

.btn-outline-light:hover {
    background: var(--text-white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-dark);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    color: var(--text-muted);
    margin: 0;
}

.footer-privacy-note {
    color: var(--text-muted) !important;
    font-size: 0.8rem !important;
    margin-top: 1rem !important;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border-left: 3px solid var(--text-white);
    display: inline-block;
    max-width: 600px;
    line-height: 1.4;
}

.footer-privacy-note i {
    color: var(--text-white);
    font-size: 0.9rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-card {
        margin-bottom: 2rem;
    }
    
    .contact-info {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-note {
        font-size: 0.9rem;
        padding: 0.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .about-card {
        padding: 1.5rem;
    }
    
    .contact-info, .contact-form {
        padding: 1.5rem;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0.5rem 0;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .about-card {
        padding: 1rem;
    }
    
    .contact-info, .contact-form {
        padding: 1rem;
    }
    
    .hero-logo-large {
        max-width: 300px;
        height: auto;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-accent {
    color: var(--text-white);
}

.bg-accent {
    background-color: var(--text-white);
}

.shadow-custom {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.rounded-custom {
    border-radius: var(--border-radius);
}

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--text-white);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

 