/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 15px 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;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

.logo i {
    margin-right: 10px;
    color: #00d4ff;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #ff00ff);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #00d4ff;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 70px; /* Prevents content from being hidden behind navbar */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, 
        rgba(0, 212, 255, 0.1) 0%, 
        rgba(255, 0, 255, 0.1) 25%, 
        rgba(255, 165, 0, 0.1) 50%, 
        transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.animated-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, transparent 30%, rgba(0, 212, 255, 0.1) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(255, 0, 255, 0.1) 50%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 0.6; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Reset hero section alignment */
.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.2;
    margin-top: 180px;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

.gradient-text {
    background: linear-gradient(135deg, #00d4ff, #ff00ff, #ffa500);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.8s forwards;
}

.social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    opacity: 0;
    animation: fadeInUp 1s ease 1.1s forwards;
    margin-bottom: 80px;
}

.follow-text {
    font-size: 0.9rem;
    color: #888;
    margin-right: 10px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, #00d4ff, #ff00ff);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    right: 40px;
    bottom: 40px;
    left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    opacity: 0;
    animation: fadeInUp 1s ease 1.4s forwards;
}

.scroll-text {
    font-size: 0.8rem;
    color: #888;
    letter-spacing: 2px;
    text-align: right;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1rem;
    color: #00d4ff;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 500;
}

/* About Section */
.about {
    background: #111111;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 20px;
}

.stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #888;
}

.about-image {
    position: relative;
}

.image-container {
    position: relative;
    width: 350px;
    height: 350px;
    margin: 0 auto;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(255, 0, 255, 0.3));
    border-radius: 20px;
    opacity: 0.7;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

/* Skills Section - Continued */
.skill-category h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
    text-align: center;
}

.skill-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.skill-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-item:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: #00d4ff;
    transform: translateY(-5px);
}

.skill-item i {
    font-size: 2rem;
    color: #00d4ff;
    margin-bottom: 10px;
}

.skill-item span {
    display: block;
    font-size: 0.9rem;
    color: #cccccc;
    font-weight: 500;
}

/* Projects Section */
.projects {
    background: #111111;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: #00d4ff;
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.8), rgba(255, 0, 255, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-actions {
    display: flex;
    gap: 15px;
}

.btn-view,
.btn-github {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-view:hover,
.btn-github:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.project-info {
    padding: 30px;
}

.project-info h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.project-info p {
    color: #cccccc;
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-tags span {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* 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.9);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    background: #111111;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow: auto;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 30px;
    color: #ffffff;
    cursor: pointer;
    z-index: 1;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: rgba(255, 0, 0, 0.7);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 500px;
}

.modal-image {
    position: relative;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.modal-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}

.modal-info p {
    color: #cccccc;
    margin-bottom: 20px;
    line-height: 1.6;
}

.modal-details {
    flex: 1;
}

.detail-item {
    margin-bottom: 20px;
}

.detail-item strong {
    color: #00d4ff;
    display: block;
    margin-bottom: 10px;
}

#modalTech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

#modalTech span {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
}

#modalFeatures {
    list-style: none;
    padding: 0;
}

#modalFeatures li {
    color: #cccccc;
    margin-bottom: 5px;
    position: relative;
    padding-left: 20px;
}

#modalFeatures li::before {
    content: '▸';
    color: #00d4ff;
    position: absolute;
    left: 0;
}

.modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

/* Certificates Section */
.certificates-scroll {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 0;
    scroll-behavior: smooth;
}

.certificates-scroll::-webkit-scrollbar {
    height: 8px;
}

.certificates-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.certificates-scroll::-webkit-scrollbar-thumb {
    background: #00d4ff;
    border-radius: 4px;
}

.certificate-card {
    min-width: 300px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.certificate-card:hover {
    transform: translateY(-7px) scale(1.02);
    border-color: #00d4ff;
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.cert-image {
    height: 180px;
    overflow: hidden;
}

.cert-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.certificate-card:hover .cert-image img {
    transform: scale(1.05);
}

.cert-info {
    padding: 20px;
}

.cert-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
}

.cert-info p {
    color: #00d4ff;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.cert-date {
    color: #888;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Contact Section */
.contact {
    background: #111111;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.contact-info p {
    color: #cccccc;
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: #cccccc;
}

.contact-item i {
    width: 20px;
    color: #00d4ff;
    margin-right: 15px;
    font-size: 1.1rem;
}

.social-links-contact {
    display: flex;
    gap: 15px;
}

.social-links-contact .social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links-contact .social-link:hover {
    background: linear-gradient(135deg, #00d4ff, #ff00ff);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.05);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, #00d4ff, #ff00ff);
    color: #ffffff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #00b8e6, #e600e6);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #0a0a0a;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left p,
.footer-right p {
    color: #888;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        backdrop-filter: blur(20px);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-top: 90px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .stats {
        justify-content: center;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .modal-image {
        height: 250px;
    }
    
    .certificates-scroll {
        padding: 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .skill-items {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-info {
        padding: 20px;
    }
    
    .contact-form {
        padding: 25px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    /* Allow inline animation-delay to work */
    animation-delay: 1.1s;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.8s ease forwards;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.8s ease forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Smooth Scrolling Enhancement */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

.hero-resume-buttons .btn {
    box-shadow: 0 4px 24px rgba(0,212,255,0.08), 0 1.5px 6px rgba(255,0,255,0.08);
    transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), box-shadow 0.25s cubic-bezier(0.4,0,0.2,1), background 0.3s;
    will-change: transform, box-shadow;
}

.hero-resume-buttons .btn:hover {
    transform: translateY(-4px) scale(1.05) rotate(-1deg);
    box-shadow: 0 8px 32px rgba(0,212,255,0.18), 0 3px 12px rgba(255,0,255,0.18);
    filter: brightness(1.08);
}

.hero-resume-buttons {
    margin: 30px 0 40px 0;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.logo-stylish-n {
    font-family: 'Inter', 'Montserrat', 'Poppins', sans-serif;
    font-size: 2.2em;
    font-weight: 900;
    background: linear-gradient(135deg, #00d4ff 10%, #ff00ff 60%, #ffa500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    border-radius: 8px;
    margin-right: 10px;
    text-shadow: 0 2px 12px rgba(0,212,255,0.18), 0 1px 4px rgba(255,0,255,0.12);
    display: inline-block;
    vertical-align: middle;
}

.section-title {
    transition: text-shadow 0.3s cubic-bezier(0.4,0,0.2,1), color 0.3s;
}
.section-title:hover {
    text-shadow: 0 2px 16px #00d4ff44, 0 1px 8px #ff00ff33;
    color: #00d4ff;
}

.skill-item {
    transition: box-shadow 0.3s, transform 0.3s, background 0.3s;
}
.skill-item:hover {
    background: rgba(0, 212, 255, 0.13);
    border-color: #00d4ff;
    box-shadow: 0 4px 18px #00d4ff22;
    transform: translateY(-6px) scale(1.03);
}

.project-card {
    transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}
.project-card:hover {
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.22);
    border-color: #00d4ff;
    transform: translateY(-12px) scale(1.03);
}

.certificate-card {
    transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}
.certificate-card:hover {
    box-shadow: 0 15px 30px #00d4ff33;
    border-color: #00d4ff;
    transform: translateY(-7px) scale(1.02);
}

.stat-item {
    transition: box-shadow 0.3s, transform 0.3s;
}
.stat-item:hover {
    box-shadow: 0 4px 16px #00d4ff22;
    transform: translateY(-4px) scale(1.03);
}
/* Quick fix - just increase hero padding-top */
.hero {
    padding-top: 120px !important; /* Increased padding */
}

.hero-content {
    margin-top: 0;
}

/* Mobile fix */
@media (max-width: 768px) {
    .hero {
        padding-top: 140px !important;
    }
}

/* Skills Tabs */
.skills-tabs {
    display: flex;
    gap: 18px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.skills-tab {
    background: none;
    border: 2px solid #00d4ff;
    color: #00d4ff;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 30px;
    padding: 10px 28px;
    cursor: pointer;
    outline: none;
    transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.skills-tab.active, .skills-tab:hover {
    background: linear-gradient(90deg, #00d4ff 60%, #00b8e6 100%);
    color: #181c24;
    border-color: #00b8e6;
    box-shadow: 0 2px 12px #00d4ff22;
}

/* Skills Cards Grid */
.skills-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 20px;
}

.skill-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    box-shadow: 0 4px 32px 0 rgba(0,212,255,0.08), 0 1.5px 6px rgba(0,212,255,0.08);
    padding: 28px 28px 22px 28px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: box-shadow 0.2s, border 0.2s, transform 0.2s;
}
.skill-card:hover {
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
    border: 1px solid #00d4ff;
    transform: translateY(-6px) scale(1.02);
}

.skill-card-header {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.skill-card-header i {
    color: #00d4ff;
    font-size: 1.3em;
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.skill-pill {
    background: rgba(0, 212, 255, 0.08);
    color: #00d4ff;
    border-radius: 12px;
    padding: 10px 18px;
    font-size: 1rem;
    font-weight: 500;
    width: fit-content;
    min-width: 120px;
    box-shadow: 0 1px 4px #00d4ff1a;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.skill-pill:hover {
    background: linear-gradient(90deg, #00d4ff 60%, #00b8e6 100%);
    color: #181c24;
    box-shadow: 0 2px 12px #00d4ff22;
}

@media (max-width: 900px) {
    .skills-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Gradient for cards and pills */
:root {
    --main-gradient: linear-gradient(90deg, #00d4ff 0%, #a259ff 50%, #ff00c8 100%);
    --main-gradient-hover: linear-gradient(90deg, #00e0ff 0%, #b266ff 50%, #ff33cc 100%);
}

/* Restore previous card and pill styles */
.skill-card, .project-card, .certificate-card {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 32px 0 rgba(0,212,255,0.08), 0 1.5px 6px rgba(0,212,255,0.08);
    border-radius: 20px;
    transition: box-shadow 0.2s, border 0.2s, transform 0.2s, background 0.3s;
}
.skill-card:hover, .project-card:hover, .certificate-card:hover {
    box-shadow: 0 12px 48px 0 #00d4ff55, 0 2px 16px #ff00c855;
    transform: translateY(-7px) scale(1.03);
    background: rgba(255, 255, 255, 0.07);
}

.skill-card-header, .project-info h3, .cert-info h3 {
    color: #fff;
    text-shadow: none;
}

.skill-pill, .project-tags span {
    background: rgba(0, 212, 255, 0.08);
    color: #00d4ff;
    border-radius: 12px;
    padding: 10px 18px;
    font-size: 1rem;
    font-weight: 500;
    width: fit-content;
    min-width: 120px;
    box-shadow: 0 1px 4px #00d4ff1a;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    border: none;
}
.skill-pill:hover, .project-tags span:hover {
    background: rgba(0, 212, 255, 0.18);
    color: #181c24;
    box-shadow: 0 2px 12px #00d4ff22;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 900px) {
    .skills-cards-grid {
        grid-template-columns: 1fr;
    }
}

.about-image .image-container {
    transition: box-shadow 0.3s, transform 0.3s;
    border-radius: 20px;
}
.about-image .image-container:hover {
    box-shadow: 0 0 32px 0 #00d4ff88, 0 0 24px 0 #ff00ff55, 0 0 12px 0 #ffa50055;
    transform: scale(1.04);
    z-index: 2;
    border-radius: 20px;
}