/* Global Styles */
:root {
    --bg-color: #f3f6f9;
    --bg-alt: #ffffff;
    --text-color: #555555;
    --text-muted: #777777;
    --heading-color: #1a1a1a;
    --accent-color: #00c3ff; /* Cyan Blue */
    --accent-hover: #00a8dd;
    --white: #ffffff;
    --card-bg: #ffffff;
    --border-color: rgba(0,0,0,0.05);
    --font-main: 'Poppins', sans-serif;
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Dark Mode Variables */
.dark-mode {
    --bg-color: #1a1a1a;
    --bg-alt: #222222;
    --text-color: #bbbbbb;
    --text-muted: #888888;
    --heading-color: #ffffff;
    --white: #2d2d2d;
    --card-bg: #2d2d2d;
    --border-color: rgba(255,255,255,0.05);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

body.dark-mode {
    background-color: #050505;
    background-image: radial-gradient(circle at 50% 0%, #1a1a1a 0%, #050505 100%);
    background-size: auto;
    background-repeat: no-repeat;
    min-height: 100vh;
}

.logo-light { display: block; }
.logo-dark { display: none; }
.dark-mode .logo-light { display: none; }
.dark-mode .logo-dark { display: block; }

.dark-mode #header {
    background-color: rgba(26, 26, 26, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.dark-mode .menu-toggle .bar {
    background-color: var(--heading-color);
}

.dark-mode .nav-menu {
    background-color: var(--card-bg);
}

.dark-mode .testimonial-card,
.dark-mode .blog-card,
.dark-mode .portfolio-item,
.dark-mode .service-card,
.dark-mode .highlight-card,
.dark-mode .timeline-item,
.dark-mode .contact-form-wrapper,
.dark-mode .info-item,
.dark-mode .stats-grid,
.dark-mode .filter-btn,
.dark-mode .social-links a,
.dark-mode .activity-card {
    background-color: #242424; /* Lighter than black, but dark */
    border: 1px solid #333; /* Contrast border */
    color: #ddd; /* Better text contrast */
}

/* Ensure headings inside dark mode cards are bright */
.dark-mode .testimonial-card h4,
.dark-mode .blog-card h4,
.dark-mode .portfolio-item h4,
.dark-mode .service-card h4,
.dark-mode .highlight-card h4,
.dark-mode .timeline-item h4,
.dark-mode .contact-form-wrapper h4,
.dark-mode .info-item h4,
.dark-mode .activity-card h4 {
    color: #ffffff;
}

.dark-mode .portfolio-info {
    background-color: rgba(30, 30, 30, 0.95);
    border-top-color: var(--accent-color);
}
.dark-mode .portfolio-info h4 {
    color: #ffffff;
}

.dark-mode .form-group input,
.dark-mode .form-group textarea {
    background-color: #333;
    border-color: #444;
    color: var(--heading-color);
}

.dark-mode .form-group input:focus,
.dark-mode .form-group textarea:focus {
    background-color: #3a3a3a;
    border-color: var(--accent-color);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    /* Bio Pattern (Grid) Effect */
    background-image: linear-gradient(#e5e8ec 1px, transparent 1px), linear-gradient(90deg, #e5e8ec 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center top;
    transition: background-color 0.3s ease;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.bg-alt {
    background-color: transparent; /* Patterns show through, or use specific bg if needed */
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 195, 255, 0.2);
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #ffffff; /* Always white text on accent */
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 195, 255, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    margin-left: 15px;
    box-shadow: none;
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 195, 255, 0.3);
}

/* Header & Navigation */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(243, 246, 249, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu ul {
    display: flex;
    align-items: center;
    flex-direction: row;
}

.nav-menu ul li {
    margin-left: 30px;
}

.nav-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--heading-color);
    /* margin-left: 30px; - Moved to li */
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-color);
}

.theme-toggle-btn {
    margin-left: 30px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: var(--heading-color);
    transition: var(--transition);
}
.theme-toggle-btn:hover {
    color: var(--accent-color);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--heading-color);
    margin: 5px auto;
    transition: var(--transition);
}

/* Hero Section */
.hero-section {
    min-height: auto; /* Remove 100vh to reduce gap */
    display: flex;
    align-items: center;
    padding-top: 120px; /* Adjust for fixed header */
    padding-bottom: 60px;
    /* Grid pattern is on body, so it shows here too */
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hero-text {
    flex: 1;
    padding-right: 30px;
    text-align: left;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.image-wrapper {
    position: relative;
    width: 350px;
    height: 350px;
    z-index: 1;
}

.image-wrapper::before {
    display: none;
}

/* Base image style */
.img-placeholder-portrait {
    width: 100%;
    height: 100%;
    background-color: #fff;
    background-image: url('https://placehold.co/400x400/fff/333?text=MH');
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

/* Hero Section Image - Modern Blob Style */
#home .img-placeholder-portrait {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    border: 5px solid var(--accent-color);
    box-shadow: 0 20px 50px rgba(0, 195, 255, 0.2);
    animation: blob-bounce 8s ease-in-out infinite;
}

@keyframes blob-bounce {
    0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

/* About Section Image - Neon Light Animation */
#about .img-placeholder-portrait {
    border-radius: 20px;
    border: 3px solid transparent; /* Hide static border */
    box-shadow: 0 0 15px rgba(0, 195, 255, 0.5), 0 0 30px rgba(0, 195, 255, 0.3);
    position: relative;
    z-index: 1;
    background-clip: padding-box; /* Important for border-radius */
}

#about .image-wrapper {
    padding: 5px; /* Space for the moving border */
    position: relative;
    border-radius: 25px;
    overflow: hidden;
}

#about .image-wrapper::before {
    content: '';
    display: block; /* Show it now */
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, transparent, transparent, var(--accent-color));
    animation: rotate 4s linear infinite;
    z-index: -2;
}

#about .image-wrapper::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: var(--bg-color); /* Match background to hide inner part of gradient */
    border-radius: 22px;
    z-index: -1;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.hero-content .hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--heading-color);
}

.hero-content .typing-text {
    color: var(--accent-color);
    font-weight: 700;
}

.hero-content .cursor {
    display: inline-block;
    width: 3px;
    background-color: var(--heading-color);
    animation: blink 0.7s infinite;
    color: var(--heading-color);
    font-weight: 100;
    margin-left: 5px;
}

@keyframes blink {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

.accent-text {
    color: var(--accent-color);
}

.social-links {
    margin-top: 30px;
}

.social-links a {
    margin: 0 15px 0 0;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--card-bg);
    color: var(--heading-color);
    border-radius: 50%;
    margin: 0 10px 0 0;
    font-size: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 195, 255, 0.3);
}

/* Section Headers (Common) */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 400;
}

/* === Refactored About Section === */
.about-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 40px;
}

.about-image-col {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-details-col {
    flex: 1;
}

.about-sub-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.about-main-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 25px;
}

.about-description {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 30px;
}

/* About Highlights (Small Cards) */
.about-highlights {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.highlight-card {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--card-bg);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.highlight-card .icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(0, 195, 255, 0.1);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.highlight-card .text h4 {
    font-size: 18px;
    margin-bottom: 2px;
    font-weight: 600;
}

.highlight-card .text p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* Services within About */
.services-container-internal {
    margin-top: 60px; /* Add spacing */
    padding-top: 60px;
    border-top: 1px dashed #ddd;
}
.dark-mode .services-container-internal {
    border-top: 1px dashed #444;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.service-card {
    background-color: var(--card-bg);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-color);
}

.service-card .icon {
    font-size: 40px;
    color: var(--accent-color);
    margin-bottom: 25px;
}

.service-card h4 {
    font-size: 20px;
    color: var(--heading-color);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 14px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: center;
    padding: 40px;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.stat-item h3 {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--heading-color);
    font-size: 16px;
    font-weight: 500;
}

/* Resume Section */
.resume-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
}

.resume-heading {
    font-size: 24px;
    color: var(--heading-color);
    margin-bottom: 30px;
    border-left: 3px solid var(--accent-color);
    padding-left: 15px;
}

.timeline {
    position: relative;
    border-left: 2px solid #e0e0e0;
    padding-left: 30px;
}
.dark-mode .timeline {
    border-left-color: #444;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -39px;
    top: 30px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--card-bg);
    border: 3px solid var(--accent-color);
}

.timeline-item .date {
    display: inline-block;
    padding: 5px 15px;
    background-color: rgba(0, 195, 255, 0.1);
    color: var(--accent-color);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.timeline-item h4 {
    font-size: 18px;
    color: var(--heading-color);
    margin-bottom: 5px;
}

.timeline-item p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 5px;
}

.timeline-item .description {
    margin-top: 10px;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 50px;
}

.skill-item {
    margin-bottom: 25px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--heading-color);
    font-weight: 500;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}
.dark-mode .progress-bar {
    background-color: #444;
}

.progress {
    height: 100%;
    background-color: var(--accent-color);
    border-radius: 4px;
    width: 0;
    transition: width 1.5s ease-in-out;
}

/* Portfolio Section */
.portfolio-filter {
    text-align: center;
    margin-bottom: 40px;
}

.filter-btn {
    background: var(--card-bg);
    border: none;
    color: var(--text-color);
    padding: 10px 25px;
    margin: 5px;
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--font-main);
    transition: var(--transition);
    box-shadow: var(--shadow);
    font-weight: 500;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--accent-color);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 195, 255, 0.3);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    background: var(--card-bg);
    box-shadow: var(--shadow);
}

.portfolio-image {
    height: 250px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-info {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px;
    transition: var(--transition);
    text-align: center;
    border-top: 2px solid var(--accent-color);
}

.portfolio-item:hover .portfolio-info {
    bottom: 0;
}

.portfolio-info h4 {
    color: #1a1a1a; /* Force dark text even in dark mode for contrast against white bg */
    font-size: 18px;
    margin-bottom: 5px;
}

.portfolio-info .category {
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 500;
}

/* Testimonials Section */
/* .testimonials-grid replaced with slider */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-color: var(--accent-color);
}

.quote-icon {
    font-size: 30px;
    color: rgba(0, 195, 255, 0.2);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-color);
    margin-bottom: 25px;
    font-style: italic;
    line-height: 1.7;
}

.testimonial-rating {
    color: #ffc107; /* Gold for stars */
    font-size: 14px;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 2px;
}

.author-info p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}


/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.blog-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
}

.blog-content h4 {
    font-size: 18px;
    color: var(--heading-color);
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-content p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.read-more {
    font-size: 14px;
    color: var(--accent-color);
    font-weight: 600;
    position: relative;
}

.read-more::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.read-more:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* View All Blogs Button */
.view-all-container {
    text-align: right;
    margin-top: 40px;
}
.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px; /* Reduced size */
    font-size: 14px;
    border: 2px solid var(--accent-color);
    border-radius: 30px;
    color: var(--accent-color);
    font-weight: 600;
    transition: var(--transition);
}
.view-all-btn:hover {
    background-color: var(--accent-color);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Contact Section */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.info-item i {
    font-size: 24px;
    color: var(--accent-color);
    margin-right: 20px;
    width: 50px;
    height: 50px;
    background-color: rgba(0, 195, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info-details h4 {
    color: var(--heading-color);
    font-size: 18px;
    margin-bottom: 5px;
}

.info-details p {
    color: var(--text-muted);
    font-size: 14px;
}

.contact-form-wrapper {
    flex: 2;
    min-width: 300px;
    background: var(--card-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    color: var(--heading-color);
    font-family: var(--font-main);
    font-size: 14px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: var(--card-bg);
}

/* Footer */
footer {
    background-color: #1a1a1a; /* Keep dark footer for contrast */
    padding: 30px 0;
    text-align: center;
    color: #999;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 40px;
    }

    .hero-text {
        text-align: center;
        padding-right: 0;
        margin-top: 40px;
    }

    .social-links {
        justify-content: center;
        display: flex;
    }

    .about-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .about-image-col {
        width: 100%;
    }

    .about-text-col {
        text-align: center;
    }

    .resume-container, .skills-container {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }

    .about-highlights {
        justify-content: center;
    }
}

/* Social Activity Section */
.social-activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
.activity-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--card-bg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.activity-card:hover {
    transform: translateY(-5px);
}
.activity-media img, .activity-media video {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}
.embed-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}
.embed-responsive iframe,
.embed-responsive object,
.embed-responsive embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.activity-caption {
    padding: 15px;
    font-size: 14px;
    color: var(--text-color);
    border-top: 1px solid var(--border-color);
}
.activity-progress {
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.progress-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 700;
    color: var(--heading-color);
    background: rgba(0, 195, 255, 0.05);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--heading-color);
    }
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--heading-color);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--card-bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    .nav-menu ul li {
        margin: 15px 0;
        margin-left: 0;
    }

    .nav-link {
        font-size: 20px;
        margin: 0;
        color: var(--heading-color);
    }
    
    .theme-toggle-btn {
        margin-left: 0;
        margin-top: 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }

    .about-highlights {
        flex-direction: column;
    }
}
