:root {
      --background-light: rgb(225, 206, 168);
      --secondbackground-light: rgb(225, 206, 168);
      --thirdbackground-light: rgba(230, 163, 55, 0.992);
      --text-light: #333;
      --card-light: white;
      
      --background-dark: #121212;
      --secondbackground-dark: #1e1e1e;
      --thirdbackground-dark: #2a2a2a;
      --text-dark: #f0f0f0;
      --card-dark: #2d2d2d;
      
      --background: var(--background-light);
      --secondbackground: var(--secondbackground-light);
      --thirdbackground: var(--thirdbackground-light);
      --text-color: var(--text-light);
      --card-color: var(--card-light);
    }
    
    .dark-mode {
      --background: var(--background-dark);
      --secondbackground: var(--secondbackground-dark);
      --thirdbackground: var(--thirdbackground-dark);
      --text-color: var(--text-dark);
      --card-color: var(--card-dark);
    }
    
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      text-decoration: none;
      border: none;
      outline: none;
      scroll-behavior: smooth;
      font-family: 'Poppins', sans-serif;
      transition: background-color 0.3s ease, color 0.3s ease;
    }
    
    body {
      min-height: 100vh;
      background-color: var(--background);
      color: var(--text-color);
    }
    
    nav {
      position: fixed;
      top: 0;
      width: 100%;
      padding: 1.5em 10%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      background-color: var(--thirdbackground);
      backdrop-filter: blur(10px);
      z-index: 1000;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .logo {
      font-size: 2em;
      color: white;
      font-weight: 500;
      opacity: 0.8;
      transition: 0.2s ease-in-out;
    }
    
    .logo:hover {
      opacity: 1;
    }
    
    .nav-links {
      display: flex;
      align-items: center;
      gap: 2em;
    }
    
    .nav-links a {
      color: white;
      opacity: 0.7;
      transition: 0.2s ease-in-out;
      font-size: 1.1em;
    }
    
    .nav-links a:hover {
      opacity: 1;
      transform: translateY(-2px);
    }
    
    .btn {
      padding: 0.5em 1.2em;
      color: white;
      font-weight: 500;
      letter-spacing: 1px;
      border-radius: 0.5em;
      font-size: 1em;
      border: 2px solid white;
      cursor: pointer;
      transition: all 0.3s ease-in-out;
      background: transparent;
    }
    
    .btn:hover {
      background-color: white;
      color: var(--thirdbackground);
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    span.gradient-text {
      background: linear-gradient(to right, #463702, #d63a26);
      background-clip: text;
      -webkit-background-clip: text;
      color: transparent;
    }
    
    #menu {
      color: white;
      font-size: 2.5em;
      display: none;
      cursor: pointer;
      transition: transform 0.3s ease;
    }
    
    #menu:hover {
      transform: rotate(90deg);
    }
    
    #theme-toggle {
      background: none;
      border: none;
      color: white;
      font-size: 1.5em;
      cursor: pointer;
      margin-left: 1em;
      transition: transform 0.3s ease;
    }
    
    #theme-toggle:hover {
      transform: rotate(30deg) scale(1.1);
    }
    
    section {
      min-height: 100vh;
      padding: 8% 10%;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    #home {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 5em;
      color: var(--text-color);
    }
    
    .home-image {
      width: 30vw;
      height: 30vw;
      border-radius: 50%;
      object-fit: cover;
      margin-top: 3em;
      box-shadow: 0 0 50px rgba(100, 73, 6, 0.5),
                  0 0 100px rgba(204, 49, 49, 0.3);
      transition: all 0.5s ease-in-out;
      animation: float 6s ease-in-out infinite;
      border: 5px solid var(--thirdbackground);
    }
    
    @keyframes float {
      0% { transform: translateY(0px); }
      50% { transform: translateY(-20px); }
      100% { transform: translateY(0px); }
    }
    
    .home-image:hover {
      box-shadow: 0 0 50px rgba(190, 140, 15, 0.7),
                  0 0 100px rgba(204, 49, 49, 0.5),
                  0 0 150px rgba(220, 153, 60, 0.3);
      transform: scale(1.05);
    }
    
    .info-box {
      display: flex;
      flex-direction: column;
      text-align: left;
      gap: 1em;
      max-width: 600px;
    }
    
    .btn-box {
      display: flex;
      align-items: center;
      gap: 2em;
      margin-top: 2em;
    }
    
    .info-box h1 {
      font-size: 3.5em;
      font-weight: 600;
      line-height: 1.2;
    }
    
    .info-box h3 {
      font-size: 1.8em;
      font-weight: 500;
      color: white;
    }
    
    .info-box p {
      font-size: 1.1em;
      line-height: 1.6;
      opacity: 0.9;
    }
    
    .btn-box .btn:nth-of-type(2) {
      background-color: var(--thirdbackground);
      color: white;
    }
    
    .btn-box .btn:nth-of-type(2):hover {
      background-color: white;
      color: var(--thirdbackground);
    }
    
    #about {
      background-color: var(--secondbackground);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 5em;
      flex-wrap: wrap;
    }
    
    .about-image {
      width: 35vw;
      height: 35vw;
      border-radius: 1em;
      object-fit: cover;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
      transition: all 0.5s ease;
      transform-style: preserve-3d;
    }
    
    .about-image:hover {
      transform: perspective(1000px) rotateY(10deg) rotateX(5deg);
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    }
    
    .about-box {
      display: flex;
      flex-direction: column;
      text-align: left;
      gap: 2em;
      max-width: 600px;
    }
    
    .about-info h1 {
      font-size: 3em;
      margin-bottom: 0.5em;
    }
    
    .about-info h3 {
      font-size: 1.1em;
      line-height: 1.7;
      margin-bottom: 1em;
      color: var(--text-color);
      opacity: 0.9;
    }
    
    .skills-container {
      margin-top: 2em;
    }
    
    .skills-container h2 {
      font-size: 2em;
      margin-bottom: 1em;
    }
    
    .skills {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1em;
    }
    
    .skills li {
      list-style: none;
      display: flex;
      align-items: center;
      gap: 0.7em;
      font-size: 1.1em;
      padding: 0.5em;
      border-radius: 0.5em;
      background-color: var(--card-color);
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      transition: all 0.3s ease;
    }
    
    .skills li:hover {
      transform: translateX(10px);
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    }
    
    .skills li i {
      color: var(--thirdbackground);
    }
    
    #services {
      background-color: var(--background);
      flex-direction: column;
    }
    
    .section-header {
      text-align: center;
      margin-bottom: 3em;
    }
    
    .section-header h1 {
      font-size: 3em;
      margin-bottom: 0.5em;
    }
    
    .services-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 2em;
      width: 100%;
    }
    
    .service-box {
      background-color: var(--card-color);
      border-radius: 1em;
      padding: 2em;
      display: flex;
      flex-direction: column;
      gap: 1.5em;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      transition: all 0.5s ease;
      transform-style: preserve-3d;
      perspective: 1000px;
      border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .service-box:hover {
      transform: translateY(-10px) rotateX(5deg);
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    }
    
    .service-box h1 {
      font-size: 1.5em;
      color: var(--thirdbackground);
    }
    
    .service-box p {
      line-height: 1.6;
      opacity: 0.9;
    }
    
    #contact {
      background-color: var(--secondbackground);
      flex-direction: column;
    }
    
    .contact-container {
      display: flex;
      width: 100%;
      gap: 3em;
      flex-wrap: wrap;
      justify-content: center;
    }
    
    .contact-form {
      flex: 1;
      min-width: 300px;
      max-width: 500px;
    }
    
    form {
      display: flex;
      flex-direction: column;
      gap: 1.5em;
    }
    
    .input-box {
      display: flex;
      flex-direction: column;
      gap: 0.5em;
    }
    
    .input-box label {
      font-size: 1.1em;
      font-weight: 500;
    }
    
    .input-box input,
    .input-box textarea {
      padding: 1em;
      border-radius: 0.5em;
      background-color: var(--card-color);
      color: var(--text-color);
      font-size: 1em;
      border: 1px solid rgba(255, 255, 255, 0.1);
      transition: all 0.3s ease;
    }
    
    .input-box input:focus,
    .input-box textarea:focus {
      border-color: var(--thirdbackground);
      box-shadow: 0 0 0 2px rgba(230, 163, 55, 0.3);
    }
    
    .input-box textarea {
      min-height: 50px;
      resize: vertical;
    }
    
    form .btn {
      align-self: flex-start;
      padding: 0.8em 2em;
      font-size: 1.1em;
      margin-top: 1em;
    }
    
    .contact-info {
      flex: 1;
      min-width: 300px;
      max-width: 500px;
      display: flex;
      flex-direction: column;
      gap: 2em;
    }
    
    .contact-item {
      display: flex;
      align-items: center;
      gap: 1em;
      padding: 1em;
      border-radius: 0.5em;
      background-color: var(--card-color);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      transition: all 0.3s ease;
    }
    
    .contact-item:hover {
      transform: translateX(10px);
    }
    
    .contact-item i {
      font-size: 1.5em;
      color: var(--thirdbackground);
    }
    
    .social-links {
      display: flex;
      gap: 1em;
      margin-top: 1em;
    }
    
    .social-links a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background-color: var(--card-color);
      color: var(--thirdbackground);
      font-size: 1.5em;
      transition: all 0.3s ease;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .social-links a:hover {
      background-color:var(--thirdbackground);
      color: white;
      transform: translateY(-5px);
    }
    
    footer {
      background-color: var(--thirdbackground);
      color: white;
      padding: 3em 10%;
      text-align: center;
    }
    
    .footer-content {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1.5em;
    }
    
    .footer-links {
      display: flex;
      gap: 2em;
      flex-wrap: wrap;
      justify-content: center;
    }
    
    .footer-links a {
      color: white;
      opacity: 0.8;
      transition: all 0.3s ease;
    }
    
    .footer-links a:hover {
      opacity: 1;
      text-decoration: underline;
    }
    
    .copyright {
      opacity: 0.7;
      font-size: 0.9em;
    }
   .dark-mode .social-links a {
    color: black;
    background-color: white;
   }
   .dark-mode .social-links a {
    color: white;
    background-color: black;
   }
   
    
    /* Animations */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }
    
    .fade-in {
      animation: fadeIn 1s ease forwards;
    }
    
    .delay-1 { animation-delay: 0.2s; }
    .delay-2 { animation-delay: 0.4s; }
    .delay-3 { animation-delay: 0.6s; }
    .delay-4 { animation-delay: 0.8s; }
    
    /* Responsive Design */
    @media (max-width: 1200px) {
      section {
        padding: 8% 5%;
      }
      
      nav {
        padding: 1.5em 5%;
      }
      
      #home {
        gap: 3em;
      }
      
      .home-image {
        width: 35vw;
        height: 35vw;
      }
      
      .info-box h1 {
        font-size: 3em;
      }
    }
    
    @media (max-width: 992px) {
      #home {
        flex-direction: column;
        text-align: center;
      }
      
      .home-image {
        width: 60vw;
        height: 60vw;
      }
      
      .btn-box {
        justify-content: center;
      }
      
      #about {
        flex-direction: column-reverse;
        text-align: center;
      }
      
      .about-image {
        width: 70vw;
        height: 70vw;
      }
      
      .about-box {
        text-align: center;
        align-items: center;
      }
      
      .skills {
        grid-template-columns: 1fr;
      }
      
      .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--thirdbackground);
        flex-direction: column;
        padding: 2em;
        gap: 1.5em;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
      }
      
      .nav-links.active {
        display: flex;
      }
      
      #menu {
        display: block;
      }
      nav .btn{
        display: none;
      }
    }
    
    @media (max-width: 768px) {
      .info-box h1 {
        font-size: 2.5em;
      }
      
      .info-box h3 {
        font-size: 1.5em;
      }
      
      .section-header h1 {
        font-size: 2.5em;
      }
      
      .about-info h1 {
        font-size: 2.5em;
      }
      
      .about-image {
        width: 80vw;
        height: 80vw;
      }
      
      .services-container {
        grid-template-columns: 1fr;
      }
      
      .service-box {
        padding: 1.5em;
      }
    }
    
    @media (max-width: 576px) {
      .logo {
        font-size: 1.8em;
      }
      .home-image{
        margin-top: 7em;
      }
      nav.btn {
        display: none;
      }
      
      #menu {
        font-size: 2em;
      }
      
      .btn-box {
        flex-direction: column;
        gap: 1em;
      }
      
      .btn {
        width: 100%;
        text-align: center;
      }
      
      .contact-container {
        flex-direction: column;
      }
      
      .contact-form,
      .contact-info {
        min-width: 100%;
      }
    }