/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
 
}
.logo {
    max-height: 1000px;
    width: auto;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #9e0d0d;
    color: white;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn:hover {
    background-color: #9e0d0d;
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    color: #9e0d0d;
    border: 2px solid #9e0d0d;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline:hover {
    background-color: #9e0d0d;
    color: white;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #9e0d0d;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #9e0d0d;
}

/* Header Styles */
header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Header Top Bar */
.header-top {
    background-color: #571313;
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-contact {
    display: flex;
    gap: 20px;
}

.header-contact i {
    margin-right: 5px;
}

.header-social {
    display: flex;
    gap: 15px;
}

.header-social a {
    color: #fff;
    transition: color 0.3s ease;
}

.header-social a:hover {
    color: #ccc;
}

/* Header Main */
.header-main {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

/* Navigation Menu */
.nav-menu ul {
    display: flex;
    gap: 30px;
}

.nav-menu li a {
    color: #9e0d0d;
    font-weight: 600;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #9e0d0d;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #9e0d0d;
    bottom: -2px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    color: #333;
}

/* Page Header */
.page-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../assets/page-header-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 80px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 180px 0 100px;
    text-align: center;
    margin-top: 0;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* Simulation Section */
.simulation {
    padding: 80px 0;
    background-color: white;
}

.simulation-container {
    display: flex;
    gap: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.simulation-form {
    flex: 1;
    padding: 20px;
}

.simulation-result {
    flex: 1;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.simulation-result h3 {
    margin-bottom: 20px;
    color: #9e0d0d;
}

.result-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #666;
    font-style: italic;
}

.result-details {
    display: none;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.result-item:last-child {
    border-bottom: none;
}

.result-item span:first-child {
    font-weight: 600;
}

.result-item span:last-child {
    font-weight: 700;
    color: #9e0d0d;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #9e0d0d;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Featured Products */
.featured-products {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-icon {
    font-size: 50px;
    color: #9e0d0d;
    margin-bottom: 20px;
}

.product-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: #9e0d0d;
}

.product-card p {
    margin-bottom: 20px;
    color: #666;
}

/* About Tabs */
.about-tabs {
    padding: 80px 0;
    background-color: white;
}

.tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 12px 25px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

.tab-btn.active {
    color: #9e0d0d;
    border-bottom-color: #680c0c;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #9e0d0d;
}

.about-content h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: #9e0d0d;
}

.organization-chart {
    margin-top: 30px;
}

.org-level {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.org-position {
    margin: 0 15px;
    text-align: center;
}

.org-box {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    min-width: 200px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.org-box h4 {
    color: #9e0d0d;
    margin-bottom: 5px;
}

.report-list {
    margin-top: 30px;
    margin-left: 25px;
    margin-right: 25px;
    
}

.report-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
    margin-left: 25px;
    margin-right: 25px;
    transition: all 0.3s ease;
}

.report-item:hover {
    border-color: #9e0d0d;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.report-icon {
    font-size: 30px;
    color: #9e0d0d;
    margin-right: 20px;
}

.report-info {
    flex: 1;
}

.report-info h3 {
    margin-bottom: 5px;
}

.report-info p {
    color: #666;
    font-size: 14px;
}

/* Products Page */
.products-page {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.product-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.category-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-icon {
    font-size: 50px;
    color: #9e0d0d;
    margin-bottom: 20px;
}

.category-card h2 {
    margin-bottom: 15px;
    color: #9e0d0d;
}

.category-card p {
    margin-bottom: 20px;
    color: #666;
}

.product-details {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.product-details h3 {
    margin: 20px 0 10px;
    color: #9e0d0d;
    font-size: 1.2rem;
}

.product-details ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.product-details ul li {
    margin-bottom: 8px;
    color: #666;
}

.interest-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.interest-table th,
.interest-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.interest-table th {
    background-color: #f5f5f5;
    color: #9e0d0d;
}

/* News Page */
.news-page {
    padding: 80px 0;
    background-color: white;
}

.news-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 30px;
}

.news-tab-btn {
    padding: 12px 25px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

.news-tab-btn.active {
    color: #9e0d0d;
    border-bottom-color: #9e0d0d;
}

.news-tab-content {
    display: none;
}

.news-tab-content.active {
    display: block;
}

.news-list {
    margin-top: 30px;
}

.news-item {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}

.news-date {
    min-width: 80px;
    text-align: center;
    margin-right: 30px;
}

.news-date .day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #9e0d0d;
    line-height: 1;
}

.news-date .month {
    display: block;
    font-size: 1rem;
    color: #666;
    text-transform: uppercase;
    margin: 5px 0;
}

.news-date .year {
    display: block;
    font-size: 1rem;
    color: #666;
}

.news-content h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: #9e0d0d;
    margin-right: 10px;
}

.news-content p {
    margin-bottom: 15px;
    margin-right: 10px;
    color: #666;
}

.read-more {
    color: #9e0d0d;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #9e0d0d;
}

.gallery-title {
    margin-bottom: 30px;
    text-align: center;
    color: #9e0d0d;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #9e0d0d;
    color: white;
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-caption h3 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.gallery-caption p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Contact Page */
.contact-page {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-info h2 {
    margin-bottom: 30px;
    color: #9e0d0d;
    font-size: 1.8rem;
}

.contact-item {
    display: flex;
    margin-bottom: 25px;
}

.contact-icon {
    font-size: 24px;
    color: #9e0d0d;
    margin-right: 15px;
    margin-top: 5px;
}

.contact-detail h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
    color: #9e0d0d;
}

.contact-detail p {
    color: #666;
    line-height: 1.6;
}

.branch-list {
    margin-top: 20px;
}

.branch-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.branch-item h3 {
    margin-bottom: 5px;
    color: #9e0d0d;
}

.branch-item p {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

.contact-map-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-map {
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    margin-bottom: 20px;
    color: #9e0d0d;
    font-size: 1.8rem;
}

/* Footer */
footer {
    background-color: #222;
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: #9e0d0d;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-logo {
    height: 200px;
    margin-bottom: 20px;
    image-resolution: 100px;
}

.footer-col p {
    color: #bbb;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #bbb;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #9e0d0d;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    margin-right: 10px;
    color: #9e0d0d;
    margin-top: 3px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #bbb;
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .simulation-container {
        flex-direction: column;
    }
    
    .simulation-form,
    .simulation-result {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .header-top .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .header-contact {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .header-social {
        justify-content: center;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        display: none;
    }
    
    .nav-menu.active {
        display: block;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .news-item {
        flex-direction: column;
    }
    
    .news-date {
        margin-right: 0;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        gap: 15px;
    }
    
    .news-date .day,
    .news-date .month,
    .news-date .year {
        display: inline;
        font-size: 1rem;
    }
    
    .contact-item {
        flex-direction: column;
    }
    
    .contact-icon {
        margin-bottom: 10px;
    }
}
/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #9e0d0d;
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 100px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        display: none;
        z-index: 1000;
    }
    
    .nav-menu.active {
        display: block;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 15px;
    }
}
