/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Three.js Background */
.threejs-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background: #000000;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.nav-logo a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-logo a:hover::after {
    transform: scaleX(1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-link:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: linear-gradient(45deg, #667eea, #764ba2);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Sections */
.section {
    padding: 80px 0;
    min-height: auto;
    display: flex;
    align-items: center;
    background: transparent;
    position: relative;
    z-index: 1;
    margin: 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Home Section - Redesigned */
.home-section {
    min-height: 100vh;
    padding-top: 120px;
    margin-top: 0;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.home-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.home-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.home-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    animation: fadeInUp 1s ease-out;
}

.home-title .highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #40e0d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.3));
}

.home-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #40e0d0 100%);
    border-radius: 2px;
    transform: scaleX(0);
    animation: expandLine 1.5s ease-out 0.5s forwards;
}

.home-subtitle {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    color: #40e0d0;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    animation: fadeInUp 1s ease-out 0.2s both;
    text-shadow: 0 0 20px rgba(64, 224, 208, 0.3);
}

.home-description {
    font-size: clamp(1rem, 3vw, 1.3rem);
    color: #b0b0b0;
    margin-bottom: 3rem;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.4s both;
    font-weight: 400;
}

.home-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn {
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #667eea;
    position: relative;
    z-index: 1;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50px;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.btn-secondary:hover {
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
}

.btn-secondary:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandLine {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Floating elements for visual interest */
.home-section::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 10%;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 50%;
    filter: blur(40px);
    animation: float 6s ease-in-out infinite;
    z-index: 1;
    transform: translateY(-50%);
}

.home-section::before {
    content: '';
    position: absolute;
    bottom: 20%;
    left: 10%;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(64, 224, 208, 0.1), rgba(102, 126, 234, 0.1));
    border-radius: 50%;
    filter: blur(30px);
    animation: float 8s ease-in-out infinite reverse;
    z-index: 1;
}

.home-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-placeholder {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(45deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: white;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: rgba(0, 0, 0, 0.95);
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    border: 1px solid rgba(102, 126, 234, 0.3);
    width: 90%;
    max-width: 500px;
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.3);
    backdrop-filter: blur(10px);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h2 {
    color: #667eea;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
}

.close {
    color: #cccccc;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #667eea;
}

.modal-body {
    padding: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateX(5px);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 1.1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    color: #cccccc;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-link {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #667eea;
}

.contact-text {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.education-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(10, 10, 10, 1);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.education-section h3 {
    color: #667eea;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.education-item h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.education-item .degree {
    color: #cccccc;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.education-item .graduation {
    color: #667eea;
    font-size: 0.9rem;
    font-weight: 500;
}



.about-placeholder {
    width: 250px;
    height: 250px;
    border-radius: 20px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

/* Experience Section */
.experience-grid {
    display: grid;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.experience-card {
    background: rgba(10, 10, 10, 1);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.experience-card:hover {
    transform: translateY(-5px);
    background: rgba(15, 15, 15, 1);
    border-color: #667eea;
}

.experience-header {
    background: rgba(102, 126, 234, 0.2);
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.experience-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.company {
    color: #667eea;
    font-weight: 500;
    margin-right: 1rem;
    font-size: 1.1rem;
}

.period {
    color: #cccccc;
    font-size: 0.9rem;
}

.experience-content {
    padding: 2rem;
}

.experience-description h4 {
    color: #667eea;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem 0;
}

.experience-description h4:first-child {
    margin-top: 0;
}

.experience-description p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.experience-description ul {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.experience-description li {
    margin-bottom: 0.5rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-tag {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid rgba(102, 126, 234, 0.3);
}



/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: rgba(10, 10, 10, 1);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-5px);
    background: rgba(15, 15, 15, 1);
    border-color: #667eea;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.project-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.project-period {
    color: #667eea;
    font-size: 0.9rem;
    font-weight: 500;
}

.project-card p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Skills Section */
.skills-content {
    display: grid;
    gap: 2rem;
}

.skills-category h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 1rem;
    text-align: center;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.skill-item {
    background: rgba(10, 10, 10, 1);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-item:hover {
    transform: translateY(-3px);
    background: rgba(15, 15, 15, 1);
    border-color: #667eea;
}

.skill-icon {
    font-size: 1.8rem;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.skill-item span {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.85rem;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.8);
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer p {
    color: #cccccc;
}

.contact-info {
    text-align: center;
}

.contact-info p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #cccccc;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #667eea;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(20px);
        padding: 2rem 0;
        border-top: 1px solid rgba(102, 126, 234, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 0.5rem 0;
    }
    
    .nav-link {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .home-section {
        min-height: 90vh;
        padding-top: 100px;
        padding-bottom: 2rem;
    }
    
    .home-content {
        text-align: center;
        max-width: 100%;
        padding: 1rem;
    }
    
    .home-title {
        font-size: clamp(2.5rem, 6vw, 3.5rem);
        margin-bottom: 1rem;
    }
    
    .home-subtitle {
        font-size: clamp(1rem, 3vw, 1.4rem);
        margin-bottom: 1rem;
    }
    
    .home-description {
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);
        max-width: 100%;
        margin-bottom: 2rem;
    }
    
    .home-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 15px 25px;
        font-size: 1rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: clamp(2rem, 5vw, 2.5rem);
        margin-bottom: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        justify-items: center;
        width: 100%;
    }
    
    .about-text {
        order: 2;
        width: 100%;
        max-width: 100%;
    }
    
    .about-image {
        order: 1;
        margin-bottom: 1rem;
        display: none;
    }
    

    
    .experience-grid {
        gap: 2rem;
    }
    
    .experience-card {
        margin-bottom: 2rem;
    }
    
    .experience-header {
        padding: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .experience-content {
        padding: 1.5rem;
    }
    
    .experience-description h4 {
        font-size: 1.1rem;
        margin-top: 1rem;
    }
    
    .experience-description ul {
        padding-left: 1rem;
    }
    
    .experience-description li {
        margin-bottom: 0.5rem;
        font-size: 0.95rem;
    }
    
    .tech-stack {
        gap: 0.5rem;
    }
    
    .tech-tag {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-card {
        padding: 1.5rem;
    }
    
    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .project-header h3 {
        font-size: 1.2rem;
    }
    
    .project-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .skills-content {
        gap: 2rem;
    }
    
    .skills-category h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .skill-item {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .skill-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0.5rem;
    }
    
    .skill-icon i {
        font-size: 1.2rem;
    }
    
    .skill-item span {
        font-size: 0.9rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding: 2rem 0;
    }
    
    .footer p {
        font-size: 0.9rem;
    }
    
    .contact-info {
        margin: 1rem 0;
    }
    
    .contact-info p {
        font-size: 0.9rem;
        margin: 0.25rem 0;
    }
    
    .social-links {
        gap: 1rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    /* Hide floating elements on mobile */
    .home-section::after,
    .home-section::before {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    
    /* Hide about placeholder on mobile */
    .about-placeholder {
        display: none !important;
    }
    
    /* Improve container padding */
    .container {
        padding: 0 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    .section {
        padding: 60px 1rem;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    .home-section {
        padding-top: 80px;
        min-height: 85vh;
        width: 100%;
    }
    
    .section {
        padding: 50px 1rem;
        width: 100%;
    }
    
    .home-title {
        font-size: clamp(2rem, 5vw, 2.5rem);
        line-height: 1.1;
    }
    
    .home-subtitle {
        font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    }
    
    .home-description {
        font-size: clamp(0.8rem, 2vw, 1rem);
        line-height: 1.7;
    }
    
    .home-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
        padding: 14px 20px;
        font-size: 0.95rem;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: clamp(1.8rem, 4vw, 2.2rem);
        margin-bottom: 1.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        justify-items: center;
        width: 100%;
    }
    
    .about-text {
        width: 100%;
        max-width: 100%;
    }
    
    .about-text p {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }
    
    .education-section {
        margin: 2rem 0;
        padding: 1.5rem;
        background: rgba(10, 10, 10, 1);
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        max-width: 100%;
    }
    

    
    .experience-card {
        margin-bottom: 1.5rem;
    }
    
    .experience-header {
        padding: 1rem;
    }
    
    .experience-header h3 {
        font-size: 1.1rem;
    }
    
    .experience-content {
        padding: 1rem;
    }
    
    .experience-description h4 {
        font-size: 1rem;
    }
    
    .experience-description p,
    .experience-description li {
        font-size: 0.9rem;
    }
    
    .projects-grid {
        gap: 1rem;
    }
    
    .project-card {
        padding: 1rem;
    }
    
    .project-header h3 {
        font-size: 1.1rem;
    }
    
    .project-card p {
        font-size: 0.9rem;
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .skill-item {
        padding: 0.8rem;
    }
    
    .skill-icon {
        width: 35px;
        height: 35px;
    }
    
    .skill-icon i {
        font-size: 1rem;
    }
    
    .skill-item span {
        font-size: 0.85rem;
    }
    
    .footer-content {
        gap: 1rem;
        padding: 1.5rem 0;
    }
    
    .footer p {
        font-size: 0.85rem;
    }
    
    .contact-info p {
        font-size: 0.85rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .profile-placeholder {
        width: 180px;
        height: 180px;
        font-size: 2.5rem;
    }
    
    .about-placeholder {
        width: 120px;
        height: 120px;
        font-size: 2rem;
    }
    
    .modal-content {
        margin: 5% auto;
        width: 95%;
    }
    
    .modal-header {
        padding: 1rem 1rem 0.5rem 1rem;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .contact-item {
        margin-bottom: 0.8rem;
        padding: 0.5rem;
    }
    
    .contact-icon {
        width: 30px;
        height: 30px;
        margin-right: 0.5rem;
    }
    
    .contact-icon i {
        font-size: 0.9rem;
    }
    
    .contact-label {
        font-size: 0.85rem;
    }
    
    .contact-link {
        font-size: 0.9rem;
    }
    
    /* Ensure floating elements are hidden on small mobile */
    .home-section::after,
    .home-section::before {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    
    /* Hide about placeholder on small mobile */
    .about-placeholder {
        display: none !important;
    }
} 