/* Projects Page Specific Styles */

/* Hero Section */
.projects-hero {
    position: relative;
    min-height: 60vh;
     background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-top: 80px;
    color:black;
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    background: 
        radial-gradient(circle at 20% 50%, rgba(64, 169, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 206, 209, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(147, 51, 234, 0.2) 0%, transparent 50%);
    animation: bgAnimation 20s ease-in-out infinite;
}

@keyframes bgAnimation {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-20px, -20px) scale(1.1); }
    50% { transform: translate(20px, -10px) scale(0.9); }
    75% { transform: translate(-10px, 20px) scale(1.05); }
}

.projects-hero .container {
    position: relative;
    z-index: 2;
}

.projects-hero .hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.3s;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.projects-hero .hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.5s;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.7s;
}

.hero-stats .stat-item {
    text-align: center;
    color: var(--white);
}

.hero-stats .stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--aqua-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stats .stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 3px;
    height: 10px;
    background: var(--white);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

/* Filter Section */
.filter-section {
    background: var(--soft-gray);
    position: sticky;
    top: 80px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.filter-wrapper {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem 0;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    background: var(--white);
    border: 2px solid transparent;
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--gradient-1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 0;
}

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

.filter-btn:hover::before,
.filter-btn.active::before {
    width: 200px;
    height: 200px;
}

.filter-btn span {
    position: relative;
    z-index: 1;
}

.filter-btn.active {
    background: var(--gradient-1);
    color: var(--white);
}

/* Projects Grid */
.projects-grid-section {
    background: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(64, 169, 255, 0.9) 0%, rgba(0, 206, 209, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.overlay-content {
    display: flex;
    gap: 1rem;
}

.overlay-content a {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
    transform: translateY(20px);
    opacity: 0;
}

.project-card:hover .overlay-content a {
    transform: translateY(0);
    opacity: 1;
}

.project-card:hover .overlay-content a:nth-child(1) {
    transition-delay: 0.1s;
}

.project-card:hover .overlay-content a:nth-child(2) {
    transition-delay: 0.2s;
}

.overlay-content a:hover {
    background: var(--dark-gray);
    color: var(--white);
    transform: scale(1.1);
}

.project-content {
    padding: 2rem;
}

.project-category {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.project-title {
    font-size: 1.5rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-weight: 700;
}

.project-description {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-tech span {
    padding: 0.4rem 1rem;
    background: rgba(64, 169, 255, 0.1);
    color: var(--primary-blue);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(64, 169, 255, 0.2);
}

.project-stats {
    display: flex;
    gap: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--medium-gray);
}

.project-stats .stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.project-stats .stat i {
    color: var(--primary-blue);
}

/* Case Study Section */
.case-study-section {
    background: var(--soft-gray);
    position: relative;
    overflow: hidden;
}

.case-study-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.case-study-image img {
    width: 100%;
    height: auto;
    transition: transform 0.6s ease;
}

.case-study-image:hover img {
    transform: scale(1.05);
}

.image-stats {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.stat-badge {
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--dark-gray);
}

.stat-badge i {
    color: var(--primary-blue);
    font-size: 1.2rem;
}

.case-study-content h3 {
    font-size: 2rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.challenge-solution {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.challenge,
.solution {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.challenge h4,
.solution h4 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.challenge h4 i {
    color: var(--pink-accent);
}

.solution h4 i {
    color: var(--aqua);
}

.results {
    background: linear-gradient(135deg, rgba(64, 169, 255, 0.1) 0%, rgba(0, 206, 209, 0.1) 100%);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.results h4 {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.results h4 i {
    color: var(--primary-blue);
}

.result-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

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

.result-item .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.result-item .label {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Technology Showcase Section */
.tech-showcase-section {
    background: var(--white);
}

.tech-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.tech-showcase-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.tech-showcase-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.showcase-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.tech-showcase-item:hover .showcase-image img {
    transform: scale(1.1);
}

.tech-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    color: var(--white);
    transform: translateY(100px);
    transition: transform 0.4s ease;
}

.tech-showcase-item:hover .tech-overlay {
    transform: translateY(0);
}

.tech-overlay h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.tech-overlay p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.showcase-details {
    background: var(--white);
    padding: 1.5rem;
    display: flex;
    justify-content: space-around;
}

.detail-item {
    text-align: center;
    flex: 1;
}

.detail-item i {
    display: block;
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.detail-item span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 500;
}

/* Success Stories Section */
.success-stories-section {
    background: linear-gradient(135deg, var(--soft-gray) 0%, rgba(64, 169, 255, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.stories-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.story-card {
    display: none;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.story-card.active {
    display: grid;
    grid-template-columns: 300px 1fr;
    opacity: 1;
    transform: translateX(0);
}

.story-image {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-content {
    padding: 3rem;
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    opacity: 0.2;
    margin-bottom: 1rem;
}

.testimonial {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-style: italic;
}

.client-info h4 {
    color: var(--dark-gray);
    margin-bottom: 0.3rem;
}

.client-info p {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.rating {
    color: var(--aqua);
}

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

.nav-btn {
    width: 50px;
    height: 50px;
    border: 2px solid var(--primary-blue);
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    cursor: pointer;
    transition: var(--transition);
}

.nav-btn:hover {
    background: var(--gradient-1);
    color: var(--white);
    transform: scale(1.1);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--medium-gray);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--primary-blue);
    transform: scale(1.2);
}

/* Open Source Section */
.opensource-section {
    background: var(--white);
}

.opensource-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.github-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--soft-gray) 0%, var(--white) 100%);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 2rem;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.contribution-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contribution-item {
    background: var(--soft-gray);
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.contribution-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.repo-info h4 {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.repo-info h4 i {
    color: var(--primary-blue);
}

.repo-info p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.repo-stats {
    display: flex;
    gap: 1rem;
}

.repo-stats span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.repo-stats i {
    color: var(--aqua);
}

/* CTA Section */
.projects-cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--aqua) 100%);
    position: relative;
    overflow: hidden;
}

.projects-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.projects-cta-section .cta-content {
    position: relative;
    z-index: 2;
}

.projects-cta-section .cta-title {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.projects-cta-section .cta-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.projects-cta-section .btn {
    background: var(--white);
    color: var(--primary-blue);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.projects-cta-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.projects-cta-section .btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.projects-cta-section .btn-outline:hover {
    background: var(--white);
    color: var(--primary-blue);
}

/* Animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) {
    .projects-hero .hero-title {
        font-size: 3.5rem;
    }
    
    .projects-hero .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-stats .stat-item h3 {
        font-size: 2.5rem;
    }
    
    .hero-stats .stat-item p {
        font-size: 1rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
    
    .case-study-content h3 {
        font-size: 1.8rem;
    }
    
    .result-item .number {
        font-size: 2rem;
    }
    
    .tech-overlay h4 {
        font-size: 1.3rem;
    }
    
    .tech-overlay p {
        font-size: 0.85rem;
    }
    
    .testimonial {
        font-size: 1.1rem;
    }
    
    .opensource-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-cta-section .cta-title {
        font-size: 2.2rem;
    }
    
    .projects-cta-section .cta-description {
        font-size: 1.1rem;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .projects-hero {
        min-height: 50vh;
    }
    
    .projects-hero .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .projects-hero .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .hero-stats .stat-item h3 {
        font-size: 2rem;
    }
    
    .hero-stats .stat-item p {
        font-size: 0.9rem;
    }
    
    .filter-wrapper {
        gap: 0.5rem;
        padding: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-title {
        font-size: 1.3rem;
    }
    
    .project-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .project-tech span {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
    }
    
    .project-stats .stat {
        font-size: 0.85rem;
    }
    
    .case-study-content h3 {
        font-size: 1.5rem;
    }
    
    .case-study-content p {
        font-size: 0.9rem;
    }
    
    .challenge h4,
    .solution h4,
    .results h4 {
        font-size: 1.1rem;
    }
    
    .challenge p,
    .solution p {
        font-size: 0.85rem;
    }
    
    .result-items {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .result-item .number {
        font-size: 1.8rem;
    }
    
    .result-item .label {
        font-size: 0.85rem;
    }
    
    .tech-showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-overlay h4 {
        font-size: 1.2rem;
    }
    
    .tech-overlay p {
        font-size: 0.8rem;
    }
    
    .detail-item span {
        font-size: 0.85rem;
    }
    
    .story-card.active {
        grid-template-columns: 1fr;
    }
    
    .story-image {
        height: 250px;
        min-height: auto;
    }
    
    .story-content {
        padding: 2rem;
    }
    
    .testimonial {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .client-info h4 {
        font-size: 1.1rem;
    }
    
    .client-info p {
        font-size: 0.9rem;
    }
    
    .nav-btn {
        width: 45px;
        height: 45px;
    }
    
    .github-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-card h3 {
        font-size: 1.8rem;
    }
    
    .contribution-item {
        flex-direction: column;
        align-items: start;
        gap: 1rem;
    }
    
    .repo-info h4 {
        font-size: 1rem;
    }
    
    .repo-info p {
        font-size: 0.85rem;
    }
    
    .projects-cta-section .cta-title {
        font-size: 1.8rem;
    }
    
    .projects-cta-section .cta-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .projects-cta-section .btn {
        font-size: 0.9rem;
        padding: 0.8rem 1.8rem;
    }
}

/* Responsive Design - Small Mobile */
@media (max-width: 576px) {
    .projects-hero .hero-title {
        font-size: 2rem;
    }
    
    .projects-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats .stat-item h3 {
        font-size: 1.8rem;
    }
    
    .hero-stats .stat-item p {
        font-size: 0.85rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .project-card {
        border-radius: 15px;
    }
    
    .project-image {
        height: 200px;
    }
    
    .project-content {
        padding: 1.5rem;
    }
    
    .project-category {
        font-size: 0.8rem;
    }
    
    .project-title {
        font-size: 1.2rem;
    }
    
    .project-description {
        font-size: 0.85rem;
    }
    
    .project-tech {
        gap: 0.3rem;
    }
    
    .project-tech span {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
    
    .project-stats {
        gap: 1rem;
    }
    
    .project-stats .stat {
        font-size: 0.8rem;
    }
    
    .case-study-content h3 {
        font-size: 1.3rem;
    }
    
    .case-study-content .lead {
        font-size: 0.9rem;
    }
    
    .challenge,
    .solution,
    .results {
        padding: 1rem;
    }
    
    .tech-showcase-item {
        border-radius: 15px;
    }
    
    .showcase-image {
        height: 250px;
    }
    
    .tech-overlay {
        padding: 1.5rem;
    }
    
    .showcase-details {
        padding: 1rem;
    }
    
    .detail-item i {
        font-size: 1.2rem;
    }
    
    .story-content {
        padding: 1.5rem;
    }
    
    .quote-icon {
        font-size: 2rem;
    }
    
    .testimonial {
        font-size: 0.9rem;
    }
    
    .carousel-navigation {
        gap: 0.5rem;
    }
    
    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    .stat-card {
        padding: 1.2rem;
    }
    
    .stat-card i {
        font-size: 2rem;
    }
    
    .stat-card h3 {
        font-size: 1.5rem;
    }
    
    .stat-card p {
        font-size: 0.85rem;
    }
    
    .contribution-item {
        padding: 1rem;
    }
    
    .projects-cta-section .cta-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .projects-cta-section .cta-description {
        font-size: 0.9rem;
    }
    
    .projects-cta-section .btn {
        font-size: 0.85rem;
        padding: 0.7rem 1.5rem;
    }
}

/* Responsive Design - Extra Small Mobile */
@media (max-width: 360px) {
    .projects-hero .hero-title {
        font-size: 1.8rem;
    }
    
    .projects-hero .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .hero-stats .stat-item h3 {
        font-size: 1.5rem;
    }
    
    .hero-stats .stat-item p {
        font-size: 0.8rem;
    }
    
    .filter-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .projects-grid {
        gap: 1rem;
    }
    
    .project-title {
        font-size: 1.1rem;
    }
    
    .project-description {
        font-size: 0.8rem;
    }
}