/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Farhang Font Face Declarations */
@font-face {
    font-family: 'Farhang';
    src: url('../fonts/farhang/Farhang2FaNum-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Farhang';
    src: url('../fonts/farhang/Farhang2FaNum-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Farhang';
    src: url('../fonts/farhang/Farhang2FaNum-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Farhang';
    src: url('../fonts/farhang/Farhang2FaNum-DemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Farhang';
    src: url('../fonts/farhang/Farhang2FaNum-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Farhang';
    src: url('../fonts/farhang/Farhang2FaNum-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Farhang';
    src: url('../fonts/farhang/Farhang2FaNum-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Farhang';
    src: url('../fonts/farhang/Farhang2FaNum-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Farhang';
    src: url('../fonts/farhang/Farhang2FaNum-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Farhang', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
    color: #333;
    background-color: #f8f9fa;
    direction: rtl;
    text-align: right;
}

/* Global Link Styles */
a {
    color: #1AAB9E;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #159a8a;
    text-decoration: none;
}

a:visited {
    color: #1AAB9E;
    text-decoration: none;
}

a:active {
    color: #159a8a;
    text-decoration: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Header Styles */
.header {
    background: #1AAB9E;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: relative;
    z-index: 1000;
}

/* Top Header Section */
.top-header {
    background: #1AAB9E;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem 0;
    position: relative;
    overflow: hidden;
}

/* Visual background for top header */
.top-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/visuals/5.png');
    background-size: 50px 50px;
    background-repeat: repeat;
    background-position: center;
    opacity: 0.04;
    z-index: 0;
}

.top-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    width: 80px;
    height: 50px;
    object-fit: contain;
    border-radius: 4px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
}

.header-search {
    flex: 1;
    max-width: 500px;
    margin-left: 2rem;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.search-input-group {
    display: flex;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 2px solid #e9ecef;
    transition: border-color 0.3s ease;
}

.search-input-group:focus-within {
    border-color: #1AAB9E;
}

.search-input {
    flex: 1;
    padding: 0.9rem 1.2rem;
    border: none;
    outline: none;
    font-size: 1rem;
    font-weight: 300;
    background: transparent;
    color: #2c3e50;
}

.search-input::placeholder {
    color: #adb5bd;
}

.search-btn {
    background: #1AAB9E;
    border: none;
    padding: 0.4rem 0.8rem;
    color: #2F2D69;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: #159a8a;
}

.search-icon {
    font-size: 0.68rem;
}

.advanced-search-btn {
    background: transparent;
    border: 2px solid white;
    color: white !important;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 400;
    transition: all 0.3s ease;
    align-self: flex-end;
    text-decoration: none;
    display: inline-block;
}

.advanced-search-btn:hover {
    background: white;
    color: #1AAB9E;
}

.navbar {
    background-color: #2F2D69;
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1001;
    position: relative;
    overflow: hidden;
}

/* Visual background for navbar */
.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/visuals/1.png');
    background-size: 40px 40px;
    background-repeat: repeat;
    background-position: center;
    opacity: 0.03;
    z-index: 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-actions {
    display: flex;
    align-items: center;
}

.logo h1 {
    color: white !important;
    font-size: 1.35rem;
    font-weight: 800;
    text-decoration: none;
}

.logo a {
    text-decoration: none;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.nav-link {
    color: white !important;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 300;
    transition: color 0.3s ease;
    padding: 0.6rem 0.9rem;
    border-radius: 3px;
}

.nav-link:hover {
    color: #FBB547;
    background-color: rgba(255,255,255,0.1);
}

/* Special Membership Button */
.membership-btn {
    background: #1AAB9E;
    color: #2F2D69 !important;
    padding: 0.7rem 1.4rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 6px rgba(26, 171, 158, 0.3);
    border: 2px solid transparent;
}

.membership-btn:hover {
    background: #159a8a;
    color: #2F2D69 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 171, 158, 0.4);
    border-color: rgba(47, 45, 105, 0.2);
}

.membership-btn i {
    font-size: 0.54rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 180px);
    padding: 0.2rem 0;
}

/* Image Slider Styles */
.image-slider {
    margin-bottom: 3rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
}

.slide.active {
    display: flex;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    background: rgba(0,0,0,0.5);
    padding: 2rem;
    border-radius: 6px;
    backdrop-filter: blur(5px);
    max-width: 600px;
    margin: 0 2rem;
}

.slide-content h1 {
    font-size: 0.51rem;
    margin-bottom: 1rem;
    font-weight: 800;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.slide-content p {
    font-size: 0.34rem;
    font-weight: 300;
    line-height: 1.6;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    z-index: 3;
}

.prev-btn, .next-btn {
    background: rgba(255,255,255,0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.02rem;
    font-weight: bold;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.prev-btn:hover, .next-btn:hover {
    background: white;
    transform: scale(1.05);
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255,255,255,0.8);
    transform: scale(1.1);
}

/* Main Layout Container */
.main-layout-container {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Three Column Layout */
.three-column-layout {
    display: flex;
    gap: 2rem;
    flex: 1;
    min-width: 0;
    align-items: flex-start;
}

/* Main News Content - Takes more space */
.main-news-content {
    flex: 2;
    min-width: 0;
}

/* News Section Beside Three Column Layout */
.news-section {
    flex: 0 0 350px;
    min-width: 300px;
}

/* Two Column Layout for News Page */
.two-column-layout {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.two-column-layout .sidebar {
    flex: 0 0 300px;
    min-width: 250px;
}

.two-column-layout .main-news-content {
    flex: 1;
    min-width: 0;
}

/* Sidebar Styles */
.sidebar {
    flex: 0 0 320px;
    min-width: 260px;
}


.sidebar-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    padding: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.sidebar-section:last-child {
    margin-bottom: 0;
}

/* View All Link Styles */
.view-all-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 8px;
    padding: 8px 0;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.view-all-text {
    color: #888;
    font-size: 0.95rem;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s ease;
    text-align: center;
}

.view-all-text:hover {
    color: #666;
    text-decoration: none;
}

.sidebar-section h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding: 1rem 1.2rem;
    background: #2F2D69;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(47, 45, 105, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Visual background for sidebar section headers */
.sidebar-section h3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/visuals/2.png');
    background-size: 30px 30px;
    background-repeat: repeat;
    background-position: center;
    opacity: 0.15;
    z-index: -1;
}


/* Special Categories */
.special-categories {
    list-style: none;
    padding: 0;
    position: relative;
}

.special-categories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background-image: url('../images/visuals/3.png');
    background-size: 25px 25px;
    background-repeat: repeat;
    background-position: center;
    opacity: 0.06;
    z-index: 0;
    border-radius: 4px 4px 0 0;
}

.special-categories li {
    margin-bottom: 0.3rem;
}

.special-categories li a {
    color: #555;
    text-decoration: none;
    font-size: 0.62rem;
    line-height: 1.4;
    display: block;
    padding: 0.3rem 0;
    transition: color 0.3s ease;
    border-right: 3px solid transparent;
    padding-right: 0.5rem;
    position: relative;
    z-index: 1;
}

.special-categories li a:hover {
    color: #1AAB9E;
    border-right-color: #1AAB9E;
}

/* Supporters List */
.supporters-list {
    list-style: none;
    padding: 0;
    position: relative;
}

.supporters-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 25px;
    background-image: url('../images/visuals/4.png');
    background-size: 20px 20px;
    background-repeat: repeat;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
    border-radius: 3px 3px 0 0;
}

.supporters-list li {
    color: #666;
    font-size: 0.58rem;
    line-height: 1.4;
    margin-bottom: 0.25rem;
    padding: 0.15rem 0;
    position: relative;
    z-index: 1;
}

/* Popular Links */
.popular-links {
    list-style: none;
    padding: 0;
    position: relative;
}

.popular-links::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background-image: url('../images/visuals/1.png');
    background-size: 25px 25px;
    background-repeat: repeat;
    background-position: center;
    opacity: 0.06;
    z-index: 0;
    border-radius: 4px 4px 0 0;
}

.popular-links li {
    margin-bottom: 0.8rem;
}

.popular-link {
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.5;
    display: flex;
    align-items: center;
    padding: 1rem 1.2rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.popular-link:hover {
    color: #1AAB9E;
    border-color: #1AAB9E;
    background-color: rgba(26, 171, 158, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.logo-img {
    width: 48px;
    height: 48px;
    margin-left: 1rem;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.popular-link:hover .logo-img {
    transform: scale(1.1);
}

.popular-link span {
    flex: 1;
    font-size: 0.95rem;
}

/* Main Column */
.main-column {
    flex: 1;
    min-width: 350px;
    max-width: 100%;
}


.news-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    padding: 2.5rem;
    padding-top: 3rem;
    margin-top: 0;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.iran-map-section {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    border: 1px solid #e9ecef;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.news-section h2 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding: 1.2rem 1.8rem;
    background: #2F2D69;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(47, 45, 105, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Visual background for news section header */
.news-section h2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/visuals/3.png');
    background-size: 45px 45px;
    background-repeat: repeat;
    background-position: center;
    opacity: 0.2;
    z-index: -1;
}


.news-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    padding-right: 1rem;
}

.news-item-content {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.news-item-image {
    flex: 0 0 100px;
    height: 100px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

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

.news-item-text {
    flex: 1;
    min-width: 0;
}

/* Visual accent for news items */
.news-item::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #1AAB9E, #2F2D69);
    border-radius: 2px;
    opacity: 0.7;
}

.news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.news-item h3 {
    color: #2c3e50;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.9rem;
    line-height: 1.5;
}

.news-item p {
    color: #666;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.read-more {
    color: #1AAB9E;
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #159a8a;
}

/* Today Martyrs Slider */
.today-martyrs-slider {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background: #f8f9fa;
    padding: 0.5rem;
}

.martyrs-slider-container {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.martyrs-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.martyrs-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.martyrs-slide.active {
    display: block;
}

.martyr-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0.4rem;
    height: 100%;
    padding: 0.3rem;
}

.martyr-card {
    background: white;
    border-radius: 6px;
    padding: 0.5rem;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.martyr-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.martyr-image {
    width: 100%;
    height: 60%;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 0.3rem;
    border: 2px solid #1AAB9E;
}

.martyr-name {
    color: #2c3e50;
    font-weight: 200;
    font-size: 0.85rem;
    line-height: 1.4;
    text-align: center;
    height: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Martyrs Slider Navigation */
.martyrs-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 0.2rem;
    z-index: 3;
}

.martyrs-prev-btn, .martyrs-next-btn {
    background: rgba(47, 45, 105, 0.8);
    border: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.54rem;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.martyrs-prev-btn:hover, .martyrs-next-btn:hover {
    background: #2F2D69;
    transform: scale(1.1);
}

/* Martyrs Slider Indicators */
.martyrs-slider-indicators {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 3;
}

.martyrs-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(47, 45, 105, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #2F2D69;
}

.martyrs-indicator.active {
    background: #2F2D69;
    transform: scale(1.2);
}

.martyrs-indicator:hover {
    background: rgba(47, 45, 105, 0.7);
    transform: scale(1.1);
}

/* Featured Martyrs Slider */
.featured-martyrs-slider {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background: #f8f9fa;
    padding: 0.5rem;
}

.featured-slider-container {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.featured-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.featured-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease-in-out;
}

.featured-slide.active {
    display: flex;
    opacity: 1;
    transform: translateX(0);
}

.featured-martyr-card {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 250px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.featured-martyr-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #1AAB9E, #2F2D69);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.featured-martyr-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: #1AAB9E;
}

.featured-martyr-card:hover::before {
    opacity: 1;
}

.featured-martyr-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #1AAB9E;
    margin-bottom: 0.8rem;
    transition: transform 0.3s ease;
}

.featured-martyr-card:hover .featured-martyr-image {
    transform: scale(1.05);
}

.featured-martyr-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.featured-martyr-name {
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 300;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    text-align: center;
}

.featured-view-link {
    color: #1AAB9E;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border: 1px solid #1AAB9E;
    border-radius: 4px;
    background: transparent;
}

.featured-view-link:hover {
    color: white;
    background: #1AAB9E;
    transform: translateY(-1px);
}

/* Featured Slider Navigation */
.featured-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 0.3rem;
    z-index: 3;
    pointer-events: none;
}

.featured-prev-btn, .featured-next-btn {
    background: rgba(47, 45, 105, 0.8);
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    font-size: 0.62rem;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    pointer-events: auto;
}

.featured-prev-btn:hover, .featured-next-btn:hover {
    background: #2F2D69;
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

/* Featured Slider Indicators */
.featured-slider-indicators {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 0.8rem;
    padding: 0.3rem 0;
}

.featured-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(47, 45, 105, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.featured-indicator.active {
    background: #2F2D69;
    transform: scale(1.3);
    border-color: #1AAB9E;
}

.featured-indicator:hover {
    background: rgba(47, 45, 105, 0.6);
    transform: scale(1.2);
}

/* Resistance Martyrs Slider */
.resistance-martyrs-slider {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background: #f8f9fa;
    padding: 0.5rem;
}

.resistance-slider-container {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.resistance-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.resistance-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease-in-out;
}

.resistance-slide.active {
    display: flex;
    opacity: 1;
    transform: translateX(0);
}

.resistance-martyr-card {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 250px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.resistance-martyr-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #1AAB9E, #2F2D69);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.resistance-martyr-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: #1AAB9E;
}

.resistance-martyr-card:hover::before {
    opacity: 1;
}

.resistance-martyr-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #1AAB9E;
    margin-bottom: 0.8rem;
    transition: transform 0.3s ease;
}

.resistance-martyr-card:hover .resistance-martyr-image {
    transform: scale(1.05);
}

.resistance-martyr-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.resistance-martyr-name {
    color: #2c3e50;
    font-size: 0.68rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
    text-align: center;
}

.resistance-view-link {
    color: #1AAB9E;
    text-decoration: none;
    font-size: 0.54rem;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.3rem 0.8rem;
    border: 1px solid #1AAB9E;
    border-radius: 4px;
    background: transparent;
}

.resistance-view-link:hover {
    color: white;
    background: #1AAB9E;
    transform: translateY(-1px);
}

/* Resistance Slider Navigation */
.resistance-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 0.3rem;
    z-index: 3;
    pointer-events: none;
}

.resistance-prev-btn, .resistance-next-btn {
    background: rgba(47, 45, 105, 0.8);
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    font-size: 0.62rem;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    pointer-events: auto;
}

.resistance-prev-btn:hover, .resistance-next-btn:hover {
    background: #2F2D69;
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

/* Resistance Slider Indicators */
.resistance-slider-indicators {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 0.8rem;
    padding: 0.3rem 0;
}

.resistance-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(47, 45, 105, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.resistance-indicator.active {
    background: #2F2D69;
    transform: scale(1.3);
    border-color: #1AAB9E;
}

.resistance-indicator:hover {
    background: rgba(47, 45, 105, 0.6);
    transform: scale(1.2);
}

/* Commanders Slider */
.commanders-slider {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

.commanders-slider-container {
    position: relative;
    width: 100%;
}

.commanders-slider-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.commanders-slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.commanders-slide.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.commander-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
}

.commander-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #1AAB9E, #2F2D69);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.commander-card:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #1AAB9E;
}

.commander-card:hover::before {
    opacity: 1;
}

.commander-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #1AAB9E;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

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

.commander-info {
    flex: 1;
    min-width: 0;
}

.commander-name {
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 300;
    margin: 0 0 0.2rem 0;
    line-height: 1.4;
}

.commander-title {
    color: #666;
    font-size: 0.85rem;
    margin: 0;
    font-weight: 200;
}

/* Commanders Slider Navigation */
.commanders-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 0.5rem;
    z-index: 3;
    pointer-events: none;
}

.commanders-prev-btn, .commanders-next-btn {
    background: rgba(47, 45, 105, 0.8);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 0.68rem;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    pointer-events: auto;
}

.commanders-prev-btn:hover, .commanders-next-btn:hover {
    background: #2F2D69;
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

/* Commanders Slider Indicators */
.commanders-slider-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
    padding: 0.5rem 0;
}

.commanders-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(47, 45, 105, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.commanders-indicator.active {
    background: #2F2D69;
    transform: scale(1.3);
    border-color: #1AAB9E;
}

.commanders-indicator:hover {
    background: rgba(47, 45, 105, 0.6);
    transform: scale(1.2);
}

/* Non-Iranian Martyrs Slider */
.non-iranian-martyrs-slider {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

.non-iranian-slider-container {
    position: relative;
    width: 100%;
}

.non-iranian-slider-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.non-iranian-slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.non-iranian-slide.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.martyr-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
}

.martyr-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #2F2D69, #1AAB9E);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.martyr-card:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #2F2D69;
}

.martyr-card:hover::before {
    opacity: 1;
}

.martyr-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #2F2D69;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

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

.martyr-info {
    flex: 1;
    min-width: 0;
}

.martyr-name {
    color: #2c3e50;
    font-size: 0.95rem;
    font-weight: 200;
    margin: 0 0 0.2rem 0;
    line-height: 1.4;
}

.martyr-title {
    color: #7f8c8d;
    font-size: 0.8rem;
    margin: 0 0 0.1rem 0;
    font-weight: 200;
}

.martyr-country {
    color: #2F2D69;
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

/* Non-Iranian Martyrs Slider Navigation */
.non-iranian-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 0.5rem;
    z-index: 3;
    pointer-events: none;
}

.non-iranian-martyrs-prev-btn, .non-iranian-martyrs-next-btn {
    background: rgba(47, 45, 105, 0.8);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: white;
    font-size: 0.68rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.non-iranian-martyrs-prev-btn:hover, .non-iranian-martyrs-next-btn:hover {
    background: rgba(26, 171, 158, 0.9);
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

/* Non-Iranian Martyrs Slider Indicators */
.non-iranian-slider-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
    padding: 0.5rem 0;
}

.non-iranian-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(47, 45, 105, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.non-iranian-indicator.active {
    background: #2F2D69;
    border-color: #1AAB9E;
    transform: scale(1.2);
}

/* Non-Iranian Martyr Cards */
.non-iranian-martyr-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.non-iranian-martyr-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 171, 158, 0.1), rgba(47, 45, 105, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.non-iranian-martyr-card:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #1AAB9E;
}

.non-iranian-martyr-card:hover::before {
    opacity: 1;
}

.non-iranian-martyr-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #1AAB9E;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.non-iranian-martyr-card:hover .non-iranian-martyr-image {
    transform: scale(1.05);
}

.non-iranian-martyr-info {
    flex: 1;
    min-width: 0;
}

.non-iranian-martyr-name {
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 300;
    margin: 0 0 0.2rem 0;
    line-height: 1.4;
}

.non-iranian-martyr-title {
    color: #6c757d;
    font-size: 0.85rem;
    margin: 0;
    font-weight: 200;
}

/* Iran Map Section */
.iran-map-section {
    margin-top: -1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.iran-map-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background-image: url('../images/visuals/2.png');
    background-size: 35px 35px;
    background-repeat: repeat;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
}

.iran-map-section h2 {
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    padding: 1.2rem 1.8rem;
    background: #2F2D69;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(47, 45, 105, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.iran-map-section h2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/visuals/3.png');
    background-size: 45px 45px;
    background-repeat: repeat;
    background-position: center;
    opacity: 0.2;
    z-index: -1;
}

.iran-map {
    width: 100%;
    height: 680px;
    background: transparent;
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
    z-index: 1;
}

.iran-map svg {
    width: 100%;
    height: 680px;
    cursor: pointer;
}

.iran-map svg path {
    fill: #D3D3D3;
    stroke: #9B9B9B;
    stroke-width: 1;
    transition: all 0.3s ease;
    cursor: pointer;
}

.iran-map svg path:hover {
    fill: #4A90E2;
    stroke: #2E5BBA;
    stroke-width: 2;
}

.iran-map svg path.selected {
    fill: #4A90E2;
    stroke: #2E5BBA;
    stroke-width: 2;
}

.iran-map svg path.sea,
.iran-map svg #seas path {
    fill: #4A90E2 !important;
    stroke: #2E5BBA !important;
    stroke-width: 1;
    cursor: default !important;
}

.iran-map svg path.border {
    fill: none;
    stroke: #333;
    stroke-width: 2;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.map-info {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.map-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background-image: url('../images/visuals/4.png');
    background-size: 30px 30px;
    background-repeat: repeat;
    background-position: center;
    opacity: 0.08;
    z-index: 0;
    border-radius: 6px 6px 0 0;
}

.selected-province-info {
    position: relative;
    z-index: 1;
}

.selected-province-info h3 {
    color: #2F2D69;
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-align: center;
    padding: 1rem 1.2rem;
    background: #2F2D69;
    color: white;
    border-radius: 6px;
}

.selected-province-info p {
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 1rem;
}

.province-stats {
    background: white;
    border-radius: 6px;
    padding: 1rem;
    border: 1px solid #e9ecef;
    margin-top: 1rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    color: #555;
    font-weight: 500;
}

.stat-value {
    color: #1AAB9E;
    font-weight: 800;
    font-size: 1rem;
}

/* Responsive design for map */
@media (max-width: 768px) {
    .iran-map {
        height: 400px;
    }
    
    .iran-map-section {
        padding: 1.5rem;
    }
    
    .iran-map-section h2 {
        font-size: 0.41rem;
        padding: 0.8rem 1rem;
    }
}

@media (max-width: 480px) {
    .iran-map {
        height: 350px;
    }
    
    .iran-map-section {
        padding: 1rem;
    }
}

/* Footer */
.footer {
    background: #2F2D69;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #ecf0f1;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #FBB547;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Section Pattern Decorations */
.section-pattern {
    position: relative;
    overflow: hidden;
}

.section-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-image: url('../images/visuals/1.png');
    background-size: 40px 40px;
    background-repeat: repeat;
    background-position: center;
    opacity: 0.04;
    z-index: 0;
    border-radius: 8px 8px 0 0;
}

.section-pattern-alt::before {
    background-image: url('../images/visuals/2.png');
    background-size: 35px 35px;
    opacity: 0.05;
}

.section-pattern-news::before {
    background-image: url('../images/visuals/3.png');
    background-size: 45px 45px;
    opacity: 0.06;
}

.section-pattern-map::before {
    background-image: url('../images/visuals/4.png');
    background-size: 38px 38px;
    opacity: 0.05;
}

.section-pattern-sidebar::before {
    background-image: url('../images/visuals/5.png');
    background-size: 32px 32px;
    opacity: 0.04;
}

/* Advanced Search Form Styles */
/* Hide page-header on advanced search page */
body:has(.advanced-search-form-container) .page-header {
    display: none !important;
}

.page-header {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-image: url('../images/visuals/1.png');
    background-size: 40px 40px;
    background-repeat: repeat;
    background-position: center;
    opacity: 0.03;
    z-index: 0;
}

.page-title-section {
    position: relative;
    z-index: 1;
}

.page-title {
    color: #d32f2f;
    font-size: 0.51rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    text-align: center;
}

.page-subtitle {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    color: #666;
    font-size: 0.38rem;
    font-weight: 300;
}

.search-icon {
    font-size: 0.82rem;
}

.more-details-link {
    position: relative;
    z-index: 1;
}

.more-details-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.51rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background: rgba(255,255,255,0.8);
    border: 1px solid #e9ecef;
}

.more-details-btn:hover {
    color: #d32f2f;
    background: rgba(211, 47, 47, 0.1);
    border-color: #d32f2f;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(211, 47, 47, 0.2);
}

.details-icon {
    color: #d32f2f;
    font-size: 0.82rem;
}

.advanced-search-form-container {
    background: white;
    border-radius: 3px;
    padding: 0.2rem;
    margin-bottom: 0.2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.advanced-search-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background-image: url('../images/visuals/2.png');
    background-size: 35px 35px;
    background-repeat: repeat;
    background-position: center;
    opacity: 0.04;
    z-index: 0;
}

.advanced-search-form {
    position: relative;
    z-index: 1;
}

.form-section {
    margin-bottom: 0.15rem;
    padding-bottom: 0.15rem;
    border-bottom: 1px solid #e9ecef;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section-title {
    color: #2F2D69;
    font-size: 0.41rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
    padding: 0.15rem 0.3rem;
    background: linear-gradient(135deg, #2F2D69, #1AAB9E);
    color: white;
    border-radius: 2px;
    text-align: center;
    box-shadow: 0 1px 2px rgba(47, 45, 105, 0.1);
    position: relative;
    overflow: hidden;
}

.form-section-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/visuals/3.png');
    background-size: 30px 30px;
    background-repeat: repeat;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.2rem;
    margin-top: 0.15rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #2c3e50;
    font-weight: 700;
    font-size: 0.38rem;
    margin-bottom: 0.08rem;
    padding-right: 0.05rem;
}

.form-group input,
.form-group select {
    padding: 0.2rem 0.3rem;
    border: 1px solid #e9ecef;
    border-radius: 2px;
    font-size: 0.38rem;
    font-weight: 500;
    font-family: 'Farhang', sans-serif;
    transition: all 0.3s ease;
    background: white;
    color: #2c3e50;
    line-height: 1.2;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #1AAB9E;
    box-shadow: 0 0 0 3px rgba(26, 171, 158, 0.1);
    transform: translateY(-1px);
}

.form-group input::placeholder {
    color: #adb5bd;
    font-style: italic;
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left 1rem center;
    background-size: 1rem;
    padding-left: 3rem;
}

.form-submit-section {
    text-align: center;
    margin-top: 0.2rem;
    padding-top: 0.15rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 0.3rem;
    justify-content: center;
}

.search-submit-btn {
    background: linear-gradient(135deg, #1976d2, #1565c0);
    color: white;
    border: none;
    padding: 0.2rem 0.6rem;
    border-radius: 2px;
    font-size: 0.41rem;
    font-weight: 700;
    font-family: 'Farhang', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(25, 118, 210, 0.1);
    position: relative;
    overflow: hidden;
    line-height: 1.2;
}

.search-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.search-submit-btn:hover {
    background: linear-gradient(135deg, #1565c0, #0d47a1);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(25, 118, 210, 0.4);
}

.search-submit-btn:hover::before {
    left: 100%;
}

.search-submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.3);
}

.page-footer {
    text-align: right;
    margin-top: 2rem;
    padding: 1rem 0;
}

.page-indicator {
    color: #28a745;
    font-weight: 600;
    font-size: 0.68rem;
    background: rgba(40, 167, 69, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

/* Advanced Search Form Responsive Design */
@media (max-width: 1024px) {
    .page-header {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding: 1.5rem;
    }
    
    .page-title {
        font-size: 1.22rem;
    }
    
    .advanced-search-form-container {
        padding: 2rem;
    }
    
    .form-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.2rem;
    }
    
    .form-section-title {
        font-size: 0.82rem;
        padding: 0.8rem 1.2rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 1.2rem;
    }
    
    .page-title {
        font-size: 1.09rem;
    }
    
    .page-subtitle {
        justify-content: center;
        font-size: 0.68rem;
    }
    
    .advanced-search-form-container {
        padding: 1.5rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-section {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .form-section-title {
        font-size: 0.75rem;
        padding: 0.7rem 1rem;
    }
    
    .form-group input,
    .form-group select {
        padding: 0.7rem 0.9rem;
        font-size: 0.65rem;
    }
    
    .search-submit-btn {
        padding: 0.9rem 2rem;
        font-size: 0.68rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 1rem;
    }
    
    .page-title {
        font-size: 0.95rem;
    }
    
    .page-subtitle {
        font-size: 0.62rem;
    }
    
    .more-details-btn {
        font-size: 0.62rem;
        padding: 0.4rem 0.8rem;
    }
    
    .advanced-search-form-container {
        padding: 1.2rem;
    }
    
    .form-section-title {
        font-size: 0.68rem;
        padding: 0.6rem 0.8rem;
    }
    
    .form-group label {
        font-size: 0.62rem;
    }
    
    .form-group input,
    .form-group select {
        padding: 0.6rem 0.8rem;
        font-size: 0.62rem;
    }
    
    .search-submit-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.65rem;
        width: 100%;
    }
    
    .page-indicator {
        font-size: 0.62rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Advanced Search Form Additional Styles */
.form-group input.error,
.form-group select.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-group input.success,
.form-group select.success {
    border-color: #27ae60;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

.form-group input.focused,
.form-group select.focused {
    border-color: #1AAB9E;
    box-shadow: 0 0 0 3px rgba(26, 171, 158, 0.15);
}

.field-error {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.char-counter {
    transition: color 0.3s ease;
}

.clear-form-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(108, 117, 125, 0.3);
}

.clear-form-btn:active {
    transform: translateY(0);
}

.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-left: 0.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Form section animations */
.form-section {
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered animation for form groups */
.form-group {
    animation: fadeInUp 0.6s ease;
    animation-fill-mode: both;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }
.form-group:nth-child(5) { animation-delay: 0.5s; }
.form-group:nth-child(6) { animation-delay: 0.6s; }
.form-group:nth-child(7) { animation-delay: 0.7s; }

/* Enhanced select styling */
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-repeat: no-repeat;
    background-position: left 1rem center;
    background-size: 1rem;
    padding-left: 3rem;
}

.form-group select:focus {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231AAB9E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
}

/* Enhanced button styling */
.search-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.search-submit-btn:disabled:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

/* Enhanced input styling */
.form-group input[type="number"]::-webkit-outer-spin-button,
.form-group input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.form-group input[type="number"] {
    -moz-appearance: textfield;
}

/* About Us and Contact Page Styles */
.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.left-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.right-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background-image: url('../images/visuals/1.png');
    background-size: 40px 40px;
    background-repeat: repeat;
    background-position: center;
    opacity: 0.04;
    z-index: 0;
}

.about-content {
    position: relative;
    z-index: 1;
}

.about-text h2 {
    color: #2F2D69;
    font-size: 0.88rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-align: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #2F2D69, #1AAB9E);
    color: white;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(47, 45, 105, 0.3);
}

.about-text h3 {
    color: #2F2D69;
    font-size: 0.75rem;
    font-weight: 700;
    margin: 2rem 0 1rem 0;
    padding: 0.8rem 1rem;
    background: #f8f9fa;
    border-right: 4px solid #1AAB9E;
    border-radius: 6px;
}

.about-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 0.59rem;
    font-weight: 300;
}

.goals-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.goals-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
    font-size: 0.75rem;
}

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

.goals-list li i {
    color: #1AAB9E;
    font-size: 0.82rem;
    width: 20px;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #1AAB9E, #2F2D69);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: #1AAB9E;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card i {
    font-size: 1.22rem;
    color: #1AAB9E;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h4 {
    color: #2F2D69;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 0.65rem;
}

/* Contact Section */
.contact-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background-image: url('../images/visuals/2.png');
    background-size: 35px 35px;
    background-repeat: repeat;
    background-position: center;
    opacity: 0.04;
    z-index: 0;
}

.contact-section h2 {
    color: #2F2D69;
    font-size: 0.88rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-align: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #2F2D69, #1AAB9E);
    color: white;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(47, 45, 105, 0.3);
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.contact-info-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #1AAB9E, #2F2D69);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: #1AAB9E;
}

.contact-info-card:hover::before {
    opacity: 1;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1AAB9E, #2F2D69);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: transform 0.3s ease;
}

.contact-info-card:hover .contact-icon {
    transform: scale(1.1);
}

.contact-icon i {
    font-size: 1.02rem;
    color: white;
}

.contact-info-card h3 {
    color: #2F2D69;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-info-card p {
    color: #555;
    margin: 0.5rem 0;
    font-size: 0.68rem;
}

.social-media-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.social-media-section h3 {
    color: #2F2D69;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-link.telegram {
    background: #0088cc;
    color: white;
}

.social-link.instagram {
    background: #e4405f;
    color: white;
}

.social-link.twitter {
    background: #1da1f2;
    color: white;
}

.social-link.linkedin {
    background: #0077b5;
    color: white;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Map Section */
.map-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.map-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background-image: url('../images/visuals/3.png');
    background-size: 45px 45px;
    background-repeat: repeat;
    background-position: center;
    opacity: 0.04;
    z-index: 0;
}

.map-section h2 {
    color: #2F2D69;
    font-size: 0.88rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-align: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #2F2D69, #1AAB9E);
    color: white;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(47, 45, 105, 0.3);
    position: relative;
    z-index: 1;
}

.map-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.contact-map {
    height: 400px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.map-placeholder {
    text-align: center;
    color: #666;
}

.map-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #666;
    text-align: center;
}

.map-loading i {
    font-size: 1.36rem;
    color: #1AAB9E;
    margin-bottom: 1rem;
    animation: spin 1s linear infinite;
}

.map-loading p {
    margin: 0;
    font-size: 0.68rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.map-info {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e9ecef;
}

.map-info h3 {
    color: #2F2D69;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.access-list {
    list-style: none;
    padding: 0;
}

.access-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid #e0e0e0;
    color: #555;
    font-size: 0.68rem;
}

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

.access-list li i {
    color: #1AAB9E;
    font-size: 0.82rem;
    width: 20px;
    text-align: center;
}


/* FAQ Section */
.faq-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background-image: url('../images/visuals/5.png');
    background-size: 32px 32px;
    background-repeat: repeat;
    background-position: center;
    opacity: 0.04;
    z-index: 0;
}

.faq-section h2 {
    color: #2F2D69;
    font-size: 0.88rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-align: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #2F2D69, #1AAB9E);
    color: white;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(47, 45, 105, 0.3);
    position: relative;
    z-index: 1;
}

.faq-list {
    position: relative;
    z-index: 1;
}

.faq-item {
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid #e9ecef;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
    background: white;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    color: #2F2D69;
    font-size: 0.75rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
    padding-left: 1rem;
}

.faq-question i {
    color: #1AAB9E;
    font-size: 0.82rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.faq-item.active .faq-answer {
    padding: 1rem;
    max-height: 200px;
}

.faq-answer p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design for About Us Page */
@media (max-width: 1024px) {
    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .left-column,
    .right-column {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .about-section,
    .contact-section,
    .map-section,
    .faq-section {
        padding: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .map-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-map {
        height: 300px;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .social-link {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .about-section,
    .contact-section,
    .map-section,
    .faq-section {
        padding: 1rem;
    }
    
    .about-text h2,
    .contact-section h2,
    .map-section h2,
    .faq-section h2 {
        font-size: 1.02rem;
        padding: 0.8rem 1rem;
    }
    
    .contact-map {
        height: 250px;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-question h3 {
        font-size: 0.68rem;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .three-column-layout {
        gap: 0.8rem;
    }
    
    .two-column-layout {
        gap: 1.2rem;
    }
    
    .two-column-layout .sidebar {
        flex: 0 0 220px;
        min-width: 180px;
    }
    
    .sidebar {
        flex: 0 0 220px;
        min-width: 180px;
    }
    
    .sidebar-section {
        padding: 1rem;
    }
    
    .sidebar-section h3 {
        font-size: 0.75rem;
    }
    
    .special-categories li a {
        font-size: 0.58rem;
    }
    
    .supporters-list li {
        font-size: 0.54rem;
    }
    
    .popular-link {
        font-size: 0.68rem;
        padding: 0.6rem 0.8rem;
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
        margin-left: 0.8rem;
    }
    
    .popular-link span {
        font-size: 0.68rem;
    }
}

@media (max-width: 768px) {
    .main-layout-container {
        flex-direction: column;
        gap: 1.2rem;
    }
    
    .three-column-layout {
        flex-direction: column;
        gap: 1rem;
        flex: none;
    }
    
    .news-section {
        flex: 1;
        min-width: auto;
        order: -1;
    }
    
    .top-header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .header-logo {
        justify-content: center;
    }

    .header-search {
        width: 100%;
        max-width: none;
        margin-left: 0;
    }

    .search-form {
        align-items: center;
    }

    .search-input-group {
        width: 100%;
        max-width: 400px;
    }

    .advanced-search-btn {
        align-self: center;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: #2F2D69;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 2px 8px rgba(0,0,0,0.03);
        padding: 2rem 0;
        gap: 1rem;
    }
    
    .nav-actions {
        margin-top: 1rem;
    }
    
    .membership-btn {
        padding: 0.6rem 1rem;
        font-size: 0.58rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 0.5rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .slider-container {
        height: 400px;
    }
    
    .slide-content h1 {
        font-size: 0.51rem;
    }
    
    .slide-content p {
        font-size: 0.34rem;
    }
    
    .slide-content {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .prev-btn, .next-btn {
        width: 40px;
        height: 40px;
        font-size: 0.82rem;
    }

    .three-column-layout {
        flex-direction: column;
        gap: 1rem;
    }
    
    .two-column-layout {
        flex-direction: column;
        gap: 1.2rem;
    }
    
    .two-column-layout .sidebar {
        flex: 1;
        min-width: auto;
    }
    
    .two-column-layout .main-news-content {
        order: -1;
    }
    
    .sidebar {
        flex: 1;
        min-width: auto;
    }
    
    .main-column {
        order: -1 !important;
    }
    
    .sidebar {
        order: 0;
    }
    
    .sidebar-right {
        order: 1;
    }
    
    .news-item-content {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .news-item-image {
        flex: none;
        width: 100%;
        height: 150px;
    }
    
    /* Martyrs Slider Responsive */
    .martyrs-slider-container {
        height: 240px;
    }
    
    .martyr-grid {
        gap: 0.2rem;
        padding: 0.1rem;
    }
    
    .martyr-card {
        padding: 0.2rem;
    }
    
    .martyr-name {
        font-size: 0.3rem;
    }
    
    .martyrs-prev-btn, .martyrs-next-btn {
        width: 18px;
        height: 18px;
        font-size: 0.47rem;
    }
    
    .martyrs-indicator {
        width: 6px;
        height: 6px;
    }
    
    .featured-slider-container {
        height: 160px;
    }
    
    .featured-martyr-card {
        max-width: 200px;
        padding: 0.8rem;
    }
    
    .featured-martyr-image {
        width: 60px;
        height: 60px;
    }
    
    .featured-martyr-name {
        font-size: 0.62rem;
    }
    
    .featured-view-link {
        font-size: 0.51rem;
        padding: 0.25rem 0.6rem;
    }
    
    /* Resistance Slider Responsive */
    .resistance-slider-container {
        height: 160px;
    }
    
    .resistance-martyr-card {
        max-width: 200px;
        padding: 0.8rem;
    }
    
    .resistance-martyr-image {
        width: 60px;
        height: 60px;
    }
    
    .resistance-martyr-name {
        font-size: 0.62rem;
    }
    
    .resistance-view-link {
        font-size: 0.51rem;
        padding: 0.25rem 0.6rem;
    }
}

@media (max-width: 480px) {
    .news-section {
        order: -1;
    }
    
    .top-header {
        padding: 1rem 0;
    }

    .logo-img {
        width: 40px;
        height: 40px;
    }

    .logo-text {
        font-size: 0.44rem;
    }

    .search-input {
        font-size: 0.58rem;
        padding: 0.5rem 0.7rem;
    }

    .search-btn {
        padding: 0.5rem 0.7rem;
    }

    .advanced-search-btn {
        font-size: 0.51rem;
        padding: 0.35rem 0.7rem;
    }
    
    /* Martyrs Slider Extra Small Screens */
    .martyrs-slider-container {
        height: 200px;
    }
    
    .martyr-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 0.2rem;
        padding: 0.15rem;
    }
    
    .martyr-card {
        padding: 0.15rem;
    }
    
    .martyr-image {
        height: 50%;
    }
    
    .martyr-name {
        font-size: 0.27rem;
        height: 50%;
    }
    
    .martyrs-prev-btn, .martyrs-next-btn {
        width: 16px;
        height: 16px;
        font-size: 0.41rem;
    }
    
    .martyrs-indicator {
        width: 5px;
        height: 5px;
    }
}
