/* Base Reset & Variables */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: #333333; background-color: #ffffff; line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; height: auto; display: block; }

/* Main Color: #059669 */
.bg-primary { background-color: #059669; }
.text-primary { color: #059669; }

/* Container */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* Top Bar */
.top-bar { background-color: #1f2937; color: #d1d5db; font-size: 13px; padding: 8px 0; border-bottom: 1px solid #374151; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.social-links { display: flex; gap: 14px; align-items: center; }
.social-links a { color: #9ca3af; font-size: 15px; transition: color 0.3s ease; }
.social-links a:hover { color: #059669; }
.top-info { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.top-info a { color: #d1d5db; display: inline-flex; align-items: center; gap: 6px; }
.top-info a:hover { color: #059669; }

/* Header Navigation */
.header { background-color: #ffffff; box-shadow: 0 2px 10px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 1000; }
.header-container { display: flex; justify-content: space-between; align-items: center; padding: 12px 15px; }
.logo { display: flex; align-items: center; }
.logo-img { height: 80px; width: auto; }

/* Nav Menu */
.nav-wrapper { display: flex; align-items: center; gap: 20px; }
.nav-menu { display: flex; list-style: none; gap: 20px; align-items: center; }
.nav-item { position: relative; }
.nav-link { font-weight: 600; font-size: 14px; color: #1f2937; padding: 10px 0; display: block; text-transform: uppercase; }
.nav-link:hover, .nav-item.active > .nav-link { color: #059669; }

/* Dropdown Submenu */
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; width: 280px; background-color: #ffffff; box-shadow: 0 10px 25px rgba(0,0,0,0.12); border-radius: 4px; padding: 10px 0; list-style: none; z-index: 1001; border-top: 3px solid #059669; }
.dropdown-item a { display: block; padding: 10px 20px; color: #374151; font-size: 14px; transition: all 0.2s ease; }
.dropdown-item a:hover { background-color: #f3f4f6; color: #059669; padding-left: 24px; }

/* Desktop Hover Dropdown */
@media (min-width: 992px) {
    .nav-item.has-dropdown:hover .dropdown-menu { display: block; animation: fadeIn 0.3s ease; }
}

/* Lang Selector */
.lang-select { display: flex; align-items: center; gap: 6px; border: 1px solid #d1d5db; border-radius: 4px; padding: 4px 10px; font-size: 13px; font-weight: 600; }
.lang-select a { color: #6b7280; }
.lang-select a.active { color: #059669; }
.lang-select span { color: #d1d5db; }

/* Mobile Menu Toggle */
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 22px; color: #1f2937; padding: 5px; }

/* Page Reduced Height Single Banner */
.page-banner { position: relative; height: 260px; overflow: hidden; background-color: #0f172a; display: flex; align-items: center; justify-content: center; }
.page-banner .banner-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.4); }
.page-banner .banner-content { position: relative; z-index: 10; text-align: center; color: #ffffff; max-width: 800px; padding: 0 20px; }
.page-banner h1 { font-size: 32px; font-weight: 700; margin-bottom: 8px; line-height: 1.2; text-transform: uppercase; letter-spacing: 0.5px; }
.page-banner p { font-size: 15px; color: #e2e8f0; font-weight: 300; }

/* Breadcrumb Navigation Bar */
.breadcrumb-bar { background-color: #f3f4f6; border-bottom: 1px solid #e5e7eb; padding: 12px 0; font-size: 13px; color: #6b7280; }
.breadcrumb-list { display: flex; align-items: center; gap: 8px; list-style: none; flex-wrap: wrap; }
.breadcrumb-item a { color: #4b5563; font-weight: 500; }
.breadcrumb-item a:hover { color: #059669; }
.breadcrumb-item.active { color: #059669; font-weight: 600; }
.breadcrumb-separator { color: #9ca3af; font-size: 11px; }

/* Main Content Layout (Sidebar + Content Area) */
.main-layout { padding: 50px 0 70px 0; }
.layout-grid { display: grid; grid-template-columns: 260px 1fr; gap: 40px; }

/* Left Sidebar Submenu */
.sidebar { background: #ffffff; }
.sidebar-box { border: 1px solid #e5e7eb; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.sidebar-header { background-color: #059669; color: #ffffff; padding: 15px 20px; font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.sidebar-menu { list-style: none; }
.sidebar-menu li { border-bottom: 1px solid #f3f4f6; }
.sidebar-menu li:last-child { border-bottom: none; }
.sidebar-menu a { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; font-weight: 600; color: #374151; font-size: 14px; transition: all 0.2s ease; }
.sidebar-menu a:hover, .sidebar-menu li.active a { background-color: #f0fdf4; color: #059669; padding-left: 25px; }
.sidebar-menu i { font-size: 12px; }

/* Contact Quick Card in Sidebar */
.sidebar-contact { margin-top: 25px; background: #1f2937; color: #ffffff; border-radius: 6px; padding: 20px; }
.sidebar-contact h4 { font-size: 16px; margin-bottom: 12px; border-bottom: 2px solid #059669; padding-bottom: 6px; display: inline-block; }
.sidebar-contact p { font-size: 13px; color: #9ca3af; margin-bottom: 10px; line-height: 1.5; }
.sidebar-contact a { color: #34d399; font-weight: 600; word-break: break-all; }

/* Right Content Area Sections */
.content-area { display: flex; flex-direction: column; gap: 50px; }
.content-block { background: #ffffff; }
.block-title { font-size: 24px; font-weight: 700; color: #111827; margin-bottom: 20px; border-bottom: 2px solid #e5e7eb; padding-bottom: 10px; position: relative; }
.block-title::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 60px; height: 2px; background-color: #059669; }

/* Company Intro Grid */
.about-text-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.about-main-img { width: 100%; height: 360px; object-fit: cover; border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); margin-bottom: 20px; }
.about-paragraph { font-size: 15px; color: #4b5563; line-height: 1.8; margin-bottom: 15px; }
.about-highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 20px; }
.highlight-item { background-color: #f9fafb; border: 1px solid #e5e7eb; border-radius: 6px; padding: 18px; text-align: center; }
.highlight-item i { font-size: 28px; color: #059669; margin-bottom: 8px; }
.highlight-item h5 { font-size: 15px; font-weight: 700; color: #111827; margin-bottom: 4px; }
.highlight-item p { font-size: 12px; color: #6b7280; }

/* Workshop Gallery Grid */
.workshop-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.workshop-item { position: relative; overflow: hidden; border-radius: 6px; height: 220px; box-shadow: 0 4px 10px rgba(0,0,0,0.06); display: block; }
.workshop-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.workshop-mask { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(5, 150, 105, 0.75); display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; color: #ffffff; padding: 15px; text-align: center; }
.workshop-mask i { font-size: 28px; margin-bottom: 8px; }
.workshop-mask h4 { font-size: 16px; font-weight: 600; }
.workshop-item:hover img { transform: scale(1.08); }
.workshop-item:hover .workshop-mask { opacity: 1; }

/* Certificates Grid */
.cert-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cert-card { background: #ffffff; border-radius: 6px; padding: 15px; text-align: center; box-shadow: 0 4px 12px rgba(0,0,0,0.05); border: 1px solid #e5e7eb; transition: all 0.3s ease; display: block; }
.cert-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); border-color: #059669; }
.cert-img-wrap { height: 180px; overflow: hidden; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; background: #f3f4f6; border-radius: 4px; }
.cert-img-wrap img { max-height: 100%; width: 100%; object-fit: cover; transition: transform 0.3s ease; }
.cert-card:hover .cert-img-wrap img { transform: scale(1.05); }
.cert-card h4 { font-size: 14px; color: #111827; margin-bottom: 6px; }
.cert-card span { font-size: 12px; color: #059669; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }

/* Footer Section */
.footer { background-color: #111827; color: #9ca3af; padding-top: 55px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 35px; padding-bottom: 45px; border-bottom: 1px solid #1f2937; }
.footer-col h4 { font-size: 16px; color: #ffffff; margin-bottom: 18px; border-left: 3px solid #059669; padding-left: 10px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a:hover { color: #059669; padding-left: 5px; }
.contact-info li { margin-bottom: 12px; line-height: 1.6; display: flex; gap: 10px; align-items: flex-start; }
.contact-info i { color: #059669; margin-top: 4px; }

/* Bottom Copyright Bar */
.bottom-bar { padding: 20px 0; background-color: #0b0f17; font-size: 13px; }
.bottom-container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; padding: 15px 0; }
.bottom-container .copyright { flex: 1; min-width: 260px; text-align: left; }
.bottom-container .bottom-nav { text-align: center; }
.bottom-container .bottom-nav a:hover { color: #059669; }
.bottom-container .flag-badge { display: inline-flex; align-items: center; justify-content: flex-end; gap: 8px; font-weight: 600; }

.flag-icon-round { width: 28px; height: 28px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 6px rgba(255, 255, 255, 0.25); border: 1px solid rgba(255, 255, 255, 0.3); display: inline-block; vertical-align: middle; background-color: #ee1c25; }

/* Scroll To Top Button */
.scroll-top { position: fixed; bottom: 25px; right: 25px; width: 45px; height: 45px; background-color: #059669; color: #ffffff; border: none; border-radius: 50%; cursor: pointer; display: none; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,0.3); z-index: 999; font-size: 18px; transition: background 0.3s ease, transform 0.3s ease; }
.scroll-top:hover { background-color: #047857; transform: translateY(-3px); }

/* Modal Lightbox for Certificate Preview */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 2000; align-items: center; justify-content: center; padding: 20px; }
.modal-content { position: relative; max-width: 800px; width: 100%; background: #fff; border-radius: 8px; overflow: hidden; animation: fadeIn 0.3s ease; }
.modal-body img { width: 100%; max-height: 80vh; object-fit: contain; }
.modal-close { position: absolute; top: 10px; right: 15px; font-size: 28px; color: #333; cursor: pointer; z-index: 10; width: 35px; height: 35px; background: rgba(255,255,255,0.8); border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* Animations */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Responsive Breakpoints */
@media (max-width: 991px) {
    .top-bar .container { justify-content: center; text-align: center; flex-direction: column; gap: 8px; }
    .top-info { justify-content: center; }
    .header-container { padding: 10px 15px; }
    .logo-img { height: 40px; }
    .mobile-toggle { display: block; }

    .nav-menu { display: none; position: absolute; top: 100%; left: 0; width: 100%; background-color: #ffffff; flex-direction: column; gap: 0; box-shadow: 0 10px 15px rgba(0,0,0,0.1); border-top: 1px solid #e5e7eb; align-items: stretch; }
    .nav-menu.active { display: flex; }
    .nav-item { width: 100%; border-bottom: 1px solid #f3f4f6; }
    .nav-link { padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; }

    .dropdown-menu { position: static; width: 100%; box-shadow: none; border-top: none; background-color: #f9fafb; padding: 0; border-radius: 0; }
    .dropdown-item a { padding: 10px 30px; font-size: 13px; }

    .page-banner { height: 180px; }
    .page-banner h1 { font-size: 22px; }
    .page-banner p { font-size: 13px; }

    .layout-grid { grid-template-columns: 1fr; gap: 30px; }
    .about-highlights { grid-template-columns: 1fr; }
    .workshop-grid { grid-template-columns: 1fr; }
    .cert-grid { grid-template-columns: 1fr; }

    .bottom-container { flex-direction: column; text-align: center; gap: 10px; }
    .bottom-container .copyright, .bottom-container .flag-badge { text-align: center; justify-content: center; }
}