/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0a0a12;
    color: #fff;
}

/* Container: flex for navbar + main content */
.container {
    display: flex;
    min-height: 100vh;
}

/* Navbar styles */
.navbar {
    background-color: rgba(10, 10, 18, 0.95);
    width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid rgba(0, 240, 255, 0.1);
    padding: 15px 10px;
    position: fixed;
    /* fixed sidebar */
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 10;
}

.nav-brand {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.logo {
    background-color: #00f0ff;
    font-size: 30px;
    border-radius: 8px;
    padding: 4px 8px;
    margin-right: 10px;
    font-weight: 700;
    color: #0a0a12;
}

.name {
    font-size: 18px;
    color: #ffffff;
    font-weight: 600;
}

.first-name {
    color: #00f0ff;
}

/* Navbar links */
.navbar ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

.navbar li {
    cursor: pointer;
    padding: 12px 8px;
    text-align: center;
    border-radius: 6px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar li:hover {
    background-color: #00f0ff;
    color: #0a0a12;
}

/* Social icons footer */
.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding-top: 5px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(10, 10, 18, 0.95);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border: 1px solid rgba(0, 240, 255, 0.1);
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background-color: #00f0ff;
    color: #0a0a12;
}

/* Main content area */
.main-content {
    margin-left: 280px;
    /* leave space for fixed navbar */
    flex: 1;
    flex-direction: column;
    background-color: rgba(10, 10, 18, 0.9);
    padding: 40px 60px;
    min-height: 100vh;
    display: flex;
}

/* Home section layout */
.home {
    display: flex;
    gap: 50px;
    max-width: 1000px;
    width: 100%;
    align-items: flex-start;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

/* Left side content */
.home-left {
    flex: 1;
}

#greeting {
    color: #00f0ff;
    font-size: 40px;
    font-weight: 600;
    white-space: nowrap;
    border-right: 3px solid #007acc;
    padding-right: 5px;
    animation: blink-caret 0.75s step-end infinite;
    display: inline-block;
    min-width: 100px;
    height: 50px;
    line-height: 50px;
    overflow: hidden;
}

@keyframes blink-caret {
    50% {
        border-color: transparent;
    }
}

/* Headings */
.main-heading {
    font-size: 50px;
    margin: 10px 0 10px 0;
}

.sub-heading {
    font-size: 25px;
    padding: 15px 0 30px 0;
    color: #00f0ff;
    font-weight: 500;
}

.sub-heading span {
    color: #00f0ff;
    font-weight: 700;
}

/* Description paragraph */
.description {
    font-size: 20px;
    font-style: oblique;
    text-align: justify;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #e0e0e0;
}

/* Button style */
.btn1 {
    border: 2px solid rgba(0, 240, 255, 0.7);
    border-radius: 10px;
    color: #00f0ff;
    background-color: transparent;
    padding: 15px 32px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn1:hover {
    background-color: #00f0ff;
    color: #0a0a12;
}

/* Photo box on right */
.photo-box {
    flex-shrink: 0;
    width: 350px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.3);
    border: 2px solid #00f0ff;
    background-color: rgba(10, 10, 18, 0.95);
    display: flex;

}

.photo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #00f0ff;
    border-radius: 15px 15px 0 0;
}

.photo-caption {
    margin-top: 12px;
    font-size: 18px;
    font-weight: 600;
    color: white;
    text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
    .container {
        flex-direction: column;
    }

    .navbar {
        position: relative;
        width: 100%;
        height: auto;
        border-right: none;
        padding: 15px 0;
    }

    .main-content {
        margin-left: 0;
        padding: 30px 20px;
    }

    .home {
        flex-direction: column;
        gap: 30px;
        max-width: 100%;
    }

    .photo-box {
        width: 100%;
    }
}

.below-photo {
    font-style: oblique;
    padding: 10px;
    padding-top: 20px;
    height: 150px;
    max-width: 350px;
    text-align: center;
}

.resume-btn {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    background-color: transparent;
    border: 1px solid #00f0ff;
    color: #00f0ff;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
    user-select: none;
    margin-top: 40px;
}

.resume-btn:hover {
    background-color: #00f0ff;
    color: black;
}

.about {
    display:flex;
    padding-top: 40px;
    padding-bottom: 40px;
    justify-content: center;
    align-items: center;
    gap:50px;
    max-width: 1000px;
    width: 100%;
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}
.highlight {
  color: #00f0ff;
  font-weight: 600; /* optional */
}

.aboutme{
    flex:1;
    font-size: 50px;
    text-align: center;
    padding-left: 40px;

}

.aboutme-description{
    font-size: 20px;
    font-style: oblique;
    text-align: justify;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #e0e0e0;
    border-left: 1px solid rgba(0, 240, 255, 0.1);
    padding-left: 25px;;
}

.skills-section {
    background-color: transparent;
    padding: 40px;
    color: #fff;
    font-family: Arial, sans-serif;
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

.skills-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 50px;
}

.skill {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.skill i {
    font-size: 30px; /* Adjust icon size */
    margin-right: 30px; /* Equal gap between icon and text */
    width: 30px; /* Ensures all icons take same space */
    text-align: center; /* Centers icon inside fixed width */
}

.skill span {
    flex: 0 0 200px;
    font-weight: bold;
}

.progress-bar {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    height: 12px;
    flex: 1;
}

.progress-bar div {
    background: #00f0ff;
    height: 100%;
    border-radius: 10px;
}
/* ===== Education Section ===== */
.education {
  padding: 40px 0px;
  background: transparent; /* Dark background for contrast */
  color: #fff;
  font-family: Arial, sans-serif;
  border-bottom: 1px solid rgba(0, 240, 255, 0.1);

}

.education-title {
  font-size: 50px;
  font-weight: bold;
  color: white;
  margin-bottom: 40px;
  text-align: center;
  padding-bottom: 40px;
}

.education-title i {
  color: #00f0ff;
}

/* Timeline container */
.timeline {
  position: relative;
  max-width: 900px;
  margin: auto;
}

/* Timeline vertical line */
.timeline::after {
  content: '';
  position: absolute;
  width: 3px;
  background-color: #00f0ff;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1.5px;
}

/* Timeline entry */
.entry {
  padding: 20px 30px;
  position: relative;
  width: 50%;
}

/* Common entry styles */
.entry h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #00f0ff;
}

.entry p {
  margin: 5px 0;
  font-size: 0.95rem;
  color: #ddd;
}

.entry i {
  margin-right: 8px;
  color: #00f0ff;
}

/* Position left entries */
.entry.left {
  left: 0;
  text-align: right;
}

.entry.left::before {
  content: '';
  position: absolute;
  top: 20px;
  right: -8px;
  border: 8px solid transparent;
  border-left-color: #222;
}

/* Position right entries */
.entry.right {
  left: 50%;
  text-align: left;
}

.entry.right::before {
  content: '';
  position: absolute;
  top: 20px;
  left: -8px;
  border: 8px solid transparent;
  border-right-color: #222;
}

/* Circles on timeline */
.entry::after {
  content: '';
  position: absolute;
  width: 15px;
  height: 15px;
  right: -8px;
  background-color: #00f0ff;
  border: 3px solid #fff;
  top: 25px;
  border-radius: 50%;
  z-index: 1;
}

.entry.right::after {
  left: -8px;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .timeline::after {
    left: 20px;
  }

  .entry {
    width: 100%;
    padding-left: 50px;
    padding-right: 20px;
    text-align: left !important;
  }

  .entry.left, .entry.right {
    left: 0;
  }

  .entry::after {
    left: 8px;
  }
}

/* Contact Section */
.contact-section {
    background-color: rgba(10, 10, 18, 0.9);
    padding: 40px 0px;
    color: white;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1000px;
    margin: auto;
}

/* Left Side Info */
.contact-info {
    flex: 1 1 300px;
}

.contact-info h2 {
    font-size: 50px;
    margin-bottom: 15px;
    color: white;
}

.contact-info h2 i {
    color: #00f0ff;
}

.contact-info p {
    font-size: 16px;
    line-height: 1.6;
    font-family: cursive;
    color: rgba(255, 255, 255, 0.8);
}

/* Right Side Form */
.contact-form {
    flex: 1 1 300px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 6px;
    color: white;
    font-size: 15px;
    outline: none;
    transition: border 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border: 1px solid #00f0ff;
}

.contact-form button {
    background: #00f0ff;
    color: #0a0a12;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.contact-form button:hover {
    background: #00c0cc;
    transform: scale(1.05);
}
