/* ===== CRITICAL MOBILE FIXES ===== */
/* Prevents horizontal scrolling and ensures proper box model */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

/* Base Styles */
:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
    --light-gray: #e2e8f0;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --color-primary-variant: rgba(59, 130, 246, 0.4);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 6rem auto 2rem;
    padding: 2rem;
}

section {
    margin-bottom: 4rem;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    padding: 0.8rem 1.5rem;
    z-index: 1000;
    transition: var(--transition);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px 0 rgba(2, 12, 27, 0.37);
}

.navbar.scrolled {
    top: 0.5rem;
    padding: 0.6rem 1.5rem;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(16px) saturate(200%);
    -webkit-backdrop-filter: blur(16px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(2, 12, 27, 0.4);
    border-radius: 12px;
    width: 95%;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-links a.active {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.1);
    font-weight: 600;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0.3rem;
    left: 1rem;
    background-color: #60a5fa;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.nav-links a:hover::after {
    width: calc(100% - 2rem);
}

/* Hamburger Menu Enhanced */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #e2e8f0;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

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

/* Contact Me Section */
.contact-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: none;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    padding: 1rem 0;
}

.social-link {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #ffffff, #e6e6e6);
    box-shadow: 5px 5px 15px #d1d9e6, -5px -5px 15px #ffffff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.social-link:hover::before {
    opacity: 1;
}

.social-icon {
    width: 24px;
    height: 24px;
    color: #334155;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* Hover Effects */
.social-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 8px 8px 18px #d1d9e6, -8px -8px 18px #ffffff;
}

.social-link:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 3px 3px 10px #d1d9e6, -3px -3px 10px #ffffff;
}

/* Platform-specific hover effects */
.social-link[aria-label="LinkedIn"]:hover {
    background: linear-gradient(145deg, #0a66c2, #095bac);
}

.social-link[aria-label="GitHub"]:hover {
    background: linear-gradient(145deg, #333333, #2a2a2a);
}

.social-link[aria-label="Medium"]:hover {
    background: linear-gradient(145deg, #000000, #333333);
}

.social-link:hover .social-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}

.social-link[aria-label="LinkedIn"]:hover .social-icon {
    color: white;
}

.social-link[aria-label="GitHub"]:hover .social-icon {
    color: white;
}

.social-link[aria-label="Medium"]:hover .social-icon {
    color: white;
}

/* Section padding */
.about-section,
#certifications.section-container,
#my-work.section-container,
#beyond-code.section-container,
#tech.section-container {
    padding-top: 4rem;
}

/* Contact section title */
.contact-section .section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Gradient animation */
@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .social-links {
        gap: 1.5rem;
    }
    
    .social-link {
        width: 50px;
        height: 50px;
    }
    
    .social-icon {
        width: 24px;
        height: 24px;
    }
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #1e293b;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    background-attachment: fixed;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 20%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.8) 0%, transparent 30%);
    background-size: 100% 100%, 100% 100%, 100% 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.8;
}

/* ===== HERO ANIMATION ===== */
/* Define a fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
.hero {
    display: flex;
    min-height: calc(100vh - 80px);
    align-items: center;
    position: relative;
    padding: 0 8%;
    position: relative;
    margin-top: 80px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content {
    flex: 1;
    max-width: 700px;
    padding-right: 4rem;
    position: relative;
    z-index: 2;
    animation: fadeIn 1s ease-in-out 0.3s forwards;
    opacity: 0; /* Start invisible */
}

.hero h1 {
    font-size: 3.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.greeting {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2d3748;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.highlight-name {
    color: #1e40af;
    font-weight: 800;
}

.tagline {
    font-size: 1.4rem;
    color: #475569;
    margin: 2rem 0;
    font-weight: 400;
    line-height: 1.7;
    max-width: 90%;
    position: relative;
    padding-left: 2rem;
    border-left: 3px solid #3b82f6;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    font-size: 1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: none;
    cursor: pointer;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover::before {
    transform: translateX(0);
}

.btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(29, 78, 216, 0.2), 0 4px 6px -2px rgba(29, 78, 216, 0.1);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    background: white;
    color: #2563eb;
    border: 2px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    animation: fadeIn 1s ease-in-out forwards;
    opacity: 0; /* Start invisible */
    align-items: center;
    position: relative;
    z-index: 1;
}

.profile-image {
    max-height: 80vh;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.profile-image:hover {
    transform: translateY(-5px);
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.about-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    border-radius: 2px;
}

.about-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #475569;
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

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

.principle-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(203, 213, 225, 0.3);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.principle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #3b82f6, #2563eb);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.principle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(99, 102, 241, 0.1);
}

.principle-card:hover::before {
    opacity: 1;
}

.principle-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.principle-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #3b82f6;
    border-radius: 50%;
}

.principle-text {
    color: #475569;
    line-height: 1.7;
    margin: 0;
    font-size: 1.05rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    border-radius: 2px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #475569;
    text-align: center;
    position: relative;
    z-index: 1;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    width: 100%;
    align-items: stretch;
}

.principle-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem 1.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
}

.principle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    border-color: #cbd5e1;
}

.principle-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

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

.principle-title {
    color: #1e293b;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
}

.principle-text {
    color: #475569;
    line-height: 1.6;
    margin: 0;
    font-size: 0.9rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Responsive adjustments */
@media (max-width: 1400px) {
    .principles-grid {
        grid-template-columns: repeat(3, minmax(280px, 1fr));
        max-width: 1200px;
    }
}

@media (max-width: 1024px) {
    .principles-grid {
        grid-template-columns: repeat(2, minmax(280px, 1fr));
        max-width: 900px;
    }
}

@media (max-width: 768px) {
    .about-content {
        padding: 2rem 1.5rem;
    }
    
    .principle-card {
        padding: 1.75rem;
    }
}

@media (max-width: 480px) {
    .principles-grid {
        grid-template-columns: 1fr;
    }
    
    .principle-card {
        padding: 1.5rem;
    }
    
    .principle-title {
        font-size: 1.15rem;
    }
    
    .principle-text {
        font-size: 0.9rem;
    }
}

/* About Section */
.about-section {
    padding: 5rem 5%;
    background-color: #f8fafc;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    border-radius: 2px;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #475569;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

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

.principle-card:nth-child(1) {
    background-color: #e0f2fe; /* Light blue for Iterative Development */
    border: 1px solid #bae6fd;
}

.principle-card:nth-child(2) {
    background-color: #fef9c3; /* Light yellow for Optimization Focus */
    border: 1px solid #fef08a;
}

.principle-card:nth-child(3) {
    background-color: #f3e8ff; /* Light purple for AI-Driven Productivity */
    border: 1px solid #e9d5ff;
}

.principle-card {
    background: white;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.principle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.principle-title {
    color: #1e293b;
    font-size: 1.25rem;
    margin: 0 0 1rem 0;
    font-weight: 600;
}

.principle-text {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .principles-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .principles-grid {
        grid-template-columns: 1fr;
    }
    
    .about-section {
        padding: 3rem 5%;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Navbar - Temporary style */
.navbar {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    padding: 0.8rem 1.5rem;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px 0 rgba(2, 12, 27, 0.37);
}

/* Technical Expertise Section */
.tech-section {
    padding: 6rem 0;
    background-color: #f8fafc;
}

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

.skill-tile {
    background: white;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.skill-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.skill-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
}

.skill-svg {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.skill-tile:hover .skill-svg {
    transform: scale(1.1);
    opacity: 1;
}

.skill-name {
    font-size: 1.1rem;
    color: #1e293b;
    margin: 0;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .skills-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .skill-tile {
        padding: 1.5rem 1rem;
    }
    
    .skill-icon {
        font-size: 2rem;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

/* Projects Section */
.projects-section {
    padding: 6rem 0;
    background-color: #ffffff;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.project-tile {
    background: #ffffff;
    border-radius: 0;
    overflow: hidden;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
    margin: 0;
}

.project-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Project Image Container */
.project-image-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  background-color: #f8fafc;
  overflow: hidden;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}

.project-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 0;
  padding: 0;
  border: none;
}

.beyond-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background-color: #f8fafc;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-tile:hover .project-image,
.beyond-tile:hover .beyond-image {
  transform: scale(1.05);
}

.project-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    z-index: 2;
    background: #ffffff;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    min-height: auto;
    margin: 0;
}

.project-header {
    margin-bottom: 1.25rem;
}

.project-title {
    font-size: 1.1rem; /* Increased from 1rem */
    color: #1e293b;
    margin: 0 0 0.75rem 0;
}

.project-description {
    color: #64748b;
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
    font-size: 0.8rem;
    overflow: visible;
    white-space: normal;
    min-height: auto;
}

.project-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin: 0 0 0.75rem 0;
    min-height: 1.5rem; /* Ensure consistent height */
}

.project-tool i {
    font-size: 0.7rem;
    min-width: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tool-tag {
    background-color: #f8fafc;
    color: #475569;
    padding: 0.2rem 0.5rem; /* Slightly smaller padding */
    border-radius: 3px;
    font-size: 0.65rem; /* Smaller font size */
    font-weight: 500;
    letter-spacing: 0.1px;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
    line-height: 1.1;
}

.tool-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.project-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.25rem;
    flex-wrap: wrap;
    align-items: center;
}

.project-buttons .btn {
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
    padding: 0.45rem 0.8rem; /* Increased padding */
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.8rem; /* Increased font size */
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.project-buttons .btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: currentColor;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.project-buttons .btn:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-outline {
    background: transparent;
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.1);
}

.btn-outline:hover {
    background: rgba(59, 130, 246, 0.04);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-disabled {
    background: #f8fafc;
    color: #94a3b8;
    border: 1px solid #e2e8f0;
    cursor: not-allowed;
    opacity: 0.7;
    box-shadow: none;
    pointer-events: none;
}

.btn i {
    font-size: 1rem;
    margin-right: 0.6rem;
    transition: transform 0.2s ease;
}

.btn:hover i {
    transform: translateX(2px);
}

/* Responsive Design */
@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.5rem;
        padding: 0 3rem;
    }
    
    .project-content {
        padding: 2rem;
    }
}

@media (min-width: 1024px) {
    .projects-section {
        padding: 8rem 0;
    }
    
    .projects-grid {
        gap: 2.5rem;
        padding: 0 1.5rem;
    }
}

/* Project title styles moved up to avoid duplication */

.project-description {
    color: #475569;
    margin: 0 0 1.5rem 0;
    line-height: 1.6;
    flex-grow: 1;
}

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

.tool-tag {
    background-color: #f1f5f9;
    color: #334155;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
}

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

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

.btn-disabled {
    background-color: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
    padding: 0.6rem 1.25rem;
    border-radius: 6px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    pointer-events: none;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .project-buttons {
        flex-direction: column;
    }
    
    .btn, .btn-disabled {
        width: 100%;
        justify-content: center;
    }
}

/* Technical Expertise Section */
.tech-section {
    padding: 6rem 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.tech-section .section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.5rem;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 5%;
}

.skill-tile {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.skill-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(99, 102, 241, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.skill-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    border-color: rgba(99, 102, 241, 0.3);
}

.skill-tile:hover::before {
    opacity: 1;
}

.skill-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.skill-svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.skill-tile:hover .skill-svg {
    transform: scale(1.1);
}

.skill-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f172a;
    margin: 1rem 0 0;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.skill-tile:hover .skill-name {
    color: #2563eb;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}

@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 1rem;
    }
    
    .skill-tile {
        padding: 1.5rem 0.75rem;
    }
    
    .skill-icon {
        width: 50px;
        height: 50px;
    }
    
    .skill-name {
        font-size: 1rem;
    }
}

/* Certifications Section */
.certifications-section {
    padding: 5rem 0;
    background-color: #f8fafc;
}

.certifications-section .section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.certifications-grid {
    display: flex;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 5rem;
        min-height: auto;
    }

    .hero-content {
        max-width: 100%;
        padding-right: 0;
        margin-bottom: 3rem;
    }

    .cta-buttons {
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .tagline {
        font-size: 1.25rem;
    }

    .profile-image {
        max-height: 60vh;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 2rem 1rem;
        text-align: center;
        flex-direction: column-reverse; /* Image appears first on mobile */
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero .tagline {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-image {
        margin-top: 2rem;
        animation: fadeIn 1s ease-in-out 0.3s forwards;
    }
    
    .hero-content {
        animation: fadeIn 1s ease-in-out 0.6s forwards;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
    }
    
    .profile-image {
        max-height: 50vh;
    }
}

/* Beyond Code Section */
.beyond-section {
    padding: 6rem 0;
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.beyond-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Reduced width from 224px to 200px */
    gap: 1.5rem;
    margin: 2rem auto 3rem;
    width: 85%;
    max-width: 1200px;
}

.beyond-grid::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari and Opera */
}

.beyond-tile {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.beyond-image-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 aspect ratio (9/16 = 0.5625) */
  background-color: #f1f5f9;
  overflow: hidden;
}

.beyond-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.beyond-title {
    font-size: 1.4rem;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.beyond-role {
    color: #3b82f6;
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0 0 1rem 0;
}

.beyond-description {
    color: #475569;
    margin: 0 0 1.5rem 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.beyond-link {
    display: inline-flex;
    align-items: center;
    color: #3b82f6;
    font-weight: 500;
    text-decoration: none;
    margin-top: auto;
    transition: all 0.2s ease;
}

.beyond-link i {
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
    font-size: 0.9rem;
}

.beyond-link:hover {
    color: #2563eb;
}

.beyond-link:hover i {
    transform: translateX(3px);
}

.beyond-scroll-hint {
    display: none; /* Hide scroll hint as we're using a grid now */
}

.beyond-scroll-hint i {
    margin-left: 0.5rem;
    font-size: 0.8rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(0);
    }
    40% {
        transform: translateX(5px);
    }
    60% {
        transform: translateX(3px);
    }
}

/* Hide scroll hint on larger screens */
@media (min-width: 1024px) {
    .beyond-scroll-hint {
        display: none;
    }
    
    .beyond-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Mobile Responsive Base */
:root {
    --min-touch-target: 44px;
}

/* Make sure all interactive elements are tappable */
a, button, [role="button"], .btn {
    min-height: var(--min-touch-target);
    min-width: var(--min-touch-target);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

/* Enhanced Mobile Navigation - Horizontal Scrollable */
@media (max-width: 768px) {
  /* Hide hamburger menu since we're using horizontal scroll */
  .hamburger {
    display: none !important;
  }
  
  /* Reduce navbar height */
  .navbar {
    padding: 0.3rem 0;
    min-height: 50px;
  }
  
  .nav-links {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    background: transparent;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: flex;
    flex-direction: row;
    gap: 1.2rem; /* Increased gap between items */
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.5rem 1.5rem 0.5rem 4rem; /* Adjusted padding */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    width: 100%;
    white-space: nowrap;
    margin: 0;
    -ms-overflow-style: none; /* Hide scrollbar for IE/Edge */
    align-items: center;
    height: 100%;
  }
  
  .nav-links::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari */
  }
  
  .nav-links a {
    color: #e2e8f0;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    margin: 0;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    text-align: center;
    white-space: nowrap;
    height: 32px;
    /* Add minimum width to ensure consistent spacing */
    min-width: max-content;
  }
  
  .nav-links a.active {
    color: #60a5fa;
    font-weight: 600;
    position: relative;
  }
  
  .nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #60a5fa;
  }
  
  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
  }
  
  /* Logo positioning */
  .logo {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 0.5rem;
  }
  
  /* Overlay to close menu when clicking outside */
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

/* Mobile Carousel Styles */
.projects-section .container,
.beyond-section .container {
    overflow: hidden;
    padding: 0 1rem;
}

.projects-grid,
.beyond-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 1.5rem;
    padding: 1rem 0 2rem;
    margin: 0 -1rem;
    scroll-padding: 0 1rem;
}

.projects-grid {
    scroll-snap-type: x mandatory;
}

.project-tile,
.beyond-tile {
    flex: 0 0 calc(85% - 1rem);
    scroll-snap-align: start;
    margin-right: 1rem;
    transition: transform 0.3s ease;
    scroll-margin: 0 1rem;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.projects-grid::-webkit-scrollbar,
.beyond-grid::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.projects-grid,
.beyond-grid {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Responsive adjustments */
@media (max-width: 767px) {
  /* Keep 16:9 ratio on mobile but slightly adjust for smaller screens */
  .project-image-container,
  .beyond-image-container {
    padding-top: 50%; /* Slightly reduced for mobile to save space */
  }
  
  .projects-grid,
  .beyond-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding: 1rem;
    margin: 0 -1rem;
    scroll-padding: 1rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  
  .projects-grid::-webkit-scrollbar,
  .beyond-grid::-webkit-scrollbar {
    display: none;
  }
  
  .project-tile {
    flex: 0 0 320px;
    scroll-snap-align: start;
    height: auto;
    min-height: 450px;
    margin-right: 0;
  }
  
  .beyond-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding: 1rem;
    margin: 0 -1rem;
    scroll-padding: 1rem;
  }
  
  .beyond-tile {
    flex: 0 0 calc(50% - 0.5rem); /* Show both tiles initially */
    scroll-snap-align: start;
    height: auto;
    min-height: 380px;
  }
  
  /* For very small screens, make tiles slightly larger */
  @media (max-width: 480px) {
    .beyond-tile {
      flex: 0 0 calc(60% - 0.5rem);
    }
  }
}

@media (min-width: 768px) {
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem auto;
    padding: 0 1rem;
    max-width: 1200px;
  }
  
  .beyond-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem auto;
    padding: 0 1rem;
    max-width: 1200px;
  }
  
  /* Ensure equal heights */
  .project-tile,
  .beyond-tile {
    height: 100%;
    min-height: 500px; /* Minimum height for consistency */
  }
}

@media (min-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  }
  
  .project-tile,
  .beyond-tile {
    min-height: 520px;
  }
}

/* Contact Me Section */
.contact-section {
    padding: 5rem 2rem;
    background-color: #f8fafc;
    text-align: center;
}

.contact-section .section-title {
    color: #0f172a;
    margin-bottom: 2rem;
}

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

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    font-size: 28px;
    text-decoration: none;
    color: #0f172a;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 15px;
}

.social-link svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0,0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.social-link:hover svg {
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .social-links {
        gap: 1.25rem;
    }
    
    .social-link {
        width: 52px;
        height: 52px;
    }
    
    .social-link i {
        font-size: 1.4rem;
    }
}

/* Contact Me Section */
.contact-section {
    padding: 4rem 1rem;
    background-color: #f8fafc;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.contact-section .section-header {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    padding-top: 1rem;
}

.contact-section .section-title {
    font-size: 2.25rem;
    color: #0f172a;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.contact-section .section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: #3b82f6;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.contact-section .section-subtitle {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
}

.contact-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 auto 1rem;
    width: 100%;
}

.contact-section .section-subtitle {
    color: #64748b;
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    color: #0f172a;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    font-size: 1.5rem;
    position: relative;
    overflow: hidden;
}

.social-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
    color: #3b82f6;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.social-link:hover::before {
    opacity: 1;
}

.social-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.social-link:hover .social-icon {
    transform: scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-section {
        padding: 4rem 1rem;
    }
    
    .contact-section .section-title {
        font-size: 2rem;
    }
    
    .contact-section .section-subtitle {
        font-size: 1.1rem;
    }
    .contact-section {
        padding: 3rem 1rem;
    }
    
    .contact-section .section-title {
        font-size: 1.875rem;
        margin-bottom: 1.25rem;
    }
    
    .contact-section .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .social-links {
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .social-link {
        width: 48px;
        height: 48px;
    }
    
    .social-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 2.5rem 1rem;
    }
    
    .contact-section .section-title {
        font-size: 1.625rem;
    }
    
    .social-links {
        gap: 0.75rem;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
    }
}

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

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    color: #0f172a;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 15px;
}

.social-link svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.social-link:hover svg {
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .social-links {
        gap: 1.25rem;
    }
    
    .social-link {
        width: 52px;
        height: 52px;
    }
    
    .social-link i {
        font-size: 1.4rem;
    }
}
