/* IT Security Academy Styles */
:root {
    --gold: #B8860B;
    --navy: #0A1628;
    --cyan: #00A6D6;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-gray);
    color: var(--navy);
    line-height: 1.6;
}

header {
    background-color: var(--white);
    padding: 30px 40px 10px 40px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.logo {
    width: 360px;
    height: auto;
    max-width: 90%;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

h1 {
    color: var(--navy);
    font-size: 2.5em;
    margin-bottom: 20px;
}

.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--cyan) 100%);
    color: var(--white);
    padding: 50px 40px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 40px;
    margin-top: 20px;
}

.hero h1 {
    color: var(--white);
    font-size: 3em;
}

.hero p {
    font-size: 1.2em;
    margin-top: 10px;
}

.content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.content h2 {
    color: var(--navy);
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
}

.content h2:first-of-type {
    margin-top: 20px;
}

.content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.content ul {
    margin: 15px 0 25px 20px;
    line-height: 1.9;
}

.content li {
    margin-bottom: 8px;
}

.content strong {
    color: var(--navy);
}

.content em {
    font-style: italic;
    color: var(--navy);
}

.accent {
    color: var(--cyan);
}

/* Image sections */
.intro-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 30px;
}

.intro-text {
    order: 1;
}

.intro-image {
    order: 2;
}

.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.section-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin: 40px 0;
}

.section-with-image.reverse {
    direction: rtl;
}

.section-with-image.reverse > * {
    direction: ltr;
}

.section-text {
    order: 1;
}

.section-image {
    order: 2;
}

.section-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive design */
@media (max-width: 768px) {
    .intro-section,
    .section-with-image {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-with-image.reverse {
        direction: ltr;
    }

    .intro-image,
    .section-image {
        order: 2;
    }

    .intro-text,
    .section-text {
        order: 1;
    }

    header {
        padding: 20px 20px 10px 20px;
    }

    .logo {
        width: 270px;
    }

    main {
        padding: 0 20px;
    }

    .hero {
        padding: 40px 20px;
        margin-top: 15px;
    }

    .hero h1 {
        font-size: 2em;
    }

    .content {
        padding: 25px;
    }
}

footer {
    background-color: var(--navy);
    color: var(--white);
    text-align: center;
    padding: 30px 40px;
    margin-top: 60px;
}

footer p {
    margin: 0;
    font-size: 1em;
}

footer a {
    color: var(--cyan);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--gold);
    text-decoration: underline;
}
