/* ==========================================================================
   Suman Malla Website - Premium Design System
   ========================================================================== */

/* Custom properties for theme variables */
:root {
    --primary-color: #dc2626;     /* CPN-UML Red */
    --primary-hover: #b91c1c;
    --primary-light: #fef2f2;
    --accent-color: #facc15;      /* UML Sun Gold */
    --accent-hover: #eab308;
    --dark-color: #0f172a;        /* Deep slate dark text */
    --gray-color: #475569;        /* Body slate */
    --light-color: #f8fafc;       /* Light bg */
    --border-color: #e2e8f0;      /* Card borders */
    
    /* Glassmorphism settings */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Font sizing */
    --font-heading: 'Mukta', 'Outfit', sans-serif;
    --font-body: 'Outfit', 'Mukta', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Grid Overlay & Glow Orbs */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    background-image: 
        linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(160px);
    z-index: -2;
    opacity: 0.12;
    pointer-events: none;
}

.glow-orb.target-1 {
    top: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
}

.glow-orb.target-2 {
    bottom: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark-color);
}

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

/* Header & Floating Navigation */
.header {
    position: fixed;
    top: 1.5rem;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 50px;
    padding: 0.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.nav-container:hover {
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.15);
    border-color: rgba(220, 38, 38, 0.2);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--dark-color);
    font-family: var(--font-heading);
}

.uml-logo-sun {
    width: 28px;
    height: 28px;
    color: var(--primary-color);
    animation: spin 30s linear infinite;
}

.logo-text {
    background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 1.75rem;
    align-items: center;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gray-color);
    position: relative;
    padding: 0.25rem 0;
}

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

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

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

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

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

/* Language Toggle Button */
.lang-toggle-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 0.4rem 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--gray-color);
    font-size: 0.9rem;
    transition: var(--transition);
}

.lang-toggle-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: var(--primary-light);
}

.globe-icon {
    width: 16px;
    height: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.btn-secondary {
    background-color: white;
    color: var(--dark-color);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background-color: var(--light-color);
    border-color: var(--dark-color);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* Hero Section */
.hero-section {
    padding-top: 10rem;
    padding-bottom: 5rem;
    position: relative;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.badge-container {
    margin-bottom: 1.5rem;
}

.uml-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 1px solid var(--border-color);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-color);
    position: relative;
}

.badge-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background-color: rgba(220, 38, 38, 0.4);
    animation: pulse 1.5s infinite;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
}

.party-tag {
    color: var(--primary-color);
}

.divider {
    color: var(--border-color);
}

.constituency-tag {
    color: var(--gray-color);
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--gray-color);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
}

/* Portrait Visual */
.hero-visual {
    position: relative;
    width: 380px;
    height: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.portrait-ring {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    padding: 12px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.portrait-container {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid white;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
    background-color: var(--primary-color);
    transition: var(--transition);
    cursor: pointer;
}

.portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: var(--transition);
}

.hero-visual:hover .portrait-ring {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.15);
}

.hero-visual:hover .portrait-img {
    transform: scale(1.05);
}

.portrait-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    padding: 0.5rem 2rem;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
    border: 2px solid white;
    z-index: 3;
}

/* Stats Bar */
.hero-stats-container {
    margin-top: 5rem;
    background: white;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 2.5rem 0;
}

.stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item:not(:last-child) {
    border-right: 1px solid var(--border-color);
}

.stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gray-color);
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--gray-color);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
    opacity: 0.7;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 2px;
    animation: scrollMouse 1.8s infinite;
}

/* Section Header */
.section-header {
    margin-bottom: 4rem;
}

.section-header.center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-color);
    background-color: var(--primary-light);
    padding: 0.35rem 1rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.75rem;
    line-height: 1.2;
    margin-top: 0.5rem;
}

.title-line {
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin-top: 1rem;
    border-radius: 2px;
}

.title-line.center {
    margin: 1rem auto 0;
}

/* About Section */
.about-section {
    padding: 8rem 0;
    background-color: white;
}

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

.about-text p {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.about-quote {
    margin-top: 2rem;
    padding: 1.5rem 2rem;
    background-color: var(--primary-light);
    border-left: 5px solid var(--primary-color);
    border-radius: 0 12px 12px 0;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: -5px;
    left: 10px;
    font-size: 4rem;
    color: rgba(220, 38, 38, 0.08);
    font-family: serif;
    line-height: 1;
}

.about-quote p {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--primary-hover);
    font-weight: 500;
    margin: 0;
    position: relative;
    z-index: 1;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.timeline-card {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1.5rem;
    background-color: var(--light-color);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 16px;
    transition: var(--transition);
}

.timeline-card:hover {
    transform: translateX(10px);
    border-color: rgba(220, 38, 38, 0.2);
    box-shadow: var(--glass-shadow);
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 2px solid rgba(220, 38, 38, 0.1);
    padding-right: 1.5rem;
}

.timeline-content h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--gray-color);
}

/* Manifesto Section */
.manifesto-section {
    padding: 8rem 0;
    position: relative;
}

.manifesto-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.manifesto-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
}

.manifesto-card:hover {
    transform: translateY(-5px);
    border-color: rgba(220, 38, 38, 0.3);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.manifesto-card:hover .card-icon-wrapper {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.card-icon {
    width: 30px;
    height: 30px;
}

.manifesto-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.manifesto-card p {
    color: var(--gray-color);
    font-size: 1.05rem;
}

/* Social Media Section */
.social-section {
    padding: 8rem 0;
    background-color: white;
}

.social-intro {
    max-width: 650px;
    margin-bottom: 3.5rem;
}

.social-intro p {
    font-size: 1.15rem;
    color: var(--gray-color);
}

.social-channels-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2.5rem;
}

.social-card {
    background: var(--light-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: var(--transition);
}

.social-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--glass-shadow);
}

.social-card-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.platform-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.channel-info h3 {
    font-size: 1.1rem;
    line-height: 1.2;
}

.channel-info p {
    font-size: 0.85rem;
    color: var(--gray-color);
}

.social-card-body {
    padding: 1.5rem;
    flex-grow: 1;
}

.social-card-action {
    display: block;
    text-align: center;
    padding: 1rem;
    background: white;
    border-top: 1px solid var(--border-color);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
}

.social-card:hover .social-card-action {
    background-color: var(--primary-color);
    color: white;
    border-top-color: var(--primary-color);
}

/* Platform Customizations */
.facebook-card .platform-icon {
    background-color: #1877f2;
}
.facebook-card .social-card-action {
    color: #1877f2;
}

.youtube-card .platform-icon {
    background-color: #ff0000;
}
.youtube-card .social-card-action {
    color: #ff0000;
}

.instagram-card .platform-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.instagram-card .social-card-action {
    color: #bc1888;
}

.tiktok-card .platform-icon {
    background-color: #000000;
}
.tiktok-card .social-card-action {
    color: #000000;
}

/* Post preview components */
.post-preview {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.post-date {
    font-size: 0.8rem;
    color: var(--gray-color);
}

.post-preview p {
    font-size: 0.95rem;
    color: var(--dark-color);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-image-placeholder {
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background-color: #e2e8f0;
}

.post-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-overlay-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0.75rem 1rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
}

/* YouTube custom preview */
.youtube-preview {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.youtube-thumbnail {
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background-color: #000;
}

.youtube-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 54px;
    height: 54px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.youtube-thumbnail:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: var(--primary-hover);
}

.youtube-preview h4 {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
}

.yt-views {
    font-size: 0.8rem;
    color: var(--gray-color);
}

/* Instagram & TikTok Grid */
.social-cards-subgrid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.insta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    height: 180px;
}

.insta-grid-item {
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.insta-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.insta-grid-item-placeholder {
    background-color: var(--border-color);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--gray-color);
    font-size: 0.9rem;
}

.tiktok-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 180px;
}

.tiktok-badge {
    background: #000;
    color: #fff;
    align-self: flex-start;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.tiktok-quote {
    font-size: 1rem;
    font-style: italic;
    font-weight: 500;
    color: var(--dark-color);
}

.tiktok-views {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-color);
}

/* Contact Section */
.contact-section {
    padding: 8rem 0;
    position: relative;
}

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

.contact-subtitle {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-info-desc {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.detail-icon {
    font-size: 1.5rem;
    line-height: 1;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    padding: 0.75rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.detail-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.detail-text p {
    color: var(--gray-color);
}

.contact-uml-branding {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary-color);
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Contact Form */
.contact-form-container {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--glass-shadow);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    outline: none;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

.form-feedback {
    margin-top: 1rem;
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    text-align: center;
}

.form-feedback.success {
    color: #16a34a;
}

.form-feedback.error {
    color: #dc2626;
}

/* Footer Section */
.footer {
    background-color: var(--dark-color);
    color: #94a3b8;
    padding: 5rem 0 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.footer-logo .logo-text {
    background: linear-gradient(135deg, white, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-desc {
    font-size: 1rem;
    line-height: 1.6;
}

.footer-links-group h4,
.footer-social h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-social-icons {
    display: flex;
    gap: 1rem;
}

.footer-social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom span {
    display: block;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Animations */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; }
}

@keyframes rotateDashed {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes scrollMouse {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(6px); opacity: 0.5; }
    100% { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-container {
        gap: 2rem;
    }
    .hero-title {
        font-size: 3.2rem;
    }
    .hero-visual {
        width: 320px;
        height: 320px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .stat-item:nth-child(2) {
        border-right: none;
    }
    .stat-item:nth-child(even) {
        border-right: none;
    }
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    .social-channels-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .social-cards-subgrid {
        grid-template-columns: 1fr 1fr;
        flex-direction: row;
    }
    .social-cards-subgrid > div {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .header {
        top: 0;
    }
    .nav-container {
        border-radius: 0;
        max-width: 100%;
        padding: 1rem 1.5rem;
        border-left: none;
        border-right: none;
        border-top: none;
    }
    
    /* Mobile nav drawer style */
    .nav-links {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 3rem;
        gap: 2rem;
        transition: var(--transition);
        z-index: 999;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }
    
    .nav-links.open {
        left: 0;
    }
    
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 18px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1000;
    }
    
    .mobile-menu-btn span {
        width: 100%;
        height: 2.5px;
        background-color: var(--dark-color);
        transition: var(--transition);
        border-radius: 2px;
    }
    
    .mobile-menu-btn.open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-menu-btn.open span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-visual {
        order: 1;
        margin-bottom: 2rem;
    }
    
    .hero-desc {
        margin: 0 auto 2rem;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-visual {
        width: 280px;
        height: 280px;
        margin: 0 auto;
    }
    
    .manifesto-grid {
        grid-template-columns: 1fr;
    }
    
    .social-cards-subgrid {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
    
    .contact-form-container {
        padding: 2rem 1.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* ==========================================================================
   Gallery Section & Lightbox
   ========================================================================== */

.gallery-section {
    padding: 8rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 260px;
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--border-color);
    background-color: var(--dark-color);
}

.gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item:nth-child(2) {
    grid-column: span 1;
    grid-row: span 2;
}

.gallery-item:nth-child(3) {
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-item:nth-child(4) {
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-item:nth-child(5) {
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-item:nth-child(6) {
    grid-column: span 1;
    grid-row: span 2;
}

.gallery-item:nth-child(7) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item:nth-child(8) {
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-item:nth-child(9) {
    grid-column: span 2;
    grid-row: span 1;
}

.gallery-img-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.2) 60%, transparent 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

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

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

.gallery-zoom-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    align-self: flex-start;
}

.gallery-desc {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.15rem;
    line-height: 1.3;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 5rem;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 85%;
    max-height: 75vh;
    border-radius: 16px;
    border: 4px solid white;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: zoomLightbox 0.3s ease;
}

@keyframes zoomLightbox {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 3rem;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2010;
}

.lightbox-close:hover {
    color: var(--primary-color);
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    padding: 1.5rem 0;
}

/* Responsive Gallery Overrides */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 240px;
    }
    .gallery-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 2;
    }
    .gallery-item:nth-child(2) {
        grid-column: span 1;
        grid-row: span 1;
    }
    .gallery-item:nth-child(3) {
        grid-column: span 1;
        grid-row: span 1;
    }
    .gallery-item:nth-child(4) {
        grid-column: span 1;
        grid-row: span 1;
    }
    .gallery-item:nth-child(5) {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
        gap: 1rem;
    }
    .gallery-item {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
}

/* Developer Credit Footer Styling */
.developer-credit {
    margin-top: 0.8rem;
    font-size: 0.85rem;
    color: var(--gray-color);
    opacity: 0.9;
}

.developer-credit strong {
    color: var(--light-color);
}

.developer-credit a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.developer-credit a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(250, 204, 21, 0.4);
}
