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

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --warning-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --danger-gradient: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --dark-gradient: linear-gradient(135deg, #434343 0%, #000000 100%);
    
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --success-color: #4facfe;
    --warning-color: #43e97b;
    --danger-color: #fa709a;
    
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
    
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
    overflow-x: hidden;
    font-size: 16px;
}

/* Container - Mobile First */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Responsive container padding */
@media (min-width: 640px) {
    .container {
        padding: 0 30px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 40px;
    }
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

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

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.floating-icon {
    position: absolute;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.1);
    animation: float var(--duration) ease-in-out infinite;
    animation-delay: var(--delay);
}

.floating-icon:nth-child(1) { left: 10%; top: 20%; }
.floating-icon:nth-child(2) { left: 80%; top: 10%; }
.floating-icon:nth-child(3) { left: 60%; top: 70%; }
.floating-icon:nth-child(4) { left: 20%; top: 80%; }
.floating-icon:nth-child(5) { left: 90%; top: 60%; }
.floating-icon:nth-child(6) { left: 40%; top: 40%; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@media (min-width: 768px) {
    .floating-icon {
        font-size: 2rem;
    }
}

/* Navigation - Mobile First */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo a {
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Mobile Navigation Menu */
.nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 4px 0 20px rgba(37, 99, 235, 0.15);
    display: flex;
    flex-direction: column;
    padding: 80px 24px 24px;
    gap: 8px;
    z-index: 1200;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu.active {
    left: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 1.1rem;
    border: 1px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    background: var(--primary-gradient);
    color: white;
    transform: translateX(8px);
    border-color: rgba(37, 99, 235, 0.2);
}

.nav-link i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 1201;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 8px;
    transition: background 0.2s;
}

.hamburger:hover {
    background: rgba(37, 99, 235, 0.2);
}

.hamburger span {
    display: block;
    width: 24px;
    height: 3px;
    margin: 3px 0;
    background: #2563eb;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(.4, 2, .6, 1);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Desktop Navigation */
@media (min-width: 768px) {
    .nav-container {
        height: 80px;
        padding: 0 30px;
    }
    
    .nav-logo a {
        font-size: 1.8rem;
        gap: 10px;
    }
    
    .hamburger {
        display: none;
    }
    
    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        box-shadow: none;
        flex-direction: row;
        padding: 0;
        gap: 2rem;
        transform: none;
        left: auto;
    }
    
    .nav-link {
        padding: 10px 15px;
        font-size: 1rem;
        gap: 8px;
        color: var(--text-light);
        border: none;
    }
    
    .nav-link:hover {
        color: var(--primary-color);
        background: rgba(102, 126, 234, 0.1);
        transform: translateY(-2px);
    }
    
    .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 3px;
        bottom: -5px;
        left: 50%;
        background: var(--primary-gradient);
        transition: var(--transition);
        border-radius: 2px;
    }
    
    .nav-link:hover::after {
        width: 80%;
        left: 10%;
    }
}

@media (min-width: 1024px) {
    .nav-container {
        padding: 0 40px;
    }
}

/* Hero Section - Mobile First */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 100px 0 60px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    text-align: center;
    width: 100%;
}

.hero-text {
    order: 2;
    width: 100%;
}

.hero-image {
    order: 1;
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-name {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.typing-container {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    min-height: 50px;
}

.typing-prefix {
    color: var(--text-light);
}

.typing-text {
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.cursor {
    animation: blink 1s infinite;
    color: var(--primary-color);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-tagline {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    transition: var(--transition);
    padding: 12px;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.5);
}

.contact-item:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateX(5px);
}

.contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-icon.github {
    background: var(--dark-gradient);
}

.contact-icon.linkedin {
    background: linear-gradient(135deg, #0077b5 0%, #0e76a8 100%);
}

.contact-item span,
.contact-item a {
    font-size: 0.95rem;
    word-break: break-word;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--secondary-color);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    font-size: 1rem;
    width: 100%;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Profile Image */
.profile-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
}

.profile-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid white;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
}

.profile-ring {
    position: absolute;
    width: 210px;
    height: 210px;
    border: 3px solid transparent;
    border-radius: 50%;
    background: var(--primary-gradient);
    background-clip: border-box;
    animation: rotate 10s linear infinite;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.tech-icons {
    display: none; /* Hidden on mobile for cleaner look */
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Tablet Hero */
@media (min-width: 768px) {
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-content {
        flex-direction: row;
        gap: 50px;
        text-align: left;
        align-items: center;
    }
    
    .hero-text {
        order: 1;
        flex: 1;
        width: auto;
    }
    
    .hero-image {
        order: 2;
        flex: 0 0 300px;
        width: auto;
    }
    
    .hero-name {
        font-size: 3.5rem;
    }
    
    .typing-container {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .hero-tagline {
        font-size: 1.3rem;
        justify-content: flex-start;
        margin-bottom: 2rem;
    }
    
    .contact-info {
        max-width: none;
        margin: 0 0 2rem 0;
    }
    
    .hero-buttons {
        flex-direction: row;
        max-width: none;
        width: auto;
        margin: 0;
    }
    
    .btn-primary, .btn-secondary {
        width: auto;
        min-width: 160px;
    }
    
    .profile-photo {
        width: 220px;
        height: 220px;
    }
    
    .profile-ring {
        width: 250px;
        height: 250px;
    }
    
    .tech-icons {
        display: block;
        position: absolute;
        width: 300px;
        height: 300px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .tech-icon {
        position: absolute;
        width: 45px;
        height: 45px;
        background: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        box-shadow: var(--shadow-md);
        animation: orbit 20s linear infinite;
        transform-origin: 150px 150px;
        top: calc(50% - 22.5px);
        left: calc(50% - 22.5px);
    }
    
    .tech-icon {
        transform: rotate(var(--angle)) translateX(150px) rotate(calc(-1 * var(--angle)));
    }
    
    .tech-icon i {
        color: var(--primary-color);
    }
    
    @keyframes orbit {
        from { transform: rotate(var(--angle)) translateX(150px) rotate(calc(-1 * var(--angle))); }
        to { transform: rotate(calc(var(--angle) + 360deg)) translateX(150px) rotate(calc(-1 * (var(--angle) + 360deg))); }
    }
}

/* Desktop Hero */
@media (min-width: 1024px) {
    .hero-content {
        gap: 80px;
    }
    
    .hero-image {
        flex: 0 0 350px;
    }
    
    .hero-name {
        font-size: 4rem;
    }
    
    .profile-photo {
        width: 280px;
        height: 280px;
    }
    
    .profile-ring {
        width: 320px;
        height: 320px;
    }
    
    .tech-icons {
        width: 380px;
        height: 380px;
    }
    
    .tech-icon {
        width: 50px;
        height: 50px;
        transform-origin: 190px 190px;
        top: calc(50% - 25px);
        left: calc(50% - 25px);
    }
    
    .tech-icon {
        transform: rotate(var(--angle)) translateX(190px) rotate(calc(-1 * var(--angle)));
    }
    
    @keyframes orbit {
        from { transform: rotate(var(--angle)) translateX(190px) rotate(calc(-1 * var(--angle))); }
        to { transform: rotate(calc(var(--angle) + 360deg)) translateX(190px) rotate(calc(-1 * (var(--angle) + 360deg))); }
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-light);
    display: none;
}

@media (min-width: 768px) {
    .scroll-indicator {
        display: block;
    }
}

.scroll-mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    margin: 0 auto 10px;
    position: relative;
}

.scroll-wheel {
    width: 6px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 3px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0% { top: 8px; opacity: 1; }
    100% { top: 28px; opacity: 0; }
}

/* Section Styles - Mobile First */
section {
    padding: 60px 0;
    position: relative;
}

@media (min-width: 768px) {
    section {
        padding: 80px 0;
    }
}

@media (min-width: 1024px) {
    section {
        padding: 100px 0;
    }
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.section-title i {
    font-size: 1.8rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
        gap: 20px;
        margin-bottom: 4rem;
    }
    
    .section-title i {
        font-size: 2.2rem;
    }
    
    .section-title::after {
        width: 80px;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
    
    .section-title i {
        font-size: 2.5rem;
    }
    
    .section-title::after {
        width: 100px;
    }
}

/* About Section - Mobile First */
.about {
    background: var(--bg-white);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.about-text-container {
    width: 100%;
    order: 1;
}

.about-stats {
    width: 100%;
    order: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.code-block {
    background: #1a202c;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.code-header {
    background: #2d3748;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.code-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27ca3f; }

.code-title {
    color: #a0aec0;
    font-size: 0.9rem;
}

.code-content {
    padding: 20px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    line-height: 1.6;
    overflow-x: auto;
}

.keyword { color: #c792ea; }
.variable { color: #82aaff; }
.property { color: #ffcb6b; }
.string { color: #c3e88d; }
.number { color: #f78c6c; }

.stat-item {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9rem;
}

@media (min-width: 640px) {
    .about-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
    
    .stat-item {
        padding: 15px;
    }
    
    .stat-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

@media (min-width: 768px) {
    .about-content {
        flex-direction: row;
        gap: 50px;
        align-items: flex-start;
    }
    
    .about-text-container,
    .about-stats {
        flex: 1;
        order: unset;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-item {
        padding: 25px;
    }
    
    .stat-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .code-content {
        font-size: 0.9rem;
    }
}

@media (min-width: 1024px) {
    .about-content {
        gap: 60px;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* Experience Section - Mobile First */
.experience {
    background: var(--bg-light);
}

.timeline {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 60px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: -40px;
    width: 2px;
    background: var(--primary-gradient);
}

.timeline-item:last-child::before {
    bottom: 20px;
}

.timeline-date {
    position: absolute;
    left: -30px;
    top: 15px;
    background: var(--primary-gradient);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 2;
}

.timeline-content {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-right-color: white;
}

.company-logo {
    position: absolute;
    top: -10px;
    right: 15px;
    width: 45px;
    height: 45px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.company-logo.founder {
    background: var(--danger-gradient);
}

.timeline-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    padding-right: 60px;
}

.timeline-content h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.tech-stack {
    display: flex;
    gap: 8px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.tech-tag {
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    color: white;
}

.tech-tag.react { background: linear-gradient(135deg, #61dafb 0%, #21d4fd 100%); }
.tech-tag.js { background: linear-gradient(135deg, #f7df1e 0%, #fccc02 100%); color: #333; }
.tech-tag.crypto { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.tech-tag.web3 { background: linear-gradient(135deg, #4158cb 0%, #4158cb 100%); }
.tech-tag.php { background: linear-gradient(135deg, #777bb4 0%, #8892bf 100%); }
.tech-tag.mysql { background: linear-gradient(135deg, #4479a1 0%, #00758f 100%); }
.tech-tag.web { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.tech-tag.startup { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.tech-tag.ecommerce { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.tech-tag.mobile { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }

.achievements {
    list-style: none;
    padding: 0;
}

.achievements li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.achievements i {
    color: var(--warning-color);
    font-size: 0.7rem;
    margin-top: 4px;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .timeline {
        max-width: 800px;
        padding: 0 20px;
    }
    
    .timeline::before {
        content: '';
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: 4px;
        height: 100%;
        background: var(--primary-gradient);
        border-radius: 2px;
    }
    
    .timeline-item {
        margin-bottom: 60px;
        padding: 0;
        display: flex;
        align-items: center;
    }
    
    .timeline-item::before {
        display: none;
    }
    
    .timeline-item:nth-child(odd) {
        flex-direction: row;
    }
    
    .timeline-item:nth-child(even) {
        flex-direction: row-reverse;
    }
    
    .timeline-date {
        position: static;
        flex: 0 0 140px;
        text-align: center;
        font-size: 0.9rem;
        padding: 10px 15px;
    }
    
    .timeline-content {
        flex: 1;
        margin: 0 30px;
        padding: 30px;
    }
    
    .timeline-content::before {
        top: 50%;
        transform: translateY(-50%);
    }
    
    .timeline-item:nth-child(odd) .timeline-content::before {
        left: -15px;
        border-right-color: white;
        border-left-color: transparent;
    }
    
    .timeline-item:nth-child(even) .timeline-content::before {
        right: -15px;
        left: auto;
        border-left-color: white;
        border-right-color: transparent;
    }
    
    .company-logo {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
    
    .timeline-content h3 {
        font-size: 1.5rem;
    }
    
    .timeline-content h4 {
        font-size: 1.2rem;
    }
    
    .tech-tag {
        font-size: 0.8rem;
        padding: 5px 12px;
    }
    
    .achievements li {
        font-size: 1rem;
    }
}

@media (min-width: 1024px) {
    .timeline-content {
        padding: 35px;
    }
    
    .company-logo {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Education Section - Mobile First */
.education {
    background: var(--bg-white);
}

/* Education Section Grid Alignment */
.education-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    align-items: stretch;
    margin-top: 36px;
}

.education-card {
    background: rgba(255,255,255,0.95);
    border-radius: 22px;
    box-shadow: 0 4px 32px #4f8cff22, 0 1.5px 0 #fff;
    border: 1.5px solid #e0e7ff;
    padding: 28px 22px 22px 22px;
    max-width: 320px;
    min-width: 220px;
    flex: 1 1 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
    transition: box-shadow 0.22s, transform 0.18s, border-color 0.18s, background 0.3s;
}

.education-card .card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
    width: 100%;
    justify-content: center;
}

.degree-icon {
    font-size: 2.1rem;
    color: #4f8cff;
    background: #f0fdfa;
    border-radius: 50%;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.degree-info h3 {
    font-size: 1.08rem;
    font-weight: 700;
    margin: 0 0 2px 0;
    color: #222;
}
.degree-info p {
    font-size: 0.97rem;
    color: #2563eb;
    margin: 0;
}

.education-card .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.grade-circle {
    margin-bottom: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.grade-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.08rem;
    font-weight: 700;
    color: #2563eb;
    background: #fff;
    border-radius: 50%;
    padding: 6px 12px;
    box-shadow: 0 1px 4px #4f8cff11;
    opacity: 0.95;
}

.duration {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #444;
    font-size: 0.98rem;
    margin-top: 2px;
}

/* Responsive for Education Section */
@media (max-width: 1100px) {
    .education-grid {
        gap: 18px;
    }
    .education-card {
        max-width: 95vw;
    }
}
@media (max-width: 900px) {
    .education-grid {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }
    .education-card {
        width: 100%;
        min-width: unset;
        max-width: 98vw;
        padding: 18px 8px 14px 8px;
    }
    .grade-circle {
        margin-bottom: 6px;
    }
}
@media (max-width: 600px) {
    .education-card {
        padding: 10px 2px 10px 2px;
    }
    .degree-icon {
        font-size: 1.5rem;
        padding: 7px;
    }
    .grade-text {
        font-size: 0.98rem;
        padding: 4px 8px;
    }
}

/* Skills Section - Mobile First */
.skills {
    background: var(--bg-light);
}

.skills-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    max-width: 500px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .skills-container {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
        gap: 30px;
    }
}

@media (min-width: 1024px) {
    .skills-container {
        grid-template-columns: repeat(2, 1fr);
        max-width: 1000px;
        gap: 40px;
    }
}

.skill-category {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.skill-category h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-category h3 i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.skill-item:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateX(8px);
}

.skill-item i {
    font-size: 1.3rem;
    width: 25px;
    text-align: center;
    flex-shrink: 0;
}

.skill-item.react-native i { color: #61dafb; }
.skill-item.android i { color: #3ddc84; }
.skill-item.firebase i { color: #ffca28; }
.skill-item.react i { color: #61dafb; }
.skill-item.node i { color: #339933; }
.skill-item.html i { color: #e34f26; }
.skill-item.mysql i { color: #4479a1; }
.skill-item.mongo i { color: #47a248; }
.skill-item.api i { color: var(--primary-color); }

.skill-item span {
    font-weight: 500;
    color: var(--text-dark);
    flex: 1;
    font-size: 0.95rem;
}

/* Skill Level Bar (Animated Percentage) */
.skill-level {
    position: relative;
    width: 100%;
    height: 10px;
    background: #e0e7ff;
    border-radius: 6px;
    overflow: hidden;
    margin-top: 8px;
    margin-bottom: 2px;
}
.skill-level::before {
    content: '';
    display: block;
    height: 100%;
    border-radius: 6px;
    background: linear-gradient(90deg, #4f8cff 60%, #2563eb 100%);
    width: 0;
    transition: width 1.2s cubic-bezier(.4,2,.6,1);
}
.skill-level[data-level]:after {
    content: attr(data-level) '%';
    position: absolute;
    right: 8px;
    top: -22px;
    color: #2563eb;
    font-size: 0.98rem;
    font-weight: 600;
    background: transparent; /* Remove white background */
    padding: 0 6px;
    border-radius: 8px;
    box-shadow: none;
    opacity: 0.92;
    pointer-events: none;
}

/* Show skill bar animation */
.skill-level.show-skill-bar::before {
    width: var(--skill-width, 0%);
    transition: width 1.2s cubic-bezier(.4,2,.6,1);
}

/* Projects Section - Mobile First */
.projects {
    background: var(--bg-white);
}

.projects .section-subtitle {
    text-align: center;
    color: #2563eb;
    font-size: 1rem;
    margin-bottom: 30px;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0.85;
}

@media (min-width: 768px) {
    .projects .section-subtitle {
        font-size: 1.13rem;
        margin-bottom: 40px;
    }
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    justify-items: center;
    max-width: 500px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 900px;
        gap: 40px;
    }
}

.project-card {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 20px;
    box-shadow: 0 8px 40px #4f8cff22, 0 1.5px 0 #fff;
    border: 1.5px solid #e0e7ff;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card:hover {
    box-shadow: 0 16px 56px #4f8cff44, 0 0 0 8px #4f8cff11;
    border-color: #4f8cff77;
    background: rgba(79, 140, 255, 0.10);
    transform: translateY(-8px) scale(1.02);
}

.project-image-wrap {
    position: relative;
    width: 100%;
    height: 180px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 12px;
    right: 16px;
    z-index: 2;
}

.project-badge {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
    background: #e0e7ff;
    color: #4f8cff;
    letter-spacing: 0.5px;
    box-shadow: 0 1px 4px #4f8cff22;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.project-badge.featured {
    background: linear-gradient(90deg, #4f8cff 60%, #2563eb 100%);
    color: #fff;
}

.project-badge.new {
    background: #059669;
    color: #fff;
}

.project-content {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    text-align: center;
}

.project-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.project-meta {
    display: flex;
    gap: 10px;
    font-size: 0.9rem;
    color: #2563eb;
    margin-bottom: 12px;
    font-weight: 500;
    justify-content: center;
    flex-wrap: wrap;
}

.project-type,
.project-platform {
    border-radius: 8px;
    padding: 2px 8px;
    font-size: 0.8rem;
}

.project-type {
    background: #e0e7ff;
    color: #4f8cff;
}

.project-platform {
    background: #f0fdfa;
    color: #059669;
}

.project-tech {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 15px;
}

.tech-badge {
    background: linear-gradient(90deg, #4f8cff 60%, #2563eb 100%);
    color: #fff;
    font-size: 0.8rem;
    padding: 3px 10px;
    border-radius: 8px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 1px 4px #4f8cff22;
}

.project-content p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.project-actions {
    width: 100%;
    display: flex;
    justify-content: center;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, #4f8cff 60%, #2563eb 100%);
    color: #fff;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 2px 8px #4f8cff22;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.project-link:hover {
    background: linear-gradient(90deg, #2563eb 60%, #4f8cff 100%);
    box-shadow: 0 4px 16px #2563eb22;
    transform: translateY(-2px) scale(1.05);
}

@media (min-width: 768px) {
    .project-content {
        padding: 30px 25px;
    }
    
    .project-content h3 {
        font-size: 1.3rem;
    }
    
    .project-content p {
        font-size: 1rem;
    }
    
    .project-link {
        font-size: 1.1rem;
        padding: 14px 28px;
    }
}

/* Programming Languages Section - Improved Layout */
.programming-languages {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 24px;
    justify-content: flex-start;
    align-items: center;
    margin-top: 18px;
    margin-bottom: 8px;
}

.language-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, #f0fdfa 60%, #e0e7ff 100%);
    border-radius: 12px;
    padding: 10px 18px;
    font-size: 1.08rem;
    font-weight: 600;
    color: #2563eb;
    box-shadow: 0 2px 8px #4f8cff11;
    transition: background 0.18s, color 0.18s, transform 0.18s;
    border: 1.5px solid #e0e7ff;
    min-width: 120px;
    cursor: default;
}
.language-item i {
    font-size: 1.4rem;
    color: #4f8cff;
    transition: color 0.18s;
}
.language-item:hover {
    background: linear-gradient(90deg, #4f8cff 60%, #2563eb 100%);
    color: #fff;
    transform: translateY(-2px) scale(1.05);
}
.language-item:hover i {
    color: #fff;
}

/* --- Let's Build Something Amazing (Contact Section) Improvements --- */
.contact-content.glass-card {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255,255,255,0.97);
    border-radius: 28px;
    box-shadow: 0 8px 40px #4f8cff22, 0 1.5px 0 #fff;
    border: 1.5px solid #e0e7ff;
    padding: 44px 32px 32px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeBounceIn 1s;
    position: relative;
    z-index: 1;
}
.contact-info {
    text-align: center;
    margin-bottom: 32px;
}
.contact-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}
.contact-info p {
    font-size: 1.08rem;
    color: #444;
    margin-bottom: 20px;
}
.contact-methods {
    display: flex;
    gap: 32px;
    justify-content: center;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.contact-method {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(79,140,255,0.07);
    border-radius: 14px;
    padding: 12px 22px;
    box-shadow: 0 1px 8px #4f8cff11;
    transition: background 0.2s, box-shadow 0.2s;
}
.contact-method:hover {
    background: rgba(79,140,255,0.13);
    box-shadow: 0 2px 16px #4f8cff22;
}
.method-icon {
    font-size: 1.5rem;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.method-info h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 2px 0;
    color: #222;
}
.method-info p {
    font-size: 0.98rem;
    color: #2563eb;
    margin: 0;
    font-weight: 500;
}
.contact-actions {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 10px;
    flex-wrap: wrap;
    width: 100%;
}

.contact-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, #4f8cff 60%, #2563eb 100%);
    color: #fff;
    padding: 14px 36px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.13rem;
    box-shadow: 0 2px 8px #4f8cff22;
    text-decoration: none;
    border: none;
    outline: none;
    overflow: hidden;
    transition: background 0.18s, box-shadow 0.18s, transform 0.14s;
    z-index: 1;
    animation: fadeBounceIn 1.2s;
    min-width: 180px;
    justify-content: center;
    text-align: center;
}

@media (max-width: 600px) {
    .contact-actions {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
        width: 100%;
    }
    .contact-btn {
        width: 100%;
        min-width: unset;
        max-width: 100%;
        font-size: 1.04rem;
        padding: 13px 0;
        border-radius: 10px;
        justify-content: center;
        text-align: center;
        box-sizing: border-box;
    }
}

/* --- Footer Improvements --- */
.footer.simple-footer {
    background: linear-gradient(120deg, #f0fdfa 60%, #e0e7ff 100%);
    padding: 0;
    margin-top: 0;
    border: none;
    box-shadow: none;
    position: relative;
}
.footer-wave {
    width: 100%;
    height: 90px;
    overflow: hidden;
    line-height: 0;
    position: relative;
    margin-bottom: -12px;
}
.footer-wave svg {
    display: block;
    width: 100%;
    height: 90px;
}
.footer-content-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 0 18px 0;
    background: none;
}
.footer-social-row {
    display: flex;
    gap: 32px;
    margin-bottom: 16px;
}
.footer-social-link {
    font-size: 2.1rem;
    color: #4f8cff;
    background: rgba(79,140,255,0.10);
    border-radius: 50%;
    padding: 12px;
    transition: color 0.18s, background 0.18s, transform 0.18s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.footer-social-link:hover {
    color: #fff;
    background: linear-gradient(135deg, #4f8cff 40%, #2563eb 100%);
    transform: scale(1.13) rotate(-8deg);
}
.footer-links-row {
    display: flex;
    gap: 22px;
    margin-bottom: 12px;
    flex-wrap: wrap;
    justify-content: center;
}
.footer-links-row a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.07rem;
    padding: 6px 14px;
    border-radius: 8px;
    transition: color 0.18s, background 0.18s;
}
.footer-links-row a:hover {
    color: #fff;
    background: linear-gradient(90deg, #4f8cff 60%, #2563eb 100%);
}
.footer-copy {
    color: #444;
    font-size: 1.08rem;
    margin-top: 8px;
    letter-spacing: 0.2px;
    text-align: center;
}
.footer-heart {
    color: #e11d48;
    margin: 0 4px;
}
.footer-coffee {
    color: #b45309;
    margin: 0 4px;
}

/* Responsive Footer */
@media (max-width: 900px) {
    .footer-content-area {
        padding: 18px 2vw 10px 2vw;
    }
    .footer-social-row {
        gap: 18px;
    }
    .footer-links-row {
        gap: 10px;
    }
}
@media (max-width: 600px) {
    .footer-content-area {
        padding: 10px 1vw 6px 1vw;
    }
    .footer-social-row {
        gap: 10px;
    }
    .footer-links-row {
        gap: 4px;
    }
    .footer-links-row a {
        font-size: 0.98rem;
        padding: 4px 6px;
    }
    .footer-copy {
        font-size: 0.95rem;
    }
}

/* --- Hobbies & Interests Section Improvements --- */
.hobbies-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    align-items: stretch;
    margin-top: 32px;
}

.hobby-card {
    background: linear-gradient(120deg, #f0fdfa 60%, #e0e7ff 100%);
    border-radius: 20px;
    box-shadow: 0 4px 24px #4f8cff22, 0 1.5px 0 #fff;
    border: 1.5px solid #e0e7ff;
    padding: 32px 22px 22px 22px;
    max-width: 320px;
    min-width: 220px;
    flex: 1 1 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
    transition: box-shadow 0.22s, transform 0.18s, border-color 0.18s, background 0.3s;
    position: relative;
    overflow: hidden;
    animation: fadeBounceIn 1s;
}
.hobby-card:hover {
    box-shadow: 0 8px 32px #4f8cff44, 0 0 0 6px #4f8cff11;
    border-color: #4f8cff77;
    background: linear-gradient(120deg, #e0e7ff 60%, #f0fdfa 100%);
    transform: translateY(-8px) scale(1.04) rotate(-1deg);
}
.hobby-icon.gradient-bg {
    background: linear-gradient(135deg, #4f8cff 40%, #2563eb 100%);
    color: #fff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px #4f8cff33;
    width: 54px;
    height: 54px;
    font-size: 2rem;
    margin-bottom: 18px;
    transition: background 0.3s, box-shadow 0.3s;
}
.hobby-card:hover .hobby-icon.gradient-bg {
    background: linear-gradient(135deg, #2563eb 40%, #4f8cff 100%);
    box-shadow: 0 4px 24px #2563eb33;
}
.hobby-card h3 {
    font-size: 1.18rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2563eb;
    text-align: center;
    letter-spacing: 0.5px;
}
.hobby-card p {
    font-size: 1.01rem;
    color: #444;
    text-align: center;
    margin-bottom: 18px;
    min-height: 56px;
}
.hobby-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    z-index: 1;
    margin-top: auto;
}
.hobby-card .tag {
    background: linear-gradient(90deg, #4f8cff 60%, #2563eb 100%);
    color: #fff;
    font-size: 0.92rem;
    padding: 4px 14px;
    border-radius: 12px;
    font-weight: 500;
    margin-top: 4px;
    box-shadow: 0 1px 4px #4f8cff22;
    transition: background 0.2s;
}
.hobby-card .tag:hover {
    background: linear-gradient(90deg, #2563eb 60%, #4f8cff 100%);
}

/* Responsive for Hobbies Section */
@media (max-width: 900px) {
    .hobbies-grid {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }
    .hobby-card {
        width: 100%;
        min-width: unset;
        max-width: 98vw;
        padding: 18px 8px 14px 8px;
    }
}
@media (max-width: 600px) {
    .hobby-card {
        padding: 10px 2px 10px 2px;
    }
    .hobby-icon.gradient-bg {
        width: 38px;
        height: 38px;
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    .hobby-card h3 {
        font-size: 1.05rem;
    }
    .hobby-card p {
        font-size: 0.97rem;
        min-height: 36px;
    }
}

/* --- Important Links Section Improvements --- */
.important-links {
    background: linear-gradient(120deg, #f0fdfa 60%, #e0e7ff 100%);
    padding: 70px 0 50px 0;
}
.links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    align-items: stretch;
    margin-top: 36px;
}
.link-card {
    background: linear-gradient(120deg, #f0fdfa 60%, #e0e7ff 100%);
    border-radius: 20px;
    box-shadow: 0 4px 24px #4f8cff22, 0 1.5px 0 #fff;
    border: 1.5px solid #e0e7ff;
    padding: 32px 22px 22px 22px;
    max-width: 320px;
    min-width: 220px;
    flex: 1 1 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
    transition: box-shadow 0.22s, transform 0.18s, border-color 0.18s, background 0.3s;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: #222;
    animation: fadeBounceIn 1s;
}
.link-card:hover {
    box-shadow: 0 8px 32px #4f8cff44, 0 0 0 6px #4f8cff11;
    border-color: #4f8cff77;
    background: linear-gradient(120deg, #e0e7ff 60%, #f0fdfa 100%);
    transform: translateY(-8px) scale(1.04) rotate(1deg);
    color: #2563eb;
}
.link-icon.gradient-bg {
    background: linear-gradient(135deg, #4f8cff 40%, #2563eb 100%);
    color: #fff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px #4f8cff33;
    width: 54px;
    height: 54px;
    font-size: 2rem;
    margin-bottom: 18px;
    transition: background 0.3s, box-shadow 0.3s;
}
.link-card:hover .link-icon.gradient-bg {
    background: linear-gradient(135deg, #2563eb 40%, #4f8cff 100%);
    box-shadow: 0 4px 24px #2563eb33;
}
.link-content h3 {
    font-size: 1.18rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
    color: #2563eb;
    letter-spacing: 0.5px;
}
.link-content p {
    font-size: 1.01rem;
    color: #444;
    text-align: center;
    margin-bottom: 10px;
    min-height: 44px;
}
.link-arrow {
    font-size: 1.2rem;
    color: #2563eb;
    margin-top: 8px;
    z-index: 1;
    transition: transform 0.2s;
}
.link-card:hover .link-arrow {
    transform: translateX(8px) scale(1.2);
    color: #4f8cff;
}

/* Responsive for Important Links Section */
@media (max-width: 900px) {
    .links-grid {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }
    .link-card {
        width: 100%;
        min-width: unset;
        max-width: 98vw;
        padding: 18px 8px 14px 8px;
    }
}
@media (max-width: 600px) {
    .link-card {
        padding: 10px 2px 10px 2px;
    }
    .link-icon.gradient-bg {
        width: 38px;
        height: 38px;
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    .link-content h3 {
        font-size: 1.05rem;
    }
    .link-content p {
        font-size: 0.97rem;
        min-height: 28px;
    }
}