* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #e63946;
    --secondary: #ff9f1c;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --text: #333;
    --border: #e0e0e0;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background: white;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* NEWS TICKER */
.news-ticker {
    background: linear-gradient(135deg, var(--primary) 0%, #d12838 100%);
    color: white;
    padding: 12px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 99;
}

.ticker-label {
    padding: 0 20px;
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ticker-content {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.ticker-items {
    display: flex;
    gap: 4rem;
    padding: 0 20px;
    animation: tickerScroll 70s linear infinite;
    white-space: nowrap;
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.ticker-item {
    display: inline-block;
    min-width: 900px;
}

.ticker-item a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: opacity 0.3s;
}

.ticker-item a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.ticker-separator {
    display: inline-block;
    margin: 0 1rem;
    opacity: 0.7;
}

/* NAVBAR */
.navbar {
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

.logo-img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary);
}

/* HERO SECTION */
.hero-slider {
    width: 100%;
    height: 100vh;
    background: #000;
    position: relative;
    overflow: hidden;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* SLIDER */
.slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
    object-fit: cover;
    object-position: center;
    background: #000;
}

.slide.fade {
    display: block;
    animation: slideIn 0.8s ease-in-out;
}

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

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 40%, transparent 100%);
    z-index: 2;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 60px;
    transform: translateY(-50%);
    color: white;
    z-index: 20;
    max-width: 450px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    color: white;
}

.hero-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

.hero-btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 14px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.4s ease;
    border: 2px solid var(--primary);
}

.hero-btn:hover {
    background: transparent;
    color: white;
    transform: translateX(10px);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn.prev {
    left: 40px;
}

.slider-btn.next {
    right: 40px;
}

.slider-btn:hover {
    background: white;
    color: #000;
    transform: translateY(-50%) scale(1.1);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 15px;
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 100%;
}

/* LATEST NEWS SECTION */
.latest-news {
    padding: 80px 0;
    background: white;
}

.news-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.news-section-header h2 {
    font-size: 2.5rem;
    color: var(--dark);
    font-weight: 700;
    margin: 0;
}

.view-all-news {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
}

.view-all-news:hover {
    color: var(--secondary);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.news-grid-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.news-grid-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(230, 57, 70, 0.2);
    border-color: var(--primary);
}

.news-grid-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #f0f0f0;
}

.news-grid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-grid-item:hover .news-grid-image img {
    transform: scale(1.05);
}

.news-grid-content {
    padding: 2rem;
}

.news-grid-date {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    display: inline-block;
    background: rgba(230, 57, 70, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
}

.news-grid-title {
    color: var(--dark);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
    line-height: 1.3;
    transition: color 0.3s;
}

.news-grid-title:hover {
    color: var(--primary);
}

.news-grid-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.news-grid-author {
    color: #999;
    font-size: 0.85rem;
    margin: 0;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot:hover {
    background: #bbb;
}

.dot.active {
    background: var(--primary);
    width: 32px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.4);
}

/* COMMUNITY */
.community-box {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: fit-content;
}

.community-text h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin: 1rem 0;
    line-height: 1.2;
}

.community-text p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature {
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.feature:last-child {
    border-bottom: none;
}

.feature h4 {
    color: var(--dark);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.feature p {
    color: #999;
    font-size: 0.95rem;
    margin: 0;
}

.community-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    height: 400px;
}

.img-large {
    grid-row: span 2;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.img-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.img-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.img-grid img:hover {
    transform: scale(1.05);
}

/* WELCOME */
.welcome {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff5f5 0%, var(--light) 100%);
    border-bottom: 3px solid var(--primary);
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.welcome-content {
    padding: 2rem 0;
}

.welcome h2 {
    font-size: 3.5rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
    text-align: left;
    font-weight: 700;
}

.welcome .subtitle {
    text-align: left;
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.welcome .text {
    font-size: 1.1rem;
    color: #666;
    text-align: left;
    line-height: 1.9;
}

.welcome-cert {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cert-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(230, 57, 70, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 3px solid white;
}

.cert-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(230, 57, 70, 0.25);
}

/* WELCOME FUNCTIONS */
.welcome-functions {
    padding: 80px 0;
    background: white;
}

.welcome-functions h2 {
    text-align: center;
    font-size: 3.5rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.welcome-functions .section-subtitle {
    text-align: center;
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 3rem;
    font-weight: 600;
}

.functions-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.function-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid #f0f0f0;
}

.function-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(230, 57, 70, 0.15);
    border-color: var(--primary);
}

.function-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
}

.function-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.function-card:hover .function-image img {
    transform: scale(1.1);
}

.function-card h3 {
    font-size: 1.3rem;
    color: var(--dark);
    padding: 1.5rem 1.5rem 0.5rem;
    margin: 0;
    font-weight: 600;
}

.function-card p {
    color: #666;
    padding: 0.5rem 1.5rem 1.5rem;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* MEMBERSHIP */
.membership {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff5f5 100%);
}

.membership-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.membership-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.membership-content h2 {
    font-size: 3rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
    font-weight: 700;
}

.membership-content > p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 450px;
}

.benefits-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.benefits-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
}

.benefit-item span:last-child {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
    padding-top: 2px;
}

.membership-images {
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    width: 100%;
    max-width: 500px;
}

.img-large-top {
    grid-column: 1 / -1;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.15);
}

.img-large-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-top-right,
.img-bottom-left,
.img-bottom-right {
    height: 180px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.1);
    transition: all 0.3s ease;
}

.img-top-right img,
.img-bottom-left img,
.img-bottom-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-top-right:hover,
.img-bottom-left:hover,
.img-bottom-right:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.2);
}

/* FUNCTIONS */
.functions {
    padding: 80px 0;
}

.functions h2 {
    text-align: center;
    font-size: 3.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
    font-weight: bold;
}

.functions .subtitle {
    text-align: center;
    color: #666;
    font-size: 1.3rem;
    margin-bottom: 3rem;
}

.functions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.3s;
}

.card:hover {
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.1);
    transform: translateY(-8px);
}

.num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.card h3 {
    color: var(--dark);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.card a:hover {
    color: var(--secondary);
}

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 60px 0;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* FOOTER */
.footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer h4 {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.footer p {
    color: #bbb;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer ul {
    list-style: none;
}

.footer ul a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer ul a:hover {
    color: var(--secondary);
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
    text-align: center;
    color: #bbb;
    font-size: 0.9rem;
}


.content-box .features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.content-box .feature {
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.content-box .feature:last-child {
    border-bottom: none;
}

.content-box .feature h4 {
    color: var(--dark);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.content-box .feature p {
    color: #999;
    font-size: 0.95rem;
    margin: 0;
}

/* PAGE HEADER */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* GALLERY HEADER */
.gallery-header {
    background: linear-gradient(135deg, var(--secondary) 0%, #ff8c00 100%);
    padding: 100px 0;
    color: white;
}

.gallery-header h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.gallery-header p {
    font-size: 1.4rem;
    opacity: 0.98;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* GALLERY GRID */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 4/3;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    background: #f0f0f0;
}

.gallery-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(230, 57, 70, 0.2);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
}

.gallery-card:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.9) 0%, rgba(255, 159, 28, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 2rem;
    text-align: center;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay p {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin: 0;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s;
}

.gallery-card:hover .gallery-overlay p {
    transform: translateY(0);
}

/* RESPONSIVE GALLERY */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1rem;
    }

    .gallery-overlay p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .gallery-overlay p {
        font-size: 1rem;
    }
}

/* CONTACT PAGE */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-box {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-left: 5px solid transparent;
}

.info-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(230, 57, 70, 0.15);
    border-left-color: var(--primary);
}

.info-box i {
    font-size: 2.5rem;
    color: var(--primary);
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(230, 57, 70, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 12px;
}

.info-box h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.info-box p {
    color: #666;
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

/* CONTACT FORM */
.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.contact-form:hover {
    border-color: var(--primary);
    box-shadow: 0 15px 50px rgba(230, 57, 70, 0.1);
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group:last-of-type {
    margin-bottom: 2.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    transition: all 0.3s ease;
    color: #333;
    background: #f9f9f9;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
    font-weight: 400;
}

.contact-form .btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
    border: none;
    border-radius: 10px;
}

#formMessage {
    margin-top: 1.5rem;
    padding: 1.2rem;
    border-radius: 10px;
    text-align: center;
    display: none;
}

#formMessage.success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 2px solid #22c55e;
    display: block;
    animation: slideIn 0.4s ease;
}

#formMessage.error {
    background: rgba(230, 57, 70, 0.1);
    color: var(--primary);
    border: 2px solid var(--primary);
    display: block;
    animation: slideIn 0.4s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE CONTACT */
@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-wrapper {
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.8rem 1rem;
    }

    .info-box {
        gap: 1.2rem;
        padding: 1.5rem;
    }

    .info-box i {
        font-size: 2rem;
        width: 50px;
        height: 50px;
    }

    .info-box h3 {
        font-size: 1.1rem;
    }

    .info-box p {
        font-size: 0.9rem;
    }
}

/* PAGE CONTENT */
.page-content {
    padding: 80px 0;
    background: white;
}

.about-section {
    margin-bottom: 4rem;
    padding: 3rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.about-section:last-child {
    border-bottom: none;
}

.about-section h2 {
    font-size: 2.8rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
    padding-left: 20px;
}

.about-section h2:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 3px;
}

.about-section p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.9;
    margin-bottom: 1.2rem;
    font-weight: 400;
}

.about-section:first-child h2:before {
    background: var(--primary);
}

/* STATS GRID */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff5f5 100%);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.stat-box:hover {
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.1);
    transform: translateY(-5px);
}

.stat-box h3 {
    font-size: 3rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-box p {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

/* CERTIFICATE IMAGE */
.certificate-img {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(230, 57, 70, 0.15);
    margin-top: 2rem;
    transition: transform 0.3s ease;
}

.certificate-img:hover {
    transform: scale(1.02);
}

/* TEAM PAGE */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.team-member {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.team-member:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(230, 57, 70, 0.2);
    border-color: var(--primary);
}

.member-photo {
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    position: relative;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.team-member:hover .member-photo img {
    transform: scale(1.08);
}

.team-member h3 {
    font-size: 1.6rem;
    color: var(--dark);
    margin: 1.8rem 1.8rem 0.5rem 1.8rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.team-member .position {
    color: var(--primary);
    font-size: 1rem;
    margin: 0 1.8rem 1rem 1.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    background: rgba(230, 57, 70, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    width: fit-content;
}

.team-member .bio {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0 1.8rem 1.8rem 1.8rem;
    flex: 1;
    font-weight: 400;
}

/* BUTTON STYLES */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 10px 25px rgba(230, 57, 70, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(230, 57, 70, 0.4);
}

/* FUNCTIONS PAGE */
.functions-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.function-item {
    background: white;
    border-left: 5px solid var(--primary);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.function-item:hover {
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.15);
    transform: translateX(5px);
}

/* FUNCTIONS DETAILED */
.functions-detailed {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 3rem;
}

.function-detail {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 2.5rem;
    align-items: flex-start;
    padding: 2.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-left: 5px solid transparent;
    position: relative;
    overflow: hidden;
}

.function-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.02) 0%, rgba(255, 159, 28, 0.02) 100%);
    pointer-events: none;
}

.function-detail:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(230, 57, 70, 0.15);
    border-left-color: var(--primary);
}

.function-detail:nth-child(odd) {
    border-left-color: var(--primary);
}

.function-detail:nth-child(even) {
    border-left-color: var(--secondary);
}

.function-number-large {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    font-size: 3rem;
    font-weight: 800;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.3);
    position: relative;
    z-index: 1;
}

.function-content {
    padding-top: 0.5rem;
    position: relative;
    z-index: 1;
}

.function-content h2 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.function-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.9;
    margin: 0;
    font-weight: 400;
}

/* RESPONSIVE FUNCTIONS */
@media (max-width: 768px) {
    .function-detail {
        grid-template-columns: 80px 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .function-number-large {
        width: 80px;
        height: 80px;
        font-size: 2.2rem;
    }

    .function-content h2 {
        font-size: 1.4rem;
    }

    .function-content p {
        font-size: 0.9rem;
    }
}

.function-number {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.function-item h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.function-item p {
    color: #666;
    line-height: 1.8;
}

/* GALLERY PAGE */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 350px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(230, 57, 70, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    background: rgba(0, 0, 0, 0.5);
}

/* CONTACT PAGE */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
    align-items: start;
}

.contact-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff5f5 100%);
    padding: 2.5rem;
    border-radius: 15px;
    border: 2px solid #f0f0f0;
}

.contact-info h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item strong {
    color: var(--primary);
    font-weight: 600;
}

.contact-item p {
    color: #666;
    margin-top: 0.5rem;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-weight: 600;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-submit {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 12px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(230, 57, 70, 0.3);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem 1rem;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-slider {
        min-height: 400px;
    }

    .slider {
        height: 350px;
    }

    .hero-content {
        left: 20px;
        max-width: 80%;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .slider-btn.prev {
        left: 10px;
    }

    .slider-btn.next {
        right: 10px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .about-section h2 {
        font-size: 1.8rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .functions-cards-grid {
        grid-template-columns: 1fr;
    }

    .membership-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .benefits-list {
        grid-template-columns: 1fr;
    }

    .cta h2 {
        font-size: 1.8rem;
    }
}
