/* Modern Reset & Variables */
:root {
    --bg-dark: #0f172a;
    --bg-darker: #0b0f19;
    --bg-card: rgba(30, 41, 59, 0.7);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #38bdf8;        /* Vivid Cyan Tech Color */
    --accent-glow: rgba(56, 189, 248, 0.15);
    --border-color: rgba(255, 255, 255, 0.08);
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-darker);
    color: var(--text-main);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-main);
}

.logo span {
    color: var(--accent);
    margin-left: 2px;
    font-size: 1.1rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

nav a:hover {
    color: var(--accent);
}

/* Base Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-darker);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(56, 189, 248, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-muted);
}

.btn-small {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent);
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.btn-small:hover {
    background: var(--accent);
    color: var(--bg-darker);
}

/* Sections Global Layout */
section {
    padding: 8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 4rem;
}

.subtitle {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 0.5rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: radial-gradient(circle at 80% 20%, var(--accent-glow), transparent 40%);
    padding: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.greeting-badge {
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(56, 189, 248, 0.2);
    display: inline-block;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero h2 {
    font-size: 2rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

/* About Section & Circular Pulse Image Layout */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: center;
}

.profile-card-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circular-profile-card {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent);
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.4);
    z-index: 3;
    transition: var(--transition);
    background: var(--bg-dark);
}

.circular-profile-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.profile-card-wrapper:hover .circular-profile-card img {
    transform: scale(1.08);
}

/* Continuous Radar Heartbeat Animation */
.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--accent);
    opacity: 0;
    z-index: 1;
    animation: heartbeatPulse 3s cubic-bezier(0.215, 0.610, 0.355, 1) infinite;
}

.ring-2 {
    animation-delay: 0.4s;
}

@keyframes heartbeatPulse {
    0% {
        transform: scale(0.95);
        opacity: 0;
    }
    10% {
        transform: scale(1.02);
        opacity: 0.6;
    }
    18% {
        transform: scale(0.98);
        opacity: 0.4;
    }
    28% {
        transform: scale(1.15);
        opacity: 0.8;
    }
    70%, 100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.download-btn {
    margin-top: 1rem;
}

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

.skill-item {
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    transition: var(--transition);
}

.skill-item:hover {
    transform: translateY(-5px);
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.skill-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.skill-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.skill-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3.5rem;
}

.project-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(56, 189, 248, 0.3);
}

.project-img-container {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.project-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.project-info {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.project-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.view-all-container {
    text-align: center;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.info-links {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.info-links p {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
}

.info-links i {
    color: var(--accent);
    width: 20px;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    gap: 1.2rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
}

/* Contact Form UI */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.1);
}

/* Footer */
footer {
    padding: 2.5rem 0;
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Active Menu Link State Tracker Styles */
nav a.active {
    color: var(--accent) !important;
    position: relative;
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

/* Modern Toast Notification Containers */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 2000;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-notification.success i {
    color: #10b981;
}

.toast-notification.error i {
    color: #ef4444;
}

.toast-notification span {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Media Breakpoints Layout Controls */
@media (max-width: 968px) {
    .hero h1 {
        font-size: 3.2rem;
    }
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 640px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    nav ul {
        gap: 1.2rem;
    }
    section {
        padding: 5rem 0;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero h2 {
        font-size: 1.4rem;
    }
    .hero-btns {
        flex-direction: column;
        gap: 1rem;
    }
    .toast-notification {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }
}

@media (max-width: 400px) {
    .profile-card-wrapper {
        width: 260px;
        height: 260px;
    }
}
