/* Tuba Finance - Professional Financial Website Stylesheet (MODAL FIX VERSION) */
/* Version: 3.3 | CRITICAL FIX: Modal visibility controlled by CSS class with proper display properties */
/* Last Updated: February 4, 2026 */
/* FIX: Modal overlay uses display:flex when active, display:none when inactive */

/* ================== BASE STYLES & RESET ================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: #2D2D2D;
    background-color: #FAF9F6;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100%;
    transition: padding-right 0.3s ease; /* For modal scroll prevention */
}

/* Diagonal Pattern Background with Subtle Logo Repeat */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #FAF9F6;
    background-image: 
        linear-gradient(45deg, rgba(140, 29, 29, 0.03) 25%, transparent 25%, transparent 75%, rgba(140, 29, 29, 0.03) 75%),
        url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='60' cy='60' r='55' fill='none' stroke='%238C1D1D' stroke-width='1' stroke-opacity='0.02'/%3E%3Ctext x='60' y='65' font-family='Arial' font-size='40' fill='%238C1D1D' text-anchor='middle' opacity='0.01'%3ET%3C/text%3E%3C/svg%3E");
    background-size: 40px 40px, 120px 120px;
    background-attachment: fixed;
    z-index: -2;
    pointer-events: none;
}

/* Additional Subtle Pattern Overlay */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 10% 20%, rgba(140, 29, 29, 0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    background-attachment: fixed;
    z-index: -1;
    pointer-events: none;
}

/* CRITICAL FIX: Body scroll prevention when modal is open */
body.modal-open {
    overflow: hidden;
    padding-right: 15px; /* Prevent layout shift when scrollbar disappears */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Slab', Georgia, serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #8C1D1D;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: #8C1D1D;
    position: relative;
    transition: all 0.2s ease;
}

a:hover {
    color: #6D0000;
}

a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: currentColor;
    transition: all 0.2s ease;
}

a:hover::after {
    width: 100%;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ================== UTILITY CLASSES ================== */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    display: inline-block;
    position: relative;
    padding-bottom: 15px;
    color: #8C1D1D;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #8C1D1D 0%, #6D0000 100%);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.5rem;
    color: #8C1D1D;
    margin-bottom: 0.75rem;
}

.last-updated {
    font-size: 0.9rem;
    color: #5A5A5A;
    text-align: right;
    margin-top: -10px;
    font-style: italic;
}

.data-source {
    font-size: 0.85rem;
    color: #5A5A5A;
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px dashed #D1D5DB;
    font-style: italic;
}

.text-center {
    text-align: center;
}

/* ================== HEADER & NAVIGATION ================== */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-bg {
    background-color: #FFFFFF;
    border-radius: 8px;
    padding: 8px 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    min-width: 180px;
    border: 1px solid #D1D5DB;
}

.logo-img {
    max-height: 34px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.nav {
    position: relative;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-link {
    font-weight: 500;
    font-size: 1.05rem;
    padding: 5px 0;
    position: relative;
    display: inline-block;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #8C1D1D;
    transition: all 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: #6D0000;
    font-weight: 600;
}

/* Submenu Styles */
.has-submenu {
    position: relative;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
    border: 1px solid #D1D5DB;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    width: 100%;
}

.submenu a {
    display: block;
    padding: 8px 20px;
    color: #2D2D2D !important;
    font-weight: 400;
    font-size: 0.95rem;
}

.submenu a:hover {
    background-color: #E9ECEF;
    color: #8C1D1D !important;
    padding-left: 25px;
}

.submenu a::after {
    display: none;
}

/* Invoice Search Button */
.invoice-search-btn {
    background: linear-gradient(135deg, #8C1D1D 0%, #6D0000 100%);
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.invoice-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #6D0000 0%, #5a0000 100%);
}

.search-icon {
    font-size: 1.1rem;
}

.btn-text {
    display: inline-block;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1002;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #8C1D1D;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: #8C1D1D;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.mobile-menu-toggle.active .hamburger {
    background-color: transparent;
}

.mobile-menu-toggle.active .hamburger::before {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger::after {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ================== HERO SLIDER ================== */
.hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    max-height: 850px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    position: relative;
    z-index: 2;
}

.slide-content {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 3;
    color: #FFFFFF;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.slide-title {
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    position: relative;
    font-weight: 700;
    line-height: 1.2;
}

.slide-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #A52A2A, transparent);
    border-radius: 2px;
}

.slide-subtitle {
    font-size: 1.65rem;
    margin: 0 auto 2.5rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.5;
    max-width: 700px;
    font-weight: 300;
}

.slide-stats {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    min-width: 140px;
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 5px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
}

.slide-btn {
    display: inline-block;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F8F8 100%);
    color: #8C1D1D !important;
    padding: 14px 45px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.25rem;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    margin-top: 20px;
    letter-spacing: 0.5px;
    border: 2px solid #FFFFFF;
}

.slide-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
    background: linear-gradient(135deg, #F8F8F8 0%, #FFFFFF 100%);
    color: #6D0000 !important;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.dot.active {
    background-color: #FFFFFF;
    transform: scale(1.2);
    box-shadow: 0 0 0 2px #8C1D1D, 0 0 8px rgba(140, 29, 29, 0.5);
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #FFFFFF;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.slider-arrow.prev {
    left: 30px;
}

.slider-arrow.next {
    right: 30px;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
    border-color: #FFFFFF;
}

/* ================== RATES SECTION ================== */
.rates-section {
    padding: 70px 0 50px;
    background-color: #FAF9F6;
}

.rates-grid {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.rates-column {
    flex: 1;
    min-width: 0;
}

.section-box {
    background-color: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    padding: 28px;
    width: 100%;
    border: 1px solid #D1D5DB;
    transition: all 0.3s ease;
}

.section-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(140, 29, 29, 0.15);
}

.rates-container {
    margin: 20px 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #D1D5DB;
}

.rates-table {
    width: 100%;
    border-collapse: collapse;
}

.rates-table thead {
    background-color: #8C1D1D;
    color: #FFFFFF;
}

.rates-table th {
    font-weight: 600;
    padding: 14px 18px;
    text-align: left;
    font-size: 0.95rem;
}

.rates-table td {
    padding: 14px 18px;
    border-bottom: 1px solid #E9ECEF;
    font-weight: 500;
}

.rates-table tbody tr:last-child td {
    border-bottom: none;
}

.currency-row, .crypto-row {
    cursor: pointer;
    transition: all 0.2s ease;
}

.currency-row:hover, .crypto-row:hover {
    background-color: rgba(140, 29, 29, 0.03);
}

.currency-row:hover td:first-child,
.crypto-row:hover td:first-child {
    color: #8C1D1D;
    font-weight: 600;
}

.flag-icon, .crypto-icon {
    font-size: 1.4rem;
    margin-right: 8px;
    vertical-align: middle;
}

.rate-value {
    font-size: 1.25rem;
    color: #2D2D2D;
    font-weight: 700;
}

.rate-change {
    font-weight: 600;
    font-size: 0.95rem;
}

.positive {
    color: #28A745;
}

.negative {
    color: #DC3545;
}

.neutral {
    color: #5A5A5A;
}

.calculator-container {
    text-align: center;
    margin-top: 35px;
}

.calculator-btn {
    background: linear-gradient(135deg, #8C1D1D 0%, #6D0000 100%);
    color: #FFFFFF;
    border: none;
    padding: 14px 45px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.5px;
}

.calculator-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 40px rgba(140, 29, 29, 0.35);
    background: linear-gradient(135deg, #6D0000 0%, #5a0000 100%);
}

.calc-icon {
    font-size: 1.6rem;
}

.calc-text {
    display: inline-block;
}

/* ================== BANKS SLIDER ================== */
.banks-slider-section {
    padding: 60px 0;
    background-color: #FFFFFF;
    border-top: 1px solid #D1D5DB;
    border-bottom: 1px solid #D1D5DB;
}

.banks-slider {
    overflow: hidden;
    padding: 30px 0;
    position: relative;
    margin-top: 25px;
}

.banks-track {
    display: inline-flex;
    animation: scroll 50s linear infinite;
    white-space: nowrap;
    padding-left: 50px;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.bank-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    height: 110px;
    margin: 0 30px;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    padding: 20px;
    border: 1px solid #D1D5DB;
}

.bank-logo:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    border-color: #8C1D1D;
    z-index: 10;
}

.bank-logo img {
    max-height: 70px;
    max-width: 200px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: grayscale(100%) brightness(0.85);
}

.bank-logo:hover img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.05);
}

.slider-credit {
    text-align: center;
    font-size: 0.8rem;
    color: #5A5A5A;
    margin-top: 20px;
    font-style: italic;
    letter-spacing: 0.5px;
}

/* ================== NEWS SECTION ================== */
.news-section {
    padding: 70px 0;
    background-color: #FAF9F6;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.news-card {
    background-color: #FFFFFF;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    border: 1px solid #D1D5DB;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    border-color: #8C1D1D;
}

.news-date {
    font-size: 0.85rem;
    color: #5A5A5A;
    margin-bottom: 10px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.news-title {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: #8C1D1D;
    line-height: 1.4;
    transition: all 0.2s ease;
}

.news-card:hover .news-title {
    color: #6D0000;
}

.news-desc {
    color: #5A5A5A;
    margin-bottom: 15px;
    line-height: 1.6;
    flex-grow: 1;
    font-size: 0.95rem;
}

.news-link {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #8C1D1D !important;
    font-size: 0.95rem;
    margin-top: 8px;
    transition: all 0.2s ease;
}

.news-link:hover {
    gap: 10px;
    color: #6D0000 !important;
}

.news-source {
    text-align: center;
    font-size: 0.85rem;
    color: #5A5A5A;
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #D1D5DB;
    font-style: italic;
}

/* ================== OFFICES SECTION ================== */
.offices-section {
    padding: 70px 0 50px;
    background-color: #FFFFFF;
}

.offices-grid {
    display: flex;
    gap: 35px;
    margin-top: 35px;
}

.office-card {
    background-color: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    padding: 30px;
    border: 1px solid #D1D5DB;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 0;
}

.office-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(140, 29, 29, 0.15);
}

.office-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #D1D5DB;
}

.office-title {
    font-size: 1.85rem;
    color: #8C1D1D;
    margin: 0;
}

.office-address {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 25px;
    color: #2D2D2D;
}

.office-address strong {
    color: #8C1D1D;
    display: block;
    margin-bottom: 5px;
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border: 1px solid #D1D5DB;
    margin-top: 15px;
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 280px;
    border: none;
    display: block;
}

.map-caption {
    font-size: 0.9rem;
    color: #5A5A5A;
    text-align: center;
    padding: 10px;
    background-color: #E9ECEF;
    font-weight: 500;
    border-top: 1px solid #D1D5DB;
}

.offices-list {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-top: 10px;
}

.office-item {
    padding: 10px 0;
    border-bottom: 1px dashed #D1D5DB;
}

.office-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.office-item .flag-icon {
    font-size: 1.3rem;
    margin-right: 8px;
    vertical-align: middle;
}

.office-note {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #D1D5DB;
    font-style: italic;
    color: #5A5A5A;
    font-size: 0.95rem;
}

/* ================== SERVICES SECTION ================== */
.services-section {
    padding: 70px 0 50px;
    background-color: #FAF9F6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 35px;
}

.service-card {
    background-color: #FFFFFF;
    border-radius: 24px;
    padding: 35px 30px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    border: 1px solid #D1D5DB;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #8C1D1D 0%, #6D0000 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    border-color: #8C1D1D;
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
    color: #8C1D1D;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
}

.service-card h3 {
    font-size: 1.85rem;
    margin-bottom: 15px;
    color: #8C1D1D;
}

.service-card p {
    color: #5A5A5A;
    margin-bottom: 20px;
    line-height: 1.65;
    font-size: 1.05rem;
}

.service-features {
    list-style: none;
    text-align: left;
    margin-top: 15px;
    padding-left: 10px;
}

.service-features li {
    padding-left: 22px;
    position: relative;
    margin-bottom: 10px;
    color: #2D2D2D;
    line-height: 1.5;
    font-weight: 500;
    font-size: 1.02rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #8C1D1D;
    font-weight: bold;
    font-size: 1.1rem;
}

/* ================== CONTACT SECTION ================== */
.contact-section {
    padding: 70px 0 50px;
    background-color: #FFFFFF;
}

.contact-grid {
    display: flex;
    gap: 40px;
    margin-top: 35px;
}

.contact-info, .request-form {
    background-color: #FFFFFF;
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #D1D5DB;
    flex: 1;
    min-width: 0;
}

.contact-info h3, .request-form h3 {
    font-size: 1.95rem;
    color: #8C1D1D;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #D1D5DB;
}

.contact-details {
    font-size: 1.1rem;
    line-height: 1.85;
}

.contact-details p {
    margin-bottom: 18px;
}

.contact-details strong {
    color: #8C1D1D;
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2D2D2D;
    font-size: 1.05rem;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    background-color: #FFFFFF;
}

.form-input:focus {
    outline: none;
    border-color: #8C1D1D;
    box-shadow: 0 0 0 3px rgba(140, 29, 29, 0.15);
}

.textarea {
    min-height: 150px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 8px;
}

.checkbox-group input {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label {
    font-size: 0.95rem;
    color: #2D2D2D;
    line-height: 1.5;
}

.checkbox-label a {
    color: #8C1D1D;
    font-weight: 500;
}

.submit-btn {
    background: linear-gradient(135deg, #8C1D1D 0%, #6D0000 100%);
    color: #FFFFFF;
    border: none;
    padding: 16px 45px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    width: 100%;
    letter-spacing: 0.5px;
    margin-top: 5px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #6D0000 0%, #5a0000 100%);
}

.form-note {
    font-size: 0.85rem;
    color: #5A5A5A;
    margin-top: 15px;
    text-align: center;
    font-style: italic;
    line-height: 1.5;
}

/* ================== FOOTER ================== */
.footer {
    background: linear-gradient(135deg, #1a3a5f 0%, #0d2a4d 100%);
    color: #FFFFFF;
    padding: 75px 0 35px;
    margin-top: 50px;
    border-top: 4px solid #8C1D1D;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 15% 30%, rgba(255,255,255,0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 70%, rgba(26,58,95,0.15) 0%, transparent 30%);
    z-index: 0;
}

.footer-container {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 45px;
}

.footer-logo .logo-bg {
    min-height: 65px;
    min-width: 210px;
    padding: 12px 22px;
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-logo .logo-img {
    max-height: 42px;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.88);
    margin: 20px 0 25px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.footer-address {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-address .flag-icon {
    margin-right: 8px;
    font-size: 1.3rem;
    vertical-align: middle;
}

.social-links {
    display: flex;
    gap: 18px;
    margin-top: 25px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    font-weight: bold;
    font-size: 1.35rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none !important;
}

.social-links a:hover {
    background-color: #FFFFFF;
    color: #8C1D1D;
    transform: translateY(-3px);
    border-color: #FFFFFF;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.footer-col h4 {
    color: #FFFFFF;
    font-size: 1.55rem;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 3px;
    background: linear-gradient(135deg, #8C1D1D 0%, #6D0000 100%);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    line-height: 1.9;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.82) !important;
    transition: all 0.2s ease;
    font-weight: 400;
    font-size: 1.02rem;
    display: block;
    padding: 3px 0;
}

.footer-links a:hover {
    color: #FFFFFF !important;
    transform: translateX(5px);
    font-weight: 500;
    padding-left: 8px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.02rem;
    line-height: 1.7;
    margin-top: 20px;
}

.regulatory-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 12px;
    flex-wrap: wrap;
    font-size: 0.95rem;
}

.regulatory-info span {
    display: inline-block;
    padding: 0 8px;
}

.irnic-compliance {
    margin-top: 18px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.82);
    font-style: italic;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ================== MODALS (CRITICAL FIX) ================== */
/* FIXED: Modal overlay uses display property for visibility control */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.82);
    display: none; /* Hidden by default - CRITICAL FIX */
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* FIXED: Show modal when active class is present */
.modal-overlay.active {
    display: flex; /* Show modal - CRITICAL FIX */
    opacity: 1;
}

.modal-container {
    background-color: #FFFFFF;
    border-radius: 24px;
    width: 95%;
    max-width: 950px;
    max-height: 92vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s ease;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    border: 1px solid #D1D5DB;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 22px;
    right: 22px;
    background: none;
    border: none;
    font-size: 1.8rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    color: #5A5A5A;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    font-weight: 300;
}

.modal-close:hover {
    background-color: #E9ECEF;
    color: #8C1D1D;
    transform: rotate(90deg);
}

.modal-content {
    padding: 40px;
}

.modal-content h2 {
    color: #8C1D1D;
    margin-bottom: 1.25rem;
    font-size: 2.25rem;
    text-align: center;
    position: relative;
    padding-bottom: 18px;
}

.modal-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 85px;
    height: 4px;
    background: linear-gradient(135deg, #8C1D1D 0%, #6D0000 100%);
    border-radius: 2px;
}

.modal-note, .modal-subtitle {
    text-align: center;
    color: #5A5A5A;
    margin-bottom: 28px;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
}

.modal-section {
    margin-bottom: 25px;
    padding-bottom: 22px;
    border-bottom: 1px solid #D1D5DB;
}

.modal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.modal-section h3 {
    color: #8C1D1D;
    font-size: 1.75rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.modal-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2.5px;
    background: linear-gradient(135deg, #8C1D1D 0%, #6D0000 100%);
    border-radius: 2px;
}

.modal-section ul {
    padding-left: 25px;
    margin: 15px 0;
}

.modal-section li {
    margin-bottom: 10px;
    line-height: 1.65;
    font-weight: 500;
    font-size: 1.05rem;
}

.modal-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #D1D5DB;
    text-align: center;
    color: #5A5A5A;
    font-size: 1.05rem;
    line-height: 1.6;
}

.modal-date {
    text-align: center;
    color: #5A5A5A;
    margin-bottom: 25px;
    font-style: italic;
    font-size: 1.1rem;
}

/* Calculator Modal Specific */
.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.calc-column h3 {
    color: #8C1D1D;
    font-size: 1.85rem;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 1px solid #D1D5DB;
}

.calc-btn {
    background: linear-gradient(135deg, #8C1D1D 0%, #6D0000 100%);
    color: #FFFFFF;
    border: none;
    padding: 15px 0;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.calc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #6D0000 0%, #5a0000 100%);
}

.calc-result {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #D1D5DB;
}

.calc-result-box {
    background: linear-gradient(145deg, #f9f9f9, #ffffff);
    border-left: 4px solid #8C1D1D;
    padding: 22px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-top: 15px;
}

.result-total {
    font-weight: 700;
    font-size: 1.35rem;
    color: #8C1D1D;
    margin: 15px 0;
    padding: 12px 0;
    border-top: 1px dashed #D1D5DB;
    border-bottom: 1px dashed #D1D5DB;
}

.result-note {
    font-size: 0.95rem;
    color: #5A5A5A;
    font-style: italic;
    margin-top: 12px;
    line-height: 1.5;
}

.fee-explanation {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 2px solid #D1D5DB;
}

.fee-explanation h3 {
    color: #8C1D1D;
    font-size: 1.95rem;
    margin-bottom: 20px;
}

.fee-explanation ul {
    padding-left: 25px;
    margin: 15px 0;
}

.fee-explanation li {
    margin-bottom: 12px;
    line-height: 1.65;
    font-weight: 500;
    font-size: 1.05rem;
}

/* Chart Modal Specific */
.chart-container {
    margin: 30px 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #D1D5DB;
}

.chart-placeholder {
    background: linear-gradient(145deg, #f8f9fa, #ffffff);
    border-radius: 16px;
    overflow: hidden;
}

.chart-content {
    padding: 25px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #D1D5DB;
}

.chart-symbol {
    font-size: 2.25rem;
    font-weight: 700;
    color: #8C1D1D;
}

.chart-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2D2D2D;
}

.chart-change {
    font-size: 1.5rem;
    font-weight: 600;
    padding: 5px 15px;
    border-radius: 8px;
    margin-left: 15px;
}

.chart-change.positive {
    background-color: rgba(40, 167, 69, 0.15);
    color: #28A745;
}

.chart-change.negative {
    background-color: rgba(220, 53, 69, 0.15);
    color: #DC3545;
}

.chart-footer {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #D1D5DB;
}

.chart-period {
    padding: 6px 18px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #D1D5DB;
    font-size: 0.95rem;
}

.chart-period.active, .chart-period:hover {
    background-color: #8C1D1D;
    color: #FFFFFF;
    border-color: #8C1D1D;
}

.chart-info {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #D1D5DB;
}

.chart-source {
    font-size: 0.95rem;
    color: #5A5A5A;
    font-style: italic;
    margin-top: 10px;
}

/* Invoice Search Modal */
.input-with-icon {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: #5A5A5A;
}

#invoice-number {
    padding-left: 50px !important;
}

.search-btn {
    background: linear-gradient(135deg, #8C1D1D 0%, #6D0000 100%);
    color: #FFFFFF;
    border: none;
    padding: 15px 0;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 15px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #6D0000 0%, #5a0000 100%);
}

.invoice-result {
    margin-top: 25px;
}

.result-loading {
    text-align: center;
    padding: 40px 20px;
    color: #5A5A5A;
    font-size: 1.2rem;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(140, 29, 29, 0.2);
    border-top: 5px solid #8C1D1D;
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.result-card {
    background: linear-gradient(145deg, #f9f9f9, #ffffff);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border-left: 5px solid #8C1D1D;
    border: 1px solid #D1D5DB;
    margin-top: 20px;
}

.status-paid { border-left-color: #28A745; }
.status-processing { border-left-color: #17A2B8; }
.status-overdue { border-left-color: #DC3545; }
.status-pending { border-left-color: #FFC107; }

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #D1D5DB;
}

.result-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.35rem;
}

.status-icon {
    font-size: 1.8rem;
}

.status-text {
    color: #8C1D1D;
}

.status-paid .status-text { color: #28A745; }
.status-processing .status-text { color: #17A2B8; }
.status-overdue .status-text { color: #DC3545; }

.result-invoice-number {
    font-family: monospace, monospace;
    font-weight: 600;
    color: #5A5A5A;
    background-color: rgba(140, 29, 29, 0.06);
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 1.15rem;
    letter-spacing: 1px;
}

.result-details {
    margin-bottom: 25px;
}

.result-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed #D1D5DB;
}

.result-row:last-child {
    border-bottom: none;
}

.result-label {
    font-weight: 500;
    color: #5A5A5A;
    font-size: 1.05rem;
}

.result-value {
    font-weight: 600;
    color: #2D2D2D;
    font-size: 1.05rem;
}

.result-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.download-btn, .contact-btn {
    padding: 12px 35px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-width: 180px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.download-btn {
    background-color: #8C1D1D;
    color: #FFFFFF;
}

.contact-btn {
    background-color: #E9ECEF;
    color: #8C1D1D;
    border: 1px solid #D1D5DB;
}

.download-btn:hover, .contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.result-not-found {
    text-align: center;
    padding: 45px 25px;
    color: #5A5A5A;
}

.not-found-icon {
    font-size: 4.5rem;
    margin-bottom: 20px;
    color: #DC3545;
}

.result-not-found h3 {
    color: #8C1D1D;
    margin-bottom: 18px;
    font-size: 2.15rem;
}

/* ================== RESPONSIVE DESIGN ================== */
@media (max-width: 1100px) {
    .rates-grid,
    .offices-grid,
    .contact-grid,
    .calculator-grid {
        flex-direction: column;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 900px) {
    .nav-list {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav.active .nav-list {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #FFFFFF;
        flex-direction: column;
        padding: 25px 0;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        z-index: 999;
        animation: fadeIn 0.3s ease;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .nav-list li {
        margin: 8px 0;
        text-align: center;
    }
    
    .nav-list .has-submenu {
        position: static;
    }
    
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 15px 0 0 30px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border: none;
        background: none;
    }
    
    .has-submenu:hover .submenu {
        max-height: 500px;
    }
    
    .submenu li {
        width: 100%;
    }
    
    .submenu a {
        padding: 8px 15px;
        text-align: left;
        font-size: 1rem;
    }
    
    .invoice-search-btn {
        position: absolute;
        top: 15px;
        right: 70px;
    }
    
    .hero-slider {
        height: 85vh;
        max-height: 750px;
    }
    
    .slide-title {
        font-size: 2.8rem;
    }
    
    .slide-subtitle {
        font-size: 1.4rem;
    }
    
    .slide-stats {
        gap: 25px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .banks-track {
        animation-duration: 70s;
    }
    
    .bank-logo {
        min-width: 200px;
        height: 95px;
        margin: 0 20px;
    }
    
    .bank-logo img {
        max-height: 60px;
        max-width: 170px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .map-container iframe {
        height: 250px;
    }
    
    .service-card {
        padding: 30px 25px;
    }
    
    .service-icon {
        font-size: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .modal-container {
        width: 98%;
        max-width: 650px;
    }
}

@media (max-width: 600px) {
    .container {
        width: 95%;
    }
    
    .header-container {
        padding: 12px 0;
    }
    
    .logo-bg {
        min-height: 45px;
        min-width: 160px;
        padding: 6px 12px;
    }
    
    .logo-img {
        max-height: 28px;
    }
    
    .invoice-search-btn {
        right: 15px;
        padding: 8px;
        width: 42px;
        height: 42px;
        border-radius: 50%;
    }
    
    .invoice-search-btn .btn-text {
        display: none;
    }
    
    .hero-slider {
        height: 80vh;
        max-height: 650px;
    }
    
    .slide-title {
        font-size: 2.4rem;
    }
    
    .slide-subtitle {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.4rem;
    }
    
    .rates-table th,
    .rates-table td {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .flag-icon, .crypto-icon {
        font-size: 1.2rem;
    }
    
    .rate-value {
        font-size: 1.15rem;
    }
    
    .calculator-btn {
        padding: 12px 30px;
        font-size: 1.15rem;
    }
    
    .calc-icon {
        font-size: 1.4rem;
    }
    
    .banks-track {
        animation-duration: 90s;
    }
    
    .bank-logo {
        min-width: 170px;
        height: 85px;
        margin: 0 15px;
    }
    
    .bank-logo img {
        max-height: 50px;
        max-width: 140px;
    }
    
    .news-card {
        padding: 22px;
    }
    
    .news-title {
        font-size: 1.25rem;
    }
    
    .map-container iframe {
        height: 220px;
    }
    
    .office-address,
    .offices-list,
    .contact-details {
        font-size: 1rem;
    }
    
    .service-card {
        padding: 28px 22px;
    }
    
    .service-icon {
        font-size: 2.8rem;
    }
    
    .service-card h3 {
        font-size: 1.7rem;
    }
    
    .submit-btn {
        padding: 14px 30px;
        font-size: 1.15rem;
    }
    
    .footer-logo .logo-bg {
        min-height: 55px;
        min-width: 180px;
        padding: 10px 18px;
    }
    
    .footer-logo .logo-img {
        max-height: 36px;
    }
    
    .footer-desc,
    .footer-address {
        font-size: 1rem;
    }
    
    .social-links a {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }
    
    .footer-col h4 {
        font-size: 1.45rem;
    }
    
    .footer-links a {
        font-size: 1rem;
    }
    
    .footer-bottom {
        font-size: 0.95rem;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .regulatory-info {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .irnic-compliance {
        font-size: 0.9rem;
        padding: 0 15px;
    }
    
    .modal-content {
        padding: 28px 22px;
    }
    
    .modal-content h2 {
        font-size: 1.95rem;
    }
    
    .result-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .download-btn, .contact-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .slider-nav {
        bottom: 30px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .slider-arrow.prev {
        left: 15px;
    }
    
    .slider-arrow.next {
        right: 15px;
    }
}

/* ================== PRINT STYLES ================== */
@media print {
    .header, .invoice-search-btn, .calculator-btn, .modal-overlay, .mobile-menu-toggle, .slider-nav, .slider-arrow {
        display: none !important;
    }
    
    body {
        background: #FFFFFF !important;
        color: #2D2D2D !important;
    }
    
    body::before, body::after {
        display: none !important;
    }
    
    .section-box, .office-card, .service-card, .contact-info, .request-form, .news-card, .footer {
        box-shadow: none !important;
        border: 1px solid #000 !important;
    }
    
    a::after {
        display: none !important;
    }
    
    .map-container iframe {
        display: none !important;
    }
    
    .map-container::after {
        content: "Map image not available in print version";
        display: block;
        text-align: center;
        padding: 40px;
        background-color: #f0f0f0;
        color: #666;
        font-style: italic;
    }
}