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

/* Exact same design system as React app */
:root {
    /* Background and foreground colors - exact HSL values from React app */
    --background: hsl(0, 0%, 98%);
    --foreground: hsl(220, 25%, 15%);

    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(220, 25%, 15%);

    --popover: hsl(0, 0%, 100%);
    --popover-foreground: hsl(220, 25%, 15%);

    /* TDP Yellow/Gold primary theme - exact same */
    --primary: hsl(45, 95%, 50%);
    --primary-foreground: hsl(220, 25%, 15%);

    /* Professional blue secondary - exact same */
    --secondary: hsl(215, 50%, 25%);
    --secondary-foreground: hsl(0, 0%, 98%);

    --muted: hsl(210, 40%, 96%);
    --muted-foreground: hsl(215, 20%, 50%);

    --accent: hsl(25, 85%, 55%);
    --accent-foreground: hsl(0, 0%, 98%);

    --destructive: hsl(0, 75%, 55%);
    --destructive-foreground: hsl(0, 0%, 98%);

    --border: hsl(215, 25%, 90%);
    --input: hsl(215, 25%, 95%);
    --ring: hsl(45, 95%, 50%);

    /* Political brand colors - exact same */
    --tdp-yellow: hsl(45, 95%, 50%);
    --tdp-blue: hsl(215, 50%, 25%);
    --success-green: hsl(140, 70%, 45%);
    --orange-accent: hsl(25, 85%, 55%);

    /* Gradients - exact same */
    --gradient-hero: linear-gradient(135deg, hsl(45, 95%, 50%, 0.1), hsl(215, 50%, 25%, 0.1));
    --gradient-primary: linear-gradient(135deg, hsl(45, 95%, 50%), hsl(25, 85%, 55%));
    --gradient-secondary: linear-gradient(135deg, hsl(215, 50%, 25%), hsl(215, 50%, 35%));

    /* Shadows - exact same */
    --shadow-soft: 0 2px 10px hsl(220, 25%, 15%, 0.1);
    --shadow-medium: 0 4px 20px hsl(220, 25%, 15%, 0.15);
    --shadow-strong: 0 8px 30px hsl(220, 25%, 15%, 0.2);
    --shadow-glow: 0 0 20px hsl(45, 95%, 50%, 0.3);

    --radius: 0.5rem;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --container-padding: 1rem;
    --section-padding: 5rem 0;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    scroll-behavior: smooth;
    font-feature-settings: "rlig" 1, "calt" 1;
    overflow-x: hidden;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--background), hsl(45, 95%, 50%, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.loading-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    animation: pulse 2s infinite;
}

.loading-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.loading-text h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.loading-text p {
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

.loading-spinner {
    display: flex;
    justify-content: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid hsl(45, 95%, 50%, 0.2);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Utility Classes - exact same as React app */
.hero-gradient {
    background: var(--gradient-hero);
}

.primary-gradient {
    background: var(--gradient-primary);
}

.secondary-gradient {
    background: var(--gradient-secondary);
}

.shadow-soft {
    box-shadow: var(--shadow-soft);
}

.shadow-medium {
    box-shadow: var(--shadow-medium);
}

.shadow-strong {
    box-shadow: var(--shadow-strong);
}

.shadow-glow {
    box-shadow: var(--shadow-glow);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
    background-color: transparent;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-medium);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-soft);
}

.logo-text h1 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--foreground);
}

.logo-text p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.desktop-nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--foreground);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--foreground);
    cursor: pointer;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    background-color: var(--background);
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-medium);
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav-link {
    padding: 1rem var(--container-padding);
    text-decoration: none;
    color: var(--foreground);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.mobile-nav-link:hover {
    background-color: var(--muted);
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 6rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.8);
}

.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
    animation: fadeInLeft 1s ease-out;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.badge {
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.badge-secondary {
    background: var(--gradient-secondary);
    color: var(--secondary-foreground);
}

.badge-outline {
    border: 1px solid var(--accent);
    color: var(--accent);
    background-color: transparent;
}

.hero-title h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-title p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--muted-foreground);
    max-width: 40rem;
    line-height: 1.6;
}

.hero-info-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background-color: var(--background);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.info-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.info-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius);
    background-color: hsl(45, 95%, 50%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.info-title {
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.info-subtitle {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 0.5rem;
    margin-top: -0.5rem;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-soft);
}

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

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

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

.hero-image {
    display: flex;
    justify-content: center;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.hero-image-container {
    position: relative;
    width: 20rem;
    height: 20rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    background-color: var(--background);
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-decoration {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
    animation: float 6s ease-in-out infinite;
}

.hero-decoration-1 {
    top: -1.5rem;
    right: -1.5rem;
    width: 6rem;
    height: 6rem;
    background-color: var(--primary);
}

.hero-decoration-2 {
    bottom: -1rem;
    left: -1rem;
    width: 4rem;
    height: 4rem;
    background-color: var(--accent);
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

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

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -8px, 0);
    }
    70% {
        transform: translate3d(0, -4px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

/* Scroll Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.stagger-child {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.stagger-child.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Enhanced Button Animations */
.btn {
    position: relative;
    overflow: hidden;
}

.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.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:active {
    transform: scale(0.98);
}

/* Enhanced Card Hover Effects */
.info-card, .position-card, .achievement-card, .contact-item {
    position: relative;
}

.info-card::after, .position-card::after, .achievement-card::after, .contact-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, hsl(45, 95%, 50%, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.info-card:hover::after, .position-card:hover::after, .achievement-card:hover::after, .contact-item:hover::after {
    opacity: 1;
}

/* About Section */
.about {
    padding: var(--section-padding);
    background-color: hsl(210, 40%, 96%, 0.3);
}

.section-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 4rem;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--foreground);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.8s ease 0.3s;
}

.section-header.animate-in h2::after {
    width: 80px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.about-main h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

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

.about-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--background);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    animation: fadeInUp 0.6s ease-out;
    position: relative;
    overflow: hidden;
}

.about-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transition: left 0.6s ease;
}

.about-item:hover::before {
    left: 0;
}

.about-item:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-4px);
}

.about-item:nth-child(1) { animation-delay: 0.1s; }
.about-item:nth-child(2) { animation-delay: 0.2s; }
.about-item:nth-child(3) { animation-delay: 0.3s; }

.about-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius);
    background-color: hsl(45, 95%, 50%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.about-text h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.about-text p {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Responsive Design */
@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-info-cards {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-content {
        grid-template-columns: 2fr 1fr;
    }
}

/* Electoral Victory Section */
.electoral-victory {
    margin-top: 3rem;
    animation: fadeInUp 0.8s ease-out;
}

.electoral-victory h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--foreground);
}

.victory-card {
    padding: 2rem;
    background: linear-gradient(135deg, var(--background), hsl(45, 95%, 50%, 0.02));
    border-radius: var(--radius);
    box-shadow: var(--shadow-medium);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.victory-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.6s ease;
}

.victory-card:hover::before {
    transform: scaleX(1);
}

.victory-card:hover {
    box-shadow: var(--shadow-strong);
    transform: translateY(-4px);
}

.victory-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.victory-stat, .victory-alliance {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background-color: hsl(45, 95%, 50%, 0.03);
    border-radius: var(--radius);
    transition: var(--transition);
}

.victory-stat:hover, .victory-alliance:hover {
    background-color: hsl(45, 95%, 50%, 0.06);
    transform: translateX(8px);
}

.victory-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-foreground);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.victory-stat:hover .victory-icon, .victory-alliance:hover .victory-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-medium);
}

.victory-stat h4, .victory-alliance h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid hsl(45, 95%, 50%, 0.1);
    transition: var(--transition);
}

.stat-item:hover {
    padding-left: 0.5rem;
    border-bottom-color: var(--primary);
}

.stat-value {
    font-weight: 600;
    color: var(--foreground);
    transition: var(--transition);
}

.stat-value.primary {
    color: var(--primary);
    font-size: 1.1em;
}

.victory-alliance p {
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-top: 0.5rem;
}

/* Constituency Information */
.constituency-info {
    margin-top: 3rem;
}

.constituency-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.constituency-card {
    padding: 2rem;
    background-color: var(--background);
    border-radius: var(--radius);
    box-shadow: var(--shadow-medium);
}

.constituency-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.constituency-item {
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
    transition: var(--transition);
}

.constituency-item:hover {
    transform: translateY(-4px);
}

.constituency-item:nth-child(1) { animation-delay: 0.1s; }
.constituency-item:nth-child(2) { animation-delay: 0.2s; }
.constituency-item:nth-child(3) { animation-delay: 0.3s; }

.constituency-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-foreground);
    margin: 0 auto 1rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.constituency-item:hover .constituency-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: var(--shadow-medium);
}

.constituency-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.constituency-item p {
    color: var(--muted-foreground);
}

.constituency-description {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.constituency-description p {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Principles Card */
.principles-card {
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--background), hsl(215, 50%, 25%, 0.02));
    border-radius: var(--radius);
    box-shadow: var(--shadow-medium);
    border: 1px solid hsl(215, 50%, 25%, 0.1);
    transition: var(--transition);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.principles-card:hover {
    box-shadow: var(--shadow-strong);
    transform: translateY(-2px);
}

.principles-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    text-align: center;
    color: var(--foreground);
    position: relative;
}

.principles-card h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.principles {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.principle {
    text-align: center;
    padding: 1.5rem;
    border-radius: var(--radius);
    background: linear-gradient(135deg, hsl(210, 40%, 96%, 0.8), hsl(45, 95%, 50%, 0.02));
    border: 1px solid hsl(215, 50%, 25%, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.principle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transition: left 0.6s ease;
}

.principle:hover::before {
    left: 0;
}

.principle:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    background: linear-gradient(135deg, hsl(210, 40%, 96%, 1), hsl(45, 95%, 50%, 0.04));
}

.principle-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-foreground);
    margin: 0 auto 1rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.principle:hover .principle-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-medium);
}

.principle h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.principle p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Position Section */
.position {
    padding: var(--section-padding);
    background-color: var(--background);
}

.position-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.position-card {
    padding: 2rem;
    background-color: var(--background);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.position-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-4px);
}

.position-icon {
    width: 4rem;
    height: 4rem;
    border-radius: var(--radius);
    background-color: hsl(45, 95%, 50%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin: 0 auto 1rem;
    transition: var(--transition);
}

.position-card:hover .position-icon {
    background-color: hsl(45, 95%, 50%, 0.2);
}

.position-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--secondary);
    color: var(--secondary-foreground);
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.position-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.position-card p {
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.position-info .info-title {
    font-weight: 600;
    color: var(--foreground);
}

.position-info .info-subtitle {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.alliance-card {
    padding: 2rem;
    background-color: var(--background);
    border-radius: var(--radius);
    box-shadow: var(--shadow-medium);
    margin-bottom: 4rem;
}

.alliance-header {
    text-align: center;
    margin-bottom: 2rem;
}

.alliance-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.alliance-header p {
    color: var(--muted-foreground);
    max-width: 32rem;
    margin: 0 auto;
}

.alliance-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.alliance-item {
    text-align: center;
}

.alliance-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.alliance-icon.tdp {
    background-color: hsl(45, 95%, 50%, 0.1);
    color: hsl(45, 95%, 40%);
}

.alliance-icon.bjp {
    background-color: hsl(25, 85%, 55%, 0.1);
    color: hsl(25, 85%, 45%);
}

.alliance-icon.jsp {
    background-color: hsl(215, 50%, 25%, 0.1);
    color: var(--secondary);
}

.alliance-item h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.alliance-item p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Achievements Section */
.achievements {
    padding: var(--section-padding);
    background-color: hsl(210, 40%, 96%, 0.3);
}

.achievements-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.achievement-card {
    padding: 2rem;
    background: linear-gradient(135deg, var(--background), hsl(45, 95%, 50%, 0.02));
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: var(--transition);
    border: 1px solid hsl(215, 50%, 25%, 0.08);
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.6s ease;
}

.achievement-card:hover::before {
    transform: scaleX(1);
}

.achievement-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-8px);
    background: linear-gradient(135deg, var(--background), hsl(45, 95%, 50%, 0.04));
}

.achievement-card:nth-child(1) { animation-delay: 0.1s; }
.achievement-card:nth-child(2) { animation-delay: 0.2s; }
.achievement-card:nth-child(3) { animation-delay: 0.3s; }
.achievement-card:nth-child(4) { animation-delay: 0.4s; }

.achievement-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-foreground);
    margin: 0 auto 1rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.achievement-card:hover .achievement-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: var(--shadow-medium);
    animation: pulse 2s infinite;
}

.achievement-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.achievement-card p {
    color: var(--muted-foreground);
    line-height: 1.6;
}

@media (min-width: 768px) {
    .victory-stats {
        grid-template-columns: 1fr 1fr;
    }

    .constituency-items {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Keep principles in single column on all screen sizes */
    .principles {
        grid-template-columns: 1fr;
        max-width: 700px;
    }

    .position-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .alliance-items {
        grid-template-columns: repeat(3, 1fr);
    }

    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Timeline Section */
.timeline {
    padding: var(--section-padding);
    background-color: var(--background);
}

.timeline-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    background-color: var(--background);
    color: var(--foreground);
    border-radius: 0.25rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
}

.timeline-container {
    position: relative;
    margin-bottom: 4rem;
}

.timeline-line {
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--border);
}

.timeline-events {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.timeline-event {
    position: relative;
    margin-left: 3rem;
}

.timeline-dot {
    position: absolute;
    left: -3.5rem;
    top: 1rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    border: 4px solid var(--background);
    z-index: 10;
}

.timeline-dot.blue { background-color: hsl(215, 50%, 25%); }
.timeline-dot.green { background-color: var(--success-green); }
.timeline-dot.red { background-color: var(--destructive); }
.timeline-dot.purple { background-color: hsl(270, 50%, 50%); }
.timeline-dot.cyan { background-color: hsl(190, 50%, 50%); }
.timeline-dot.orange { background-color: var(--accent); }
.timeline-dot.amber { background-color: var(--primary); }
.timeline-dot.indigo { background-color: hsl(240, 50%, 50%); }

.timeline-card {
    padding: 1.5rem;
    background-color: var(--background);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.timeline-card:hover {
    box-shadow: var(--shadow-medium);
}

.timeline-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.timeline-card-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.timeline-card-icon.blue { background-color: hsl(215, 50%, 25%); }
.timeline-card-icon.green { background-color: var(--success-green); }
.timeline-card-icon.red { background-color: var(--destructive); }
.timeline-card-icon.purple { background-color: hsl(270, 50%, 50%); }
.timeline-card-icon.cyan { background-color: hsl(190, 50%, 50%); }
.timeline-card-icon.orange { background-color: var(--accent); }
.timeline-card-icon.amber { background-color: var(--primary); }
.timeline-card-icon.indigo { background-color: hsl(240, 50%, 50%); }

.timeline-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background-color: var(--muted);
    color: var(--foreground);
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.timeline-date {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.timeline-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.timeline-description {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.timeline-details {
    padding: 1rem;
    background-color: hsl(210, 40%, 96%, 0.3);
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.timeline-details p {
    color: var(--muted-foreground);
    line-height: 1.6;
}

.timeline-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
}

.timeline-toggle:hover {
    color: hsl(45, 95%, 40%);
}

.timeline-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    padding: 1.5rem;
    background-color: var(--background);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--muted-foreground);
}

/* Gallery Section */
.gallery {
    padding: var(--section-padding);
    background-color: var(--background);
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.gallery-filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    background-color: var(--background);
    color: var(--foreground);
    border-radius: 0.25rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background-color: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    box-shadow: var(--shadow-medium);
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    color: white;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
}

.gallery-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.gallery-info p {
    font-size: 0.875rem;
    opacity: 0.9;
}

.gallery-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.25rem 0.5rem;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--foreground);
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.stay-connected {
    text-align: center;
}

.stay-connected-card {
    max-width: 32rem;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--background);
    border-radius: var(--radius);
    box-shadow: var(--shadow-medium);
}

.stay-connected-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: hsl(45, 95%, 50%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin: 0 auto 1rem;
}

.stay-connected-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.stay-connected-card p {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

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

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    color: var(--foreground);
    text-decoration: none;
    border-radius: 0.25rem;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
}

@media (min-width: 768px) {
    .timeline-line {
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline-event {
        margin-left: 0;
        width: calc(50% - 2rem);
    }

    .timeline-event.left {
        margin-right: auto;
        padding-right: 2rem;
    }

    .timeline-event.right {
        margin-left: auto;
        padding-left: 2rem;
    }

    .timeline-dot {
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline-stats {
        grid-template-columns: repeat(4, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Development Section */
.development {
    padding: var(--section-padding);
    background-color: hsl(210, 40%, 96%, 0.3);
}

.development-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.dev-stat-card {
    padding: 1.5rem;
    background-color: var(--background);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.dev-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.dev-stat-card p {
    color: var(--muted-foreground);
}

.development-categories {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 4rem;
}

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

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

.dev-category-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.dev-category-icon.infrastructure { background-color: hsl(215, 50%, 25%); }
.dev-category-icon.water { background-color: hsl(190, 50%, 50%); }
.dev-category-icon.education { background-color: var(--success-green); }
.dev-category-icon.healthcare { background-color: var(--destructive); }
.dev-category-icon.agriculture { background-color: var(--primary); }

.dev-category h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.dev-projects {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.dev-project {
    padding: 1.5rem;
    background-color: var(--background);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.dev-project:hover {
    box-shadow: var(--shadow-medium);
}

.dev-project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.dev-project h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.dev-project-status {
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.dev-project-status.completed {
    background-color: hsl(140, 70%, 45%, 0.1);
    color: var(--success-green);
}

.dev-project-status.in-progress {
    background-color: hsl(215, 50%, 25%, 0.1);
    color: var(--secondary);
}

.dev-project-status.planning {
    background-color: hsl(25, 85%, 55%, 0.1);
    color: var(--accent);
}

.dev-project p {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.dev-project-progress {
    margin-bottom: 1rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.progress-bar {
    width: 100%;
    height: 0.5rem;
    background-color: var(--muted);
    border-radius: 0.25rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.dev-project-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    font-size: 0.875rem;
}

.dev-project-details span:first-child {
    color: var(--muted-foreground);
}

.dev-project-details span:last-child {
    font-weight: 500;
    color: var(--foreground);
}

.community-participation {
    text-align: center;
}

.participation-card {
    max-width: 32rem;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--background);
    border-radius: var(--radius);
    box-shadow: var(--shadow-medium);
}

.participation-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: hsl(45, 95%, 50%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin: 0 auto 1rem;
}

.participation-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.participation-card p {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.participation-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 0.25rem;
    font-weight: 500;
}

/* Constituency Work Section */
.constituency-work {
    padding: var(--section-padding);
    background-color: var(--background);
}

.work-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.work-card {
    padding: 2rem;
    background-color: var(--background);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: var(--transition);
}

.work-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-4px);
}

.work-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: hsl(45, 95%, 50%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin: 0 auto 1rem;
}

.work-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.work-card p {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--background), hsl(215, 50%, 25%, 0.02));
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
}

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

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 600px;
}

.contact-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, var(--background), hsl(45, 95%, 50%, 0.02));
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid hsl(215, 50%, 25%, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transition: left 0.6s ease;
}

.contact-item:hover::before {
    left: 0;
}

.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    background: linear-gradient(135deg, var(--background), hsl(45, 95%, 50%, 0.04));
}

.contact-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius);
    background: var(--gradient-primary);
    color: var(--primary-foreground);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    transform: scale(1.05) rotate(3deg);
    box-shadow: var(--shadow-medium);
}

.contact-details h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--foreground);
    font-size: 1.125rem;
}

.contact-details p {
    color: var(--muted-foreground);
    line-height: 1.5;
    font-size: 0.875rem;
}

.contact-form {
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--muted), hsl(45, 95%, 50%, 0.02));
    border-radius: var(--radius);
    box-shadow: var(--shadow-medium);
    border: 1px solid hsl(215, 50%, 25%, 0.08);
    transition: var(--transition);
}

.contact-form:hover {
    box-shadow: var(--shadow-strong);
}

.contact-form h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--foreground);
    text-align: center;
    position: relative;
}

.contact-form h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.form-group {
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--foreground);
    font-size: 0.95rem;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px hsl(45, 95%, 50%, 0.15);
    transform: translateY(-2px);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: hsl(45, 95%, 50%, 0.5);
}

/* Footer */
.footer {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
}

.footer-logo h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-logo p {
    color: var(--muted-foreground);
}

.footer-main p {
    color: var(--muted-foreground);
    line-height: 1.6;
}

.footer-links h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

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

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

.footer-links a {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-contact h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--muted-foreground);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--muted-foreground);
}

.footer-bottom p {
    margin-bottom: 0.25rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--background);
    border-radius: var(--radius);
    max-width: 90vw;
    max-height: 90vh;
    overflow: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--muted-foreground);
    z-index: 10;
}

.modal-close:hover {
    color: var(--foreground);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
}

.modal-body img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
}

.modal-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.modal-date {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background-color: var(--muted);
    border-radius: 0.25rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.modal-info p {
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.modal-category {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

@media (min-width: 768px) {
    .development-stats {
        grid-template-columns: repeat(4, 1fr);
    }

    .dev-projects {
        grid-template-columns: repeat(2, 1fr);
    }

    .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .modal-body {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .hero-image-container {
        width: 24rem;
        height: 24rem;
    }

    .achievements-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .work-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
