/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: auto;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: #0a0a0a;
    overflow-x: hidden;
}

/* Custom Cursor */
.cursor {
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.1s ease;
    display: none;
}

.cursor-follower {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    mix-blend-mode: difference;
    transition: transform 0.1s ease;
    display: none;
}

/* Show custom cursor on hover */
*:hover > .cursor,
*:hover > .cursor-follower {
    display: block;
}

/* Smooth cursor movement */
.cursor {
    transform: translate(-50%, -50%);
}

.cursor-follower {
    transform: translate(-50%, -50%);
}

/* Interactive elements cursor */
a, button, input, textarea {
    cursor: pointer;
}

/* Space Animation */
.space-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(45deg, #000000, #1a1a1a);
    overflow: hidden;
}

.star {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    animation: twinkle 4s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
}

/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    mix-blend-mode: difference;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #0040ff;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #1139ff;
    transform: translateY(-2px);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.cta-button {
    padding: 0.5rem 1.5rem;
    background: transparent;
    color: #ffffff;
    border: 1px solid #fff;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: none;
    mix-blend-mode: difference;
}

.nav-links a.cta-button::after {
    display: none;
}

.nav-links a.cta-button:hover {
    transform: translateY(-3px);
    background: #fff;
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a0a;
    color: white;
    text-align: left;
    padding: 0 10%;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(25, 25, 25, 0.8),
        rgba(15, 15, 15, 0.9),
        rgba(10, 10, 10, 1)
    );
    animation: gradientShift 8s ease infinite;
    background-size: 200% 200%;
    z-index: -1;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.hero-text {
    flex: 1;
}

.hero-image-container {
    flex: 1;
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 400px;
    height: 500px;
    animation: floatAnimation 6s ease-in-out infinite;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morphing 15s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.3));
}

.glow-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.2), rgba(255, 0, 255, 0.2));
    border-radius: inherit;
    filter: blur(20px);
    opacity: 0.5;
    z-index: -1;
}

.floating-logo {
    position: absolute;
    width: 60px;
    height: 60px;
    animation: floatLogo 4s ease-in-out infinite;
}

.floating-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

.logo-top {
    top: 50px;
    right: 50px;
    animation-delay: 1s;
}

.logo-bottom {
    bottom: 50px;
    left: 50px;
    animation-delay: 2s;
}

.hero-content h1 {
    font-size: 8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.gradient-text {
    background: linear-gradient(45deg, 
        #ffffff,
        #f0f0f0,
        #e0e0e0
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    animation: gradientMove 5s ease infinite;
    background-size: 200% 200%;
}

.hero-content p {
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    /* justify-content: center; */
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    mix-blend-mode: difference;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    mix-blend-mode: difference;
}

.cta-button.secondary:hover {
    background: #fff;
    border-color: transparent;
    color: #000;
}

/* Skills Section */
.skills-section {
    padding: 5rem 10%;
    background-color: rgba(10, 10, 10, 0.8);
}

.skills-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #fff;
    mix-blend-mode: difference;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.skill-card i {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1rem;
    mix-blend-mode: difference;
}

.skill-card h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.skill-card p {
    color: #ccc;
}

/* Projects Section */
.projects {
    padding: 5rem 10%;
    background-color: rgba(10, 10, 10, 0.8);
}

.projects h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #fff;
    mix-blend-mode: difference;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    border: 1px solid rgba(108, 92, 231, 0.2);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.2);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-card h3 {
    padding: 1rem;
    color: #fff;
}

.project-card p {
    padding: 0 1rem 1rem;
    color: #ccc;
}

.project-links {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-link {
    text-decoration: none;
    color: #6c5ce7;
    font-weight: 500;
}

.github-link {
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}

/* Contact Section */
.contact {
    padding: 5rem 10%;
    background-color: rgba(10, 10, 10, 0.8);
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #fff;
    mix-blend-mode: difference;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#contact-form input,
#contact-form textarea {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(108, 92, 231, 0.2);
    border-radius: 5px;
    font-size: 1rem;
    color: #fff;
}

#contact-form textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    padding: 1rem;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    mix-blend-mode: difference;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: #fff;
    transform: translateY(-3px);
    mix-blend-mode: difference;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background-color: rgba(10, 10, 10, 0.9);
    color: white;
    border-top: 1px solid rgba(108, 92, 231, 0.2);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.menu-icon {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #fff;
    position: relative;
    transition: all 0.3s ease;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.menu-icon::before {
    top: -6px;
}

.menu-icon::after {
    bottom: -6px;
}

/* Mobile Menu Active State */
.mobile-menu-btn.active .menu-icon {
    background-color: transparent;
}

.mobile-menu-btn.active .menu-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-menu-btn.active .menu-icon::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 5%;
        position: relative;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 60%;
        height: 100vh;
        background-color: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 1000;
        padding: 2rem;
        backdrop-filter: blur(5px);
    }

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

    .nav-links li {
        margin: 1rem 0;
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
        display: block;
        width: 100%;
    }

    .nav-links a.cta-button {
        margin-top: 1rem;
        text-align: center;
    }

    .hero {
        height: auto;
        padding: 6rem 5% 3rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: 3.5rem;
        margin-bottom: 1rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image-container {
        height: auto;
        margin-top: 2rem;
    }

    .hero-image-wrapper {
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    .floating-logo {
        display: none;
    }

    .skills-section,
    .projects,
    .contact {
        padding: 3rem 5%;
    }

    .skills-grid,
    .project-grid {
        grid-template-columns: 1fr;
    }

    .skill-card,
    .project-card {
        margin: 0 auto;
        max-width: 100%;
    }

    .contact-content {
        padding: 0 1rem;
    }

    .social-links {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .social-links a {
        font-size: 1.2rem;
    }
}

/* Additional mobile-specific styles for very small devices */
@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .skill-card {
        padding: 1.5rem;
    }

    .skill-card i {
        font-size: 2.5rem;
    }

    .project-card img {
        height: 150px;
    }

    #contact-form input,
    #contact-form textarea {
        font-size: 0.9rem;
    }
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes floatLogo {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(10px, -10px) rotate(5deg);
    }
    50% {
        transform: translate(0, -20px) rotate(0deg);
    }
    75% {
        transform: translate(-10px, -10px) rotate(-5deg);
    }
}

@keyframes morphing {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    25% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
    50% {
        border-radius: 50% 60% 50% 40% / 40% 50% 60% 50%;
    }
    75% {
        border-radius: 40% 60% 30% 70% / 60% 40% 70% 30%;
    }
}

/* --- Modern Hero Section (Aathif Zahir style) --- */
.hero-modern {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0f1a 60%, #0a0a0a 100%);
    padding: 7rem 0 3rem 0;
}

.hero-modern-content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    gap: 3rem;
}

.hero-modern-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 320px;
}

.hero-hello {
    color: #3b82f6;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.hero-name {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.hero-name-blue {
    color: #3b82f6;
    text-shadow: 0 2px 8px rgba(59,130,246,0.15);
}

.hero-title {
    font-size: 1.5rem;
    color: #b0b8c9;
    font-weight: 400;
    margin-bottom: 1.2rem;
}

.hero-desc {
    color: #b0b8c9;
    font-size: 1.1rem;
    margin-bottom: 2.2rem;
    max-width: 480px;
}

.hero-buttons-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.2rem;
}

.hero-btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(59,130,246,0.08);
}

.hero-btn-blue {
    background: #2563eb;
    color: #fff;
    border: none;
}

.hero-btn-blue:hover {
    background: #1d4ed8;
    color: #fff;
    transform: translateY(-2px) scale(1.04);
}

.hero-btn-dark {
    background: #181e29;
    color: #fff;
    border: 1.5px solid #2d3748;
}

.hero-btn-dark:hover {
    background: #232b3b;
    color: #fff;
    transform: translateY(-2px) scale(1.04);
}

.hero-social-row {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.hero-social {
    color: #b0b8c9;
    font-size: 1.6rem;
    transition: color 0.2s, transform 0.2s, opacity 0.2s;
    opacity: 0.5;
}

.hero-social:hover {
    color: #3b82f6;
    opacity: 1;
    transform: translateY(-2px) scale(1.1);
}

.faded {
    opacity: 0.5;
}

.hero-modern-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 320px;
}

.code-card {
    background: #181e29;
    border-radius: 18px;
    box-shadow: 0 4px 32px 0 rgba(0,0,0,0.25);
    padding: 2.2rem 2rem 1.5rem 2rem;
    min-width: 340px;
    max-width: 420px;
    width: 100%;
    position: relative;
    border: 1.5px solid #232b3b;
}

.code-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
    position: relative;
}

.code-card-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.2rem;
}

.code-card-header .red { background: #ff5f56; }
.code-card-header .yellow { background: #ffbd2e; }
.code-card-header .green { background: #27c93f; }

.code-card-filename {
    color: #b0b8c9;
    font-size: 0.95rem;
    margin-left: auto;
    font-family: 'Fira Mono', 'Consolas', 'Menlo', monospace;
    opacity: 0.7;
}

.code-block {
    font-family: 'Fira Mono', 'Consolas', 'Menlo', monospace;
    font-size: 1.05rem;
    color: #b0b8c9;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    white-space: pre-line;
}

.code-key { color: #e06c75; }
.code-var { color: #61afef; }
.code-prop { color: #d19a66; }
.code-str { color: #98c379; }

/* Responsive for hero-modern */
@media (max-width: 1024px) {
    .hero-modern-content {
        flex-direction: column;
        gap: 2.5rem;
        padding: 0 2rem;
    }
    .hero-modern-left, .hero-modern-right {
        min-width: 0;
        width: 100%;
        align-items: flex-start;
    }
    .code-card {
        min-width: 0;
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .hero-modern {
        padding: 6rem 0 2rem 0;
    }
    .hero-modern-content {
        flex-direction: column;
        gap: 2rem;
        padding: 0 1rem;
    }
    .hero-name {
        font-size: 2.1rem;
    }
    .hero-title {
        font-size: 1.1rem;
    }
    .code-card {
        padding: 1.2rem 0.7rem 1rem 0.7rem;
    }
}

/* --- About Me Modern Section --- */
.about-modern {
    width: 100%;
    background: none;
    padding: 5rem 0 2rem 0;
    display: flex;
    justify-content: center;
}
.about-modern-content {
    display: flex;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    align-items: flex-start;
    justify-content: center;
}
.about-modern-left {
    flex: 2;
    min-width: 320px;
}
.about-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
}
.about-underline {
    display: block;
    height: 4px;
    width: 60px;
    background: #3b82f6;
    border-radius: 2px;
    margin-top: 0.3rem;
    margin-left: 2px;
}
.about-bio {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: #3b82f6;
    margin-bottom: 0.5rem;
}
.about-icon {
    font-size: 1.3rem;
    color: #3b82f6;
}
.about-bio-title {
    color: #3b82f6;
    font-size: 1.2rem;
    font-weight: 600;
}
.about-bio-desc {
    color: #b0b8c9;
    font-size: 1.1rem;
    margin-bottom: 2.2rem;
    max-width: 700px;
}
.about-cards-row {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}
.about-card {
    background: rgba(24, 30, 41, 0.7);
    border-radius: 18px;
    box-shadow: 0 2px 16px 0 rgba(0,0,0,0.10);
    border: 1.5px solid #232b3b;
    padding: 2rem 2rem 1.2rem 2rem;
    min-width: 270px;
    flex: 1 1 270px;
    max-width: 350px;
}
.about-card-header {
    font-size: 1.2rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.about-card-header i {
    font-size: 1.2rem;
}
.about-card-content {
    color: #fff;
    font-size: 1.05rem;
}
.about-card-degree {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}
.about-card-school {
    color: #b0b8c9;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}
.about-card-dates {
    color: #b0b8c9;
    font-size: 0.98rem;
    margin-bottom: 0.2rem;
}
.about-card-honor {
    color: #3b82f6;
    font-size: 0.98rem;
    font-weight: 600;
}
.about-card-role {
    font-weight: 700;
    font-size: 1.08rem;
    margin-top: 0.5rem;
}
.about-card-company {
    color: #b0b8c9;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.about-modern-right {
    flex: 1.2;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
.about-profile-wrapper {
    background: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
}
.about-profile-img-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.2rem;
}
.about-profile-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #232b3b;
    background: #fff;
    box-shadow: 0 2px 16px 0 rgba(0,0,0,0.10);
}
.about-gpa-badge {
    position: absolute;
    bottom: 12px;
    right: -30%;
    transform: translateX(-50%);
    background: #3b82f6;
    color: #000000;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.2rem 1.1rem;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(59,130,246,0.10);
    /* border: 2px solid #000000; */
}
.about-profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.2rem;
    text-align: center;
}
.about-profile-title {
    color: #b0b8c9;
    font-size: 1.1rem;
    margin-bottom: 1.1rem;
    text-align: center;
}
.about-profile-tags {
    display: flex;
    gap: 0.7rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}
.about-tag {
    background: #232b3b;
    color: #fff;
    font-size: 0.98rem;
    font-weight: 600;
    border-radius: 16px;
    padding: 0.3rem 1.1rem;
    margin-bottom: 0.2rem;
    display: inline-block;
}
.about-resume-btn {
    display: inline-block;
    background: #3b82f6;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.9rem 2rem;
    text-decoration: none;
    margin-top: 0.7rem;
    box-shadow: 0 2px 8px rgba(59,130,246,0.08);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.about-resume-btn i {
    margin-right: 0.7rem;
}
.about-resume-btn:hover {
    background: #2563eb;
    color: #fff;
    transform: translateY(-2px) scale(1.04);
}

@media (max-width: 1024px) {
    .about-modern-content {
        flex-direction: column;
        gap: 2.5rem;
        padding: 0 2rem;
    }
    .about-modern-left, .about-modern-right {
        min-width: 0;
        width: 100%;
        align-items: flex-start;
    }
    .about-cards-row {
        flex-direction: column;
        gap: 1.5rem;
    }
}
@media (max-width: 600px) {
    .about-modern {
        padding: 3rem 0 1rem 0;
    }
    .about-modern-content {
        flex-direction: column;
        gap: 2rem;
        padding: 0 1rem;
    }
    .about-title {
        font-size: 2rem;
    }
    .about-card {
        padding: 1.2rem 0.7rem 1rem 0.7rem;
        min-width: 0;
        max-width: 100%;
    }
    .about-profile-img {
        width: 110px;
        height: 110px;
    }
} 

#success-message {
    background-color: #4CAF50;
    color: white;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    text-align: center;
}

/* Update form styles */
#contact-form button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}