
:root {
    --primary-color: #00f3ff; /* Tech - Cyan */
    --secondary-color: #1a1a1a;
    --accent-color: #00ff88; /* Medicine - Bright Green */
    --neon-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color);
    --dark-gradient: linear-gradient(45deg, #000000, #1a1a1a);
    --light-gradient: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    --text-font: 'Roboto Mono', monospace;
    --title-font: 'Roboto Slab', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--dark-gradient);
    color: #fff;
    font-family: var(--text-font);
    overflow-x: hidden;
    transition: background 0.3s ease;
}

/* Navigation Styles */
.top-bar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1.5rem 5%;
background: rgba(0, 0, 0, 0.8);
position: fixed;
width: 100%;
z-index: 1000;
backdrop-filter: blur(10px);
border-bottom: 1px solid var(--primary-color);
}

.logo-container {
display: flex;
align-items: center;
margin: 0 auto; /* This will center the container itself within .top-bar */
justify_content: center;
}

.logo {
width: 50px;
height: auto;
margin: 0; /* Remove any margin to ensure it's centered within its container */
}

@media (max-width: 768px) {
.logo {
width: 40px; /* Smaller on mobile */
}
.logo-container {
flex: 1; /* Allow the container to take up the full width if necessary */
justify-content: center; /* Center the logo within the container */
}
}


.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--text-font);
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--primary-color);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
}

/* Home Section */
.home {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.home::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.1) 0%, rgba(0, 0, 0, 1) 70%);
    animation: pulse 8s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.home-content h2 {
    font-family: var(--title-font);
    font-size: 5rem;
    margin-bottom: 1rem;
    background: var(--light-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.home-content p {
    font-size: 1.5rem;
    text-shadow: var(--neon-shadow);
    font-family: var(--text-font);
    animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Content Sections */
.content-section {
    padding: 10rem 5%;
    min-height: 100vh;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s, transform 1s;
}

.content-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.content-section h2 {
    font-family: var(--title-font);
    font-size: 3rem;
    margin-bottom: 2rem;
    background: var(--light-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.skill-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 0 rgba(0, 243, 255, 0);
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.skill-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--primary-color);
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light-gradient);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.skill-card:hover::before {
    opacity: 0.2;
}

.skill-card h3 {
    font-family: var(--title-font);
    font-size: 1.7rem;
    margin-bottom: 0.5rem;
    background: var(--light-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.skill-card p {
    font-size: 1.1rem;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    transition: all 0.3s;
    background: rgba(255,255,255,0.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    cursor: pointer;
    animation: fadeInUp 1s ease-out;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.project-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.3s;
    filter: grayscale(100%);
}

.project-card:hover img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.project-card:hover .project-info {
    transform: translateY(0);
}

.project-info h3 {
    font-family: var(--title-font);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.project-info p {
    font-size: 1rem;
}

/* Timeline */
.timeline {
    border-left: 3px solid var(--primary-color);
    padding-left: 2rem;
    margin: 2rem 0;
}

.timeline-item {
    position: relative;
    padding: 1.5rem;
    margin: 1rem 0;
    background: rgba(255,255,255,0.05);
    transition: all 0.3s;
    animation: fadeInUp 1s ease-out;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    left: -2.65rem;
    top: 1.5rem;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 243, 255, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 243, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 243, 255, 0); }
}

.timeline-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

/* Certifications Grid */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.cert-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    animation: fadeInUp 1s ease-out;
}

.cert-card img {
    width: 100%;
    height: auto;
    transition: transform 0.3s;
}

.cert-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px var(--primary-color);
}

.cert-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.8);
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.cert-card:hover .cert-overlay {
    transform: translateY(0);
}

/* Contact Form */
.contact-form {
    max-width: 800px;
    margin: 2rem auto;
    display: grid;
    gap: 1rem;
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    animation: fadeInUp 1s ease-out;
}

.contact-form input,
.contact-form textarea {
    background: transparent;
    border: 1px solid var(--primary-color);
    padding: 1rem;
    color: white;
    transition: border-color 0.3s, background 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent-color);
    background: rgba(255,255,255,0.05);
}

.contact-form button {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--text-font);
    font-size: 1rem;
}

.contact-form button:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.social-icon {
    font-size: 2rem;
    color: #fff;
    transition: 0.3s;
}

.social-icon:hover {
    color: var(--primary-color);
    transform: translateY(-5px);
}

/* CV Download Section */
.cv-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5rem 0;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.cv-btn {
    display: inline-block;
    padding: 1.5rem 3rem;
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--text-font);
    font-size: 1.2rem;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    cursor: pointer;
    animation: fadeInUp 1s ease-out;
}

.cv-btn:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

/* Dynamic Light Effect */
.light-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.light {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(0, 243, 255, 0.3) 0%, transparent 70%);
    animation: floatLight 10s infinite ease-in-out;
    opacity: 0;
}

@keyframes floatLight {
    0%, 100% { transform: translate(0, 0); opacity: 0.3; }
    50% { transform: translate(50vw, 50vh); opacity: 1; }
}

/* Parallax Effect */
.parallax {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -2;
}

 /* Enhanced WhatsApp Button */
.back-button {
position: fixed;
bottom: 30px;
right: 30px;
display: flex;
align-items: center;
justify-content: center;
gap: 0.8rem;
padding: 1.2rem 2.5rem;
background: linear-gradient(45deg, #093a0d, #34D466);
color: #fff;
border-radius: 50px;
text-decoration: none;
transition: var(--transition);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
z-index: 1001;
font-family: var(--title-font);
font-size: 1.3rem;
animation: pulseButton 2.5s infinite;
backdrop-filter: blur(5px);
border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes pulseButton {
0% { transform: scale(1); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2); }
50% { transform: scale(1.08); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3); }
100% { transform: scale(1); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2); }
}

.back-button:hover {
transform: scale(1.15) translateY(-5px);
background: linear-gradient(45deg, #34D466, #25D366);
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
color: #fff;
border-color: rgba(255, 255, 255, 0.4);
}



.back-button:hover i {
transform: rotate(10deg);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
.back-button {
bottom: 20px;
right: 20px;
padding: 1rem 2rem;
font-size: 1.2rem;
}


}

@media (max-width: 768px) {
.back-button {
bottom: 15px;
right: 15px;
padding: 0.8rem 1.8rem;
font-size: 1.1rem;
}
}
/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background: var(--secondary-color);
        width: 100%;
        padding: 2rem;
        transition: 0.3s;
        box-shadow: -10px 0 20px rgba(0,0,0,0.5);
    }
    .nav-links.active { right: 0; }
    .mobile-menu { display: block; }
    .home-content h2 { font-size: 3rem; }
    .project-card img { height: 250px; }
    .back-button {
        bottom: 10px;
        right: 10px;
        padding: 0.7rem 1.5rem;
        font-size: 1rem;
    }
   
    .cv-section {
        clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
    }
    .cv-btn {
        font-size: 1rem;
        padding: 1rem 2rem;
    }
    .light-effect .light {
        width: 100px;
        height: 100px;
    }
}

/* Footer Styling */
.footer {
position: relative;
width: 100%;
padding: 1.5rem 0;
background: rgba(0, 0, 0, 0.9);
backdrop-filter: blur(10px);
border-top: 1px solid rgba(0, 243, 255, 0.2);
text-align: center;
z-index: 1000;
transition: var(--transition);
}

.footer p {
font-family: var(--text-font);
font-size: 0.9rem;
color: rgba(255, 255, 255, 0.7);
text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
margin: 0;
transition: color 0.3s ease;
}

.footer:hover p {
color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
.footer {
padding: 1rem 0;
}

.footer p {
font-size: 0.8rem;
}
}

