:root {
    --primary: #F59E0B;
    --primary-dark: #D97706;
    --bg-dark: #020617;
    --bg-card: rgba(30, 41, 59, 0.5);
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --border: rgba(255, 255, 255, 0.1);
    --glass: rgba(15, 23, 42, 0.7);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.gradient-text {
    background: linear-gradient(135deg, #F59E0B 0%, #FCD34D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 4rem;
}

.section-title.centered {
    text-align: center;
}

.section-title span {
    color: var(--primary);
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: var(--bg-dark);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    background: var(--glass);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    border: 1px solid var(--border);
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.2rem 0.4rem;
}

.lang-btn.active {
    color: var(--primary);
}

.lang-btn:hover:not(.active) {
    color: white;
}

.lang-divider {
    color: var(--border);
    font-size: 0.7rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.logo span {
    color: var(--primary);
}

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

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

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

/* Dropdown System */
.nav-dropdown {
    position: relative;
    padding: 1rem 0;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.dropdown-trigger i {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-trigger i {
    transform: rotate(180deg);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(0px);
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1rem;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.dropdown-content a {
    display: block !important;
    padding: 0.8rem 1.2rem !important;
    color: var(--text-muted) !important;
    border-radius: 8px;
    font-size: 0.9rem !important;
    white-space: nowrap;
    transition: all 0.2s ease !important;
}

.dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--primary) !important;
    transform: translateX(5px);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-background .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, transparent 0%, var(--bg-dark) 80%);
}

.hero-content {
    max-width: 700px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-card h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.cta-card p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 5rem;
}

.cta-btn {
    margin-top: 1rem;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

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

.hero-stats {
    display: flex;
    gap: 4rem;
    margin-top: 5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    font-family: 'Outfit', sans-serif;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-top: 0.8rem;
    font-weight: 400;
}

/* About Section */
.about {
    padding: 10rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.image-wrapper img {
    width: 100%;
    display: block;
    filter: grayscale(10%);
    transition: all 0.5s ease;
}

.experience-badge {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary);
    padding: 2rem 2.5rem;
    border-radius: 20px;
    color: #fff;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.experience-badge span {
    font-size: 2.2rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.2rem;
    line-height: 1;
}

.experience-badge p {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    opacity: 0.95;
}

.about-text h2 {
    font-size: 3.2rem;
    line-height: 1;
    margin-bottom: 2.5rem;
    font-weight: 800;
    color: white;
    letter-spacing: -1px;
}

.about-text h2 span {
    display: block;
    color: var(--primary);
    margin-top: 0.2rem;
}

.about-text p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-text .quote {
    margin-top: 3.5rem;
    padding-left: 2rem;
    border-left: 4px solid var(--primary);
}

.about-text .quote p {
    font-style: italic;
    font-size: 1.3rem;
    color: white;
    opacity: 1;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Impact Section - Bento Grid */
.impact-section {
    padding: 10rem 0;
    background: rgba(255, 255, 255, 0.02);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 350px);
    gap: 1.5rem;
}

.bento-card {
    position: relative;
    border-radius: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    overflow: hidden;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.4s ease;
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.bento-card.large {
    grid-column: span 2;
    grid-row: span 2;
    background-size: cover;
    background-position: center;
}

.bento-card.medium {
    grid-column: span 2;
}

.bento-card.large, .bento-card.medium, .bento-card.small {
    background-size: cover;
    background-position: center;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(2, 6, 23, 0.3) 0%, rgba(2, 6, 23, 0.95) 100%);
    z-index: 1;
}

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

.card-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
}

.bento-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.award {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(2, 6, 23, 0.6);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    font-size: 0.85rem;
    color: var(--primary);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.edu-gpa {
    background: var(--primary);
    color: var(--bg-dark);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
}

.card-icon {
    position: absolute;
    top: 2.5rem;
    right: 2.5rem;
    width: 2.2rem;
    height: 2.2rem;
    color: var(--primary);
    opacity: 0.15;
    z-index: 0;
}

/* Timeline */
.experience-section {
    padding: 10rem 0;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 3rem;
}

.timeline-dot {
    position: absolute;
    left: -6px;
    top: 0.5rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2);
}

.timeline-date {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 1.5rem 2rem;
    border-radius: 20px;
}

.timeline-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.company {
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.timeline-content ul {
    list-style: none;
}

.timeline-content li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.timeline-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Education */
.education-section {
    padding: 10rem 0;
    background: rgba(255, 255, 255, 0.02);
}

.education-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 3rem;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.edu-icon-container {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.edu-icon-container i {
    color: var(--primary);
    width: 24px;
    height: 24px;
}

.edu-content {
    flex-grow: 1;
}

.edu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    gap: 1rem;
}

.edu-header h3 {
    font-size: 1.6rem;
    margin: 0;
}

.edu-location {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.edu-desc {
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.thesis-box {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border-left: 3px solid var(--primary);
    margin-top: 1rem;
}

.thesis-box strong {
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.thesis-box p {
    font-size: 0.95rem;
    color: var(--text-main);
}

/* Certifications */
.certifications-section {
    padding: 10rem 0;
}

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

.cert-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.cert-icon {
    color: var(--primary);
    margin-bottom: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
}

.cert-footer {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
}

/* Volunteering */
.volunteering-section {
    padding: 10rem 0;
}

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

.vol-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--border);
    padding: 3rem;
    border-radius: 24px;
    transition: all 0.3s ease;
}

.vol-card:hover {
    background: rgba(30, 41, 59, 0.6);
    border-color: var(--primary);
    transform: translateY(-5px);
}

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

.vol-icon {
    color: var(--text-main);
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.vol-titles h3 {
    font-size: 1.4rem;
    margin-bottom: 0.2rem;
    color: var(--text-main);
}

.vol-org {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.vol-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Testimonials */
.testimonials-section {
    padding: 10rem 0;
}

.testimonial-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    min-width: 100%;
    padding: 4rem;
    text-align: center;
}

.quote-text {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    line-height: 1.4;
    margin-bottom: 2.5rem;
    font-style: italic;
}

.quote-author strong {
    font-size: 1.2rem;
    color: var(--primary);
    display: block;
}

.quote-author span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg-dark);
}

/* CTA & Footer */
.cta-section {
    padding: 10rem 0;
}

.cta-card {
    background: linear-gradient(rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.9)), url('assets/hero-bg.png');
    background-size: cover;
    border-radius: 40px;
    padding: 6rem 4rem;
    text-align: center;
    border: 1px solid var(--border);
}

.social-links {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.social-links a {
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.social-links a svg {
    width: 20px;
    height: 20px;
}

.social-links a:hover {
    background: var(--primary);
    color: var(--bg-dark);
    transform: scale(1.1);
}

footer {
    padding: 4rem 0;
    border-top: 1px solid var(--border);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

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

/* Cursor Glow */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
    transform: translate(-50%, -50%);
}

/* Skills Section */
.skills-section {
    padding: 10rem 0;
}

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

.skill-category-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 3rem;
    transition: all 0.4s ease;
}

.skill-category-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    background: rgba(30, 41, 59, 0.7);
}

.skill-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 2rem;
}

.skill-category-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tags span {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.skill-category-card:hover .skill-tags span {
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text-main);
}

/* Awards Section */
.awards-section {
    padding: 10rem 0;
    background: rgba(2, 6, 23, 0.4);
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.award-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
}

.award-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.award-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 158, 11, 0.3);
    background: rgba(30, 41, 59, 0.7);
}

.award-card:hover::before {
    opacity: 1;
}

.award-year {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.award-issuer {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.award-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.award-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE DESIGN (End of file to ensure priority) --- */

@media (max-width: 1200px) {
    .container, .nav-container { padding: 0 2rem; }
}

@media (max-width: 1024px) {
    .hero h1 { font-size: clamp(2.5rem, 8vw, 4rem); }
    .awards-grid { grid-template-columns: repeat(2, 1fr); }
    .skills-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    /* Navigation */
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    .glass-nav { padding: 1rem 0; }
    
    /* Layout Spacing */
    .section-title { font-size: 2.2rem; margin-bottom: 3rem; text-align: center; }
    .about, .impact-section, .experience-section, .education-section, .certifications-section, .volunteering-section, .testimonials-section, .cta-section { 
        padding: 5rem 0; 
    }

    /* Hero Section */
    .hero { height: auto; padding: 160px 0 60px; min-height: 100vh; }
    .hero h1 { font-size: 2.8rem; text-align: center; }
    .hero p { font-size: 1.1rem; text-align: center; }
    .hero-actions { 
        flex-direction: column !important; 
        width: 100%; 
        gap: 1rem; 
        align-items: stretch;
    }
    .hero-actions .btn-primary, .hero-actions .btn-secondary { 
        width: 100% !important; 
        text-align: center; 
        padding: 1rem;
    }
    .hero-stats { 
        flex-direction: column; 
        align-items: center; 
        gap: 2.5rem; 
        margin-top: 4rem; 
        text-align: center;
    }

    /* About Section */
    .about-grid { grid-template-columns: 1fr; gap: 4rem; text-align: center; }
    .about-text .quote { text-align: left; }

    /* Bento Grid */
    .bento-grid { 
        grid-template-columns: 1fr !important; 
        grid-template-rows: auto !important; 
        gap: 1.5rem; 
    }
    .bento-card.large, .bento-card.medium, .bento-card.small { 
        grid-column: span 1 !important; 
        grid-row: span 1 !important;
        min-height: 380px;
        padding: 2rem;
    }

    /* Experience & Education */
    .timeline { padding-left: 1.5rem; }
    .education-card { flex-direction: column; padding: 2rem; gap: 2rem; }
    .edu-logo { margin: 0 auto; }
    .edu-header { flex-direction: column; text-align: center; gap: 1rem; align-items: center; }

    /* Grid Fixes */
    .awards-grid { grid-template-columns: 1fr; }
    .skills-grid { grid-template-columns: 1fr; }
    .cert-grid { grid-template-columns: 1fr; }
    .vol-grid { grid-template-columns: 1fr; }

    /* Testimonials */
    .testimonial-card { padding: 2rem 1.5rem; }
    .quote-text { font-size: 1.3rem; }

    /* CTA Section */
    .cta-card { padding: 4rem 1.5rem; }
    .cta-card h2 { font-size: 2rem !important; margin-bottom: 2rem !important; }
    .cta-card p { font-size: 1.1rem; margin-bottom: 3rem !important; }
}

@media (max-width: 480px) {
    .container, .nav-container { padding: 0 1.5rem; }
    .hero h1 { font-size: 2.4rem; }
    .section-title { font-size: 1.8rem; }
    .experience-badge { bottom: 1rem; right: 1rem; padding: 1rem; }
    .footer-bottom { flex-direction: column; gap: 1.5rem; text-align: center; }
    .footer-links { justify-content: center; gap: 1.5rem; }
}

/* BLOG PAGE STYLES */
.thoughts-page {
    background: var(--bg-dark);
}

.page-header {
    padding: 180px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: clamp(3rem, 10vw, 5rem);
    margin-bottom: 1.5rem;
}

.page-header .subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.blog-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 10rem;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.blog-image {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 1.5rem;
}

.blog-category {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    padding: 0.5rem 1.2rem;
    background: var(--primary);
    color: white;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.blog-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.read-more {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.read-more i {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-filters {
        flex-wrap: wrap;
    }
}

/* WORKS PAGE STYLES */
.works-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 10rem;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-image {
    height: 280px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.btn-view {
    padding: 1rem 2rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.project-card:hover .btn-view {
    transform: translateY(0);
}

.project-info {
    padding: 2.5rem;
}

.project-tags {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.project-tags span {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-info h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.project-info p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .works-grid {
        grid-template-columns: 1fr;
    }
    
    .project-image {
        height: 220px;
    }
}
