:root {
      --bg-color: #0f172a;
      --text-color: #f1f5f9;
      --primary: #38bdf8;
      --secondary: #1e293b;
      --btn-hover: #0ea5e9;
    }

    [data-theme="light"] {
      --bg-color: #f8fafc;
      --text-color: #0f172a;
      --primary: #2563eb;
      --secondary: #e2e8f0;
      --btn-hover: #1d4ed8;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Segoe UI', sans-serif;
      background: var(--bg-color);
      color: var(--text-color);
      transition: background 0.3s, color 0.3s;
    }

    header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 10%;
      backdrop-filter: blur(10px);
      background-color: var(--secondary);
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
      position: relative;
      z-index: 10;
    }

    #element{
        color:  #2563eb;
        font-size: xx-large;
    }

    .logo {
      font-size: 1.8rem;
      font-weight: bold;
      color: var(--primary);
      text-decoration: none;
    }

    .menu-icon {
      font-size: 1.8rem;
      cursor: pointer;
      color: var(--text-color);
    }

    .theme-toggle {
      font-size: 1.3rem;
      margin-left: 20px;
      cursor: pointer;
    }

    .dropdown {
      display: none;
      position: absolute;
      right: 10%;
      top: 70px;
      background-color: var(--secondary);
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.3);
      flex-direction: column;
      padding: 10px;
    }

    .dropdown a {
      color: var(--text-color);
      text-decoration: none;
      padding: 10px;
      font-weight: 500;
      transition: background 0.3s;
    }

    .dropdown a:hover {
      background-color: var(--primary);
      color: var(--bg-color);
      border-radius: 6px;
    }

    .dropdown.show {
      display: flex;
    }

    #hero {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      padding: 100px 10%;
      min-height: 90vh;
      background: linear-gradient(135deg, var(--bg-color), var(--secondary));
      transition: background 0.5s;
    }

    .hero-text {
      max-width: 600px;
    }

    .hero-text h1 {
      font-size: 3.2rem;
      margin-bottom: 10px;
      color: var(--primary);
    }

    .hero-text h2 {
      font-size: 2rem;
      margin-bottom: 20px;
    }

    .hero-text p {
      font-size: 1.1rem;
      line-height: 1.6;
      margin-bottom: 30px;
      color: var(--text-color);
    }

    .btn-group {
      display: flex;
      gap: 15px;
      flex-wrap: wrap;
    }

    .btn {
      text-decoration: none;
      padding: 12px 24px;
      font-weight: bold;
      border-radius: 30px;
      transition: all 0.3s;
      border: 2px solid var(--primary);
      position: relative;
      overflow: hidden;
    }

    .btn.primary {
      background-color: var(--primary);
      color: var(--bg-color);
    }

    .btn.primary:hover {
      background-color: var(--btn-hover);
    }

    .btn.secondary {
      background-color: transparent;
      color: var(--primary);
    }

    .btn.secondary:hover {
      background-color: var(--primary);
      color: var(--bg-color);
    }

    .hero-image img {
      width: 350px;
      border-radius: 20px;
      box-shadow: 0 0 30px var(--primary);
    }

    @media (max-width: 768px) {
      .hero-text {
        text-align: center;
      }

      .hero-image {
        margin-top: 40px;
        width: 100%;
        text-align: center;
      }

      .hero-image img {
        width: 80%;
      }

      .btn-group {
        justify-content: center;
      }
    }

    .footer {
  background-color: var(--secondary);
  color: var(--text-color);
  padding: 40px 20px 20px;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
  border-top: 2px solid var(--primary);
}

.footer h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--primary);
}

.footer p {
  font-size: 14px;
  margin-bottom: 20px;
  color: var(--text-color);
}

.footer .socials a {
  margin: 0 10px;
  transition: transform 0.3s, opacity 0.3s;
}

.footer .socials a:hover {
  transform: scale(1.2);
  opacity: 0.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 20px;
  padding-top: 15px;
  font-size: 13px;
  color: var(--text-color);
}
.about-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding: 40px 0;
}

.about-text {
  flex: 1;
  min-width: 280px;
}

.about-img {
  flex: 1;
  text-align: center;
}

.about-img img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-title {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  border-bottom: 3px solid var(--primary);
  display: inline-block;
}

.about-description {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

.about-list {
  list-style: none;
  padding: 0;
}

.about-list li {
  margin-bottom: 12px;
  font-size: 1rem;
  display: flex;
  align-items: center;
}

.about-list li::before {
  content: \"\\2022\";
  color: var(--primary);
  font-size: 20px;
  margin-right: 10px;
}

.slide-in-left {
  animation: slideLeft 1s ease forwards;
}

.slide-in-right {
  animation: slideRight 1s ease forwards;
}

@keyframes slideLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideRight {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
.certification-container {
  padding: 3rem 2rem;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.section-description {
  font-size: 1.1rem;
  color: #aaa;
  margin-bottom: 2.5rem;
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  padding: 0 1rem;
}

.cert-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  transition: 0.3s ease;
}

.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.cert-card h3 {
  margin: 0.5rem 0;
}

.cert-card p {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 0.5rem;
}

.cert-link {
  color: #00bcd4;
  text-decoration: none;
}

.cert-link:hover {
  text-decoration: underline;
}

.slide-in-up {
  animation: fadeInUp 0.8s ease both;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Flip Card */
.flip-card {
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 300px;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.flip-card-front img {
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
}

.flip-card-back {
  transform: rotateY(180deg);
}

.flip-card-back button{
  background-color: var(--primary);
  width: 100px;
  height: 30px;
}

.flip-card-back button:hover{
  cursor: pointer;
}


/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1002;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  position: relative;
  margin: 5% auto;
  padding: 1rem;
  background: #1a1a1a;
  width: 90%;
  max-width: 800px;
  border-radius: 12px;
  box-shadow: 0 0 10px #000;
}

.modal-content iframe {
  width: 100%;
  height: 500px;
  border: none;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 16px;
  font-size: 28px;
  color: #fff;
  cursor:pointer;
}

/* Badge */
.badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.badge {
  background: var(--primary);
  color: #000;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}
/* === Services Page Styling === */

.hero-service {
  text-align: center;
  padding: 3rem 1rem;
  background-color: var(--bg-primary, #0f0f0f);
  border-bottom: 1px solid #222;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-description {
  font-size: 1rem;
  color: #bbbbbb;
}

/* Highlight Banner */
.highlight-banner {
  background-color: #1a1a1a;
  color: var(--primary);
  padding: 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 1rem;
  border-top: 1px solid #2a2a2a;
  border-bottom: 1px solid #2a2a2a;
}

/* Service Cards Layout */
.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  padding: 3rem 2rem;
}

/* Individual Card */
.service-box {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(6px);
}

.service-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 255, 255, 0.08);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-box h3 {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.service-box p {
  font-size: 0.95rem;
  color: #cccccc;
  line-height: 1.5;
}

/*projects css*/
    .filter-bar {
      display: flex;
      justify-content: center;
      gap: 1rem;
      flex-wrap: wrap;
      margin: 2rem auto;
    }

    .filter-btn {
      background: transparent;
      border: 1px solid #00ffe0;
      color: #00ffe0;
      padding: 0.5rem 1.2rem;
      border-radius: 25px;
      cursor: pointer;
      transition: all 0.3s;
    }

    .filter-btn.active,
    .filter-btn:hover {
      background-color: #00ffe0;
      color: #000;
    }

    .projects-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
      padding: 2rem;
    }

    .project-card {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      padding: 1.5rem;
      border-radius: 10px;
      text-align: center;
      transition: transform 0.3s ease;
      position: relative;
      border: 1px solid #2a2a2a;
      cursor: pointer;
    }

    .project-card:hover {
      transform: scale(1.03);
    }

    .btn-primary {
      display: inline-block;
      margin-top: 1rem;
      padding: 0.5rem 1rem;
      background-color: #00ffe0;
      color: #000;
      border-radius: 5px;
      text-decoration: none;
      font-weight: 600;
    }

    .modal {
      display: none;
      position: fixed;
      z-index: 9999;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: rgba(0, 0, 0, 0.8);
    }

    .modal-content {
      background-color: #1f1f1f;
      margin: 10% auto;
      padding: 2rem;
      border: 1px solid #444;
      width: 90%;
      max-width: 600px;
      border-radius: 10px;
      color: #fff;
      text-align: center;
    }

    .close {
      float: right;
      font-size: 1.5rem;
      font-weight: bold;
      color: #fff;
      cursor: pointer;
    }

    .project-thumb {
      width: 100%;
      height: 150px;
      object-fit: cover;
      border-radius: 8px;
      margin-bottom: 1rem;
    }

    /*Contacts CSS*/

main.contact-page {
  padding: 2rem;
}

.contact-hero {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-card {
  background-color: var(--card-bg);
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  text-align: center;
  margin-bottom: 2rem;
  max-width: 400px;
  width: 100%;
}

.contact-card img {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
}

.contact-card a {
  color: var(--text);
  text-decoration: underline;
}

.socials-grid {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--card-bg);
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 100px;
  text-decoration: none;
  color: var(--text);
  transition: background 0.3s;
}

.social-card:hover {
  background-color: var(--hover);
}

.social-card img {
  width: 40px;
  height: 40px;
  margin-bottom: 0.5rem;
}

.contact-form-section {
  text-align: center;
  max-width: 600px;
  margin: auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background-color: var(--card-bg);
  color: var(--text);
}

.contact-form button {
  background-color: var(--text);
  color: var(--bg);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.contact-form button:hover {
  transform: scale(1.05);
}

footer {
  background-color: var(--card-bg);
  padding: 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer h3 {
  margin-bottom: 0.5rem;
}

.footer p {
  margin: 0.25rem 0;
  font-size: 0.9rem;
}

.footer-bottom {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text);
}

  /* testinomal */
  .testimonials {
  padding: 80px 20px;
  background: var(--bg-secondary);
  text-align: center;
}

.testimonial-grid {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.testimonial-card {
  background: var(--bg-primary);
  color: var(--text-color);
  border-radius: 12px;
  padding: 25px;
  max-width: 300px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
}

.testimonial-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.testimonial-card .role {
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 10px;
}

.testimonial-text {
  font-style: italic;
  font-size: 0.95rem;
}

@keyframes slideInUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.slide-in-up {
  animation: slideInUp 0.6s ease forwards;
}

/*Gallery*/
.gallery-section {
  padding: 60px 20px;
  text-align: center;
  background: var(--bg);
}

.gallery-section h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: var(--accent);
}

.gallery-section p {
  color: var(--text);
  margin-bottom: 30px;
  font-size: 1rem;
}

.gallery-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  max-width: 1200px;
  margin: auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 90%;
  height: 50%;
  object-fit: cover;
  border-radius: 10px;
  transition: opacity 0.3s ease;
}
.skills-section {
  padding: 60px 20px;
  max-width: 800px;
  margin: auto;
  text-align: center;
}

.skills-section .section-title {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.skills-section .section-description {
  font-size: 1rem;
  color: #999;
  margin-bottom: 40px;
}

.skill {
  margin-bottom: 25px;
  text-align: left;
}

.skill span {
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
}

.progress-bar {
  width: 100%;
  height: 20px;
  background: #333;
  border-radius: 10px;
  overflow: hidden;
}

.progress {
  height: 100%;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  text-align: right;
  padding-right: 10px;
  color: #fff;
  line-height: 20px;
  font-size: 13px;
  font-weight: bold;
  border-radius: 10px 0 0 10px;
  transition: width 1s ease-in-out;
}

.circular-skills-section {
  padding: 60px 20px;
  text-align: center;
}

.circular-skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.circle-skill {
  width: 130px;
  height: 130px;
}

.circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(
    #00c6ff calc(var(--percentage) * 1%), 
    #222 calc(var(--percentage) * 1%)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease-in-out;
}

.inner-circle {
  background: var(--card-bg, #111);
  color: var(--text-color, #fff);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  font-weight: bold;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}

.menu-icon,
.theme-toggle {
  background: none !important;
  border: none;
  box-shadow: none;
  outline: none;
}
