: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 */
.whatsapp-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, #25D366, #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); }
}

.whatsapp-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);
}

.whatsapp-button i {
    font-size: 1.8rem;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.whatsapp-button:hover i {
    transform: rotate(10deg);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .whatsapp-button {
        bottom: 20px;
        right: 20px;
        padding: 1rem 2rem;
        font-size: 1.2rem;
    }

    .whatsapp-button i {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .whatsapp-button {
        bottom: 15px;
        right: 15px;
        padding: 0.8rem 1.8rem;
        font-size: 1.1rem;
    }

    .whatsapp-button i {
        font-size: 1.3rem;
    }
}

@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; }
    .whatsapp-button {
        bottom: 10px;
        right: 10px;
        padding: 0.7rem 1.5rem;
        font-size: 1rem;
    }
    .whatsapp-button i {
        font-size: 1.2rem;
    }
    .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;
    }
}

/* Video Course Section */
#video-course {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 12rem 5%;
    background: var(--dark-gradient);
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 2rem auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 243, 255, 0.2);
    transition: var(--transition);
}

.course-video {
    width: 100%;
    height: auto;
    display: block;
    background: rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.video-container:hover .course-video {
    transform: scale(1.05);
}

.course-description {
    position: relative;
    z-index: 2;
    background: rgba(26, 26, 26, 0.85);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 243, 255, 0.2);
    max-width: 900px;
    text-align: left;
    transition: var(--transition);
    margin-top: 2.5rem;
}

.course-description p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
    font-family: var(--text-font);
    font-weight: 400;
    letter-spacing: 0.5px;
}

.course-description p:first-child {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    text-shadow: var(--neon-shadow);
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 243, 255, 0.3);
}

.course-description ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.course-description li {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: var(--transition);
    border: 1px solid rgba(0, 243, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.course-description li:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 243, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.2);
    color: #fff;
}

.course-description li::before {
    content: '➤';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    font-size: 1.4rem;
    text-shadow: var(--neon-shadow);
    transition: color 0.3s ease;
}

.course-description li:hover::before {
    color: var(--primary-color);
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: var(--light-gradient);
    color: var(--secondary-color);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--title-font);
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin-top: 2rem;
    text-align: center;
    display: block;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
    color: #fff;
}

.cta-button i {
    margin-left: 0.5rem;
    font-size: 1.2rem;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    #video-course {
        padding: 10rem 4%;
    }

    .video-container {
        max-width: 700px;
    }

    .course-description {
        padding: 2.5rem;
        max-width: 700px;
    }

    .course-description p {
        font-size: 1.2rem;
    }

    .course-description p:first-child {
        font-size: 1.3rem;
    }

    .course-description ul {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .course-description li {
        font-size: 1.1rem;
        padding: 0.8rem 0.8rem 0.8rem 2.5rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
        max-width: 220px;
    }
}

@media (max-width: 768px) {
    #video-course {
        padding: 8rem 3%;
    }

    .video-container {
        max-width: 90%;
    }

    .course-description {
        padding: 2rem;
        max-width: 90%;
    }

    .course-description p {
        font-size: 1.1rem;
    }

    .course-description p:first-child {
        font-size: 1.2rem;
    }

    .course-description ul {
        gap: 1rem;
    }

    .course-description li {
        font-size: 1rem;
        padding: 0.6rem 0.6rem 0.6rem 2rem;
    }

    .course-description li::before {
        font-size: 1.2rem;
        left: 0.8rem;
    }

    .cta-button {
        padding: 0.8rem 1.8rem;
        font-size: 0.9rem;
        max-width: 200px;
    }
}

/* Course Title Wrapper */
.course-title {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

/* Course Title (h3) */
#video-course h3 {
    font-family: var(--fun-font);
    font-size: 2.5rem;
    background: var(--light-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: var(--neon-shadow);
    text-align: center;
    line-height: 1.2;
    margin: 0;
    transition: var(--transition);
}

/* Coming Text */
.coming-text {
    font-family: var(--title-font);
    font-size: 1.8rem;
    color: var(--accent-color);
    text-shadow: var(--neon-shadow);
    background: rgba(0, 255, 136, 0.1); /* Subtle green background */
    padding: 0.5rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 136, 0.3);
    position: relative;
    animation: popUp 1.5s ease-in-out infinite alternate;
    transform-origin: center;
    display: inline-block;
    z-index: 2;
}

/* Pop-up Animation */
@keyframes popUp {
    0% {
        transform: scale(1) translateY(0);
        opacity: 0.8;
        box-shadow: 0 5px 15px rgba(0, 255, 136, 0.2);
    }
    100% {
        transform: scale(1.15) translateY(-10px);
        opacity: 1;
        box-shadow: 0 10px 30px rgba(0, 255, 136, 0.4);
    }
}

/* Hover Effect */
.course-title:hover .coming-text {
    color: var(--primary-color);
    background: rgba(0, 243, 255, 0.1);
    border-color: rgba(0, 243, 255, 0.3);
    animation-play-state: paused; /* Pauses animation on hover for focus */
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    #video-course h3 {
        font-size: 2.2rem;
    }

    .coming-text {
        font-size: 1.6rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 768px) {
    .course-title {
        flex-direction: column;
        gap: 0.5rem;
    }

    #video-course h3 {
        font-size: 1.8rem;
    }

    .coming-text {
        font-size: 1.4rem;
        padding: 0.3rem 0.6rem;
    }

    @keyframes popUp {
        0% {
            transform: scale(1) translateY(0);
            opacity: 0.8;
            box-shadow: 0 5px 15px rgba(0, 255, 136, 0.2);
        }
        100% {
            transform: scale(1.1) translateY(-5px);
            opacity: 1;
            box-shadow: 0 8px 25px rgba(0, 255, 136, 0.4);
        }
    }
}

/* Video Container (Existing, Enhanced) */
.video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 2rem auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 243, 255, 0.2);
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.05);
}

/* Video Embed Wrapper */
.video-embed-wrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9 aspect ratio (9/16 = 0.5625) */
    width: 100%;
    height: 0;
    overflow: hidden;
}

/* Video Iframe */
.video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    padding: 0;
    margin: 0;
    transition: transform 0.3s ease;
}

/* Hover Effect */
.video-container:hover .video-iframe {
    transform: scale(1.05);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .video-container {
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .video-container {
        max-width: 90%;
    }
}

/* Coursera Card Styling */
.coursera-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px; /* Matches height of other cert cards */
    border: 1px solid rgba(0, 243, 255, 0.2);
}

.coursera-content {
    text-align: center;
    padding: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.coursera-icon {
    font-size: 3rem;
    color: var(--primary-color);
    text-shadow: var(--neon-shadow);
    transition: var(--transition);
}

.coursera-content p {
    font-family: var(--text-font);
    font-size: 1.2rem;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.coursera-content a {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--light-gradient);
    color: var(--secondary-color);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--title-font);
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.coursera-content a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
    color: #fff;
}

/* Hover Effect for Coursera Card */
.coursera-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 243, 255, 0.2);
    border-color: rgba(0, 243, 255, 0.3);
}

.coursera-card:hover .coursera-icon {
    color: var(--accent-color);
    transform: scale(1.2);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .coursera-card {
        min-height: 180px;
    }

    .coursera-icon {
        font-size: 2.8rem;
    }

    .coursera-content p {
        font-size: 1.1rem;
    }

    .coursera-content a {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .coursera-card {
        min-height: 160px;
    }

    .coursera-icon {
        font-size: 2.5rem;
    }

    .coursera-content p {
        font-size: 1rem;
    }

    .coursera-content a {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}
