/* CSS Variables for easy customization */
:root {
    --primary-color: #FF61A6;
    --secondary-color: #3498db;
    --accent-color: #2980b9;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --dark-bg: #0a0a0a;
    --dark-surface: #1a1a1a;
    --dark-card: #2a2a2a;
    --light-bg: #ffffff;
    --light-surface: #f8f9fa;
    --light-card: #ffffff;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #888888;
    --text-dark-primary: #ffffff;
    --text-dark-secondary: #cccccc;
    --text-dark-light: #999999;
    --border-radius: 12px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 12px 48px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    --max-width: 1200px;
}

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Dark theme */
body.dark-theme {
    background: var(--dark-bg);
    color: var(--text-dark-primary);
}

body.dark-theme .card {
    background: var(--dark-card);
    border: 1px solid #333;
}

body.dark-theme .section {
    background: var(--dark-surface);
}

body.dark-theme .navbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
}

body.dark-theme .certificate-link {
    background: var(--gradient-secondary);
}

body.dark-theme .about-card {
    background: linear-gradient(135deg, rgba(255, 97, 166, 0.1), rgba(52, 152, 219, 0.1));
    border-color: rgba(255, 97, 166, 0.2);
}

body.dark-theme .about-info p {
    color: var(--text-dark-secondary);
}

body.dark-theme .stat-item {
    background: var(--dark-card);
}

body.dark-theme .stat-label {
    color: var(--text-dark-secondary);
}

body.dark-theme .footer {
    background: linear-gradient(135deg, #0a0a0a, #1a1a2e, #16213e);
}

body.dark-theme .footer-brand,
body.dark-theme .footer-copyright {
    color: var(--text-dark-primary);
}

body.dark-theme .achievement-highlights {
    background: linear-gradient(135deg, rgba(255, 97, 166, 0.1), rgba(52, 152, 219, 0.1));
    border-color: rgba(255, 97, 166, 0.2);
}

body.dark-theme .highlight-item {
    background: rgba(42, 42, 42, 0.8);
    color: var(--text-dark-primary);
}

body.dark-theme .highlight-text {
    color: var(--text-dark-primary);
}

body.dark-theme .main-description {
    color: var(--text-dark-primary);
}

body.dark-theme .sub-description {
    color: var(--text-dark-secondary);
}

body.dark-theme .profile-info p {
    color: var(--text-dark-secondary);
}

body.dark-theme .badge {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

body.dark-theme .badge:hover {
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

/* Utility classes */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.card {
    background: var(--light-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 97, 166, 0.4);
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.theme-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: rgba(255, 97, 166, 0.1);
    transform: rotate(180deg);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 97, 166, 0.05) 0%, rgba(52, 152, 219, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="currentColor" opacity="0.03"/><circle cx="75" cy="75" r="1" fill="currentColor" opacity="0.03"/><circle cx="50" cy="10" r="0.5" fill="currentColor" opacity="0.03"/><circle cx="20" cy="80" r="0.5" fill="currentColor" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-greeting {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.wave {
    font-size: 1.5rem;
    animation: wave 2s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(20deg); }
    75% { transform: rotate(-10deg); }
}

.greeting-text {
    font-weight: 500;
    color: var(--primary-color);
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}

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

.hero-description {
    margin-bottom: 35px;
}

.main-description {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    line-height: 1.6;
    font-weight: 400;
}

.sub-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.5;
}

.achievement-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 25px 0;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 97, 166, 0.05), rgba(52, 152, 219, 0.05));
    border-radius: 12px;
    border: 1px solid rgba(255, 97, 166, 0.1);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.highlight-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.highlight-icon {
    font-size: 1.2rem;
}

.highlight-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.mission-statement {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-style: italic;
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 12px;
    position: relative;
    margin: 25px 0;
    box-shadow: var(--shadow);
}

.mission-statement .fas {
    opacity: 0.7;
    font-size: 0.8rem;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hero-buttons .btn {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-buttons .btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.hero-buttons .btn:hover i {
    transform: translateX(2px);
}

.hero-image {
    text-align: center;
    position: relative;
}

.profile-card {
    background: var(--light-card);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--gradient-primary);
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--gradient-primary);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    position: relative;
    z-index: 2;
    padding: 4px;
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    transition: var(--transition);
}

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

.profile-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.profile-info p {
    color: var(--text-secondary);
    position: relative;
    z-index: 2;
    margin-bottom: 15px;
    font-weight: 600;
}

.profile-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 10px;
}

.badge {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(255, 97, 166, 0.3);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 97, 166, 0.4);
}

/* Typing animation */
.typing-animation {
    font-family: 'Fira Code', monospace;
    font-weight: 600;
}

.cursor {
    animation: blink 1s infinite;
}

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

/* About Section */
.about {
    background: var(--light-surface);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.about-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(255, 97, 166, 0.05), rgba(52, 152, 219, 0.05));
    border-radius: 15px;
    border: 1px solid rgba(255, 97, 166, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 97, 166, 0.2);
}

.about-icon {
    font-size: 2.5rem;
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: white;
    box-shadow: var(--shadow);
}

.about-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.about-info p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.stat-item {
    text-align: center;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

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

.stat-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin: 10px 0;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 5px;
}

.about-footer {
    margin-top: 30px;
}

.quote-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quote-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.quote-icon {
    font-size: 3rem;
    opacity: 0.8;
}

.quote-card blockquote {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.quote-card cite {
    display: block;
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.8;
    font-style: normal;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.skill-category h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background: var(--gradient-primary);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}

.skill-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 97, 166, 0.3);
}

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

.project-card {
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.project-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.tech-tag {
    background: rgba(255, 97, 166, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 15px;
}

.project-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.project-link:hover {
    color: var(--secondary-color);
}

/* Certificates Section */
.certificates {
    background: var(--light-surface);
}

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

.certificate-card {
    text-align: center;
    padding: 20px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
}

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

.certificate-image {
    width: 100%;
    height: 200px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    margin-bottom: 15px;
}

.certificate-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.certificate-issuer {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.certificate-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-primary);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
    margin-top: 10px;
}

.certificate-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    text-decoration: none;
    color: white;
}

.certificate-link i {
    font-size: 1rem;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

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

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid rgba(255, 97, 166, 0.2);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-bg), #1a1a2e, #16213e);
    color: var(--text-dark-primary);
    position: relative;
    overflow: hidden;
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    text-align: left;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

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

.logo-accent {
    color: var(--secondary-color);
}

.footer-tagline {
    font-size: 1.1rem;
    color: var(--text-dark-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-quote {
    background: rgba(255, 97, 166, 0.1);
    padding: 15px 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    font-style: italic;
    position: relative;
}

.quote-icon {
    color: var(--primary-color);
    margin-right: 10px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
}

.footer-nav {
    list-style: none;
    padding: 0;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-link {
    color: var(--text-dark-secondary);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    background: rgba(52, 152, 219, 0.2);
    color: var(--secondary-color);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    border: 1px solid rgba(52, 152, 219, 0.3);
    transition: var(--transition);
}

.tech-tag:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark-secondary);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.social-link:hover {
    color: white;
    transform: translateX(5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.social-link.github:hover {
    background: rgba(51, 51, 51, 0.3);
}

.social-link.linkedin:hover {
    background: rgba(0, 119, 181, 0.3);
}

.social-link.email:hover {
    background: rgba(255, 97, 166, 0.3);
}

.social-link.phone:hover {
    background: rgba(52, 152, 219, 0.3);
}

.footer-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 40px 0;
    margin: 20px 0;
}

.stat-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
}

.stat-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-dark-secondary);
}

.footer-bottom {
    padding: 30px 0;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin-bottom: 30px;
}

.footer-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright-left p,
.copyright-right p {
    margin: 5px 0;
}

.made-with {
    color: var(--text-dark-secondary);
    font-size: 0.9rem;
}

.motto {
    color: var(--primary-color);
    font-weight: 500;
}

.location {
    color: var(--text-dark-secondary);
}

/* Footer Background Animation */
.footer-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite linear;
}

.shape-1 {
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: var(--secondary-color);
    top: 60%;
    right: 15%;
    animation-delay: -10s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    bottom: 30%;
    left: 70%;
    animation-delay: -5s;
}

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

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading.hide {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 97, 166, 0.3);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--light-card);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .achievement-highlights {
        flex-direction: column;
        align-items: center;
    }

    .main-description {
        font-size: 1.1rem;
    }

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

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .quote-card {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .footer-copyright {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-greeting {
        justify-content: center;
        font-size: 1rem;
    }

    .main-description {
        font-size: 1rem;
    }

    .sub-description {
        font-size: 1rem;
    }

    .achievement-highlights {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        justify-content: center;
        width: 100%;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .certificates-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .about-card {
        padding: 20px;
    }

    .about-icon {
        font-size: 2rem;
        min-width: 50px;
        height: 50px;
    }

    .quote-card blockquote {
        font-size: 1rem;
    }

    .profile-card {
        padding: 20px;
    }

    .profile-avatar {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }

    .profile-badges {
        justify-content: center;
        gap: 6px;
    }

    .badge {
        font-size: 0.7rem;
        padding: 3px 8px;
    }

    .footer-stats {
        grid-template-columns: 1fr;
    }

    .stat-box {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .footer-logo {
        font-size: 1.5rem;
    }

    .tech-tags {
        justify-content: center;
    }
}