* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #0d1117;
    color: white;
    text-align: center;
    padding-top: 60px;
}

header {
    background: #161b22;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: auto;
}

.logo {
    font-size: 30px;
    font-weight: bold;
    color: #58a6ff;
    letter-spacing: 2px;
    text-decoration: none;
    cursor: pointer;
}

.logo:hover {
    color: #58a6ff;
}

.nav-links {
    list-style: none;
    display: flex;
}

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

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 20px;
    font-weight: 500;
    transition: color 0.3s, transform 0.3s;
    cursor: pointer;
}

.nav-links a:hover {
    color: #58a6ff;
    transform: translateY(-5px);
}

.section {
    padding: 100px 20px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

h1 {
    margin-bottom: 20px;
    font-size: 50px;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

p {
    font-size: 20px;
    line-height: 1.6;
    color: #ddd;
}

.avatar-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-top: 30px;
    border: 5px solid #58a6ff;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s;
}

.avatar-img:hover {
    transform: scale(1.15);
}

.button {
    background-color: #58a6ff;
    color: white;
    padding: 15px 30px;
    margin-top: 30px;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #4577d1;
}

.about-me-container {
    padding: 50px 20px;
}

.about-me-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 900px;
    margin: auto;
    background-color: #161b22;
    border: 3px solid #58a6ff;
    border-radius: 20px;
    padding: 30px;
    transition: box-shadow 0.3s, transform 0.3s;
}

.about-me-box:hover {
    box-shadow: 0px 0px 15px rgba(88, 166, 255, 0.7);
    transform: scale(1.02);
}

.bio {
    width: 50%;
    padding-right: 30px;
    text-align: left;
}

.images {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    width: 50%;
}

.about-img {
    width: 200px;
    height: 200px;
    border-radius: 20px;
    border: 3px solid transparent;
    transition: border 0.3s, box-shadow 0.3s;
}

.about-img:hover {
    border: 3px solid #58a6ff;
    box-shadow: 0px 0px 15px rgba(88, 166, 255, 0.7);
}

footer {
    background: #161b22;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
    font-size: 14px;
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.footer-links li {
    display: inline;
}

.footer-links a {
    text-decoration: none;
    color: #58a6ff;
    font-weight: bold;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #4577d1;
}

/* Style for the name */
.name-for-about-us {
    font-size: 40px;
    font-weight: bold;
    color: white;
    text-align: center; /* Centers the text */
    display: block;
    width: 100%; /* Makes sure it spans the whole container */
    margin-bottom: 15px;
}

/* Ensure the name is above the images */
.images {
    display: flex;
    flex-direction: column; /* Stack the name and images vertically */
    align-items: center;    /* Center the content horizontally */
    justify-content: center; /* Center vertically if needed */
}

.button-container-youtube-aboutus {
    display: flex;
    justify-content: center; /* Centers the button horizontally */
    align-items: center; /* Centers vertically (if needed) */
    margin-top: 20px; /* Adds space between images and button */
}

/* Style for the YouTube button */
.youtube-button {
    background-color: #FF0000; /* YouTube red */
    color: white;
    border: none;
    border-radius: 5px;
    padding: 15px 30px;
    font-size: 18px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.youtube-button:hover {
    background-color: #cc0000; /* Darker red on hover */
}

/* Specific style for project pages like Player2.html */
.project-mrproiss1-footer {
    position: relative;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 10px 0;
}

.player2-icon, .images {
    display: flex;
    justify-content: center;
    align-items: center;
}

.player2-img {
    width: 200px; /* Bigger Player2 icon */
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.elefant-img {
    width: 150px; /* Keep Elefant AI smaller */
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* === Agreement Box Styles === */
.terms-box {
    background-color: #161b22;
    border: 3px solid #58a6ff;
    border-radius: 20px;
    padding: 30px;
    max-width: 700px;
    margin: auto;
    opacity: 0;
    transform: scale(0.95);
    animation: fadeInScale 0.5s ease-out forwards;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* === Fade In Animation === */
@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.agreement-body {
    background-color: rgba(13, 17, 23, 0.75); /* Slight transparency for blur */
    color: #ddd;
    font-family: Arial, sans-serif;
    text-align: center;
    padding: 40px;

    /* Centering */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.agreement-button {
    margin-top: 30px;
    padding: 15px 30px;
    font-size: 18px;
    background-color: #58a6ff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.agreement-button:hover {
    background-color: #4577d1;
}

.agreement-background-profileyt {
    background-image: url('Images/AGREE-TO-TERMS.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: #0d1117; /* Fallback color */
}

.privacy-box {
    width: 60%;
    background: #161b22;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    margin-top: 30px;
}

.copyright-box {
    width: 60%;
    background: #161b22;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    margin-top: 30px;
    transition: transform 0.3s;
}

.copyright-box:hover {
    transform: translateY(-10px);
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
     width: 80%;
    margin-top: 50px;
    justify-items: center; /* This ensures the cards are centered */
}

.project-card {
    background: #2d333b;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    width: 100%;
    max-width: 300px; /* Control max width of the cards */
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.project-title {
    font-size: 22px;
    margin-top: 10px;
    color: #58a6ff;
}

.project-description {
    margin-top: 10px;
    font-size: 16px;
    color: #b0b0b0;
}

.project-link {
    margin-top: 15px;
    display: inline-block;
    text-decoration: none;
    background-color: #58a6ff;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.project-link:hover {
    background-color: #3388cc;
}

.author-info {
    margin-top: 10px;
    color: #ddd;
    font-size: 14px;
}

.sneak-peek-box {
    width: 60%;
    background: #161b22;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    margin-top: 30px;
    transition: transform 0.3s;
}

    .sneak-peek-box:hover {
    transform: translateY(-10px);
}

.sub-count-title {
    font-size: 24px;
    color: #58a6ff;
    margin-top: 30px;
    margin-bottom: 10px;
    text-align: center;
}

.sub-count-box {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background-color: #161b22;
    border: 2px solid #58a6ff;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(88, 166, 255, 0.5);
    max-width: 320px;
    margin: 0 auto 30px auto;
}

.contact-box {
    width: 60%;
    background: #161b22;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    margin-top: 30px;
    transition: transform 0.3s;
}

.contact-box:hover {
    transform: translateY(-10px);
}

.contact-info {
    margin-top: 20px;
}

.contact-info a {
    color: #58a6ff;
    font-size: 22px;
    text-decoration: none;
    font-weight: bold;
}

.contact-info a:hover {
    color: #4577d1;
}

/* Container for video cards - responsive grid */
.videos-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  padding: 40px 20px;
  width: 90%;
  margin: auto;
  justify-items: center;
}

/* Each video card */
.video-card {
  background: #161b22; /* match header/body background */
  border: 2px solid #58a6ff;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(88, 166, 255, 0.6);
  overflow: hidden;
  max-width: 480px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(88, 166, 255, 0.9);
}

/* Embedded iframe style - responsive and fits inside the card */
.video-card iframe {
  width: 100%;
  height: 270px; /* fixed height to keep aspect ratio roughly 16:9 */
  border: none;
  display: block;
  background-color: black;
  border-bottom: 2px solid #58a6ff;
  border-radius: 0 0 15px 15px;
}

/* Video title */
.video-title {
  color: #58a6ff;
  font-size: 22px;
  font-weight: bold;
  margin: 12px 15px 8px;
  text-align: left;
  font-family: 'Arial', sans-serif;
}

/* Video description */
.video-description {
  color: #ccc;
  font-size: 16px;
  margin: 0 15px 15px;
  text-align: left;
  line-height: 1.4;
  font-family: 'Arial', sans-serif;
}

.launcher-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 900px;
    margin: auto;
    background-color: #161b22;
    border: 3px solid #58a6ff;
    border-radius: 20px;
    padding: 30px;
    transition: box-shadow 0.3s, transform 0.3s;
}
