/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Orbitron', monospace;
    line-height: 1.6;
    color: #e5e5e5;
    background-color: #0a0a0a;
}

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

/* Navigation */
.main-nav {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.hamburger-menu {
    background: rgba(10, 10, 10, 0.9);
    border: 2px solid #00ff88;
    border-radius: 8px;
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    position: relative;
    z-index: 1001;
}

.hamburger-menu:hover {
    background: rgba(0, 255, 136, 0.1);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background-color: #00ff88;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 0;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 0;
    margin: 0;
    overflow: hidden;
    transition: width 0.3s ease;
    border-left: 1px solid #333;
}

.nav-links.active {
    width: 300px;
}

.nav-links li {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.3s ease;
}

.nav-links.active li {
    opacity: 1;
    transform: translateX(0);
}

.nav-links.active li:nth-child(1) {
    transition-delay: 0.1s;
}

.nav-links.active li:nth-child(2) {
    transition-delay: 0.2s;
}

.nav-links.active li:nth-child(3) {
    transition-delay: 0.3s;
}

.nav-links.active li:nth-child(4) {
    transition-delay: 0.4s;
}

.nav-links.active li:nth-child(5) {
    transition-delay: 0.5s;
}

.nav-links.active li:nth-child(6) {
    transition-delay: 0.6s;
}

.nav-links a {
    color: #e5e5e5;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    position: relative;
    display: block;
    padding: 0.5rem 1rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: #00ff88;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 80%;
    background-color: #00ff88;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    color: white;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.binary-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    font-family: 'Orbitron', monospace;
    font-size: 12px;
    color: rgba(0, 255, 136, 0.1);
    line-height: 1.1;
    white-space: pre-wrap;
    overflow: hidden;
    padding: 20px;
    box-sizing: border-box;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 255, 136, 0.05) 50%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    min-height: 6rem;
}

.highlight {
    color: #00ff88;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #e5e7eb;
    min-height: 1.8rem;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #d1d5db;
    line-height: 1.7;
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #00ff88;
    color: #0a0a0a;
}

.btn-primary:hover {
    background-color: #00e676;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 255, 136, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background-color: #00ff88;
    color: #0a0a0a;
    border-color: #00ff88;
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #00ff88;
    border: 3px solid rgba(0, 255, 136, 0.3);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #e5e5e5;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: #00ff88;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* About Section */
.about {
    background-color: #1a1a1a;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #b0b0b0;
    line-height: 1.7;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: #0a0a0a;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
}

.stat h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #00ff88;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #b0b0b0;
    font-weight: 500;
}

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

.image-container {
    position: relative;
    width: 300px;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid #00ff88;
    transition: all 0.3s ease;
    animation: glowPulse 2s ease-in-out infinite alternate;
    cursor: pointer;
}

@keyframes glowPulse {
    0% {
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
        transform: translateY(0px);
    }
    100% {
        box-shadow: 0 0 30px rgba(0, 255, 136, 0.6), 0 0 40px rgba(0, 255, 136, 0.4);
        transform: translateY(-5px);
    }
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    transition: all 0.3s ease;
    z-index: 1;
}

.binary-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 255, 136, 0.1);
    font-family: 'Orbitron', monospace;
    font-size: 8px;
    color: rgba(0, 255, 136, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.image-container:hover .image-overlay {
    background: rgba(10, 10, 10, 0.1);
}

.image-container:hover .binary-overlay {
    background: rgba(0, 255, 136, 0.05);
    color: rgba(0, 255, 136, 0.1);
}

.image-container:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.4), 0 0 50px rgba(0, 255, 136, 0.3);
    animation: none;
}

/* Projects Section */
.projects {
    background-color: #0a0a0a;
}

/* Mobile Projects List */
.projects-mobile-list {
    display: none;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.project-mobile-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid #333;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    gap: 1rem;
}

.project-mobile-item:hover {
    transform: translateX(5px);
    border-color: #00ff88;
    box-shadow: 0 8px 20px rgba(0, 255, 136, 0.1);
}

.project-mobile-item > div {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-mobile-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #e5e5e5;
    margin: 0 0 0.5rem 0;
}

.project-mobile-item p {
    font-size: 1rem;
    color: #b0b0b0;
    margin: 0;
}

.project-mobile-item i {
    color: #00ff88;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.project-mobile-item:hover i {
    transform: translateX(5px);
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 20px;
    width: 100%;
    box-sizing: border-box;
}

.carousel-wrapper {
    overflow: hidden;
    border-radius: 15px;
    margin: 0 50px;
    width: calc(100% - 100px);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 0;
    width: 100%;
}

.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
    padding: 0 10px;
    box-sizing: border-box;
}

.project-carousel-item {
    display: block;
    text-decoration: none;
    background: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid #333;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
}

.project-carousel-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.2);
    border-color: #00ff88;
}

.project-carousel-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
}

.project-carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

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

.project-carousel-title {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    padding: 2rem;
    color: #e5e5e5;
    margin: 0;
    transition: color 0.3s ease;
}

.project-carousel-item:hover .project-carousel-title {
    color: #00ff88;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 10, 10, 0.9);
    border: 2px solid #00ff88;
    color: #00ff88;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(0, 255, 136, 0.1);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn-prev {
    left: 10px;
}

.carousel-btn-next {
    right: 10px;
}

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

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #333;
    border: 2px solid #00ff88;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: #00ff88;
    transform: scale(1.2);
}

/* Project Detail Page Styles */
.project-detail {
    background-color: #0a0a0a;
}

.project-detail-header {
    text-align: center;
    padding: 3rem 0 2rem;
}

.project-detail-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #e5e5e5;
}

.project-detail-header .project-detail-subtitle {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 2rem;
}

.project-detail-image {
    max-width: 1200px;
    margin: 0 auto 3rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid #00ff88;
}

.project-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.project-detail-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 4rem;
}

.project-detail-section {
    margin-bottom: 3rem;
}

.project-detail-section h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #e5e5e5;
    border-bottom: 2px solid #00ff88;
    padding-bottom: 0.5rem;
}

.project-detail-section p {
    color: #b0b0b0;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.project-detail-features {
    list-style: none;
    padding: 0;
}

.project-detail-features li {
    color: #b0b0b0;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.8;
    font-size: 1.1rem;
}

.project-detail-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00ff88;
    font-weight: bold;
    font-size: 1.2rem;
}

.project-detail-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.project-detail-links .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 30px;
    font-size: 1rem;
}

.back-to-projects {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #00ff88;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.back-to-projects:hover {
    color: #00e676;
    transform: translateX(-5px);
}

.tech-tag {
    background-color: #333;
    color: #00ff88;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid #00ff88;
}

/* Skills Section */
.skills {
    background-color: #0a0a0a;
}

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

.skill-category {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
}

.skill-category h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #e5e5e5;
    text-align: center;
}

.skill-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background-color: #0a0a0a;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.skill-item:hover {
    background-color: #1a1a1a;
    transform: translateY(-2px);
    border-color: #00ff88;
}

.skill-item i {
    font-size: 2rem;
    color: #00ff88;
    margin-bottom: 0.5rem;
}

.skill-item span {
    font-weight: 500;
    color: #e5e5e5;
    text-align: center;
}

/* Experience Section */
.experience {
    background-color: #0a0a0a;
}

.resume-section {
    margin-bottom: 4rem;
    display: flex;
    justify-content: center;
}

.resume-card {
    background: #1a1a1a;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
    text-align: center;
    max-width: 500px;
    width: 100%;
    transition: all 0.3s ease;
}

.resume-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.1);
    border-color: #00ff88;
}

.resume-card i {
    font-size: 4rem;
    color: #00ff88;
    margin-bottom: 1rem;
}

.resume-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #e5e5e5;
}

.resume-card p {
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.resume-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #00ff88 0%, rgba(0, 255, 136, 0.3) 100%);
}

.experience-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
}

.experience-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.experience-date {
    position: absolute;
    left: 0;
    top: 0;
}

.date-badge {
    display: inline-block;
    background: #00ff88;
    color: #0a0a0a;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.experience-content {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.experience-content:hover {
    transform: translateX(10px);
    border-color: #00ff88;
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.1);
}

.experience-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #e5e5e5;
}

.experience-content h4 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #00ff88;
}

.experience-location {
    color: #b0b0b0;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.experience-location i {
    color: #00ff88;
}

.experience-duties {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.experience-duties li {
    color: #b0b0b0;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.experience-duties li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: #00ff88;
    font-weight: bold;
}

.experience-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #e5e5e5;
}

.contact-info p {
    color: #b0b0b0;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-methods {
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #e5e5e5;
}

.contact-method i {
    color: #00ff88;
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #00ff88;
    color: #0a0a0a;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #00e676;
    transform: translateY(-2px);
}

.contact-form {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #333;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
    background-color: #0a0a0a;
    color: #e5e5e5;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ff88;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background-color: #0a0a0a;
    color: white;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid #333;
}

.footer-content p {
    margin-bottom: 0.5rem;
    color: #b0b0b0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .main-nav {
        top: 15px;
        right: 15px;
    }

    .hamburger-menu {
        width: 45px;
        height: 45px;
    }

    .nav-links.active {
        width: 100%;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    section {
        padding: 60px 0;
    }

    .hero {
        min-height: 100vh;
        padding: 20px 0;
    }

    .hero-container {
        padding: 40px 20px;
        text-align: center;
    }

    .hero-title {
        font-size: 3.5rem;
        min-height: auto;
        margin-bottom: 1rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        min-height: auto;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .hero-buttons .btn-secondary {
        display: none;
    }

    .hero-buttons .btn-primary {
        width: 100%;
        max-width: 250px;
    }

    .btn {
        padding: 10px 24px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 250px;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat {
        padding: 1.25rem;
    }

    .stat h3 {
        font-size: 1.75rem;
    }

    .image-container {
        width: 100%;
        max-width: 280px;
        height: 350px;
        margin: 0 auto;
    }

    .image-placeholder {
        width: 200px;
        height: 200px;
        font-size: 3rem;
    }

    .projects-mobile-list {
        display: flex;
    }

    .carousel-container {
        display: none;
    }

    .carousel-indicators {
        display: none;
    }

    .carousel-slide {
        padding: 0;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .carousel-btn-prev {
        left: 5px;
    }

    .carousel-btn-next {
        right: 5px;
    }

    .project-carousel-item {
        border-radius: 10px;
    }

    .project-carousel-image {
        height: 350px;
    }

    .project-carousel-image img {
        object-fit: contain;
    }

    .project-carousel-title {
        font-size: 1.5rem;
        padding: 1.5rem;
    }

    .carousel-indicators {
        margin-top: 1.5rem;
    }

    .carousel-indicator {
        width: 10px;
        height: 10px;
    }

    .project-detail-header h1 {
        font-size: 2rem;
    }

    .project-detail-content {
        padding: 0 15px 3rem;
    }

    .project-content {
        padding: 1.25rem;
    }

    .project-content h3 {
        font-size: 1.2rem;
    }

    .project-content p {
        font-size: 0.95rem;
    }

    .resume-card {
        padding: 2rem;
    }

    .resume-card i {
        font-size: 3rem;
    }

    .resume-buttons {
        flex-direction: column;
    }

    .resume-buttons .btn {
        width: 100%;
        max-width: 250px;
    }

    .experience-timeline::before {
        left: 15px;
    }

    .experience-item {
        padding-left: 50px;
    }

    .date-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .experience-content {
        padding: 1.5rem;
    }

    .experience-content h3 {
        font-size: 1.3rem;
    }

    .experience-content h4 {
        font-size: 1.1rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info h3 {
        font-size: 1.3rem;
    }

    .contact-info p {
        font-size: 0.95rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.95rem;
        padding: 10px 14px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .skill-category {
        padding: 1.5rem;
    }

    .skill-category h3 {
        font-size: 1.2rem;
        margin-bottom: 1.25rem;
    }

    .skill-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .skill-item {
        padding: 0.75rem;
    }

    .skill-item i {
        font-size: 1.75rem;
    }

    .skill-item span {
        font-size: 0.9rem;
    }

    .social-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .social-link {
        width: 45px;
        height: 45px;
    }

    .footer {
        padding: 1.5rem 0;
    }

    .footer-content p {
        font-size: 0.9rem;
    }
}

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

    .main-nav {
        top: 12px;
        right: 12px;
    }

    .hamburger-menu {
        width: 40px;
        height: 40px;
    }

    .hamburger-menu span {
        width: 22px;
        height: 2.5px;
    }

    section {
        padding: 50px 0;
    }

    .hero-container {
        padding: 30px 15px;
    }

    .hero-title {
        font-size: 3rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        max-width: 100%;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .about-text p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .about-stats {
        gap: 1rem;
    }

    .stat {
        padding: 1rem;
    }

    .stat h3 {
        font-size: 1.5rem;
    }

    .stat p {
        font-size: 0.9rem;
    }

    .image-container {
        max-width: 250px;
        height: 320px;
    }

    .image-placeholder {
        width: 180px;
        height: 180px;
        font-size: 2.5rem;
    }

    .carousel-container {
        padding: 1rem 5px;
        width: 100%;
    }

    .carousel-wrapper {
        margin: 0 40px;
        width: calc(100% - 80px);
        border-radius: 10px;
    }

    .carousel-slide {
        padding: 0;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .carousel-btn-prev {
        left: 2px;
    }

    .carousel-btn-next {
        right: 2px;
    }

    .project-carousel-item {
        border-radius: 10px;
    }

    .project-carousel-item:hover {
        transform: translateY(-5px) scale(1.01);
    }

    .project-carousel-image {
        height: 280px;
        min-height: 280px;
    }

    .project-carousel-image img {
        object-fit: contain;
        object-position: center;
    }

    .project-carousel-title {
        font-size: 1.2rem;
        padding: 1rem;
    }

    .carousel-indicators {
        margin-top: 1rem;
        gap: 0.4rem;
    }

    .carousel-indicator {
        width: 8px;
        height: 8px;
    }

    .project-mobile-item {
        padding: 1.25rem;
    }

    .project-mobile-item h3 {
        font-size: 1.2rem;
    }

    .project-mobile-item p {
        font-size: 0.9rem;
    }

    .project-mobile-item i {
        font-size: 1.1rem;
    }

    .project-detail-header h1 {
        font-size: 1.75rem;
    }

    .project-detail-section h2 {
        font-size: 1.5rem;
    }

    .project-detail-section p,
    .project-detail-features li {
        font-size: 1rem;
    }

    .project-content {
        padding: 1rem;
    }

    .project-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .project-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }

    .project-tech {
        margin-bottom: 1rem;
    }

    .tech-tag {
        font-size: 0.8rem;
        padding: 0.2rem 0.6rem;
    }

    .project-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .project-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .tech-tag {
        font-size: 0.8rem;
        padding: 0.2rem 0.6rem;
    }

    .project-links {
        flex-direction: column;
        gap: 0.75rem;
    }

    .resume-card {
        padding: 1.5rem;
    }

    .resume-card i {
        font-size: 2.5rem;
    }

    .resume-card h3 {
        font-size: 1.3rem;
    }

    .experience-timeline::before {
        left: 12px;
    }

    .experience-item {
        padding-left: 40px;
        margin-bottom: 2rem;
    }

    .date-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }

    .experience-content {
        padding: 1.25rem;
    }

    .experience-content h3 {
        font-size: 1.2rem;
    }

    .experience-content h4 {
        font-size: 1rem;
    }

    .experience-duties li {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .project-link {
        font-size: 0.9rem;
    }

    .contact-info h3 {
        font-size: 1.2rem;
    }

    .contact-info p {
        font-size: 0.9rem;
    }

    .contact-method {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    .contact-method i {
        font-size: 1.1rem;
    }

    .contact-form {
        padding: 1.25rem;
    }

    .form-group {
        margin-bottom: 1.25rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.9rem;
        padding: 10px 12px;
    }

    .form-group textarea {
        min-height: 100px;
    }

    .skills-grid {
        gap: 1.25rem;
    }

    .skill-category {
        padding: 1.25rem;
    }

    .skill-category h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .skill-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }

    .skill-item {
        padding: 0.6rem;
    }

    .skill-item i {
        font-size: 1.5rem;
        margin-bottom: 0.4rem;
    }

    .skill-item span {
        font-size: 0.85rem;
    }

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

    .footer {
        padding: 1.25rem 0;
    }

    .footer-content p {
        font-size: 0.85rem;
    }

    .binary-bg {
        font-size: 10px;
        padding: 15px;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

    .skill-items {
        grid-template-columns: 1fr;
    }

    .image-container {
        max-width: 220px;
        height: 280px;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}
