:root {
    --iti-green: #2d5016;
    --iti-yellow: #f4c430;
    --iti-blue: #1e40af;
    --iti-white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
    background-color: var(--iti-white);
}

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

.navbar {
    background-color: var(--iti-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

 .nav-actions {
     display: flex;
     align-items: center;
     gap: 12px;
 }

 .nav-social-link {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     width: 34px;
     height: 34px;
     border-radius: 999px;
     color: var(--iti-green);
     text-decoration: none;
     border: 1px solid var(--gray-200);
     background-color: var(--iti-white);
     transition: background-color 0.3s, color 0.3s, border-color 0.3s;
 }

 .nav-social-link:hover {
     background-color: var(--gray-100);
     border-color: var(--iti-green);
 }

 .nav-social-icon {
     width: 18px;
     height: 18px;
     display: block;
 }

.logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.brand-text h1 {
    font-size: 1.3rem;
    color: var(--iti-green);
    font-weight: 700;
    line-height: 1.2;
}

.brand-text .subtitle {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--iti-green);
    margin: 3px 0;
    transition: 0.3s;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--iti-green);
    border-bottom-color: var(--iti-green);
}

.hero {
    position: relative;
    background: linear-gradient(135deg, var(--iti-green) 0%, #1a3a0d 100%);
    color: var(--iti-white);
    padding: 100px 20px 60px;
    text-align: center;
    overflow: hidden;
}

 .hero-news {
     position: relative;
     z-index: 1;
     padding: 0 20px 16px;
 }

 .hero-news .container {
     max-width: none;
     padding: 0;
 }

 .hero-news .news-carousel {
     max-width: none;
 }

 .hero-news .news-carousel-viewport {
     border-radius: 14px;
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
     background: var(--iti-white);
 }

 .hero-news .news-carousel-controls {
     margin-top: 12px;
 }

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/images/image3.jpeg') center/cover;
    opacity: 0.15;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    opacity: 0.95;
}

.hero-motto {
    font-size: 1.3rem;
    margin-bottom: 40px;
    font-weight: 600;
    letter-spacing: 1px;
}

.motto-item {
    display: inline-block;
    padding: 0 10px;
}

.motto-divider {
    color: var(--iti-yellow);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--iti-yellow);
    color: var(--gray-900);
}

.btn-primary:hover {
    background-color: #e6b800;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: var(--iti-white);
    color: var(--iti-green);
}

.btn-secondary:hover {
    background-color: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.section {
    padding: 60px 20px;
}

.section-light {
    background-color: var(--gray-50);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
    color: var(--iti-green);
}

.welcome-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.welcome-card {
    background: var(--iti-white);
    padding: 30px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.welcome-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.welcome-card h3 {
    font-size: 1.5rem;
    color: var(--iti-green);
    margin-bottom: 15px;
}

.welcome-card p {
    color: var(--gray-600);
    line-height: 1.7;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.mv-card {
    background: var(--iti-white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    border-left: 5px solid var(--iti-green);
}

.mv-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.mv-card h3 {
    font-size: 1.8rem;
    color: var(--iti-green);
    margin-bottom: 20px;
}

.mv-card p {
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 20px;
}

.btn-link {
    color: var(--iti-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.btn-link:hover {
    color: var(--iti-blue);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.info-card {
    background: var(--iti-white);
    padding: 28px 22px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    border-top: 4px solid var(--iti-green);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
    border-top-color: var(--iti-yellow);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.info-card h3 {
    font-size: 1.3rem;
    color: var(--iti-green);
    margin-bottom: 10px;
}

.info-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.cta-section {
    background: linear-gradient(135deg, var(--iti-green) 0%, #1a3a0d 100%);
    color: var(--iti-white);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 28px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer {
    background-color: var(--gray-900);
    color: var(--gray-300);
    padding: 60px 20px 20px;
}

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

.footer-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.footer-section h3 {
    color: var(--iti-white);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.footer-section h4 {
    color: var(--iti-white);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.footer-motto {
    color: var(--iti-yellow);
    font-weight: 600;
    margin-top: 10px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--iti-yellow);
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 30px;
    text-align: center;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--iti-white);
        flex-direction: column;
        gap: 0;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        display: none;
    }

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

    .nav-menu li {
        padding: 10px 0;
        border-bottom: 1px solid var(--gray-200);
    }

    .brand-text h1 {
        font-size: 1rem;
    }

    .brand-text .subtitle {
        font-size: 0.8rem;
    }

    .logo {
        width: 50px;
        height: 50px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-motto {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

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

     .news-slide {
         grid-template-columns: 1fr;
         padding: 22px;
     }
}

.page-header {
    background: linear-gradient(135deg, var(--iti-green) 0%, #1a3a0d 100%);
    color: var(--iti-white);
    padding: 80px 20px 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
}

.breadcrumb {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: var(--iti-yellow);
    text-decoration: none;
}

.breadcrumb span {
    color: var(--gray-300);
}

.content-section {
    padding: 50px 20px;
}

.document-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.document-card {
    background: var(--iti-white);
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    padding: 25px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.document-card:hover {
    border-color: var(--iti-green);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.document-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.document-card h3 {
    font-size: 1.1rem;
    color: var(--iti-green);
    margin-bottom: 10px;
}

.document-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 15px;
}

.download-btn {
    background-color: var(--iti-green);
    color: var(--iti-white);
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: auto;
}

.document-card:hover .download-btn {
    background-color: var(--iti-blue);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    aspect-ratio: 4/3;
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--iti-white);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

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

.table-responsive {
    overflow-x: auto;
    margin-top: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--iti-white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

thead {
    background-color: var(--iti-green);
    color: var(--iti-white);
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

tbody tr:hover {
    background-color: var(--gray-50);
}

.download-link {
    color: var(--iti-green);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.download-link:hover {
    color: var(--iti-blue);
}

 .social-links {
     list-style: none;
 }
 
 .social-links li {
     margin-bottom: 10px;
 }
 
 .social-link {
     display: inline-flex;
     align-items: center;
     gap: 10px;
     color: var(--gray-300);
     text-decoration: none;
     transition: color 0.3s;
 }
 
 .social-link:hover {
     color: var(--iti-yellow);
 }
 
 .social-icon {
     width: 18px;
     height: 18px;
     display: inline-block;
 }
 
 .news-carousel {
     position: relative;
     max-width: 1000px;
     margin: 0 auto;
 }
 
 .news-carousel-viewport {
     overflow: hidden;
     border-radius: 14px;
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
     background: var(--iti-white);
 }
 
 .news-carousel-track {
     display: flex;
     transition: transform 0.45s ease;
     will-change: transform;
 }
 
 .news-slide {
     min-width: 100%;
     padding: 28px;
     display: grid;
     grid-template-columns: 1fr 1.2fr;
     gap: 24px;
     align-items: center;
 }
 
 .news-slide-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    object-fit: cover;
    height: 100%;
    border: 2px solid var(--gray-200);
}
 
 .news-slide-content h3 {
     color: var(--iti-green);
     font-size: 1.6rem;
     line-height: 1.2;
     margin-bottom: 10px;
 }
 
 .news-slide-meta {
     color: var(--gray-600);
     font-weight: 600;
     margin-bottom: 12px;
 }
 
 .news-slide-content p {
     color: var(--gray-700);
     line-height: 1.8;
     margin-bottom: 18px;
 }
 
 .news-carousel-controls {
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 12px;
     margin-top: 16px;
 }
 
 .news-carousel-btn {
     border: 1px solid var(--gray-200);
     background: var(--iti-white);
     color: var(--iti-green);
     width: 40px;
     height: 40px;
     border-radius: 999px;
     cursor: pointer;
     font-size: 18px;
     display: inline-flex;
     align-items: center;
     justify-content: center;
     transition: transform 0.2s, background-color 0.3s, border-color 0.3s;
 }
 
 .news-carousel-btn:hover {
     background-color: var(--gray-100);
     border-color: var(--iti-green);
     transform: translateY(-1px);
 }
 
 .news-carousel-dots {
     display: inline-flex;
     gap: 8px;
 }
 
 .news-carousel-dot {
     width: 10px;
     height: 10px;
     border-radius: 999px;
     border: 1px solid var(--gray-300);
     background: var(--iti-white);
     cursor: pointer;
     padding: 0;
 }
 
 .news-carousel-dot.active {
     background: var(--iti-yellow);
     border-color: var(--iti-yellow);
 }

 .video-modal {
     position: fixed;
     inset: 0;
     z-index: 10000;
     display: none;
 }

 .video-modal.is-open {
     display: block;
 }

 .video-modal-overlay {
     position: absolute;
     inset: 0;
     background: rgba(0, 0, 0, 0.85);
 }

 .video-modal-content {
     position: relative;
     z-index: 1;
     width: min(920px, calc(100vw - 32px));
     margin: 0 auto;
     top: 50%;
     transform: translateY(-50%);
     background: #000;
     border-radius: 14px;
     overflow: hidden;
     box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
 }

 .video-modal-player {
     width: 100%;
     height: auto;
     display: block;
     aspect-ratio: 16 / 9;
     background: #000;
 }

 .video-modal-close {
     position: absolute;
     top: 10px;
     right: 10px;
     width: 42px;
     height: 42px;
     border-radius: 999px;
     border: 1px solid rgba(255, 255, 255, 0.25);
     background: rgba(0, 0, 0, 0.45);
     color: #fff;
     font-size: 28px;
     line-height: 1;
     cursor: pointer;
 }

 .video-modal-close:hover {
     background: rgba(0, 0, 0, 0.65);
 }

 body.modal-open {
     overflow: hidden;
 }
