/* CSS for Ayush Gaharwal's Portfolio - Exact Clone */


/* Custom Scrollbar Styling */
*::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

*::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

*::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #22d3ee, #a855f7);
    border-radius: 4px;
    transition: all 0.3s ease;
}

*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #06b6d4, #9333ea);
    box-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
}

*::-webkit-scrollbar-corner {
    background: rgba(0, 0, 0, 0.1);
}

/* Firefox scrollbar styling */
* {
    scrollbar-width: thin;
    scrollbar-color: #22d3ee rgba(0, 0, 0, 0.1);
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-200deg);
    }
    to {
        opacity: 1;
        transform: rotate(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes githubPulse {
    0%, 100% {
        box-shadow: 
            0 10px 25px rgba(34, 211, 238, 0.3),
            0 0 0 3px rgba(34, 211, 238, 0.1);
    }
    50% {
        box-shadow: 
            0 15px 35px rgba(34, 211, 238, 0.5),
            0 0 0 6px rgba(34, 211, 238, 0.2);
    }
}

@keyframes linkedinBounce {
    0%, 100% {
        transform: translateY(-5px) scale(1.1) rotateY(0deg);
    }
    50% {
        transform: translateY(-8px) scale(1.15) rotateY(5deg);
    }
}

@keyframes xGlitch {
    0%, 100% {
        transform: translateY(-5px) scale(1.1) skew(0deg);
        filter: hue-rotate(0deg);
    }
    10% {
        transform: translateY(-5px) scale(1.12) skew(1deg);
        filter: hue-rotate(90deg);
    }
    20% {
        transform: translateY(-5px) scale(1.08) skew(-1deg);
        filter: hue-rotate(180deg);
    }
    30% {
        transform: translateY(-5px) scale(1.11) skew(0.5deg);
        filter: hue-rotate(270deg);
    }
    40% {
        transform: translateY(-5px) scale(1.09) skew(-0.5deg);
        filter: hue-rotate(0deg);
    }
    50% {
        transform: translateY(-5px) scale(1.1) skew(0deg);
        filter: hue-rotate(360deg) brightness(1.2);
    }
    60% {
        transform: translateY(-5px) scale(1.11) skew(1deg);
        filter: hue-rotate(90deg);
    }
    70% {
        transform: translateY(-5px) scale(1.09) skew(-1deg);
        filter: hue-rotate(180deg);
    }
    80% {
        transform: translateY(-5px) scale(1.12) skew(0.5deg);
        filter: hue-rotate(270deg);
    }
    90% {
        transform: translateY(-5px) scale(1.08) skew(-0.5deg);
        filter: hue-rotate(0deg);
    }
}

@keyframes instagramSpin {
    0%, 100% {
        transform: translateY(-5px) scale(1.1) rotate(0deg);
    }
    25% {
        transform: translateY(-5px) scale(1.1) rotate(90deg);
    }
    50% {
        transform: translateY(-5px) scale(1.1) rotate(180deg);
    }
    75% {
        transform: translateY(-5px) scale(1.1) rotate(270deg);
    }
}

/* Section Animation Classes */
.section-animate {
    opacity: 0;
    transition: all 0.6s ease-out;
}

.section-animate.animate {
    opacity: 1;
}

/* Header Navigation Animations */
.header-animate {
    animation: headerSlideDown 1s ease-out 0.1s both;
}

.brand-animate {
    animation: brandSlideIn 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s both;
}

.nav-animate {
    animation: navFadeIn 0.8s ease-out 0.5s both;
}

/* Individual navigation item animations */
.nav-item-1 {
    animation: navItemSlide 0.6s ease-out 0.7s both;
}

.nav-item-2 {
    animation: navItemSlide 0.6s ease-out 0.8s both;
}

.nav-item-3 {
    animation: navItemSlide 0.6s ease-out 0.9s both;
}

.nav-item-4 {
    animation: navItemSlide 0.6s ease-out 1.0s both;
}

.nav-item-5 {
    animation: navItemSlide 0.6s ease-out 1.1s both;
}

.nav-item-6 {
    animation: navItemSlide 0.6s ease-out 1.2s both;
}

.nav-item-7 {
    animation: navItemSlide 0.6s ease-out 1.3s both;
}

/* Header animation keyframes */
@keyframes headerSlideDown {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes brandSlideIn {
    0% {
        transform: translateX(-30px) scale(0.8);
        opacity: 0;
    }
    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

@keyframes navFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes navItemSlide {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Home Section Animations */
.hero-content {
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.2s forwards;
}

.hero-title {
    opacity: 0;
    animation: fadeInDown 1s ease-out 0.4s forwards;
}

.hero-description {
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

.hero-buttons {
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.8s forwards;
}

.social-links {
    opacity: 0;
    animation: fadeInUp 1s ease-out 1s forwards;
}

.scroll-indicator {
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.2s forwards;
}

/* About Section Animations */
.about-title {
    opacity: 0;
    animation: fadeInDown 0.8s ease-out forwards;
}

.about-subtitle {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.about-image {
    opacity: 0;
    animation: fadeInLeft 0.8s ease-out 0.4s forwards;
}

.about-content {
    opacity: 0;
    animation: fadeInRight 0.8s ease-out 0.6s forwards;
}

/* Experience Section Animations */
.experience-title {
    opacity: 0;
    animation: fadeInDown 0.8s ease-out forwards;
}

.experience-subtitle {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.experience-item {
    opacity: 0;
    animation: slideInUp 0.8s ease-out forwards;
}

.experience-item:nth-child(1) {
    animation-delay: 0.3s;
}

.experience-item:nth-child(2) {
    animation-delay: 0.5s;
}

.experience-item:nth-child(3) {
    animation-delay: 0.7s;
}

/* Extracurricular Section Animations */
.extracurricular-title {
    opacity: 0;
    animation: fadeInDown 0.8s ease-out forwards;
}

.extracurricular-subtitle {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.extracurricular-item {
    opacity: 0;
    animation: slideInUp 0.8s ease-out forwards;
}

.extracurricular-item:nth-child(1) {
    animation-delay: 0.3s;
}

.extracurricular-item:nth-child(2) {
    animation-delay: 0.5s;
}

/* Projects Section Animations */
.projects-title {
    opacity: 0;
    animation: fadeInDown 0.8s ease-out forwards;
}

.projects-subtitle {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.projects-content {
    opacity: 0;
    animation: scaleIn 0.8s ease-out 0.4s forwards;
}

.project-card {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.projects-arrow {
    opacity: 0;
    animation: bounceIn 0.8s ease-out 0.6s forwards;
}

/* Skills Section Animations */
.skills-title {
    opacity: 0;
    animation: fadeInDown 0.8s ease-out forwards;
}

.skills-subtitle {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.skill-group {
    opacity: 0;
    animation: slideInUp 0.8s ease-out forwards;
}

.skill-group:nth-child(1) {
    animation-delay: 0.3s;
}

.skill-group:nth-child(2) {
    animation-delay: 0.5s;
}

.skill-group:nth-child(3) {
    animation-delay: 0.7s;
}

/* Contact Section Animations */
.contact-title {
    opacity: 0;
    animation: fadeInDown 0.8s ease-out forwards;
}

.contact-subtitle {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.contact-info {
    opacity: 0;
    animation: fadeInLeft 0.8s ease-out 0.4s forwards;
}

.contact-form {
    opacity: 0;
    animation: fadeInRight 0.8s ease-out 0.6s forwards;
}

.contact-item {
    opacity: 0;
    animation: slideInUp 0.6s ease-out forwards;
}

.contact-item:nth-child(1) {
    animation-delay: 0.7s;
}

.contact-item:nth-child(2) {
    animation-delay: 0.9s;
}

.contact-item:nth-child(3) {
    animation-delay: 1.1s;
}

/* Hover Animations */
.btn:hover {
    animation: pulse 0.6s ease-in-out;
}

/* Individual social link animations - All using githubPulse */
.social-link:nth-child(1):hover {
    background: linear-gradient(135deg, #333333, #24292e);
    animation: githubPulse 2s ease-in-out infinite;
}

.social-link:nth-child(2):hover {
    background: linear-gradient(135deg, #0077b5, #005885);
    animation: githubPulse 2s ease-in-out infinite;
}

.social-link:nth-child(3):hover {
    background: linear-gradient(135deg, #000000, #1a1a1a);
    animation: githubPulse 2s ease-in-out infinite;
}

.social-link:nth-child(4):hover {
    background: linear-gradient(135deg, #e4405f, #c13584);
    animation: githubPulse 2s ease-in-out infinite;
}

.project-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.skill-group:hover {
    transform: translateY(-3px);
    transition: transform 0.3s ease;
}

/* Responsive Animation Adjustments */
@media (max-width: 768px) {
    .hero-content,
    .hero-title,
    .hero-description,
    .hero-buttons,
    .social-links,
    .scroll-indicator {
        animation-duration: 0.8s;
    }
    
    .about-image,
    .about-content,
    .contact-info,
    .contact-form {
        animation: fadeInUp 0.8s ease-out forwards;
    }
}

/* CSS Variables for exact colors */
:root {
    --background: 0 0% 3.9%;
    --foreground: 0 0% 98%;
    --muted: 0 0% 14.9%;
    --muted-foreground: 0 0% 63.9%;
    --accent: 0 0% 14.9%;
    --accent-foreground: 0 0% 98%;
    --border: 0 0% 14.9%;
    --input: 0 0% 14.9%;
    --primary: 0 0% 98%;
    --primary-foreground: 0 0% 9%;
    --ring: 0 0% 83.1%;
}

* {
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    margin: 0;
    padding: 0;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    min-height: 100vh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Utility Classes */
.fixed { position: fixed; }
.top-0 { top: 0; }
.w-full { width: 100%; }
.z-50 { z-index: 50; }
.transition-all { transition: all 0.3s ease; }
.duration-300 { transition-duration: 300ms; }
.bg-transparent { background-color: transparent; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 0.125rem; }
.flex { display: flex; }
.h-16 { height: 4rem; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.text-xl { font-size: 1.25rem; }
.font-bold { font-weight: 700; }
.tracking-tighter { letter-spacing: -0.05em; }
.hidden { display: none; }
.gap-6 { gap: 1.5rem; }

/* Override hidden class for navigation */
.nav-menu.hidden {
    display: flex !important;
}
.relative { position: relative; }
.min-h-screen { min-height: 100vh; }
.flex-col { flex-direction: column; }
.justify-center { justify-content: center; }
.text-center { text-align: center; }
.px-4 { padding-left: 0.25rem; padding-right: 0.25rem; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.-z-10 { z-index: -10; }
.max-w-3xl { max-width: 48rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-4xl { font-size: 2.25rem; }
.tracking-tight { letter-spacing: -0.025em; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.font-medium { font-weight: 500; }
.h-\[60px\] { height: 60px; }
.max-w-2xl { max-width: 42rem; }
.space-x-6 > * + * { margin-left: 1.5rem; }
.absolute { position: absolute; }
.bottom-10 { bottom: 2.5rem; }
.text-sm { font-size: 0.875rem; }
.transition-colors { transition: color 0.15s ease; }

/* Responsive */
@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:text-6xl { font-size: 3.75rem; }
    .md\:text-2xl { font-size: 1.5rem; }
}

/* Force navigation to show on all screen sizes */
.nav-menu {
    display: flex !important;
}

@media (max-width: 767px) {
    .nav-menu.hidden {
        display: flex !important;
    }
}

@media (min-width: 640px) {
    .sm\:flex-row { flex-direction: row; }
}

/* Gradient Classes */
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.from-cyan-400 { --tw-gradient-from: #22d3ee; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(34, 211, 238, 0)); }
.to-purple-500 { --tw-gradient-to: #a855f7; }
.from-cyan-500 { --tw-gradient-from: #06b6d4; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(6, 182, 212, 0)); }
.to-purple-600 { --tw-gradient-to: #9333ea; }
.hover\:from-cyan-600:hover { --tw-gradient-from: #0891b2; }
.hover\:to-purple-700:hover { --tw-gradient-to: #7c3aed; }
.bg-clip-text { background-clip: text; -webkit-background-clip: text; }
.text-transparent { color: transparent; }

/* Background */
.bg-background { background-color: hsl(var(--background)); }

/* Text Colors */
.text-muted-foreground { color: hsl(var(--muted-foreground)); }
.text-foreground { color: hsl(var(--foreground)); }
.hover\:text-foreground:hover { color: hsl(var(--foreground)); }
.text-white { color: white; }

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    border-radius: 0.375rem;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.15s ease;
    height: 2.75rem;
    padding: 0 2rem;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(to right, #06b6d4, #9333ea);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(to right, #0891b2, #7c3aed);
}

.btn-secondary {
    border: 1px solid hsl(var(--border));
    background: hsl(var(--background));
    color: hsl(var(--foreground));
}

.btn-secondary:hover {
    background: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
}

.gap-4 { gap: 1rem; }

/* Navigation Styles */
header {
    backdrop-filter: blur(10px);
    background-color: rgba(10, 10, 10, 0.8) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

/* Override bg-transparent */
header.bg-transparent {
    background-color: rgba(10, 10, 10, 0.8) !important;
}

/* Header when scrolled */
header.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Navigation menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Brand text */
.brand-text {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Force navigation to be visible on all screens */
.nav-menu {
    display: flex !important;
    align-items: center;
    gap: 1.5rem;
}

.nav-menu.hidden {
    display: flex !important;
}

/* Mobile navigation */
@media (max-width: 768px) {
    .nav-menu {
        display: flex !important;
        flex-direction: row;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .nav-link {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
}

/* Reduced horizontal spacing for Experience and Extracurricular sections */
#experience .container,
#extracurricular .container {
    padding-left: 0.125rem;
    padding-right: 0.125rem;
}

/* Override px-4 md:px-6 classes for these specific sections */
#experience .px-4,
#extracurricular .px-4 {
    padding-left: 0.125rem !important;
    padding-right: 0.125rem !important;
}

@media (min-width: 768px) {
    #experience .md\:px-6,
    #extracurricular .md\:px-6 {
        padding-left: 0.25rem !important;
        padding-right: 0.25rem !important;
    }
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: hsl(var(--foreground)) !important;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.15s ease;
    padding: 0.5rem 0;
    opacity: 1;
    visibility: visible;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    width: 0;
    height: 0.125rem;
    background: linear-gradient(to right, #22d3ee, #a855f7);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: hsl(var(--primary));
}

/* Social Links */
.social-link {
    color: hsl(var(--muted-foreground));
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    text-decoration: none;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
    z-index: 1;
}

.social-link:hover::before {
    width: 100%;
    height: 100%;
}

.social-link:hover {
    color: #22d3ee;
    border-color: rgba(34, 211, 238, 0.3);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 
        0 10px 25px rgba(34, 211, 238, 0.3),
        0 0 0 3px rgba(34, 211, 238, 0.1);
}

.social-link svg {
    width: 1.5rem;
    height: 1.5rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.social-link:hover svg {
    transform: scale(1.1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.social-links {
    margin-top: 2rem;
}

/* Animations */
@keyframes bounce {
    0%, 100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: none;
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

.animate-bounce {
    animation: bounce 1s infinite;
}

/* Typing Animation */
.typing-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    position: relative;
}

.typing-text {
    position: relative;
    display: inline-block;
}

.typing-text::after {
    content: '|';
    position: absolute;
    right: -2px;
    animation: blink 1s infinite;
    color: #22d3ee;
    font-weight: 400;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Scroll indicator styles */
.scroll-indicator a {
    text-decoration: none;
}

/* Scroll indicator hover effect */
.scroll-indicator a:hover svg {
    transform: translateY(5px);
}

/* Hero content animation */
.hero-content {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.2s;
}

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

/* About Section Styles */
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.md\:px-6 { padding-left: 0.25rem; padding-right: 0.25rem; }
.text-3xl { font-size: 1.875rem; }
.sm\:text-4xl { font-size: 2.25rem; }
.grid { display: grid; }
.md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gap-10 { gap: 2.5rem; }
.items-center { align-items: center; }
.mt-16 { margin-top: 4rem; }
.aspect-square { aspect-ratio: 1 / 1; }
.max-w-md { max-width: 28rem; }
.rounded-2xl { border-radius: 1rem; }
.blur-2xl { filter: blur(40px); }
.opacity-20 { opacity: 0.2; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.inset-1 { top: 0.25rem; right: 0.25rem; bottom: 0.25rem; left: 0.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.text-2xl { font-size: 1.5rem; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pt-4 { padding-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.inline-flex { display: inline-flex; }
.mr-2 { margin-right: 0.5rem; }
.h-4 { height: 1rem; }
.w-4 { width: 1rem; }
.text-6xl { font-size: 3.75rem; }
.md\:text-8xl { font-size: 6rem; }
.opacity-50 { opacity: 0.5; }

@media (min-width: 768px) {
    .md\:px-6 { padding-left: 0.25rem; padding-right: 0.25rem; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:text-8xl { font-size: 6rem; }
}

@media (min-width: 640px) {
    .sm\:text-4xl { font-size: 2.25rem; }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: .5;
    }
}

/* About Section Animations */
.about-title {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.about-subtitle {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.about-image {
    opacity: 0;
    transform: translateX(-50px);
    animation: fadeInLeft 0.8s ease forwards;
    animation-delay: 0.6s;
}

.about-content {
    opacity: 0;
    transform: translateX(50px);
    animation: fadeInRight 0.8s ease forwards;
    animation-delay: 0.8s;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Profile Image Placeholder */
.about-image .aspect-square {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.1), rgba(168, 85, 247, 0.1));
    border: 1px solid rgba(34, 211, 238, 0.2);
}

/* About section responsive */
@media (max-width: 767px) {
    .about-image {
        order: 2;
        margin-top: 2rem;
    }
    
    .about-content {
        order: 1;
    }
    
    .grid.md\:grid-cols-2 {
        grid-template-columns: 1fr;
    }
}

/* Reduce spacing between labels and values in About section */
.about-content > .grid {
    gap: 0.5rem; /* Reduce gap between label-value pairs */
    padding-top: 0.5rem; /* Reduce top padding */
}

.about-content > .grid > div > h4 {
    margin-bottom: 0.125rem; /* Reduce space under labels */
}

.about-content > .grid > div > p {
    margin-top: 0;
    margin-bottom: 0;
}

/* Experience Section Styles */
.bg-muted\/30 {
    background-color: hsla(var(--muted), 0.3);
}

.space-y-8 > * + * {
    margin-top: 2rem;
}

.text-card-foreground {
    color: hsl(var(--foreground));
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.overflow-hidden {
    overflow: hidden;
}

.border-none {
    border: none;
}

.bg-background\/50 {
    background-color: hsla(var(--background), 0.5);
}

.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

.hover\:shadow-lg:hover {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -2px rgb(0 0 0 / 0.1);
}

.duration-300 {
    transition-duration: 300ms;
}

.p-0 {
    padding: 0;
}

.w-1 {
    width: 0.25rem;
}

.h-full {
    height: 100%;
}

.bg-gradient-to-b {
    background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
}

.from-cyan-500 {
    --tw-gradient-from: #06b6d4;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(6, 182, 212, 0));
}

.to-purple-600 {
    --tw-gradient-to: #9333ea;
}

.p-4 {
    padding: 1rem;
}

.md\:p-6 {
    padding: 1.5rem;
}

.flex-col {
    flex-direction: column;
}

.md\:flex-row {
    flex-direction: row;
}

.md\:items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.md\:mb-4 {
    margin-bottom: 1rem;
}

.text-lg {
    font-size: 1.125rem;
}

.md\:text-xl {
    font-size: 1.25rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.md\:text-base {
    font-size: 1rem;
}

.h-3 {
    height: 0.75rem;
}

.w-3 {
    width: 0.75rem;
}

.md\:h-4 {
    height: 1rem;
}

.md\:w-4 {
    width: 1rem;
}

.mr-1 {
    margin-right: 0.25rem;
}

.md\:mr-2 {
    margin-right: 0.5rem;
}

.rounded-full {
    border-radius: 9999px;
}

.border {
    border-width: 1px;
    border-color: hsl(var(--border));
}

.px-2\.5 {
    padding-left: 0.625rem;
    padding-right: 0.625rem;
}

.py-0\.5 {
    padding-top: 0.125rem;
    padding-bottom: 0.125rem;
}

.font-semibold {
    font-weight: 600;
}

.focus\:outline-none:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.focus\:ring-2:focus {
    box-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
}

.focus\:ring-ring:focus {
    --tw-ring-color: hsl(var(--ring));
}

.focus\:ring-offset-2:focus {
    --tw-ring-offset-width: 2px;
}

.mt-2 {
    margin-top: 0.5rem;
}

.md\:mt-0 {
    margin-top: 0;
}

.w-fit {
    width: fit-content;
}

.text-xs {
    font-size: 0.75rem;
}

.list-disc {
    list-style-type: disc;
}

.pl-4 {
    padding-left: 1rem;
}

.md\:pl-5 {
    padding-left: 1.25rem;
}

.space-y-1 > * + * {
    margin-top: 0.25rem;
}

.flex-wrap {
    flex-wrap: wrap;
}

.gap-1 {
    gap: 0.25rem;
}

.md\:gap-2 {
    gap: 0.5rem;
}

/* Skill Tags */
.skill-tag {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    border: 1px solid transparent;
    padding: 0.125rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.15s ease;
    background-color: hsl(var(--muted));
    color: hsl(var(--muted-foreground));
}

.skill-tag:hover {
    background-color: hsla(var(--muted), 0.8);
}

/* Experience Section Animations */
.experience-title {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.experience-subtitle {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.experience-content {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.experience-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.experience-item:nth-child(1) {
    animation-delay: 0.8s;
}

.experience-item:nth-child(2) {
    animation-delay: 1s;
}

/* Experience Card Hover Effects */
.experience-item .rounded-lg {
    transition: all 0.3s ease;
    border: 1px solid rgba(34, 211, 238, 0.1);
}

.experience-item .rounded-lg:hover {
    transform: translateY(-2px);
    border-color: rgba(34, 211, 238, 0.3);
    box-shadow: 0 10px 25px rgba(34, 211, 238, 0.1);
}

/* Responsive for Experience */
@media (min-width: 768px) {
    .md\:p-6 { padding: 1.5rem; }
    .md\:flex-row { flex-direction: row; }
    .md\:items-center { align-items: center; }
    .md\:mb-4 { margin-bottom: 1rem; }
    .md\:text-xl { font-size: 1.25rem; }
    .md\:text-base { font-size: 1rem; }
    .md\:h-4 { height: 1rem; }
    .md\:w-4 { width: 1rem; }
    .md\:mr-2 { margin-right: 0.5rem; }
    .md\:mt-0 { margin-top: 0; }
    .md\:pl-5 { padding-left: 1.25rem; }
    .md\:gap-2 { gap: 0.5rem; }
}

/* Extracurricular Activities Section Animations */
.extracurricular-title {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.extracurricular-subtitle {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.extracurricular-content {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.extracurricular-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.extracurricular-item:nth-child(1) {
    animation-delay: 0.8s;
}

.extracurricular-item:nth-child(2) {
    animation-delay: 1s;
}


/* Extracurricular Card Hover Effects */
.extracurricular-item .rounded-lg {
    transition: all 0.3s ease;
    border: 1px solid rgba(34, 211, 238, 0.1);
}

.extracurricular-item .rounded-lg:hover {
    transform: translateY(-2px);
    border-color: rgba(34, 211, 238, 0.3);
    box-shadow: 0 10px 25px rgba(34, 211, 238, 0.1);
}


/* Additional utility classes */
.-translate-y-1\/2 {
    transform: translateY(-50%);
}

.z-10 {
    z-index: 10;
}

.z-20 {
    z-index: 20;
}

.-left-4 {
    left: -1rem;
}

.-right-4 {
    right: -1rem;
}

@media (min-width: 768px) {
    .md\:-left-10 {
        left: -2.5rem;
    }
    
    .md\:-right-10 {
        right: -2.5rem;
    }
}

.top-1\/2 {
    top: 50%;
}

.overflow-hidden {
    overflow: hidden;
}

.transition-transform {
    transition-property: transform;
}

.duration-500 {
    transition-duration: 500ms;
}

.ease-in-out {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.text-4xl {
    font-size: 2.25rem;
}

@media (min-width: 768px) {
    .md\:text-6xl {
        font-size: 3.75rem;
    }
}

/* Certificates Section Styles */
.certificates-title {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.certificates-subtitle {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.certificates-content {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.certificates-container {
    margin: 0 60px;
}

.certificates-slider {
    transition: transform 0.5s ease-in-out;
}

.certificate-card {
    flex: 0 0 100%;
    padding: 0 20px;
}

.certificates-arrow {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.certificates-arrow:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.certificates-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.certificates-arrow svg {
    width: 20px;
    height: 20px;
}

.certificate-indicator {
    cursor: pointer;
    transition: all 0.3s ease;
}

.certificate-indicator:hover {
    transform: scale(1.2);
}

.certificate-indicator.active {
    background-color: #22d3ee;
    transform: scale(1.2);
}

/* Certificate card hover effects */
.certificate-card .rounded-lg {
    transition: all 0.3s ease;
    border: 1px solid rgba(34, 211, 238, 0.1);
}

.certificate-card .rounded-lg:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 211, 238, 0.3);
    box-shadow: 0 20px 40px rgba(34, 211, 238, 0.1);
}

/* Fix certificate image section alignment */
.certificate-card .flex.flex-col.md\:flex-row > div:first-child {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.certificate-card .flex.flex-col.md\:flex-row > div:first-child > div {
    margin: 0;
    padding: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    text-align: center;
    vertical-align: middle;
}

/* Ensure certificate placeholder text has no extra spacing */
.certificate-card .bg-gradient-to-br {
    overflow: hidden;
    position: relative;
}

.certificate-card .bg-gradient-to-br > div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    margin: 0;
    padding: 0;
}

/* Fix certificate layout to match content height */
.certificate-card .flex.flex-col.md\:flex-row {
    min-height: 100%;
}

.certificate-card .flex.flex-col.md\:flex-row > div {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Certificate image wrapper - match content height */
.certificate-img-wrapper {
    position: relative;
    overflow: hidden;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 100% !important;
    height: auto !important;
    padding: 2rem;
    margin: 0;
}

.certificate-img-wrapper > div {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    height: fit-content !important;
    width: fit-content !important;
    text-align: center !important;
    z-index: 1;
}

/* Force center for certificate text specifically */
.certificate-img-wrapper .text-4xl,
.certificate-img-wrapper .md\:text-6xl {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Certificate text center wrapper */
.certificate-text-center {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1;
}

.certificate-text-center span {
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
}

/* Ensure equal height columns on desktop */
@media (min-width: 768px) {
    .certificate-card .flex.md\:flex-row {
        align-items: stretch;
    }
    
    .certificate-card .flex.md\:flex-row > div {
        flex: 1;
        min-height: 100%;
    }
}

/* Responsive adjustments for certificates */
@media (max-width: 768px) {
    .certificates-container {
        margin: 0 40px;
    }
    
    .certificates-arrow {
        width: 40px;
        height: 40px;
    }
    
    .certificates-arrow svg {
        width: 16px;
        height: 16px;
    }
    
    .certificate-card {
        padding: 0 10px;
    }
}

/* Projects Section Styles */
.projects-title {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.projects-subtitle {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.projects-content {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.projects-container {
    margin: 0 60px;
}

.projects-slider {
    transition: transform 0.5s ease-in-out;
}

.project-card {
    flex: 0 0 100%;
    padding: 0 20px;
}

.projects-arrow {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.projects-arrow:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.projects-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.projects-arrow svg {
    width: 20px;
    height: 20px;
}

.project-indicator {
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-indicator:hover {
    transform: scale(1.2);
}

.project-indicator.active {
    background-color: #22d3ee;
    transform: scale(1.2);
}

/* Button sizes */
.btn-sm {
    height: 2.25rem;
    padding: 0 1rem;
    font-size: 0.8rem;
}

/* Project card hover effects */
.project-card .rounded-lg {
    transition: all 0.3s ease;
    border: 1px solid rgba(34, 211, 238, 0.1);
}

.project-card .rounded-lg:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 211, 238, 0.3);
    box-shadow: 0 20px 40px rgba(34, 211, 238, 0.1);
}

/* Gradient backgrounds for project placeholders */
.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.from-purple-400\/20 {
    --tw-gradient-from: rgba(168, 85, 247, 0.2);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(168, 85, 247, 0));
}

.to-pink-500\/20 {
    --tw-gradient-to: rgba(236, 72, 153, 0.2);
}

.from-green-400\/20 {
    --tw-gradient-from: rgba(74, 222, 128, 0.2);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(74, 222, 128, 0));
}

.to-blue-500\/20 {
    --tw-gradient-to: rgba(59, 130, 246, 0.2);
}

.from-orange-400\/20 {
    --tw-gradient-from: rgba(251, 146, 60, 0.2);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(251, 146, 60, 0));
}

.to-red-500\/20 {
    --tw-gradient-to: rgba(239, 68, 68, 0.2);
}

.from-indigo-400\/20 {
    --tw-gradient-from: rgba(129, 140, 248, 0.2);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(129, 140, 248, 0));
}

.from-teal-400\/20 {
    --tw-gradient-from: rgba(45, 212, 191, 0.2);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(45, 212, 191, 0));
}

.from-rose-400\/20 {
    --tw-gradient-from: rgba(251, 113, 133, 0.2);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(251, 113, 133, 0));
}

.from-pink-500\/20 {
    --tw-gradient-to: rgba(236, 72, 153, 0.2);
}

/* Text gradients for project placeholders */
.from-purple-400 {
    --tw-gradient-from: #a855f7;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(168, 85, 247, 0));
}

.to-pink-500 {
    --tw-gradient-to: #ec4899;
}

.from-green-400 {
    --tw-gradient-from: #4ade80;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(74, 222, 128, 0));
}

.to-blue-500 {
    --tw-gradient-to: #3b82f6;
}

.from-orange-400 {
    --tw-gradient-from: #fb923c;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(251, 146, 60, 0));
}

.to-red-500 {
    --tw-gradient-to: #ef4444;
}

.from-indigo-400 {
    --tw-gradient-from: #818cf8;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(129, 140, 248, 0));
}

.from-teal-400 {
    --tw-gradient-from: #2dd4bf;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(45, 212, 191, 0));
}

.from-rose-400 {
    --tw-gradient-from: #fb7185;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(251, 113, 133, 0));
}

/* Responsive adjustments for projects */
@media (max-width: 768px) {
    .projects-container {
        margin: 0 40px;
    }
    
    .projects-arrow {
        width: 40px;
        height: 40px;
    }
    
    .projects-arrow svg {
        width: 16px;
        height: 16px;
    }
    
    .project-card {
        padding: 0 10px;
    }
}

/* Add navigation link for projects */
.nav-link[href="#projects"] {
    position: relative;
    text-decoration: none;
    color: hsl(var(--foreground));
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.15s ease;
    padding: 0.5rem 0;
}

/* Shadow utilities */
.shadow-lg {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -2px rgb(0 0 0 / 0.1);
}

/* Additional utilities */
.min-w-full {
    min-width: 100%;
}

.md\:w-1\/2 {
    width: 50%;
}

.h-64 {
    height: 16rem;
}

.md\:h-80 {
    height: 20rem;
}

/* Fix project image container heights - Maximum specificity */
.project-card .flex.md\:flex-row > div:first-child {
    min-height: 300px;
}

@media (min-width: 768px) {
    /* Force equal height layout for project cards */
    .project-card .flex.md\:flex-row {
        align-items: stretch !important;
        min-height: 380px !important;
    }
    
    .project-card .flex.md\:flex-row > div {
        flex: 1 !important;
        min-height: 100% !important;
    }
    
    /* Force consistent height for image containers */
    .project-card .flex.md\:flex-row > div:first-child,
    .project-card .flex.md\:flex-row > div.w-full.md\:w-1\/2 {
        height: 380px !important;
        max-height: 380px !important;
        min-height: 380px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
    }
    
    /* Override all possible Tailwind height classes */
    .project-card .h-64,
    .project-card .md\:h-80,
    .project-card .md\:h-auto,
    .project-card div[class*="h-64"],
    .project-card div[class*="md:h-80"],
    .project-card div[class*="md:h-auto"] {
        height: 380px !important;
        max-height: 380px !important;
        min-height: 380px !important;
    }
    
    /* Specific targeting for all project image containers */
    .project-card .bg-gradient-to-br {
        height: 380px !important;
        max-height: 380px !important;
        min-height: 380px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Content alignment inside image containers */
    .project-card .bg-gradient-to-br > div {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

.p-3 {
    padding: 0.75rem;
}

.p-6 {
    padding: 1.5rem;
}

.md\:p-8 {
    padding: 2rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.space-x-2 > * + * {
    margin-left: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-2 {
    gap: 0.5rem;
}

.h-2 {
    height: 0.5rem;
}

.w-2 {
    width: 0.5rem;
}

.bg-muted-foreground\/30 {
    background-color: hsla(var(--muted-foreground), 0.3);
}

.bg-background\/80 {
    background-color: hsla(var(--background), 0.8);
}

.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

.border-border {
    border-color: hsl(var(--border));
}

.bg-accent {
    background-color: hsl(var(--accent));
}

@media (min-width: 768px) {
    .md\:w-1\/2 {
        width: 50%;
    }
    
    .md\:h-80 {
        height: 20rem;
    }
    
    .md\:p-8 {
        padding: 2rem;
    }
}

/* Skills Section Styles */
.skills-title {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.skills-subtitle {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.skills-content {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.skill-group {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.skill-group:nth-child(1) {
    animation-delay: 0.8s;
}

.skill-group:nth-child(2) {
    animation-delay: 1s;
}

.skill-group:nth-child(3) {
    animation-delay: 1.2s;
}

/* Skill bar container */
.skill-bar-container {
    width: 100%;
    height: 8px;
    background-color: hsl(var(--muted));
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

/* Skill bar */
.skill-bar {
    height: 100%;
    background: linear-gradient(90deg, #22d3ee, #a855f7);
    border-radius: 4px;
    width: 0%;
    transition: width 2s ease-in-out;
    position: relative;
    overflow: hidden;
}

/* Skill bar animation */
.skill-bar.animate {
    animation: skillBarGlow 2s ease-in-out;
}

/* Skill bar glow effect */
@keyframes skillBarGlow {
    0% {
        box-shadow: 0 0 0 rgba(34, 211, 238, 0);
    }
    50% {
        box-shadow: 0 0 20px rgba(34, 211, 238, 0.5);
    }
    100% {
        box-shadow: 0 0 0 rgba(34, 211, 238, 0);
    }
}

/* Skill bar shimmer effect */
.skill-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent
    );
    animation: shimmer 2s ease-in-out;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Skill item hover effect */
.skill-item {
    padding: 4px 0;
    transition: all 0.3s ease;
}

.skill-item:hover {
    transform: translateX(5px);
}

.skill-item:hover .skill-bar {
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.4);
}

/* Skill group hover effects */
.skill-group .rounded-lg {
    transition: all 0.3s ease;
    border: 1px solid rgba(34, 211, 238, 0.1);
}

.skill-group .rounded-lg:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 211, 238, 0.3);
    box-shadow: 0 20px 40px rgba(34, 211, 238, 0.1);
}

/* Skill group icons */
.skill-group .w-12 {
    transition: all 0.3s ease;
}

.skill-group:hover .w-12 {
    transform: scale(1.1) rotate(5deg);
}

/* Additional responsive styles for skills */
@media (max-width: 768px) {
    .skills-content .grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .skill-group {
        animation-delay: 0.8s;
    }
}

/* Utility classes for skills */
.space-y-4 > * + * {
    margin-top: 1rem;
}

.mr-4 {
    margin-right: 1rem;
}

.w-12 {
    width: 3rem;
}

.h-12 {
    height: 3rem;
}

.text-white {
    color: white;
}

.gap-8 {
    gap: 2rem;
}

.md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (min-width: 768px) {
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Contact Section Styles */
.contact-title {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.contact-subtitle {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.contact-content {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.contact-info {
    opacity: 0;
    transform: translateX(-50px);
    animation: fadeInLeft 0.8s ease forwards;
    animation-delay: 0.8s;
}

.contact-form {
    opacity: 0;
    transform: translateX(50px);
    animation: fadeInRight 0.8s ease forwards;
    animation-delay: 1s;
}

/* Contact item spacing */
.contact-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 0.75rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(34, 211, 238, 0.1), 
        transparent
    );
    transition: left 0.6s ease;
    z-index: 1;
}

.contact-item:hover::before {
    left: 100%;
}

.contact-item:hover {
    background: linear-gradient(135deg, 
        rgba(34, 211, 238, 0.05), 
        rgba(168, 85, 247, 0.05)
    );
    transform: translateX(10px) translateY(-3px);
    border-color: rgba(34, 211, 238, 0.3);
    box-shadow: 
        0 10px 25px rgba(34, 211, 238, 0.15),
        0 0 0 1px rgba(34, 211, 238, 0.1);
}

.contact-item * {
    position: relative;
    z-index: 2;
}

.contact-item .flex {
    gap: 1rem;
}


/* Enhanced contact item link animations */
.contact-item a {
    text-decoration: none;
    color: hsl(var(--muted-foreground));
    transition: all 0.3s ease;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.contact-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #22d3ee, #a855f7);
    transition: width 0.4s ease;
}

.contact-item a:hover {
    color: #22d3ee;
    transform: translateY(-1px);
}

.contact-item a:hover::after {
    width: 100%;
}

/* Contact item icon animations */
.contact-item .w-12 {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.contact-item .w-12::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
    z-index: 1;
}

.contact-item:hover .w-12 {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 8px 25px rgba(34, 211, 238, 0.3),
        0 0 0 3px rgba(34, 211, 238, 0.1);
}

.contact-item:hover .w-12::before {
    width: 100%;
    height: 100%;
}

.contact-item .w-12 svg {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.contact-item:hover .w-12 svg {
    transform: scale(1.1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Individual contact item specific animations */
.contact-item:nth-child(2):hover .w-12 {
    background: linear-gradient(135deg, #22d3ee, #06b6d4);
    animation: emailPulse 2s ease-in-out infinite;
}

.contact-item:nth-child(3):hover .w-12 {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    animation: phoneBounce 1s ease-in-out infinite;
}

.contact-item:nth-child(4):hover .w-12 {
    background: linear-gradient(135deg, #a855f7, #9333ea);
    animation: locationSway 2s ease-in-out infinite;
}

@keyframes emailPulse {
    0%, 100% {
        box-shadow: 
            0 8px 25px rgba(34, 211, 238, 0.3),
            0 0 0 3px rgba(34, 211, 238, 0.1);
    }
    50% {
        box-shadow: 
            0 12px 35px rgba(34, 211, 238, 0.5),
            0 0 0 6px rgba(34, 211, 238, 0.2);
    }
}

@keyframes phoneBounce {
    0%, 100% {
        transform: scale(1.1) rotate(5deg) translateY(0);
    }
    50% {
        transform: scale(1.15) rotate(5deg) translateY(-3px);
    }
}

@keyframes locationSway {
    0%, 100% {
        transform: scale(1.1) rotate(5deg);
    }
    25% {
        transform: scale(1.1) rotate(8deg);
    }
    75% {
        transform: scale(1.1) rotate(2deg);
    }
}

/* Contact item text animations */
.contact-item h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    transition: all 0.3s ease;
}

.contact-item:hover h4 {
    color: #22d3ee;
    transform: translateX(5px);
    text-shadow: 0 0 10px rgba(34, 211, 238, 0.3);
}

.contact-item p {
    margin: 0;
    color: hsl(var(--muted-foreground));
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.contact-item:hover p {
    transform: translateX(5px);
    color: hsl(var(--foreground));
}

/* Form Styles */
.form-input {
    width: 100%;
    padding: 1.25rem 1rem 0.5rem 1rem;
    border: 1px solid hsl(var(--border));
    border-radius: 0.5rem;
    background-color: hsl(var(--background)) !important;
    color: hsl(var(--foreground));
    font-size: 0.875rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus {
    border-color: #22d3ee;
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.1);
    background-color: hsl(var(--background)) !important;
}

.form-input:valid {
    background-color: hsl(var(--background)) !important;
}

.form-input:invalid {
    background-color: hsl(var(--background)) !important;
}

/* Override browser autocomplete styles */
.form-input:-webkit-autofill,
.form-input:-webkit-autofill:hover,
.form-input:-webkit-autofill:focus,
.form-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px hsl(var(--background)) inset !important;
    -webkit-text-fill-color: hsl(var(--foreground)) !important;
    background-color: hsl(var(--background)) !important;
    transition: background-color 5000s ease-in-out 0s !important;
}

.form-input::placeholder {
    color: transparent;
}

.form-group {
    margin-bottom: 1rem;
    position: relative;
}

.form-group label {
    position: absolute;
    top: 0.75rem;
    left: 1rem;
    color: hsl(var(--muted-foreground));
    font-weight: 500;
    font-size: 0.875rem;
    pointer-events: none;
    transition: all 0.3s ease;
    background: transparent;
    padding: 0 0.25rem;
    z-index: 1;
}

/* Floating label animation */
.form-input:focus + label,
.form-input:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 0.75rem;
    font-size: 0.75rem;
    color: #22d3ee;
    background-color: hsl(var(--background));
    font-weight: 600;
}

/* Textarea specific styles */
textarea.form-input {
    resize: none;
    min-height: 120px;
    padding-top: 1.25rem;
}

/* Contact form container */
.contact-form .rounded-lg {
    border: 1px solid rgba(34, 211, 238, 0.1);
    transition: all 0.3s ease;
}

.contact-form .rounded-lg:hover {
    border-color: rgba(34, 211, 238, 0.3);
    box-shadow: 0 10px 25px rgba(34, 211, 238, 0.1);
}

/* Form button hover state */
.contact-form .btn-primary {
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(34, 211, 238, 0.3);
}

/* Form messages */
.form-success {
    background-color: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 0.5rem;
    padding: 1rem;
}

.form-error {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 0.5rem;
    padding: 1rem;
}

.text-green-400 {
    color: #22c55e;
}

.text-red-400 {
    color: #ef4444;
}

/* Footer social links - matching contact section style */
.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    color: hsl(var(--muted-foreground));
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.footer-social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
    z-index: 1;
}

.footer-social-link:hover::before {
    width: 100%;
    height: 100%;
}

.footer-social-link:hover {
    color: #22d3ee;
    border-color: rgba(34, 211, 238, 0.3);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 
        0 10px 25px rgba(34, 211, 238, 0.3),
        0 0 0 3px rgba(34, 211, 238, 0.1);
}

.footer-social-link svg {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.footer-social-link:hover svg {
    transform: scale(1.1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Individual footer social link animations - All using githubPulse */
.footer-social-link:nth-child(1):hover {
    background: linear-gradient(135deg, #333333, #24292e);
    animation: githubPulse 2s ease-in-out infinite;
}

.footer-social-link:nth-child(2):hover {
    background: linear-gradient(135deg, #0077b5, #005885);
    animation: githubPulse 2s ease-in-out infinite;
}

.footer-social-link:nth-child(3):hover {
    background: linear-gradient(135deg, #000000, #1a1a1a);
    animation: githubPulse 2s ease-in-out infinite;
}

.footer-social-link:nth-child(4):hover {
    background: linear-gradient(135deg, #e4405f, #c13584);
    animation: githubPulse 2s ease-in-out infinite;
}

/* Responsive adjustments for contact */
@media (max-width: 768px) {
    .contact-info {
        animation-delay: 0.6s;
        transform: translateY(20px);
        animation-name: fadeInUp;
    }
    
    .contact-form {
        animation-delay: 0.8s;
        transform: translateY(20px);
        animation-name: fadeInUp;
    }
    
    .contact-item {
        padding: 0.75rem 0;
    }
}

/* Additional utility classes for contact */
.space-y-8 > * + * {
    margin-top: 2rem;
}

.space-x-4 > * + * {
    margin-left: 1rem;
}

.gap-12 {
    gap: 3rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.w-full {
    width: 100%;
}

.resize-none {
    resize: none;
}

.hidden {
    display: none;
}

/* Button loading state */
.btn-loading {
    opacity: 0.7;
}

.btn-text {
    transition: opacity 0.3s ease;
}

/* Form input focus ring */
.form-input:focus {
    outline: none;
    border-color: #22d3ee;
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.1);
}

/* Contact section background */
.contact-section {
    background: linear-gradient(135deg, 
        rgba(34, 211, 238, 0.05) 0%, 
        rgba(168, 85, 247, 0.05) 100%
    );
}

/* Portfolio links - remove underline */
.portfolio-link {
    text-decoration: none !important;
}

.portfolio-link:hover {
    text-decoration: none !important;
}

/* Header portfolio link */
header a[href="#home"] {
    text-decoration: none !important;
}

header a[href="#home"]:hover {
    text-decoration: none !important;
}

