:root {
    --primary-color: #ff6347;
    --secondary-color: #20B2AA;
    --text-color: #333;
    --bg-color: #fff;
    --light-gray: #f8f9fa;
    --gray: #6c757d;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    cursor: none;
    overflow-x: hidden;
    padding-bottom: 70px; /* Space for bottom navbar */
}

.cursor {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(255, 99, 71, 0.6);
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

.cursor-shadow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 99, 71, 0.2);
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease;
}

.container-fluid {
    padding: 0;
}

.main-content {
    padding: 2rem;
}

.navbar {
    padding: 1.5rem 2rem;
}

/* Slim hamburger button */
.navbar-toggler {
    border: none;
    padding: 0.25rem 0;
    width: 30px;
    height: 30px;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: none !important;
    display: inline-block;
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    position: relative;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
    transform: translateY(-8px);
}

.navbar-toggler-icon::after {
    transform: translateY(8px);
}

/* Offcanvas styles */
.offcanvas {
    width: 280px;
    background-color: #f8f9fa;
    border-left: 1px solid rgba(0,0,0,0.1);
}

.offcanvas-header {
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.offcanvas-body .nav-link {
    padding: 0.75rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.offcanvas-body .nav-link:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--primary-color);
    transform: translateX(5px);
}

.border-accent {
    border-top: 5px solid var(--primary-color);
    border-bottom: 5px solid var(--secondary-color);
}

/* Bottom navbar */
.bottom-navbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.bottom-text {
    font-weight: 500;
    margin: 0;
}

.donate-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(255, 99, 71, 0.3);
}

.donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 99, 71, 0.4);
}

/* About Page Specific Styles */
.section-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
}

.about-section {
    margin-bottom: 4rem;
}

.about-text {
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Skills section */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 2rem;
}

.skill-box {
    position: relative;
    width: 100px;
    height: 80px;
    background-color: var(--light-gray);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.skill-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.skill-name {
    font-weight: 600;
    margin-top: 0.5rem;
    z-index: 2;
}

.skill-proficiency {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: rgba(255, 99, 71, 0.2);
    transition: height 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: var(--text-color);
    opacity: 0;
}

.skill-box:hover .skill-proficiency {
    height: 100%;
    opacity: 1;
}

/* Education section */
.education-card {
    display: flex;
    background-color: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.education-img {
    width: 120px;
    height: 100%;
    object-fit: cover;
    border-right: 1px solid rgba(0,0,0,0.1);
}

.education-details {
    padding: 1.5rem;
    flex-grow: 1;
}

.school-name {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.major {
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.year {
    color: var(--primary-color);
    font-weight: 500;
}
/* certification section*/

.achievements-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.achievement-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
    position: relative;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #ff6347, #953a2a);
}
.achievement-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.achievement-card:hover .achievement-logo {
    transform: scale(1.05);
}

.achievement-content h5 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.achievement-date {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.show-btn {
    background: linear-gradient(45deg, #28a745, #20c997);
    border: none;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.show-btn:hover {
    background: linear-gradient(45deg, #218838, #1fa085);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    color: white;
}

.show-btn:active {
    transform: translateY(0);
}

.show-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.show-btn:hover i {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .achievements-container {
        grid-template-columns: 1fr;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .achievement-logo {
        width: 60px;
        height: 60px;
    }
}

/* Animate on scroll */
.achievement-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.achievement-card:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Footer */
footer {
    background-color: #f8f9fa;
    padding: 3rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    margin-bottom: 70px; /* Space for bottom navbar */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.footer-left {
    max-width: 350px;
    margin-bottom: 2rem;
}

.footer-title {
    font-weight: bold;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    margin-top: 2rem;
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

/* Responsive styles */
@media (max-width: 767.98px) {
    .education-card {
        flex-direction: column;
    }

    .education-img {
        width: 100%;
        height: 160px;
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }

    .skills-container {
        justify-content: center;
    }

    .footer-right {
        margin-top: 2rem;
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .main-content {
        padding: 1.5rem 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .skill-box {
        width: 100px;
        height: 100px;
    }
}