/* Root Variables for Light and Dark Mode */
:root {
    /* Light Mode Colors */
    --primary-color: #2563eb; /* Blue-700 */
    --secondary-color: #1e40af; /* Blue-800 */
    --accent-color: #3b82f6; /* Blue-500 */
    --light-color: #f0f9ff; /* Blue-50 */
    --dark-color: #1f2937; /* Gray-900 */
    --text-color: #374151; /* Gray-700 */
    --bg-color: #f9fafb; /* Gray-50 */
    --card-bg: #ffffff;
    --border-color: #e2e8f0; /* Gray-200 */
    --gradient-start: #f8f9fa;
    --gradient-end: #e9ecef;
    --header-bg-gradient-start: #1a1a2e;
    --header-bg-gradient-end: #16213e;
    --header-text-color: rgba(255, 255, 255, 0.8);
    --header-accent-color: #64ffda; /* Teal for logo/active links */
    --header-scrolled-bg: rgba(26, 26, 46, 0.95);
    --hero-bg-gradient-start: #0f172a;
    --hero-bg-gradient-end: #1e293b;
    --hero-text-color: white;
    --hero-description-color: #94a3b8; /* Gray-400 */
    --footer-bg-gradient-start: #1e293b;
    --footer-bg-gradient-end: #0f172a;
    --footer-text-color: #f8fafc;
    --footer-border-color: #334155;

    /* General */
    --section-padding: 6rem 2rem;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --card-hover-shadow: 0 12px 28px rgba(0,0,0,0.12);
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 15px;
    --border-radius-pill: 50px;

    /* Specific tag colors (adjust for dark mode if needed) */
    --blue-tag-bg: #dbeafe; --blue-tag-text: #1d4ed8;
    --green-tag-bg: #dcfce7; --green-tag-text: #15803d;
    --orange-tag-bg: #ffedd5; --orange-tag-text: #c2410c;
    --purple-tag-bg: #f3e8ff; --purple-tag-text: #7e22ce;
    --red-tag-bg: #fee2e2; --red-tag-text: #b91c1c;
    --yellow-tag-bg: #fef9c3; --yellow-tag-text: #a16207;
    --teal-tag-bg: #ccfbf1; --teal-tag-text: #0f766e;
    --pink-tag-bg: #fce7f3; --pink-tag-text: #be185d;

    /* Role pill colors (adjust for dark mode if needed) */
    --light-bg-soft: #e0f2fe;
    --blue-text: #0369a1;
    --green-text: #15803d;
    --red-text: #b91c1c;
}

/* Dark Mode Colors */
body.dark-mode {
    --primary-color: #60a5fa; /* Blue-400 */
    --secondary-color: #3b82f6; /* Blue-500 */
    --accent-color: #93c5fd; /* Blue-300 */
    --light-color: #1e293b; /* Gray-800 */
    --dark-color: #f8fafc; /* Gray-50 */
    --text-color: #cbd5e1; /* Gray-300 */
    --bg-color: #0f172a; /* Slate-900 */
    --card-bg: #1e293b; /* Slate-800 */
    --border-color: #334155; /* Slate-700 */
    --gradient-start: #1e293b;
    --gradient-end: #0f172a;
    --header-bg-gradient-start: #0f172a;
    --header-bg-gradient-end: #1e293b;
    --header-text-color: rgba(255, 255, 255, 0.9);
    --header-accent-color: #64ffda; /* Keep teal for contrast */
    --header-scrolled-bg: rgba(15, 23, 42, 0.95);
    --hero-bg-gradient-start: #0f172a; /* Same as light mode for hero */
    --hero-bg-gradient-end: #1e293b; /* Same as light mode for hero */
    --hero-text-color: white;
    --hero-description-color: #94a3b8; /* Keep gray-400 */
    --footer-bg-gradient-start: #0f172a;
    --footer-bg-gradient-end: #1e293b;
    --footer-text-color: #f8fafc;
    --footer-border-color: #334155;

    /* Adjust tag colors for dark mode readability */
    --blue-tag-bg: #1e3a8a; --blue-tag-text: #93c5fd;
    --green-tag-bg: #166534; --green-tag-text: #86efac;
    --orange-tag-bg: #7c2d12; --orange-tag-text: #fdba74;
    --purple-tag-bg: #581c87; --purple-tag-text: #d8b4fe;
    --red-tag-bg: #991b1b; --red-tag-text: #fca5a5;
    --yellow-tag-bg: #854d09; --yellow-tag-text: #fde047;
    --teal-tag-bg: #0f766e; --teal-tag-text: #5eead4;
    --pink-tag-bg: #9d174d; --pink-tag-text: #fbcfe8;

    /* Adjust role pill colors for dark mode readability */
    --light-bg-soft: #334155;
    --blue-text: #93c5fd;
    --green-text: #86efac;
    --red-text: #fca5a5;
}

/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-color);
    position: relative;
    transition: color 0.3s ease;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 0.5rem auto;
    border-radius: 2px;
    transition: background 0.3s ease;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--header-bg-gradient-start) 0%, var(--header-bg-gradient-end) 100%);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease, background 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Poppins', sans-serif;
    position: relative;
    z-index: 1001;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--header-accent-color), #4fc3f7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
    transition: background 0.3s ease;
}

.logo-subtext {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-left: 0.5rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    position: relative;
    color: var(--header-text-color);
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.nav-link::before {
    content: attr(data-text);
    position: absolute;
    top: 0; /* Adjusted from '3' to '0' for better alignment */
    left: 0;
    width: 0;
    color: var(--header-accent-color);
    overflow: hidden;
    white-space: nowrap;
    transition: width 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-link.active {
    color: var(--header-accent-color);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--header-accent-color);
    transition: all 0.3s ease;
}

.header-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--header-accent-color), #4fc3f7);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease, background 0.3s ease;
}

.navbar:hover .header-accent {
    transform: scaleX(1);
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    color: var(--header-text-color);
    font-size: 1.3rem;
    cursor: pointer;
    margin-left: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
    z-index: 1001;
}

.theme-toggle:hover {
    color: var(--header-accent-color);
    transform: scale(1.1);
}

/* Header scroll effect */
.header-scrolled {
    background: var(--header-scrolled-bg);
    padding: 0.8rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        align-items: center;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: linear-gradient(135deg, var(--header-bg-gradient-start) 0%, var(--header-bg-gradient-end) 100%);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 2rem;
        transition: right 0.5s ease, background 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.3rem;
        padding: 1rem 0;
    }
    
    /* Hamburger animation */
    .menu-toggle.active .hamburger span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active .hamburger span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .hamburger span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .theme-toggle {
        position: absolute;
        top: 1.2rem;
        right: 5rem; /* Adjust position for mobile */
        margin-left: 0;
    }
}

/* Hero Section - Enhanced */
.hero {
    position: relative;
    padding: 10rem 2rem 8rem;
    background: linear-gradient(135deg, var(--hero-bg-gradient-start) 0%, var(--hero-bg-gradient-end) 100%);
    color: var(--hero-text-color);
    overflow: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

.badge-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.welcome-badge {
    font-size: 1.1rem;
    color: var(--header-accent-color);
    padding: 0.5rem 1.2rem;
    border-radius: var(--border-radius-pill);
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid rgba(100, 255, 218, 0.2);
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #ccd6f6;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: rgba(100, 255, 218, 0.2);
    color: var(--header-accent-color);
    transform: translateY(-2px);
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
    transition: color 0.3s ease;
}

.hero-name {
    background: linear-gradient(90deg, #4fc3f7, var(--header-accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    transition: background 0.3s ease;
}

.hero-name::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #4fc3f7, var(--header-accent-color));
    border-radius: 3px;
    transition: background 0.3s ease;
}

.typewriter-wrapper {
    height: clamp(2.5rem, 4vw, 3.5rem); /* Adjusted height for responsiveness */
    margin: 1rem 0;
    position: relative; /* Ensure typing text is positioned correctly */
}

.typewriter {
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid black; /* Cursor is handled by JS */
    margin-left: 15px;
}
.typing-text {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    color: #e6f1ff;
    margin: 0;
    position: absolute;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.typewriter-cursor {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--header-accent-color);
    animation: blink 1s infinite;
    position: absolute;
    top: 0;
    left: 15px; /* Align with typing text */
    transform: translateX(100%); /* Will be adjusted by JS */
    transition: color 0.3s ease;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-description {
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 600px;
    color: var(--hero-description-color);
    transition: color 0.3s ease;
}

.highlight {
    color: var(--header-accent-color);
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.highlight:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.9rem 2rem;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(90deg, #4fc3f7, #64b5f6);
    color: #0a192f;
    box-shadow: 0 4px 15px rgba(79, 195, 247, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), background 0.3s ease, color 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(79, 195, 247, 0.4);
}

.btn-secondary {
    background: rgba(100, 255, 218, 0.1);
    color: var(--header-accent-color);
    border: 1px solid rgba(100, 255, 218, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(100, 255, 218, 0.2);
    transform: translateY(-3px);
}

.btn-hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.btn:hover .btn-hover-effect {
    transform: translateY(0);
}

.btn-icon {
    margin-right: 0.7rem;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: translateX(3px);
}

.experience-badges {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
}

.experience-badge {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.exp-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--header-accent-color);
    line-height: 1;
    transition: color 0.3s ease;
}

.exp-text {
    font-size: 0.9rem;
    color: var(--hero-description-color);
    transition: color 0.3s ease;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.image-wrapper {
    position: relative;
    max-width: 450px;
    width: 100%;
}

.profile-frame {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.5s ease, border-color 0.3s ease;
}

.profile-img {
    width: 100%;
    height: 100%; /* Ensure it fills the frame */
    object-fit: cover; /* Prevents distortion */
    display: block;
    transition: transform 0.5s ease;
}

.profile-frame:hover .profile-img {
    transform: scale(1.03);
}

.status-indicator {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.tech-bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.bubble {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    animation: float 6s infinite ease-in-out;
    color: white;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.bubble::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.bubble:hover::after {
    opacity: 1;
}

.bubble:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.bubble.c-sharp {
    background: linear-gradient(135deg, #9b4993, #6a1577);
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.bubble.flutter {
    background: linear-gradient(135deg, #3fb6d3, #1e88e5);
    bottom: 15%;
    right: -5%;
    animation-delay: 0.5s;
}

.bubble.wordpress {
    background: linear-gradient(135deg, #21759b, #00a0d2);
    top: 60%;
    left: -5%;
    animation-delay: 1s;
}

.bubble.python {
    background: linear-gradient(135deg, #3776ab, #ffd343);
    color: #333;
    top: 30%;
    right: -10%;
    animation-delay: 1.5s;
}

.bubble.cloud {
    background: linear-gradient(135deg, #4285f4, #34a853);
    top: 80%;
    right: 15%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    cursor: pointer;
}

.scroll-text {
    font-size: 0.9rem;
    color: var(--hero-description-color);
    margin-bottom: 1rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.scroll-indicator:hover .scroll-text {
    color: var(--header-accent-color);
}

.mouse-animation {
    width: 24px;
    height: 40px;
    border: 2px solid var(--hero-description-color);
    border-radius: var(--border-radius-md);
    display: flex;
    justify-content: center;
    padding-top: 6px;
    transition: border-color 0.3s ease;
}

.scroll-indicator:hover .mouse-animation {
    border-color: var(--header-accent-color);
}

.mouse {
    width: 4px;
    height: 8px;
    background: var(--hero-description-color);
    border-radius: 2px;
    animation: scrollAnimation 2s infinite;
    transition: background 0.3s ease;
}

.scroll-indicator:hover .mouse {
    background: var(--header-accent-color);
}

@keyframes scrollAnimation {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(10px); opacity: 0; }
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    opacity: 0.08;
    border: 1px solid var(--header-accent-color);
    transition: transform 0.5s ease, border-color 0.3s ease;
}

.shape.circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.shape.triangle {
    width: 0;
    height: 0;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
    border-bottom: 260px solid #4fc3f7;
    bottom: -100px;
    left: -50px;
    transform: rotate(15deg);
    border-color: transparent transparent #4fc3f7 transparent;
}

.shape.square {
    width: 200px;
    height: 200px;
    bottom: 50px;
    right: 100px;
    transform: rotate(45deg);
}

.shape.wave {
    width: 400px;
    height: 400px;
    /* This SVG fill color needs to be dynamic for dark mode if desired */
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%2364ffda' d='M45.2,-58.3C57.4,-49.1,65.4,-33.4,68.4,-16.8C71.4,-0.2,69.4,17.3,60.1,31.2C50.8,45.1,34.2,55.4,16.8,62.3C-0.6,69.2,-18.8,72.7,-32.8,64.9C-46.8,57.1,-56.6,38,-62.2,17.8C-67.8,-2.4,-69.2,-23.7,-59.8,-38.2C-50.4,-52.7,-30.2,-60.4,-10.9,-56.1C8.4,-51.8,16.8,-35.5,45.2,-58.3Z' transform='rotate(15)'/%3E%3C/svg%3E");
    background-size: contain;
    top: 50%;
    left: 70%;
    opacity: 0.05;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .experience-badges {
        justify-content: center;
    }
    
    .badge-wrapper {
        flex-direction: column;
        gap: 1rem;
    }
    
    .image-wrapper {
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 8rem 1.5rem 6rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .tech-bubbles .bubble {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
  
/* About Section */
.about {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}

.section-title span {
    display: inline-block;
    padding: 0 2rem;
    position: relative;
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--dark-color);
    transition: color 0.3s ease;
}

.section-title span::before,
.section-title span::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #9b59b6);
    transition: background 0.3s ease;
}

.section-title span::before {
    left: -60px;
}

.section-title span::after {
    right: -60px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-img {
    position: relative;
    padding: 1rem;
}

.profile-frame {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

.profile-frame:hover {
    transform: translateY(-10px);
}

.profile-frame img {
    width: 100%;
    display: block;
    border-radius: var(--border-radius-lg);
}

.tech-corner {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 0.8rem;
}

.tech-tag {
    background: rgba(52, 152, 219, 0.9); /* Specific color, consider making variable */
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.tech-tag:nth-child(2) {
    background: rgba(46, 204, 113, 0.9);
}

.tech-tag:nth-child(3) {
    background: rgba(155, 89, 182, 0.9);
}

.about-text h3 {
    font-size: clamp(1.8rem, 3vw, 2rem);
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    line-height: 1.3;
    transition: color 0.3s ease;
}

.divider {
    color: #9b59b6; /* Specific color, consider making variable */
    margin: 0 0.5rem;
}

.professional-titles {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
}

.title-badge {
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.title-badge.admin {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.title-badge.dev {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: white;
}

.title-badge.coder {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.title-badge.db {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
}

.title-badge.network {
    background: linear-gradient(135deg, #f39c12, #d35400);
    color: white;
}

.professional-summary {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2.5rem;
    position: relative;
    padding-left: 2rem;
    border-left: 3px solid #3498db; /* Specific color, consider making variable */
    transition: color 0.3s ease, border-color 0.3s ease;
}

.quote-icon {
    font-size: 3rem;
    color: #3498db; /* Specific color, consider making variable */
    line-height: 0;
    position: relative;
    top: 1rem;
    margin-right: 0.5rem;
    transition: color 0.3s ease;
}

.highlight {
    color: #3498db; /* Specific color, consider making variable */
    font-weight: 600;
    transition: color 0.3s ease;
}

.expertise-section h4 {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: color 0.3s ease;
}

.expertise-section h4 i {
    color: #9b59b6; /* Specific color, consider making variable */
    transition: color 0.3s ease;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.expertise-item {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s ease;
}

.expertise-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.expertise-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3498db, #9b59b6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    transition: background 0.3s ease;
}

.expertise-item span {
    display: block;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.skill-bar {
    width: 100%;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    margin-top: 0.8rem;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.skill-level {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 3px;
    transition: background 0.3s ease;
}

.education-section h4 {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: color 0.3s ease;
}

.education-section h4 i {
    color: #9b59b6; /* Specific color, consider making variable */
    transition: color 0.3s ease;
}

.education-timeline {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 3rem;
}

.education-timeline::before {
    content: "";
    position: absolute;
    left: 1.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #3498db, #9b59b6);
    transition: background 0.3s ease;
}

.education-item {
    position: relative;
    padding-bottom: 2rem;
    display: flex;
    gap: 1.5rem;
}

.edu-icon {
    width: 50px;
    height: 50px;
    background: var(--card-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #3498db; /* Specific color, consider making variable */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1;
    position: absolute;
    left: -3rem;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.edu-content {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    width: 100%;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.edu-content h5 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.edu-content p {
    color: var(--text-color); /* Adjusted from #7f8c8d */
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.about-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.btn-cv {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.btn-contact {
    background: transparent;
    color: #3498db;
    border: 2px solid #3498db;
    transition: all 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-contact:hover {
    background: #3498db;
    color: white;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-img {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .section-title span {
        font-size: 2rem;
    }
    
    .section-title span::before,
    .section-title span::after {
        width: 30px;
    }
    
    .section-title span::before {
        left: -40px;
    }
    
    .section-title span::after {
        right: -40px;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 4rem 1rem;
    }
    
    .about-text h3 {
        font-size: 1.8rem;
    }
    
    .professional-titles {
        justify-content: center;
    }
    
    .about-buttons {
        justify-content: center;
    }
    
    .section-title span::before,
    .section-title span::after {
        display: none;
    }
}

@media (max-width: 576px) {
    .about-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .education-timeline {
        padding-left: 2rem;
    }
    
    .edu-icon {
        left: -2.5rem;
    }
}

/* ======================
   SKILLS SECTION STYLES
   ====================== */

/* Section Container */
.skills-section {
    padding: var(--section-padding);
    background-color: var(--bg-color);
    transition: background-color 0.3s ease;
}

.skills-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Header */
.skills-header {
    text-align: center;
    margin-bottom: 3rem;
}

.skills-title {
    color: var(--dark-color);
}

.skills-title::after {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.skills-subtitle {
    color: var(--text-color);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    transition: color 0.3s ease;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

/* Skill Category Cards */
.skill-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-hover-shadow);
}

/* Card Header */
.card-header {
    padding: 1.5rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: background 0.3s ease;
}

.card-header i {
    font-size: 1.75rem;
}

.card-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
}

/* Header Color Variants */
.card-header.system {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
}

.card-header.development {
    background: linear-gradient(135deg, #0ea5e9, #06b6d4);
}

.card-header.marketing {
    background: linear-gradient(135deg, #f97316, #f59e0b);
}

/* Skills List */
.skills-list {
    padding: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-pill);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease, background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.skill-tag:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Skill Tag Colors */
.skill-tag.blue { background-color: var(--blue-tag-bg); color: var(--blue-tag-text); }
.skill-tag.green { background-color: var(--green-tag-bg); color: var(--green-tag-text); }
.skill-tag.orange { background-color: var(--orange-tag-bg); color: var(--orange-tag-text); }
.skill-tag.purple { background-color: var(--purple-tag-bg); color: var(--purple-tag-text); }
.skill-tag.red { background-color: var(--red-tag-bg); color: var(--red-tag-text); }
.skill-tag.yellow { background-color: var(--yellow-tag-bg); color: var(--yellow-tag-text); }
.skill-tag.teal { background-color: var(--teal-tag-bg); color: var(--teal-tag-text); }
.skill-tag.pink { background-color: var(--pink-tag-bg); color: var(--pink-tag-text); }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .skills-section {
        padding: 3rem 0;
    }
    
    .skills-title {
        font-size: 2rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .card-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding: 1.25rem;
    }
    
    .skills-list {
        justify-content: center;
    }
}

/* ======================
   EXPERIENCE SECTION STYLES
   ====================== */

   .experience-section {
    padding: var(--section-padding);
    background-color: var(--bg-color);
    position: relative;
    transition: background-color 0.3s ease;
  }
  
  .exp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
  }
  
  .exp-header {
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .exp-title {
    color: var(--dark-color);
  }
  
  .exp-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto 1rem;
    border-radius: 2px;
    transition: background 0.3s ease;
  }
  
  .exp-subtitle {
    color: var(--text-color);
    font-size: 1.1rem;
    transition: color 0.3s ease;
  }
  
  /* Timeline Styles */
  .timeline {
    position: relative;
    padding-left: 50px;
  }
  
  .timeline::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--border-color);
    border-radius: 2px;
    transition: background-color 0.3s ease;
  }
  
  .timeline-item {
    position: relative;
    margin-bottom: 3rem;
  }
  
  .timeline-badge {
    position: absolute;
    left: 15px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    z-index: 1;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
  }
  
  .timeline-badge.system {
    background: #4f46e5;
    box-shadow: 0 0 0 4px var(--light-color);
  }
  
  .timeline-badge.marketing {
    background: #f97316;
    box-shadow: 0 0 0 4px var(--light-color);
  }
  
  .timeline-date {
    position: absolute;
    left: -100px;
    width: 80px;
    text-align: right;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .timeline-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  }
  
  .timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
  }
  
  .card-header {
    padding: 1.5rem;
    color: white;
    transition: background 0.3s ease;
  }
  
  .card-header h3 {
    margin: 0 0 0.25rem;
    font-size: 1.4rem;
  }
  
  .card-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.9;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .achievements-list {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .achievements-list li {
    margin-bottom: 0.75rem;
    position: relative;
    list-style-type: none;
    color: var(--text-color);
    transition: color 0.3s ease;
  }
  
  .achievements-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #10b981; /* Specific color, consider making variable */
  }
  
  .tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  
  .tech-tag {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-pill);
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .tech-tag i {
    font-size: 0.9rem;
  }
  
  /* Color Variants */
  .blue { background-color: var(--blue-tag-bg); color: var(--blue-tag-text); }
  .green { background-color: var(--green-tag-bg); color: var(--green-tag-text); }
  .orange { background-color: var(--orange-tag-bg); color: var(--orange-tag-text); }
  .purple { background-color: var(--purple-tag-bg); color: var(--purple-tag-text); }
  .red { background-color: var(--red-tag-bg); color: var(--red-tag-text); }
  .teal { background-color: var(--teal-tag-bg); color: var(--teal-tag-text); }
  .pink { background-color: var(--pink-tag-bg); color: var(--pink-tag-text); }
  
  /* Responsive */
  @media (max-width: 768px) {
    .timeline {
      padding-left: 30px;
    }
    
    .timeline-date {
      position: static;
      text-align: left;
      margin-bottom: 0.5rem;
      color: var(--text-color);
      font-weight: 600;
    }
    
    .timeline::before {
      left: 15px;
    }
    
    .timeline-badge {
      left: 5px;
    }
  }

/* ======================
   PROJECTS SECTION STYLES
   ====================== */

   .projects-section {
    padding: var(--section-padding);
    background-color: var(--bg-color);
    transition: background-color 0.3s ease;
  }
  
  .projects-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .section-title {
    color: var(--dark-color);
  }
  
  .section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto 1rem;
    border-radius: 2px;
    transition: background 0.3s ease;
  }
  
  .section-subtitle {
    color: var(--text-color);
    font-size: 1.1rem;
    transition: color 0.3s ease;
  }
  
  /* Projects Grid */
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
  }
  
  /* Project Card */
  .project-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
  }
  
  .project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
  }
  
  .card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--card-bg);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
  }
  
  /* Project Image */
  .project-image {
    height: 220px;
    position: relative;
    overflow: hidden;
  }
  
  .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .project-card:hover .project-image img {
    transform: scale(1.05);
  }
  
  .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .project-card:hover .image-overlay {
    opacity: 1;
  }
  
  .view-btn {
    padding: 0.75rem 1.5rem;
    background: var(--card-bg);
    color: var(--dark-color);
    border-radius: var(--border-radius-pill);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  }
  
  .view-btn:hover {
    transform: scale(1.05);
  }
  
  /* Project Content */
  .project-content {
    padding: 1.5rem;
  }
  
  .project-title {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
  }
  
  .project-description {
    color: var(--text-color);
    margin-bottom: 1.25rem;
    line-height: 1.6;
    transition: color 0.3s ease;
  }
  
  /* Tech Tags */
  .tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }
  
  .tech-tag {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-pill);
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  /* Features Box */
  .features-box {
    background: var(--bg-color);
    border-radius: var(--border-radius-sm);
    padding: 1rem;
    margin-bottom: 1.5rem;
    transition: background-color 0.3s ease;
  }
  
  .features-title {
    font-size: 1rem;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
  }
  
  .features-list {
    padding-left: 1.5rem;
  }
  
  .features-list li {
    margin-bottom: 0.5rem;
    position: relative;
    list-style-type: none;
    color: var(--text-color);
    transition: color 0.3s ease;
  }
  
  .features-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #10b981;
    position: absolute;
    left: -1.5rem;
    top: 0.1rem;
  }
  
  /* Project Actions */
  .project-actions {
    text-align: center;
  }
  
  .github-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--dark-color);
    color: white;
    border-radius: var(--border-radius-pill);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease, background-color 0.3s ease;
  }
  
  .github-btn:hover {
    background: #334155;
    transform: translateY(-2px);
  }
  
  /* Color Variants (re-using from skills) */
  .purple { background-color: var(--purple-tag-bg); color: var(--purple-tag-text); }
  .blue { background-color: var(--blue-tag-bg); color: var(--blue-tag-text); }
  .teal { background-color: var(--teal-tag-bg); color: var(--teal-tag-text); }
  .orange { background-color: var(--orange-tag-bg); color: var(--orange-tag-text); }
  .green { background-color: var(--green-tag-bg); color: var(--green-tag-text); }
  
  /* Responsive */
  @media (max-width: 768px) {
    .projects-grid {
      grid-template-columns: 1fr;
    }
    
    .project-image {
      height: 200px;
    }
  }

/* Connect Section Styles */
.connect-section {
    padding: var(--section-padding);
    background-color: var(--bg-color);
    text-align: center;
    transition: background-color 0.3s ease;
  }
  
  .connection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
  }
  
  .connection-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    border-top: 4px solid transparent;
  }
  
  .connection-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  }
  
  .connection-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background-color 0.3s ease;
  }
  
  /* Connection Type Colors */
  .email-option { border-color: #7c3aed; }
  .email-option .connection-icon { background: #7c3aed; }
  
  .linkedin-option { border-color: #0a66c2; }
  .linkedin-option .connection-icon { background: #0a66c2; }
  
  .github-option { border-color: #333; }
  .github-option .connection-icon { background: #333; }
  
  .whatsapp-option { border-color: #25D366; }
  .whatsapp-option .connection-icon { background: #25D366; }
  
  .phone-option { border-color: #10b981; }
  .phone-option .connection-icon { background: #10b981; }
  
  .telegram-option { border-color: #0088cc; }
  .telegram-option .connection-icon { background: #0088cc; }
  
  .connection-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-pill);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  }
  
  /* Button Colors Matching Icons */
  .email-option .connection-btn { 
    background: #7c3aed;
    color: white;
  }
  .linkedin-option .connection-btn { 
    background: #0a66c2;
    color: white;
  }
  .github-option .connection-btn { 
    background: #333;
    color: white;
  }
  .whatsapp-option .connection-btn { 
    background: #25D366;
    color: white;
  }
  .phone-option .connection-btn { 
    background: #10b981;
    color: white;
  }
  .telegram-option .connection-btn { 
    background: #0088cc;
    color: white;
  }
  
  .connection-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
  
  .availability-notice {
    margin-top: 3rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--light-color);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-pill);
    color: var(--primary-color);
    transition: background-color 0.3s ease, color 0.3s ease;
  }

  /* Contact Form Styles */
.contact-form-wrapper {
    max-width: 600px;
    margin: 4rem auto 0;
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--card-shadow);
    text-align: left;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-wrapper h3 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 2rem;
    text-align: center;
    transition: color 0.3s ease;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    color: var(--text-color);
    background-color: var(--bg-color); /* Use bg-color for input background */
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: auto;
    margin: 0 auto;
    display: block;
    padding: 0.9rem 2.5rem;
}

/* Alert Box Styles */
.alert {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem 2rem;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.5s ease, transform 0.5s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.alert.error {
    background-color: var(--red-tag-bg);
    color: var(--red-tag-text);
    border: 1px solid var(--red-tag-text);
}

.alert.success {
    background-color: var(--green-tag-bg);
    color: var(--green-tag-text);
    border: 1px solid var(--green-tag-text);
}

.alert.fade-out {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
}
  
/* ======================
   FOOTER STYLES
   ====================== */

   .site-footer {
    background: linear-gradient(135deg, var(--footer-bg-gradient-start), var(--footer-bg-gradient-end));
    color: var(--footer-text-color);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease, color 0.3s ease;
  }
  
  .site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: background 0.3s ease;
  }
  
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
  }
  
  .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }
  
  /* Footer Branding */
  .footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }
  
  .logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--footer-text-color), #cbd5e1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: background 0.3s ease;
  }
  
  .logo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
    transition: background-color 0.3s ease;
  }
  
  @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
  }
  
  .footer-tagline {
    font-size: 1.1rem;
    color: #94a3b8;
    max-width: 600px;
    line-height: 1.6;
    transition: color 0.3s ease;
  }
  
  /* Roles Pill */
  .footer-roles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin: 1rem 0;
  }
  
  .role-pill {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-pill);
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .role-pill::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
  }
  
  .role-pill:nth-child(1)::before { background: var(--blue-text); }
  .role-pill:nth-child(2)::before { background: var(--green-text); }
  .role-pill:nth-child(3)::before { background: var(--red-text); }
  
  /* Social Links */
  .social-links {
    display: flex;
    gap: 1.5rem;
    margin: 1.5rem 0;
  }
  
  .social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    position: relative;
    transition: all 0.3s ease;
  }
  
  .social-link:hover {
    transform: translateY(-5px);
  }
  
  .social-link.linkedin { background-color: #0a66c2; }
  .social-link.github { background-color: #333; }
  .social-link.facebook { background-color: #1877f2; }
  
  .tooltip {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--card-bg); /* Adjusted for dark mode */
    color: var(--text-color); /* Adjusted for dark mode */
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
  }
  
  .social-link:hover .tooltip {
    opacity: 1;
    visibility: visible;
    bottom: -30px;
  }
  
  /* Footer Bottom */
  .footer-bottom {
    margin-top: 2rem;
    width: 100%;
    border-top: 1px solid var(--footer-border-color);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: border-color 0.3s ease;
  }
  
  .copyright {
    color: #94a3b8;
    font-size: 0.9rem;
    transition: color 0.3s ease;
  }
  
  .copyright span {
    color: var(--footer-text-color);
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
  }
  
  .footer-links a:hover {
    color: var(--primary-color);
  }
  
  .divider {
    color: #475569;
    font-size: 0.85rem;
    transition: color 0.3s ease;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .footer-roles {
      flex-direction: column;
      align-items: center;
    }
    
    .social-links {
      gap: 1rem;
    }
    
    .social-link {
      width: 40px;
      height: 40px;
      font-size: 1rem;
    }
  }

/* Custom Cursor Styles */
html {
    cursor: none;
  }
  
  .cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(59, 130, 246, 0.5); /* blue-500 with opacity */
    pointer-events: none;
    mix-blend-mode: difference;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
  }
  
  .cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: 
      transform 0.3s ease,
      width 0.3s ease,
      height 0.3s ease;
  }
  
  /* Cursor states */
  .cursor.active {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: rgba(239, 68, 68, 0.7); /* red-500 with opacity */
  }
  
  .cursor-follower.active {
    width: 60px;
    height: 60px;
    border-color: rgba(239, 68, 68, 0.5);
  }
  
  .cursor.hidden {
    opacity: 0;
  }
  
  .cursor-follower.hidden {
    opacity: 0;
  }
  
  /* Link hover effects */
  a:hover ~ .cursor {
    transform: translate(-50%, -50%) scale(1.8);
  }
  
  a:hover ~ .cursor-follower {
    width: 50px;
    height: 50px;
    border-color: rgba(59, 130, 246, 0.7);
  }
  
  /* Button hover effects */
  .btn:hover ~ .cursor {
    transform: translate(-50%, -50%) scale(2);
    background-color: rgba(16, 185, 129, 0.7); /* green-500 with opacity */
  }
  
  .btn:hover ~ .cursor-follower {
    width: 70px;
    height: 70px;
    border-color: rgba(16, 185, 129, 0.5);
  }

/* Disable custom cursor on touch devices */
@media (pointer: coarse) {
    .cursor, .cursor-follower {
        display: none !important;
    }
    html {
        cursor: auto; /* Revert to default cursor */
    }
}
