/* Reset and Base Styles */
:root {
    --primary-color: #64ffda;
    --secondary-color: #0F172A;
    --text-color: #94A3B8;
    --heading-color: #F1F5F9;
    --bg-color: #0B1121;
    --card-bg: #1E293B;
    --border-color: #334155;
    --gradient-start: #64ffda;
    --gradient-end: #0EA5E9;
    --nav-bg: rgba(11, 17, 33, 0.95);
    --accent-color: #64ffda;
    --danger-color: #DC2626;
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --surface-1: #1E293B;
    --surface-2: #334155;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
}

body {
    font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    font-weight: 400;
    letter-spacing: 0.2px;
}

section {
    position: relative;
    padding: 120px 5%;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(100, 255, 218, 0.05), transparent 50%);
    pointer-events: none;
}

/* Common Styles */
.section-title {
    font-size: 2.5rem;
    color: var(--heading-color);
    text-align: center;
    margin-bottom: 60px;
    width: 100%;
    position: relative;
    font-weight: 700;
}

.section-title span {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-description {
    text-align: center;
    max-width: 700px;
    margin: -30px auto 50px;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Navbar Styles */
.navbar {
    background: var(--nav-bg);
    padding: 1.25rem 8%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.9rem 8%;
    background: var(--secondary-color);
    box-shadow: var(--shadow-lg);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading-color);
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo::before {
    content: "<";
    color: var(--primary-color);
    font-weight: 700;
}

.logo::after {
    content: "/>";
    color: var(--primary-color);
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2.5rem;
}

a {
    text-decoration: none;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::before {
    display: none;
}

.nav-links a:hover::before {
    width: 100%;
}

/* Menu Button */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 998;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

.menu-btn {
    display: none;
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
    margin: 0;
    padding: 0;
    z-index: 1010;
}

.menu-btn__burger {
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 14px;
    transition: all 0.3s ease;
}

.menu-btn__burger::before,
.menu-btn__burger::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    left: 0;
    transition: all 0.3s ease;
}

.menu-btn__burger::before {
    transform: translateY(-10px);
}

.menu-btn__burger::after {
    transform: translateY(10px);
}

/* Menu Button Active State */
.menu-btn.active .menu-btn__burger {
    background-color: transparent;
}

.menu-btn.active .menu-btn__burger::before {
    transform: rotate(45deg);
}

.menu-btn.active .menu-btn__burger::after {
    transform: rotate(-45deg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--bg-color) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(100, 255, 218, 0.08), transparent 60%);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom left, rgba(14, 165, 233, 0.08), transparent 60%);
}

.hero-content {
    max-width: 1000px;
    text-align: center;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--heading-color);
    line-height: 1.2;
    letter-spacing: -1px;
}

.highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(100, 255, 218, 0.2);
    z-index: -1;
    border-radius: 4px;
}

.typewriter {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    min-height: 2.5rem;
}

.typed-text {
    color: var(--heading-color);
    font-weight: 600;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 1.3rem;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    color: var(--primary-color);
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 1.3rem;
    background: rgba(255, 255, 255, 0.05);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(0);
    text-decoration: none;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    border-radius: 50%;
    transform: scale(0);
    transition: all 0.3s ease;
    z-index: -1;
}

.social-btn:hover {
    color: var(--bg-color);
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(100, 255, 218, 0.3);
}

.social-btn:hover::before {
    transform: scale(1);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.cta-button {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    z-index: 1;
    min-width: 180px;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent
    );
    transition: all 0.5s ease;
    z-index: -1;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button.primary {
    background: var(--primary-color);
    color: var(--bg-color);
    border: none;
}

.cta-button.primary:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(100, 255, 218, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-button.secondary:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(100, 255, 218, 0.1);
}

/* About Section */
.about {
    background: var(--secondary-color);
    padding: 120px 5%;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0.05;
}

.about-content {
    display: flex;
    gap: 6rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
}

.profile-image {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-xl);
    transform: rotate(2deg);
    transition: all 0.5s ease;
}

.profile-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid var(--primary-color);
    border-radius: 12px;
    z-index: 1;
    transform: translate(15px, 15px);
    transition: all 0.5s ease;
}

.profile-image:hover {
    transform: rotate(0deg);
}

.profile-image:hover::before {
    transform: translate(10px, 10px);
}

.profile-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.5s ease;
    filter: grayscale(20%);
}

.profile-image:hover img {
    filter: grayscale(0%);
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--primary-color);
    background: transparent;
    border: 2px solid var(--primary-color);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--primary-color);
    transition: all 0.3s ease;
    z-index: -1;
}

.download-btn:hover {
    color: var(--bg-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.download-btn:hover::before {
    width: 100%;
}

.about-right {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-text {
    color: var(--text-color);
}

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

.about-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
}

.detail:hover {
background: rgba(255, 255, 255, 0.05);
transform: translateX(5px);
}

.detail i {
color: var(--primary-color);
font-size: 1.2rem;
min-width: 20px;
text-align: center;
}

.detail span {
color: var(--heading-color);
font-size: 1rem;
}

.social-btn {
display: inline-flex;
align-items: center;
gap: 0.5rem;
text-decoration: none;
color: var(--primary-color);
background: transparent;
border: 2px solid var(--primary-color);
padding: 0.8rem 1.5rem;
border-radius: 50%;
font-weight: 600;
font-size: 1rem;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
z-index: 1;
}

.social-btn:hover {
background: rgba(255, 255, 255, 0.1);
transform: translateY(-3px);
color: var(--primary-color);
}

.social-btn.twitter i {
font-size: 1.1rem;
}

.social-btn.twitter:hover {
color: #1DA1F2;
    color: var(--heading-color);
    font-size: 1rem;
}

/* Skills Section */
.skills {
    background: var(--bg-color);
    padding: 120px 5%;
    position: relative;
}

.skills::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(100, 255, 218, 0.03), transparent 70%);
    pointer-events: none;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.skill-category {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    height: 100%;
}

.skill-category:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.skill-category h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.skill-category h3 i {
    font-size: 1.3rem;
}

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

.skill-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 2px solid transparent;
}

.skill-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
    border-left: 2px solid var(--primary-color);
}

.skill-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.skill-item span {
    color: var(--heading-color);
    font-size: 0.95rem;
    white-space: nowrap;
}

/* Education Section */
.education {
    background: var(--secondary-color);
    padding: 120px 5%;
    position: relative;
}

.education::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom left, rgba(14, 165, 233, 0.05), transparent 70%);
    pointer-events: none;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.education-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.education-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.education-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--gradient-end));
}

.education-icon {
    width: 36px;
    height: 36px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1rem;
    border: 1px solid var(--text-color);
    transition: all 0.3s ease;
}

.education-card:hover .education-icon {
    transform: rotate(360deg);
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-color);
    transform: scale(1.05);
}

.education-content h3 {
    color: var(--heading-color);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.education-content h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.education-content p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.education-date {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.education-date i {
    color: var(--primary-color);
}

/* Availability Section */
.availability {
    padding: 40px 5%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.97) 0%, rgba(20, 20, 20, 0.95) 100%);
    text-align: center;
}

.availability-content {
    max-width: 800px;
    margin: 0 auto;
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: #000000;
    padding: 1.5rem 2rem;
    border-radius: 50px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.availability-badge .status {
    color: var(--text-color);
    font-size: 1.1rem;
}

.availability-types {
    display: flex;
    gap: 1rem;
}

.availability-types .type {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    background: rgba(255, 215, 0, 0.1);
}

/* Blogs Section */
.blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.blog-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 1rem;
}

/* Projects Section */
.projects {
    background: var(--bg-color);
    padding: 100px 5%;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.work-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

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

.work-logo {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    margin: -35px 0 1.2rem;
    border: 2px solid var(--border-color);
    background: white;
    box-shadow: var(--shadow-md);
    position: relative;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-logo img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.work-image {
    width: 100%;
    height: 250px;
}

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

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

.work-content {
    padding: 2rem;
    position: relative;
}

.work-content h3 {
    color: var(--heading-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.work-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.work-place {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 500;
}

.work-date {
    color: var(--text-color);
    font-size: 0.9rem;
    opacity: 0.8;
}

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

.work-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.work-link:hover {
    background: var(--primary-color);
    color: var(--bg-color);
    transform: translateY(-2px);
}

/* Blog Section */
.blog {
    background: var(--bg-color);
    padding: 100px 5%;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

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

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
}

.blog-content h3 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    gap: 0.8rem;
    color: var(--secondary-color);
}

@media screen and (max-width: 768px) {
    .projects-grid,
    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        padding: 0 1rem;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 150px);
        gap: 0.75rem;
    }
}

/* Contact Section */
.contact {
    padding: 50px 5%;
    background: var(--bg-color);
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 160px);
    gap: 1rem;
    max-width: 800px;
    margin: 2rem auto 0;
    padding: 0 1rem;
    justify-content: center;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: white;
}

.contact-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

.contact-card:hover .contact-card-icon {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-color);
}

.contact-card-icon {
    width: 28px;
    height: 28px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--text-color);
    margin-bottom: 0.25rem;
    text-decoration: none;
    border: 1px solid var(--text-color);
    transition: all 0.3s ease;
}

.contact-card h3 {
    font-size: 0.95rem;
    color: var(--text-color);
    margin: 0;
    font-weight: 500;
}

.social-btn i {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.2);
}

.social-btn:hover::before {
    transform: scale(1);
}

.social-btn:hover i {
    color: #000000;
}

.contact-item i {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1rem;
    border: 2px solid var(--primary-color);
    flex-shrink: 0;
}

.contact-item p {
    margin: 0;
    color: var(--text-color);
    word-break: break-word;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border-radius: 8px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-size: 1rem;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--bg-color);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

@media screen and (max-width: 768px) {
    .contact {
        padding: 60px 1rem;
    }

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

    .social-links {
        gap: 1rem;
    }

    .social-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .contact-info {
        order: 2;
    }

    .contact-form {
        order: 1;
    }

    .contact-item {
        padding: 0.8rem;
        font-size: 1rem;
    }

    .contact-item i {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .contact {
        padding: 40px 1rem;
    }

    .social-links {
        gap: 1rem;
    }

    .social-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .contact-item {
        padding: 0.8rem;
        font-size: 0.9rem;
        gap: 1rem;
    }

    .contact-item i {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }

    .contact-info {
        gap: 1rem;
    }

    .submit-btn {
        width: 100%;
    }
}

/* Achievements Section */
.achievements {
    background: var(--bg-color);
    padding: 120px 5%;
    position: relative;
    overflow: hidden;
}

.achievements::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(100, 255, 218, 0.03), transparent 70%);
    pointer-events: none;
}

.achievements-carousel {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.carousel-container {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.achievement-card {
    min-width: 100%;
    background: var(--card-bg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.achievement-card:hover {
    border-color: var(--primary-color);
}

.achievement-image {
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
    position: relative;
}

.achievement-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 70%, var(--card-bg));
    z-index: 1;
}

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

.achievement-card:hover .achievement-image img {
    transform: scale(1.05);
}

.achievement-content {
    padding: 1rem 0;
}

.achievement-content h3 {
    color: var(--heading-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.achievement-content p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.achievement-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.achievement-date {
    font-size: 0.9rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.achievement-category {
    font-size: 0.9rem;
    background: rgba(100, 255, 218, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}

.view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
}

.view-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--primary-color);
    transition: all 0.3s ease;
    z-index: -1;
}

.view-more-btn:hover {
    color: var(--bg-color);
    transform: translateY(-5px);
}

.view-more-btn:hover::before {
    width: 100%;
}

.carousel-buttons {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 2;
}

.carousel-buttons button {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--bg-color);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.carousel-buttons button:hover {
    background: var(--heading-color);
    transform: scale(1.1);
}

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

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Projects Section */
.projects {
    background: var(--secondary-color);
    padding: 120px 5%;
    position: relative;
    overflow: hidden;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.03), transparent 70%);
    pointer-events: none;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.project-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

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

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

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 70%, var(--card-bg));
    z-index: 1;
    opacity: 0.7;
}

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

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

.project-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-content h3 {
    color: var(--heading-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.project-content p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1.5rem;
}

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

.tech-tag {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary-color);
    font-size: 0.8rem;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateY(-2px);
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    color: var(--heading-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.project-link:hover {
    background: var(--primary-color);
    color: var(--bg-color);
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

.achievement-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
}

.achievement-card .view-more-btn,
.achievement-card .view-website-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.achievement-card .view-more-btn {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.achievement-card .view-website-btn {
    color: var(--heading-color);
    border: 1px solid var(--heading-color);
}

.achievement-card .view-more-btn:hover {
    background: var(--primary-color);
    color: var(--bg-color);
}

.achievement-card .view-website-btn:hover {
    background: var(--heading-color);
    color: var(--bg-color);
    transform: translateY(-2px);
}

/* Blog Section */
.blog {
    background: var(--bg-color);
    padding: 120px 5%;
    position: relative;
}

.blog::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(100, 255, 218, 0.03), transparent 70%);
    pointer-events: none;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.blog-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.blog-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.blog-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 70%, var(--card-bg));
    z-index: 1;
    opacity: 0.7;
}

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

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.blog-category {
    font-size: 0.8rem;
    background: rgba(100, 255, 218, 0.1);
    color: var(--primary-color);
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
}

.blog-content h3 {
    color: var(--heading-color);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.blog-content p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1.5rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
}

.read-more i {
    transition: all 0.3s ease;
}

.read-more:hover {
    gap: 0.8rem;
}

.read-more:hover i {
    transform: translateX(3px);
}

/* Contact Section */
.contact {
    background: var(--secondary-color);
    padding: 120px 5% 80px;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom left, rgba(14, 165, 233, 0.05), transparent 70%);
    pointer-events: none;
}

.contact .social-links {
    margin-bottom: 3rem;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.contact-info {
    padding: 3rem;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.contact-item p {
    color: var(--heading-color);
    font-size: 1rem;
}

.contact-form {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--heading-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 2px rgba(100, 255, 218, 0.1);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form .submit-btn {
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--bg-color);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-form .submit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(100, 255, 218, 0.2);
}

/* Footer */
footer {
    background: var(--bg-color);
    color: var(--text-color);
    padding: 4rem 5% 2rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, 
        transparent, 
        var(--border-color), 
        transparent
    );
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer-section h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-section p {
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-section ul li i {
    color: var(--primary-color);
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-color);
    font-size: 0.9rem;
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-card,
    .blog-card {
        height: auto;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        padding: 2rem;
    }
}

@media screen and (max-width: 768px) {
    section {
        padding: 80px 5%;
    }
    
    .navbar {
        padding: 1rem 5%;
    }
    
    .menu-btn {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        right: 0;
        width: 200px;
        background: var(--nav-bg);
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
        transition: all 0.3s ease;
        opacity: 0;
        visibility: hidden;
        z-index: 999;
        border-radius: 0 0 0 10px;
        box-shadow: var(--shadow-lg);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid var(--border-color);
    }
    
    .nav-links.active {
        display: flex;
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        width: 100%;
        margin: 0.5rem 0;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 0.5rem 1rem;
        border-radius: 5px;
    }

    .nav-links a:hover {
        background: var(--primary-color);
        color: var(--bg-color);
    }

    .nav-links a:hover::before {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .typewriter {
        font-size: 1.3rem;
    }
    
    .about-content {
        flex-direction: column;
        gap: 3rem;
    }
    
    .about-left {
        align-items: center;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .work-grid,
    .education-grid,
    .projects-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .contact-card {
        width: 100%;
        margin: 0.5rem 0;
    }
}

@media screen and (max-width: 576px) {
    section {
        padding: 60px 5%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .typewriter {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .profile-image {
        max-width: 300px;
    }
    
    .education-card,
    .work-card,
    .project-card,
    .blog-card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Animation Styles */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-aos="custom-fade-up"] {
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-aos="custom-fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}
