/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(149,178,176, 0.7);
    color: #0f0f0f;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.navbar .current-page {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
}

.navbar .hamburger {
    display: none;
    font-size: 1.5em;
    background: none;
    border: none;
    cursor: pointer;
}

.navbar ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.navbar ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s;
}

.navbar ul li a.active {
    color: #ffdd57;
}

.navbar ul li a:hover {
    color: #ffdd57;
}

/* Hidden Menu for Mobile View */
@media (max-width: 768px) {
    .navbar .hamburger {
        display: block;
    }

    .navbar ul {
        display: none;
        position: absolute;
        top: 60px;
        right: 20px;
        background: #fff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        border-radius: 8px;
        flex-direction: column;
        gap: 15px;
        padding: 10px 20px;
        z-index: 1000;
    }

    .navbar ul.active {
        display: flex;
    }
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    overflow: hidden;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.content-overlay {
    position: relative;
    z-index: 2;
}
.header-content {
        position: relative;
        height: 120vh;
        color: #030303;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        z-index: 3;
        background: url('Photos/headphoto.jpg') no-repeat center center/cover;
        background-size: cover;
    }

.header-content h1 {
    font-size: 3em;
    font-weight: 700;
}

.header-content p {
    font-size: 1.5em;
    margin-top: 10px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .header-content h1 {
        font-size: 2.5em;
    }

    .header-content p {
        font-size: 1.2em;
        font-weight: bold;
      
    }
}

@media (max-width: 480px) {
    .header-content h1 {
        font-size: 2em;
    }

    .header-content p {
        font-size: 1em;
        font-weight: bold;
    }
}

.about-me {
    max-width: 800px;
    margin: 100px auto;
    text-align: center;
    padding: 40px;
    border-radius: 15px;
    background: rgba(149,178,176, 0.7);
    color: #0f0f0f;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 2;
    position: relative;
    transition: background 0.3s ease;
}

.about-me h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.about-me p {
    font-size: 1.2em;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .about-me {
        padding: 20px;
    }

    .about-me h2 {
        font-size: 2em;
    }

    .about-me p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .about-me h2 {
        font-size: 1.8em;
    }

    .about-me p {
        font-size: 0.9em;
    }
}

.slideshow-container {
    position: relative;
    max-width: 800px;
    margin: 50px auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    background: #00000000;
}

.slide {
    display: none;
    text-align: center;
}

.slide img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.caption {
        text-align: center;
        padding: 10px;
        font-size: 1.2em;
        color: #000000;
        background: rgba(149,178,176, 0.7);
        border-radius: 10px;
        margin-top: 10px;
    }


.slideshow-container .prev,
.slideshow-container .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 10px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    z-index: 2;
}

.slideshow-container .prev {
    left: 10px;
}

.slideshow-container .next {
    right: 10px;
}

.dot-container {
    text-align: center;
    margin-top: 10px;
}

.dot {
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #717171;
}

.skills {
max-width: 800px;
margin: 50px auto;
text-align: center;
padding: 40px;
border-radius: 15px;
background: rgba(149,178,176, 0.7);
color: #0f0f0f;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
overflow: hidden;
}

.skills h2 {
font-size: 2.5em;
margin-bottom: 20px;
}

.skills .skills-list {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
}

.skills .skill-item {
background: rgba(255, 255, 255, 0.3);
padding: 20px;
border-radius: 10px;
text-align: center;
width: calc(33.333% - 20px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
overflow: hidden;
transition: transform 0.3s;
}

.skills .skill-item:hover {
transform: scale(1.05);
}

.skills .skill-item i {
font-size: 2.5em;
color: #1E2A78;
margin-bottom: 15px;
}

.skills .skill-item h3 {
font-size: 1.3em;
color: #050461;
margin-bottom: 10px;
}

.skills .skill-item p {
font-size: 1em;
color: #080808;
line-height: 1.4;
margin: 0;
}

@media (max-width: 768px) {
.skills .skill-item {
    width: calc(50% - 20px);
}
}

@media (max-width: 480px) {
.skills .skill-item {
    width: 100%;
}
}

.linkedin {
    max-width: 800px;
    margin: 50px auto;
    text-align: center;
    padding: 40px;
    border-radius: 15px;
    background: rgba(149,178,176, 0.7);
    color: #0f0f0f;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.linkedin h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.linkedin p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 10px;
    font-weight: bold;
}

.linkedin a.linkedin-button {
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: #0077b5;
    color: #fff;
    font-size: 1.2em;
    text-decoration: none;
    transition: background-color 0.3s;
}

.linkedin a.linkedin-button:hover {
    background-color: #005983;
}

.contact-options {
    margin-top: 20px;
    font-weight: bold;
   
}

.contact-button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    background: #ffd700;
    color: #0a0a0a;
    font-size: 1.2em;
    text-decoration: none;
    margin-left: 5px;
    margin-right: 5px;
    transition: background-color 0.3s, transform 0.2s;
}

.contact-button:hover {
    background: #1E2A78;
    color: #fff;
    transform: scale(1.05);
}

.cta-btn {
    padding: 15px 30px;
    background: #ffd700;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    margin: 10px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}




@media (max-width: 768px) {
    .linkedin h2 {
        font-size: 2em;
    }

    .linkedin p {
        font-size: 1em;
    }

    .linkedin a.linkedin-button,
    .contact-button {
        padding: 8px 15px;
        margin-top: 8px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .linkedin h2 {
        font-size: 1.8em;
    }

    .linkedin p {
        font-size: 0.9em;
    }
}
.footer {
    background: rgba(149,178,176, 0.7);
    color: #0f0f0f;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}

.footer p {
    margin: 0;
    font-size: 1em;
}

@media (max-width: 768px) {
    .footer {
        padding: 15px;
    }

    .footer p {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .footer p {
        font-size: 0.8em;
    }
}


.news-feed {
padding: 40px 20px;
background: #f4f4f400;
}

.news-feed h2 {
text-align: center;
font-size: 2.5em;
margin-bottom: 20px;
color: #fafbfd;
}

#news-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
}

.news-item {
padding: 20px;
background: #fff;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.3s;
}

.news-item:hover {
transform: scale(1.05);
}

.news-item h3 {
font-size: 1.2em;
margin-bottom: 10px;
}

.news-item p {
font-size: 1em;
color: #666;
}

.news-item a {
text-decoration: none;
color: #1E2A78;
font-weight: bold;
display: block;
margin-top: 10px;
}

@media (max-width: 768px) {
.news-feed h2 {
    font-size: 2em;
}
#news-container {
    grid-template-columns: 1fr;
}
.news-item {
    padding: 15px;
}
}
.cta-btn {
    padding: 15px 30px;
    background: #ffd700;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    margin: 10px;
    font-weight: bold;
    transition: background 0.3s ease-in-out;
}

.cta-btn:hover {
    background: #1E2A78;
    color: #fff;
}

@media (max-width: 768px) {

    .cta-btn {
        display: block;
        margin: 10px auto;
    }
}


.latest-tools {
    padding: 40px 20px;
    background: rgba(149,178,176, 0.7);
    text-align: center;
    max-width: 800px;
    margin: 100px auto;
    text-align: center;
    padding: 40px;
    border-radius: 15px;
    color: #0f0f0f;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 2;
    position: relative;
    transition: background 0.3s ease;
  }
  .latest-tools h2 {
    margin-bottom: 20px;
    font-size: 2em;
    color: rgb(0, 0, 0);
  }

  /* Responsive adjustments */
@media (max-width: 600px) {
    .latest-tools {
      margin: 40px 10px;
      padding: 20px 10px;
    }
  
    .tools-grid {
      flex-direction: column;
      align-items: center;
    }
  
    .tool-card {
      width: 90%;
    }
  }
  
  .slider {
    position: relative;
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
  }
  
  /* Hide the radio inputs */
  .slider input {
    display: none;
  }
  
  .slides {
    display: flex;
    transition: transform 0.5s ease;
  }
  
  .slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 20px;
  }
  
  .slide img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 8px;
  }
  
  /* Navigation dots */
  .slider-controls {
    text-align: center;
    margin-top: 10px;
  }
  .slider-controls .control {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
  }
  
  /* Position slides based on which radio is checked */
  #slide1:checked ~ .slides {
    transform: translateX(0%);
  }
  #slide2:checked ~ .slides {
    transform: translateX(-100%);
  }
  #slide3:checked ~ .slides {
    transform: translateX(-200%);
  }
  
  /* Highlight the active control dot */
  #slide1:checked ~ .slider-controls label[for="slide1"],
  #slide2:checked ~ .slider-controls label[for="slide2"],
  #slide3:checked ~ .slider-controls label[for="slide3"] {
    background: #007BFF;
  }
  
  /* Optional: style the CTA button */
  .cta-btn {
    display: inline-block;
    background-color: #007BFF;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 10px;
    transition: background-color 0.3s ease;
  }
  .cta-btn:hover {
    background-color: #0056b3;
  }
  