/* Global Styles */
:root {
    --primary-color: #00b894;
    --secondary-color: #00cec9;
    --text-color: #dfe6e9;
    --bg-color: #2d3436;
    --card-bg: #353b48;
    --accent-color: #6c5ce7;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
    transition: var(--transition);
    padding-top: 76px;
    position: relative;
    overflow-x: hidden;
}

/* Background Animation */
body::before {
    display: none;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 2rem;
    transition: all 0.3s ease;
    background: rgba(13, 17, 23, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.scrolled {
    background: rgba(13, 17, 23, 0.9);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.nav-links {
    display: flex;
    gap: 2rem;
    margin: 0 auto;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

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

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

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

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Section Styles */
section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.section-title {
    position: relative;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* Hero Section */
#hero {
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 206, 201, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(108, 92, 231, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(0, 184, 148, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(0, 206, 201, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(108, 92, 231, 0.15) 0%, transparent 40%),
        linear-gradient(135deg, var(--bg-color), var(--card-bg));
    color: var(--text-color);
    position: relative;
    overflow: hidden;
    padding-top: 120px; /* Add padding to account for fixed navbar */
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(2px 2px at 20% 30%, rgba(0, 206, 201, 0.3) 50%, transparent),
        radial-gradient(2px 2px at 40% 70%, rgba(108, 92, 231, 0.3) 50%, transparent),
        radial-gradient(2px 2px at 60% 20%, rgba(0, 184, 148, 0.3) 50%, transparent),
        radial-gradient(2px 2px at 80% 50%, rgba(0, 206, 201, 0.3) 50%, transparent);
    opacity: 0.1;
    animation: meshAnimation 15s ease-in-out infinite alternate;
}

@keyframes meshAnimation {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 0.1;
    }
    50% {
        transform: scale(1.2) rotate(5deg);
        opacity: 0.15;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.1;
    }
}

#hero .btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-color);
    border: none;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: var(--transition);
}

#hero .btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 184, 148, 0.3);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Fade-in + Scale Animation */
.hero-name {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 206, 201, 0.3);
    opacity: 0;
    transform: scale(0.9);
    animation: fadeInScale 1s ease forwards;
}

.hero-role {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    opacity: 0;
    transform: scale(0.9);
    animation: fadeInScale 1s ease forwards 0.3s;
}

.hero-location {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: scale(0.9);
    animation: fadeInScale 1s ease forwards 0.6s;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 0.9s;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.social-links a {
    color: var(--text-color);
    font-size: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.social-links a::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(0, 206, 201, 0.1);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s ease;
    z-index: -1;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-5px);
}

.social-links a:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

/* Custom Cursor */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    transform: translate(-50%, -50%);
}

.cursor.active {
    transform: translate(-50%, -50%) scale(1.5);
    background: rgba(0, 206, 201, 0.1);
}

/* Skills Section */
.skill-category {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.skill-category h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.skill-category ul {
    list-style: none;
    padding-left: 0;
}

.skill-category ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.skill-category ul li::before {
    content: '•';
    color: var(--secondary-color);
    position: absolute;
    left: 0;
}

/* Technology Scrolling Bar */
.tech-scroll-container {
    width: 100%;
    overflow: hidden;
    background: var(--card-bg);
    padding: 1rem 0;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.tech-scroll {
    display: flex;
    animation: scroll 30s linear infinite;
    white-space: nowrap;
    gap: 1rem;
    padding: 0 1rem;
}

.tech-scroll span {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--bg-color);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 0.5rem));
    }
}

.tech-scroll-container::before,
.tech-scroll-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.tech-scroll-container::before {
    left: 0;
    background: linear-gradient(to right, var(--card-bg), transparent);
}

.tech-scroll-container::after {
    right: 0;
    background: linear-gradient(to left, var(--card-bg), transparent);
}

/* Experience Section */
.experience-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.experience-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.experience-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.experience-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.project-details {
    border-left: 3px solid var(--primary-color);
    padding-left: 1rem;
    margin-top: 1rem;
}

.project-details h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Projects Section */
.project-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.project-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.project-links a {
    background-color: var(--primary-color);
    color: var(--bg-color);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    transition: var(--transition);
}

.project-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 184, 148, 0.3);
}

/* Education Section */
.education-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.education-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.education-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.education-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* Certifications Section */
#certifications ul {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    list-style: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#certifications ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

#certifications ul li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Contact Section */
.contact-info {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info p {
    margin-bottom: 1rem;
}

.contact-info i,
.contact-info .fa-brands,
.contact-info .fa-solid {
    color: var(--secondary-color);
    transition: var(--transition);
}

.contact-info a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-info a:hover,
.contact-info a:hover i,
.contact-info .fa-brands:hover,
.contact-info .fa-solid:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Override any other color definitions */
.navbar-brand i,
.btn i,
.contact-section i {
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .tech-scroll span {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .experience-item, .project-card, .education-item {
        margin-bottom: 1.5rem;
    }
    
    .navbar {
        padding: 1rem;
    }
    
    .nav-content {
        justify-content: center;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        cursor: pointer;
        z-index: 1001;
    }
    
    .menu-toggle span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: var(--primary-color);
        border-radius: 3px;
        transition: all 0.3s ease;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(13, 17, 23, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
        padding: 2rem;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.2rem;
        padding: 0.5rem 1rem;
        width: 100%;
        text-align: center;
    }
    
    .logo {
        font-size: 2rem;
        margin-right: 0;
    }
    
    .logo i {
        font-size: 2rem;
    }
    
    #hero {
        padding-top: 100px;
    }
    
    .hero-name {
        font-size: 2.5rem;
    }
    
    .hero-role {
        font-size: 1.5rem;
    }
    
    .hero-location {
        font-size: 1rem;
    }
    
    .social-links {
        gap: 1rem;
    }
    
    .social-links a {
        font-size: 1.8rem;
    }
    
    .social-links a::before {
        width: 40px;
        height: 40px;
    }
}

/* Download Button Animation */
.btn-primary {
    background: var(--secondary-color);
    border: none;
    position: relative;
    overflow: hidden;
    padding: 0.8rem 2rem;
    box-shadow: 0 0 15px rgba(0, 184, 148, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 184, 148, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary i {
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: translateY(-2px);
}

/* Contact Form Styles */
.contact-form {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-control {
    background: var(--bg-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.form-control:focus {
    background: var(--bg-color);
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 184, 148, 0.25);
    color: var(--text-color);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-label {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

/* Contact Form Button Animation */
.contact-form .btn-primary {
    margin-top: 1rem;
    background: var(--secondary-color);
    border: none;
    position: relative;
    overflow: hidden;
    padding: 0.8rem 2rem;
    box-shadow: 0 0 15px rgba(0, 184, 148, 0.3);
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 184, 148, 0.5);
}

.contact-form .btn-primary:active {
    transform: translateY(0);
}

.contact-form .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.contact-form .btn-primary:hover::before {
    left: 100%;
}

#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.logo {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
    margin-right: auto;
}

.logo:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.logo i {
    font-size: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    justify-content: center;
    width: 100%;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    min-width: 200px;
    justify-content: center;
}

.cta-button i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.cta-button.primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-color);
    box-shadow: 0 4px 15px rgba(0, 206, 201, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 206, 201, 0.4);
}

.cta-button.primary:hover i {
    transform: translateY(-2px);
}

.cta-button.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-button.secondary:hover {
    background: var(--primary-color);
    color: var(--bg-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 206, 201, 0.2);
}

.cta-button.secondary:hover i {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
} 