/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e3a8a;
    --secondary-color: #dc2626;
    --accent-color: #f59e0b;
    --dark-color: #1f2937;
    --light-color: #f3f4f6;
    --white: #ffffff;
    --text-color: #374151;
    --border-color: #e5e7eb;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

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

/* ===== Header & Navigation ===== */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0;
}

.logo .tagline {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    border-bottom-color: var(--secondary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: 0.3s;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    height: 600px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2563eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../IMG_2185.JPG') center/cover;
    opacity: 0.2;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

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

/* ===== New Hero Section ===== */
.hero-new {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 4rem 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: flex-start;
}

.hero-photo {
    padding-right: 3rem;
}

.hero-photo img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Party Logos */
.party-logos {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.party-logos img {
    height: 120px;
    width: auto;
    object-fit: contain;
}

.logo-dhsy {
    max-width: 220px;
}

.logo-aristinden {
    max-width: 260px;
    height: 104px;
}

/* Candidate Info */
.candidate-info {
    border-left: 5px solid var(--secondary-color);
    padding-left: 1.5rem;
}

.candidate-name {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.candidate-title {
    font-size: 1.8rem;
    color: var(--text-color);
    margin: 0.5rem 0;
    font-weight: 600;
}

.candidate-subtitle {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin: 0.5rem 0 0 0;
    font-weight: 500;
}

/* Hero Slogan */
.hero-slogan {
    background: linear-gradient(135deg, var(--primary-color), #2563eb);
    padding: 1.5rem;
    border-radius: 10px;
    color: var(--white);
}

.hero-slogan h2 {
    font-size: 2rem;
    margin: 0 0 0.5rem 0;
    color: var(--white);
}

.hero-slogan p {
    font-size: 1.2rem;
    margin: 0;
    opacity: 0.95;
}

.hero-new .hero-buttons {
    justify-content: flex-start;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-new {
        padding: 3rem 0;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-photo {
        order: 2;
        padding-right: 0;
    }
    
    .hero-photo img {
        width: 100%;
    }
    
    .hero-info {
        order: 1;
        gap: 1.5rem;
    }
    
    .candidate-name {
        font-size: 2.2rem;
    }
    
    .candidate-title {
        font-size: 1.4rem;
    }
    
    .candidate-subtitle {
        font-size: 1.2rem;
    }
    
    .party-logos {
        align-items: center;
        justify-content: center;
    }
    
    .party-logos img {
        height: 60px;
    }
    
    .logo-aristinden {
        height: 65px;
    }
    
    .hero-slogan h2 {
        font-size: 1.6rem;
    }
    
    .hero-slogan p {
        font-size: 1.1rem;
    }
    
    .hero-new .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .hero-new .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.3);
}

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

.btn-secondary:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.3);
}

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

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

/* ===== Sections ===== */
section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
}

/* ===== Introduction Section ===== */
.intro-section {
    background: var(--light-color);
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.intro-content p {
    margin-bottom: 1.5rem;
}

/* ===== Priorities Section ===== */
.priorities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.priority-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.priority-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), #2563eb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

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

/* ===== Preview Sections ===== */
.positions-preview,
.media-preview,
.expenses-preview {
    text-align: center;
    background: var(--light-color);
}

.positions-preview {
    background: var(--white);
}

/* ===== Expenses Section ===== */
.expenses-section {
    background: var(--white);
}

.expenses-content {
    max-width: 1000px;
    margin: 0 auto;
}

.pdf-viewer {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    background: var(--light-color);
}

.pdf-viewer iframe {
    display: block;
    min-height: 600px;
}

.pdf-download {
    text-align: center;
}

/* ===== Gallery Section ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    cursor: pointer;
    background: #f3f4f6;
}

.gallery-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s;
    display: block;
}

.gallery-item:hover img {
    opacity: 0.9;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 58, 138, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    color: var(--white);
    font-size: 2rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ===== Newsletter Section ===== */
.newsletter-section-home,
.newsletter-section-footer {
    background: var(--light-color);
    padding: 4rem 0;
}

.newsletter-card {
    background: linear-gradient(135deg, var(--primary-color), #2563eb);
    color: var(--white);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.newsletter-card h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.newsletter-card p {
    margin-bottom: 2rem;
    opacity: 0.95;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 1rem 2rem;
    white-space: nowrap;
}

.newsletter-success {
    background: #10b981;
    color: var(--white);
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.newsletter-error {
    background: #ef4444;
    color: var(--white);
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-card {
        padding: 2rem 1.5rem;
    }
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), #2563eb);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    font-size: 2.5rem;
}

/* ===== Page Header ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), #2563eb);
    color: var(--white);
    padding: 4rem 0 3rem;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
}

/* ===== Biography Page ===== */
.biography-section {
    background: var(--white);
}

.bio-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.bio-details {
    max-width: 900px;
    margin: 0 auto;
}

.bio-section {
    background: var(--light-color);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.bio-section h3 {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.bio-section h3 i {
    color: var(--secondary-color);
}

.bio-list {
    list-style: none;
    padding-left: 0;
}

.bio-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.bio-list li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.cv-download {
    text-align: center;
    margin-top: 3rem;
}

/* Contact Info Grid */
.bio-contact {
    background: linear-gradient(135deg, var(--primary-color), #2563eb);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    color: var(--white);
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.contact-item strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.contact-item p {
    margin: 0;
    font-size: 1.1rem;
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline-item {
    margin-bottom: 2rem;
}

.timeline-date {
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.timeline-list {
    list-style: none;
    padding-left: 0;
}

.timeline-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.timeline-list li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Education Grid */
.education-grid {
    display: grid;
    gap: 1.5rem;
}

.education-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 8px;
    border-left: 3px solid var(--secondary-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.education-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.edu-year {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
}

.edu-content h4 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.edu-content p {
    color: #666;
    margin: 0.5rem 0;
}

.badge {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-top: 0.5rem;
}

/* Organizations Grid */
.organizations-grid {
    display: grid;
    gap: 1.5rem;
}

.org-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.org-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.org-period {
    min-width: 100px;
    font-weight: bold;
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.org-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.org-content p {
    color: #666;
    margin: 0.25rem 0 0 0;
    font-size: 0.95rem;
}

.why-me-section {
    background: var(--light-color);
}

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

.why-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.why-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
}

/* ===== Positions Page ===== */
.positions-section {
    background: var(--white);
}

.positions-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.position-item {
    background: var(--light-color);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.position-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.position-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    flex-shrink: 0;
}

.position-header h2 {
    color: var(--primary-color);
    margin: 0;
}

.position-content ul {
    list-style: none;
    padding-left: 0;
}

.position-content li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
}

.position-content li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ===== Media Page ===== */
.media-section {
    background: var(--white);
}

.media-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
}

/* TV Section */
.tv-section {
    margin-top: 3rem;
}

.tv-section h2 {
    color: var(--primary-color);
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Videos Grid */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.video-item {
    background: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

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

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

.media-category {
    margin-bottom: 4rem;
}

.media-category h2 {
    color: var(--primary-color);
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.media-item {
    display: flex;
    gap: 1.5rem;
    background: var(--light-color);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    transition: transform 0.3s;
}

.media-item:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.media-thumbnail {
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
    flex-shrink: 0;
}

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

.media-date {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.media-date i {
    color: var(--secondary-color);
}

.media-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

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

.newsletter-section {
    margin-top: 4rem;
}

.newsletter-card {
    background: linear-gradient(135deg, var(--primary-color), #2563eb);
    color: var(--white);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
}

.newsletter-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.newsletter-card h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 1.5rem auto 0;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.social-section {
    background: var(--light-color);
}

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

.social-card {
    background: var(--white);
    padding: 2rem;
    text-align: center;
    border-radius: 10px;
    text-decoration: none;
    color: var(--dark-color);
    transition: all 0.3s;
}

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

.social-card.facebook i { color: #1877F2; font-size: 3rem; }
.social-card.instagram i { color: #E4405F; font-size: 3rem; }
.social-card.twitter i { color: #1DA1F2; font-size: 3rem; }
.social-card.youtube i { color: #FF0000; font-size: 3rem; }

.social-card h3 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

/* ===== Contact Page ===== */
.contact-section {
    background: var(--white);
}

.contact-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

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

.info-card {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.info-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-card a {
    color: var(--text-color);
    text-decoration: none;
}

.info-card a:hover {
    color: var(--primary-color);
}

.contact-social {
    background: linear-gradient(135deg, var(--primary-color), #2563eb);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

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

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

.social-links-large a {
    width: 45px;
    height: 45px;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s;
}

.social-links-large a:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* ===== Contact Form ===== */
.contact-form-wrapper {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
}

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

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.success-message,
.error-message {
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.success-message {
    background: #d1fae5;
    color: #065f46;
}

.success-message i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.error-message {
    background: #fee2e2;
    color: #991b1b;
    margin-bottom: 1.5rem;
}

.error-message i {
    margin-right: 0.5rem;
}

.volunteer-section {
    background: var(--light-color);
}

.volunteer-card {
    background: linear-gradient(135deg, var(--secondary-color), #b91c1c);
    color: var(--white);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
}

.volunteer-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.volunteer-card h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* ===== Footer ===== */
.main-footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-section p {
    color: var(--light-color);
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--light-color);
    text-decoration: none;
}

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.slogan {
    font-weight: 700;
    color: var(--accent-color) !important;
    margin-top: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: var(--light-color);
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .priorities-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .position-header {
        flex-direction: column;
        text-align: center;
    }
    
    .media-item {
        flex-direction: column;
    }
    
    .media-thumbnail {
        width: 100%;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .hero-new {
        padding: 2rem 0;
    }
    
    .hero-info {
        gap: 1rem;
    }
    
    .candidate-name {
        font-size: 1.8rem;
    }
    
    .candidate-title {
        font-size: 1.1rem;
    }
    
    .candidate-subtitle {
        font-size: 1rem;
    }
    
    .candidate-info {
        padding-left: 1rem;
        border-left-width: 3px;
    }
    
    .party-logos {
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .party-logos img {
        height: 50px;
    }
    
    .logo-aristinden {
        height: 55px;
    }
    
    .hero-slogan {
        padding: 1rem;
    }
    
    .hero-slogan h2 {
        font-size: 1.3rem;
    }
    
    .hero-slogan p {
        font-size: 0.95rem;
    }
    
    .hero-new .hero-buttons .btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }

    .pdf-viewer iframe {
        min-height: 400px;
    }
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.back-to-top.show {
    display: flex;
}

/* ===== Video Info Styles ===== */
.video-info {
    padding: 1rem;
    background: var(--white);
}

.video-info h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.video-info .video-date {
    color: var(--text-color);
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.8;
}

.video-info .video-date i {
    color: var(--secondary-color);
    margin-right: 0.3rem;
}

/* ===== Performance & Accessibility Improvements ===== */
/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus visible for better keyboard navigation */
*:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Skip to main content link for accessibility */
.skip-to-main {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-to-main:focus {
    top: 0;
}

/* Loading state for images */
img {
    background: var(--light-color);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
