/* Inner page styles - clean rewrite of itsoft theme */

/* ===== Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700;800;900&family=Fira+Sans:wght@300;400;500;600;700;800;900&display=swap');

/* ===== Reset ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html { scroll-behavior: smooth; }
body {
    font-family: 'Rubik', sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

#inner-header-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* ===== Inner Header ===== */
.inner-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.4s ease;
}
.inner-header .header-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Transparent state (over hero) */
.inner-header.transparent {
    background: transparent;
}
.inner-header.transparent .nav-link {
    color: #fff;
}
.inner-header.transparent .logo-dark { display: none; }
.inner-header.transparent .logo-light { display: block; }

/* Sticky white state (on scroll) */
.inner-header.sticky {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 10px 0;
}
.inner-header.sticky .nav-link {
    color: #191919;
}
.inner-header.sticky .nav-link:hover {
    color: #CE252A;
}
.inner-header.sticky .logo-dark { display: block; }
.inner-header.sticky .logo-light { display: none; }

/* Logo */
.inner-header .logo img {
    height: 50px;
    width: auto;
}

/* Navigation */
.inner-nav {
    display: flex;
    align-items: center;
    gap: 2em;
}
.inner-nav .nav-link {
    font-family: 'Fira Sans', sans-serif;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}
.inner-nav .nav-link:hover {
    color: #CE252A;
}

/* Services dropdown */
.inner-nav .nav-dropdown {
    position: relative;
}
.inner-nav .nav-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-radius: 4px;
    padding: 8px 0;
    z-index: 100;
}
/* Invisible bridge to cover the gap between trigger and menu */
.inner-nav .nav-dropdown .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}
.inner-nav .nav-dropdown:hover .dropdown-menu {
    display: block;
}
.inner-nav .dropdown-menu a {
    display: block;
    padding: 8px 20px;
    font-size: 14px;
    color: #333;
    transition: all 0.2s;
}
.inner-nav .dropdown-menu a:hover {
    background: #f5f5f5;
    color: #CE252A;
}

/* Mobile burger for inner pages */
.inner-burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}
.inner-burger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    transition: background 0.3s;
}
.inner-header.sticky .inner-burger span {
    background: #CE252A;
}

/* Mobile menu - full width dropdown panel */
.inner-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 1001;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    display: none;
}
.inner-mobile-menu.open {
    display: block;
}
.inner-mobile-menu > ul {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease;
}
.inner-mobile-menu.expanded > ul {
    max-height: 80vh;
}
.inner-mobile-menu .mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    border-bottom: 1px solid #eee;
}
.inner-mobile-menu .mobile-menu-header img {
    height: 50px;
}
.inner-mobile-menu .close-btn {
    font-size: 24px;
    cursor: pointer;
    color: #CE252A;
    background: none;
    border: none;
    font-weight: 300;
}
.inner-mobile-menu ul {
    display: flex;
    flex-direction: column;
}
.inner-mobile-menu > ul > li {
    border-bottom: 1px solid #eee;
}
.inner-mobile-menu > ul > li > a,
.inner-mobile-menu > ul > li > .submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    font-size: 15px;
    color: #333;
    font-weight: 500;
    font-family: 'Fira Sans', sans-serif;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
}
.inner-mobile-menu .submenu-toggle .toggle-icon {
    font-size: 18px;
    color: #999;
    transition: transform 0.3s;
}
.inner-mobile-menu .has-submenu.open .toggle-icon {
    transform: rotate(45deg);
}
.inner-mobile-menu .mobile-submenu {
    background: #f9f9f9;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease;
}
.inner-mobile-menu .has-submenu.open .mobile-submenu {
    max-height: 300px;
}
.inner-mobile-menu .mobile-submenu a {
    display: block;
    padding: 12px 20px 12px 35px;
    font-size: 14px;
    color: #555;
    border-bottom: 1px solid #eee;
}
.inner-mobile-menu .mobile-submenu a:last-child {
    border-bottom: none;
}
.inner-mobile-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.inner-mobile-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 991px) {
    .inner-nav { display: none; }
    .inner-burger { display: flex; }
    /* On mobile, header is always white/sticky style */
    .inner-header.transparent {
        background: #fff;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        padding: 10px 0;
    }
    .inner-header.transparent .logo-dark { display: block; }
    .inner-header.transparent .logo-light { display: none; }
    .inner-header.transparent .inner-burger span {
        background: #CE252A;
    }
}

/* ===== Hero Banner / Breadcrumb ===== */
.page-banner {
    position: relative;
    height: 450px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    padding-bottom: 60px;
}
.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.5));
}
.page-banner .banner-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}
.page-banner h1 {
    font-family: 'Fira Sans', sans-serif;
    font-size: 3em;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}
.page-banner .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.page-banner .breadcrumb a {
    color: rgba(255,255,255,0.8);
    transition: color 0.2s;
}
.page-banner .breadcrumb a:hover { color: #fff; }
.page-banner .breadcrumb .separator { color: rgba(255,255,255,0.6); }
.page-banner .breadcrumb .current { color: #fff; }

@media (max-width: 768px) {
    .page-banner { height: 350px; padding-bottom: 40px; }
    .page-banner h1 { font-size: 2em; }
}

/* ===== Page Content ===== */
.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}
/* Restore default HTML element styles inside content areas */
.page-content p {
    margin-bottom: 1em;
}
.page-content ul {
    list-style: disc;
    padding-left: 2em;
    margin-bottom: 1em;
}
.page-content ol {
    list-style: decimal;
    padding-left: 2em;
    margin-bottom: 1em;
}
.page-content li {
    margin-bottom: 0.5em;
}
.page-content h1 {
    font-family: 'Fira Sans', sans-serif;
    font-size: 1.6em;
    font-weight: 700;
    color: #333;
    margin: 1.5em 0 0.5em;
}
.page-content h1:first-child {
    margin-top: 0;
}

/* Section title block */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}
.section-title h3 {
    font-family: 'Fira Sans', sans-serif;
    font-size: 1.4em;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}
.section-title h2 {
    font-family: 'Fira Sans', sans-serif;
    font-size: 2.2em;
    font-weight: 700;
    color: #CE252A;
}
.section-title .bar {
    width: 60px;
    height: 3px;
    background: #CE252A;
    margin: 20px auto;
}

/* Two-column content */
.content-row {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 40px;
}
.content-row .col-image {
    flex: 1;
    min-width: 0;
}
.content-row .col-image img {
    width: 100%;
    border-radius: 4px;
}
.content-row .col-text {
    flex: 1;
    min-width: 0;
}
.content-row .col-text p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .content-row {
        flex-direction: column;
    }
}

/* Highlight section (gray bg) */
.highlight-section {
    background: #f8f8f8;
    padding: 60px 0;
    margin: 40px 0;
}
.highlight-section .highlight-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.highlight-section p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}
.highlight-section ul {
    padding-left: 20px;
}
.highlight-section ul li {
    font-size: 15px;
    line-height: 2;
    color: #555;
    list-style: disc;
    margin-bottom: 8px;
}

/* ===== Inner Footer ===== */
.inner-footer {
    background: #1a1a2e;
    color: #fff;
    padding: 50px 0 0;
}
.inner-footer .footer-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}
.inner-footer .footer-about {
    flex: 1;
    min-width: 250px;
}
.inner-footer .footer-about img {
    height: 50px;
    /* margin-bottom: 15px; */
}
.inner-footer .footer-contact-info {
    flex: 1;
    min-width: 250px;
}
.inner-footer .footer-contact-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}
.inner-footer .footer-contact-info p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
}
.inner-footer .footer-contact-info a {
    color: rgba(255,255,255,0.7);
    transition: color 0.2s;
}
.inner-footer .footer-contact-info a:hover { color: #fff; }
.inner-footer .footer-social {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}
.inner-footer .footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: background 0.2s;
}
.inner-footer .footer-social a:hover {
    background: #CE252A;
}
.inner-footer .footer-social img {
    width: 16px;
    height: 16px;
}
.inner-footer .footer-bottom-bar {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.inner-footer .footer-bottom-bar .footer-bottom-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.inner-footer .footer-bottom-bar p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}
.inner-footer .footer-bottom-bar nav a {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-left: 20px;
    transition: color 0.2s;
}
.inner-footer .footer-bottom-bar nav a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .inner-footer .footer-wrap { flex-direction: column; }
    .inner-footer .footer-bottom-bar .footer-bottom-wrap {
        flex-direction: column;
        text-align: center;
    }
    .inner-footer .footer-bottom-bar nav a { margin: 0 10px; }
}
