/* Reset and base styles */
html {
    scroll-behavior: smooth;
}

a:focus, button:focus, input:focus, textarea:focus {
    outline: 2px solid #FFA500;
    outline-offset: 2px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #222121;
    color: #fff;
}

/* Sidebar styles (for desktop) */
.social-icons {
    position: fixed;
    top: 35%;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 10px;
    z-index: 1000;
}

.social-icons a {
    color: #fff;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.2);
}

/* Navbar styles */
.navbar {
    position: fixed;
    top: 25px;
    width: 80%;
    max-width: 1200px;
    background-color: #080808;
    color: #fff;
    padding: 1.5rem 2rem;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    border-radius: 400px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
}

/* Navigation Links */
.nav-links-container {
    display: flex;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
}

.nav-links li a:hover {
    color: #FFA500;
}

/* Responsive Navbar */
@media (max-width: 768px) {
    .navbar {
        width: 95%;
        flex-direction: row;
        justify-content: space-between;
        padding: 1rem 2rem;
        border-radius: 20px;
    }

    .nav-links-container {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        right: 0;
        width: 100%;
        background-color: #080808;
        padding: 1rem 0;
    }

    .nav-links-container.active {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }

    .hamburger {
        display: block;
    }
}
/* Container */
.container {
    padding: 0 20px;
    flex-wrap: wrap;
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo and photo */
#myphoto {
    height: 45px;
    margin-right: 10px;
    border-radius: 50%;
}

.logo {
    font-size: 1.6rem;
    font-weight: bold;
    color: #FFA500;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 180px;
}
@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .content {
        margin-left: 0;
        padding-top: 80px;
        padding-left: 20px;
        padding-right: 20px;
    }
}
.social-icons {
    position: fixed;
    top: 25%;
    left: 50px;  /* Move icons slightly to the left */
    display: flex;
    flex-direction: column;
    gap: 45px;
    padding: 20px;  /* Increased padding */
    z-index: 1000;
}

.social-icons a {
    margin-right: 15px;
    color: #FFA500;
    font-size: 1.4rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #fff;
}
@media (max-width: 768px) {
    .social-icons {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #111;
        flex-direction: row;
        justify-content: space-around;
        padding: 10px 10px;
        gap: 0px;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
    }
}
img {
    max-width: 100%;
    height: auto;
}
@media (max-width: 768px) {
    .logo {
        font-size: 1.1rem;
        gap: 0px;
        margin-right: 25px;
    }

    #myphoto {
        height: 35px;
    }
}
 .certifications-section {
      padding: 150px 20px;
      text-align: center;
    }

    .certifications-heading {
      font-size: 2.5rem;
      margin-bottom: 50px;
      font-weight: 700;
      color: #fff;
    }

    .certifications-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 40px;
      max-width: 1100px;
      margin: 0 auto;
    }
    .cert-card {
      background-color: #1a1a1a;
      border-radius: 17px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: transform 0.3s ease;
      box-shadow: 0 4px 12px rgba(255, 136, 0, 0.25);
    }

    .cert-card:hover {
      transform: translateY(-6px);
    }

    .cert-image {
      width: 100%;
      height: 200px;
      object-fit: cover;
    }
    .cert-image:hover{
        transition: transform 1.2s ease; 
        transform: scale(1.1);
    }

    .cert-content {
      padding: 20px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      flex-grow: 1;
    }

    .cert-title {
      font-size: 1.25rem;
      font-weight: 600;
      margin-bottom: 12px;
      color: #fff;
    }

    .cert-desc {
      color: #ccc;
      font-size: 0.95rem;
      margin-bottom: 20px;
      flex-grow: 1;
    }

    .cert-button {
      display: inline-block;
      background-color: #ff6a00;
      color: #000;
      padding: 12px 0;
      text-align: center;
      border-radius: 6px;
      text-decoration: none;
      font-weight: bold;
      transition: background-color 0.3s ease;
    }

    .cert-button:hover {
      background-color: #ffa033;
    }

    @media (max-width: 768px) {
      .certifications-heading {
        font-size: 2rem;
        margin-bottom: 30px;
      }

      .certifications-section {
        padding: 120px 50px;
      }

      .cert-content {
        padding: 16px;
      }

      .cert-desc {
        font-size: 0.9rem;
      }

      .cert-button {
        font-size: 1rem;
      }
    }

    @media (max-width: 480px) {
      .certifications-grid {
        grid-template-columns: 1fr;
      }

      .cert-image {
        height: 180px;
      }
    }