* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #f4f8f4;
    color: #333;
}

/* Top Header */
header {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
    padding: 15px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-btn {
    font-size: 26px;
    color: #ffffff;
    cursor: pointer;
    margin-right: 20px;
    transition: transform 0.3s ease;
    display: block;
}

.menu-btn:hover {
    transform: scale(1.1);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1b5e20;
    font-size: 24px;
    border: 2px solid #1b5e20;
    transition: transform 0.3s ease;
}

.logo-icon:hover {
    transform: rotate(360deg);
}

.brand-text h1 {
    font-size: 20px;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.brand-text p {
    font-size: 12px;
    color: #cbd5e1;
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.desktop-nav ul li a {
    color: #ffffff;
    text-decoration: none;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.desktop-nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #81c784;
}

.desktop-nav ul li a i {
    font-size: 16px;
}

/* Sidebar Navigation */
.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    background-color: #1e293b;
    overflow-x: hidden;
    transition: width 0.3s ease;
    padding-top: 60px;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.sidebar a {
    padding: 12px 25px;
    text-decoration: none;
    font-size: 16px;
    color: #e2e8f0;
    display: block;
    font-weight: 600;
    transition: all 0.2s ease;
    border-bottom: 1px solid #334155;
}

.sidebar a:hover {
    background-color: #2e7d32;
    color: #ffffff;
    padding-left: 30px;
}

.sidebar .closebtn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    border: none;
    color: #ffffff;
}

.sidebar .closebtn:hover {
    color: #ef4444;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
}

/* Section Spacing */
.section {
    margin: 60px 0;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Banner */
.hero {
    padding: 60px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #2e7d32;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #1b4d2e;
    font-weight: 500;
    margin-bottom: 38px;
    transition: all 0.3s ease;
}

.badge:hover {
    background-color: #c8e6c9;
    transform: scale(1.05);
}

.badge svg {
    width: 16px;
    height: 16px;
    stroke: #1b4d2e;
    fill: none;
    stroke-width: 2;
}

.heading {
    font-size: 2.5rem;
    line-height: 1.15;
    font-weight: 800;
    color: #111111;
    margin-bottom: 40px;
}

.heading .highlight {
    color: #1f6e3c;
}

.description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #1e3a8a;
    margin-bottom: 40px;
    max-width: 460px;
}

/* Action Buttons */
.cta-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 300px;
}

.btn {
    width: 100%;
    padding: 14px 20px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #1f6e3c;
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 12px rgba(31, 110, 60, 0.3);
}

.btn-primary:hover {
    background-color: #185830;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(31, 110, 60, 0.4);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.7);
    color: #1f6e3c;
    border: 1px solid #b3d1b6;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 1);
    border-color: #1f6e3c;
}

/* 3 Feature Cards Section */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.card-header {
    padding: 15px;
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: bold;
}

.card-header i {
    font-size: 20px;
    background: rgba(255,255,255,0.2);
    padding: 8px;
    border-radius: 50%;
}

/* Custom Card Themes */
.card-blue .card-header { background: #0288d1; }
.card-orange .card-header { background: #f57c00; }
.card-green .card-header { background: #388e3c; }

.card-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-img {
    transform: scale(1.05);
}

.card-body {
    padding: 20px;
}

.card-body ul {
    list-style: none;
}

.card-body ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
}

.card-body ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2e7d32;
    font-weight: bold;
}

/* Gallery Section */
.gallery-section {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.gallery-header h3 {
    color: #1b5e20;
    font-size: 1.5rem;
}

.upload-btn {
    background: #2e7d32;
    color: white;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.upload-btn:hover {
    background: #1b5e20;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

.upload-btn input {
    display: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.gallery-grid img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Syllabus Section */
.syllabus-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.08);
    padding: 32px;
    border: 1px solid #cbd5e1;
    margin-bottom: 40px;
}

.header-banner {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
    color: #ffffff;
    padding: 24px 26px;
    border-radius: 8px;
    margin-bottom: 22px;
}

.header-banner h1 {
    margin: 0 0 8px 0;
    font-size: 20pt;
    font-weight: bold;
    color: #ffffff;
}

.header-banner p {
    margin: 0;
    font-size: 11pt;
    color: #cbd5e1;
}

.badge-container {
    margin-top: 12px;
}

.badge-tag {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.18);
    color: #f1f5f9;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 8.5pt;
    margin-right: 6px;
    margin-bottom: 4px;
}

.syllabus-container h2 {
    font-size: 14pt;
    color: #0f172a;
    border-left: 5px solid #2563eb;
    padding-left: 12px;
    margin-top: 24px;
    margin-bottom: 12px;
}

.intro-box {
    background-color: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 14px 18px;
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 9.5pt;
}

th, td {
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    text-align: left;
    vertical-align: top;
}

th {
    background-color: #1e293b;
    color: #ffffff;
    font-weight: bold;
}

tr:nth-child(even) {
    background-color: #f8fafc;
}

.module-card {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 16px 18px;
    margin-bottom: 16px;
    background-color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.module-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.module-card.m1 { border-top: 4px solid #ec4899; }
.module-card.m2 { border-top: 4px solid #3b82f6; }
.module-card.m3 { border-top: 4px solid #10b981; }
.module-card.m4 { border-top: 4px solid #8b5cf6; }
.module-card.m5 { border-top: 4px solid #f59e0b; }
.module-card.m6 { border-top: 4px solid #ef4444; }
.module-card.m7 { border-top: 4px solid #06b6d4; }
.module-card.m8 { border-top: 4px solid #22c55e; }

.module-header {
    font-weight: bold;
    font-size: 12pt;
    color: #0f172a;
    margin-bottom: 8px;
}

.topic-tag {
    font-size: 8.5pt;
    font-weight: bold;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    background-color: #e2e8f0;
    color: #334155;
    margin-right: 8px;
}

.role-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.role-cell {
    flex: 1 1 calc(25% - 10px);
    min-width: 180px;
    padding: 8px 10px;
    background-color: #f1f5f9;
    border-radius: 6px;
    font-size: 8.5pt;
}

.role-cell strong {
    color: #1e293b;
    display: block;
    margin-bottom: 3px;
}

.checklist-box {
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 16px 20px;
    margin-top: 20px;
}

/* Registration Portal Section */
.register-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 40px 30px;
    margin-bottom: 40px;
}

.register-header {
    text-align: center;
    margin-bottom: 40px;
}

.register-header h1 {
    font-size: 2.2rem;
    color: #1f6e3c;
    margin-bottom: 15px;
}

.register-header p {
    font-size: 1.1rem;
    color: #556055;
    line-height: 1.6;
}

.register-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 30px;
}

.register-left h2 {
    font-size: 2rem;
    line-height: 1.3;
    color: #111;
    font-weight: 600;
    margin-bottom: 20px;
}

.register-left p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
}

.register-left .btn {
    display: inline-block;
    padding: 14px 28px;
    background-color: #1f6e3c;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.register-left .btn:hover {
    background-color: #185830;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(31, 110, 60, 0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: #f8faf8;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: #1f6e3c;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 600;
    color: #1f6e3c;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.register-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.register-actions .btn-register {
    padding: 16px 32px;
    background: linear-gradient(135deg, #1f6e3c 0%, #2e7d32 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(31, 110, 60, 0.3);
}

.register-actions .btn-register:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(31, 110, 60, 0.4);
}

.register-actions .btn-verify {
    padding: 16px 32px;
    background: white;
    color: #1f6e3c;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid #1f6e3c;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.register-actions .btn-verify:hover {
    background: #1f6e3c;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(31, 110, 60, 0.3);
}

/* Vacancy Section */
.vacancy-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 30px;
    margin-bottom: 40px;
}

.vacancy-header {
    text-align: center;
    border-bottom: 3px solid #16a085;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.vacancy-header h1 {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 8px;
}

.vacancy-header p {
    color: #16a085;
    font-size: 16px;
    font-weight: 600;
}

.category-title {
    background: #e8f8f5;
    color: #117a65;
    padding: 10px 15px;
    border-left: 5px solid #16a085;
    margin: 25px 0 15px 0;
    font-size: 20px;
    border-radius: 4px;
}

.job-card {
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.job-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    border-color: #16a085;
    transform: translateY(-2px);
}

.job-title {
    font-size: 18px;
    color: #2c3e50;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 10px;
}

.job-badge {
    background-color: #16a085;
    color: white;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: normal;
}

.job-desc {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
    line-height: 1.5;
}

.job-details {
    font-size: 13px;
    color: #7f8c8d;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
    color: #e8f5e9;
    padding: 40px 20px 15px 20px;
    margin-top: 60px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h4 {
    color: #ffffff;
    margin-bottom: 15px;
    border-bottom: 2px solid #2e7d32;
    display: inline-block;
    padding-bottom: 5px;
    font-size: 16px;
}

.footer-col p, .footer-col a {
    color: #c8e6c9;
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 8px;
    display: block;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-col i {
    margin-right: 8px;
    color: #81c784;
}

.footer-bottom {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #334155;
    font-size: 13px;
    color: #cbd5e1;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #1f6e3c;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(31, 110, 60, 0.4);
    z-index: 99;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: #185830;
    transform: translateY(-5px);
}

/* Responsive Design */

/* Desktop/Laptop View (1024px and above) */
@media (min-width: 1024px) {
    /* Hide mobile menu button on desktop */
    .menu-btn {
        display: none;
    }
    
    /* Show desktop navigation */
    .desktop-nav {
        display: block;
    }
    
    /* Hide sidebar on desktop */
    .sidebar {
        display: none !important;
    }
    
    /* Optimize header for desktop */
    header {
        padding: 12px 40px;
    }
    
    .brand-text h1 {
        font-size: 22px;
    }
    
    .brand-text p {
        font-size: 13px;
    }
    
    /* Optimize sections for wider screens */
    .container {
        padding: 0 30px;
    }
    
    .hero {
        max-width: 700px;
        padding: 80px 24px;
    }
    
    .heading {
        font-size: 3rem;
    }
    
    .description {
        font-size: 1.2rem;
        max-width: 500px;
    }
    
    .cta-group {
        flex-direction: row;
        max-width: 100%;
    }
    
    .btn {
        padding: 16px 28px;
    }
}

/* Tablet View (768px to 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .heading {
        font-size: 2.3rem;
    }
}

/* Mobile View (below 768px) */
@media (max-width: 767px) {
    /* Keep mobile menu button visible */
    .menu-btn {
        display: block;
    }
    
    /* Hide desktop navigation on mobile */
    .desktop-nav {
        display: none;
    }
    
    .heading {
        font-size: 2rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .role-cell {
        flex: 1 1 100%;
    }
    
    .job-title {
        font-size: 16px;
    }
    
    .brand-text h1 {
        font-size: 16px;
    }
    
    .brand-text p {
        font-size: 10px;
    }
    
    .hero {
        padding: 40px 20px;
    }
    
    table {
        font-size: 8pt;
    }
    
    th, td {
        padding: 8px 6px;
    }
    
    /* Registration Section Mobile */
    .register-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .register-left h2 {
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .register-actions {
        flex-direction: column;
    }
    
    .register-actions .btn-register,
    .register-actions .btn-verify {
        width: 100%;
        justify-content: center;
    }
}

/* Small Mobile (below 480px) */
@media (max-width: 480px) {
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .header-left {
        gap: 10px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}
