/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #0a1120 0%, #1a2332 50%, #0f1a2e 100%);
    color: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
}

/* Header */
header {
    padding: 20px 0;
    position: relative;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.logo-text {
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
}

.logo-text span {
    color: #c3fd5d; /* This would make "Ali" appear in the same green color as your highlights */
    font-weight: 700; /* Makes it bold */
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #c3fd5d;
}

.contact-btn {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    color: #ffffff;
    font-weight: 500;
    transition: all 0.3s;
}

.contact-btn:hover {
    background-color: #c3fd5d;
    color: #0a1120;
}

.contact-btn .icon {
    width: 20px;
    height: 20px;
    background-color: #c3fd5d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}

/* Hero Section */
.hero {
    padding: 120px 0;
    position: relative;
    min-height: 700px;
    background: linear-gradient(135deg, #0a1120 0%, #1a2332 50%, #0f1a2e 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(195, 253, 93, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(195, 253, 93, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 64px;
    font-weight: 600;
    margin-bottom: 10px;
}

.highlight {
    color: #c3fd5d;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 52px;
    font-weight: 600;
    margin-bottom: 40px;
}

.hero-img {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: auto;
    height: 500px;
    z-index: 1;
    margin-bottom: -20px;
    transition: all 0.3s ease;
}

/* Typing Animation */
.typing-animation {
    position: relative;
    display: inline-block;
}

.typing-animation::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    height: 70%;
    width: 3px;
    background-color: #c3fd5d;
    animation: blink 0.7s infinite;
}

/* Contact Section Styling */
.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-content p {
    margin-bottom: 30px;
    font-size: 18px;
    opacity: 0.9;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.contact-method:hover .contact-icon {
    background-color: #c3fd5d;
    color: #0a1120;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-input, .contact-textarea {
    padding: 15px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.contact-textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-input:focus, .contact-textarea:focus {
    outline: none;
    border-color: #c3fd5d;
    background-color: rgba(255, 255, 255, 0.1);
}

.send-message-btn {
    background-color: #c3fd5d;
    color: #0a1120;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
    cursor: pointer;
}

.send-message-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #ffffff;
    z-index: -1;
    transition: all 0.5s ease;
    border-radius: 30px;
}

.send-message-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(195, 253, 93, 0.5);
}

.send-message-btn:hover:before {
    width: 100%;
}

@media (max-width: 768px) {
    .contact-methods {
        flex-direction: column;
        gap: 20px;
    }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Client Review Card */
.client-review {
    position: absolute;
    left: 15%;
    bottom: 40%;
    background-color: rgba(10, 17, 32, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    max-width: 250px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 3;
    transform: rotate(-5deg);
    transition: all 0.3s ease;
}

.client-review:hover {
    transform: rotate(0deg) translateY(-10px);
    box-shadow: 0 15px 35px rgba(195, 253, 93, 0.2);
    border: 1px solid rgba(195, 253, 93, 0.3);
}

/* Expertise Card */
.expertise-card {
    position: absolute;
    right: 15%;
    bottom: 40%;
    background-color: rgba(10, 17, 32, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    width: 250px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 3;
    transform: rotate(5deg);
    transition: all 0.3s ease;
}

.expertise-card:hover {
    transform: rotate(0deg) translateY(-10px);
    box-shadow: 0 15px 35px rgba(195, 253, 93, 0.2);
    border: 1px solid rgba(195, 253, 93, 0.3);
}

/* Add hover effect for progress bars */
.expertise-card:hover .progress-fill {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.8;
    }
}

.client-review h3 {
    margin-bottom: 15px;
    font-size: 16px;
}

.skill-progress {
    margin-bottom: 15px;
}

.skill-progress p {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 14px;
}

.progress-bar {
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #c3fd5d;
}

/* About Section */
.about {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(135deg, #0a1120 0%, #1a2332 50%, #0f1a2e 100%);
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(195, 253, 93, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(195, 253, 93, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.section-title {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    color: #c3fd5d;
    margin-bottom: 60px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #c3fd5d, transparent);
    border-radius: 2px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 20px;
    opacity: 0.9;
}

.about-img {
    position: absolute;
    width: 120px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-img-1 {
    left: 100px;
    top: 200px;
}

.about-img-2 {
    right: 100px;
    bottom: 150px;
}

/* My Projects Button Styling */
.my-projects-btn {
    background-color: #c3fd5d;
    color: #0a1120;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(195, 253, 93, 0.3);
    cursor: pointer;
    border: none;
    outline: none;
}

.my-projects-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #ffffff;
    z-index: -1;
    transition: all 0.5s ease;
    border-radius: 30px;
}

.my-projects-btn:hover {
    color: #0a1120;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(195, 253, 93, 0.5);
}

.my-projects-btn:hover:before {
    width: 100%;
}

.my-projects-btn:active {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(195, 253, 93, 0.4);
}

/* Skills Section */
.skills {
    padding: 50px 0 100px;
    background: linear-gradient(135deg, #0a1120 0%, #1a2332 50%, #0f1a2e 100%);
    position: relative;
    overflow: hidden;
}

.skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(195, 253, 93, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(195, 253, 93, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.skills-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.skill-box {
    flex: 0 0 calc(20% - 20px);
    aspect-ratio: 1/1;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.skill-box:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.1);
}

.skill-icon {
    width: 60px;
    height: 60px;
    filter: brightness(0) invert(1); /* Make icons white */
}

.html-icon {
    filter: brightness(0) invert(1) sepia(100%) saturate(1000%) hue-rotate(0deg);
    color: #e34c26;
}

.css-icon {
    filter: brightness(0) invert(1) sepia(100%) saturate(1000%) hue-rotate(200deg);
    color: #264de4;
}

.js-icon {
    filter: brightness(0) invert(1) sepia(100%) saturate(1000%) hue-rotate(50deg);
    color: #f7df1e;
}

.react-icon {
    filter: brightness(0) invert(1) sepia(100%) saturate(1000%) hue-rotate(180deg);
    color: #61dafb;
}

.experience-box {
    flex: 0 0 calc(20% - 20px);
    aspect-ratio: 1/1;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.experience-box h2 {
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 10px;
}

.experience-box p {
    font-size: 18px;
    line-height: 1.3;
}

/* Additional Skills Section */
.additional-skills {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.additional-skill-box {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.additional-skill-box:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Project Cards */
.project-card {
    width: 300px;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(195, 253, 93, 0.2);
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.project-card:hover .project-img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 17, 32, 0.9), transparent);
    padding: 20px;
    transform: translateY(100px);
    transition: all 0.3s ease;
    opacity: 0;
}

.project-card:hover .project-overlay {
    transform: translateY(0);
    opacity: 1;
}

.project-overlay h3 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 5px;
}

.project-overlay p {
    color: #c3fd5d;
    font-size: 14px;
    margin-bottom: 15px;
}

.view-project-btn {
    display: inline-block;
    background-color: #c3fd5d;
    color: #0a1120;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-project-btn:hover {
    background-color: #ffffff;
    transform: scale(1.05);
}

/* Honor Award Section */
.Honor {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a1120 0%, #1a2332 50%, #0f1a2e 100%);
    position: relative;
    overflow: hidden;
}

.Honor::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(195, 253, 93, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(195, 253, 93, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.Honor .content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.Honor .section-title {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    color: #c3fd5d;
    margin-bottom: 60px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.Honor .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #c3fd5d, transparent);
    border-radius: 2px;
}

.Honor ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.Honor ul h6 {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px 25px;
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: #ffffff;
    position: relative;
    transition: all 0.4s ease;
    cursor: pointer;
    overflow: hidden;
}

.Honor ul h6::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(195, 253, 93, 0.1), transparent);
    transition: left 0.6s ease;
}

.Honor ul h6:hover::before {
    left: 100%;
}

.Honor ul h6:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(195, 253, 93, 0.1);
    border-color: rgba(195, 253, 93, 0.3);
    box-shadow: 0 15px 35px rgba(195, 253, 93, 0.2),
                0 5px 15px rgba(0, 0, 0, 0.3);
    color: #c3fd5d;
}

.Honor ul h6::after {
    content: '🏆';
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 20px;
    opacity: 0;
    transform: scale(0) rotate(180deg);
    transition: all 0.4s ease;
}

.Honor ul h6:hover::after {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* Special styling for 1st place awards */
.Honor ul h6:nth-child(2n):hover,
.Honor ul h6:contains("1st place"):hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.2),
                0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Animation for awards appearing */
.Honor ul h6 {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.Honor ul h6:nth-child(1) { animation-delay: 0.1s; }
.Honor ul h6:nth-child(2) { animation-delay: 0.2s; }
.Honor ul h6:nth-child(3) { animation-delay: 0.3s; }
.Honor ul h6:nth-child(4) { animation-delay: 0.4s; }
.Honor ul h6:nth-child(5) { animation-delay: 0.5s; }
.Honor ul h6:nth-child(6) { animation-delay: 0.6s; }
.Honor ul h6:nth-child(7) { animation-delay: 0.7s; }
.Honor ul h6:nth-child(8) { animation-delay: 0.8s; }
.Honor ul h6:nth-child(9) { animation-delay: 0.9s; }
.Honor ul h6:nth-child(10) { animation-delay: 1.0s; }
.Honor ul h6:nth-child(n+11) { animation-delay: 1.1s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .Honor {
        padding: 60px 0;
    }
    
    .Honor .section-title {
        font-size: 36px;
        margin-bottom: 40px;
    }
    
    .Honor ul {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .Honor ul h6 {
        padding: 15px 20px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .Honor .section-title {
        font-size: 28px;
        letter-spacing: 1px;
    }
    
    .Honor ul h6 {
        padding: 12px 15px;
        font-size: 13px;
    }
}

/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 100;
}

.mobile-menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: #0a1120;
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    background-color: rgba(10, 17, 32, 0.95);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-nav ul li {
    margin: 15px 0;
}

.mobile-nav ul li a {
    font-size: 24px;
    font-weight: 600;
    transition: color 0.3s;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 98;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    
    .mobile-menu-btn {
        display: flex;
    }
    
    nav ul {
        display: none;
    }
    .client-review {
      left: 5%;
      bottom: 35%;
      margin: 0;
}

   .expertise-card {
      right: 5%;
      bottom: 35%;
      margin: 0;
    }
}

@media (max-width: 992px) {
.skill-box, .experience-box {
    flex: 0 0 calc(33.333% - 20px);
}

.hero-content {
    width: 100%;
    text-align: center;
}

.hero-title {
    font-size: 48px;
}

.hero-subtitle {
    font-size: 36px;
}

.hero-img {
    height: 400px;
}

.client-review, .expertise-card {
    position: absolute;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.client-review {
    left: 5%;
    bottom: 35%;
    margin: 0;
}

.expertise-card {
    right: 5%;
    bottom: 35%;
    margin: 0;
}

.my-projects-btn {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: 30px;
}

.contact-btn {
    padding: 8px 15px;
    font-size: 14px;
}

.contact-btn .icon {
    width: 16px;
    height: 16px;
}

.section-title {
    font-size: 36px;
}
.client-review {
    left: 0;
    bottom: 30%;
    margin: 0;
}

.expertise-card {
right: 0;
bottom: 30%;
margin: 0;
}
}

@media (max-width: 768px) {
    .skill-box, .experience-box {
        flex: 0 0 calc(50% - 20px);
    }

    nav ul {
        display: none;
    }

    .about-img {
        display: none;
    }
    
    .hero {
        padding: 80px 0;
        min-height: 600px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .hero-img {
        height: 350px;
    }
    
    /* Hide desktop cards in hero section */
    .hero .client-review,
    .hero .expertise-card {
        display: none;
    }
    
    /* Show mobile cards in about section */
    .about .mobile-client-review,
    .about .mobile-expertise-card {
        display: block;
        position: relative;
        margin: 20px auto;
        max-width: 300px;
        transform: none;
        left: auto;
        right: auto;
        bottom: auto;
        top: auto;
    }
}
@media (max-width: 992px) {
.skill-box, .experience-box {
flex: 0 0 calc(33.333% - 20px);
}

.hero-content {
width: 100%;
text-align: center;
}

.hero-title {
font-size: 48px;
}

.hero-subtitle {
font-size: 36px;
}

.hero-img {
height: 400px;
}

.client-review, .expertise-card {
position: absolute;
transform: scale(0.8);
transition: all 0.3s ease;
}

.client-review {
left: 5%;
bottom: 35%;
margin: 0;
}

.expertise-card {
right: 5%;
bottom: 35%;
margin: 0;
}

.my-projects-btn {
position: relative;
bottom: auto;
left: auto;
transform: none;
margin-top: 30px;
}

.contact-btn {
padding: 8px 15px;
font-size: 14px;
}

.contact-btn .icon {
width: 16px;
height: 16px;
}

.section-title {
font-size: 36px;
}
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    nav ul {
        display: none;
    }
    
    .skill-box, .experience-box {
        flex: 0 0 calc(45% - 15px);
        height: 80px;
        margin-bottom: 15px;
    }
    
    .skill-icon {
        width: 40px;
        height: 40px;
    }
    
    .experience-box h2 {
        font-size: 36px;
        margin-bottom: 5px;
    }
    
    .experience-box p {
        font-size: 14px;
        line-height: 1.2;
    }
    
    .about-img {
        display: none;
    }
    
    .contact-btn {
        display: none;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 28px;
    }
    
    .hero-img {
        height: 350px;
    }
    
    .about-content p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .additional-skill-box {
        width: 50px;
        height: 50px;
    }
    
    /* Hide cards from hero section on mobile */
    .hero .client-review,
    .hero .expertise-card {
        display: none;
    }
    
    /* Show cards in about section */
    .about .mobile-client-review,
    .about .mobile-expertise-card {
        display: block;
        position: relative;
        margin: 20px auto;
        max-width: 300px;
        transform: none;
        left: auto;
        right: auto;
        bottom: auto;
        top: auto;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 60px 0;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .hero-img {
        height: 300px;
    }
    
    .skill-box, .experience-box {
        flex: 0 0 calc(48% - 10px);
        height: 70px;
        margin-bottom: 10px;
    }
    
    .skill-icon {
        width: 35px;
        height: 35px;
    }
    
    .experience-box h2 {
        font-size: 28px;
        margin-bottom: 3px;
    }
    
    .experience-box p {
        font-size: 12px;
        line-height: 1.1;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .about-content p {
        font-size: 14px;
    }
    
    .additional-skill-box {
        width: 45px;
        height: 45px;
    }
    
    /* Hide cards from hero section on small mobile */
    .hero .client-review,
    .hero .expertise-card {
        display: none;
    }
    
    /* Mobile cards in about section */
    .about .mobile-client-review,
    .about .mobile-expertise-card {
        display: block;
        position: relative;
        margin: 15px auto;
        max-width: 280px;
        transform: scale(0.9);
    }
}

/* Default hide mobile cards on desktop */
.mobile-client-review,
.mobile-expertise-card {
    display: none;
}