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

/* Body and Fonts */
body {
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f4f4f9;
    margin: 0;
}

/* Header */
header {
    background-color: #333;
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1.2rem;
    font-weight: 300;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 1rem;
    background-color: #444;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ffd700;
}

/* Styling for the promotional banner placeholder */
.banner-placeholder {
    width: 728px;
    height: 90px;
    background-color: #e0e0e0;
    color: #555;
    font-size: 1rem;
    text-align: center;
    display: flex;
    align-items: justify;
    justify-content: center;
    margin: 1rem auto;
    border: 1px dashed #aaa;
}
/* Dark Mode */
body.dark-mode {
    background-color: #121212;
    color: #ffffff;
}
body.dark-mode header, body.dark-mode nav, body.dark-mode footer {
    background-color: #1c1c1c;
    color: #ffffff;
}

/* Dark Mode Toggle Button */
#darkModeToggle {
    position: fixed;
    top: 10px;
    right: 10px;
    padding: 10px;
    cursor: pointer;
}

/* Back-to-Top Button */
#backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px;
    background-color: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    display: none;
    border-radius: 5px;
}

/* Collapsible Sections */
.collapsible h3 {
    cursor: pointer;
    padding: 10px;
    background-color: #eee;
    margin-top: 1rem;
    border: 1px solid #ccc;
}
.collapsible .content {
    display: none;
    padding: 10px;
    border: 1px solid #ccc;
}
.collapsible .content.visible {
    display: block;
}ding: 2rem;
    background: url('cybersecurity-background.jpg') no-repeat center center/cover;
    color: #fff;
}

/* Sections */
section {
    padding: 2rem 5%;
    max-width: 1200px;
    margin: auto;
}

/* Product & News Cards */
.product, .news-item, .resource, .about {
    background-color: #fff;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 1rem 0;
    transition: transform 0.3s;
}

.product:hover, .news-item:hover, .resource:hover, .about:hover {
    transform: scale(1.02);
}

h3 {
    color: #333;
}

/* Buttons */
button, .product a, .news-item a, .resource a, .about a{
    display: inline-block;
    padding: 0.5rem 1rem;
    margin-top: 0.5rem;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

button:hover, .product a:hover, .news-item a:hover, .resource a:hover, .about a:hover {
    background-color: #ffd700;
}
/* About Section Styling */
#about {
background-color: #f5f5f5;
padding: 60px 20px;
text-align: justify;
}

.about-container {
max-width: 800px;
margin: 0 auto;
}

#about h2 {
font-size: 2.5em;
color: #333;
margin-bottom: 20px;
}

#about p {
font-size: 1.2em;
line-height: 1.6;
color: #555;
margin-bottom: 20px;
}

#about strong {
color: #007bff; /* Highlight for website name */
}
/* Subscription Form */
form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 1rem auto;
}

form input[type="email"] {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 1rem;
}

form button {
    padding: 0.7rem;
    font-size: 1rem;
    cursor: pointer;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.9rem;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }

    .product, .news-item, .resource {
        margin: 1rem;
    }
}