/* Base Styles */
:root {
    --primary-color: #0056b3;
    --secondary-color: #555555;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
  }

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

  html {
    scroll-behavior: smooth;
  }

  body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
  }

  a {
    text-decoration: none;
    color: var(--dark-color);
  }

  ul {
    list-style: none;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  section {
    padding: 80px 0;
  }

  .section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
  }

  .section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
  }

  .btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
  }

  .primary-btn {
    background-color: var(--primary-color);
    color: white;
  }

  .primary-btn:hover {
    background-color: #0070dd;
    transform: translateY(-3px);
  }

  .secondary-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
  }

  .secondary-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
  }

  /* Navbar */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: var(--box-shadow);
    z-index: 100;
    padding: 15px 0;
  }

  .navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo a {
    font-size: 1.8rem;
    font-weight: 700;
  }

  .logo span {
    color: var(--primary-color);
  }

  .logo img {
    height: 32px;
    width: 32px;
  }

  .nav-links {
    display: flex;
  }

  .nav-links li {
    margin-left: 30px;
  }

  .nav-links a {
    font-weight: 600;
    transition: var(--transition);
  }

  .nav-links a:hover {
    color: var(--primary-color);
  }

  /* Hero Section */
  .hero {
    padding-top: 120px;
    padding-bottom: 80px;
    background-color: #f9fbfd;
  }

  .hero .container {
    text-align: center;
  }

  .hero-content {
    max-width: 800px;
    margin: 0 auto;
  }

  .hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
  }

  .hero h1 span {
    color: var(--primary-color);
  }

  .hero h2 {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 16px;
  }

  .hero .specializations {
    font-size: 0.95rem;
    color: var(--secondary-color);
    letter-spacing: 0.3px;
    margin-bottom: 32px;
    font-weight: 500;
  }

  .hero .hero-lead {
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto 32px;
  }

  .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
  }

  .cta-buttons .btn {
    padding: 10px 24px;
    font-size: 0.95rem;
    border-radius: 6px;
  }

  .cta-buttons .btn:hover {
    transform: translateY(-2px);
  }

  /* About Section */
  .about {
    background-color: white;
  }

  .about-content {
    display: flex;
    align-items: center;
    gap: 50px;
  }

  .about-image {
    flex: 1;
  }

  .about-image img {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
  }

  .about-text {
    flex: 1;
  }

  .about-text h3 {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--primary-color);
  }

  .about-text p {
    margin-bottom: 18px;
  }

  .about-text p:last-of-type {
    margin-bottom: 0;
  }

  .about-details {
    margin: 25px 0;
  }

  .about-details a {
    color: var(--primary-color);
    text-decoration: none;
  }

  .about-details a:hover {
    text-decoration: underline;
  }

  .detail {
    display: flex;
    margin-bottom: 15px;
  }

  .label {
    font-weight: 600;
    min-width: 120px;
  }

  /* Skills Section */
  .skills {
    background-color: #f9fbfd;
  }

  .skills-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .skill-category-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
  }

  .skill-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
  }

  .skill-category-card h3 {
    margin-bottom: 15px;
  }

  .skill-list {
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .skill-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
    color: var(--secondary-color);
  }

  .skill-list li:last-child {
    margin-bottom: 0;
  }

  .skill-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-color);
  }

  .skill-list .cert-badge {
    width: 1.1em;
    height: 1.1em;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
  }

  /* Projects Section */
  .projects {
    background-color: white;
  }

  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
  }

  .project-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
  }

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

  .project-image {
    height: 200px;
    overflow: hidden;
  }

  .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
  }

  .project-card:hover .project-image img {
    transform: scale(1.1);
  }

  .project-info {
    padding: 20px;
  }

  .project-info h3 {
    margin-bottom: 10px;
  }

  .project-info p {
    margin-bottom: 15px;
    color: var(--secondary-color);
  }

  .project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
  }

  .project-tags span {
    background-color: #e9ecef;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
  }

  .project-links {
    display: flex;
    gap: 10px;
  }

  /* Contact Section */
  .contact {
    background-color: #f9fbfd;
  }

  .contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
  }

  .contact-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
  }

  .contact-card:hover {
    transform: translateY(-5px);
  }

  .contact-card a {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    text-decoration: none;
    color: inherit;
  }

  .contact-card .icon {
    margin-right: 12px;
  }

  .contact-card h3 {
    margin-bottom: 5px;
    color: var(--primary-color);
  }

  .contact .section-title {
    margin-bottom: 15px;
  }

  .contact-lead {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
    color: #555;
  }

  .contact-content {
    display: flex;
    justify-content: center;
    gap: 50px;
  }

  .contact-info,
  .contact-form {
    flex: 1;
  }

  .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
  }

  .icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-right: 20px;
  }

  .social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
  }

  .social-icon {
    width: 50px;
    height: 50px;
    background-color: #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition);
  }

  .social-icon:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
  }

  .form-group {
    margin-bottom: 20px;
  }

  .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
  }

  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
  }

  .form-group input:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
  }

  /* Footer */
  .footer {
    background-color: var(--dark-color);
    color: white;
    text-align: center;
    padding: 20px 0;
  }

  /* Responsive Design */
  @media (max-width: 992px) {
    .hero .container {
      flex-direction: column;
      text-align: center;
    }

    .hero-content {
      margin-bottom: 50px;
    }

    .hero .hero-lead {
      margin: 0 auto 30px;
    }

    .about-content {
      flex-direction: column;
    }

    .contact-content {
      flex-direction: column;
    }

    .skills-container {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 768px) {
    .navbar .container {
      flex-direction: column;
    }

    .logo {
      margin-bottom: 15px;
    }

    .nav-links li {
      margin: 0 10px;
    }

    .section-title {
      font-size: 2rem;
    }

    .hero h1 {
      font-size: 2.5rem;
    }

    .hero h2 {
      font-size: 1.1rem;
    }

    .projects-grid {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 576px) {
    .nav-links {
      flex-wrap: wrap;
      justify-content: center;
    }

    .nav-links li {
      margin: 5px;
    }

    .cta-buttons {
      flex-direction: column;
      gap: 10px;
    }

    .hero h1 {
      font-size: 2rem;
    }

    .about-details .detail {
      flex-direction: column;
      align-items: flex-start;
    }

    .skills-container {
      grid-template-columns: 1fr;
    }
  }
