* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth; 
    scroll-padding-top: 90px; 
}
body {
    background-color: #0c1219; 
    color: #eaf0f3; 
    font-family: Arial, Helvetica, sans-serif; 
    line-height: 1.6;
}
nav {
    display:flex ;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px ;
    background-color: #101928;
    color:#e5494d;
    font-size: 26px;
    position: sticky;
    top: 0;
    z-index: 1000; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
nav ul {
    list-style: none;
    display: flex;
    gap: 25px ;
}
nav a {
    text-decoration: none;
    color: #e5494d;
    font-size: 18px;
    transition: 0.3s;
    display: inline-block;
}
nav a:hover {
    color: white; 
    text-shadow: 0px 0px 12px #e5494d;
    transform: translateY(-4px); 
}
.logo {
    transition: 0.3s;
    cursor: pointer; 
}
.logo:hover {
    color: white;
    text-shadow: 0px 0px 15px #e5494d; 
    transform: scale(1.1); 
}

hr {
    border: none;
    height: 3px; 
    background-color: #1e293b; 
    margin: 0; 
}
#home {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 40px 20px ;
}
#home img {
    border-radius: 50%;
    border: 5px solid #e5494d;
    width: 300px;
}
.hero-content {
    max-width: 600px ;
}
.job-title {
    color: #e5494d;
    font-weight: bold;
    letter-spacing: 2px;
}
.discripction {
    color: #a8adb4;
}
#home h1 {
    font-size: 48px; 
    color: white;
    margin: 10px 0; 
}
.hero-buttons {
    display: flex;
    gap: 15px ;
    margin-top: 25px ;
}
.btn {
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
    background-color: #e5494d; 
    color: white; 
    border: 2px solid #e5494d; 
    transition: 0.3s;
    display: inline-block;
}
.btn:hover {
    background-color: transparent; 
    color: #e5494d; 
    transform: translateY(-5px); 
    box-shadow: 0px 5px 15px rgba(229, 73, 77, 0.4); 
}
#about {
    padding: 80px 20px ;
    text-align: center;
    background-color: #101928;
}
#about h2 {
    font-size: 36px ;
    color: white;
    margin-bottom: 20px;
}
#about p {
    max-width: 800px ;
    margin: 0 auto;
    color: #eaf0f3;
    font-size: 18px;
    line-height: 1.8;
}
/* =========================================
   Education Section
   ========================================= */
#education {
    padding: 80px 20px;
    text-align: center;
}
#education h2 {
    font-size: 36px;
    color: white;
    margin-bottom: 40px;
}
.edu-container {
    display: flex;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}
.edu-card {
    width: 100%;
    max-width: 650px;
    text-align: center;
}
.edu-card h3 {
    color: white;
    margin-bottom: 10px;
    font-size: 24px;
}
.edu-card .school {
    color: #e5494d;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
}
.edu-card .date {
    color: #a8adb4;
    font-size: 14px;
    margin-bottom: 15px;
    font-style: italic;
}
.edu-card .desc {
    color: #eaf0f3;
    font-size: 16px;
}
.edu-card .desc strong {
    color: #e5494d; 
}
#skills {
    padding: 80px 20px;
    text-align: center;
    background-color: #101928;
}
#skills h2 {
    font-size: 36px;
    color: white;
    margin-bottom: 40px; 
}
.skills-container {
    display: flex ;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px ;
    max-width: 900px;
    margin: 0 auto;
}
.skill-card {
    background-color: #0c1219; 
    color: #eaf0f3;
    padding: 15px 25px;
    border-radius: 8px; 
    font-size: 18px;
    font-weight: bold;
    border: 1px solid #1e293b;
    transition: 0.3s;
    display: flex; 
    align-items: center; 
    gap: 12px; 
}
.skill-card:hover {
    border-color: #e5494d; 
    color: #e5494d; 
    transform: translateY(-5px); 
}
.skill-card img {
    width: 25px;
    height: 25px;
    object-fit: contain; 
}
.white-icon {
    filter: invert(1);
}
/* =========================================
   Services Section
   ========================================= */
#services {
    padding: 80px 20px;
    text-align: center;
}
#services h2 {
    font-size: 36px;
    color: white;
    margin-bottom: 40px;
}
.services-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}
.service-card {
    background-color: #101928; 
    padding: 30px;
    border-radius: 10px;
    width: 340px;
    border: 1px solid #1e293b;
    transition: 0.3s;
    text-align: left;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    border-color: #e5494d;
    transform: translateY(-10px);
}
.service-card h3 {
    color: #e5494d;
    margin-bottom: 15px;
    font-size: 20px;
    line-height: 1.4;
}
.service-card p {
    color: #a8adb4;
    font-size: 15px;
    line-height: 1.7;
}
.service-links {
    display: flex;
    gap: 10px;
    margin-top: auto; 
    width: 100%;
    padding-top: 20px;
}

.srv-btn {
    flex: 1; 
    text-align: center;
    padding: 8px 10px;
    font-size: 14px;
}
#projects {
    padding: 80px 20px ;
    background-color: #101928;
    

}
#projects h2 {
    text-align: center;
    font-size: 36px;
    color: white;
    margin-bottom: 40px;
}
.projects-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1100px ;
    margin: 0 auto ;
}
.project-card {
    background-color: #0c1219;
    padding: 20px;
    border-radius: 10px;
    width: 320PX ; 
    border: 1px solid #1e293b;
    transition: 0.3s;
    display: flex;
    flex-direction: column; 
    align-items: center;
}
.project-card:hover {
    transform: translateY(-10px);
    color: #e5494d; 
    border-color: #e5494d;
}
.project-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
    background-color: #1e293b;
}
.project-card h3 {
    text-align: center;
    color: white;
    margin-bottom: 15px;
}
.project-card p {
    text-align: center;
    color: #a8adb4;
    margin-bottom: 25px; 
    font-size: 15px;
}
.project-card .btn {
    margin-top: auto;
}
/* =========================================
   Achievements Section
   ========================================= */
#achievements {
    padding: 80px 20px;
    text-align: center;
    background-color: #0c1219; 
}
#achievements h2 {
    font-size: 36px;
    color: white;
    margin-bottom: 40px;
}
.achievements-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}
.ach-item {
    background-color: #101928; 
    color: #eaf0f3;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    border: 1px solid #1e293b;
    transition: 0.3s;
    display: inline-block;
    text-decoration: none; 
    cursor: pointer;
}
.ach-item:hover {
    border-color: #e5494d;
    color: #e5494d;
    transform: translateY(-4px);
}
.folder-btn-container {
    margin-top: 40px; 
    text-align: center;
}
.folder-btn {
    background-color: #e5494d;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    border: 2px solid #e5494d;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
}
.folder-btn:hover {
   background-color: transparent;
    color: #e5494d;
    transform: translateY(-5px);
    box-shadow: 0px 5px 15px rgba(229, 73, 77, 0.4);
}
/* =========================================
   Testimonials Section (Horizontal Scroll)
   ========================================= */
#testimonials {
    padding: 80px 20px;
    text-align: center;
    background-color: #101928; 
}
#testimonials h2 {
    font-size: 36px;
    color: white;
    margin-bottom: 40px;
}
.testi-scroll-container {
    display: flex;
    gap: 30px;
    overflow-x: auto; 
    scroll-snap-type: x mandatory; 
    padding-bottom: 20px; 
    padding-top: 15px;
    padding-left: 5px;
    max-width: 1050px;
    margin: 0 auto;
}
.testi-scroll-container::-webkit-scrollbar {
    height: 8px;
}
.testi-scroll-container::-webkit-scrollbar-track {
    background: #1e293b; 
    border-radius: 10px;
}
.testi-scroll-container::-webkit-scrollbar-thumb {
    background: #e5494d; 
    border-radius: 10px;
}
.testi-card {
    background-color: #0c1219; 
    padding: 30px;
    border-radius: 10px;
    min-width: 400px; 
    border: 1px solid #1e293b;
    transition: 0.3s;
    text-align: right;  
    display: flex;
    flex-direction: column;
    scroll-snap-align: start; 
}
.en-card {
    text-align: left !important;
}
.en-card .quote-icon {
    text-align: left !important;
}
.testi-card:hover {
    border-color: #e5494d;
    transform: translateY(-5px);
}
.quote-icon {
    color: #e5494d;
    font-size: 45px;
    line-height: 0.8;
    margin-bottom: 15px;
    opacity: 0.7;
    text-align: right;
}
.review-text {
    color: #eaf0f3;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
    flex-grow: 1;
    max-height: 180px; 
    overflow-y: auto; 
    padding-right: 5px;
}
.review-text::-webkit-scrollbar {
    width: 5px;
}
.review-text::-webkit-scrollbar-track {
    background: transparent; 
}
.review-text::-webkit-scrollbar-thumb {
    background: #1e293b; 
    border-radius: 10px;
}
.review-text::-webkit-scrollbar-thumb:hover {
    background: #e5494d;
}
.client-name {
    color: white;
    font-size: 18px;
    border-top: 1px solid #1e293b;
    padding-top: 15px;
    margin-bottom: 5px;
}
.client-title {
    color: #e5494d;
    font-size: 14px;
}
#contact {
    padding: 80px 20px;
    text-align: center;
    background-color: #0c1219;
}
#contact h2 {
    font-size: 36px;
    color: white;
    margin-bottom: 40px;
}
.contact-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; 
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}
.contact-item {
    text-decoration: none;
    color: #eaf0f3;
    background-color: #101928; 
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    border: 1px solid #1e293b;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px; 
}
.contact-item:hover {
    background-color: #e5494d; 
    color: white;
    border-color: #e5494d;
    transform: translateY(-5px); 
    box-shadow: 0px 5px 15px rgba(229, 73, 77, 0.3); 
}
.contact-item img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}
.contact-item:hover img {
    transform: scale(1.1);
    transition: 0.3s;
}
footer {
    text-align: center;
    padding: 25px 20px;
    background-color: #101928; 
    color: #a8adb4;
    font-size: 15px;
    border-top: 1px solid #1e293b; 
}
footer p {
    margin: 5px 0;  
}
footer strong {
    color: #e5494d; 
}
.thanks-msg {
    font-size: 14px;
    font-style: italic;
    opacity: 0.8;
}
/* =========================================
   Mobile Responsiveness 
   ========================================= */
@media (max-width: 768px) {
    
    nav {
        flex-direction: column !important;
        text-align: center;
        padding: 15px;
        gap: 15px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    nav a {
        font-size: 16px;
        padding: 5px;
    }

    
    #home {
        flex-direction: column-reverse !important; 
        text-align: center;
        padding: 40px 15px;
        gap: 30px;
    }
    
    #home img {
        width: 70%;
        max-width: 250px;
        margin: 0 auto;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    
    #about, #education, #skills, #services, #projects, #achievements, #testimonials, #contact {
        padding: 50px 15px;
    }

    .service-card, .project-card, .testi-card {
        width: 100%;
        min-width: unset;
        max-width: 100%;
    }

    
    .contact-item, .ach-item {
        width: 100%;
        justify-content: center;
    }
    
    .contact-links, .achievements-list {
        flex-direction: column;
        align-items: center;
    }
    
    
    #home h1 {
        font-size: 36px;
    }
}