body {
    font-family: 'Georgia', serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f8f8f8;
}

.header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #050203;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .nav {
    font-size: 18px;
}

.header .nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #f8f8f8;
}

.header .nav a:hover {
    color: #ccc;
}

.intro {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120vh;
    background: url('ravee.png') no-repeat center center/cover;
    color: #f8f8f8;
    text-align: center;
}

.intro .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.intro .intro-text {
    position: absolute;
    left: 10%;   /* adjust this percentage to move more/less */
    top: 50%;
    transform: translateY(-50%);
    text-align: left;
}

.intro .intro-text h1 {
    font-size: 40px;  /* smaller for mobile */
    margin: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.about {
    display: flex;
    justify-content: center;
    padding: 60px 20px;
    background-color: #000000;
    color: #fff;
}

.about-content {
    display: flex;
    max-width: 1200px;
    width: 100%;
}

.about-image {
    flex: 0 0 404px;
}

.about-image img {
    width: 404px;
    height: 600px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
    padding: 0 50px;
}

.about-text h2, .about-text h3 {
    margin-top: 0;
}

.about-text ul {
    list-style: none;
    padding: 0;
}

.about-text ul li {
    margin-bottom:5px;
}

.about-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
}

.about-stats div {
    text-align: center;
}
/* Software Skills Section */
#software-skills {
  margin: 50px auto;
  padding: 20px;
  max-width: 800px;
  background: ;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

#software-skills h2 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
  color: #ffffff;
}

#software-skills ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

#software-skills li {
  background: #007bff;
  color: #fff;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 16px;
}


.works, .contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #fff;
    color: #333;
    padding: 60px 20px;
}

.works .tabs {
    display: flex;
    margin-bottom: 30px;
}

.works .tabs button {
    background-color: #333;
    color: #f8f8f8;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    margin: 0 5px;
    transition: background-color 0.3s;
}

.works .tabs button.active,
.works .tabs button:hover {
    background-color: #555;
}

.works .tab-content {
    display: none;
}

.works .tab-content.active {
    display: block;
}

.works img, .works video {
    width: 100%;
    max-width: 300px;
    margin: 10px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact {
    background-color: #333;
    color: #f8f8f8;
}

.contact h2 {
    font-size: 36px;
}

.contact p {
    font-size: 18px;
}
.social-icons {
    margin-top: 20px;
}

.social-icons a {
    display: inline-block;
    margin-right: 10px;
}

.social-icons img {
    width: 40px; /* Adjust as needed */
    height: 40px; /* Adjust as needed */
}
/* ===========================
   MOBILE RESPONSIVE STYLES
   =========================== */
@media (max-width: 768px) {
    /* Navigation */
    .header .nav {
        font-size: 14px;
        text-align: center;
        line-height: 2;
    }
    .header .nav a {
        margin: 0 8px;
    }

    /* Intro Section */
    .intro {
        height: 80vh;
    }
    .intro h1 {
        font-size: 32px;
        text-align: center;
        margin-left: 0;
    }

    /* About Section */
    .about-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .about-image {
        flex: unset;
        margin-bottom: 20px;
    }
    .about-image img {
        width: 90%;
        max-width: 250px;
        height: auto;
        border-radius: 50%;
    }
    .about-text {
        padding: 0 20px;
    }
    .about-stats {
        flex-direction: column;
        gap: 20px;
        margin-top: 30px;
    }

    /* Works Section */
    .works .tabs {
        flex-direction: column;
    }
    .works .tabs button {
        margin: 5px 0;
        width: 100%;
    }
    .works img,
    .works video {
        width: 90%;
        max-width: 400px;
    }

    /* Contact Section */
    .contact h2 {
        font-size: 28px;
    }
    .contact p {
        font-size: 16px;
    }
    .social-icons img {
        width: 32px;
        height: 32px;
    }
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.gallery img {
  width: 200px;
  height: auto;
  cursor: pointer;
  border-radius: 6px;
  transition: transform 0.2s;
}
.gallery img:hover {
  transform: scale(1.05);
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}
.close:hover { color: #ccc; }

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 16px;
  font-size: 30px;
  color: #fff;
  font-weight: bold;
  user-select: none;
  transition: 0.3s;
}
.prev { left: 15px; }
.next { right: 15px; }
.prev:hover, .next:hover { color: #ccc; }
