:root {
    --primary-color: #e83330;
    --secondary-color: #c42623;
    --accent-color: #1a1a1a;
    --text-dark: #212529;
    --text-gray: #6c757d;
    --text-light: #adb5bd;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e9ecef;
    --gradient-primary: linear-gradient(135deg, #e83330 0%, #c42623 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 32px rgba(0, 0, 0, 0.2);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Custom Cursor */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    background: rgba(232, 51, 48, 0.1);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .cursor,
    .cursor-follower {
        display: none;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    transition: var(--transition);
}

.logo-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.5px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.9;
    transition: var(--transition);
}

.navbar.scrolled .logo-name {
    font-size: 0.8rem;
}

.logo:hover .logo-text {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: rotate(360deg);
}

.logo:hover .logo-name {
    opacity: 1;
    transform: translateX(5px);
}

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

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

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

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

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

.btn-nav {
    background: var(--primary-color);
    color: var(--bg-white) !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 2rem;
}

.btn-nav:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 51, 48, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
    transform-origin: center;
}

.nav-toggle.active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-shape-1 {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(232, 51, 48, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    animation: float 20s infinite ease-in-out;
}

.hero-shape-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(232, 51, 48, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
    animation: float 25s infinite ease-in-out reverse;
}

.hero-shape-3 {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(232, 51, 48, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 15s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-greeting {
    color: var(--text-gray);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    display: block;
}

.hero-name {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1.5rem;
    font-family: var(--font-mono);
}

.typed-text {
    color: var(--primary-color);
    font-weight: 700;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

.cursor-typed {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-description {
    color: var(--text-gray);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 2rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(232, 51, 48, 0.3);
}

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

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

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

.hero-social a {
    width: 40px;
    height: 40px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    transition: var(--transition);
}

.hero-social a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px) rotate(360deg);
    background: rgba(232, 51, 48, 0.05);
}

.hero-image {
    position: relative;
}

.hero-img-wrapper {
    position: relative;
    display: inline-block;
}

.hero-img-wrapper img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 2rem;
    box-shadow: var(--shadow-xl);
}

.hero-img-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: 2rem;
    z-index: -1;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.scroll-down span {
    width: 2px;
    height: 10px;
    background: var(--primary-color);
    animation: scroll 1.5s infinite;
}

.scroll-down span:nth-child(2) {
    animation-delay: 0.2s;
}

.scroll-down span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes scroll {
    0% { opacity: 0; transform: translateY(-10px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateY(10px); }
}

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

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

.section-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    color: var(--text-dark);
    position: relative;
    display: inline-block;
}

/* About Section */
.about {
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.about-stats {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-white);
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-gray);
}

.about-text h3 {
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-label {
    font-weight: 600;
    color: var(--text-dark);
}

.info-value {
    color: var(--text-gray);
}

.about-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

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

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-gray);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Portfolio Section */
.portfolio {
    background: var(--bg-light);
}

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

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--border-color);
    background: var(--bg-white);
    border-radius: 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

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

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

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

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(232, 51, 48, 0.9), rgba(196, 38, 35, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.portfolio-info {
    text-align: center;
    color: var(--bg-white);
    padding: 2rem;
    transform: translateY(20px);
    transition: var(--transition);
}

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

.portfolio-info h3 {
    margin-bottom: 0.5rem;
    color: var(--bg-white);
}

.portfolio-info p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

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

.portfolio-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    transition: var(--transition);
}

.portfolio-link:hover {
    background: var(--bg-white);
    color: var(--primary-color);
    transform: rotate(360deg);
}

/* Additional Styles for Asheem's Portfolio */
.nepali-message {
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(232, 51, 48, 0.05), rgba(232, 51, 48, 0.02));
    border-radius: 1rem;
    border: 2px solid var(--primary-color);
}

.nepali-message h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 800;
}

.nepali-message .highlight {
    color: var(--primary-color);
    font-size: 1.2em;
    display: inline-block;
    position: relative;
}

.nepali-message .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.nepali-message .translation {
    font-size: 1.125rem;
    color: var(--text-gray);
    font-style: italic;
    margin-top: 1rem;
    font-weight: 500;
}

.pathao-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.pathao-badge img {
    height: 30px;
    width: auto;
}

.hero-tags {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.hero-tags .tag {
    background: rgba(232, 51, 48, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.announcement {
    background: linear-gradient(135deg, rgba(232, 51, 48, 0.05), rgba(232, 51, 48, 0.02));
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0.5rem;
    font-style: italic;
    position: relative;
}

.announcement i {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-size: 2rem;
}

.announcement cite {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    font-style: normal;
}

.about-achievements {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.achievement {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: 0.5rem;
}

.achievement i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.timeline-item.current .timeline-content {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(232, 51, 48, 0.03), transparent);
}

.company-logo {
    margin: 1rem 0;
}

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

/* Education Section */
.education {
    background: var(--bg-white);
    padding: 5rem 0;
}

.education-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.education-timeline {
    position: relative;
    padding: 2rem 0;
}

.education-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.education-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 70px;
}

.education-item::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 10px;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 4px solid var(--bg-white);
    box-shadow: 0 0 0 4px var(--primary-color);
}

.education-year {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.education-details h3 {
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.education-details h4 {
    color: var(--text-gray);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.institution {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    font-weight: 600;
}

.institution i {
    font-size: 1.1rem;
}

.education-details p {
    color: var(--text-gray);
    line-height: 1.6;
}

.education-highlights h3 {
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

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

.highlight {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
    transition: var(--transition);
}

.highlight:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.highlight i {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.highlight h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.highlight p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Leadership Section */
.leadership {
    background: var(--bg-light);
}

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

.impact-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.impact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

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

.impact-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.stat-item {
    background: rgba(232, 51, 48, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Media Section */
.media {
    background: var(--bg-white);
}

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

.featured-video {
    background: var(--bg-white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

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

.video-info {
    padding: 2rem;
}

.video-info h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.video-description {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.video-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.media-sidebar {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 1rem;
    height: fit-content;
}

.media-sidebar h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.video-playlist {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.playlist-item {
    display: flex;
    gap: 1rem;
    background: var(--bg-white);
    padding: 1rem;
    border-radius: 0.75rem;
    transition: var(--transition);
    cursor: pointer;
}

.playlist-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.video-thumbnail {
    flex-shrink: 0;
    width: 120px;
    height: 68px;
    border-radius: 0.5rem;
    overflow: hidden;
    position: relative;
}

.video-thumbnail iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.playlist-info {
    flex: 1;
}

.playlist-info h4 {
    color: var(--text-dark);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.playlist-info p {
    color: var(--text-gray);
    font-size: 0.8rem;
    line-height: 1.4;
    margin: 0;
}

.media-cta {
    text-align: center;
}

.media-cta .btn {
    width: 100%;
}

/* Vision Section */
.vision {
    background: linear-gradient(135deg, rgba(232, 51, 48, 0.03), transparent);
    padding: 6rem 0;
}

.vision-statement {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.vision-statement .lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

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

.pillar {
    text-align: center;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.pillar:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.pillar i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.pillar h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

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

.campaign-message {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    margin-top: 3rem;
}

.campaign-message blockquote {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-dark);
    text-align: center;
}

.campaign-message footer {
    margin-top: 1.5rem;
    text-align: center;
}

.campaign-message footer strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.campaign-message footer span {
    color: var(--text-gray);
    font-size: 0.875rem;
}

/* Election Section Styles */
.election-section {
    background: linear-gradient(135deg, rgba(232, 51, 48, 0.03), transparent);
    padding: 5rem 0;
}

.election-badge {
    display: inline-flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.election-badge span {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.hero-name {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.hero-name-english {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.campaign-poster {
    max-width: 500px;
    margin: 0 auto;
}

.campaign-poster img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
}

.election-info-box {
    background: rgba(232, 51, 48, 0.05);
    padding: 1.5rem;
    border-radius: 1rem;
    margin: 2rem 0;
    border: 1px solid rgba(232, 51, 48, 0.2);
}

.election-info-box .info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.election-info-box .info-item:last-child {
    margin-bottom: 0;
}

.election-info-box i {
    color: var(--primary-color);
    width: 20px;
}

/* Election Countdown */
.election-countdown {
    text-align: center;
    margin-bottom: 3rem;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.time-unit {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    min-width: 100px;
}

.time-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.time-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-top: 0.5rem;
}

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

.detail-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

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

.detail-card .detail-main {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

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

.election-commitments {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.commitments-showcase {
    margin: 2rem 0;
    text-align: center;
}

.commitments-showcase img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.commitments-showcase img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

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

.commitment {
    text-align: center;
}

.commitment i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.commitment h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

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

.election-footer-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.election-highlight {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.125rem;
}

/* Footer Updates */
.footer-brand h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 2rem 0;
}

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

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

.footer-bottom p:last-child {
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Skills Section */
.skills-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.skills-category h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.skill-name {
    font-weight: 600;
    color: var(--text-dark);
}

.skill-percent {
    color: var(--primary-color);
    font-weight: 600;
}

.skill-bar {
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    position: relative;
    animation: fillBar 1.5s ease-out;
}

@keyframes fillBar {
    from { width: 0; }
}

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

.tools-section h3 {
    margin-bottom: 2rem;
}

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

.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 1rem;
    transition: var(--transition);
}

.tool-item:hover {
    background: var(--bg-white);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

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

.tool-item span {
    font-weight: 600;
    color: var(--text-dark);
}

/* Experience Section */
.experience {
    background: var(--bg-light);
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 50%;
}

.timeline-item.left {
    left: 0;
    padding-right: 3rem;
}

.timeline-item.right {
    left: 50%;
    padding-left: 3rem;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--bg-white);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    top: 0;
}

.timeline-item.left::after {
    right: -10px;
}

.timeline-item.right::after {
    left: -10px;
}

.timeline-content {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.timeline-date {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: var(--text-gray);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.timeline-achievements {
    list-style: none;
}

.timeline-achievements li {
    padding: 0.25rem 0;
    color: var(--text-gray);
    position: relative;
    padding-left: 1.5rem;
}

.timeline-achievements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Testimonials Section */
.testimonials-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 2rem;
}

.testimonial-item {
    flex: 0 0 100%;
    scroll-snap-align: center;
}

.testimonial-content {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.testimonial-quote {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-style: italic;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0.25rem;
}

.author-info span {
    color: var(--text-gray);
    font-size: 0.875rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 5px;
}

/* Contact Section */
.contact {
    background: var(--bg-light);
}

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

.contact-info h3 {
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.contact-items {
    margin-bottom: 2rem;
}

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

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 1.25rem;
}

.contact-details h4 {
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: var(--text-gray);
    margin: 0;
}

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

.contact-social a {
    width: 40px;
    height: 40px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    transition: var(--transition);
}

.contact-social a:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-3px) rotate(360deg);
}

.contact-form {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

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

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

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

.form-group textarea {
    resize: vertical;
}

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

.footer-content {
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: inline-block;
    width: 45px;
    height: 45px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    line-height: 41px;
    margin-bottom: 1rem;
}

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

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

.footer-social a {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition);
}

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

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    color: var(--bg-white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(232, 51, 48, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        order: -1;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-social {
        justify-content: center;
    }

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

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

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 0;
    }

    .timeline-item.right {
        left: 0;
    }

    .timeline-item::after {
        left: 20px;
    }

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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        padding: 2rem;
        gap: 1rem;
    }

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

    .hero {
        padding: 80px 0 50px;
    }

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

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

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

    .about-info {
        grid-template-columns: 1fr;
    }

    .about-buttons {
        flex-direction: column;
        width: 100%;
    }

    .about-buttons .btn {
        width: 100%;
        text-align: center;
    }

    /* Mobile Education Styles */
    .education-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .education-timeline::before {
        left: 20px;
    }

    .education-item {
        padding-left: 50px;
    }

    .education-item::before {
        left: 10px;
        width: 16px;
        height: 16px;
        border: 3px solid var(--bg-white);
        box-shadow: 0 0 0 3px var(--primary-color);
    }

    /* Mobile Media Styles */
    .media-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .playlist-item {
        flex-direction: column;
        text-align: center;
    }

    .video-thumbnail {
        width: 100%;
        height: 200px;
    }

    .video-tags {
        justify-content: center;
    }

    /* Mobile Countdown Timer Styles */
    .countdown-timer {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .time-unit {
        padding: 1rem;
        min-width: 80px;
        flex: 1;
        max-width: 120px;
    }

    .time-value {
        font-size: 2rem;
    }

    .time-label {
        font-size: 0.75rem;
    }

    .countdown-mini {
        font-size: 1rem;
        margin-top: 0.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    section {
        padding: 3rem 0;
    }

    .hero-name {
        font-size: 2.5rem;
    }

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

    /* Extra Small Mobile Countdown Timer Styles */
    .countdown-timer {
        gap: 0.75rem;
        justify-content: space-between;
    }

    .time-unit {
        padding: 0.75rem 0.5rem;
        min-width: 70px;
        flex: 1;
        max-width: 90px;
    }

    .time-value {
        font-size: 1.75rem;
    }

    .time-label {
        font-size: 0.7rem;
        margin-top: 0.25rem;
    }

    .countdown-mini {
        font-size: 0.9rem;
        margin-top: 0.5rem;
    }
}

/* Page-specific Hero Sections */
.about-hero,
.election-hero,
.education-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 120px 0 80px;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.about-hero-content,
.election-hero-content,
.education-hero-content {
    text-align: center;
}

.breadcrumb {
    margin-bottom: 2rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: white;
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 0.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin: 1rem 0;
    opacity: 0.9;
}

.hero-highlight blockquote {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 1rem;
    margin: 2rem 0;
    border-left: 4px solid white;
}

.hero-highlight cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-weight: 600;
}

/* About Page Specific */
.detailed-about {
    padding: 6rem 0;
}

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

.about-story h2,
.about-story h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.about-story p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

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

.achievements-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.achievements-list strong {
    color: var(--primary-color);
}

.profile-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
    text-align: center;
}

.profile-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
}

.profile-details {
    text-align: left;
    margin-top: 1.5rem;
}

.detail {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.detail label {
    font-weight: 600;
    color: var(--text-dark);
}

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

.social-connect {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 1rem;
}

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

.social-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--bg-white);
    border-radius: 0.5rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.key-achievements {
    background: var(--bg-light);
    padding: 6rem 0;
}

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

.achievement-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: var(--transition);
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.achievement-card i {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Election Page Specific */
.election-details {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    justify-content: center;
}

.election-date,
.election-constituency,
.election-type {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
}

.campaign-slogan h2 {
    margin-top: 2rem;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.campaign-slogan .highlight {
    color: #ffff00;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.election-info {
    padding: 6rem 0;
}

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

.info-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.info-card.primary {
    background: var(--gradient-primary);
    color: white;
}

.info-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-card.primary i {
    color: white;
}

.info-main {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0.5rem 0;
}

.info-card.primary .info-main {
    color: white;
}

.info-sub {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.info-card.primary .info-sub {
    color: rgba(255, 255, 255, 0.8);
}

.countdown-mini {
    margin-top: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.campaign-showcase {
    background: var(--bg-light);
    padding: 6rem 0;
}

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

.poster-card {
    background: var(--bg-white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.poster-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.poster-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.poster-card h3,
.poster-card p {
    padding: 0 2rem;
}

.poster-card h3 {
    padding-top: 2rem;
    margin-bottom: 1rem;
}

.poster-card p {
    padding-bottom: 2rem;
    color: var(--text-gray);
}

.detailed-commitments {
    padding: 6rem 0;
}

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

.commitment-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.commitment-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.commitment-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.commitment-icon i {
    font-size: 3rem;
    color: var(--primary-color);
}

.commitment-details {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.commitment-details li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-gray);
}

.commitment-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.vote-appeal {
    background: var(--gradient-primary);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.appeal-content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 2rem;
}

.appeal-text {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.vote-stats .stat {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 1rem;
}

.vote-stats .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.vote-stats .stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.vote-cta {
    margin-top: 3rem;
}

.vote-date {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    border-radius: 2rem;
    font-weight: 600;
}

/* Education Page Specific */
.education-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.education-stats .stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 1rem;
}

.education-stats .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.detailed-education {
    padding: 6rem 0;
}

.education-timeline-detailed {
    max-width: 900px;
    margin: 0 auto;
}

.education-card {
    background: var(--bg-white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 3rem;
    position: relative;
}

.education-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary-color);
}

.education-card.masters::before {
    background: linear-gradient(to bottom, #4CAF50, #2E7D32);
}

.education-card.mba::before {
    background: linear-gradient(to bottom, #2196F3, #1565C0);
}

.education-card.bachelors::before {
    background: linear-gradient(to bottom, #FF9800, #E65100);
}

.education-period {
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    font-weight: 700;
    text-align: center;
}

.education-content {
    padding: 2rem;
}

.degree-header {
    margin-bottom: 1.5rem;
}

.degree-header h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.degree-header h4 {
    color: var(--primary-color);
    font-weight: 600;
}

.institution-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 0.5rem;
}

.institution-logo i {
    font-size: 2rem;
    color: var(--primary-color);
}

.institution-details h5 {
    margin: 0;
    color: var(--text-dark);
}

.institution-details p,
.institution-details .location {
    margin: 0;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.course-details,
.relevance {
    margin-top: 1.5rem;
}

.course-details h6,
.relevance h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.course-details ul {
    list-style: none;
    padding: 0;
}

.course-details li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-gray);
}

.course-details li::before {
    content: '📚';
    position: absolute;
    left: 0;
}

.relevance {
    background: rgba(232, 51, 48, 0.05);
    padding: 1rem;
    border-radius: 0.5rem;
    border-left: 3px solid var(--primary-color);
}

.skills-competencies {
    background: var(--bg-light);
    padding: 6rem 0;
}

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

.competency-category {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.competency-category h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill {
    margin-bottom: 1rem;
}

.skill span {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.skill-level {
    background: var(--border-color);
    border-radius: 1rem;
    height: 8px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 1rem;
    transition: width 1s ease-in-out;
}

.education-impact {
    padding: 6rem 0;
}

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

.impact-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.impact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.impact-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Mobile responsiveness for new pages */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .commitments-detailed {
        grid-template-columns: 1fr;
    }

    .vote-stats {
        grid-template-columns: 1fr;
    }

    .education-stats {
        grid-template-columns: 1fr;
    }

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

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

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

    .election-details {
        justify-content: center;
    }

    .election-date,
    .election-constituency,
    .election-type {
        text-align: center;
        width: 100%;
    }

    /* Mobile Logo Adjustments */
    .logo-container {
        gap: 0.5rem;
    }

    .logo-text {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .logo-name {
        font-size: 0.7rem;
    }

    .navbar.scrolled .logo-name {
        font-size: 0.6rem;
    }
}

/* Triangle Election Symbol Styles */
.election-symbol {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
    border-radius: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.triangle-symbol-large {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transition: var(--transition);
}

.triangle-symbol-large:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.triangle-symbol-large svg {
    filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.2));
}

/* Triangle symbol in election cards */
.detail-card .fas.fa-play {
    transform: rotate(90deg);
    color: var(--primary-color);
}

.info-card .fas.fa-play {
    transform: rotate(90deg);
    color: var(--primary-color);
}

.info-card.primary .fas.fa-play {
    color: white;
}