/* Global Styles */
:root {
    --primary-color: #2c5530;
    --secondary-color: #d4af37;
    --dark-color: #1a1a1a;
    --light-color: #f5f5f5;
    --text-color: #333;
    --border-color: #ddd;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    
    /* Baluch Flag Colors */
    --baluch-blue: #0066CC;
    --baluch-red: #DC143C;
    --baluch-green: #228B22;
    --baluch-white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

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

a:hover {
    color: var(--secondary-color);
}

/* Header Styles */
.site-header {
    /* Baluch flag inspired gradient background */
    background: linear-gradient(135deg, 
        var(--baluch-blue) 0%, 
        var(--baluch-blue) 33%, 
        var(--baluch-red) 33%, 
        var(--baluch-red) 66%, 
        var(--baluch-green) 66%, 
        var(--baluch-green) 100%);
    color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    position: relative;
    /* Remove overflow hidden on mobile to allow dropdown */
}

/* Allow dropdown on mobile */
@media (max-width: 768px) {
    .site-header {
        overflow: visible;
    }
}

/* Add subtle star element representing the Baluch flag star */
.site-header::before {
    content: '★';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--baluch-white);
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

.navbar {
    padding: 1rem 0;
    position: relative;
    z-index: 2;
}

/* Mobile navbar container positioning */
@media (max-width: 768px) {
    .navbar .container {
        position: relative;
    }
    
    .navbar {
        position: relative;
        overflow: visible;
    }
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h1 {
    color: var(--baluch-white);
    font-size: 1.5rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: bold;
}

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

.nav-menu a {
    color: white;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: var(--transition);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    border: 1px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(255, 255, 255, 0.2);
    color: var(--baluch-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: var(--transition);
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    border-radius: 2px;
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--dark-color);
}

.btn-primary:hover {
    background: #b8941f;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--dark-color);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Section Styles */
section {
    padding: 4rem 0;
}

.about-section {
    background: white;
}

.about-section p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Features Section */
.features {
    background: var(--light-color);
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Martyrs Grid */
.recent-martyrs {
    background: white;
}

.recent-martyrs h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.martyrs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.martyr-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.martyr-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.martyr-card.placeholder {
    padding: 2rem;
    text-align: center;
    background: var(--light-color);
}

.martyr-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #ddd, #aaa);
    object-fit: cover;
}

.martyr-info {
    padding: 1.5rem;
}

.martyr-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.martyr-info p {
    color: #666;
    margin-bottom: 1rem;
}

/* CTA Section */
.cta {
    background: var(--primary-color);
    color: white;
    text-align: center;
}

.cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Form Styles */
.add-martyr-section {
    background: white;
    padding: 2rem 0;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.martyr-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

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

.form-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 85, 48, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* File Upload Styles */
.file-upload-wrapper {
    position: relative;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    border: 2px dashed var(--border-color);
    border-radius: 4px;
    background: var(--light-color);
}

.file-upload-text {
    color: #666;
}

.photo-preview {
    margin-top: 1rem;
    max-width: 300px;
}

.photo-preview img {
    width: 100%;
    border-radius: 4px;
    box-shadow: var(--shadow);
}

/* Image compression feedback */
.compression-info {
    font-size: 12px;
    color: #28a745;
    margin: 5px 0;
    text-align: center;
    padding: 5px;
    background-color: #f8f9fa;
    border-radius: 4px;
    border-left: 3px solid #28a745;
}

.compression-progress {
    font-size: 14px;
    color: #6c757d;
    text-align: center;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 4px;
    margin: 10px 0;
}

.photos-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.photos-preview-grid img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: var(--shadow);
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 3rem;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    color: #155724;
}

.success-message h3 {
    color: #155724;
    margin-bottom: 1rem;
}

/* Gallery Page */
.gallery-section {
    padding: 2rem 0;
}

.filter-bar {
    background: white;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* Search Controls */
.search-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.search-input-group {
    position: relative;
    flex: 1;
}

.search-input-group input {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    transition: var(--transition);
}

.search-input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 85, 48, 0.1);
}

#clearSearch {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

#clearSearch:hover {
    background: #f0f0f0;
    color: #666;
}

/* Advanced Search Panel */
.advanced-search-panel {
    background: #f8f9fa;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.search-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.search-field {
    display: flex;
    flex-direction: column;
}

.search-field label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.search-field input {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    transition: var(--transition);
}

.search-field input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(44, 85, 48, 0.1);
}

.search-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

/* Search Results Info */
.search-results-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #e8f4e8;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    border: 1px solid #c3e6cb;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.search-results-info span {
    font-weight: 600;
    color: var(--primary-color);
}

.clear-filters-btn {
    background: none;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.clear-filters-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* Highlighted search results */
.highlight {
    background-color: #fff3cd;
    font-weight: bold;
    padding: 0 2px;
    border-radius: 2px;
}

.filter-bar input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Footer Styles */
.site-footer {
    /* Baluch flag inspired footer background */
    background: linear-gradient(135deg, 
        var(--baluch-green) 0%, 
        var(--baluch-green) 33%, 
        var(--baluch-red) 33%, 
        var(--baluch-red) 66%, 
        var(--baluch-blue) 66%, 
        var(--baluch-blue) 100%);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

/* Add subtle star pattern to footer */
.site-footer::before {
    content: '★ ★ ★';
    position: absolute;
    right: 20px;
    bottom: 20px;
    font-size: 1.2rem;
    color: var(--baluch-white);
    opacity: 0.2;
    z-index: 1;
    pointer-events: none;
}

.site-footer .container {
    position: relative;
    z-index: 2;
}

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

.footer-section h3 {
    color: var(--baluch-white);
    margin-bottom: 1rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

.footer-section a {
    color: var(--baluch-white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--baluch-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    transform: translateX(3px);
}

.footer-section p {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--baluch-white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.footer-bottom p {
    margin: 0.5rem 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Anniversary Slider Styles */
.anniversaries {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.anniversaries::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(212, 175, 55, 0.1) 50%, transparent 70%);
    animation: shimmer 6s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.anniversaries h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.slider-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: white;
    z-index: 1;
}

.slider {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide {
    min-width: 100%;
    flex-shrink: 0;
    display: none;
}

.slide.active {
    display: block;
}

.anniversary-card {
    margin: 0;
    height: auto;
    background: white;
    display: flex;
    align-items: center;
    padding: 2.5rem;
    min-height: 300px;
}

.anniversary-card .martyr-image {
    width: 220px;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    margin-right: 2.5rem;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: var(--transition);
}

.anniversary-card:hover .martyr-image {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

.anniversary-card .martyr-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.anniversary-card .martyr-info {
    flex: 1;
    padding: 0;
}

.anniversary-card .martyr-info h3 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
    font-weight: 700;
}

.anniversary-card .martyr-dates {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.anniversary-card .martyr-location {
    font-size: 1.1rem;
    color: #777;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.anniversary-card .martyr-location::before {
    content: '📍';
    margin-right: 0.5rem;
    font-size: 1rem;
}

.anniversary-date {
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border-radius: 25px;
    display: inline-block;
    border: 2px solid var(--secondary-color);
}

.martyr-bio {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.anniversary-card .btn-small {
    background: linear-gradient(135deg, var(--primary-color), #4a7c59);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44, 85, 48, 0.3);
}

.anniversary-card .btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 85, 48, 0.4);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(44, 85, 48, 0.9);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    z-index: 3;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.slider-btn:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.slider-prev {
    left: 15px;
}

.slider-next {
    right: 15px;
}

.slider-dots {
    text-align: center;
    margin-top: 1.5rem;
    padding: 1rem;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    margin: 0 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.dot:hover {
    background: #999;
    transform: scale(1.2);
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
    box-shadow: 0 4px 10px rgba(44, 85, 48, 0.3);
}

.no-anniversaries {
    text-align: center;
    padding: 4rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Confirmation Page Styles */
.confirmation-page {
    padding: 4rem 0;
    background: var(--light-color);
    min-height: 60vh;
}

.confirmation-card {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 3rem;
    text-align: center;
}

.confirmation-icon {
    margin-bottom: 2rem;
}

.checkmark {
    display: inline-block;
    width: 80px;
    height: 80px;
    background: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.checkmark svg {
    stroke: white;
    stroke-width: 3;
    width: 40px;
    height: 40px;
}

.confirmation-content h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.confirmation-content h2 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.verification-info {
    text-align: left;
    margin: 2rem 0;
    background: var(--light-color);
    padding: 2rem;
    border-radius: 8px;
}

.verification-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.verification-info ul {
    list-style: none;
    padding: 0;
}

.verification-info li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    background: var(--primary-color);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.timeline-info {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    color: #856404;
}

.confirmation-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

.contact-info {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.submission-id {
    font-family: monospace;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
    border-left: 4px solid var(--primary-color);
}

.reference-number {
    font-weight: bold;
    color: var(--primary-color);
}

.submitted-martyr-info {
    background: #e8f5e8;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: left;
}

.status-pending {
    color: #856404;
    background: #fff3cd;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.info-card {
    max-width: 800px;
    margin: 2rem auto 0;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 2rem;
}

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

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

.info-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.info-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Error States */
.field-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* Responsive Design - Mobile Menu */
@media (max-width: 768px) {
    .hamburger {
        display: flex !important;
    }
    
    /* Hide desktop nav menu */
    .nav-menu {
        display: none !important;
    }
    
    /* Mobile dropdown menu */
    .nav-menu.active {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: linear-gradient(135deg, 
            var(--baluch-blue) 0%, 
            var(--baluch-blue) 33%, 
            var(--baluch-red) 33%, 
            var(--baluch-red) 66%, 
            var(--baluch-green) 66%, 
            var(--baluch-green) 100%) !important;
        flex-direction: column !important;
        padding: 1rem !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8) !important;
        border-radius: 0 0 12px 12px !important;
        z-index: 9999 !important;
        min-height: 250px !important;
        max-width: 100vw !important;
        margin: 0 !important;
        animation: slideDown 0.3s ease-out;
        transform: translateY(0) !important;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-menu li {
        width: 100%;
        margin: 0;
    }
    
    .nav-menu.active a {
        display: block !important;
        width: 100% !important;
        padding: 1rem 1.5rem !important;
        margin: 0.25rem 0 !important;
        border-radius: 8px !important;
        transition: all 0.3s ease !important;
        text-align: center !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        color: white !important;
        text-decoration: none !important;
        font-weight: 600 !important;
        background: rgba(255, 255, 255, 0.2) !important;
        font-size: 1rem !important;
        line-height: 1.5 !important;
        box-sizing: border-box !important;
    }
    
    .nav-menu.active a:hover,
    .nav-menu.active a.active {
        background: rgba(255, 255, 255, 0.4) !important;
        transform: translateX(5px) !important;
        border-color: rgba(255, 255, 255, 0.5) !important;
        color: white !important;
    }
    
    /* Adjust star position for mobile */
    .site-header::before {
        display: none; /* Hide star on very small screens to save space */
    }
    
    .nav-brand h1 {
        font-size: 1.2rem;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }
    
    /* Slider responsive */
    .slider .martyr-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .slider .martyr-image {
        width: 150px;
        height: 150px;
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .slider-container {
        margin: 0 1rem;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    /* Confirmation page responsive */
    .confirmation-actions {
        flex-direction: column;
    }
    
    .confirmation-actions .btn {
        width: 100%;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    /* Search responsive */
    .search-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .search-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .search-actions {
        justify-content: stretch;
        flex-direction: column;
    }
    
    .search-actions .btn-small {
        width: 100%;
    }
    
    .search-results-info {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        text-align: center;
    }
    
    /* Anniversary slider responsive */
    .anniversary-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
        min-height: auto;
    }
    
    .anniversary-card .martyr-image {
        width: 200px;
        height: 200px;
        margin-right: 0;
        margin-bottom: 1.5rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    .anniversary-card .martyr-info h3 {
        font-size: 1.5rem;
    }
    
    .slider-container {
        margin: 0 1rem;
        max-width: none;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .slider-prev {
        left: 10px;
    }
    
    .slider-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 1.5rem;
    }

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

    .nav-brand h1 {
        font-size: 1.2rem;
    }
}
