/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  
  /* Header */
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background-color: #111;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .logo {
    font-size: 24px;
    font-weight: bold;
  }
  
  .signature {
    font-family: 'Great Vibes', cursive;
    font-size: 32px;
    color: white;
    letter-spacing: 1px;
  }
  
  .signature .dot {
    color: #00bcd4;
  }
  
  .nav-links {
    display: flex;
    gap: 20px;
  }
  
  .nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .nav-links a:hover {
    color: #00bcd4;
  }
  
  .menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
  }
  @media (max-width: 768px) {
    .nav-links {
      display: none;
      position: absolute;
      top: 70px;
      right: 10%;
      background-color: #111;
      flex-direction: column;
      width: 200px;
      padding: 10px 0;
      border-radius: 6px;
    }
  
    .nav-links.active {
      display: flex;
    }
  
    .menu-toggle {
      display: block;
    }
  }
  
  
  /* Hero Section with Background Video */
  .hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    padding: 100px 10% 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
  }
  
  .hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
  }
  
  .hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    backdrop-filter: brightness(1.0);
  }
  
  .hero-content {
    max-width: 600px;
  }
  
  .hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
  }
  
  .hero-content .highlight {
    color: #00bcd4;
    
    font-size: 52px;
  }
  
  .hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
  }
  
  .btn {
    background-color: #00bcd4;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background 0.3s;
  }
  
  .btn:hover {
    background-color: #0097a7;
  }
  
  .hero-image img {
    max-width: 300px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  }

  .social-buttons {
    margin-top: 40px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
  }
  
  .social-btn {
    background-color: #222;
    color: white;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: all 0.35s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
  }
  
  .social-btn i {
    margin-right: 8px;
    font-size: 16px;
    color: #00bcd4;
    transition: color 0.3s;
  }
  
  .social-btn:hover {
    background-color: #00bcd4;
    color: #111;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 188, 212, 0.4);
  }
  
  .social-btn:hover i {
    color: #111;
  }
  
  
  
  /* About Section */
  .about {
    min-height: 100vh;
    background-color: #f8f8f8;
    padding: 100px 10% 60px;
    color: #333;
    display: flex;
    align-items: center;
  }
  
  .about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
  }
  
  .about-content {
    flex: 1;
    min-width: 300px;
  }
  
  .about-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #00bcd4;
  }
  
  .about-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 15px;
  }
  
  .education {
    margin-top: 25px;
  }
  
  .education h3 {
    color: #00bcd4;
    margin-bottom: 10px;
    font-size: 24px;
  }
  
  .education ul {
    list-style: none;
    padding-left: 0;
  }
  
  .education li {
    margin-bottom: 8px;
    font-size: 16px;
  }
  
  .about-image img {
    max-width: 350px;
    border-radius: 20px;
    
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .about {
      flex-direction: column;
      text-align: center;
    }
  
    .about-container {
      flex-direction: column;
    }
  
    .about-image img {
      max-width: 250px;
      margin-top: 30px;
    }
  }
  
  
  /* Askill Section */
  
  .skills {
    position: relative;
    background-color: #111;
    color: white;
    padding: 100px 10% 60px;
    min-height: 100vh;
    text-align: center;
    overflow: hidden;
  }
  
  .skills-background {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: radial-gradient(#00bcd4 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.05;
    z-index: 0;
  }
  
  .skills h2 {
    font-size: 36px;
    color: #00bcd4;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
  }
  
  .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 25px;
    justify-items: center;
    position: relative;
    z-index: 1;
  }
  
  .skill-item {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 20px;
    width: 100%;
    max-width: 160px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: white;
    transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
  }
  
  .skill-item i {
    font-size: 32px;
    margin-bottom: 10px;
    display: block;
    color: #00bcd4;
  }
  
  .skill-item:hover {
    transform: translateY(-10px);
    background-color: #222;
    box-shadow: 0 8px 16px rgba(0, 188, 212, 0.2);
  }

  .skills-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
  }
  
  .skills-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 25px;
    justify-items: center;
  }
  
  .skills-gif {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 300px;
  }
  
  .skills-gif img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 12px;
    opacity: calc(20);
  }
  
  /* Responsive for mobile */
  @media (max-width: 768px) {
    .skills-container {
      flex-direction: column;
      align-items: center;
    }
  
    .skills-gif {
      margin-top: 30px;
    }
  }
  
  
  
  /* Projects Section */
  .projects {
    background-color: #f9f9f9;
    padding: 100px 10% 60px;
    min-height: 100vh;
    color: #111;
    text-align: center;
  }
  
  .projects h2 {
    font-size: 36px;
    color: #00bcd4;
    margin-bottom: 40px;
  }
  
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
  }
  
  .project-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 18px rgba(0, 188, 212, 0.15);
  }
  
  .project-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
  }
  
  .project-card h3 {
    font-size: 22px;
    color: #00bcd4;
    margin-bottom: 10px;
  }
  
  .project-card p {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
  }
  
  .project-card .btn {
    display: inline-block;
    background-color: #00bcd4;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: background 0.3s;
  }
  
  .project-card .btn:hover {
    background-color: #0097a7;
  }
  
  /* Contact Section */
  .contact {
    background-color: #111;
    padding: 100px 10% 60px;
    text-align: center;
    color: #e0e0e0;
  }
  
  .contact h2 {
    font-size: 36px;
    color: #00bcd4;
    margin-bottom: 20px;
  }
  
  .contact p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #ccc;
  }
  
  .contact-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
  }
  
  .contact-form {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .contact-form input,
  .contact-form textarea {
    background-color: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 16px;
    width: 100%;
    resize: none;
  }
  
  .contact-form input::placeholder,
  .contact-form textarea::placeholder {
    color: #999;
  }
  
  .contact-form button {
    padding: 12px;
    background-color: #00bcd4;
    color: #111;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .contact-form button:hover {
    background-color: #0097a7;
    color: white;
  }
  
  .contact-links {
    flex: 1;
    min-width: 250px;
    font-size: 16px;
    text-align: left;
  }
  
  .contact-links i {
    color: #00bcd4;
    margin-right: 10px;
  }
  
  .contact-links a {
    text-decoration: none;
    color: #00bcd4;
  }
  
  .contact-links a:hover {
    text-decoration: underline;
  }
  
  @media (max-width: 768px) {
    .contact-content {
      flex-direction: column;
      align-items: center;
    }
  
    .contact-links {
      text-align: center;
    }
  }
  
  /* footer */
  .footer {
    background-color: #111;
    color: #ccc;
    padding: 30px 10%;
    text-align: center;
  }
  
  .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .footer-icons a {
    color: #00bcd4;
    margin: 0 10px;
    font-size: 20px;
    transition: color 0.3s;
  }
  
  .footer-icons a:hover {
    color: #0097a7;
  }
  
  .footer p {
    font-size: 14px;
    margin: 0;
  }
  
  /* dark mod */

  .dark-mode {
    background-color: #111;
    color: #e0e0e0;
  }
  
  .dark-mode section,
  .dark-mode .projects,
  .dark-mode .skills,
  .dark-mode .contact,
  .dark-mode footer {
    background-color: #111;
    color: #ccc;
  }
  
  .dark-mode h2,
  .dark-mode .highlight {
    color: #00bcd4;
  }
  
  .dark-mode .project-card,
  .dark-mode .skill-item,
  .dark-mode .contact-form input,
  .dark-mode .contact-form textarea,
  .dark-mode .container {
    background-color: #1a1a1a;
    color: #e0e0e0;
    border-color: #333;
  }
  
  .dark-mode .btn,
  .dark-mode .contact-form button,
  .dark-mode .project-links a {
    background-color: #00bcd4;
    color: #111;
  }
  
  .dark-mode .btn:hover,
  .dark-mode .contact-form button:hover,
  .dark-mode .project-links a:hover {
    background-color: #0097a7;
    color: white;
  }
  
  .dark-mode .footer {
    background-color: #111;
    color: #ccc;
  }
  
  .dark-mode .footer-icons a {
    color: #00bcd4;
  }
  
  .dark-mode-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    margin-left: 15px;
  }
  
  @media (max-width: 768px) {
    .dark-mode-toggle {
      position: absolute;
      right: 50px;
      top: 22px;
    }
  }
  
  /* Modal */
  .modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    overflow-y: auto;
  }
  
  .modal-content {
    background: white;
    margin: 80px auto;
    padding: 30px;
    max-width: 700px;
    border-radius: 12px;
    position: relative;
    animation: fadeIn 0.4s ease;
  }
  
  .modal-content h3 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #00bcd4;
  }
  
  .modal-content p {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
  }
  
  .modal-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
  }
  
  .modal-images img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  }
  
  .close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #111;
    cursor: pointer;
  }
  
  @media (max-width: 768px) {
    .projects-grid {
      grid-template-columns: 1fr;
    }
  }
  
  
  @keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
  }
  
  /* Section Scroll Alignment */
  section {
    scroll-margin-top: 100px;
  }
  
  /* Responsive Styles */
  @media (max-width: 768px) {
    .nav-links {
      display: none;
      flex-direction: column;
      background-color: #111;
      position: absolute;
      top: 60px;
      right: 10%;
      width: 50%;
      padding: 20px;
    }
  
    .nav-links.active {
      display: flex;
    }
  
    .menu-toggle {
      display: block;
    }
  
    .hero-overlay,
    .about {
      flex-direction: column;
      text-align: center;
    }
  
    .hero-image,
    .about-image {
      margin-top: 30px;
    }
  
    .hero-image img,
    .about-image img {
      max-width: 200px;
    }
  }
  [data-aos] {
    opacity: 1;
    transition-property: opacity, transform;
  }
  