@import url("https://fonts.googleapis.com/css?family=Anonymous+Pro");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
    --primary-color: rgb(25, 25, 25);
    --secondary-color: rgb(38, 38, 38);
    --accent-color: #2196F3;
    --text-color: rgba(255, 255, 255, .85);
    --text-color-secondary: rgba(255, 255, 255, .6);
    --background-color: rgb(25, 25, 25);
    --card-color: rgb(38, 38, 38);
    --dark-card-color: rgb(31, 31, 31);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

.light-theme {
    --primary-color: #f5f5f5;
    --secondary-color: #ffffff;
    --accent-color: #2196F3;
    --text-color: rgba(0, 0, 0, .85);
    --text-color-secondary: rgba(0, 0, 0, .6);
    --background-color: #f5f5f5;
    --card-color: #ffffff;
    --dark-card-color: #f0f0f0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 60px;
    /* Adjust based on your fixed header height */
}

body {
    width: 100vw;
    height: 100vh;
    margin: 0;
    color: var(--text-color);
    font-family: "Poppins", "Anonymous Pro", monospace;
    background-color: var(--background-color);
    transition: var(--transition);
    overflow-x: hidden;
}

/* Common Styles */
.container {
    width: 90%;
    max-width: 1200px;
}

.section-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    position: relative;
    color: var(--text-color);
}

.divider {
    background-color: var(--accent-color);
    height: 3px;
    width: 80px;
    margin: 1rem 0 2rem;
}

.center-align .divider {
    margin: 1rem auto 2rem;
}

.btn {
    background-color: var(--accent-color);
    border-radius: var(--border-radius);
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    transition: var(--transition);
    margin: 0.5rem;
}

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

/* Disabled Resume Button Styles */
.tooltip-container {
    position: relative;
}

.tooltip-container .tooltip-text {
    visibility: hidden;
    width: 120px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 14px;
    font-weight: normal;
    text-transform: none;
    pointer-events: none;
}

.tooltip-container .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
}

.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Mobile touch support for tooltip */
@media (max-width: 768px) {
    .tooltip-container:active .tooltip-text {
        visibility: visible;
        opacity: 1;
    }

    .tooltip-container::before {
        content: "Not Available";
        position: absolute;
        width: 1px;
        height: 1px;
        clip: rect(0 0 0 0);
        overflow: hidden;
    }
}

/* Disabled-looking button style */
.disabled-looking {
    background-color: #DFDFDF !important;
    color: #9F9F9F !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
}

.disabled-looking:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Navigation */
.navbar-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}

nav {
    background-color: var(--primary-color) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    transition: var(--transition);
}

nav .brand-logo {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--accent-color);
}

nav ul a {
    color: var(--text-color) !important;
    font-weight: 500;
    transition: var(--transition);
}

nav ul a:hover {
    background-color: transparent;
    color: var(--accent-color) !important;
}

nav .sidenav-trigger i {
    color: var(--text-color) !important;
}

#theme-toggle,
#mobile-theme-toggle {
    cursor: pointer;
}

#theme-toggle {
    background-color: var(--accent-color);
    margin-left: 10px;
}

/* Sidenav Styles */
.sidenav {
    background-color: var(--primary-color) !important;
    width: 100% !important;
    max-width: 100%;
    z-index: 1100 !important;
    height: 100% !important;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    transition: transform 0.3s ease-in-out !important;
}

.sidenav-header {
    position: relative;
    background-color: var(--secondary-color);
    padding-bottom: 15px;
}

.blue-header {
    height: 100px;
    background-color: #2196F3;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 10px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.close-btn:hover {
    background-color: rgba(0, 0, 0, 0.4);
}

.close-btn i {
    font-size: 20px;
}

.profile-img {
    width: 70px !important;
    height: 70px !important;
    border: 3px solid #fff;
    background-color: #fff;
    object-fit: cover;
    z-index: 10;
}

.name-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px 0 5px;
}

.name {
    color: var(--text-color);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
}

.email {
    color: var(--text-color-secondary);
    font-size: 14px;
}

.sidenav .user-view {
    padding: 0;
    position: relative;
    height: auto;
}

.sidenav .user-view .background {
    height: 80px;
    overflow: hidden;
}

.sidenav .user-info {
    padding: 16px;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
}

.sidenav .user-info img.circle {
    width: 60px;
    height: 60px;
    object-fit: cover;
    margin-bottom: 10px;
    margin-top: -30px;
    border: 2px solid white;
}

.sidenav .user-details {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sidenav-name {
    color: var(--text-color) !important;
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 2px;
}

.sidenav-email {
    color: var(--text-color-secondary) !important;
    font-size: 13px;
}

.sidenav-divider {
    height: 1px;
    background-color: var(--text-color-secondary);
    opacity: 0.1;
    margin: 8px 0;
}

.sidenav li>a {
    color: var(--text-color) !important;
    display: flex;
    align-items: center;
    padding: 0 16px;
    height: 48px;
    font-weight: 400;
}

.sidenav li>a:hover {
    background-color: rgba(127, 127, 127, 0.05);
}

.sidenav li>a>i {
    margin-right: 32px;
    font-size: 20px;
}

.sidenav li>a>span {
    font-size: 14px;
}

/* Add spacer to push footer to bottom */
.sidenav-spacer {
    flex: 1;
    min-height: 200px;
}

.sidenav-footer {
    width: 100%;
    padding: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: auto;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.social-mini-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #2196F3;
    font-size: 16px;
}

.social-mini-btn:hover {
    background-color: rgba(127, 127, 127, 0.1);
}

@media only screen and (min-width: 993px) {
    .sidenav {
        display: none !important;
    }

    body.has-fixed-sidenav {
        padding-left: 0 !important;
    }
}

@media only screen and (max-width: 992px) {
    body.has-fixed-sidenav {
        padding-left: 0;
    }

    .sidenav.sidenav-fixed {
        transform: translateX(-105%) !important;
        transition: transform 0.3s ease-in-out !important;
    }

    .sidenav.sidenav-fixed.show-on-medium-and-down {
        transform: translateX(0) !important;
        transition: transform 0.3s ease-in-out !important;
    }
}

/* WebContainer structure */
.WebContainer {
    width: 100%;
    height: auto;
    min-height: calc(100vh - 56px);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.WebContainer .global-div {
    width: 100%;
    scroll-snap-align: start;
}

/* Home/Intro Section */
.intro-container {
    min-height: calc(100vh - 56px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-color);
    text-align: center;
    padding: 2rem 0;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content .subtitle {
    margin-bottom: 15px;
    color: var(--text-color-secondary);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content .title {
    margin-top: 0;
    font-size: 2.5rem;
    font-weight: 700;
}

.hero-content .description {
    margin: 1.5rem 0;
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 600px;
}

.hero-buttons {
    margin: 1.5rem 0;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--card-color);
    border-radius: 50%;
    transition: var(--transition);
    color: var(--text-color);
    font-size: 1.2rem;
}

.social-icon:hover {
    transform: translateY(-5px);
    background-color: var(--accent-color);
    color: white;
}

/* About Section */
.profile-container {
    background-color: var(--secondary-color);
    padding: 5rem 0;
}

.profile-image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.profile-image {
    width: 80%;
    max-width: 300px;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.resume-download {
    margin-top: 1rem;
    position: relative;
}

.download-btn {
    display: flex;
    align-items: center;
    position: relative;
}

.download-btn i {
    margin-right: 8px;
}

.resume-tooltip {
    visibility: hidden;
    width: 120px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 14px;
    font-weight: normal;
    text-transform: none;
    pointer-events: none;
}

.resume-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
}

.download-btn:hover .resume-tooltip {
    visibility: visible;
    opacity: 1;
}

/* Mobile touch support for tooltip */
@media (max-width: 768px) {
    .download-btn:active .resume-tooltip {
        visibility: visible;
        opacity: 1;
    }
}

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

.download-btn {
    display: flex;
    align-items: center;
}

.download-btn i {
    margin-right: 8px;
}

.about-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.personal-info {
    margin-top: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.info-item i {
    margin-right: 1rem;
    color: var(--accent-color);
}

/* Skills Section */
.skills-container {
    background-color: var(--primary-color);
    padding: 5rem 0;
}

/* Achievements Section */
.achievements-container {
    background-color: var(--secondary-color);
    padding: 5rem 0;
}

.achievement-card {
    background-color: var(--dark-card-color, #1f1f1f);
    /* Darker background color */
    border-radius: var(--border-radius);
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
    transition: var(--transition);
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* Add more prominent shadow */
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    /* Darker shadow on hover */
}

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

.achievement-content h5 {
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 0.25rem;
    color: var(--text-color);
}

.achievement-date {
    color: var(--text-color-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.achievement-divider {
    height: 2px;
    background-color: var(--accent-color);
    width: 40px;
    margin: 0.5rem 0 1rem;
}

.achievement-content p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.5;
}

/* Standardized Chip Styling */
.chip {
    background-color: rgba(33, 150, 243, 0.15);
    color: var(--accent-color);
    border-radius: 16px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    height: auto;
    line-height: normal;
    padding: 6px 12px;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
    border: 1px solid rgba(33, 150, 243, 0.3);
    /* Add border for better visibility */
}

.light-theme .chip {
    background-color: rgba(33, 150, 243, 0.1);
    /* Lighter background for light mode */
    border: 1px solid rgba(33, 150, 243, 0.4);
    /* Slightly darker border for light mode */
    color: #1976D2;
    /* Darker blue for better contrast in light mode */
}

.chip:hover {
    background-color: rgba(33, 150, 243, 0.25);
    transform: translateY(-2px);
}

/* Override the experience card chips to match standardized style */
.experience-card .chip {
    background-color: rgba(33, 150, 243, 0.15);
    /* Use standard blue background */
    color: var(--accent-color);
    /* Use accent color instead of text color */
    border: 1px solid rgba(33, 150, 243, 0.3);
    /* Add border for visibility */
    margin: 0.3rem;
}

.light-theme .experience-card .chip {
    background-color: rgba(33, 150, 243, 0.1);
    /* Lighter background for light mode */
    border: 1px solid rgba(33, 150, 243, 0.4);
    /* Slightly darker border for light mode */
    color: #1976D2;
    /* Darker blue for better contrast in light mode */
}

.chip-container {
    display: flex;
    flex-wrap: wrap;
    margin-top: 1rem;
}

/* Remove specific chip styling that will be replaced by standard styling */
.achievement-content .chip,
.experience-card .chip {
    /* Override with standard styling */
}

.skill-card {
    background-color: var(--card-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.skill-card:hover {
    transform: translateY(-5px);
}

.skill-card-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.skill-card-header h5 {
    margin: 0;
    font-weight: 600;
    color: var(--text-color);
}

.skill-card-content {
    padding: 1.5rem;
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-item:last-child {
    margin-bottom: 0;
}

.skill-item span {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.progress {
    background-color: rgba(255, 255, 255, 0.1);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.progress .determinate {
    background-color: var(--accent-color);
}

/* Experience Section */
.experience-container {
    background-color: var(--primary-color);
    padding: 5rem 0;
}

.category-title {
    color: var(--text-color);
    font-weight: 500;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.experience-card {
    background-color: var(--card-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 100%;
    transition: var(--transition);
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.experience-card:hover {
    transform: translateY(-5px);
}

.experience-card .card-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.experience-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

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

.experience-card .image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(33, 150, 243, 0.1);
}

.experience-card .placeholder-icon {
    font-size: 48px;
    color: var(--accent-color);
    opacity: 0.7;
}

.experience-card .card-content {
    padding: 1.5rem;
    color: var(--text-color);
    flex: 1;
}

.experience-card .card-content {
    padding: 1.5rem;
    color: var(--text-color);
}

.experience-card .card-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.experience-date {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0.5rem 0;
}

.experience-list {
    padding-left: 1.2rem;
    margin: 1rem 0;
}

.experience-list li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
}

.experience-card .chip-container {
    margin-top: 1.5rem;
}

/* Projects Section */
.project-container {
    background-color: var(--secondary-color);
    padding: 5rem 0;
}

.project-card {
    background-color: var(--dark-card-color, #1f1f1f);
    /* Darker background color */
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 100%;
    transition: var(--transition);
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* Add more prominent shadow */
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    /* Darker shadow on hover */
}

.project-card .card-image {
    height: 180px;
    overflow: hidden;
}

.project-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.3s ease;
}

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

.project-card .card-content {
    padding: 1.5rem;
    color: var(--text-color);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-card .card-content {
    padding: 1.5rem;
    color: var(--text-color);
}

.project-card .card-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.project-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-links .btn {
    margin: 0;
    font-size: 0.9rem;
    height: 36px;
    line-height: 36px;
}

.project-card .chip-container {
    margin-top: auto;
    padding-top: 1.5rem;
}

.chip-container {
    display: flex;
    flex-wrap: wrap;
    margin-top: 1rem;
}

/* CTF Writeups & Web Exploitation Section */
.ctf-container {
    background-color: var(--primary-color);
    padding: 5rem 0;
}

.ctf-card {
    background-color: var(--dark-card-color);
    border-radius: var(--border-radius);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.ctf-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.ctf-card .card-content {
    padding: 1.5rem;
    color: var(--text-color);
    flex: 1;
}

.ctf-card .card-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.ctf-date {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0.5rem 0;
}

.ctf-image-placeholder {
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ctf-image-placeholder i {
    font-size: 3rem;
    color: white;
}

/* Enhanced achievement styling for Web Exploitation */
.achievement-card.web-exploit {
    border-left: 3px solid var(--accent-color);
}

.achievement-card .web-exploit-icon {
    background-color: rgba(33, 150, 243, 0.15);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.achievement-card .web-exploit-icon i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.web-exploit-details {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.exploit-tag {
    display: inline-block;
    background-color: rgba(255, 59, 48, 0.15);
    color: #ff3b30;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 3px 8px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.methodology-list {
    margin-top: 1rem;
}

.methodology-list li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.2rem;
}

.methodology-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Custom chip styling for CTF categories */
.chip.ctf-category {
    background-color: rgba(33, 150, 243, 0.15);
    color: var(--accent-color);
}

.chip.xss {
    background-color: rgba(255, 59, 48, 0.15);
    color: #ff3b30;
}

.chip.sqli {
    background-color: rgba(255, 149, 0, 0.15);
    color: #ff9500;
}

.chip.jwt {
    background-color: rgba(88, 86, 214, 0.15);
    color: #5856d6;
}

.chip.crypto {
    background-color: rgba(52, 199, 89, 0.15);
    color: #34c759;
}

.chip.web-security {
    background-color: rgba(175, 82, 222, 0.15);
    color: #af52de;
}

/* Contact Section */
.contact-container {
    background-color: var(--primary-color);
    padding: 5rem 0 0;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-info h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.contact-info p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: var(--text-color-secondary);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-item i {
    margin-right: 1rem;
    color: var(--accent-color);
}

.contact-item a {
    color: var(--text-color);
    transition: var(--transition);
}

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: var(--card-color);
    border-radius: 50%;
    transition: var(--transition);
    color: var(--text-color);
    font-size: 1.2rem;
}

.social-btn:hover {
    transform: translateY(-5px);
    background-color: var(--accent-color);
    color: white;
}

/* Contact Card */
.contact-card {
    background-color: var(--card-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 3rem;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contact-card .accent-text {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.contact-card h4 {
    font-weight: 600;
    margin: 1rem 0;
}

.contact-email {
    margin: 2rem 0;
}

.email-btn {
    background-color: var(--accent-color);
    border-radius: var(--border-radius);
    padding: 0 2rem;
    height: 54px;
    line-height: 54px;
    font-weight: 500;
    transition: var(--transition);
}

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

.contact-card .contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem 0;
}

.contact-card .social-links {
    justify-content: center;
    margin-top: 2rem;
}

/* Footer */
.page-footer {
    background-color: var(--primary-color) !important;
    margin-top: 5rem;
    padding-top: 0;
    transition: var(--transition);
}

.page-footer h5.white-text {
    color: var(--text-color) !important;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.page-footer .grey-text.text-lighten-4 {
    color: var(--text-color-secondary) !important;
}

.page-footer a.grey-text.text-lighten-3,
.page-footer a.grey-text.text-lighten-4 {
    color: var(--text-color-secondary) !important;
    transition: var(--transition);
}

.page-footer a.grey-text.text-lighten-3:hover,
.page-footer a.grey-text.text-lighten-4:hover {
    color: var(--accent-color) !important;
}

.page-footer ul li {
    margin-bottom: 0.8rem;
}

.page-footer ul li a i {
    margin-right: 0.5rem;
}

.footer-copyright {
    background-color: rgba(0, 0, 0, 0.1) !important;
}

.footer-copyright .container {
    color: var(--text-color) !important;
}

/* Animation */
.line-1 {
    position: relative;
    font-size: 180%;
    text-align: center;
    color: var(--text-color);
    font-family: "Anonymous Pro", monospace;
    height: auto;
    display: inline-block;
    width: auto;
    overflow: visible;
    margin: 0.5rem 0;
}

.anim-typewriter {
    position: relative;
    display: inline-block;
}

.anim-typewriter .wrap {
    display: inline-block;
    white-space: nowrap;
    border-right: 0.08em solid var(--text-color);
    padding-right: 5px;
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: var(--text-color);
    }
}

/* Responsive Adjustments */
@media screen and (max-width: 992px) {
    .container {
        width: 95%;
    }

    .hero-content .title {
        font-size: 2rem;
    }

    .anim-typewriter {
        animation: typewriter 4s steps(30) 1s 1 normal both, blinkTextCursor 500ms steps(30) infinite normal;
    }

    @keyframes typewriter {
        from {
            width: 0;
        }

        to {
            width: 17em;
        }
    }
}

@media screen and (max-width: 600px) {
    .hero-content .title {
        font-size: 1.7rem;
    }

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

    .anim-typewriter {
        animation: typewriter 4s steps(20) 1s 1 normal both, blinkTextCursor 500ms steps(20) infinite normal;
    }

    @keyframes typewriter {
        from {
            width: 0;
        }

        to {
            width: 14em;
        }
    }

    .project-card .card-action {
        flex-direction: column;
        gap: 0.5rem;
    }
}