/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Enhanced Color Palette - More Vibrant */
    --primary-color: #5B7FFF;
    --primary-dark: #4361EE;
    --primary-light: #7C9DFF;
    --secondary-color: #FF6B9D;
    --accent-color: #A855F7;
    --success-color: #10B981;
    --warning-color: #F59E0B;

    --bg-body: #F8FAFC;
    --bg-card: #FFFFFF;
    --text-main: #1E293B;
    --text-muted: #64748B;

    --gradient-primary: linear-gradient(135deg, #5B7FFF 0%, #A855F7 100%);
    --gradient-secondary: linear-gradient(135deg, #FF6B9D 0%, #FFB84F 100%);
    --gradient-page: linear-gradient(135deg, #EFF6FF 0%, #F3E8FF 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.2) 100%);

    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(91, 127, 255, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(91, 127, 255, 0.4);

    --radius-sm: 14px;
    --radius-md: 20px;
    --radius-lg: 32px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(91, 127, 255, 0.4);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(91, 127, 255, 0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-body);
    background-image: var(--gradient-page);
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Navbar Custom */
.navbar-custom {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(91, 127, 255, 0.1);
}

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

.navbar-brand-text {
    font-weight: 800;
    font-size: 1.85rem;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    position: relative;
}

.navbar-brand-text::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 30%;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Custom Nav Menu */
.custom-nav-menu {
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    font-weight: 600;
    color: var(--text-main);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.7rem 1.4rem;
    border-radius: var(--radius-sm);
    display: block;
    position: relative;
    font-size: 0.95rem;
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-sm);
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s;
}

.nav-link:hover::before {
    opacity: 0.1;
}

.nav-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-link.active {
    color: white;
    background: var(--gradient-primary);
    box-shadow: var(--shadow-sm), 0 0 0 3px rgba(91, 127, 255, 0.1);
}

/* Hero Section */
.hero-wrap {
    background: var(--gradient-primary);
    color: white;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    margin-bottom: 4rem;
    padding: 6rem 2rem 5rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.hero-wrap::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-wrap::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-grid {
    display: flex;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.9s ease-out forwards;
}

.hero-copy {
    flex: 1;
}

.hero-visual {
    flex: 0 0 320px;
    display: flex;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
}

.hero-photo-wrapper {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    position: relative;
}

.hero-photo-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1));
    border-radius: 50%;
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
}

.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.2rem;
    font-weight: 700;
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.6rem;
    opacity: 0.95;
    margin-bottom: 1.2rem;
    font-weight: 400;
}

.hero-desc {
    font-size: 1.2rem;
    opacity: 0.88;
    margin-bottom: 2.5rem;
    max-width: 600px;
    font-weight: 300;
    line-height: 1.8;
}

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

.btn-solid {
    background: white;
    color: var(--primary-color);
    padding: 1rem 2.2rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.btn-solid::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(91, 127, 255, 0.1));
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.btn-solid:hover::before {
    transform: translateX(100%);
}

.btn-solid:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(91, 127, 255, 0.3);
    color: var(--primary-dark);
}

.btn-soft,
.btn-ghost {
    background: rgba(255, 255, 255, 0.18);
    color: white;
    padding: 1rem 2.2rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s;
}

.btn-soft:hover,
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    animation: fadeInUp 1s ease-out forwards 0.3s;
    opacity: 0;
}

/* Feature Cards in Hero (white text on gradient) */
.hero-wrap .feature-card {
    background: var(--gradient-glass);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
}

/* Feature Cards on Main Page (dark text on white) */
.main-container .feature-card,
.feature-card {
    background: white;
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1.5px solid rgba(91, 127, 255, 0.15);
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(91, 127, 255, 0.05), transparent);
    transform: rotate(45deg);
    transition: all 0.6s;
}

.feature-card:hover::before {
    right: -100%;
}

.hero-wrap .feature-card:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 24px 48px rgba(91, 127, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    color: white;
}

.main-container .feature-card:hover,
.feature-card:hover {
    background: white;
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: rgba(91, 127, 255, 0.3);
    color: var(--text-main);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.6rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    color: white;
}

.feature-icon-primary {
    background: linear-gradient(135deg, #5B7FFF, #7C9DFF);
}

.feature-icon-secondary {
    background: linear-gradient(135deg, #FF6B9D, #FFB84F);
}

.feature-icon-tertiary {
    background: linear-gradient(135deg, #A855F7, #C084FC);
}

.feature-label {
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

/* For hero cards, keep label white */
.hero-wrap .feature-label {
    color: white;
}

/* For main page cards, make label dark */
.main-container .feature-label,
.feature-card .feature-label {
    color: var(--text-main);
}

.feature-text {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
    line-height: 1.6;
}

/* Ensure text inherits properly */
.hero-wrap .feature-text {
    color: rgba(255, 255, 255, 0.9);
}

.main-container .feature-text,
.feature-card .feature-text {
    color: var(--text-muted);
}

/* Main Container */
.main-container {
    padding-bottom: 6rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* CV Card */
.cv-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 2.5rem;
    display: flex;
    gap: 2.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1);
    border: 1px solid rgba(91, 127, 255, 0.08);
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    animation-delay: 0.2s;
}

.cv-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(91, 127, 255, 0.2);
}

.cv-photo {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 5px solid white;
}

.cv-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cv-info {
    flex-grow: 1;
}

.cv-info dl {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 1rem;
    margin-bottom: 0;
}

.cv-info dt {
    font-weight: 700;
    color: var(--primary-color);
}

.cv-info dd {
    margin-bottom: 0;
    color: var(--text-main);
}

/* Search Filter Section */
.search-filter-section {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin-bottom: 2.5rem;
    border: 1px solid rgba(91, 127, 255, 0.08);
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Section Heading */
.section-heading {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 2.5rem;
    color: var(--text-main);
    font-weight: 800;
    font-size: 2.2rem;
    animation: slideIn 0.8s ease-out forwards;
}

.section-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 6px;
    background: var(--gradient-primary);
    border-radius: 4px;
}

/* Sorting Links */
.sorting-links {
    margin-bottom: 2rem;
    padding: 1rem;
    background: white;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.sorting-links a {
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    background: var(--bg-body);
    border: 1.5px solid transparent;
}

.sorting-links a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Bootstrap Button Overrides */
.btn {
    border-radius: var(--radius-sm);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 6px 16px rgba(91, 127, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(91, 127, 255, 0.4);
    background: var(--gradient-primary);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: 0 6px 16px rgba(255, 107, 157, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(255, 107, 157, 0.4);
}

/* Forms */
.form-control {
    border-radius: var(--radius-sm);
    border: 2px solid rgba(91, 127, 255, 0.15);
    padding: 0.85rem 1.2rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    color: var(--text-main);
    background: white;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(91, 127, 255, 0.12);
    outline: none;
}

/* Select Dropdown Specific Styling */
select.form-control {
    appearance: auto !important;
    -webkit-appearance: auto !important;
    -moz-appearance: auto !important;
    cursor: pointer;
    color: #1E293B !important;
    font-weight: 600 !important;
    background-color: #FFFFFF !important;
}

select.form-control option {
    color: #1E293B !important;
    background: #FFFFFF !important;
    padding: 0.5rem;
    font-weight: 500;
}

/* Placeholder style for select */
select.form-control option[value=""] {
    color: #64748B !important;
    font-weight: 600 !important;
}

/* Activity Card */
.activity-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s;
    border: 1px solid rgba(91, 127, 255, 0.08);
    animation: fadeInUp 0.8s ease-out forwards;
}

.activity-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(91, 127, 255, 0.2);
}

.activity-meta {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
    display: inline-block;
    background: rgba(91, 127, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
}

.activity-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.activity-details {
    flex: 1;
}

.activity-media {
    flex-shrink: 0;
    width: 320px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 3px solid white;
}

.activity-media img,
.activity-media video {
    width: 100%;
    display: block;
    border-radius: var(--radius-sm);
}

/* Education Timeline */
.education-timeline {
    position: relative;
    padding-left: 2.5rem;
    border-left: 3px solid rgba(91, 127, 255, 0.25);
    margin-left: 1.5rem;
}

.timeline-item {
    margin-bottom: 3.5rem;
    position: relative;
    animation: slideIn 0.8s ease-out forwards;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.9rem;
    top: 1.8rem;
    width: 18px;
    height: 18px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 6px rgba(91, 127, 255, 0.2);
    z-index: 1;
}

.timeline-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(91, 127, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1);
}

.timeline-card:hover {
    transform: translateX(12px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(91, 127, 255, 0.2);
}

.timeline-meta {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: inline-block;
    background: rgba(255, 107, 157, 0.12);
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
}

.timeline-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

/* Footer */
footer {
    background: white;
    color: var(--text-muted);
    padding: 3rem 0;
    text-align: center;
    font-size: 0.95rem;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.04);
    border-top: 1px solid rgba(91, 127, 255, 0.08);
    margin-top: auto;
}

/* Alerts */
.alert {
    border-radius: var(--radius-sm);
    border: none;
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-sm);
}

.alert-info {
    background: rgba(91, 127, 255, 0.1);
    color: var(--primary-dark);
    border-left: 4px solid var(--primary-color);
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
    border-left: 4px solid var(--success-color);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #991B1B;
    border-left: 4px solid #EF4444;
}

/* Animation Helpers */
.anim-fade-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Responsive */
@media (max-width: 992px) {
    .navbar-custom .container {
        flex-direction: column;
        gap: 1rem;
    }

    .custom-nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-grid {
        flex-direction: column;
        text-align: center;
        padding-top: 2rem;
    }

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

    .hero-visual {
        margin-top: 0;
    }

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

    .timeline-meta {
        font-size: 0.75rem;
    }
}

/* Hamburger Menu */
.navbar-toggler {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.navbar-toggler span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.navbar-toggler.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.navbar-toggler.active span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {

    /* Navbar Mobile */
    .navbar-toggler {
        display: block;
    }

    .custom-nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(24px);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
        z-index: 1000;
        align-items: stretch;
        gap: 0.5rem;
    }

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

    .custom-nav-menu li {
        width: 100%;
    }

    .nav-link {
        display: block;
        text-align: center;
        padding: 1rem;
    }

    /* Hero Mobile */
    .hero-grid {
        flex-direction: column;
        text-align: center;
    }

    .hero-visual {
        order: -1;
    }

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

    .hero-photo-wrapper {
        width: 200px;
        height: 200px;
    }

    /* Cards Mobile */
    .cv-card {
        flex-direction: column;
        padding: 1.5rem;
    }

    .cv-photo {
        margin: 0 auto;
        width: 150px;
        height: 150px;
    }

    .cv-info dl {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .hero-wrap {
        padding: 4rem 1.5rem;
        border-radius: 0 0 20px 20px;
    }

    .activity-card {
        flex-direction: column;
    }

    .activity-media {
        width: 100%;
        max-width: 100%;
    }

    .section-heading {
        font-size: 1.8rem;
    }

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

    .main-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .search-filter-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .btn-solid,
    .btn-soft,
    .btn-ghost {
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
}