* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    font-size:16px;
    -webkit-text-size-adjust:100%;
    text-size-adjust:100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #e0e0e0;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

header {
    background: #e0e0e0;
    padding: .7rem 0;
     position: fixed;
    left: 20px;
    right: 20px;
    top: 20px;
    width: auto;
    border-radius: 20px;
    z-index: 1000;
    box-shadow: 6px 6px 12px #bebebe, -6px -6px 12px #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease-in-out;
}

/* Smart navigation - hide/show on scroll */
header.nav-hidden {
    transform: translateY(-100%);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
}

.logo a {
    color: transparent;
    background: linear-gradient(45deg, #ff6b35, #f7931e, #1e90ff, #dc143c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.nav-links a {
    color: transparent;
    background: linear-gradient(45deg, #ff6b35, #f7931e, #1e90ff, #dc143c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    border-radius: 15px;
    position: relative;
    font-weight: 500;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #e0e0e0;
    border-radius: 15px;
    box-shadow: 4px 4px 8px #bebebe, -4px -4px 8px #ffffff;
    z-index: -1;
}

.nav-links a:hover {
    color: transparent;
    background: linear-gradient(45deg, #ff6b35, #f7931e, #1e90ff, #dc143c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links a:hover::before {
    box-shadow: inset 4px 4px 8px #bebebe, inset -4px -4px 8px #ffffff;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: linear-gradient(45deg, #ff6b35, #1e90ff);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Section Styles */
section {
    min-height: 100vh;
    padding: 6rem 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    overflow-x: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #333;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
}

.highlight {
    background: linear-gradient(45deg, #ff6b35, #f7931e, #1e90ff, #dc143c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
}

/* Home Section */
#home {
    padding-top: 6rem;
}

.home-header {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.home-header h1 {
      font-size:clamp(2.5rem,5vw,3rem);
    margin-bottom: 0.5rem;
    color: #333;
}

.home-header .subtitle {
    font-size: 1.3rem;
    color: #555;
    font-weight: 500;
}

.home-header p {
    font-size: 1.2rem;
    color: #666;
}

.content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
    background: #e0e0e0;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 6px 6px 12px #bebebe, -6px -6px 12px #ffffff;;
    
    color: #333;
    transition: all 0.3s ease;
}

.content:hover {
    box-shadow: 12px 12px 20px #bebebe, -12px -12px 20px #ffffff;
}

.text-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.text-content h2 {
    background: linear-gradient(45deg, #ff6b35, #1e90ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: bold;
}

.home-aside {
    text-align: center;
}

.profile-pic {
    width: 100%;
    max-width: 300px;
    border-radius: 20px;
    box-shadow:6px 6px 12px #bebebe,
-6px -6px 12px #ffffff;;
    transition: all 0.3s ease;
}

.profile-pic:hover {
    box-shadow: 12px 12px 20px #bebebe, -12px -12px 20px #ffffff;
}

.image-caption {
    margin-top: 1rem;
    background: linear-gradient(45deg, #ff6b35, #dc143c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Skills Section */
.skills-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
}

.skill-category {
    background: #e0e0e0;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 6px 6px 12px #bebebe, -6px -6px 12px #ffffff;;
    color: #333;
    transition: all 0.3s ease;
}

.skill-category:hover {
    box-shadow: 12px 12px 20px #bebebe, -12px -12px 20px #ffffff;
}

.skill-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
    background: linear-gradient(45deg, #ff6b35, #1e90ff, #dc143c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(45deg, #ff6b35, #1e90ff) 1;
    padding-bottom: 0.5rem;
}

.skill-list {
    list-style: none;
}

.skill-list li {
    background: #e0e0e0;
    margin: 0.5rem 0;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    border-left: 4px solid #ff6b35;
    color: #333;
    box-shadow: inset 2px 2px 4px #bebebe, inset -2px -2px 4px #ffffff;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.skill-list li:hover {
    border-left-color: #1e90ff;
    box-shadow: 2px 2px 4px #bebebe, -2px -2px 4px #ffffff;
    transform: translateX(5px);
}

.skill-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Education Section */
.education-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.education-card {
    background: #e0e0e0;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow:6px 6px 12px #bebebe,
-6px -6px 12px #ffffff;;
    color: #333;
    transition: all 0.3s ease;
}

.education-card:hover {
    box-shadow: 12px 12px 20px #bebebe, -12px -12px 20px #ffffff;
}

.education-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    text-align: center;
}

.education-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #ff6b35, #1e90ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    text-align: center;
}

.education-card .degree {
    font-size: 1.3rem;
    color: #555;
    text-align: center;
    margin-bottom: 0.3rem;
}

.education-card .duration {
    font-size: 1.1rem;
    color: #777;
    text-align: center;
    margin-bottom: 1rem;
}

.education-card .cgpa {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #ff6b35;
}

.education-card .coursework {
    background: #e0e0e0;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: inset 2px 2px 4px #bebebe, inset -2px -2px 4px #ffffff;
}

.education-card .coursework h4 {
    font-size: 1rem;
    color: #1e90ff;
    margin-bottom: 0.5rem;
}

.education-card .coursework p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    align-items: start;
}

.project-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.project-card .btn {
    margin-right: 0.5rem;
    margin-top: 0.5rem;
}

.project-card {
    background: #e0e0e0;
    border-radius: 20px;
    padding: 2rem;
    box-shadow:6px 6px 12px #bebebe,
-6px -6px 12px #ffffff;;
    color: #333;
    transition: all 0.3s ease;
}

.project-card:hover {
    box-shadow: 12px 12px 20px #bebebe, -12px -12px 20px #ffffff;
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ff6b35, #1e90ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
}
.project-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.project-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: inline-block;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}
.project-date {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    display: inline-block;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}

.project-card p {
    margin-bottom: 1.5rem;
    color: #333;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background: #e0e0e0;
    color: #ff6b35;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    box-shadow: 2px 2px 4px #bebebe, -2px -2px 4px #ffffff;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    box-shadow: inset 2px 2px 4px #bebebe, inset -2px -2px 4px #ffffff;
    color: #1e90ff;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #e0e0e0;
    color: #333;
    text-decoration: none;
    border-radius: 15px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 4px 4px 8px #bebebe, -4px -4px 8px #ffffff;
}

.btn:hover {
    box-shadow: inset 4px 4px 8px #bebebe, inset -4px -4px 8px #ffffff;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
}

/* PeerSupportHub Demo Section */
.demo-section {
    padding-bottom: 4rem;
}

.demo-card {
    background: #e0e0e0;
    border-radius: 20px;
    padding-top: 2%;
    margin-bottom: 6%;
    box-shadow:6px 6px 12px #bebebe,
-6px -6px 12px #ffffff;;
}

.demo-device {
    width: min(100%, 1100px);
    margin: 0 auto;
}

.video-stage {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 480px;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 100%);
    border-radius: 18px;
}


.demo-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;

}

.demo-video {
    display: block;
    object-fit: contain;
    background: transparent;
    border: 0;
    outline: 0;
}



.demo-description {
    max-width: 761px;
    margin: 1.5rem auto 0;
    text-align: center;
    color: #555;
    font-size: 1rem;
}

/* Contact Section */

#contact {
    padding: 6rem 2rem 4rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    background: #e0e0e0;
    padding: 2rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 6px 6px 12px #bebebe, -6px -6px 12px #ffffff;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-info-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
}

.contact-address-col {
    flex: 1;
    text-align: left;
    border-left: 2px solid rgba(0, 0, 0, 0.05);
    padding-left: 2rem;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 12px 12px 20px #bebebe, -12px -12px 20px #ffffff;
}

.contact-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

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

.contact-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: #333;
}

.contact-card a {
    color: #555;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    word-break: break-all;
    font-size: 1rem;
}

.contact-card a:hover {
    color: transparent;
    background: linear-gradient(45deg, #ff6b35, #f7931e, #1e90ff, #dc143c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
    
/* Footer Styles */
footer {
    padding: 2rem;
    text-align: center;
    background: #e0e0e0;
    margin-top: 2rem;
}

.footer-content p {
    font-size: 1rem;
    color: #555;
    font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    * {
        max-width: 100%;
        box-sizing: border-box;
    }

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

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 250px;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s ease;
        z-index: 1001;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    nav {
        padding: 0 1rem;
    }

    section {
        padding: 5rem 1rem 2rem;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    /* Home Section Mobile */
    #home {
        padding-top: 6rem;
    }

    .home-header h1 {
        font-size: 2rem;
    }

    .home-header p {
        display: none;
    }

    .content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        padding: 1.5rem;
    }

    .text-content {
        order: 2;
        font-size: 1rem;
    }

    .text-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .text-content p:not(:first-of-type) {
        display: none;
    }

    .home-aside {
        order: 1;
    }

    .profile-pic {
        width: 200px;
        height: 200px;
        border-radius: 15px;
        object-fit: cover;
        border: 3px solid rgba(255, 255, 255, 0.3);
    }

    .image-caption {
        display: none;
    }

    .logo {
        display: none;
    }

    /* Grid adjustments for mobile */
    .skills-container,
    .projects-grid,
    .education-grid,
    .hobbies-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        width: 100%;
        max-width: 100%;
    }

    .skill-category,
    .project-card,
    .education-card,
    .hobby-card,
    .contact-card {
        padding: 1.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .contact-card a {
        font-size: 0.9rem;
        word-break: break-word;
    }

    .tech-tags {
        flex-wrap: wrap;
        width: 100%;
    }

    .tech-tag {
        white-space: nowrap;
    }

    .video-stage {
        height: 45vh;
        min-height: 300px;
    }
 

.demo-card {
    padding-top: 0;
}
    .demo-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        width: 200px;
    }

    .home-header h1 {
        font-size: 1.8rem;
    }

    .home-header p {
        display: none;
    }

    .content {
        padding: 1rem;
        gap: 1rem;
    }

    .text-content {
        font-size: 0.9rem;
    }

    .text-content h2 {
        font-size: 1.3rem;
    }

    .profile-pic {
        width: 150px;
        height: 150px;
    }

    .image-caption {
        display: none;
    }

    .skill-category,
    .project-card,
    .education-card,
    .hobby-card,
    .contact-card {
        padding: 1rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .demo-description {
        margin-top: 1rem;
    }

    .video-skeleton {
        padding: 14px;
    }

    .skeleton-poster {
        min-height: 180px;
    }

    .logo {
        display: none;
    }

    section {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        padding: 5rem 0.5rem 2rem;
    }
}
/* Footer Styles */
footer {
    padding: 3rem 1rem;
    text-align: center;
    margin-top: 2rem;
}

.footer-content p {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
    letter-spacing: 0.5px;
}

footer .highlight {
    font-weight: 700;
}
