@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;700;900&display=swap');
:root {
    --deep-teal: #0c6794;
    --ocean-blue: #0d5468;
    --vibrant-teal: #0c6794;
    --sunshine: #53ddf5;
    --coral: #0f3342;
    --light-teal: #e0f7fa;
    --text: #333;
    --text-light: #7f8c8d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Cairo;
}

body {
    background-color: #f5f7fa;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: all 0.3s ease;
}


.side-nav {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    right: 0;
    background-color: #0C6794;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    z-index: 1000;
}

.side-nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.side-nav ul li {
    padding: 16px;
    text-align: right;
}

.side-nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    display: block;
    transition: 0.3s;
}

.side-nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
}

.menu-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: white; /* Make the icon white */
    background-color: #0C6794; /* Circle background color */
    width: 50px;
    height: 50px;
    border-radius: 50%; /* Makes it a circle */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1100;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional: add a nice shadow */
    transition: background-color 0.3s;
}

.menu-btn:hover {
    background-color: #08597c; /* Darker on hover */
}


.btn{
    text-decoration: none;
    color: #fff;    
}

/*.container {*/
/*    max-width: 1200px;*/
/*    margin: 0 auto;*/
/*    padding: 20px;*/
/*}*/

/*header {*/
/*    background: linear-gradient(135deg, var(--deep-teal), var(--ocean-blue));*/
/*    color: white;*/
/*    padding: 60px 20px;*/
/*    text-align: center;*/
/*    position: relative;*/
/*    overflow: hidden;*/
/*    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);*/
/*}*/

/*header::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 0;*/
/*    right: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.05)" d="M0,0 L100,0 L100,100 Q50,80 0,100 Z"></path></svg>');*/
/*    background-size: 100% 100%;*/
/*    opacity: 0.3;*/
/*}*/

header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease;
}

header p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    animation: fadeIn 1.5s ease;
}

.logo {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: bounceIn 1s ease;
}

.logo i {
    margin-left: 15px;
    color: var(--sunshine);
    text-shadow: 0 0 10px rgba(245, 181, 83, 0.5);
}

.course-overview {
    background-color: white;
    border-radius: 15px;
    padding: 40px;
    margin: -30px auto 50px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    max-width: 90%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 1s ease;
}

.course-overview:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.section-title {
    color: var(--deep-teal);
    margin-bottom: 25px;
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--sunshine), var(--coral));
    border-radius: 2px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature-card {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border-top: 4px solid var(--vibrant-teal);
    position: relative;
    overflow: hidden;
    animation: fadeIn 1s ease;
    animation-fill-mode: both;
}

.feature-card:nth-child(1) { animation-delay: 0.2s; }
.feature-card:nth-child(2) { animation-delay: 0.4s; }
.feature-card:nth-child(3) { animation-delay: 0.6s; }

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 126, 140, 0.1), transparent);
    z-index: 0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-card h3 {
    color: var(--deep-teal);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.feature-card h3 i {
    margin-left: 15px;
    color: var(--vibrant-teal);
    font-size: 1.5rem;
}

.feature-card p {
    position: relative;
    z-index: 1;
}

.certificate {
    background: linear-gradient(135deg, var(--deep-teal), var(--ocean-blue));
    color: white;
    padding: 50px 30px;
    border-radius: 15px;
    margin-bottom: 50px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    animation: fadeIn 1s ease;
}

.certificate::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(245, 181, 83, 0.1) 0%, transparent 70%);
    animation: pulse 8s infinite linear;
}

.certificate h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
}

.certificate .highlight {
    font-size: 3rem;
    font-weight: bold;
    color: var(--sunshine);
    margin: 25px 0;
    position: relative;
    text-shadow: 0 0 10px rgba(245, 181, 83, 0.3);
    animation: pulseGlow 2s infinite alternate;
}

.certificate p {
    max-width: 800px;
    margin: 0 auto 30px;
    position: relative;
    font-size: 1.1rem;
}

.modules {
    margin-bottom: 50px;
}

.module {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border-left: 4px solid var(--vibrant-teal);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease;
    animation-fill-mode: both;
}

.module:nth-child(1) { animation-delay: 0.1s; }
.module:nth-child(2) { animation-delay: 0.2s; }
.module:nth-child(3) { animation-delay: 0.3s; }
.module:nth-child(4) { animation-delay: 0.4s; }
.module:nth-child(5) { animation-delay: 0.5s; }
.module:nth-child(6) { animation-delay: 0.6s; }

.module:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.module h3 {
    color: var(--deep-teal);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    font-size: 1.5rem;
}

.module h3 i {
    margin-left: 15px;
    color: var(--vibrant-teal);
    font-size: 1.8rem;
}

.module-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.topic {
    background-color: var(--light-teal);
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-left: 3px solid var(--vibrant-teal);
    position: relative;
    overflow: hidden;
}

.topic:hover {
    background-color: #b2ebf2;
    transform: translateX(-5px);
}

.topic::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--sunshine), var(--coral));
    transition: width 0.3s ease;
}

.topic:hover::before {
    width: 5px;
}

.topic i {
    color: var(--vibrant-teal);
    margin-left: 10px;
}

.software-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
}

.software-item {
    background-color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.software-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background-color: var(--light-teal);
}

.software-item i {
    margin-left: 10px;
    color: var(--vibrant-teal);
}

/*footer {*/
/*    background: linear-gradient(135deg, var(--deep-teal), var(--ocean-blue));*/
/*    color: white;*/
/*    text-align: center;*/
/*    padding: 40px 20px;*/
/*    position: relative;*/
/*    overflow: hidden;*/
/*}*/

/*footer::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 0;*/
/*    right: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.05)" d="M0,100 L100,0 L100,100 Z"></path></svg>');*/
/*    background-size: 100% 100%;*/
/*    opacity: 0.3;*/
/*}*/

.instructor {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto;
    max-width: 500px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    position: relative;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.instructor img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 20px;
    border: 3px solid var(--sunshine);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.instructor-info {
    text-align: right;
}

.instructor-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: white;
}

.instructor-info p {
    color: rgba(255, 255, 255, 0.8);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(to right, var(--sunshine), var(--coral));
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(245, 181, 83, 0.4);
    position: relative;
    overflow: hidden;
    border: none;
    font-size: 1.1rem;
    animation: pulse 2s infinite;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245, 181, 83, 0.6);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.cta-button:hover::before {
    transform: translateX(100%);
}

.watermark {
    position: absolute;
    font-size: 20rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.03);
    z-index: 0;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    pointer-events: none;
    user-select: none;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from { 
        opacity: 0;
        transform: translateY(-20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    from { 
        opacity: 0;
        transform: scale(0.8);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes pulseGlow {
    0% { text-shadow: 0 0 10px rgba(245, 181, 83, 0.3); }
    100% { text-shadow: 0 0 20px rgba(245, 181, 83, 0.6); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2.2rem;
    }
    
    header p {
        font-size: 1.1rem;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    .certificate .highlight {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .module-content {
        grid-template-columns: 1fr;
    }
    
    .instructor {
        flex-direction: column;
        text-align: center;
    }
    
    .instructor img {
        margin-left: 0;
        margin-bottom: 15px;
    }

    /* Mobile sidenav */
    .sidenav {
        width: 80%;
        right: -80%;
    }
}

/* Floating animation for decorative elements */
.floating {
    animation: float 6s ease-in-out infinite;
}

/* Decorative shapes */
.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--sunshine);
    top: -150px;
    right: -150px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--coral);
    bottom: -100px;
    left: -100px;
}
/* Course Navigation */
/* Update the course-nav styles to position it below the header */
.course-nav {
    /* position: sticky; */
    top: 0;
    z-index: 1050;
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, var(--deep-teal), var(--ocean-blue));
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.course-nav button {
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: Cairo;
    font-weight: 500;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.course-nav button.active {
    background: var(--sunshine);
    color: var(--coral);
    box-shadow: 0 5px 15px rgba(83,221,245,0.4);
}

.course-nav button:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.3);
}

/* Update menu button positioning */
.menu-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: white;
    background-color: #0C6794;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1100;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

/* Ensure course sections take full width */
.course-section {
    width: 100%;
}