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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background-color: #050a27;
    color: #ffffff;
    line-height: 1.6;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: #ffffff;
}

section {
    padding: 5rem 0;
}

/* Button Styles */
.btn {
    display: inline-block;
    background-color: #2229e2;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    margin-top: 1rem;
}

.btn:hover {
    background-color: #1a20b6;
    transform: translateY(-2px);
}

/* Header Styles */
header {
    padding: 1.5rem 0;
    background-color: #050a27;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo-container h1 {
    color: white;
    text-align: center;
    letter-spacing: 1px;
    background-color: #2229e2;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    display: inline-block;
}

/* Hero Section */
.hero-section {
    padding-top: 8rem;
    background-color: #050a27;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-text {
    flex: 1;
    margin-bottom: 2rem;
}

.hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.hero-image {
    flex: 1;
    margin-top: 2rem;
}

/* Tools Section */
.tools-section {
    background-color: #080d34;
}

.tools-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.tools-image {
    flex: 1;
}

.tools-text {
    flex: 1;
}

/* Security Section */
.security-section {
    background-color: #050a27;
}

.security-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.security-text {
    flex: 1;
}

.security-image {
    flex: 1;
}

/* Courses Section */
.courses-section {
    background-color: #080d34;
    text-align: center;
}

.courses-section h2 {
    margin-bottom: 3rem;
}

.courses-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.course-card {
    background-color: #050a27;
    border-radius: 8px;
    overflow: hidden;
    padding-bottom: 2rem;
}

.course-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.course-card h3 {
    padding: 1.5rem 1rem 0.5rem;
    font-size: 1.2rem;
}

.course-card p {
    padding: 0 1rem 1rem;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    background-color: #050a27;
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-text {
    flex: 1;
    margin-bottom: 2rem;
}

.contact-form-container {
    flex: 1;
    width: 100%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.contact-form input,
.contact-form textarea {
    padding: 0.8rem;
    border-radius: 4px;
    border: none;
    width: 100%;
    background-color: #0c1145;
    color: white;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #a0a0a0;
}

.contact-image {
    display: none;
}

/* Footer Styles */
footer {
    background-color: #2229e2;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

.footer-info {
    flex: 1;
}

.footer-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact {
    flex: 1;
}

.footer-link {
    margin: 0 0.5rem;
}

/* Media Queries */
@media (min-width: 768px) {
    .hero-content,
    .tools-content,
    .security-content {
        flex-direction: row;
        gap: 3rem;
    }

    .tools-content {
        flex-direction: row-reverse;
    }

    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-content {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .contact-text {
        width: 100%;
    }

    .contact-form-container {
        width: 50%;
    }

    .contact-image {
        display: block;
        width: 50%;
    }

    .footer-content {
        flex-direction: row;
        text-align: left;
    }

    .footer-links {
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
}

@media (max-width: 767px) {
    .hero-text h2 {
        font-size: 1.8rem;
    }

    .security-content,
    .tools-content {
        text-align: center;
    }

    .contact-form-container {
        width: 100%;
    }
}