.header-buttons {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    }
    
    .theme-toggle button {
    background-color: #444; 
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    }
    .theme-toggle button:hover,
  .theme-toggle button:focus {
    background-color: #61dafb; 
    color: #222; 
    box-shadow: 0 4px 10px rgba(97, 218, 251, 0.6);
    outline: none;
  }
#navbar {
    background-color: #333;
    position: absolute;
    width: 120px;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    top: 60px;
    left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#navbar a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 15px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    text-decoration: none;
    transition: all 0.3s;
}
.menu-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
  }
  .menu-toggle button {
    background-color: #444; 
    border: none;
    border-radius: 8px; 
    padding: 8px 12px; 
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3); 
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  }
  .menu-toggle button:hover,
  .menu-toggle button:focus {
    background-color: #61dafb; 
    color: #222; 
    box-shadow: 0 4px 10px rgba(97, 218, 251, 0.6);
    outline: none;
  }
  

#navbar a:hover {
    background-color: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

#navbar a i {
    transition: transform 0.3s;
    font-size: 1.2rem;
}

#navbar a:hover i {
    transform: scale(1.2);
    color: #61dafb;
}
.header-buttons {
    position: fixed;
    top: 20px;
    right: 20px; 
    z-index: 1000; 
    color: cyan;
}
.menu-toggle {
    position: fixed; 
    top: 20px; 
    left: 20px; 
    z-index: 1000;
}
#navbar.hidden {
    display: none;
}
#navbar:not(.hidden) {
    display: block;
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes slideInLeft {
    from { transform: translateX(-50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes colorShift {
    0% { color: red; }
    50% { color: cyan; }
    100% { color: red; }
}

html {
    scroll-behavior: smooth;
}
header {
    background-color: #282c34; 
    color: white; 
    padding: 20px; 
    text-align: center; 
}
.services-section {
    width: 80%;
    margin: 40px auto;
    text-align: center;
}

.services-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 280px;
    padding: 20px;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.service-card h3 {
    color: #333;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    transition: color 0.3s ease;
}

body.dark-theme .service-card {
    background: #2c2c2c;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

body.dark-theme .service-card h3 {
    color: #f0f0f0;
}

body.dark-theme .service-card p {
    color: #ccc;
}

body.dark-theme .services-section h2 {
    color: #f0f0f0;
}

.boxer {
    display: flex; 
    flex-wrap: wrap; 
    justify-content: space-around; 
    margin: 20px 0;
    
}
.box {
    background-color: #f4f4f4;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    margin: 10px; 
    width: calc(30% - 20px); 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
    transition: border-color 0.3s, background-color 0.3s;
}

.box:hover {
    border-color: cyan;
    background-color: cyan; 
}
.cybersecurity-briefs {
    background-color: #e9ecef; 
    padding: 20px; 
    border-radius: 8px; 
    margin: 20px auto; 
    width: 80%;
}
.brief {
    margin-bottom: 20px; 
}
footer {
    background-color: #333; 
    color: white; 
    padding: 20px;
    text-align: center;
}
.social-links a {
    margin: 0 10px; 
    color: brown; 
    transition: color 0.3s; 
}

.social-links a:hover {
    color: #ffcc00; 
}

.form-input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.submit-btn {
    background-color: red;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.submit-btn:hover {
    background-color: #cc0000;
}

.home-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    background-color: red;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.home-btn:hover {
    background-color: #cc0000;
}

.home-btn i {
    margin-right: 5px;
}


@media (max-width: 768px) {
    .box {
        width: 90%;
        margin: 10px 0;
    }

    #navbar {
        width: 200px;
        left: 20px;
    }
}


.box {
    opacity: 0;
    transform: translateY(20px); 
    animation: fadeInUp 0.5s forwards; 
}

@keyframes fadeInUp {
    to {
        opacity: 1; 
        transform: translateY(0);
    }
}


.header-buttons {
    animation: slideIn 0.5s forwards;
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0; 
    }
    to {
        transform: translateY(0); 
        opacity: 1; 
    }
}
body.dark-theme {
    background-color: #121212;
    color: #ffffff;
}

body.dark-theme header {
    background-color: #1e1e1e;
}

body.dark-theme .box {
    background-color: #2c2c2c; 
    border: 1px solid #444; 
}

body.dark-theme .box:hover {
    border-color: cyan;  
}

body.dark-theme .cybersecurity-briefs {
    background-color: #2c2c2c;
}

body.dark-theme footer {
    background-color: #1e1e1e; 
}

body.dark-theme #navbar {
    background-color: #333; 
}
