/* Base Styles */
:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #06b6d4;
    --accent-color: #f43f5e;
    --gradient-1: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
    --gradient-2: linear-gradient(135deg, #f43f5e 0%, #f59e0b 100%);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 15px rgba(99, 102, 241, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.5;
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    position: relative;
    overflow: hidden;
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #4f46e5 0%, #10b981 100%);
    color: white;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.gradient-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s infinite;
}

.gradient-circle:nth-child(1) {
    width: 400px;
    height: 400px;
    left: -100px;
    top: -100px;
    animation-delay: -5s;
}

.gradient-circle:nth-child(2) {
    width: 300px;
    height: 300px;
    right: -50px;
    bottom: -50px;
    animation-delay: -10s;
}

.gradient-circle:nth-child(3) {
    width: 200px;
    height: 200px;
    right: 30%;
    top: 20%;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(50px, 50px);
    }
    50% {
        transform: translate(0, 100px);
    }
    75% {
        transform: translate(-50px, 50px);
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: 1rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
    gap: 0.5rem;
}

.btn.primary {
    background: #18181b;
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn.primary:hover {
    background: #6366f1;
    color: #fff;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    margin-left: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #6366f1;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Featured Section */
.featured {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.featured-header {
    text-align: center;
    margin-bottom: 3rem;
}

.featured-header .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.featured-header h2 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

.featured-slider {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease;
    gap: 2rem;
}

.featured-project {
    min-width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    background: white;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(99, 102, 241, 0.1);
    position: relative;
}

.project-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.project-metrics {
    display: flex;
    gap: 1.5rem;
}

.project-metrics span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.project-metrics i {
    color: var(--primary-color);
}

.project-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.project-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1.1rem;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.author-info .label {
    color: var(--text-secondary);
}

.author-info .name {
    font-weight: 600;
    color: var(--primary-color);
}

.author-info .department {
    padding: 0.25rem 0.75rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    border-radius: 1rem;
    font-size: 0.875rem;
}

.tech-stack, .tools-used {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tech-badge {
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.tool-badge {
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.project-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.project-image {
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.slider-arrow {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: white;
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 2rem;
    border-radius: 1rem;
    background: var(--primary-color);
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content {
    padding: 2rem;
}

.tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.department {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
}

.tag {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
}

/* Benefits Section */
.benefits {
    padding: 6rem 2rem;
    background: var(--bg-primary);
    text-align: center;
}

.benefits-header {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.benefits-header h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.benefits-header .subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.benefit-icon i {
    font-size: 2rem;
    color: white;
}

.benefit-icon.blue {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
}

.benefit-icon.green {
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
}

.benefit-icon.orange {
    background: linear-gradient(135deg, #EA580C 0%, #F97316 100%);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
}

.benefit-card h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.benefit-card p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 300px;
    margin: 0 auto;
}

@media (max-width: 968px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .benefits-header h2 {
        font-size: 2rem;
    }
    
    .benefits-header .subtitle {
        font-size: 1.1rem;
    }
}

/* Projects Grid */
.projects {
    padding: 4rem 2rem;
    background: var(--bg-secondary);
}

.filter-section {
    max-width: 1200px;
    margin: 0 auto 2rem;
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(99, 102, 241, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.search-bar {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-bar input {
    width: 100%;
    padding: 1.25rem 3rem 1.25rem 3rem;
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 1rem;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.search-bar input:focus {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
    outline: none;
}

.search-bar i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.2rem;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-dropdown {
    padding: 0.75rem 1.5rem;
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 1rem;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236366f1'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.5em;
    padding-right: 2.5rem;
}

.filter-dropdown:focus {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
    outline: none;
}

.filter-dropdown:hover {
    border-color: var(--primary-color);
}

.tag-filters {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.tag-filter {
    padding: 0.75rem 1.5rem;
    border: 2px solid transparent;
    border-radius: 1rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tag-filter::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.tag-filter:hover {
    transform: translateY(-2px);
}

.tag-filter.active {
    background: var(--gradient-1);
    color: white;
    box-shadow: var(--shadow-glow);
}

.tag-filter:not(.active):hover {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.15);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: var(--bg-primary);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(99, 102, 241, 0.1);
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    border-radius: 1.5rem;
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.project-card:hover::before {
    opacity: 0.1;
}

.project-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.project-metrics {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.project-buttons {
    display: flex;
    gap: 1rem;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-banner h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 4rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.footer-left {
    max-width: 300px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: white;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.social-icons a:hover {
    opacity: 1;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.close-modal {
    float: right;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.close-modal:hover {
    opacity: 1;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .featured-project {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-left {
        max-width: 100%;
    }

    .footer-links,
    .social-icons {
        justify-content: center;
    }

    .filters {
        flex-direction: column;
    }

    .filter-dropdown,
    .tag-filters {
        width: 100%;
    }
}

/* Loading Animation */
@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

.loading {
    animation: pulse 1.5s infinite;
}

/* --- MODERN STUDENT PROJECTS SECTION --- */

/* Modern Projects Grid & Card Styles */
.modern-projects-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: flex-start;
  margin-top: 2rem;
}

.modern-card {
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07), 0 1.5px 6px rgba(99,102,241,0.07);
  overflow: hidden;
  width: 350px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
  min-height: 520px;
}
.modern-card:hover {
  box-shadow: 0 8px 32px rgba(99,102,241,0.15), 0 2px 8px rgba(0,0,0,0.08);
  transform: translateY(-4px) scale(1.02);
}

.project-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  background: #f3f4f6;
  flex-shrink: 0;
}
.project-image img {
  width: 100%;
  object-fit: cover;
  display: block;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.status-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35em 1em;
  border-radius: 1em;
  font-size: 0.85em;
  font-weight: 600;
  text-transform: lowercase;
  background: #e0e7ff;
  color: #3730a3;
  box-shadow: 0 1px 4px rgba(99,102,241,0.08);
  z-index: 2;
}
.status-badge.need-help {
  background: #fee2e2;
  color: #b91c1c;
}
.status-badge.in-progress {
  background: #dbeafe;
  color: #2563eb;
}
.status-badge.completed {
  background: #dcfce7;
  color: #15803d;
}

.project-info {
  background: #fff;
  padding: 1.5rem 1.5rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 220px;
  justify-content: flex-start;
}
.project-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #18181b;
}
.project-description {
  color: #64748b;
  font-size: 0.97rem;
  margin-bottom: 0.75rem;
  min-height: 40px;
}
.project-meta {
  font-size: 0.93rem;
  color: #334155;
  margin-bottom: 0.5rem;
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.7rem;
}
.tag {
  background: #f1f5f9;
  color: #6366f1;
  font-size: 0.85em;
  padding: 0.25em 0.85em;
  border-radius: 1em;
  font-weight: 500;
  margin-bottom: 0.2em;
}
.project-stats {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  color: #64748b;
  font-size: 0.97em;
  margin-bottom: 1rem;
}
.project-stats i {
  color: #6366f1;
  margin-right: 0.3em;
}
.btn.primary {
  margin-top: auto;
  width: 100%;
  background: #18181b;
  color: #fff;
  border-radius: 0.7em;
  font-weight: 600;
  font-size: 1em;
  padding: 0.7em 0;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(99,102,241,0.08);
}
.btn.primary:hover {
  background: #6366f1;
  color: #fff;
  box-shadow: 0 4px 16px rgba(99,102,241,0.13);
}

/* Modern Filter Bar */
.filter-bar.modern-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
  background: #fff;
  border-radius: 1.2em;
  box-shadow: 0 2px 8px rgba(99,102,241,0.07);
  padding: 1.2em 1.5em;
  margin: 2em 0 0 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.filter-bar.modern-filter-bar .search-input {
  flex: 1 1 220px;
  min-width: 180px;
  border: 1.5px solid #e0e7ff;
  border-radius: 0.8em;
  padding: 0.7em 1.2em;
  font-size: 1em;
  background: #f8fafc;
  transition: border 0.2s;
}
.filter-bar.modern-filter-bar .search-input:focus {
  border: 1.5px solid #6366f1;
  outline: none;
}
.filter-bar.modern-filter-bar .filter-dropdown {
  min-width: 170px;
  border-radius: 0.8em;
  border: 1.5px solid #e0e7ff;
  background: #f8fafc;
  padding: 0.7em 1.2em;
  font-size: 1em;
  color: #18181b;
  transition: border 0.2s;
}
.filter-bar.modern-filter-bar .filter-dropdown:focus {
  border: 1.5px solid #6366f1;
  outline: none;
}

/* Tabs */
.project-tabs {
  display: flex;
  gap: 0.7em;
  margin: 1.2em 0 0.5em 0;
}
.tab-btn {
  background: #f1f5f9;
  color: #18181b;
  border: none;
  border-radius: 0.7em;
  padding: 0.5em 1.3em;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.tab-btn.active, .tab-btn:focus {
  background: #18181b;
  color: #fff;
}
.tab-btn:hover:not(.active) {
  background: #e0e7ff;
  color: #6366f1;
}

/* Responsive Tweaks */
@media (max-width: 1100px) {
  .modern-projects-grid {
    justify-content: center;
  }
  .modern-card {
    width: 95vw;
    max-width: 400px;
  }
}
/* @media (max-width: 900px) {
  .modern-projects-grid {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .modern-card {
    width: 100%;
    max-width: 98vw;
  }
  .filter-bar.modern-filter-bar {
    flex-direction: column;
    gap: 0.7em;
    padding: 1em 0.7em;
  }
} */
@media (max-width: 600px) {
  .modern-card {
    width: 100vw;
    border-radius: 0.5em;
  }
  .filter-bar.modern-filter-bar {
    padding: 0.7em 0.2em;
    border-radius: 0.5em;
  }
}

/* --- Modern CTA Banner --- */
.cta-banner {
  background: linear-gradient(90deg, #6366f1 0%, #06b6d4 100%);
  border-radius: 2rem;
  margin: 3rem auto 2rem auto;
  max-width: 900px;
  box-shadow: 0 8px 32px rgba(99,102,241,0.13);
  padding: 0;
}
.cta-banner .cta-content {
  padding: 3rem 2rem;
  text-align: center;
}
.cta-banner h2 {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #fff;
}
.cta-banner p {
  font-size: 1.2rem;
  color: #e0e7ff;
  margin-bottom: 2rem;
}
.cta-banner .btn.primary {
  font-size: 1.15rem;
  padding: 1rem 2.5rem;
  border-radius: 1rem;
  background: #18181b;
  color: #fff;
  box-shadow: 0 2px 8px rgba(99,102,241,0.08);
  transition: background 0.2s, color 0.2s;
}
.cta-banner .btn.primary:hover {
  background: #6366f1;
  color: #fff;
}

/* --- Modern Footer --- */
.footer {
  background: #18181b;
  color: #fff;
  padding: 3.5rem 2rem 2rem 2rem;
  border-top-left-radius: 2rem;
  border-top-right-radius: 2rem;
  box-shadow: 0 -4px 32px rgba(99,102,241,0.13);
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2.5rem;
  border-bottom: 1px solid #23272f;
  padding-bottom: 2rem;
}
.footer-left {
  flex: 1 1 260px;
  min-width: 220px;
}
.footer-logo {
  height: 48px;
  margin-bottom: 1.2rem;
}
.footer-left p {
  color: #cbd5e1;
  font-size: 1.08rem;
  margin-bottom: 1.2rem;
}
.footer-left p span {
  font-weight: 700;
  color: #fff;
}
.footer-contact {
  flex: 1 1 220px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  color: #cbd5e1;
}
.footer-contact i {
  color: #6366f1;
  min-width: 18px;
}
.footer-links {
  flex: 2 1 400px;
  min-width: 260px;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 1.2rem;
  color: #cbd5e1;
}
.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 1.08rem;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #fff;
}
.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.7rem;
  min-width: 120px;
}
.footer-social span {
  color: #cbd5e1;
  font-size: 1.08rem;
}
.social-icons {
  display: flex;
  gap: 1.2rem;
}
.social-icons a {
  font-size: 1.5rem;
  transition: color 0.2s;
}
.social-icons a:nth-child(1) { color: #6366f1; }
.social-icons a:nth-child(2) { color: #60a5fa; }
.social-icons a:nth-child(3) { color: #f59e42; }
.social-icons a:nth-child(4) { color: #06b6d4; }
.social-icons a:nth-child(5) { color: #fff; }
.social-icons a:hover { color: #fff; }
.footer-bottom {
  text-align: center;
  color: #64748b;
  font-size: 0.98rem;
  margin-top: 2.5rem;
  opacity: 0.7;
}
@media (max-width: 900px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  .footer-left, .footer-contact, .footer-links, .footer-social {
    min-width: 0;
    width: 100%;
  }
  .footer-links {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
  .footer-social {
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  .footer {
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    padding: 2rem 1rem 1rem 1rem;
  }
  .cta-banner {
    border-radius: 1rem;
    margin: 2rem 0 1rem 0;
    max-width: 98vw;
  }
  .cta-banner .cta-content {
    padding: 2rem 0.5rem;
  }
  .cta-banner h2 {
    font-size: 1.5rem;
  }
}

/* --- Modern Hero Section with SVG Grid and Animated Dot --- */
.hero {
  position: relative;
  background: #18181b;
  color: #fff;
  min-height: 80vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-svg-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  min-height: 100%;
  min-width: 100%;
}
.hero-dot {
  position: absolute;
  left: 60vw;
  top: 55vh;
  width: 18px;
  height: 18px;
  background: radial-gradient(circle,#60a5fa 0%,#6366f1 80%,transparent 100%);
  border-radius: 50%;
  filter: blur(2px);
  animation: heroDotMove 4s infinite alternate;
  z-index: 1;
  transition: box-shadow 0.3s;
  box-shadow: 0 0 32px 8px #6366f1;
}
@keyframes heroDotMove {
  0% { transform: translateY(0) scale(1); opacity: 0.7; }
  100% { transform: translateY(-40px) scale(1.2); opacity: 1; }
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}
.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #fff;
  letter-spacing: -1px;
}
.hero-gradient {
  background: linear-gradient(90deg, #6366f1 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  font-weight: 900;
}
.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #cbd5e1;
  opacity: 0.92;
  font-weight: 500;
  letter-spacing: 0.01em;
}
@media (max-width: 600px) {
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
}

/* --- Modern Footer Grid --- */
.footer {
  background: #18181b;
  color: #fff;
  padding: 3.5rem 2rem 2rem 2rem;
  border-top-left-radius: 2rem;
  border-top-right-radius: 2rem;
  box-shadow: 0 -4px 32px rgba(99,102,241,0.13);
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2.5rem;
  border-bottom: 1px solid #23272f;
  padding-bottom: 2rem;
}
.footer-left {
  flex: 1 1 260px;
  min-width: 220px;
}
.footer-logo {
  height: 48px;
  margin-bottom: 1.2rem;
}
.footer-left p {
  color: #cbd5e1;
  font-size: 1.08rem;
  margin-bottom: 1.2rem;
}
.footer-left p span {
  font-weight: 700;
  color: #fff;
}
.footer-contact {
  flex: 1 1 220px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  color: #cbd5e1;
}
.footer-contact i {
  color: #6366f1;
  min-width: 18px;
}
.footer-links {
  flex: 2 1 400px;
  min-width: 260px;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 1.2rem;
  color: #cbd5e1;
}
.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 1.08rem;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #fff;
}
.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.7rem;
  min-width: 120px;
}
.footer-social span {
  color: #cbd5e1;
  font-size: 1.08rem;
}
.social-icons {
  display: flex;
  gap: 1.2rem;
}
.social-icons a {
  font-size: 1.5rem;
  transition: color 0.2s;
}
.social-icons a:nth-child(1) { color: #6366f1; }
.social-icons a:nth-child(2) { color: #60a5fa; }
.social-icons a:nth-child(3) { color: #f59e42; }
.social-icons a:nth-child(4) { color: #06b6d4; }
.social-icons a:nth-child(5) { color: #fff; }
.social-icons a:hover { color: #fff; }
.footer-bottom {
  text-align: center;
  color: #64748b;
  font-size: 0.98rem;
  margin-top: 2.5rem;
  opacity: 0.7;
}
@media (max-width: 900px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  .footer-left, .footer-contact, .footer-links, .footer-social {
    min-width: 0;
    width: 100%;
  }
  .footer-links {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
  .footer-social {
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  .footer {
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    padding: 2rem 1rem 1rem 1rem;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}



@media (max-width: 993px) {
  .main {
    display: block;
  }
}