/* CSS Variables for Theme Management */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f8f8;
    --bg-tertiary: #f5f5f5;
    --text-primary: #000000;
    --text-secondary: #333333;
    --text-tertiary: #666666;
    --text-quaternary: #999999;
    --border-primary: #000000;
    --border-secondary: #eaeaea;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-dark: rgba(0, 0, 0, 0.2);
    --nav-bg: #ffffff;
    --nav-border: #000000;
    --nav-text: #000000;
    --footer-bg: #000000;
    --footer-text: #ffffff;
}

/* Dark Theme Variables */
[data-theme="dark"] {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-tertiary: #b0b0b0;
    --text-quaternary: #808080;
    --border-primary: #ffffff;
    --border-secondary: #404040;
    --shadow-light: rgba(255, 255, 255, 0.05);
    --shadow-medium: rgba(255, 255, 255, 0.1);
    --shadow-dark: rgba(255, 255, 255, 0.15);
    --nav-bg: #1a1a1a;
    --nav-border: #ffffff;
    --nav-text: #ffffff;
    --footer-bg: #1a1a1a;
    --footer-text: #ffffff;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Times New Roman', Times, serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Floating Navigation - Flat and Solid */
.nav-float {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: var(--nav-bg);
    border: 1px solid var(--nav-border);
    border-radius: 50px;
    padding: 12px 40px;
    box-shadow: 0 2px 8px var(--shadow-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Main nav bar hover effect - flat design */
.nav-float:hover {
    background: var(--nav-bg);
    border: 1px solid var(--nav-border);
    box-shadow: 0 4px 12px var(--shadow-medium);
    transform: translateX(-50%) translateY(-1px);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: var(--nav-text);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    opacity: 0.6;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--nav-text);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Active Navigation */
.nav-link.active {
    opacity: 0.7;
}

.nav-link.active::after {
    width: 100%;
}

/* Dark Mode Toggle Button */
.dark-mode-toggle {
    background: none;
    border: none;
    color: var(--nav-text);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    position: relative;
    z-index: 10;
    outline: none;
}

.dark-mode-toggle:hover {
    background: var(--bg-tertiary);
    transform: rotate(15deg);
}

.dark-mode-toggle:active {
    transform: scale(0.95);
}

#theme-icon {
    font-size: 16px;
    transition: transform 0.3s ease;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 1001;
    background: var(--nav-bg);
    border: 1px solid var(--nav-border);
    padding: 10px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle .bar {
    width: 25px;
    height: 2px;
    background: var(--nav-text);
    transition: 0.3s;
}

/* Hamburger animation when active */
.mobile-menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--nav-bg);
    border-left: 1px solid var(--nav-border);
    z-index: 1000;
    transition: 0.3s ease;
    padding: 80px 30px;
    display: none;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav .nav-link {
    display: block;
    padding: 15px 0;
    font-size: 18px;
    text-align: center;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bg-primary);
}

.profile-image-container {
    margin-bottom: 30px;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--border-primary);
    box-shadow: 0 8px 32px var(--shadow-light);
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.profile-image:hover {
    box-shadow: 0 12px 40px var(--shadow-medium);
    filter: grayscale(0%);
}

.hero-content h1 {
    font-size: 48px;
    font-weight: normal;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-tertiary);
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.hero-contact {
    margin-top: 40px;
}

.hero-contact p {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 10px 0;
    font-style: italic;
}

/* Sections */
.section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.section:nth-child(even) {
    background: var(--bg-secondary);
}

.section-title {
    font-size: 36px;
    font-weight: normal;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 2px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background-color: var(--border-primary);
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.skills-section {
    margin-top: 60px;
    text-align: center;
}

.skills-title {
    font-size: 28px;
    font-weight: normal;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.skill-category h4 {
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 20px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-secondary);
    padding-bottom: 10px;
    transition: all 0.3s ease;
}

.skill-category h4:hover {
    color: var(--text-primary);
    letter-spacing: 1px;
}

.skill-category ul {
    list-style: none;
    text-align: left;
}

.skill-category li {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.skill-category li:hover {
    transform: translateX(5px);
    color: var(--text-primary);
}

.skill-category li:hover::before {
    content: '→';
    font-weight: bold;
    margin-right: 5px;
    position: absolute;
    left: 0;
}

.skill-category li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-primary);
}

/* Experience Timeline */
.experience-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: var(--border-primary);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-date {
    width: 45%;
    text-align: right;
    font-size: 16px;
    color: var(--text-tertiary);
    font-style: italic;
}

.timeline-content {
    width: 45%;
    padding: 20px;
    border: 1px solid var(--border-primary);
    background: var(--bg-primary);
}

.timeline-content h3 {
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 5px;
}

.company {
    font-size: 16px;
    color: var(--text-tertiary);
    font-style: italic;
    margin-bottom: 15px;
}

.timeline-content ul {
    list-style: none;
    text-align: left;
}

.timeline-content li {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
    line-height: 1.5;
}

.timeline-content li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--text-primary);
}

.tools-used {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid var(--border-secondary);
    font-size: 13px;
    color: var(--text-tertiary);
    font-style: italic;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 600px;
    margin: 0 auto;
    justify-content: center;
}

.project-card {
    padding: 25px;
    border: 1px solid var(--border-primary);
    background: var(--bg-primary);
    text-align: center;
    transition: all 0.3s ease;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: auto;
    width: 100%;
    max-width: 280px;
    justify-self: center;
}

.project-card:hover {
    transform: scale(1.02);
    border-color: var(--border-primary);
    box-shadow: 0 10px 30px var(--shadow-light);
}

.project-card h3 {
    font-size: 18px;
    font-weight: normal;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.project-card p {
    font-size: 16px;
    color: var(--text-tertiary);
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Project View Button */
.project-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 10px 20px;
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: normal;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    cursor: pointer;
}

.project-view-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--text-primary);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.project-view-btn:hover::before {
    left: 0;
}

.project-view-btn:hover {
    color: var(--bg-primary);
    transform: scale(1.02);
    box-shadow: 0 8px 25px var(--shadow-medium);
    border-color: var(--border-primary);
}

.project-view-btn:hover i {
    transform: rotate(360deg);
}

.project-view-btn:active {
    transform: scale(1.01);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Project Modal */
.project-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--shadow-dark);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 10001;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    border-bottom: 1px solid var(--border-primary);
}

.modal-header h2 {
    font-size: 28px;
    font-weight: normal;
    margin: 0;
    letter-spacing: 1px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-primary);
    padding: 5px;
    transition: transform 0.3s ease;
}

.modal-close:hover {
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
}

.modal-body p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.modal-section {
    margin-bottom: 30px;
}

.modal-section h3 {
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.modal-section ul {
    list-style: none;
    padding: 0;
}

.modal-section li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 15px;
    color: var(--text-secondary);
}

.modal-section li:before {
    content: "▪";
    position: absolute;
    left: 0;
    color: var(--text-primary);
    font-size: 18px;
}

.technologies-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.modal-github-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 15px;
    font-weight: normal;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-radius: 25px;
}

.modal-github-btn:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-medium);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .modal-header,
    .modal-body {
        padding: 20px;
    }
    
    .modal-header h2 {
        font-size: 24px;
    }
}

/* Contact Section */
.contact-info {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-email {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-weight: bold;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-details p {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 10px 0;
}

.contact-details a {
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--border-primary);
}

.contact-details a:hover {
    opacity: 0.7;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.social-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    transition: opacity 0.3s ease;
    position: relative;
}

.social-link:hover {
    opacity: 0.7;
}

.social-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--border-primary);
    transition: width 0.3s ease;
}

.social-link:hover::after {
    width: 100%;
}

/* Certifications Section */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.cert-card {
    padding: 20px;
    border: 1px solid var(--border-primary);
    background: var(--bg-primary);
    text-align: center;
    transition: all 0.3s ease;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: auto;
}

.cert-card:hover {
    transform: scale(1.02);
    border-color: var(--border-primary);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.cert-card h3 {
    font-size: 18px;
    font-weight: normal;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.cert-issuer {
    font-size: 16px;
    color: var(--text-tertiary);
    margin-bottom: 5px;
}

.cert-date {
    font-size: 14px;
    color: var(--text-quaternary);
    font-style: italic;
}

.cert-credential {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-top: 5px;
    font-style: italic;
    line-height: 1.3;
}

/* Verify Button */
.cert-verify-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 10px 20px;
    background: #ffffff;
    border: 1px solid #000000;
    color: #000000;
    text-decoration: none;
    font-size: 14px;
    font-weight: normal;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    cursor: pointer;
}

.cert-verify-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #000000;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.cert-verify-btn:hover::before {
    left: 0;
}

.cert-verify-btn i {
    font-size: 16px;
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1;
    position: relative;
}

.cert-verify-btn span {
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
}

.cert-verify-btn:hover {
    color: #ffffff;
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #000000;
}

.cert-verify-btn:hover i {
    transform: rotate(360deg);
}

.cert-verify-btn:active {
    transform: scale(1.01);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Education Section */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.edu-card {
    padding: 40px;
    border: 1px solid var(--border-primary);
    background: var(--bg-primary);
    text-align: center;
    transition: all 0.3s ease;
}

.edu-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--shadow-light);
}

.edu-card h3 {
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.edu-degree {
    font-size: 16px;
    color: var(--text-tertiary);
    margin-bottom: 5px;
}

.edu-date {
    font-size: 14px;
    color: var(--text-quaternary);
    font-style: italic;
    margin-bottom: 20px;
}

/* Education Visit Button */
.edu-visit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 10px 20px;
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: normal;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    cursor: pointer;
}

.edu-visit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--text-primary);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.edu-visit-btn:hover::before {
    left: 0;
}

.edu-visit-btn i {
    font-size: 16px;
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1;
    position: relative;
}

.edu-visit-btn span {
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
}

.edu-visit-btn:hover {
    color: var(--bg-primary);
    transform: scale(1.02);
    box-shadow: 0 8px 25px var(--shadow-medium);
    border-color: var(--border-primary);
}

.edu-visit-btn:hover i {
    transform: rotate(360deg);
}

.edu-visit-btn:active {
    transform: scale(1.01);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Footer Section */
.footer {
    background: #000000;
    color: #ffffff;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

.footer-info h3,
.footer-social h3 {
    font-size: 24px;
    font-weight: normal;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-email {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
}

.footer-phone {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
}

.footer-location {
    font-size: 16px;
}

/* ===== ALL HOVER INTERACTIONS ===== */

/* Hero Section */
.hero-content h1 {
    transition: all 0.3s ease;
}

.hero-content h1:hover {
    letter-spacing: 5px;
}

.hero-subtitle {
    transition: all 0.3s ease;
}

.hero-subtitle:hover {
    opacity: 0.6;
}

.hero-contact p {
    transition: all 0.3s ease;
}

.hero-contact p:hover {
    text-decoration: underline;
    cursor: pointer;
}

/* Section Titles */
.section-title {
    transition: all 0.3s ease;
}

.section-title:hover {
    letter-spacing: 3px;
}

/* Timeline Items */
.timeline-content {
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: var(--border-primary);
    box-shadow: 0 10px 30px var(--shadow-light);
}

.timeline-date {
    transition: all 0.3s ease;
}

.timeline-date:hover {
    font-weight: bold;
}

.timeline-content h3 {
    transition: all 0.3s ease;
}

.timeline-content h3:hover {
    text-decoration: underline;
}

.timeline-content li {
    transition: all 0.3s ease;
}

.timeline-content li:hover {
    transform: translateX(5px);
}

.timeline-content li:hover::before {
    content: '•';
    font-weight: bold;
}

/* Project Cards */
.project-card {
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--border-primary);
    box-shadow: 0 15px 35px var(--shadow-light);
}

.project-card h3 {
    transition: all 0.3s ease;
}

.project-card:hover h3 {
    text-decoration: underline;
}

.project-card p {
    transition: all 0.3s ease;
}

.project-card:hover p {
    color: var(--text-primary);
}

/* Certification Cards */
.cert-card {
    transition: all 0.3s ease;
}

.cert-card:hover {
    transform: scale(1.02);
    border-color: var(--border-primary);
    box-shadow: 0 10px 30px var(--shadow-light);
}

.cert-card h3 {
    transition: all 0.3s ease;
}

.cert-card:hover h3 {
    color: var(--text-primary);
}

.cert-card:hover .cert-issuer,
.cert-card:hover .cert-date {
    color: var(--text-primary);
}

/* Education Cards */
.edu-card {
    transition: all 0.3s ease;
}

.edu-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-primary);
    box-shadow: 0 10px 30px var(--shadow-light);
}

.edu-degree {
    transition: all 0.3s ease;
}

.edu-degree:hover {
    font-weight: bold;
}

/* Footer Contact Info */
.footer-email,
.footer-location,
.footer-phone {
    transition: all 0.3s ease;
}

.footer-email:hover,
.footer-location:hover,
.footer-phone:hover {
    text-decoration: underline;
    cursor: pointer;
}

/* All Links */
a {
    transition: all 0.3s ease;
}

/* Images */
img {
    transition: all 0.3s ease;
}

img:hover {
    opacity: 0.9;
}

/* ===== ENHANCEMENTS ===== */

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: #000000;
    z-index: 1002;
    transition: width 0.1s ease;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background: #333333;
}

/* Skill Tags */
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    justify-content: center;
}

.skill-tag {
    padding: 6px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-secondary);
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    cursor: default;
}

.skill-tag:hover {
    border-color: var(--border-primary);
    transform: scale(1.02);
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* Certification Counter */
.cert-counter {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.counter-number {
    font-size: 48px;
    font-weight: 500;
    color: #000000;
    background: #f5f5f5;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eaeaea;
}

.counter-text {
    font-size: 18px;
    color: #666666;
    letter-spacing: 1px;
}

/* Enhanced Social Icons with Tooltips - REMOVED */
.social-circle {
    position: relative;
}

.social-circle::after {
    content: attr(title);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: #000000;
    color: #ffffff;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.social-circle:hover::after {
    opacity: 0;
    visibility: hidden;
    bottom: -35px;
}

/* Print Styles */
@media print {
    .nav-float, .mobile-menu-toggle, .mobile-nav, .back-to-top, .scroll-progress {
        display: none !important;
    }
    
    body {
        background: #ffffff !important;
        color: #000000 !important;
    }
    
    .section-title, h1, h2, h3, h4 {
        color: #000000 !important;
    }
}

/* ===== CORE SKILLS HOVER INTERACTIONS ===== */

/* Skill Category Cards */
.skill-category {
    transition: all 0.3s ease;
    border: 1px solid var(--border-secondary);
    padding: 25px;
    background: var(--bg-primary);
    text-align: center;
}

.skill-category:hover {
    border-color: var(--border-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-light);
}

/* Skills Title */
.skills-title {
    transition: all 0.3s ease;
}

.skills-title:hover {
    letter-spacing: 2px;
    color: var(--text-primary);
}

/* Social Icons Container */
.social-circles {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    justify-content: center;
}

/* Circle Base */
.social-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1.5px solid #000000;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

/* Icon */
.footer-icon {
    font-size: 20px;
    color: #000000;
    z-index: 2;
    transition: all 0.3s ease;
}

/* PNG Icon (files have .svg extension but are PNG format) */
.footer-icon-png {
    width: 24px;
    height: 24px;
    z-index: 2;
    transition: all 0.3s ease;
    object-fit: contain;
    filter: invert(1) brightness(2);
}

.social-circle:hover .footer-icon-png {
    transform: scale(1.2);
}

/* Sleek Hover Animation with Zoom */
.social-circle:hover {
    border-color: #000000;
    background: #ffffff;
    transform: scale(1.1);
}

.social-circle:hover .footer-icon {
    color: #000000;
    transform: scale(1.2);
}

/* Active state - removed */
.social-circle:active {
    transform: none;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #333333;
}

.footer-bottom p {
    font-size: 14px;
    color: #999999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-float {
        top: 10px;
        padding: 10px 25px;
        width: 90%;
        border-radius: 30px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-links {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-link {
        font-size: 12px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .profile-image {
        width: 150px;
        height: 150px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    /* Projects Grid Mobile */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100%;
        padding: 0 20px;
    }
    
    .project-card {
        padding: 25px 20px;
    }
    
    .project-card h3 {
        font-size: 24px;
    }
    
    .project-view-btn {
        padding: 8px 16px;
        font-size: 13px;
        margin-top: 12px;
    }
    
    .project-view-btn i {
        font-size: 14px;
    }
    
    /* Certifications Grid Mobile */
    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100%;
        padding: 0 20px;
    }
    
    .cert-card {
        padding: 25px 20px;
    }
    
    .cert-verify-btn {
        padding: 8px 16px;
        font-size: 13px;
        margin-top: 12px;
    }
    
    .cert-verify-btn i {
        font-size: 14px;
    }
    
    /* Education Grid Mobile */
    .education-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 100%;
        padding: 0 20px;
    }
    
    /* Skills Grid Mobile */
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 100%;
        padding: 0 20px;
    }
    
    /* Timeline Mobile */
    .experience-timeline {
        padding: 0 20px;
        max-width: 100%;
    }
    
    .experience-timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        margin-bottom: 40px;
        padding-left: 40px;
        position: relative;
    }
    
    .timeline-item:nth-child(odd) {
        flex-direction: column !important;
    }
    
    .timeline-date {
        width: 100% !important;
        text-align: left !important;
        margin-bottom: 15px;
        font-size: 14px;
        padding-left: 0;
    }
    
    .timeline-content {
        width: 100% !important;
        padding: 20px 15px;
        border: 1px solid #000000;
        background: #ffffff;
    }
    
    .timeline-content h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .company {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .timeline-content ul {
        padding-left: 20px;
        margin: 0;
    }
    
    .timeline-content li {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 8px;
    }
    
    /* Timeline dot for mobile */
    .timeline-item::before {
        content: '';
        position: absolute;
        left: 14px;
        top: 0;
        width: 12px;
        height: 12px;
        background: #000000;
        border-radius: 50%;
        z-index: 1;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 50px 0 20px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        align-items: center;
    }
    
    .footer-info {
        text-align: center;
        width: 100%;
    }
    
    .footer-info h3 {
        margin-bottom: 25px;
        font-size: 22px;
    }
    
    .footer-email,
    .footer-phone,
    .footer-location {
        font-size: 16px;
        margin-bottom: 8px;
        text-align: center;
    }
    
    .social-circles {
        justify-content: center;
        gap: 15px;
    }
    
    .social-circle {
        width: 45px;
        height: 45px;
    }
    
    .footer-icon {
        font-size: 18px;
    }
    
    .social-circle:hover {
        transform: translateY(-6px) scale(1.05);
    }
    
    .social-circle:hover .footer-icon {
        transform: scale(1.1);
    }
    
    .social-circle:hover .fa-linkedin {
        transform: scale(1.1) rotate(3deg);
    }
    
    .social-circle:hover .fa-shield-alt {
        transform: scale(1.1) rotate(-3deg);
    }
    
    .social-circle:hover .fa-globe {
        transform: scale(1.1) rotate(5deg);
    }
    
    .social-circle:hover .fa-github-alt {
        transform: scale(1.1) rotate(-5deg);
    }
    
    .social-circle:hover .fa-envelope {
        transform: scale(1.1) rotate(4deg);
    }
    
    .footer-bottom {
        margin-top: 30px;
    }
}

@media (max-width: 600px) {
    .nav-float {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
        flex-direction: column;
        height: auto;
        padding: 15px;
    }
    
    .nav-menu {
        margin-top: 15px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .project-card,
    .cert-card,
    .edu-card {
        padding: 25px 20px;
    }
    
    .timeline-content {
        padding: 15px;
    }
    
    .timeline-content li {
        font-size: 13px;
    }

    .social-circles {
        justify-content: center;
    }
}