/* Base Styles */
:root {
    --primary-color: #0e3052; /* Navy */
    --secondary-color: #20a39e; /* Teal */
    --accent-color: #4cc9f0; /* Bright blue */
    --gradient-start: #0e3052;
    --gradient-end: #1a5f7a;
    --light-color: #f2f2f2;
    --dark-color: #333333;
    --transition: all 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #ffffff;
    overflow-x: hidden;
    padding-top: 70px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--dark-color);
    font-weight: 600;
    position: relative;
    padding: 5px 0;
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

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

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

.header-scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
}

h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: var(--transition);
}

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

/* Hero Section - Redesigned */
.hero-section {
    min-height: 100vh;
    background-color: #0a3553; /* Darker blue background */
    color: #fff;
    display: flex;
    position: relative;
    margin-top: -70px;
    overflow: hidden;
    align-items: center;
    justify-content: center;
}

.overlay-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/coding-image.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 1;
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-section .container {
    position: relative;
    z-index: 3;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 850px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    margin-top: 60px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
    color: #4cc9f0; /* Bright blue */
}

.hero-tagline {
    font-size: 1.6rem;
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-tagline .emphasis {
    color: #4cc9f0;
    font-weight: 600;
}

.cta-container {
    margin-bottom: 50px;
}

.cta-button.primary {
    background-color: #20a39e;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 8px 20px rgba(32, 163, 158, 0.4);
    transition: all 0.3s ease;
    border: none;
}

.cta-button.primary:hover {
    background-color: #1c918c;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(32, 163, 158, 0.6);
}

.hero-features {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    font-size: 0.9rem;
}

.feature i {
    color: #4cc9f0;
}

.hero-image {
    flex: 1;
    max-width: 500px;
    position: relative;
    animation: fadeIn 1s ease forwards 0.8s;
    opacity: 0;
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-image img.floating {
    animation: float 6s ease-in-out infinite;
}

.code-overlay {
    position: absolute;
    top: 20px;
    right: -30px;
    background-color: rgba(14, 48, 82, 0.9);
    border-radius: 8px;
    padding: 15px;
    width: 300px;
    font-family: monospace;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: rotate(5deg);
    animation: fadeInRight 0.8s ease forwards 1.5s;
    opacity: 0;
}

.code-overlay pre {
    margin: 0;
    white-space: pre-wrap;
    font-size: 0.85rem;
    color: #4cc9f0;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: fadeInUp 1s ease forwards 2s;
    opacity: 0;
}

.scroll-indicator a {
    color: white;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-indicator i {
    animation: bounce 2s infinite;
}

/* Module Description */
.module-description {
    background-color: var(--light-color);
    text-align: center;
}

.module-description p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.3rem;
}

/* Cards Layout */
.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    padding: 30px;
    width: calc(25% - 30px);
    min-width: 250px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Core Topics */
.core-topics {
    background-color: #fff;
}

/* Assessment */
.assessment {
    background-color: var(--light-color);
}

/* Contact Section */
.contact {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
}

.contact h2 {
    color: #fff;
}

/* Testimonials Section */
.testimonials {
    background-color: #f9f9f9;
    text-align: center;
    padding: 80px 0;
}

.testimonials-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}

.testimonial-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 800px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.quote-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    opacity: 0.3;
    margin-bottom: 10px;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    font-style: italic;
    color: var(--dark-color);
    margin-bottom: 25px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--secondary-color);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px) rotate(5deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotate(5deg);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Skills Section */
.skills {
    background-color: var(--light-color);
    padding: 100px 0;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.skill-category {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    width: calc(33.33% - 30px);
    min-width: 300px;
    opacity: 0;
    transform: translateY(30px);
}

.skill-category.card {
    min-width: 300px;
    width: calc(33.33% - 30px);
    padding: 0;
    transition: var(--transition);
    text-align: left;
    display: flex;
    flex-direction: column;
}

.skill-category.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.skill-header {
    padding: 30px 30px 15px;
    text-align: center;
}

.skill-header i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: block;
}

.skill-content {
    padding: 0 30px 30px;
}

.skill-item {
    margin-bottom: 20px;
    position: relative;
}

.skill-item:last-child {
    margin-bottom: 0;
}

.skill-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.skill-header {
    padding: 30px 30px 15px;
    text-align: center;
}

.skill-header i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: block;
}

.skill-header h3 {
    margin: 0;
    color: var(--secondary-color);
    font-size: 1.8rem;
}

.skill-content {
    padding: 0 30px 30px;
}

.skill-item {
    margin-bottom: 20px;
    position: relative;
}

.skill-item:last-child {
    margin-bottom: 0;
}

.skill-item h4 {
    color: var(--primary-color);
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-description p {
    margin: 0;
    font-size: 1rem;
    color: var(--dark-color);
    line-height: 1.5;
    text-align: left;
}

.skill-sub-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.skill-tag {
    background: var(--secondary-color);
    color: white;
    font-size: 0.85rem;
    padding: 4px 12px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    transition: var(--transition);
}

.skill-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(32, 163, 158, 0.3);
}

/* Responsive adjustments for skills section */
@media screen and (max-width: 768px) {
    .skills {
        padding: 80px 0;
    }
    
    .skills-container {
        grid-template-columns: 1fr;
    }
    
    .skill-header h3 {
        font-size: 1.5rem;
    }
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .card {
        width: calc(50% - 30px);
    }

    .hero-section .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .cta-container {
        justify-content: center;
    }
    
    .hero-image {
        max-width: 400px;
    }
    
    .code-overlay {
        right: 0;
        top: 10px;
        width: 250px;
    }
}

@media screen and (max-width: 768px) {
    section {
        padding: 70px 0;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .hero-tagline {
        font-size: 1.2rem;
    }
    
    .module-description p {
        font-size: 1.1rem;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        display: block;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 3rem;
    }
    
    .hero-tagline {
        font-size: 1.4rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-image {
        max-width: 300px;
    }
    
    .code-overlay {
        position: relative;
        top: -20px;
        right: 0;
        margin: 0 auto;
        transform: rotate(0);
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .card {
        width: 100%;
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.2rem;
    }
    
    .cta-container {
        flex-direction: column;
        gap: 15px;
    }
}