:root {
    --primary-color: #4CAF50;
    --secondary-color: #4CAF50;
    --accent-color: #21e2f3;
    --text-color: #333;
    --bg-color: #f0f0f0;
    --white: #ffffff;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
}

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

header {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    float: left;
    font-size: 1.8rem;
    font-weight: 700;
}

@media(max-width: 768px) {
    .logo {
        font-size: 1.5rem;
    }
}

.menu-toggle {
    display: none;
}

nav {
    float: right;
}

nav ul {
    display: flex;
}

nav ul li {
    list-style: none;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-weight: 400;
}

nav ul li a:hover {
    background: rgba(255, 255, 255, 0.1);
}

#hero {
    background: linear-gradient(rgba(76, 175, 80, 0.8), rgba(76, 175, 80, 0.8)), url('https://wawacoding.com/images/world-map.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
}

#hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

#hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
    font-weight: 300;
}

.btn {
    display: inline-block;
    background: var(--accent-color);
    color: var(--text-color);
    padding: 0.8rem 1.8rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 600;
    text-decoration: none;
}

.btn:hover {
    background: #1E88E5;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(33, 150, 243, 0.3);
}

#courses,
#process,
#contact {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

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

.service-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

#process {
    background: var(--secondary-color);
    color: var(--white);
}

.process-steps {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.step {
    text-align: center;
    padding: 1rem;
    flex: 1;
    min-width: 200px;
}

.step-number {
    background: var(--white);
    color: var(--secondary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    font-weight: 700;
    font-size: 1.5rem;
}

#contact {
    background: var(--bg-color);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}

.whatsapp-btn {
    background: #25D366;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

/*Chatbot */
#chatbot-section {
    /* This ensures the section doesn't affect the layout of other elements */
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 1000;
}

#chatbot-bubble {
    position: fixed;
    bottom: 10px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

#chatbot-bubble:hover {
    transform: scale(1.1);
}

#chatbot-bubble img {
    width: 30px;
    height: 30px;
}

#chatbot-container {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 300px;
    height: 400px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease;
}

#chatbot-bubble {
    position: fixed;
    bottom: 10px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

#chatbot-bubble:hover {
    transform: scale(1.1);
}

#chatbot-bubble img {
    width: 30px;
    height: 30px;
}

#chatbot-container {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 300px;
    height: 400px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
    transition: all 0.3s ease;
}

#chatbot-container.minimized {
    height: 40px;
    overflow: hidden;
}

#chatbot-header {
    background-color: var(--primary-color);
    color: white;
    padding: 10px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#chatbot-controls {
    display: flex;
    gap: 10px;
}

#chatbot-minimize,
#chatbot-close {
    cursor: pointer;
    font-size: 18px;
}

#chatbot-messages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px;
}

#chatbot-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #eee;
}

#chatbot-input input {
    flex-grow: 1;
    border: none;
    padding: 5px;
}

#chatbot-input button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}

.chatbot-message {
    margin-bottom: 10px;
    padding: 5px 10px;
    border-radius: 5px;
    max-width: 80%;
}

.chatbot-message.user {
    background-color: #e6f3ff;
    align-self: flex-end;
    margin-left: auto;
}

.chatbot-message.bot {
    background-color: #f0f0f0;
    align-self: flex-start;
}

/*Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

.social-icons {
    margin-top: 10px;
}

.social-icons a {
    display: inline-block;
    margin: 0 10px;
}

.icon {
    width: 30px;
    /* Icon size */
    height: 30px;
    transition: transform 0.3s;
}

.icon:hover {
    transform: scale(1.1);
    /* Slight zoom on hover */
}

footer p {
    margin: 5px 0;
}

/*Responsive */
@media(max-width: 768px) {
    .menu-toggle {
        display: block;
        cursor: pointer;
        float: right;
        padding: 0.5rem;
        font-size: 1.5rem;
    }

    nav {
        float: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--primary-color);
        width: 100%;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }

    nav.active {
        transform: translateY(0);
    }

    nav ul {
        display: block;
    }

    nav ul li {
        margin: 1rem 0;
    }

    #hero h1 {
        font-size: 2.5rem;
    }

    #hero p {
        font-size: 1rem;
    }
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .service-grid {
        grid-template-columns: 1fr;
    }

    #hero h1 {
        font-size: 2.8rem;
    }

    #hero p {
        font-size: 1.1rem;
    }

    #chatbot-container {
        width: 80%;
        right: 10%;
    }
}

/* iPhone (452x791) Specific Styles */
@media (max-width: 452px) {
    body {
        padding: 0;
    }

    #hero h1 {
        font-size: 2rem;
    }

    #hero p {
        font-size: 0.9rem;
    }

    nav ul {
        font-size: 1rem;
    }

    .btn {
        font-size: 0.9rem;
        padding: 0.6rem 1.5rem;
    }

    #chatbot-container {
        width: 100%;
        height: 300px;
        border-radius: 0;
    }
}