
/* Base Styles and Global Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}
  
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    position: relative;
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color 0.5s, color 0.5s;
    overflow-x: hidden;
    z-index: 0;
}

/* Add background using a pseudo-element */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(./../images/download.jpg) center/cover no-repeat;
    filter: brightness(40%);
    z-index: -1;
}


h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    letter-spacing: 1px;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: 0.8px;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

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

section {
    padding: 80px 0;
    margin-bottom: 40px;
}

/* Enhance the scrollbar for a modern look */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #222;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
    border: 3px solid #222;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Animation classes */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

.slide-up {
    animation: slideUp 0.6s ease-in-out;
}

.slide-right {
    animation: slideRight 0.6s ease-in-out;
}

.slide-left {
    animation: slideLeft 0.6s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slideRight {
    from { transform: translateX(-30px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideLeft {
    from { transform: translateX(30px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}



/* Typing Effect Cursor */
#Effect-Write {
    display: inline-block;
    border-right: 2px solid var(--primary-color); /* Cursor effect */
    white-space: nowrap; /* Prevent text wrapping */
    overflow: hidden; /* Hide overflowing text */
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary-color);
    animation: fadeIn 1s ease-in-out;
    margin-top: 20px;
    max-width: 600px; /* Adjust based on the longest phrase */
    text-align: left; /* Align text to the left */
    vertical-align: middle; /* Align cursor with text */
  }
  
  .typing-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px; /* Space between the text and button */
  }

  .cursor-blink {
    animation: blink 0.7s step-end infinite;
  }
  
  @keyframes blink {
    50% {
      border-color: transparent;
    }
  }
  
  /* Add fade-in animation for the text */
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }



h3{
    color: var(--primary-color);
}