:root {
    --primary-color: #6366f1;
    /* Modern Indigo */
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --primary-dark: #4f46e5;
    --secondary-color: #f43f5e;
    /* Rose */
    --accent-color: #10b981;
    /* Emerald */
    --dark-color: #0f172a;
    /* Slate 900 */
    --dark-light: #1e293b;
    /* Slate 800 */
    --light-color: #f8fafc;
    /* Slate 50 */
    --gray-color: #64748b;
    /* Slate 500 */
    --success-color: #10b981;
    --border-radius: 16px;
    --box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 20px 50px -12px rgba(99, 102, 241, 0.25);
    --transition: cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: #475569;
    background-color: var(--light-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Selection */
::selection {
    background-color: var(--primary-color);
    color: white;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
    border: 3px solid var(--light-color);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

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

.btn {
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg);
    transition: none;
}

.btn-primary:hover::after {
    left: 120%;
    transition: all 0.6s ease-in-out;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

/* Navigation - Mobile Optimized */
.navbar {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    padding: 20px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    padding: 12px 0;
    background-color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark-color) !important;
}

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

.navbar-brand .short-name {
    display: none;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    font-size: 1.2rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-nav .nav-link {
    color: var(--dark-color) !important;
    font-weight: 500;
    margin: 0 5px;
    padding: 8px 12px !important;
    border-radius: 6px;
    transition: var(--transition);
    font-size: 0.95rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    background-color: rgba(108, 99, 255, 0.08);
}

/* Hero Section - Mobile Optimized */
.hero-section {
    padding: 150px 0 100px;
    background: #fff;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Background Animated Blobs */
.bg-blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--primary-color);
    filter: blur(80px);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.15;
    animation: blobify 20s infinite alternate;
}

.blob-1 {
    top: -100px;
    right: -100px;
    background: var(--primary-color);
}

.blob-2 {
    bottom: -150px;
    left: -100px;
    background: var(--secondary-color);
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    left: 40%;
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    animation-delay: -10s;
}

@keyframes blobify {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}



.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.hero-content h1 span {
    background: var(--primary-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.hero-content h1 span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 12px;
    background-color: var(--primary-color);
    bottom: 8px;
    left: 0;
    z-index: -1;
    opacity: 0.15;
    border-radius: 4px;
}

.hero-content h2 {
    font-size: 1.4rem;
    color: var(--gray-color);
    margin-bottom: 25px;
    font-weight: 500;
    line-height: 1.4;
}

.hero-content p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 35px;
}

.hero-image-container {
    position: relative;
    z-index: 1;
    margin-top: 40px;
}

.hero-image {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    max-height: 400px;
    object-fit: cover;
}

.hero-image:hover {
    transform: translateY(-10px);
}

/* Section Common Styles */
section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 5px;
    background: var(--primary-gradient);
    bottom: -12px;
    left: 0;
    border-radius: 10px;
}

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

.section-title-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    color: var(--gray-color);
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
    line-height: 1.6;
}

/* About Section */
.about-section {
    background-color: #fff;
}

.about-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.about-content p {
    margin-bottom: 18px;
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
}

.about-content p.lead {
    font-size: 1.1rem;
    color: #444;
    font-weight: 500;
}

.info-list {
    list-style: none;
    padding: 0;
    margin-top: 25px;
}

.info-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.info-list i {
    color: var(--primary-color);
    margin-right: 12px;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* Skills Section */
.skills-section {
    background-color: #f9f9ff;
}

.skill-category {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: var(--transition);
    margin-bottom: 25px;
}

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

.skill-category h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(108, 99, 255, 0.1);
}

.skill-item {
    margin-bottom: 20px;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    align-items: center;
}

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

.skill-percentage {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.skill-bar {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 4px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.1, 0.5, 0.5, 1);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

/* Projects Section */
.projects-section {
    background-color: #fff;
}

.project-card {
    background: #ffffff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 20px -10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    position: relative;
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.2);
}

.project-img-container {
    height: 200px;
    overflow: hidden;
}

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

.project-card:hover .project-img {
    transform: scale(1.05);
}

.project-content {
    padding: 20px;
}

.project-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-color);
    line-height: 1.3;
}

.project-description {
    color: var(--gray-color);
    margin-bottom: 15px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 15px;
}

.tech-tag {
    background: rgba(99, 102, 241, 0.06);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.725rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: var(--transition);
}

.project-card:hover .tech-tag {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.2);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 8px 20px;
    background-color: white;
    border: 2px solid #e9ecef;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
}

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

/* Experience Section */
.experience-section {
    background-color: #fff;
}

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

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--primary-gradient);
    top: 0;
    bottom: 0;
    left: 25px;
    margin-left: -1px;
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 70px;
}

.timeline-icon {
    position: absolute;
    left: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 3px #fff, 0 4px 15px rgba(99, 102, 241, 0.2);
    z-index: 1;
    transition: var(--transition);
}

.timeline-item:hover .timeline-icon {
    transform: scale(1.1);
    box-shadow: 0 0 0 3px #fff, 0 8px 25px rgba(99, 102, 241, 0.4);
}

.timeline-icon img {
    width: 50px;
    height: 40px;
    object-fit: contain;
}

.timeline-content {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--box-shadow);
}

.timeline-date {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 12px;
    display: inline-block;
    background-color: rgba(99, 102, 241, 0.08);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.timeline-content h5 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--dark-color);
    line-height: 1.3;
}

.timeline-content .company {
    color: var(--gray-color);
    margin-bottom: 12px;
    font-size: 0.9rem;
    font-weight: 500;
}

.timeline-content ul {
    padding-left: 18px;
    margin-bottom: 0;
}

.timeline-content li {
    margin-bottom: 6px;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
}


/* Enhanced Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.05) 0%, rgba(108, 99, 255, 0.02) 100%);
    top: -200px;
    right: -100px;
    z-index: 0;
}

.testimonial-card {
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 35px;
    box-shadow: 0 4px 25px -10px rgba(0, 0, 0, 0.05);
    height: 100%;
    position: relative;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    z-index: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px -15px rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.2);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    font-size: 6rem;
    color: rgba(108, 99, 255, 0.08);
    top: 5px;
    left: 15px;
    font-family: Georgia, serif;
    line-height: 1;
    z-index: 0;
}

.testimonial-rating {
    display: flex;
    gap: 3px;
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #FFD700;
    font-size: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    font-size: 1.05rem;
    line-height: 1.7;
    padding-left: 10px;
    border-left: 3px solid var(--primary-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(108, 99, 255, 0.1);
}

.author-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.2);
    transition: var(--transition);
}

.testimonial-card:hover .author-avatar {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(108, 99, 255, 0.3);
}

.author-info h6 {
    margin-bottom: 5px;
    color: var(--dark-color);
    font-size: 1.05rem;
    font-weight: 700;
}

.author-info p {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.platform-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    background: linear-gradient(135deg, #1DBF73, #19a463);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 3px 10px rgba(29, 191, 115, 0.2);
}

.platform-badge.fiverr {
    background: linear-gradient(135deg, #1DBF73, #19a463);
}

.platform-badge.upwork {
    background: linear-gradient(135deg, #14A800, #0F9200);
}

.platform-badge.linkedin {
    background: linear-gradient(135deg, #0A66C2, #004182);
}

.date-badge {
    position: absolute;
    bottom: 25px;
    right: 25px;
    color: var(--gray-color);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Testimonial Stats */
.testimonial-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--gray-color);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .testimonial-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        padding: 30px 25px;
    }

    .testimonial-card::before {
        font-size: 5rem;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .testimonial-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat-item {
        flex: 0 0 calc(50% - 20px);
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .testimonial-card {
        padding: 25px 20px;
    }

    .testimonial-card::before {
        font-size: 4rem;
        top: 10px;
        left: 10px;
    }

    .testimonial-text {
        font-size: 0.95rem;
        padding-left: 8px;
        border-left-width: 2px;
    }

    .author-avatar {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .platform-badge {
        top: 20px;
        right: 20px;
        padding: 4px 12px;
        font-size: 0.75rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }
}

/* Contact Section */
.contact-section {
    background-color: #f9f9ff;
}

.contact-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(108, 99, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-info h5 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--dark-color);
}

.contact-info p {
    color: var(--gray-color);
    margin: 0;
    font-size: 0.9rem;
}

.contact-info a {
    color: var(--gray-color);
}

.contact-info a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: rgba(99, 102, 241, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.1rem;
    transition: var(--transition);
    border: 1px solid rgba(99, 102, 241, 0.08);
}

.social-link:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-5px) rotate(8deg);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
    border-color: transparent;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 25px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
    letter-spacing: -0.5px;
}

.footer-logo span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-title {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: white;
    position: relative;
    padding-bottom: 8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    width: 35px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    margin-top: 40px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    font-size: 0.85rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
    font-size: 0.9rem;
}

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

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

/* WhatsApp Floating Button */
.whatsapp-btn {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-image-container {
        margin-top: 50px;
    }

    .navbar-brand .full-name {
        display: none;
    }

    .navbar-brand .short-name {
        display: inline;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content h2 {
        font-size: 1.2rem;
    }

    section {
        padding: 60px 0;
    }

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

    .section-subtitle {
        margin-bottom: 30px;
    }

    .contact-card {
        padding: 25px 20px;
    }

    .btn {
        padding: 10px 24px;
        font-size: 0.95rem;
    }

    .navbar-nav {
        background: white;
        padding: 15px;
        border-radius: 10px;
        margin-top: 15px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .navbar-nav .nav-link {
        margin: 5px 0;
        padding: 10px 15px !important;
    }

    .filter-buttons {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content h2 {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .btn {
        padding: 9px 20px;
        font-size: 0.9rem;
    }

    .btn-sm {
        padding: 7px 16px;
        font-size: 0.85rem;
    }

    .project-img-container {
        height: 180px;
    }

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

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-icon {
        width: 45px;
        height: 45px;
    }

    .timeline-icon img {
        width: 22px;
        height: 22px;
    }

    .navbar-brand {
        font-size: 1.5rem;
    }

    .hero-image {
        max-height: 300px;
    }
}

@media (max-width: 400px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .contact-card {
        padding: 20px 15px;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-right: 12px;
    }

    .social-link {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    .navbar-brand {
        font-size: 1.3rem;
    }
}