/* ==========================================================================
   BENNING Website - Custom Styles
   ========================================================================== */

/* ==========================================================================
   CSS Variables (Customizable Colors & Values)
   ========================================================================== */
:root {
    --primary: #998100;
    --secondary: #000847;
    /* Primary Colors */
    --primary-blue: #000847;
    --primary-blue-dark: #04127d;
    --primary-blue-light: #1d2668;
    --primary-blue-gradient-start: #020d61;
    --primary-blue-gradient-end: #020728;

    /* Secondary Colors */
    --gold-accent: #dba63a;
    --red-accent: #cc0000;
    --linkedin-blue: #0077b5;

    /* Neutral Colors */
    --dark-gray: #444444;
    --medium-gray: #555555;
    --light-gray: #666666;
    --lighter-gray: #999999;
    --border-gray: #dddddd;
    --bg-gray: #e9ecef;
    --bg-light: #f4f4f4;
    --bg-section: #f9f9f9;
    --white: #ffffff;
    --black: #000000;

    /* Overlay Colors */
    --overlay-dark: rgba(0, 0, 0, 0.75);
    --overlay-medium: rgba(0, 0, 0, 0.6);
    --overlay-light: rgba(255, 255, 255, 0.2);

    /* Typography */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-persian: 'Vazirmatn', sans-serif;

    /* Spacing */
    --section-padding: 50px;
    --container-padding: 20px;

    /* Transitions */
    --transition-fast: 0.2s;
    --transition-normal: 0.3s;
    --transition-slow: 0.4s;

    /* Shadows */
    --shadow-light: 0 2px 5px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 20px rgba(0, 0, 0, 0.1);
    --shadow-dark: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   General Reset & Base Styles
   ========================================================================== */
body {
    font-family: var(--font-primary);
    background-color: var(--bg-light);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: color var(--transition-fast);
}

/* Custom Container Size */
.container {
    max-width: 1100px !important;
}

/* ==========================================================================
   Sticky Header Wrapper
   ========================================================================== */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background-color: var(--white);
    box-shadow: none;
    transition: box-shadow var(--transition-normal);
}

.sticky-header.scrolled {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   Top Utility Bar
   ========================================================================== */
.top-bar {
    background-color: var(--bg-gray);
    font-size: 0.85rem;
    padding: 5px 40px;
    text-align: right;
    border-bottom: 1px solid var(--border-gray);
}

.top-bar a {
    color: var(--medium-gray);
    text-decoration: none;
    margin-left: 15px;
}

.top-bar i {
    color: var(--primary);
    font-size: 1.1rem;
}

.top-bar .linkedin-icon {
    color: var(--linkedin-blue) !important;
}

.top-bar-left{
    visibility: hidden;
}

/* ==========================================================================
   Main Header Area (Logo & Search)
   ========================================================================== */
.main-header {
    background-color: var(--white);
    padding: 15px 40px;
}

.brand-logo {
    max-width: 140px;
    font-weight: bold;
    font-size: 2rem;
    color: var(--primary-blue);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all var(--transition-normal);
    cursor: pointer;
}
.brand-logo:hover {
    transform: scale(1.02);
}
.brand-logo:hover img {
    filter: drop-shadow(0 4px 12px rgba(0, 8, 71, 0.3));
}
.brand-logo img {
    width: 100%;
    transition: filter var(--transition-normal);
}
.brand-subtitle {
    font-size: 0.80rem;
    font-weight: 500;
    color: var(--primary);
    letter-spacing: 0;
    text-transform: none;
    margin-top: -5px;
    font-family: var(--font-persian);
    direction: rtl;
    transition: opacity var(--transition-normal), max-height var(--transition-normal);
    opacity: 1;
    max-height: 30px;
    overflow: hidden;
}
.sticky-header.scrolled .brand-subtitle {
    opacity: 0;
    max-height: 0;
    margin-top: 0;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-icons i {
    font-size: 1.4rem;
    color: var(--primary);
    margin-left: 15px;
    cursor: pointer;
}
.fa-sign-in-alt{
    color: #fff !important;
}

.header-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-normal);
    font-family: var(--font-persian);
    direction: rtl;
    border: 1px solid var(--border-gray);
    color: var(--medium-gray);
    background-color: transparent;
    border-radius: 0;
}

.header-btn:hover {
    background-color: var(--bg-gray);
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.header-btn i {
    font-size: 1rem;
    margin: 0 !important;
}

.header-btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border-radius: 0;
}

.header-btn-primary:hover {
    background-color: var(--primary-blue-dark);
    color: var(--white);
    border-radius: 0;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar-custom {
    background-color: var(--primary-blue);
    padding: 0 40px;
}

.navbar-custom .nav-link {
    color: var(--white) !important;
    padding: 15px 20px;
    font-weight: 500;
    text-transform: capitalize;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-item.active .nav-link {
    background-color: var(--primary-blue-dark);
        border-bottom: 1px solid #f5c405;
}

/* Active Tab Highlight */
.nav-item.is-active-tab {
    background-color: var(--white);
    position: relative;
}

.nav-item.is-active-tab .nav-link {
    color: var(--primary-blue) !important;
    border-top: 3px solid var(--gold-accent);
    font-weight: bold;
}
.navbar-expand-lg .navbar-nav .nav-link{
    padding: 13px 20px;
}
/* Remove Bootstrap dropdown arrow */
.dropdown-toggle::after {
    display: none;
}

/* ==========================================================================
   Mega Menu Styles
   ========================================================================== */
.navbar-custom .nav-item {
    position: static;
}

.navbar-custom .dropdown-menu {
    width: 100%;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 0;
    box-shadow: var(--shadow-medium);
    background: transparent;
}

.mega-menu-content {
    display: flex;
    min-height: 500px;
}

/* Column 1: Dark Blue Sidebar */
.mm-col-1 {
    background: linear-gradient(to bottom, var(--primary-blue-gradient-start) 0%, var(--primary-blue-gradient-end) 100%);
    width: 22%;
    min-width: 220px;
    color: var(--white);
    padding: 0;
}

.mm-col-1 .mm-header {
    background-color: var(--primary-blue-light);
    padding: 15px;
    font-size: 1.5rem;
    border-bottom: 1px solid var(--overlay-light);
}

.mm-item {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: var(--transition-fast);
    position: relative;
    justify-content: space-between;
}

.mm-item i {
    margin-right: 10px;
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
}

.mm-item .text-desc {
    font-size: 0.75rem;
    opacity: 0.8;
    display: block;
}

.mm-item:hover,
.mm-item.active {
    background-color: var(--primary);
}

.mm-item.active::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid var(--bg-gray);
}

/* Column 2: Light Gray Area */
.mm-col-2 {
    background-color: var(--bg-gray);
    width: 25%;
    min-width: 200px;
    padding: 0;
    border-right: 1px solid var(--border-gray);
}

.col-header {
    padding: 15px;
    font-weight: bold;
    color: var(--primary-blue);
    border-bottom: 1px solid var(--border-gray);
    display: flex;
    justify-content: space-between;
}

.sub-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sub-menu-list li {
    padding: 10px 15px;
    border-bottom: 1px solid var(--border-gray);
    color: var(--dark-gray);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

.sub-menu-list li:hover {
    background-color: #dde1e5;
    color: var(--black);
}

/* Column 3: White Area */
.mm-col-3 {
    background-color: var(--white);
    flex: 1;
    min-width: 180px;
    padding: 0;
    border-right: 1px solid var(--border-gray);
}

/* Initially hide col3 content (header + list) until chevron is clicked */
.mm-col-3 .col-header,
.mm-col-3 .sub-menu-list {
    display: none;
}

.mm-col-3.content-visible .col-header,
.mm-col-3.content-visible .sub-menu-list {
    display: block;
}

.mm-col-3.content-visible .col-header {
    display: flex;
}

/* Make chevron in col2 clickable */
.sub-menu-list li .fa-chevron-right,
.sub-menu-list li .fa-chevron-left {
    cursor: pointer;
    padding: 5px;
    transition: color 0.2s, transform 0.2s;
}

.sub-menu-list li .fa-chevron-right:hover,
.sub-menu-list li .fa-chevron-left:hover {
    color: var(--primary);
    transform: scale(1.2);
}

.sub-menu-list-simple li {
    border-bottom: none;
    padding: 8px 15px;
}

.btn-close-menu {
    float: right;
    color: var(--white);
    cursor: pointer;
}

/* Column 4: News & Events Area */
.mm-col-4 {
    background-color: #f8f9fa;
    width: 400px;
    min-width: 400px;
    padding: 0;
    border-right: 1px solid var(--border-gray);
    display: flex;
    flex-direction: column;
}

/* News Section in mm-col-4 */
.mm-news-section {
    padding: 15px;
    border-bottom: 1px solid var(--border-gray);
}

.mm-news-header {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.mm-news-header i {
    margin-left: 8px;
    color: var(--primary-blue);
}

.mm-news-date {
    font-size: 0.85rem;
    color: var(--medium-gray);
    margin-bottom: 8px;
}

.mm-news-image {
    width: 100%;
    height: 140px;
    overflow: hidden;
    margin-bottom: 10px;
    border-radius: 4px;
}

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

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

.mm-news-title {
    margin-bottom: 10px;
}

.mm-news-title a {
    font-size: 0.9rem;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    line-height: 1.5;
    display: block;
}

.mm-news-title a:hover {
    color: var(--primary-blue-dark);
    text-decoration: underline;
}

.mm-news-link {
    font-size: 0.85rem;
    color: var(--primary-blue);
    text-decoration: none;
    display: inline-block;
}

.mm-news-link:hover {
    text-decoration: underline;
}

.mm-news-link i {
    margin-right: 5px;
    font-size: 0.75rem;
}

/* Events Section in mm-col-4 */
.mm-events-section {
    padding: 15px;
    flex: 1;
}

.mm-events-header {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.mm-events-header i {
    margin-left: 8px;
    color: var(--primary-blue);
}

.mm-event-item {
    margin-bottom: 15px;
}

.mm-event-date {
    font-size: 0.8rem;
    color: var(--medium-gray);
    margin-bottom: 3px;
}

.mm-event-location {
    font-size: 0.8rem;
    color: var(--medium-gray);
    margin-bottom: 5px;
}

.mm-event-title a {
    font-size: 0.95rem;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    line-height: 1.4;
}

.mm-event-title a:hover {
    text-decoration: underline;
}

.mm-event-details {
    font-size: 0.8rem;
    color: var(--dark-gray);
    margin-top: 5px;
    line-height: 1.5;
}

.mm-events-link {
    font-size: 0.85rem;
    color: var(--primary-blue);
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}

.mm-events-link:hover {
    text-decoration: underline;
}

.mm-events-link i {
    margin-right: 5px;
    font-size: 0.75rem;
}

/* ==========================================================================
   Company Grid Menu Styles
   ========================================================================== */
.company-menu-content {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 0;
    min-height: 500px;
    max-width: 100%;
}

.company-grid-section {
    background-color: var(--white);
    padding: 0;
}

.company-grid-header {
    color: var(--secondary);
    padding: 15px;
    font-size: 1.5rem;
    border-bottom: 1px solid var(--overlay-light);
    display: flex;
    justify-content: start;
    align-items: center;
}

.company-grid-header i.fas.fa-building {
    margin-left: 10px;
}

.company-grid-header i.btn-close-menu {
    cursor: pointer;
}

.company-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 2rem;
    padding-top: 0;
}

.company-grid-item {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 0.5rem 1rem;
    text-align: left;
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    background-color: var(--white);
    direction: rtl;
}

.company-grid-item:hover {
    transform: translateY(-2px);
    background-color: var(--primary);
    color: #fff;
}
.company-grid-item:hover  i {

    color: #fff !important;
}
.company-grid-item:hover  h4 {

    color: #fff !important;
}
.company-grid-item:hover  p {

    color: #fff !important;
}

.company-grid-item i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
}

.company-grid-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: var(--dark-gray);
    grid-column: 1;
    grid-row: 1;
}

.company-grid-item p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
    grid-column: 1;
    grid-row: 2;
}

/* ==========================================================================
   News Grid Menu Styles
   ========================================================================== */
.news-menu-content {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 0;
    min-height: 500px;
    max-width: 100%;
}

.news-grid-section {
    background-color: var(--white);
    padding: 0;
    display: flex;
    flex-direction: column;
}

.news-grid-header {
    color: var(--secondary);
    padding: 15px;
    font-size: 1.5rem;
    border-bottom: 1px solid var(--overlay-light);
    display: flex;
    justify-content: start;
    align-items: center;
}

.news-grid-header i.fas.fa-newspaper {
    margin-left: 10px;
    margin-right: 10px;
}

.news-grid-header i.btn-close-menu {
    cursor: pointer;
}

.news-section-group {
    padding: 0.5rem 2rem;
    border-bottom: 1px solid #e0e0e0;
        padding-bottom: 20px;

}
.news-section-group:last-child{
    padding-top: 20px;
}

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

.news-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-blue);
    display: inline-block;
}

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

.news-grid-item {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 0.5rem 1rem;
    text-align: left;
    padding: 1.25rem;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    background-color: var(--white);
    direction: rtl;
}

.news-grid-item:hover {
    transform: translateY(-2px);
    background-color: var(--primary);
    color: #fff;
}
.news-grid-item:hover  i {

    color: #fff !important;
}
.news-grid-item:hover  h4 {

    color: #fff !important;
}
.news-grid-item:hover  p {

    color: #fff !important;
}

.news-grid-item i {
    font-size: 2rem;
    color: var(--primary-blue);
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
}

.news-grid-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    color: var(--dark-gray);
    grid-column: 1;
    grid-row: 1;
}

.news-grid-item p {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
    grid-column: 1;
    grid-row: 2;
}

/* ==========================================================================
   Academy Grid Menu Styles
   ========================================================================== */
.academy-menu-content {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 0;
    min-height: 500px;
    max-width: 100%;
}

.academy-grid-section {
    background-color: var(--white);
    padding: 0;
}

.academy-grid-header {
    color: var(--secondary);
    padding: 15px;
    font-size: 1.5rem;
    border-bottom: 1px solid var(--overlay-light);
    display: flex;
    justify-content: start;
    align-items: center;
}

.academy-grid-header i.fas.fa-graduation-cap {
        margin-left: 10px;
    margin-right: 20px;
}

.academy-grid-header i.btn-close-menu {
    cursor: pointer;
}

.academy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 2rem;
    padding-top: 5px;
}

.academy-grid-item {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 0.5rem 1rem;
    text-align: left;
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    background-color: var(--white);
        direction: rtl;

}

.academy-grid-item:hover {
    transform: translateY(-2px);
    background-color: var(--primary);
    color: #fff;
}
.academy-grid-item:hover  i {

    color: #fff !important;
}
.academy-grid-item:hover  h4 {

    color: #fff !important;
}
.academy-grid-item:hover  p {

    color: #fff !important;
}

.academy-grid-item i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
}

.academy-grid-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: var(--dark-gray);
    grid-column: 1;
    grid-row: 1;
}

.academy-grid-item p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
    grid-column: 1;
    grid-row: 2;
}

/* ==========================================================================
   Contact Grid Menu Styles
   ========================================================================== */
.contact-menu-content {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 0;
    min-height: 500px;
    max-width: 100%;
}

.contact-grid-section {
    background-color: var(--white);
    padding: 0;
}

.contact-grid-header {
    color: var(--secondary);
    padding: 15px;
    font-size: 1.5rem;
    border-bottom: 1px solid var(--overlay-light);
    display: flex;
    justify-content: start;
    align-items: center;
}

.contact-grid-header i.fas.fa-phone-alt {
    margin-left: 10px;
    margin-right: 10px;
}

.contact-grid-header i.btn-close-menu {
    cursor: pointer;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 2rem;
    padding-top: 5px;
}

.contact-grid-item {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 0.5rem 1rem;
    text-align: left;
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    background-color: var(--white);
}

.contact-grid-item:hover {
    transform: translateY(-2px);
    background-color: var(--primary);
    color: #fff;
}
.contact-grid-item:hover  i {

    color: #fff !important;
}
.contact-grid-item:hover  h4 {

    color: #fff !important;
}
.contact-grid-item:hover  p {

    color: #fff !important;
}

.contact-grid-item i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
}

.contact-grid-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: var(--dark-gray);
    grid-column: 1;
    grid-row: 1;
}

.contact-grid-item p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
    grid-column: 1;
    grid-row: 2;
}

/* ==========================================================================
   Warranty Grid Menu Styles
   ========================================================================== */
.warranty-menu-content {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 0;
    min-height: 500px;
    max-width: 100%;
}

.warranty-grid-section {
    background-color: var(--white);
    padding: 0;
}

.warranty-grid-header {
    color: var(--secondary);
    padding: 15px;
    font-size: 1.5rem;
    border-bottom: 1px solid var(--overlay-light);
    display: flex;
    justify-content: start;
    align-items: center;
}

.warranty-grid-header i.fas.fa-shield-alt {
    margin-left: 10px;
}

.warranty-grid-header i.btn-close-menu {
    cursor: pointer;
}

.warranty-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 2rem;
    padding-top: 0;
}

.warranty-grid-item {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 0.5rem 1rem;
    text-align: left;
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    background-color: var(--white);
    direction: rtl;
}

.warranty-grid-item:hover {
    transform: translateY(-2px);
    background-color: var(--primary);
    color: #fff;
}

.warranty-grid-item:hover i {
    color: #fff !important;
}

.warranty-grid-item:hover h4 {
    color: #fff !important;
}

.warranty-grid-item:hover p {
    color: #fff !important;
}

.warranty-grid-item i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
}

.warranty-grid-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: var(--dark-gray);
    grid-column: 1;
    grid-row: 1;
}

.warranty-grid-item p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
    grid-column: 1;
    grid-row: 2;
}

/* ==========================================================================
   Hero Section / Slider
   ========================================================================== */
.hero-section {
    position: relative;
    width: 100%;
    height: 700px;
    background-color: #333;
}

.bg-carousel,
.bg-carousel .carousel-inner,
.bg-carousel .carousel-item {
    height: 100%;
    width: 100%;
}

.bg-carousel .carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    filter: brightness(0.6);
}

/* Main Overlay Container */
.main-overlay-wrapper {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    max-width: 1100px;
    z-index: 100;
    display: flex;
    flex-direction: column;
}

/* Black Box Styling */
.black-box {
    background-color: rgba(0, 0, 0, 0.65);
    color: white;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 100px;
    position: relative;
    direction: ltr; /* Force LTR for flexbox to keep controls on LEFT */
}

/* Controls Column (Left) */
.controls-col {
    width: 120px;
    min-width: 120px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background-color: rgba(0, 0, 0, 0.2);
}

/* Text Column (Right) */
.text-col {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    direction: ltr;
    text-align: left;
}

.text-col h1 {
    font-weight: 300;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #fff;
    position: relative;
    z-index: 2;
    max-width: 65%;
}

.text-col p {
    font-size: 1rem;
    color: #ccc;
    margin: 0;
    line-height: 1.6;
    max-width: 65%;
}

/* Absolute Product Image */
.absolute-product-img {
    position: absolute;
    right: 30px;
    top: -220px;
    z-index: 10;
    pointer-events: none;
    display: flex;
    align-items: flex-end;
}

.dynamic-product-image {
    height: 320px;
    width: auto;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.5));
    transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(20px);
}

.dynamic-product-image.show {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Arrows */
.arrows {
    display: flex;
    gap: 15px;
    font-size: 1.4rem;
    color: var(--primary);
}

.arrow-btn {
    cursor: pointer;
    transition: 0.3s;
}

.arrow-btn:hover {
    color: white;
    transform: scale(1.1);
}

/* Custom Dots */
.custom-dots {
    display: flex;
    gap: 5px;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #666;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background-color: #fff;
    transform: scale(1.3);
}

/* Blue Tab Bar */
.blue-tab-bar {
    background-color: rgba(153, 129, 0, 0.65);
    display: flex;
    padding: 0 40px;
    height: 50px;
    align-items: center;
    direction: ltr;
}

.tab-item {
    color: white;
    font-weight: 500;
    margin-right: 30px;
    cursor: pointer;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--primary);
    z-index: 10;
}

/* White Card Panel */
.white-card-panel {
    background-color: white;
    padding: 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    min-height: 300px;
}

/* Product Card */
.product-card {
    border: none;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    cursor: pointer;
    height: 160px;
}

.product-card-tall {
    height: calc(160px + 160px + 1rem);
    min-height: 336px;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}

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

.card-label {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 8px 15px;
    font-size: 0.9rem;
}

.card-label::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    border-bottom: 20px solid var(--primary-blue);
    border-left: 20px solid transparent;
    opacity: 0.9;
}

/* Tab Content */
.tab-content-slider {
    display: none;
}

.tab-content-slider.active {
    display: block;
    animation: fadeIn 0.4s;
}

/* Spacer */
.spacer {
    height: 100px;
}

/* ==========================================================================
   CTA / Main Content Section
   ========================================================================== */
.main-content {
    padding-top: 20px;
    padding-bottom: 60px;
    background-color: var(--white);
}

/* Breadcrumb */
.breadcrumb-text {
    font-size: 0.75rem;
    color: #cccccc;
    margin-bottom: 30px;
    font-family: Arial, sans-serif;
}

.breadcrumb-text .divider {
    margin: 0 5px;
}

/* Typography */
.main-title {
    color: var(--primary-blue);
    font-weight: 300;
    font-size: 2.2rem;
    margin-top: -10px;
}

.sub-title {
    color: var(--dark-gray);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 15px;
    line-height: 1.3;
}

.content-text {
    color: var(--light-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.content-text a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.content-text a:hover {
    text-decoration: underline;
}

/* CTA Box */
.cta-box {
    background-color: var(--primary);
    padding: 25px 30px;
    color: var(--white);
    width: 100%;
    border-radius: 0;
}

.cta-text {
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.4;
}

.btn-custom-outline {
    border: 1px solid var(--white);
    color: var(--white);
    background: transparent;
    padding: 10px 50px;
    border-radius: 0;
    font-weight: 600;
    text-transform: none;
    font-size: 1rem;
    transition: all var(--transition-normal) ease;
    display: inline-block;
}

.btn-custom-outline:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

/* ==========================================================================
   Map Section
   ========================================================================== */
.map-section {
    position: relative;
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    /* Default margin - will be calculated dynamically by JavaScript */
    margin-top: 560px;
    transition: margin-top 0.3s ease;
}

.overlay-box {
    width: 100%;
    background-color: var(--overlay-medium);
    color: var(--white);
    padding: 25px 0;
}

.overlay-box h2 {
    margin: 0;
    font-size: 2rem;
    font-weight: 400;
}

.overlay-box p {
    margin: 5px 0 0 0;
    font-size: 1rem;
    opacity: 0.9;
}

/* ==========================================================================
   News & Exhibitions Section
   ========================================================================== */
.news-exhibitions-section {
    background-color: var(--bg-section);
    padding: var(--section-padding) 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('../images/circuit-bg.jpg');
    background-size: cover;
}

.section-header {
    font-size: 1.25rem;
    color: var(--medium-gray);
    margin-bottom: 20px;
    font-weight: 400;
}

/* News Items */
.news-item {
    border-bottom: 1px dotted #ccc;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.news-img-wrapper img {
    width: 100px;
    height: auto;
    margin-right: 15px;
    border: 1px solid var(--border-gray);
}

.news-date {
    font-size: 0.75rem;
    color: #333;
    display: block;
    margin-bottom: 2px;
}

.news-title {
    font-size: 0.9rem;
    color: var(--medium-gray);
    text-decoration: none;
    line-height: 1.3;
    display: block;
    margin-bottom: 5px;
}

.news-title:hover {
    text-decoration: underline;
}

.read-more {
    font-size: 0.75rem;
    color: var(--red-accent);
    text-decoration: none;
}

.flag-icon {
    height: 10px;
    width: auto;
    margin-right: 3px;
}

/* Exhibitions Box */
.exhibition-box {
    background-color: var(--secondary);
    color: var(--white);
    padding: 20px;
    height: 100%;
}

.event-item {
    border-bottom: 1px dotted #777;
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.event-date {
    font-size: 0.75rem;
    opacity: 0.8;
    display: block;
}

.event-title {
    font-weight: bold;
    font-size: 1rem;
    margin: 2px 0;
}

.event-loc,
.event-city {
    font-size: 0.8rem;
    opacity: 0.9;
    line-height: 1.4;
}

.see-more-link {
    color: var(--white);
    font-size: 0.85rem;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.see-more-link:hover {
    border-bottom: 1px solid var(--white);
}

/* Power News */
.magazine-img img {
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    max-width: 120px;
}

.text-link {
    color: var(--medium-gray);
    font-size: 0.9rem;
    text-decoration: none;
    margin-left: 5px;
}

.text-link:hover {
    text-decoration: underline;
}

/* Newsletter CTA */
.newsletter-cta {
    background-color: var(--primary);
    padding: 15px 20px;
    margin-top: 20px;
    position: relative;
    color: var(--white);
    transition: background-color var(--transition-normal);
}

.newsletter-cta:hover {
    background-color: var(--secondary);
}

.newsletter-text {
    font-weight: bold;
    line-height: 1.2;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: var(--secondary);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-logo {
     font-size: 1.8rem;
    font-weight: bold;
    color: var(--white);
    letter-spacing: 2px;
    margin-bottom: 0;
    margin-top: -28px;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--white);
}
.site-footer p{
    text-align: justify;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: #aaa;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
}
.footer-contact{
    display: flex;
    flex-direction: column;
}
.footer-contact p {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.footer-contact i {
    width: 20px;
    color: #fff;
}

.footer-social {
    margin-top: 20px;
}

.footer-social a {
    display: inline-block;
    width: 36px;
    height: 36px;
    color: var(--white);
    text-align: center;
    line-height: 36px;
    margin-right: 8px;
    transition: background-color var(--transition-normal);
}

.footer-social a:hover {
    background-color: var(--primary-blue);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: #777;
    font-size: 0.8rem;
    margin: 0;
}

.footer-bottom-links a {
    color: #777;
    font-size: 0.8rem;
    margin: 0 10px;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media (max-width: 992px) {
    .hero-section {
        height: auto;
        padding-bottom: 50px;
    }

    .main-overlay-wrapper {
        position: relative;
        top: 0;
        transform: none;
        left: 0;
        width: 95%;
        margin: -100px auto 0 auto;
    }

    .mega-menu-content {
        flex-direction: column;
    }

    .mm-col-1,
    .mm-col-2,
    .mm-col-3 {
        width: 100%;
    }
}

/* Tablet only (between 769px and 992px) - vertical layout */
@media (min-width: 769px) and (max-width: 992px) {
    .black-box {
        flex-direction: column-reverse;
        min-height: auto;
        padding-top: 50px;
    }

    /* Product Image Tablet */
    .absolute-product-img {
        position: relative;
        top: -80px;
        right: auto;
        justify-content: center;
        width: 100%;
        margin-bottom: -60px;
    }

    .dynamic-product-image {
        height: 200px;
    }

    /* Controls Tablet */
    .controls-col {
        width: 100%;
        height: 60px;
        flex-direction: row;
        border-right: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Text Tablet */
    .text-col {
        text-align: center;
        padding: 20px;
    }

    .text-col h1,
    .text-col p {
        max-width: 100%;
    }
}

@media (max-width: 992px) {
    .map-section {
        /* On tablet/mobile, reduce margin since layout is different */
        margin-top: 50px !important;
    }
}

@media (max-width: 768px) {
    .map-section {
        height: 350px;
        margin-top: 30px !important;
    }

    .overlay-box h2 {
        font-size: 1.5rem;
    }

    .main-title {
        font-size: 1.8rem;
    }

    .cta-btn-wrapper {
        width: 100%;
    }

    .btn-custom-outline {
        width: 100%;
        text-align: center;
    }

    .spacer {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .map-section {
        margin-top: 20px !important;
    }
}

@media (max-width: 576px) {
    .main-overlay-wrapper {
        width: 95%;
        top: 10%;
    }

    .text-content h1 {
        font-size: 1.5rem;
    }

    .blue-tab-bar {
        padding: 0 15px;
    }

    .tab-item {
        margin-right: 15px;
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   Single Product Page Styles
   ========================================================================== */

/* Single Product Page Body */
.single-product-page {
    background-color: var(--white);
}

/* Hero Slider */
.sp-hero-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

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

.sp-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.sp-hero-slide.active {
    opacity: 1;
}

.sp-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sp-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
}

.sp-hero-content {
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    z-index: 10;
    color: var(--white);
}

.sp-hero-content h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.sp-hero-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 500px;
}

/* Hero Product Image Overlay */
.sp-hero-product-img {
    position: absolute;
    left: 80px;
    bottom: 30px;
    z-index: 15;
    pointer-events: none;
}

.sp-hero-product-img img {
    height: 380px;
    width: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 1;
    transform: translateY(0);
}

.sp-hero-product-img img.changing {
    opacity: 0;
    transform: translateY(30px);
}

/* Hero Arrows */
.sp-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0,0,0,0.4);
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
}

.sp-hero-arrow:hover {
    background-color: var(--primary);
}

.sp-hero-prev {
    right: 20px;
}

.sp-hero-next {
    left: 20px;
}

/* Hero Dots */
.sp-hero-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.sp-hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.sp-hero-dot.active,
.sp-hero-dot:hover {
    background-color: var(--primary);
    transform: scale(1.2);
}

/* Sticky Tabs */
.sp-sticky-tabs {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-gray);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sp-tabs-wrapper {
    display: flex;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.sp-tab-item {
    padding: 18px 30px;
    color: var(--medium-gray);
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.sp-tab-item:hover {
    color: var(--primary-blue);
    background-color: var(--bg-light);
}

.sp-tab-item.active {
    color: var(--primary-blue);
    border-bottom-color: var(--primary);
}

/* Sections General */
.sp-section {
    padding: 60px 0;
}

.sp-section:nth-child(even) {
    background-color: var(--bg-light);
}

.sp-section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.sp-section-subtitle {
    font-size: 1.1rem;
    color: var(--lighter-gray);
    font-weight: 400;
    margin-bottom: 25px;
}

/* Text Section */
.sp-text-content {
    max-width: 100%;
}

.sp-text-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--light-gray);
    margin-bottom: 20px;
    text-align: justify;
}

/* Gallery Section */
.sp-gallery-slider {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.sp-gallery-slides {
    position: relative;
    height: 350px;
}

.sp-gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.sp-gallery-slide.active {
    opacity: 1;
}

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

.sp-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0,0,0,0.5);
    border: none;
    color: var(--white);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.sp-gallery-arrow:hover {
    background-color: var(--primary);
}

.sp-gallery-prev {
    right: 10px;
}

.sp-gallery-next {
    left: 10px;
}

.sp-gallery-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.sp-gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.sp-gallery-dot.active,
.sp-gallery-dot:hover {
    background-color: var(--white);
}

/* Gallery Slider 2 (Reversed Section) */
.sp-gallery-slides-2 {
    position: relative;
    height: 350px;
}

.sp-gallery-slide-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.sp-gallery-slide-2.active {
    opacity: 1;
}

.sp-gallery-slide-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sp-gallery-prev-2 {
    right: 10px;
}

.sp-gallery-next-2 {
    left: 10px;
}

.sp-gallery-dots-2 {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.sp-gallery-dot-2 {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.sp-gallery-dot-2.active,
.sp-gallery-dot-2:hover {
    background-color: var(--white);
}

.sp-gallery-text h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.sp-gallery-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--light-gray);
    margin-bottom: 20px;
}

.sp-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sp-feature-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-gray);
    color: var(--dark-gray);
    font-size: 0.95rem;
}

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

.sp-feature-list li i {
    color: var(--primary);
    margin-left: 10px;
}

/* Video Section */
.sp-video-section {
    background-color: var(--secondary) !important;
    color: var(--white);
}

.sp-video-section .sp-section-title {
    color: var(--white);
}

.sp-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.sp-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Specifications Table */
.sp-specs-table-wrapper {
    overflow-x: auto;
}

.sp-specs-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
    box-shadow: var(--shadow-light);
}

.sp-specs-table th {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 15px 20px;
    text-align: right;
    font-weight: 600;
}

.sp-specs-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-gray);
    color: var(--dark-gray);
}

.sp-specs-table tr:nth-child(even) td {
    background-color: var(--bg-light);
}

.sp-specs-table tr:hover td {
    background-color: #e8e8e8;
}

.sp-specs-table td:first-child {
    font-weight: 500;
    color: var(--primary-blue);
    width: 40%;
}

/* FAQ / Accordion Section */
.sp-faq-section {
    background-color: var(--bg-light) !important;
}

.sp-accordion {
    max-width: 100%;
}

.sp-accordion-item {
    background-color: var(--white);
    margin-bottom: 10px;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    overflow: hidden;
}

.sp-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.sp-accordion-header:hover {
    background-color: var(--bg-light);
}

.sp-accordion-header span {
    font-weight: 500;
    color: var(--dark-gray);
    font-size: 1rem;
}

.sp-accordion-header i {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.sp-accordion-item.active .sp-accordion-header {
    background-color: var(--primary);
}

.sp-accordion-item.active .sp-accordion-header span {
    color: var(--white);
}

.sp-accordion-item.active .sp-accordion-header i {
    color: var(--white);
    transform: rotate(180deg);
}

.sp-accordion-body {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.sp-accordion-item.active .sp-accordion-body {
    padding: 20px;
    max-height: 500px;
}

.sp-accordion-body p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--light-gray);
    margin: 0;
}

/* Download List */
.sp-download-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sp-download-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-gray);
}

.sp-download-list li:last-child {
    border-bottom: none;
}

.sp-download-list a {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.sp-download-list a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.sp-download-list a i {
    margin-left: 10px;
    color: var(--red-accent);
}

.sp-download-list a i.fa-file-archive {
    color: var(--primary);
}

/* Responsive - Single Product */
@media (max-width: 992px) {
    .sp-hero-slider {
        height: 400px;
    }

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

    .sp-hero-product-img {
        left: 40px;
        bottom: 20px;
    }

    .sp-hero-product-img img {
        height: 280px;
    }

    .sp-gallery-slides {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .sp-hero-slider {
        height: 350px;
    }

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

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

    .sp-hero-arrow {
        width: 40px;
        height: 40px;
    }

    .sp-hero-product-img {
        left: 20px;
        bottom: 15px;
    }

    .sp-hero-product-img img {
        height: 200px;
    }

    .sp-tab-item {
        padding: 15px 20px;
        font-size: 0.9rem;
    }

    .sp-section {
        padding: 40px 0;
    }

    .sp-section-title {
        font-size: 1.5rem;
    }

    .sp-gallery-slides {
        height: 250px;
    }

    .sp-specs-table td,
    .sp-specs-table th {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .sp-hero-slider {
        height: 300px;
    }

    .sp-hero-content {
        bottom: 60px;
    }

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

    .sp-hero-product-img {
        left: 10px;
        bottom: 10px;
    }

    .sp-hero-product-img img {
        height: 150px;
    }

    .sp-tabs-wrapper {
        gap: 0;
    }

    .sp-tab-item {
        padding: 12px 15px;
        font-size: 0.85rem;
    }

    .sp-accordion-header span {
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   Mobile Header Responsive Styles
   ========================================================================== */
@media (max-width: 991px) {
    /* Top-bar mobile - show only social links */
    .top-bar {
        padding: 8px 15px;
    }

    .top-bar .top-bar-right {
        display: none;
    }

    .top-bar .top-bar-left {
        visibility: visible;
        width: 100%;
        display: flex;
        justify-content: left;
        gap: 15px;
    }

    /* Main header adjustments for mobile */
    .main-header {
        padding: 10px 15px;
    }

    .brand-logo {
        max-width: 100px;
    }

    .brand-subtitle {
        display: none;
    }

    /* Navbar adjustments */
    .navbar-custom {
        padding: 0;
    }

    /* Mobile menu collapse styling */
    .navbar-collapse {
        background-color: var(--primary-blue);
        padding: 15px;
    }
}

/* Mobile Header Actions (Toggler in header) */
.mobile-header-actions {
    display: flex;
    align-items: center;
}

/* Navbar toggler in header for mobile */
.mobile-header-actions .navbar-toggler {
    border: 2px solid var(--primary);
    padding: 6px 10px;
    background-color: transparent;
}

.mobile-header-actions .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23998100' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.2em;
    height: 1.2em;
}

/* ==========================================================================
   Mobile Menu Extras Styles
   ========================================================================== */
.mobile-menu-extras {
    padding: 20px 0 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 15px;
}

/* Header Buttons in Mobile Menu */
.mobile-menu-header-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.mobile-header-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    text-decoration: none;
    font-family: var(--font-persian);
    font-size: 0.95rem;
    transition: all var(--transition-normal);
}

.mobile-header-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.mobile-header-btn i {
    font-size: 1.1rem;
    color: var(--primary);
}

.mobile-header-btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.mobile-header-btn-primary:hover {
    background-color: #b39700;
    border-color: #b39700;
}

.mobile-header-btn-primary i {
    color: #fff;
}

/* Search and Language in Mobile Menu */
.mobile-menu-search-lang {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.mobile-search-btn,
.mobile-lang-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    font-family: var(--font-persian);
    font-size: 0.9rem;
    transition: all var(--transition-normal);
}

.mobile-search-btn:hover,
.mobile-lang-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.mobile-search-btn i {
    color: var(--primary);
}

/* Contact Items in Mobile Menu */
.mobile-menu-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
}

.mobile-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

.mobile-contact-item i {
    width: 20px;
    text-align: center;
    color: var(--primary);
    font-size: 1rem;
}

/* Mobile specific adjustments */
@media (max-width: 991px) {
    /* Navbar collapse full width */
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
    }
html[dir="rtl"] .academy-grid-item {
    text-align: right;
    direction: rtl !important;
}
html[dir="rtl"] .company-grid-item {
    text-align: right;
    direction: rtl !important;
}
    /* Show navbar-nav on mobile */
    .navbar-nav {
        display: flex !important;
        flex-direction: column;
    }

    .navbar-nav .nav-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-nav .nav-link {
        padding: 12px 15px !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .navbar-nav .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
        border-bottom: none;
    }

    /* ============================================
       Mega Menu Mobile Styles
       ============================================ */

    /* General dropdown menu for mobile */
    .navbar-custom .dropdown-menu {
        position: static !important;
        width: 100%;
        background-color: transparent;
        box-shadow: none;
        border: none;
        padding: 0;
        margin: 0;
    }

    /* Standard Mega Menu (Products, Services, Solutions, Materials) */
    .mega-menu-content {
        flex-direction: column;
        min-height: auto;
        background-color: rgba(0, 0, 0, 0.3);
    }

    .mm-col-1 {
        width: 100%;
        min-width: 100%;
        background: transparent;
    }

    .mm-col-1 .mm-header {
        display: none;
    }

    .mm-item {
        padding: 10px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        position: relative;
        cursor: pointer;
    }

    .mm-item::after {
        content: '\f104';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--primary);
        transition: transform 0.3s ease;
    }

    .mm-item.expanded::after {
        transform: translateY(-50%) rotate(-90deg);
    }

    .mm-item i {
        margin-left: 10px;
        margin-right: 0;
    }

    .mm-item .text-desc {
        display: none;
    }

    /* Mobile nested submenu container */
    .mobile-submenu {
        display: none;
        background-color: rgba(0, 0, 0, 0.2);
        padding: 0;
        margin: 0;
    }

    .mobile-submenu.show {
        display: block;
    }

    .mobile-submenu-item {
        padding: 10px 30px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        color: #fff;
        background: transparent;
        position: relative;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-submenu-item.has-submenu::after {
        content: '\f104';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        color: var(--primary);
        font-size: 0.8rem;
        transition: transform 0.3s ease;
    }

    .mobile-submenu-item.has-submenu.expanded::after {
        transform: rotate(-90deg);
    }

    .mobile-submenu-item:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    /* Level 3 submenu */
    .mobile-submenu-level3 {
        display: none;
        background-color: rgba(0, 0, 0, 0.15);
        padding: 0;
        margin: 0;
    }

    .mobile-submenu-level3.show {
        display: block;
    }

    .mobile-submenu-level3-item {
        padding: 10px 45px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        color: rgba(255, 255, 255, 0.85);
        background: transparent;
        display: block;
        text-decoration: none;
    }

    .mobile-submenu-level3-item:hover {
        background-color: var(--primary);
        color: #fff;
    }

    /* Hide original col-2, col-3, col-4 on mobile */
    .mm-col-2,
    .mm-col-3,
    .mm-col-4 {
        display: none !important;
    }

    /* ============================================
       Academy Menu Mobile
       ============================================ */
    .academy-menu-content {
        display: flex;
        flex-direction: column;
        min-height: auto;
        background-color: rgba(0, 0, 0, 0.3);
    }

    .academy-grid-section {
        width: 100%;
        background: transparent;
    }

    .academy-grid-header {
        display: none;
    }

    .academy-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0;
    }

    .academy-grid-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        padding: 12px 20px;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        background: transparent;
        color: #fff;
    }

    .academy-grid-item:hover {
        background-color: var(--primary);
    }

    .academy-grid-item i {
        font-size: 1.2rem;
        color: var(--primary);
        grid-column: unset;
        grid-row: unset;
    }

    .academy-grid-item:hover i {
        color: #fff;
    }

    .academy-grid-item h4 {
        font-size: 0.95rem;
        color: #fff;
        grid-column: unset;
        grid-row: unset;
        margin: 0;
    }

    .academy-grid-item p {
        display: none;
    }

    .academy-menu-content .mm-col-4 {
        display: none !important;
    }

    /* ============================================
       Company Menu Mobile
       ============================================ */
    .company-menu-content {
        display: flex;
        flex-direction: column;
        min-height: auto;
        background-color: rgba(0, 0, 0, 0.3);
    }

    .company-grid-section {
        width: 100%;
        background: transparent;
    }

    .company-grid-header {
        display: none;
    }

    .company-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0;
    }

    .company-grid-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        padding: 12px 20px;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        background: transparent;
        color: #fff;
    }

    .company-grid-item:hover {
        background-color: var(--primary);
    }

    .company-grid-item i {
        font-size: 1.2rem;
        color: var(--primary);
        grid-column: unset;
        grid-row: unset;
    }

    .company-grid-item:hover i {
        color: #fff;
    }

    .company-grid-item h4 {
        font-size: 0.95rem;
        color: #fff;
        grid-column: unset;
        grid-row: unset;
        margin: 0;
    }

    .company-grid-item p {
        display: none;
    }

    .company-menu-content .mm-col-4 {
        display: none !important;
    }

    /* ============================================
       Warranty Menu Mobile
       ============================================ */
    .warranty-menu-content {
        display: flex;
        flex-direction: column;
        min-height: auto;
        background-color: rgba(0, 0, 0, 0.3);
    }

    .warranty-grid-section {
        width: 100%;
        background: transparent;
    }

    .warranty-grid-header {
        display: none;
    }

    .warranty-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0;
    }

    .warranty-grid-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        padding: 12px 20px;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        background: transparent;
        color: #fff;
    }

    .warranty-grid-item:hover {
        background-color: var(--primary);
    }

    .warranty-grid-item i {
        font-size: 1.2rem;
        color: var(--primary);
        grid-column: unset;
        grid-row: unset;
    }

    .warranty-grid-item:hover i {
        color: #fff;
    }

    .warranty-grid-item h4 {
        font-size: 0.95rem;
        color: #fff;
        grid-column: unset;
        grid-row: unset;
        margin: 0;
    }

    .warranty-grid-item p {
        display: none;
    }

    .warranty-menu-content .mm-col-4 {
        display: none !important;
    }

    /* ============================================
       News Menu Mobile
       ============================================ */
    .news-menu-content {
        display: flex;
        flex-direction: column;
        min-height: auto;
        background-color: rgba(0, 0, 0, 0.3);
    }

    .news-grid-section {
        width: 100%;
        background: transparent;
    }

    .news-grid-header {
        display: none;
    }

    .news-section-group {
        padding: 0;
        border-bottom: none;
    }

    .news-section-title {
        color: var(--primary);
        padding: 10px 20px;
        margin: 0;
        font-size: 0.9rem;
        border-bottom: none;
        display: block;
    }

    .news-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .news-grid-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        padding: 12px 20px;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        background: transparent;
        color: #fff;
    }

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

    .news-grid-item i {
        font-size: 1.2rem;
        color: var(--primary);
        grid-column: unset;
        grid-row: unset;
    }

    .news-grid-item:hover i {
        color: #fff;
    }

    .news-grid-item h4 {
        font-size: 0.95rem;
        color: #fff;
        grid-column: unset;
        grid-row: unset;
        margin: 0;
    }

    .news-grid-item p {
        display: none;
    }

    .news-menu-content .mm-col-4 {
        display: none !important;
    }

    /* ============================================
       Contact Menu Mobile
       ============================================ */
    .contact-menu-content {
        display: flex;
        flex-direction: column;
        min-height: auto;
        background-color: rgba(0, 0, 0, 0.3);
    }

    .contact-grid-section {
        width: 100%;
        background: transparent;
    }

    .contact-grid-header {
        display: none;
    }

    .contact-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0;
    }

    .contact-grid-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        padding: 12px 20px;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        background: transparent;
        color: #fff;
    }

    .contact-grid-item:hover {
        background-color: var(--primary);
    }

    .contact-grid-item i {
        font-size: 1.2rem;
        color: var(--primary);
        grid-column: unset;
        grid-row: unset;
    }

    .contact-grid-item:hover i {
        color: #fff;
    }

    .contact-grid-item h4 {
        font-size: 0.95rem;
        color: #fff;
        grid-column: unset;
        grid-row: unset;
        margin: 0;
    }

    .contact-grid-item p {
        display: none;
    }

    .contact-menu-content .mm-col-4 {
        display: none !important;
    }
}

/* ==========================================================================
   Black Box Mobile Responsive Styles
   ========================================================================== */
@media (max-width: 768px) {
    /* Main overlay wrapper adjustments */
    .main-overlay-wrapper {
        width: 98%;
        margin: -60px auto 0 auto;
    }

    /* Black box container - horizontal layout: text left, image right */
    .black-box {
        padding-top: 0 !important;
        min-height: auto !important;
        flex-wrap: wrap !important;
        flex-direction: row !important;
        position: relative;
    }

    /* Controls - hidden on mobile */
    .controls-col {
        display: none !important;
    }

    /* Text column - on left side, right-aligned text */
    .text-col {
        order: 1;
        flex: 1;
        padding: 12px 15px;
        min-width: 0;
        text-align: right !important;
        direction: rtl !important;
    }

    .text-col h1,
    .text-col p {
        max-width: 100%;
        text-align: right;
    }

    .text-col h1 {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }

    .text-col p {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    /* Product Image - on right side */
    .absolute-product-img {
        order: 2;
        position: relative !important;
        top: auto !important;
        right: auto !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        padding: 10px 15px;
        width: auto !important;
    }

    .dynamic-product-image {
        height: 80px;
        filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.3));
    }

    /* Blue tab bar - smaller */
    .blue-tab-bar {
        height: 40px;
        padding: 0 15px;
    }

    .tab-item {
        font-size: 0.85rem;
        margin-right: 15px;
    }

    /* White card panel - smaller padding */
    .white-card-panel {
        padding: 15px;
        min-height: 200px;
    }

    /* Product cards - smaller */
    .product-card {
        height: 100px;
    }

    .product-card-tall {
        height: calc(100px + 100px + 0.5rem);
        min-height: 210px;
    }

    .card-label {
        font-size: 0.7rem;
        padding: 5px 10px;
    }

    /* Spacer adjustment */
    .spacer {
        height: 120px;
    }
}

@media (max-width: 576px) {
    /* Even smaller for very small screens */
    .main-overlay-wrapper {
        width: 100%;
        margin: -40px auto 0 auto;
    }

    .black-box {
        padding-top: 0;
    }

    /* Product Image - smaller, still beside text */
    .absolute-product-img {
        padding: 8px 10px;
    }

    .dynamic-product-image {
        height: 60px;
    }

    /* Text column - even smaller text */
    .text-col {
        padding: 8px 10px;
    }

    .text-col h1 {
        font-size: 0.9rem;
        margin-bottom: 4px;
    }

    .text-col p {
        font-size: 0.65rem;
        line-height: 1.3;
    }

    /* Blue tab bar - even smaller */
    .blue-tab-bar {
        height: 35px;
        padding: 0 10px;
    }

    .tab-item {
        font-size: 0.75rem;
        margin-right: 10px;
    }

    .tab-item.active::after {
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 6px solid var(--primary);
        bottom: -6px;
    }

    /* White card panel - even smaller padding */
    .white-card-panel {
        padding: 10px;
        min-height: 150px;
    }

    /* Product cards - even smaller */
    .product-card {
        height: 80px;
    }

    .product-card-tall {
        height: calc(80px + 80px + 0.5rem);
        min-height: 165px;
    }

    .card-label {
        font-size: 0.6rem;
        padding: 4px 8px;
    }

    .card-label::after {
        border-bottom: 12px solid var(--primary-blue);
        border-left: 12px solid transparent;
    }

    /* Spacer adjustment */
    .spacer {
        height: 80px;
    }
}

/* ==========================================================================
   News Page Styles
   ========================================================================== */

/* News Page Header */
.news-page-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    padding: 40px 0;
    color: var(--white);
}

.news-breadcrumb {
    font-size: 0.85rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.news-breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s;
}

.news-breadcrumb a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.news-breadcrumb .divider {
    margin: 0 10px;
    opacity: 0.5;
}

.news-breadcrumb .current {
    opacity: 0.7;
}

.news-page-title {
    font-size: 2.2rem;
    font-weight: 600;
    margin: 0;
    color: var(--white);
}

.news-page-subtitle {
    margin-top: 10px;
    font-size: 1rem;
    opacity: 0.85;
    margin-bottom: 0;
}

.news-search-form .form-control {
    border: none;
    border-radius: 0;
    padding: 12px 15px;
}

.news-search-form .btn {
    border-radius: 0;
    padding: 12px 20px;
    background-color: var(--primary);
    border: none;
}

.news-search-form .btn:hover {
    background-color: #b39700;
}

/* News Page Content */
.news-page-content {
    padding: 50px 0;
    background-color: var(--bg-light);
}

/* News Filter Bar */
.news-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-gray);
}

.news-filter-bar .filter-item {
    padding: 8px 16px;
    background-color: var(--white);
    color: var(--dark-gray);
    text-decoration: none;
    border: 1px solid var(--border-gray);
    font-size: 0.9rem;
    transition: all 0.3s;
}

.news-filter-bar .filter-item:hover,
.news-filter-bar .filter-item.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.news-filter-bar .filter-item .count {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-right: 5px;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

/* News Card */
.news-card {
    background-color: var(--white);
    border: 1px solid var(--border-gray);
    overflow: hidden;
    transition: all 0.3s;
}

.news-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-3px);
}

.news-card-image {
    display: block;
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.news-card-image .featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary);
    color: var(--white);
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.news-card-body {
    padding: 20px;
}

.news-card-category {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-card-category:hover {
    color: var(--primary-blue);
}

.news-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.5;
}

.news-card-title a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.news-card-title a:hover {
    color: var(--primary-blue);
}

.news-card-excerpt {
    font-size: 0.9rem;
    color: var(--light-gray);
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-card-meta {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: var(--lighter-gray);
}

.news-card-meta i {
    margin-left: 5px;
    color: var(--primary);
}

/* News Empty State */
.news-empty {
    text-align: center;
    padding: 60px 20px;
    background-color: var(--white);
    border: 1px solid var(--border-gray);
}

.news-empty i {
    font-size: 4rem;
    color: var(--border-gray);
    margin-bottom: 20px;
}

.news-empty h3 {
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.news-empty p {
    color: var(--lighter-gray);
    margin-bottom: 20px;
}

/* News Pagination */
.news-pagination {
    display: flex;
    justify-content: center;
}

.news-pagination .pagination {
    gap: 5px;
}

.news-pagination .page-link {
    border-radius: 0;
    border: 1px solid var(--border-gray);
    color: var(--dark-gray);
    padding: 10px 15px;
}

.news-pagination .page-link:hover,
.news-pagination .page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* News Sidebar */
.news-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background-color: var(--white);
    border: 1px solid var(--border-gray);
    padding: 20px;
    margin-bottom: 25px;
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 0;
}

.category-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-gray);
    color: var(--dark-gray);
    text-decoration: none;
    transition: all 0.3s;
}

.category-list li:last-child a {
    border-bottom: none;
}

.category-list li a:hover,
.category-list li a.active {
    color: var(--primary);
    padding-right: 10px;
}

.category-list .cat-count {
    background-color: var(--bg-gray);
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.8rem;
    color: var(--lighter-gray);
}

/* Featured Posts Widget */
.featured-posts-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.featured-post-item {
    display: flex;
    gap: 12px;
}

.featured-post-image {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    overflow: hidden;
}

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

.featured-post-item:hover .featured-post-image img {
    transform: scale(1.1);
}

.featured-post-content {
    flex: 1;
}

.featured-post-content h5 {
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0 0 5px 0;
    line-height: 1.4;
}

.featured-post-content h5 a {
    color: var(--dark-gray);
    text-decoration: none;
}

.featured-post-content h5 a:hover {
    color: var(--primary-blue);
}

.featured-post-date {
    font-size: 0.75rem;
    color: var(--lighter-gray);
}

/* ==========================================================================
   News Single Page Styles
   ========================================================================== */

/* News Single Header */
.news-single-header {
    background-color: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-gray);
}

.news-single-header .news-breadcrumb {
    color: var(--light-gray);
    margin: 0;
}

.news-single-header .news-breadcrumb a {
    color: var(--dark-gray);
}

.news-single-header .news-breadcrumb .divider {
    color: var(--lighter-gray);
}

/* News Single Section */
.news-single-section {
    padding: 40px 0;
    background-color: var(--bg-light);
}

/* News Single Article */
.news-single-article {
    background-color: var(--white);
    border: 1px solid var(--border-gray);
    padding: 30px;
    margin-bottom: 40px;
}

.news-single-image {
    margin: -30px -30px 25px -30px;
    overflow: hidden;
}

.news-single-image img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
}

.news-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-gray);
}

.news-single-meta .meta-category {
    background-color: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    font-size: 0.8rem;
    text-decoration: none;
    font-weight: 500;
}

.news-single-meta .meta-category:hover {
    background-color: var(--primary-blue);
}

.news-single-meta span {
    font-size: 0.85rem;
    color: var(--lighter-gray);
}

.news-single-meta span i {
    margin-left: 5px;
    color: var(--primary);
}

.news-single-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.4;
    margin-bottom: 20px;
}

.news-single-excerpt {
    font-size: 1.1rem;
    color: var(--medium-gray);
    line-height: 1.8;
    padding: 20px;
    background-color: var(--bg-light);
    border-right: 4px solid var(--primary);
    margin-bottom: 25px;
}

.news-single-content {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--dark-gray);
}

/* News Share */
.news-share {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
    margin-top: 30px;
    border-top: 1px solid var(--border-gray);
}

.share-label {
    font-weight: 500;
    color: var(--dark-gray);
}

.share-buttons {
    display: flex;
    gap: 8px;
}

.share-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
}

.share-btn.twitter {
    background-color: #1da1f2;
}

.share-btn.facebook {
    background-color: #3b5998;
}

.share-btn.linkedin {
    background-color: #0077b5;
}

.share-btn.telegram {
    background-color: #0088cc;
}

.share-btn.whatsapp {
    background-color: #25d366;
}

.share-btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
    color: var(--white);
}

/* News Navigation */
.news-navigation {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border-gray);
}

.nav-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Related Posts */
.related-posts-section {
    background-color: var(--white);
    border: 1px solid var(--border-gray);
    padding: 25px;
}

.related-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.related-post-card {
    margin-bottom: 0;
}

.related-post-image {
    display: block;
    height: 140px;
    overflow: hidden;
    margin-bottom: 12px;
}

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

.related-post-card:hover .related-post-image img {
    transform: scale(1.05);
}

.related-post-content h4 {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.5;
}

.related-post-content h4 a {
    color: var(--dark-gray);
    text-decoration: none;
}

.related-post-content h4 a:hover {
    color: var(--primary-blue);
}

.related-post-date {
    font-size: 0.8rem;
    color: var(--lighter-gray);
}

/* News Page Responsive */
@media (max-width: 991px) {
    .news-page-header {
        padding: 30px 0;
    }

    .news-page-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .news-search-form {
        margin-top: 20px;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .news-sidebar {
        position: static;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-filter-bar {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 15px;
        -webkit-overflow-scrolling: touch;
    }

    .news-filter-bar .filter-item {
        flex-shrink: 0;
    }

    .news-single-article {
        padding: 20px;
    }

    .news-single-image {
        margin: -20px -20px 20px -20px;
    }

    .news-single-title {
        font-size: 1.5rem;
    }

    .news-single-meta {
        gap: 10px;
    }

    .related-posts-section .row > div {
        margin-bottom: 20px;
    }

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

@media (max-width: 576px) {
    .news-page-title {
        font-size: 1.5rem;
    }

    .news-card-image {
        height: 160px;
    }

    .news-single-title {
        font-size: 1.3rem;
    }

    .news-single-excerpt {
        font-size: 1rem;
        padding: 15px;
    }
}

/* ==========================================================================
   Organizational Structure / Team Page Styles
   ========================================================================== */
.org-structure-section {
    background-color: var(--bg-light);
    padding: 50px 0 80px;
    min-height: 100vh;
}

/* Page Header */
.org-page-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-gray);
}

.org-page-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.org-page-subtitle {
    font-size: 1rem;
    color: var(--lighter-gray);
    margin: 0;
}

/* Header Member (Top Position like CEO) */
.org-header-member {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

.org-header-member .org-member-card {
    max-width: 500px;
    padding: 20px 30px;
}

.org-header-member .org-timeline-dot-header {
    position: absolute;
    right: calc(50% - 250px - 50px);
}

/* Section Styles */
.org-section {
    background-color: var(--white);
    border: 1px solid var(--border-gray);
    margin-bottom: 30px;
    position: relative;
}

.org-section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background-color: #fef7ed;
    border-bottom: 1px solid rgba(249, 115, 22, 0.2);
}

.org-section-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.org-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin: 0;
}

/* Section Content */
.org-section-content {
    padding: 0;
}

/* Member Row */
.org-member-row {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    border-bottom: 1px solid var(--border-gray);
    position: relative;
    transition: background-color 0.3s ease;
}

.org-member-row:last-child {
    border-bottom: none;
}

.org-member-row:hover {
    background-color: var(--bg-light);
}

.org-member-row-indented {
    padding-right: 50px;
    background-color: #fafafa;
}

.org-member-row-indented:hover {
    background-color: #f0f0f0;
}

/* Member Card */
.org-member-card {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    padding: 10px 15px;
    background-color: var(--white);
    border: 1px solid var(--border-gray);
    transition: all 0.3s ease;
}

.org-member-card-header {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-light);
}

.org-member-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-light);
}

/* Member Image */
.org-member-image {
    flex-shrink: 0;
}

.org-member-image img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-gray);
}

.org-member-card-header .org-member-image img {
    width: 70px;
    height: 70px;
    border-color: var(--primary);
}

.org-member-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--bg-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lighter-gray);
    font-size: 1.5rem;
    border: 2px solid var(--border-gray);
}

.org-member-card-header .org-member-placeholder {
    width: 70px;
    height: 70px;
    border-color: var(--primary);
}

/* Member Info */
.org-member-info {
    flex: 1;
    text-align: right;
}

.org-member-position {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin: 0 0 5px 0;
}

.org-member-name {
    font-size: 0.9rem;
    color: var(--primary);
    margin: 0;
    font-weight: 500;
}

.org-member-card-header .org-member-position {
    font-size: 1.05rem;
}

.org-member-card-header .org-member-name {
    font-size: 0.95rem;
}

/* Timeline Dot */
.org-timeline-dot {
    position: absolute;
    left: 15px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border-gray);
    border: 2px solid var(--white);
    box-shadow: 0 0 0 2px var(--border-gray);
}

.org-timeline-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 12px;
    width: 25px;
    height: 2px;
    background-color: var(--border-gray);
}

.org-timeline-dot-header {
    position: static;
    width: 15px;
    height: 15px;
    margin-right: 30px;
    background-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.3);
}

.org-timeline-dot-header::before {
    display: none;
}

/* Empty State */
.org-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--lighter-gray);
}

.org-empty-state i {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
}

.org-empty-state p {
    font-size: 1.1rem;
    margin: 0;
}

/* Organizational Structure Responsive */
@media (max-width: 991px) {
    .org-structure-section {
        padding: 40px 0 60px;
    }

    .org-page-title {
        font-size: 1.7rem;
    }

    .org-header-member {
        flex-direction: column;
    }

    .org-header-member .org-timeline-dot-header {
        display: none;
    }

    .org-section-header {
        padding: 15px 20px;
    }

    .org-member-row {
        padding: 12px 20px;
    }

    .org-member-row-indented {
        padding-right: 35px;
    }
}

@media (max-width: 768px) {
    .org-page-header {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }

    .org-page-title {
        font-size: 1.5rem;
    }

    .org-section-icon {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .org-section-title {
        font-size: 1.1rem;
    }

    .org-member-card {
        padding: 8px 12px;
    }

    .org-member-image img {
        width: 50px;
        height: 50px;
    }

    .org-member-placeholder {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .org-member-position {
        font-size: 0.85rem;
    }

    .org-member-name {
        font-size: 0.8rem;
    }

    .org-timeline-dot {
        display: none;
    }
}

@media (max-width: 576px) {
    .org-structure-section {
        padding: 30px 0 50px;
    }

    .org-page-title {
        font-size: 1.3rem;
    }

    .org-section-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .org-member-row {
        padding: 10px 15px;
    }

    .org-member-row-indented {
        padding-right: 25px;
    }

    .org-member-card {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .org-member-info {
        text-align: center;
    }
}

/* ==========================================================================
   Partners & Customers Page Styles
   ========================================================================== */

/* Partners Hero Section */
.partners-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-gradient-end) 100%);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
}

.partners-hero h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.partners-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Featured Partners Section */
.featured-partners-section {
    background-color: var(--bg-section);
    padding: 50px 0;
}

.section-header-partners {
    text-align: center;
    margin-bottom: 30px;
}

.section-header-partners h2 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.section-header-partners h2 i {
    color: var(--gold-accent);
}

.featured-partners-slider {
    position: relative;
    overflow: hidden;
    padding: 0 50px;
}

.featured-partners-slider .slider-wrapper {
    display: flex;
    transition: transform 0.4s ease;
}

.featured-partner-item {
    flex: 0 0 25%;
    padding: 15px;
    text-align: center;
}

.featured-partner-item .partner-logo-wrapper {
    background: var(--white);
    border-radius: 0;
    padding: 20px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-light);
    margin-bottom: 15px;
    transition: box-shadow 0.3s ease;
}

.featured-partner-item:hover .partner-logo-wrapper {
    box-shadow: var(--shadow-medium);
}

.featured-partner-item .partner-logo-featured {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}

.featured-partner-item h4 {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin: 0;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-arrow:hover {
    background: var(--primary-blue);
}

.slider-prev {
    left: 0;
}

.slider-next {
    right: 0;
}

/* RTL Support for Slider */
[dir="rtl"] .slider-prev,
html:lang(fa) .slider-prev {
    left: auto;
    right: 0;
}

[dir="rtl"] .slider-next,
html:lang(fa) .slider-next {
    right: auto;
    left: 0;
}

/* Main Partners Section */
.partners-main-section {
    padding: 50px 0;
    background-color: var(--white);
}

/* Filter Container */
.partners-filter-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-gray);
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-tab {
    padding: 10px 20px;
    border: 1px solid var(--border-gray);
    background: var(--white);
    color: var(--dark-gray);
    border-radius: 0;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.filter-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.category-filter {
    min-width: 200px;
}

.category-select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--border-gray);
    border-radius: 0;
    background: var(--white);
    color: var(--dark-gray);
    font-size: 0.9rem;
    cursor: pointer;
}

.category-select:focus {
    outline: none;
    border-color: var(--primary);
}

/* Partners Grid */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.partner-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary);
}

.partner-logo-container {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--bg-light);
}

.partner-logo {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-card:hover .partner-logo {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-logo-placeholder {
    width: 80px;
    height: 80px;
    background: var(--border-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lighter-gray);
    font-size: 2rem;
}

.partner-info {
    padding: 15px;
    text-align: center;
}

.partner-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin: 0 0 10px 0;
}

.partner-type-badge,
.partner-category-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.75rem;
    border-radius: 0;
    margin: 2px;
}

.partner-type-badge {
    background: var(--primary-blue);
    color: var(--white);
}

.partner-category-badge {
    background: var(--bg-gray);
    color: var(--dark-gray);
}

.partner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 8, 71, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.btn-view-details {
    padding: 12px 25px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease;
}

.btn-view-details:hover {
    background: var(--gold-accent);
}

.no-partners-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--lighter-gray);
}

.no-partners-message i {
    margin-bottom: 20px;
    display: block;
}

/* Partner Modal */
.partner-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.partner-modal.active {
    opacity: 1;
    visibility: visible;
}

.partner-modal .modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
}

.partner-modal .modal-content {
    position: relative;
    z-index: 10001;
    background: var(--white);
    border-radius: 0;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.partner-modal.active .modal-content {
    transform: scale(1);
}

.partner-modal .modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: var(--bg-gray);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-gray);
    transition: all 0.3s ease;
    z-index: 10;
}

.partner-modal .modal-close:hover {
    background: var(--primary);
    color: var(--white);
}

.partner-modal .modal-body {
    padding: 30px;
}

.partner-modal .modal-logo {
    text-align: center;
    margin-bottom: 20px;
}

.partner-modal .modal-logo img {
    max-width: 150px;
    max-height: 100px;
    object-fit: contain;
}

.partner-modal .modal-info h2 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    text-align: center;
}

.partner-modal .modal-badges {
    text-align: center;
    margin-bottom: 20px;
}

.partner-modal .badge {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 0;
    font-size: 0.85rem;
    margin: 0 5px;
}

.partner-modal .badge-type {
    background: var(--primary);
    color: var(--white);
}

.partner-modal .badge-category {
    background: var(--bg-gray);
    color: var(--dark-gray);
}

.partner-modal .modal-details {
    margin-bottom: 20px;
}

.partner-modal .detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-gray);
}

.partner-modal .detail-item:last-child {
    border-bottom: none;
}

.partner-modal .detail-item i {
    width: 30px;
    color: var(--primary);
    font-size: 1rem;
}

.partner-modal .detail-item span {
    color: var(--dark-gray);
    font-size: 0.95rem;
}

.partner-modal .modal-description {
    color: var(--light-gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
}

.partner-modal .btn-website {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: 0;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.partner-modal .btn-website:hover {
    background: var(--primary);
}

/* Responsive - Partners Page */
@media (max-width: 1200px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-partner-item {
        flex: 0 0 33.333%;
    }

    .partners-filter-container {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-tabs {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .partners-hero h1 {
        font-size: 1.8rem;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .featured-partner-item {
        flex: 0 0 50%;
    }

    .partner-logo-container {
        height: 100px;
    }

    .partner-name {
        font-size: 0.85rem;
    }

    .filter-tab {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .partners-hero {
        padding: 40px 0;
    }

    .partners-hero h1 {
        font-size: 1.5rem;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .partner-info {
        padding: 10px;
    }

    .partner-type-badge,
    .partner-category-badge {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
}
