/* Reset i estils base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Variables per als temes */
:root {
    /* Colors del tema clar */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #ffffff;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-muted: #888888;
    --border-color: #e9ecef;
    --shadow-light: rgba(0,0,0,0.1);
    --shadow-medium: rgba(0,0,0,0.15);
    
    /* Colors d'accent (es mantenen iguals) */
    --accent-primary: #667eea;
    --accent-secondary: #764ba2;
    --accent-danger: #ff6b6b;
    --accent-success: #51cf66;
}

/* Tema fosc */
[data-theme="dark"] {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-tertiary: #333333;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #999999;
    --border-color: #444444;
    --shadow-light: rgba(255,255,255,0.1);
    --shadow-medium: rgba(255,255,255,0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(102, 126, 234, 0.95);
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.logo {
    height: 45px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.logo-text {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    margin-left: auto;
}

.nav-link {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 16px;
    border-radius: 25px;
}

.nav-link:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 2px;
    left: 50%;
    background: #fff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

/* Controls de navegació (configuració + hamburger) */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Menú de configuració */
.settings-menu {
    position: relative;
}

.settings-toggle {
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
    font-size: 18px;
}

.settings-toggle:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
    transform: rotate(90deg);
}

.settings-dropdown {
    position: absolute;
    top: 55px;
    right: 0;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    box-shadow: 0 15px 40px var(--shadow-medium);
    padding: 20px;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.settings-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.setting-group {
    margin-bottom: 20px;
}

.setting-group:last-child {
    margin-bottom: 0;
}

.setting-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.setting-label i {
    color: var(--accent-primary);
    font-size: 16px;
}

.language-options,
.theme-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.language-option,
.theme-option {
    flex: 1;
    min-width: 90px;
    padding: 10px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.language-option:hover,
.theme-option:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.language-option.active,
.theme-option.active {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.theme-option i {
    font-size: 12px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    padding-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    background-size: cover;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image .hero-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px var(--shadow-medium);
    transition: transform 0.3s ease;
}

.hero-image .hero-img:hover {
    transform: scale(1.05);
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 25px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 35px;
    font-weight: 500;
    color: var(--text-secondary);
}

.hero-description {
    margin-bottom: 45px;
}

.hero-description p {
    margin-bottom: 20px;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #38f032 0%, #4b91a2, transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ee5a52, #ff6b6b);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255,107,107,0.4);
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    border-color: #667eea;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.hero-image {
    text-align: center;
    position: relative;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s ease;
}

.hero-img:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.05);
}

/* Seccions generals */
.section {
    padding: 100px 0;
    position: relative;
}

.bg-light {
    background-color: var(--bg-secondary);
}

.bg-light::before {
    display: none;
}

.bg-light .container {
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 80px;
    color: var(--text-primary);
    position: relative;
    font-weight: 700;
    text-shadow: 2px 2px 4px var(--shadow-light);
}

.section-title::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.section-title::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 4px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    bottom: -20px;
    left: 50%;
    transform: translateX(-70px);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

/* Secció Qui som */
.company-story,
.mission-vision,
.president-message {
    margin-bottom: 60px;
}

.company-story h3,
.president-message h3 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: var(--text-primary);
    text-align: center;
    font-weight: 600;
    transition: color 0.3s ease;
}

.company-story p {
    font-size: 1.15rem;
    margin-bottom: 20px;
    line-height: 1.9;
    text-align: justify;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 40px;
    margin: 60px 0;
}

.mission {
    grid-column: 1;
    grid-row: 1;
}

.vision {
    grid-column: 2;
    grid-row: 1;
}

.ethics {
    grid-column: 1 / -1;
    grid-row: 2;
}

.mission,
.vision,
.ethics {
    background: var(--bg-tertiary);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-light);
    text-align: left;
    transition: all 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.mission::before,
.vision::before,
.ethics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #38f032, #4b91a2);
}

.mission:hover,
.vision:hover,
.ethics:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.mission h3,
.vision h3,
.ethics h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    text-align: center;
    transition: color 0.3s ease;
}

.mission i,
.vision i,
.ethics i {
    font-size: 1.5rem;
    color: var(--accent-primary);
    margin-right: 10px;
    transition: color 0.3s ease;
}

.ethics ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.ethics li {
    margin-bottom: 0;
    padding: 15px;
    background: var(--bg-secondary);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.ethics li:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow-light);
}

.ethics li:last-child {
    border-bottom: none;
}

.president-content {
    background: var(--bg-tertiary);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.president-text {
    width: 100%;
    max-width: 100%;
}

.president-text blockquote {
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 25px;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
    transition: color 0.3s ease;
}

.president-text blockquote::before {
    content: '"';
    position: absolute;
    left: -10px;
    top: -10px;
    font-size: 4rem;
    color: var(--accent-primary);
    opacity: 0.3;
    transition: color 0.3s ease;
}

.president-text cite {
    font-weight: bold;
    color: var(--text-primary);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

/* Secció Activitats */
.activities-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
}

.activity-card {
    background: var(--bg-tertiary);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-light);
    text-align: center;
    transition: all 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
}

.activity-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.activity-card:nth-child(even)::before {
    background: linear-gradient(135deg, #38f032, #4b91a2);
}

.activity-card:nth-child(3n)::before {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.activity-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #38f032, #4b91a2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    transition: transform 0.3s ease;
}

.activity-card:hover .activity-icon {
    transform: scale(1.1) rotate(5deg);
}

.activity-card h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-weight: 600;
    transition: color 0.3s ease;
}

.activity-card p {
    line-height: 1.7;
    color: var(--text-secondary);
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

/* Secció Com participar */
.participation-content {
    max-width: 1000px;
    margin: 0 auto;
}

.participation-section {
    margin-bottom: 60px;
}

.participation-section h3 {
    font-size: 2.2rem;
    margin-bottom: 35px;
    color: #2c3e50;
    text-align: center;
    font-weight: 600;
}

.participation-card {
    background: var(--bg-tertiary);
    padding: 45px;
    border-radius: 20px;
    box-shadow: 0 15px 35px var(--shadow-light);
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.participation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.participation-card h4 {
    font-size: 1.6rem;
    margin-bottom: 25px;
    color: var(--text-primary);
    font-weight: 600;
    transition: color 0.3s ease;
}

.participation-card p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.collaboration-ways {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 35px 0;
    text-align: left;
}

.collaboration-item {
    display: flex;
    align-items: start;
    gap: 18px;
    padding: 25px;
    background: var(--bg-secondary);
    border-radius: 15px;
    transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--border-color);
}

.collaboration-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-light);
}

.collaboration-item i {
    font-size: 1.8rem;
    color: var(--accent-primary);
    margin-top: 5px;
    transition: color 0.3s ease;
}

.collaboration-item h4 {
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.collaboration-item p {
    margin: 0;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    transition: color 0.3s ease;
}

.donation-info {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    border-left: 5px solid var(--accent-primary);
    box-shadow: 0 8px 25px var(--shadow-light);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.donation-info p {
    margin-bottom: 18px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.highlight {
    background: linear-gradient(135deg, #38f032, #4b91a2);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin-top: 25px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.participation-intro {
    text-align: center;
    margin-bottom: 50px;
}

.participation-intro h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.participation-steps {
    margin-bottom: 50px;
}

.step {
    display: flex;
    align-items: start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.step-number {
    background: #3498db;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.participation-benefits {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.participation-benefits h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefits-list i {
    color: #27ae60;
    font-size: 1.2rem;
}

.call-to-action {
    text-align: center;
    padding: 30px;
    background: #3498db;
    color: white;
    border-radius: 10px;
}

.call-to-action p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Secció Contacte */
.contact-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    padding: 35px;
    background: var(--bg-tertiary);
    border-radius: 20px;
    box-shadow: 0 15px 35px var(--shadow-light);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.contact-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #38f032, #4b91a2);
}

.contact-intro p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 18px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.contact-email {
    font-size: 1.4rem;
    color: var(--accent-primary);
    font-weight: bold;
    transition: color 0.3s ease;
}

.contact-email a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-email a:hover {
    text-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.contact-info h3 {
    font-size: 1.9rem;
    margin-bottom: 35px;
    color: #2c3e50;
    font-weight: 600;
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 18px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-tertiary);
    border-radius: 15px;
    box-shadow: 0 8px 25px var(--shadow-light);
    transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--border-color);
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item i {
    font-size: 1.6rem;
    color: var(--accent-primary);
    margin-top: 5px;
    transition: color 0.3s ease;
}

.contact-item h4 {
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-item a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: all 0.3s ease, color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

.contact-form h3 {
    font-size: 1.9rem;
    margin-bottom: 25px;
    color: var(--text-primary);
    font-weight: 600;
}

.google-form-embed {
    background: var(--bg-tertiary);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.google-form-embed iframe {
    border-radius: 10px;
    background: #ffffff;
}

.form-note {
    margin-top: 20px;
    padding: 15px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    box-shadow: 0 4px 12px var(--shadow-light);
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.social-networks {
    text-align: center;
    background: var(--bg-tertiary);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px var(--shadow-light);
    border: 1px solid var(--border-color);
}

.social-networks h3 {
    font-size: 1.9rem;
    margin-bottom: 35px;
    color: var(--text-primary);
    font-weight: 600;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 30px;
    border-radius: 50px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.social-link.facebook { 
    background: linear-gradient(135deg, #3b5998, #2d4373);
}
.social-link.twitter { 
    background: linear-gradient(135deg, #1da1f2, #1a91da);
}
.social-link.instagram { 
    background: linear-gradient(135deg, #e1306c, #fd1d1d, #fcb045);
}
.social-link.linkedin { 
    background: linear-gradient(135deg, #0077b5, #005885);
}

.social-link i {
    font-size: 1.3rem;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #3498db;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo-img {
    height: 30px;
    width: auto;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: bold;
}

.footer-description {
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 15px;
}

.footer-slogan {
    color: #3498db;
    font-style: italic;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3498db;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: #3498db;
    width: 15px;
}

.footer-contact a {
    color: #3498db;
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.legal-info p {
    margin-bottom: 8px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.personal-info p {
    margin-bottom: 10px;
}

.personal-info a {
    color: #3498db;
    text-decoration: none;
}

.personal-info a:hover {
    text-decoration: underline;
}

.personal-social {
    margin-top: 15px;
}

.personal-social a {
    color: white;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.personal-social a:hover {
    color: #3498db;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 10px;
    opacity: 0.8;
    font-size: 0.9rem;
}

.privacy-policy {
    margin: 15px 0;
}

.privacy-policy a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.privacy-policy a:hover {
    text-decoration: underline;
}

.privacy-note {
    font-size: 0.8rem;
    opacity: 0.7;
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto;
}

.footer-credits a {
    color: #3498db;
    text-decoration: none;
}

.footer-credits a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-controls {
        gap: 8px;
    }

    .settings-toggle {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .settings-dropdown {
        right: -10px;
        min-width: 220px;
        padding: 15px;
    }

    .language-option,
    .theme-option {
        min-width: 70px;
        padding: 8px 10px;
        font-size: 12px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(135deg, #38f032 0%, #4b91a2 100%);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 30px 0;
        gap: 20px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        padding: 12px 20px;
        border-radius: 25px;
        margin: 0 20px;
    }

    .logo-text {
        font-size: 24px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero h1 {
        font-size: 2.8rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .cta-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 50px;
    }

    .mission-vision {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 30px;
    }

    .mission {
        grid-column: 1;
        grid-row: 1;
    }

    .vision {
        grid-column: 1;
        grid-row: 2;
    }

    .ethics {
        grid-column: 1;
        grid-row: 3;
    }

    .ethics ul {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .president-content {
        text-align: center;
        padding: 25px;
    }

    .activities-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .activity-card {
        padding: 30px 20px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .participation-card {
        padding: 30px 20px;
    }

    .collaboration-ways {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }

    .logo-text {
        font-size: 20px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .btn {
        padding: 14px 28px;
        font-size: 15px;
    }

    .activity-card,
    .mission,
    .vision,
    .ethics {
        padding: 25px 15px;
    }

    .activity-icon {
        font-size: 2.8rem;
    }

    .president-content {
        padding: 25px 15px;
    }

    .participation-card {
        padding: 25px 15px;
    }

    .contact-intro {
        padding: 20px 15px;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.9rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }
}
