

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
}
/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background-color: white;
}

.logo img {
    height: 50px;
}

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

.navbar ul li a {
    color: #333;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 20px;
    
}
.cta-button {
    background: #2e8b57;
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #256a45;
}


header h1 {
    color: #004085;
    margin-bottom: 10px;
}

h2 {
    color: #0069d9;
}

ul {
    list-style-type: square;
    padding-left: 20px;
}

footer {
    text-align: center;
    font-size: 0.9em;
    color: #777;
}

.diagram {
    display: block;
    max-width: 100%;
    margin: 20px auto;
    border: 1px solid #ddd;
    border-radius: 8px;
}
/*footerstart*/
.footer {  
    background-color: #0a0a0a;
    color: #ffffff;
    font-family: Arial, sans-serif;
    padding: 40px 20px 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.footer-section {
    flex: 1 1 200px;
}

.footer-logo {
    width: 40px;
    margin-bottom: 10px;
}

.footer-heading {
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin: 6px 0;
}

.footer-section ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-section ul li a:hover {
    text-decoration: underline;
}

.footer-socials {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
}

.footer-socials a img {
    background: white;
    border-radius: 4px;
    padding: 5px;
    width: 30px;
    height: 30px;
}

.footer-bottom {
    margin-top: 40px;
    text-align: center;
    font-size: 0.8rem;
}

.footer-bottom hr {
    border: 0.5px solid #444;
    margin-bottom: 10px;
}

.footer-bottom p {
    color: #ccc;
}

.footer-bottom a {
    color: #ccc;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}


.main-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  max-width: 1200px;
  margin: 40px auto;
  gap: 20px;
  padding: 0 20px;
}

.main-blog {
  flex: 3;
  background-color: white;
  padding: 20px;
  border-radius: 8px;
}

.blog-image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
}

.main-blog article h2 {
  font-size: 20px;
  margin-top: 20px;
  color: #0066cc;
}

.main-blog p {
  line-height: 1.7;
  font-size: 16px;
  margin-top: 10px;
}

.conclusion {
  font-weight: bold;
  padding-top: 15px;
  border-top: 1px solid #ccc;
}

.sidebar {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.widget {
  background-color:whitesmoke;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.widget h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #2c3e50;
}

.widget ul {
  list-style: none;
}

.widget ul li {
  margin-bottom: 8px;
}

.widget ul li a {
  color: #0077cc;
  text-decoration: none;
}

.widget ul li a:hover {
  text-decoration: underline;
}

.Two {
  background-image: url('cyberbg.PNG');
  background-size: cover;
  background-position: center;
  color: black;
  padding: 100px 20px;
  text-align: center;
  font-size: 30px;
}

.Two-text h1 {
  font-size: 48px;
  margin-bottom: 20px;
  
}

.Two-text button {
  padding: 10px 25px;
  background-color: #2e7d32;
  color: white;
  border: none;
  font-size: 16px;
  cursor: pointer;
}
/* ---------- RESPONSIVE BREAKPOINTS ---------- */
.menu-toggle {
  display: none; 
  font-size: 28px;
  cursor: pointer;
  color: #333; 
}

/* Show menu icon on tablets and phones */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .navbar ul {
    display: none; 
    flex-direction: column;
    background-color: white;
    position: absolute;
    top: 70px; 
    right: 20px;
    width: 200px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .navbar ul.active {
    display: flex;
  }

  .navbar ul li {
    margin: 10px 0;
  }
}
