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

html{
    scroll-behavior: smooth;
}

body {
    background-color: #0a0a0a;
    overflow-x: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #ffffff;
    line-height: 1.6;
}

/* Scroll Progress Bar */
.scroll-progress{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.scroll-progress-bar{
    height: 100%;
    background: linear-gradient(90deg, #ff004f, #ff6b6b);
    width: 0%;
    transition: width 0.1s ease;
}

#header {
    width: 100%;
    min-height: 100vh;
    /* Programming setup background - Replace with your preferred image */
    background-image: url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?ixlib=rb-4.0.3&auto=format&fit=crop&w=2072&q=80');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: #0a0a0a;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* No blur - clear background image */
#header::after {
    display: none;
}

/* Dark overlay for text readability */
#header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1;
    pointer-events: none;
}

/* Social Media Links at Top of Hero */
.header-social-links {
    position: absolute;
    top: 30px;
    left: 40px;
    display: flex;
    gap: 20px;
    z-index: 10;
    align-items: center;
}

.header-social-links a {
    color: #ffffff;
    font-size: 20px;
    transition: all 0.3s ease;
    opacity: 1;
    text-decoration: none;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9), 0 0 15px rgba(0, 0, 0, 0.6);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
}

.header-social-links a:hover {
    color: #ff004f;
    opacity: 1;
    transform: translateY(-3px);
}

/* Technologies Section */
.technologies {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 25px 0 30px 0;
    font-size: 16px;
    color: #ffffff;
    font-weight: 400;
}

.tech-item {
    color: #ffffff;
    opacity: 1;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9), 0 0 12px rgba(0, 0, 0, 0.6);
    font-weight: 500;
}

.tech-item:hover {
    color: #ff004f;
    opacity: 1;
}

.tech-separator {
    color: #ffffff;
    opacity: 0.8;
    margin: 0 4px;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8);
}



.container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-image: url('images/mato.jpeg');
    background-size: contain;
    background-position: right center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-color: #0a0a0a;
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to left, 
        rgba(10, 10, 10, 0.95) 0%, 
        rgba(10, 10, 10, 0.85) 40%, 
        rgba(10, 10, 10, 0.5) 70%, 
        transparent 100%);
    z-index: -1;
}

nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Hide nav initially */
nav.nav-hidden {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
}

/* Show nav when scrolled */
nav.nav-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.logo{
    width: 140px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

nav ul {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Hide menu toggle and close buttons on desktop */
.menu-toggle,
.menu-close {
    display: none;
}

nav ul li{
    display: inline-block;
    list-style: none;
}

nav ul li  a{
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 16px;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 4px;
}

nav ul li a:hover {
    color: #ff004f;
    background: rgba(255, 0, 79, 0.1);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #ff004f;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: calc(100% - 32px);
}

/* Professional Header Design */
.header_content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 40px;
    position: relative;
    z-index: 2;
    text-align: left;
}

.header_text {
    flex: 0 0 auto;
    max-width: 700px;
    z-index: 2;
    background: transparent;
    padding: 0;
    margin: 0;
    border-radius: 0;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
    text-align: left;
}

.intro-text {
    animation: fadeInUp 1s ease-out;
    text-align: left;
}

.greeting {
    font-size: 18px;
    color: #ffffff;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: block;
    opacity: 1;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9), 0 0 15px rgba(0, 0, 0, 0.5);
}

.name {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px 0;
    line-height: 1.1;
    letter-spacing: -2px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 0, 0, 0.5);
}

.highlight {
    color: #ff004f;
    position: relative;
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 0, 79, 0.3);
}

.title-container {
    margin-bottom: 25px;
}

.job-title {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: #ffffff;
    font-weight: 400;
    margin: 0 0 30px 0;
    line-height: 1.4;
    letter-spacing: 0.3px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.9), 0 0 15px rgba(0, 0, 0, 0.6);
}

.title-underline {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff004f, #ff6b6b);
    border-radius: 2px;
}

.description {
    font-size: 1.1rem;
    color: #ffffff;
    line-height: 1.8;
    margin-bottom: 50px;
    max-width: 600px;
    font-weight: 300;
    opacity: 1;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9), 0 0 12px rgba(0, 0, 0, 0.6);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    min-width: 150px;
}

.btn-primary {
    background: #ff004f;
    color: white;
    border: 2px solid #ff004f;
    padding: 18px 35px;
    font-size: 16px;
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 0, 79, 0.4);
    background: #ff6b6b;
    border-color: #ff6b6b;
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 18px 35px;
    font-size: 16px;
    font-weight: 600;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

/* Header Image Section */
.header_image {
    display: none; /* Hide the image element, using background instead */
}

.image-container {
    display: none; /* Hide the image container */
}

.profile-image {
    display: none; /* Hide the profile image */
}

.image-overlay {
    display: none; /* Hide the image overlay */
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.header_text h1 span{
    color: #ff004f;
}
/* ----------about--------*/

#about{
    padding: 100px 0;
    color: #ababab;
    background: #0f0f0f;
    position: relative;
}

.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-col-1{
    flex-basis: 35%;
    display: flex;
    
    
}

.about-col-1 img{
    width: 100%;
    border-radius: 15px;

}


.about-col-2{
flex-basis: 60%;
margin-left: 40px;


}
.about-col-2 h1{
    margin-bottom: 20px;
}

.sub-tittle{
    font-size: 40px;
    font-weight: 600;
    color: #fff;
}

/* New Professional About Section */
.about-header{
    text-align: center;
    margin-bottom: 60px;
    padding-top: 20px;
}

.section-title{
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    position: relative;
    letter-spacing: -0.5px;
    text-align: center;
}

.section-title::after{
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ff004f, #ff6b6b);
    border-radius: 2px;
}

.section-subtitle{
    font-size: 1rem;
    color: #888888;
    font-weight: 400;
    text-align: center;
    margin-top: 24px;
    letter-spacing: 0.5px;
}

.about-content{
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
    margin-top: 60px;
}

@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
}

.about-image-section{
    display: flex;
    justify-content: center;
}

.image-wrapper{
    position: relative;
    width: 350px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

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

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

.image-overlay{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 30px 20px 20px;
    color: white;
    text-align: center;
}

.overlay-content h3{
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: #ff004f;
}

.overlay-content p{
    font-size: 1rem;
    opacity: 0.9;
}

.about-text-section{
    padding-left: 20px;
}

.intro-text h2{
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #ffffff;
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.intro-text p{
    font-size: 1.05rem;
    color: #aaaaaa;
    line-height: 1.8;
    margin-bottom: 32px;
    font-weight: 400;
}

.highlight-points{
    margin-bottom: 40px;
}

.point{
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #e0e0e0;
}

.point i{
    color: #ff004f;
    margin-right: 15px;
    font-size: 1.2rem;
}

.tab-navigation{
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn{
    background: #262626;
    border: 2px solid #333;
    color: #ababab;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

.tab-btn:hover{
    background: #333;
    color: #fff;
    border-color: #ff004f;
}

.tab-btn.active{
    background: #ff004f;
    color: white;
    border-color: #ff004f;
}

.tab-btn i{
    font-size: 16px;
}
.tab-tittles{
    display: flex;
    margin-top: 40px;
}




.tab-links{
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.tab-links::after{
    content: '';
    width: 0;
    position: absolute;
    background-color: #ff004f;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
    height: 3px;

}

.tab-links.active-link::after{
    width: 80%;

}

.tab-contents ul li{

    list-style: none;
    margin: 10px 0;

}

.tab-contents ul li span{
  color: #ff004f; 
  font-size: 14px;
}

.tab-contents{
    display: none;

}

.tab-contents.active-tab{
    display: block;
}

.skills-container{
    margin-top: 20px;
}

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

.skill-header{
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 500;
}

.skill-bar{
    width: 100%;
    height: 8px;
    background: #262626;
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress{
    height: 100%;
    background: linear-gradient(90deg, #ff004f, #ff6b6b);
    border-radius: 4px;
    transition: width 1s ease-in-out;
}



/* --------services--------- */
#services{
    padding: 100px 0;
    background: #0a0a0a;
    position: relative;
}

.services-header{
    text-align: center;
    margin-bottom: 80px;
}

.services-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.service-card{
    background: #151515;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff004f, #ff6b6b);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before{
    transform: scaleX(1);
}

.service-card:hover{
    transform: translateY(-8px);
    border-color: rgba(255, 0, 79, 0.3);
    box-shadow: 0 15px 35px rgba(255, 0, 79, 0.15);
    background: #1a1a1a;
}

.service-icon{
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff004f, #ff6b6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 30px;
    color: white;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon{
    transform: scale(1.1);
}

.service-card h3{
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.service-card p{
    color: #ababab;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1rem;
}

.service-features{
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
}

.service-features li{
    color: #e0e0e0;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
}

.service-features li::before{
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff004f;
    font-weight: bold;
}

.service-btn{
    background: transparent;
    color: #ff004f;
    border: 2px solid #ff004f;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.service-btn:hover{
    background: #ff004f;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 79, 0.3);
}

.services-list{
    display: flex;
    justify-content: space-between;
    grid-gap:40px ;
    margin-top: 50px;

}


.services-list div {
    background: #262626;
    padding: 40px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 10px;
    transition: background 0.5s, transform 0.5s;
}

.services-list div i{
  font-size: 50px;  
  margin-bottom: 30px;
}

.services-list div h2{
    font-size: 20px;
    color: #fff;
    background: #262626;



}
.services-list div p{
    color: whitesmoke;
}

.services-list div a{
    color: gainsboro;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    margin-top: 20px;
}

.services-list div:hover{
    background: rgb(64, 40, 8);
    transform: translateY(-10px);
}

/* -----portfolio---------- */

#portfolio{
    padding: 80px 0;
    background: #0f0f0f;
}

/* New Portfolio Structure */
.section-header{
    text-align: center;
    margin-bottom: 60px;
}

.projects-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-bottom: 80px;
}

.project-card{
    background: #151515;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
}

.project-card:hover{
    transform: translateY(-6px);
    border-color: rgba(255, 0, 79, 0.3);
    box-shadow: 0 15px 35px rgba(255, 0, 79, 0.15);
    background: #1a1a1a;
}

.project-image{
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

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

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

.project-overlay{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 0, 79, 0.85), rgba(255, 107, 107, 0.85));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.project-links-overlay{
    display: flex;
    gap: 15px;
}

.project-btn{
    padding: 14px 24px;
    background: #fff;
    color: #ff004f;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.project-btn:hover{
    background: #ff004f;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 0, 79, 0.4);
}

.project-info{
    padding: 30px;
}

.project-info h3{
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.3;
}

.project-category{
    color: #ff004f;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

.project-description{
    color: #ababab;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.project-tech{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tech-badge{
    background: rgba(255, 0, 79, 0.1);
    color: #ff004f;
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255, 0, 79, 0.3);
    transition: all 0.3s ease;
}

.tech-badge:hover{
    background: rgba(255, 0, 79, 0.2);
    transform: translateY(-2px);
}

.project-stats{
    display: flex;
    gap: 25px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.project-stats span{
    color: #ababab;
    font-size: 0.9rem;
}

.project-stats strong{
    color: #ff004f;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Compact Testimonials */
.testimonials-compact{
    margin-top: 80px;
    padding-top: 60px;
    border-top: 2px solid #333;
}

.testimonials-title{
    color: #fff;
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
}

.testimonials-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card{
    background: #151515;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

.testimonial-card:hover{
    border-color: rgba(255, 0, 79, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(255, 0, 79, 0.15);
    background: #1a1a1a;
}

.testimonial-quote{
    margin-bottom: 25px;
}

.testimonial-quote i{
    color: #ff004f;
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: block;
    opacity: 0.7;
}

.testimonial-quote p{
    color: #e0e0e0;
    font-style: italic;
    line-height: 1.7;
    font-size: 1rem;
}

.testimonial-author h4{
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.testimonial-author p{
    color: #ababab;
    font-size: 0.9rem;
}

.work-list{
    flex-wrap: wrap;
}

.work-list .work{
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    margin-bottom: 30px;
}

/* Portfolio grid layout */
#portfolio .container {
    max-width: 1200px;
}

.work-list:nth-child(2) {
    margin-top: 0;
}

/* -----testimonials---------- */

#testimonials{
    padding: 50px 0;
    background: #1a1a1a;
}

/* -----case-studies---------- */

#case-studies{
    padding: 80px 0;
    background: #0f0f0f;
}

.case-studies-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.case-study{
    background: #262626;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.case-study:hover{
    transform: translateY(-10px);
    border-color: #ff004f;
    box-shadow: 0 20px 40px rgba(255, 0, 79, 0.1);
}

.case-image{
    height: 250px;
    overflow: hidden;
}

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

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

.case-content{
    padding: 30px;
}

.case-content h3{
    color: #fff;
    font-size: 24px;
    margin-bottom: 10px;
}

.case-category{
    color: #ff004f;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.case-description{
    color: #ababab;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 15px;
}

.case-tech{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.tech-tag{
    background: rgba(255, 0, 79, 0.1);
    color: #ff004f;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(255, 0, 79, 0.3);
}

.case-results{
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
}

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

.result-number{
    display: block;
    color: #ff004f;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.result-label{
    color: #ababab;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.case-link{
    color: #ff004f;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.case-link:hover{
    color: #ff6b6b;
}

.case-link::after{
    content: '→';
    transition: transform 0.3s ease;
}

.case-link:hover::after{
    transform: translateX(5px);
}

/* -----certifications---------- */

#certifications{
    padding: 100px 0;
    background: #0a0a0a;
    position: relative;
}

.certifications-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.cert-item{
    background: #151515;
    padding: 35px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
}

.cert-item:hover{
    transform: translateY(-6px);
    border-color: rgba(255, 0, 79, 0.3);
    box-shadow: 0 12px 30px rgba(255, 0, 79, 0.15);
    background: #1a1a1a;
}

.cert-icon{
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff004f, #ff6b6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: white;
}

.cert-item h3{
    color: #fff;
    margin-bottom: 10px;
    font-size: 18px;
}

.cert-item p{
    color: #ababab;
    margin-bottom: 15px;
    font-size: 14px;
}

.cert-date{
    background: #ff004f;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* -----blog---------- */

#blog{
    padding: 80px 0;
    background: #1a1a1a;
}

.blog-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.blog-post{
    background: #262626;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-post:hover{
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.blog-image{
    height: 200px;
    overflow: hidden;
}

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

.blog-post:hover .blog-image img{
    transform: scale(1.1);
}

.blog-content{
    padding: 25px;
}

.blog-date{
    color: #ff004f;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-content h3{
    color: #fff;
    margin: 10px 0;
    font-size: 18px;
    line-height: 1.4;
}

.blog-content p{
    color: #ababab;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 14px;
}

.read-more{
    color: #ff004f;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s ease;
}

.read-more:hover{
    color: #ff6b6b;
}

.testimonials-list{
    display: flex;
    justify-content: space-between;
    grid-gap: 40px;
    margin-top: 50px;
}

.testimonial{
    background: #262626;
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.5s;
}

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

.testimonial-content p{
    color: #fff;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author h4{
    color: #ff004f;
    margin-bottom: 5px;
}

.testimonial-author p{
    color: #ababab;
    font-size: 14px;
}



.work-list{
    display: flex;
    justify-content: space-between;
    grid-gap:40px ;
    margin-top: 50px;
    


}

.work {
   border-radius: 10px;
   position: relative;
   overflow: hidden;
   height: 200px;
   flex: 1;
   min-width: 300px;
   max-width: 350px;
}

.work img{
    width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s;
}  

.layer {

    width: 100%;
    height: 0;
    background: linear-gradient(rgba(0,0,0,0.1), #ff004f);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    transition: height 0.5s;

}
.layer h3{
    font-weight: 500;
    margin-bottom: 20px;
    color: white;
    text-decoration: none;
    font-size: large;
    font-family: serif;

}

.layer p{
    color: white;
    font-weight: 200;
    text-decoration: none;
    text-align: center;
}

.layer a{
    color: #ff004f;
    margin-top: 500;
    text-decoration: none;
    font-size: 18px;

}

.work:hover img{
    transform: scale(1.1);

}


.work:hover .layer{
    height: 100%;
}
.btn{
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #ff004f;
    padding: 14px 50px;
    text-decoration: none;
    color: #fff ;
    transition: background 0.5s;


}

.btn:hover{
    background: #ff004f;

}
/* -----------contact------------------ */

#contact{
    padding: 100px 0;
    background: #0a0a0a;
    position: relative;
}

.contact-left{
    flex-basis: 40%;
color: white;
    padding-right: 20px;
}

.contact-left p{
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.6;
}
    
.contact-left p i{
    margin-right: 15px;
    font-size: 20px;
    color: #ff004f;
    width: 25px;
    text-align: center;
}

.contact-left h1{
    margin-bottom: 30px;
    color: #fff;
}
.social-icons{
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.social-icons a{
    text-decoration: none;
    font-size: 24px;
    color: #ababab;
    display: inline-block;
    width: 50px;
    height: 50px;
    background: #262626;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons a:hover{
    color: #fff;
    background: #ff004f;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 0, 79, 0.3);
}

.btn.btn2{
    display: inline-block;
    background: #ff004f;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: 2px solid #ff004f;
}

.btn.btn2:hover{
    background: transparent;
    color: #ff004f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 79, 0.3);
}
.contact-right{
    flex-basis: 60%;
    padding-left: 20px;
}

.contact-right form{
    width: 100%;
    max-width: 500px;
}

form input, form textarea{
width: 100%;
    border: 2px solid #333;
outline: none;
background: #262626;
    padding: 15px 20px;
color: #fff;
    font-size: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    font-family: inherit;
}

form input:focus, form textarea:focus{
    border-color: #ff004f;
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 79, 0.2);
}

form input::placeholder, form textarea::placeholder{
    color: #ababab;
    font-size: 14px;
}

form button{
    background: #ff004f;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

form button:hover{
    background: #ff6b6b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 79, 0.3);
}

.copyright  {
    color: whitesmoke;
    width: 100%;
    text-align: center;
    padding: 25px 0;
    font-weight: 300;
    margin-top: 30px;
}

.copyright i{
    color: #ff004f;
}

/* Professional Footer */
#footer {
    background: #0a0a0a;
    padding: 80px 0 20px 0;
    margin-top: 80px;
    border-top: 1px solid #333;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-section h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 600;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #ff004f;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.footer-logo h3 {
    color: #fff;
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
}

.footer-description {
    color: #ababab;
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 1rem;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: #262626;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ababab;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-link:hover {
    background: #ff004f;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 0, 79, 0.3);
}

.social-link i {
    font-size: 18px;
}

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

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

.footer-links a {
    color: #ababab;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #ff004f;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    color: #ababab;
    font-size: 0.95rem;
}

.contact-item i {
    color: #ff004f;
    margin-right: 12px;
    width: 20px;
    font-size: 16px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: #ababab;
    margin: 0;
    font-size: 0.9rem;
}

.made-with {
    color: #ababab;
    margin: 0;
    font-size: 0.9rem;
}

.made-with i {
    color: #ff004f;
    margin: 0 5px;
}

/* -----------css for  small screen-------- */
@media only screen and (max-width: 768px){
    .testimonials-list{
        flex-direction: column;
        gap: 20px;
    }
    
    .testimonial{
        margin-bottom: 20px;
    }
}

@media only screen and (max-width: 768px) {
    nav {
        padding: 15px 0;
    }
    
    .logo {
        width: 120px;
    }
    
    nav .fa-solid.fa-bars {
        display: block !important;
    }
    
    nav ul {
        display: flex !important;
    }
    
    /* Header Mobile - Same criteria: Hero first, navigation hidden initially */
    #header {
        min-height: 100vh;
        padding: 0;
        background-size: cover;
        background-position: center center;
        background-attachment: scroll;
    }
    
    #header::before {
        background: rgba(0, 0, 0, 0.75);
    }
    
    .header_content {
        flex-direction: column;
        text-align: left;
        gap: 40px;
        padding: 80px 20px 40px 20px;
        align-items: flex-start;
        justify-content: center;
        width: 100%;
    }
    
    .header_text {
        max-width: 100%;
        padding: 0;
        margin: 0;
        text-align: left;
        width: 100%;
    }
    
    .intro-text {
        text-align: left;
        width: 100%;
    }
    
    .header-social-links {
        top: 20px;
        left: 20px;
        gap: 15px;
        z-index: 10;
    }
    
    .header-social-links a {
        font-size: 18px;
    }
    
    .technologies {
        font-size: 13px;
        gap: 5px;
        margin: 20px 0 25px 0;
        flex-wrap: wrap;
        width: 100%;
    }
    
    .tech-item {
        font-size: 13px;
    }
    
    .tech-separator {
        margin: 0 2px;
        font-size: 12px;
    }
    
    .name {
        font-size: clamp(2rem, 10vw, 3.5rem);
        margin-bottom: 15px;
        line-height: 1.1;
    }
    
    .job-title {
        font-size: clamp(1rem, 4vw, 1.4rem);
        margin-bottom: 20px;
    }
    
    .description {
        font-size: 0.95rem;
        margin-bottom: 30px;
        max-width: 100%;
        line-height: 1.6;
    }
    
    .cta-buttons {
        justify-content: flex-start;
        flex-direction: row;
        gap: 15px;
        width: 100%;
        flex-wrap: wrap;
    }
    
    .btn-primary, .btn-secondary {
        padding: 14px 25px;
        font-size: 14px;
        width: auto;
        min-width: 140px;
        max-width: none;
    }
    
    /* Image is hidden, using as background instead */
    .image-container {
        display: none;
    }
    
    .header_image {
        display: none;
    }
    
    /* About Section Mobile - Background Image */
    #about {
        position: relative;
        background-image: url('images/mato.jpeg');
        background-size: cover;
        background-position: center;
        background-attachment: scroll;
        background-repeat: no-repeat;
    }
    
    #about::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15, 15, 15, 0.85);
        z-index: 0;
    }
    
    #about .container {
        position: relative;
        z-index: 1;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    /* Hide image element on mobile, use as background instead */
    .about-image-section {
        display: none;
    }
    
    .about-text-section {
        padding-left: 0;
        background: rgba(10, 10, 10, 0.6);
        padding: 30px 20px;
        border-radius: 15px;
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
    }
    
    
    nav {
        background-size: cover;
        background-position: center center;
    }
    
    #header .container,
    #header nav,
    .header_content {
        position: relative;
        z-index: 1;
    }
    
    /* Hide header image on mobile, use as background instead */
    .header_image {
        display: none;
    }
    
    .header_text {
        background: rgba(10, 10, 10, 0.7);
        padding: 30px 20px;
        border-radius: 15px;
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
    }
    
    /* Services Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-card {
        padding: 30px 25px;
    }
    
    /* Portfolio Mobile */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .project-image {
        height: 220px;
    }
    
    /* Contact Mobile */
    .row {
        flex-direction: column;
    }
    
    .contact-left, .contact-right {
        width: 100%;
        padding: 0;
        margin-bottom: 30px;
    }
    
    .contact-right form {
        max-width: 100%;
    }
    
    /* Certifications Mobile */
    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Testimonials Mobile */
    .testimonials-compact {
        margin-top: 50px;
        padding-top: 40px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Section Headers Mobile */
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        margin-top: 15px;
    }
    
    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media only screen and (max-width: 768px){
    #header{
        background-image: url(images/phone-background.png);
    }
    
    /* Show menu toggle and close buttons on mobile only */
    .menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 16px;
        background: rgba(255, 0, 79, 0.25);
        border: 2px solid #ff004f;
        border-radius: 8px;
        cursor: pointer;
        z-index: 10000;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(255, 0, 79, 0.4);
        color: #ffffff;
        font-size: 16px;
        font-weight: 600;
        min-width: 100px;
        height: 50px;
        pointer-events: auto !important;
    }
    
    .menu-toggle:hover {
        background: rgba(255, 0, 79, 0.4);
        border-color: #ff6b6b;
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(255, 0, 79, 0.5);
    }
    
    .menu-toggle:active {
        transform: scale(0.95);
        background: rgba(255, 0, 79, 0.5);
    }
    
    .menu-toggle .fa-solid.fa-bars {
        font-size: 24px;
        color: #ffffff;
    }
    
    .menu-text {
        font-size: 16px;
        font-weight: 600;
        color: #ffffff;
    }
    
    nav ul{
        background: rgba(10, 10, 10, 0.99) !important;
        -webkit-backdrop-filter: blur(15px);
        backdrop-filter: blur(15px);
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        max-width: 85vw;
        height: 100vh;
        padding: 80px 0 20px 0;
        z-index: 9999 !important;
        transition: right 0.3s ease;
        box-shadow: -5px 0 40px rgba(0, 0, 0, 0.8);
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        overflow-y: auto;
        overflow-x: hidden;
        border-left: 2px solid rgba(255, 0, 79, 0.3);
        pointer-events: auto !important;
        -webkit-overflow-scrolling: touch;
    }
    
    nav ul li{
        display: block !important;
        margin: 0 !important;
        padding: 0 30px;
        width: 100% !important;
    }
    
    nav ul li {
        pointer-events: auto !important;
        position: relative !important;
        z-index: 1 !important;
        margin: 0 !important;
        list-style: none !important;
        width: 100% !important;
    }
    
    nav ul li a:not(.menu-close) {
        display: flex !important;
        align-items: center !important;
        padding: 22px 30px !important;
        font-size: 19px !important;
        font-weight: 600 !important;
        color: #ffffff !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
        border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
        text-align: left !important;
        transition: all 0.2s ease !important;
        border-radius: 0 !important;
        cursor: pointer !important;
        pointer-events: auto !important;
        position: relative !important;
        z-index: 2 !important;
        -webkit-tap-highlight-color: rgba(255, 0, 79, 0.5);
        touch-action: manipulation;
        min-height: 60px;
        text-decoration: none !important;
        width: 100% !important;
        background: transparent !important;
    }
    
    nav ul li a:not(.menu-close):active {
        background: rgba(255, 0, 79, 0.35) !important;
        color: #ff6b6b !important;
        text-shadow: 0 2px 8px rgba(255, 0, 79, 0.7);
        transform: scale(0.98);
    }
    
    nav ul li a:not(.menu-close):hover {
        color: #ff6b6b !important;
        padding-left: 35px !important;
        background: rgba(255, 0, 79, 0.2) !important;
        text-shadow: 0 2px 8px rgba(255, 0, 79, 0.6);
    }
    
    nav ul li a:not(.menu-close)::after {
        display: none !important;
    }
    
    /* Close button wrapper */
    .menu-close-wrapper {
        margin-top: auto !important;
        padding: 20px 30px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
    }
    
    .menu-close {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 14px 20px;
        background: rgba(255, 0, 79, 0.3) !important;
        border: 2px solid #ff004f !important;
        border-radius: 10px;
        cursor: pointer;
        z-index: 3 !important;
        transition: all 0.2s ease;
        box-shadow: 0 4px 15px rgba(255, 0, 79, 0.5);
        color: #ffffff !important;
        font-size: 17px;
        font-weight: 600;
        width: 100%;
        height: 55px;
        touch-action: manipulation;
        margin: 0 auto;
        pointer-events: auto !important;
    }
    
    .menu-close:hover {
        background: rgba(255, 0, 79, 0.4);
        border-color: #ff6b6b;
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(255, 0, 79, 0.5);
    }
    
    .menu-close:active {
        transform: scale(0.95);
        background: rgba(255, 0, 79, 0.6);
    }
    
    .menu-close .fa-regular.fa-rectangle-xmark {
        font-size: 24px;
        color: #ffffff;
    }
    
    .close-text {
        font-size: 16px;
        font-weight: 600;
        color: #ffffff;
    }
    .nav  .fa-solid.fa-bars{
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    
    
    }
    
   
    nav .fa-regular.fa-rectangle-xmark{
        display: block;
        font-size: 25px;
        color:white;
    
    }
    nav .fa-solid.fa-bars{
        display: block;
        font-size: 25px;
        color:  white;
     
        
        
    
    }
    .sub-tittle{
        font-size: 40px;
    }
    .about-col-1, .about-col-2{
        flex-basis: 100%;
        

    }
    .about-col-1{
        margin-bottom: 30px;

    }
    .about-col-2{
        font-size: 14px;
    }

    .tab-links{
        font-size: 16px;
        margin-right: 20px;
    }
    .contact-left, .contact-right{
        flex-basis: 100%;
        padding: 0;
        margin-bottom: 30px;
    }
    
    .contact-right{
        padding-left: 0;
    }
    
    .social-icons{
        justify-content: center;
        margin-top: 20px;
    }
    
    .btn.btn2{
        display: block;
        text-align: center;
        margin: 20px auto 0;
    }
    .copyright{
        font-size: 14px;
    }
    
    .work-list .work{
        min-width: 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .work-list{
        flex-direction: column;
    }
    
    .hidden-projects {
        flex-direction: column;
    }
    
    .projects-grid{
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 50px;
    }
    
    .project-image{
        height: 220px;
    }
    
    .project-info{
        padding: 25px;
    }
    
    .testimonials-compact{
        margin-top: 50px;
        padding-top: 40px;
    }
    
    .testimonials-grid{
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .section-header{
        margin-bottom: 40px;
    }
    
    .certifications-grid{
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-grid{
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cert-item{
        padding: 20px;
    }
    
    .blog-content{
        padding: 20px;
    }
    
    .case-studies-grid{
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .case-content{
        padding: 20px;
    }
    
    .case-results{
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .about-content{
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .about-text-section{
        padding-left: 0;
    }
    
    .image-wrapper{
        width: 280px;
        height: 320px;
    }
    
    .services-grid{
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-card{
        padding: 30px 20px;
    }
    
    .tab-navigation{
        justify-content: center;
    }
    
    .footer-content{
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-bottom-content{
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-social{
        justify-content: center;
    }

}
/* Desktop: Hide mobile menu icons */
.nav .fa-regular.fa-rectangle-xmark,
.nav .fa-solid.fa-bars {
    display: none;
}

/* Mobile: Show hamburger menu */
@media only screen and (max-width: 768px) {
    .nav .fa-solid.fa-bars {
        display: block !important;
    }
}

.msg{
    color: #4CAF50;
    margin-top: 15px;
    display: none;
    padding: 12px 15px;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid #4CAF50;
    border-radius: 5px;
    font-weight: 500;
    text-align: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

.msg.error{
    color: #f44336;
    background: rgba(244, 67, 54, 0.1);
    border-color: #f44336;
    display: block;
}

.msg.show{
    display: block;
}

/* Back to Top Button */
.back-to-top{
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #ff004f;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover{
    background: #ff6b6b;
    transform: translateY(-3px);
}

.back-to-top.show{
    display: flex;
}

/* Portfolio animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutDown {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(30px);
    }
}

.hidden-projects {
    transition: all 0.3s ease;
}

/* See More button styling */
#see-more-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#see-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 79, 0.3);
}

#see-more-btn:active {
    transform: translateY(0);
}









