@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Root Variables */
:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Reset & Base Styles */
*, *::after, *::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
    cursor: url('/assets/images/cursor.png') , auto;
}

/* Floating Bubbles */
.bubbles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.bubble {
    position: absolute;
    background: radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.8), rgba(99, 102, 241, 0.1));
    border-radius: 50%;
    opacity: 0.3;
    animation: float-bubble linear infinite;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.bubble:nth-child(1) {
    width: 80px;
    height: 80px;
    left: 5%;
    animation-duration: 15s;
    animation-delay: 0s;
}

.bubble:nth-child(2) {
    width: 60px;
    height: 60px;
    right: 10%;
    animation-duration: 18s;
    animation-delay: -2s;
}

.bubble:nth-child(3) {
    width: 100px;
    height: 100px;
    left: 15%;
    animation-duration: 20s;
    animation-delay: -4s;
    opacity: 0.2;
}

.bubble:nth-child(4) {
    width: 50px;
    height: 50px;
    right: 15%;
    animation-duration: 16s;
    animation-delay: -1s;
}

.bubble:nth-child(5) {
    width: 70px;
    height: 70px;
    left: 20%;
    animation-duration: 19s;
    animation-delay: -3s;
    opacity: 0.25;
}

.bubble:nth-child(6) {
    width: 55px;
    height: 55px;
    right: 30%;
    animation-duration: 21s;
    animation-delay: -5s;
}

.bubble:nth-child(7) {
    width: 85px;
    height: 85px;
    right: 5%;
    animation-duration: 17s;
    animation-delay: -2.5s;
    opacity: 0.2;
}

.bubble:nth-child(8) {
    width: 65px;
    height: 65px;
    left: 85%;
    animation-duration: 18.5s;
    animation-delay: -1.5s;
}

@keyframes float-bubble {
    0% {
        transform: translateY(100vh) scale(0.5);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
        transform: translateY(90vh) scale(0.7);
    }
    50% {
        opacity: 0.4;
        transform: translateY(50vh) scale(1);
    }
    90% {
        opacity: 0.2;
        transform: translateY(10vh) scale(0.8);
    }
    100% {
        transform: translateY(-10vh) scale(0.3);
        opacity: 0;
    }
}

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    left: -100%;
    top: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    z-index: 2000;
    transition: left 0.3s ease;
    padding-top: 80px;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
}

.mobile-sidebar.active {
    left: 0;
}

.sidebar-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
}

.sidebar-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.sidebar-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 20px;
}

.sidebar-nav ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar-nav ul li a {
    display: block;
    color: white;
    font-size: 16px;
    font-weight: 500;
    padding: 15px 10px;
    transition: all 0.3s ease;
    position: relative;
}

.sidebar-nav ul li a:hover {
    padding-left: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 1500;
    transition: all 0.3s ease;
    pointer-events: none;
}

.sidebar-overlay.active {
    background: rgba(0, 0, 0, 0.5);
    pointer-events: auto;
}

.container {
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* Header Styles */
.ph_header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    z-index: 1100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow-x: hidden;
}

.ph_header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.ph_header .logo a {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.ph_header .ph_navigation ul {
    display: flex;
    gap: 30px;
}

.ph_header .ph_navigation ul li a {
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.ph_header .ph_navigation ul li a:hover {
    color: var(--primary-color);
}

.ph_header .ph_navigation ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.ph_header .ph_navigation ul li a:hover::after {
    width: 100%;
}

.ph_header .ph_navigation ul li a.active {
    color: var(--primary-color);
}

.ph_header .ph_navigation ul li a.active::after {
    width: 100%;
}

.menu_bars {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu_bars .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

/* Hero Section */
#home {
    margin-top: 60px;
    padding: 80px 0;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

#home .container {
    display: flex;
    flex-direction: row;
    gap: 50px;
    align-items: center;
    justify-content: space-between;
}

.home_content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
    flex: 1;
    max-width: 600px;
}

.home_image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    flex: 1;
}

.greeting {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.home_content h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

.home_content h1 span {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
}

.description {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 500px;
    text-align: left;
}

.home_buttons {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    align-items: center;
}

/* Button Styles */
.btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    cursor: pointer;
    width: auto;
    min-width: 140px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.home_image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    flex: 1;
}

.profile-circle {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 8px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.3);
}

.profile-circle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.1);
    top: -20px;
    left: -20px;
}

.profile-circle img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* Section Styles */
section {
    padding: 80px 0;
    position: relative;
    z-index: 10;
}

.section-label {
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

section > .container > p {
    font-size: 15px;
    color: var(--text-light);
    max-width: 600px;
    /* margin-bottom: 40px; */
    margin: 0 auto 40px auto;
}

/* About Section */
#about {
    background: var(--bg-white);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.about-content p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: var(--primary-color);
    color: white;
}

.info-item i {
    font-size: 24px;
    color: var(--primary-color);
    min-width: 30px;
}

.info-item:hover i {
    color: white;
}

.info-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.info-item p {
    font-size: 14px;
    margin: 0;
}

.skills-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 30px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.skill-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background: var(--bg-light);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-badge:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.2);
}

.skill-badge i {
    font-size: 32px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.skill-badge:hover i {
    color: white;
}

.skill-badge span {
    font-size: 13px;
    font-weight: 600;
}

/* Projects Section */
#projects {
    background: var(--bg-light);
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.view-all {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.view-all:hover {
    gap: 12px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-light);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-card h3 {
    font-size: 18px;
    font-weight: 700;
    padding: 20px 20px 10px;
}

.project-card p {
    font-size: 14px;
    color: var(--text-light);
    padding: 0 20px;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 15px 20px;
}

.tag {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.tag-link {
    background: var(--primary-color) !important;
    color: white !important;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    margin-left: auto;
    transition: all 0.3s ease;
}

.tag-link:hover {
    transform: scale(1.1);
}

/* Why Hire Me Section */
#why-hire {
    background: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    padding: 30px 25px;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.2);
}

.feature-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-card:hover i {
    color: white;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 13px;
    line-height: 1.6;
}

/* Contact Section */
#contact {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    text-align: center;
}

.contact-form {
    max-width: 700px;
    margin: 50px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group:nth-child(3),
.form-group:nth-child(4) {
    grid-column: 1 / -1;
}

.form-group input,
.form-group textarea {
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.contact-form button {
    grid-column: 1 / -1;
    margin-top: 10px;
}

.form-alert {
    max-width: 700px;
    margin: 0 auto 20px;
    padding: 18px 20px;
    border-radius: 12px;
    font-size: 15px;
    text-align: center;
    display: none;
}

.form-alert.success {
    display: block;
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.form-alert.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 30px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}



.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* 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 float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.home_content {
    animation: fadeInUp 0.8s ease-out;
}

.home_image {
    animation: float 3s ease-in-out infinite;
}

.section-label {
    animation: fadeInDown 0.6s ease-out;
}

section h2 {
    animation: fadeInUp 0.8s ease-out;
}

.project-card {
    animation: fadeInUp 0.6s ease-out;
}

.feature-card {
    animation: fadeInUp 0.8s ease-out;
}

/* Desktop Navigation - Hide sidebar on desktop */
@media (min-width: 769px) {
    .mobile-sidebar {
        display: none !important;
    }

    .sidebar-overlay {
        display: none !important;
    }

    .menu_bars {
        display: none !important;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .ph_header .ph_navigation ul {
        display: none;
    }

    .menu_bars {
        display: flex !important;
    }

    .mobile-sidebar {
        display: block !important;
    }

    .sidebar-overlay {
        display: block !important;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #home .container {
        flex-direction: row;
        gap: 30px;
    }

    .home_image {
        flex: 1;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
    }

    .home_content h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .ph_header .container .ph_navigation ul {
        display: none;
    }

    .ph_header .ph_navigation.active ul {
        display: none;
    }

    .menu_bars {
        display: flex !important;
    }

    .menu_bars.active .bar1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .menu_bars.active .bar2 {
        opacity: 0;
    }

    .menu_bars.active .bar3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Sidebar styles */
    .mobile-sidebar {
        display: block !important;
        width: 100%;
        max-width: 280px;
    }

    .sidebar-overlay {
        display: block !important;
    }

    section {
        padding: 50px 0;
    }

    section h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .section-label {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .home_content h1 {
        font-size: 28px;
    }

    .subtitle {
        font-size: 16px;
    }

    .description {
        font-size: 14px;
    }

    .home_buttons {
        flex-direction: row;
        gap: 10px;
        align-items: center;
        justify-content: flex-start;
    }

    .btn {
        flex: 1;
        justify-content: center;
        min-width: 120px;
        max-width: 140px;
        font-weight: 500;
    }

    .home_image {
        width: 100%;
        order: 2;
        margin-bottom: 0;
    }

    .home_content {
        order: 1;
        width: 100%;
        max-width: 100%;
    }

    #home .container {
        flex-direction: column;
        gap: 30px;
    }

    .profile-circle {
        width: 350px;
        height: 350px;
    }

    #home .container {
        flex-direction: column;
        gap: 30px;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-content {
        padding: 0 5px;
    }

    .about-content h2 {
        font-size: 26px;
        margin-bottom: 15px;
    }

    .about-content p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .about-info {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .info-item {
        padding: 15px 12px;
        border-radius: 6px;
    }

    .info-item i {
        font-size: 20px;
        min-width: 25px;
    }

    .info-item h4 {
        font-size: 13px;
        margin-bottom: 4px;
    }

    .info-item p {
        font-size: 12px;
        margin: 0;
    }

    .skills-content h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr)   ;
        gap: 12px;
    }

    .skill-badge {
        padding: 12px 15px;
    }

    .skill-badge i {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .skill-badge span {
        font-size: 12px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .project-image {
        height: 150px;
    }

    .project-card h3 {
        font-size: 16px;
        padding: 15px 15px 10px;
    }

    .project-card p {
        font-size: 13px;
        padding: 0 15px;
    }

    .projects-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .view-all {
        font-size: 13px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .feature-card {
        padding: 15px 12px;
    }

    .feature-card i {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .feature-card h3 {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .feature-card p {
        font-size: 12px;
        line-height: 1.5;
    }

    .contact-form {
        gap: 12px;
    }

    .form-group {
        margin-bottom: 8px;
    }

    .form-group input,
    .form-group textarea {
        padding: 11px 12px;
        font-size: 13px;
        border-radius: 6px;
    }

    .form-group textarea {
        min-height: 120px;
    }

    .contact-form button {
        width: 100% !important;
        margin-top: 8px;
        padding: 11px 15px;
        font-size: 13px;
        border-radius: 6px;
    }

    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-left p {
        font-size: 12px;
    }

    .footer-right {
        justify-content: center;
        flex-direction: column;
        gap: 8px;
    }

    .footer-right p {
        font-size: 12px;
        margin: 0;
    }

    .social-links {
        justify-content: center;
        gap: 10px;
    }

    .social-links a {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    /* Reduce bubble opacity on mobile for better readability */
    .bubble {
        opacity: 0.15;
    }
}

@media (max-width: 480px) {
    .ph_header {
        overflow-x: hidden;
    }
    .container {
        padding: 0 15px;
    }

    .ph_header .container {
        padding: 12px 15px;
    }

    .ph_header .logo a {
        font-size: 16px;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    #home {
        padding: 20px 0 40px 0;
    }

    #home .container {
        gap: 25px;
    }

    .greeting {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .home_content h1 {
        font-size: 24px;
        line-height: 1.2;
        margin-bottom: 8px;
    }

    .subtitle {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .description {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .home_buttons {
        flex-direction: row;
        gap: 8px;
        margin-top: 10px;
    }

    .profile-circle {
        width: 320px;
        height: 320px;
    }

    #about {
        padding: 60px 0;
    }

    #projects {
        padding: 50px 0;
    }

    #why-hire {
        padding: 50px 0;
    }

    #contact {
        padding: 50px 0;
    }

    section h2 {
        font-size: 26px;
        margin-bottom: 15px;
    }

    section > .container > p {
        font-size: 13px;
        margin-bottom: 25px;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .skill-badge {
        padding: 10px;
    }

    .skill-badge i {
        font-size: 24px;
    }

    .skill-badge span {
        font-size: 12px;
    }

    .project-card h3 {
        font-size: 16px;
    }

    .project-card p {
        font-size: 13px;
    }

    .project-tags {
        gap: 5px;
        padding: 10px 15px;
    }

    .tag {
        font-size: 11px;
        padding: 4px 10px;
    }

    .feature-card {
        padding: 15px 10px;
    }

    .feature-card i {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .feature-card h3 {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .feature-card p {
        font-size: 12px;
    }

    .btn {
        padding: 9px 14px;
        font-size: 12px;
        gap: 5px;
        min-width: 100px;
        max-width: auto;
    }

    .btn i {
        font-size: 12px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-form {
        gap: 10px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px 11px;
        font-size: 12px;
    }

    .form-group textarea {
        min-height: 100px;
        resize: vertical;
    }

    .contact-form button {
        padding: 10px 14px;
        font-size: 12px;
        width: 100% !important;
    }

    .social-links a {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }

    .scroll-to-top i {
        font-size: 14px;
    }

    .footer-content {
        flex-direction: column;
        gap: 15px;
    }

    .footer-left p {
        font-size: 11px;
    }

    .footer-right {
        flex-direction: column;
        gap: 8px;
    }

    .footer-right p {
        font-size: 11px;
        margin: 0;
    }

    .social-links {
        justify-content: center;
        gap: 8px;
    }

    /* Hide extra bubbles on small screens - show only 2-3 */
    .bubble:nth-child(n+4) {
        display: none;
    }

    .bubble {
        opacity: 0.1;
    }

    .mobile-sidebar {
        width: 75vw;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.scroll-to-top i {
    font-size: 18px;
}

/* Mobile Scroll to Top */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .scroll-to-top i {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }

    .scroll-to-top i {
        font-size: 14px;
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.animate {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.animate {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease;
}

.scale-in.animate {
    opacity: 1;
    transform: scale(1);
}