@import url("https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700|Roboto:300,400,500,700,900&amp;display=swap");

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  color: #222222;
  line-height: 1.2em;
  margin-bottom: 0;
  margin-top: 0;
  font-weight: 600;
}
@media (max-width: 565px) {
  .section-heading {
    font-size: 40px !important;
  }
}
html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
body {
  color: #777777;
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.625em;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  z-index: 1;
}

.navbar-nav .nav-link {
  margin-right: 20px; /* Adjust this value as needed */
}

.vertical-center {
  min-height: 100%; /* Fallback for browsers do NOT support vh unit */
  min-height: 100vh; /* These two lines are counted as one :-)       */

  display: flex;
  align-items: center;
}

.link{
  text-decoration: none;
  color: #007bff;
  transition: all 0.3s;
}
.link:hover{
  text-decoration: none;
  color: #111;
  transition: all 0.3s;
}
.social-links {
  margin: 20px 0;
}

.social-links li {
  list-style: none;
  display: inline-block;
  margin: 0 10px;
}

.social-links li a {
  height: 50px;
  width: 50px;
  display: block;
  float: left;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  position: relative;
}

.social-links li a i {
  position: absolute;
  font-size: 28px;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  transition: all 0.3s;
  color: #333;
}

.social-links li a:hover i {
  color: #666;
  transform: translate(-50%, -50%) scale(1.2);
}

/* Timeline styles */
.timeline-container {
  position: relative;
  padding-left: 30px;
}

.timeline-container::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #007bff 0%, #0056b3 100%);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 8px;
  width: 12px;
  height: 12px;
  background: #007bff;
  border-radius: 50%;
  z-index: 2;
}

/* Tooltip styling */
.social-links li a::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 10px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  font-size: 12px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  margin-bottom: 5px;
}

.social-links li a:hover::before {
  opacity: 1;
  visibility: visible;
}

/* Mobile responsiveness for social links */
@media (max-width: 768px) {
  .social-links li {
    margin: 0 8px;
  }

  .social-links li a {
    height: 40px;
    width: 40px;
  }
  
  .social-links li a i {
    font-size: 24px;
  }
}

.wrap {
  padding: 0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .social-links li a {
    height: 40px;
    width: 40px;
  }
  
  .social-links li a i {
    font-size: 24px;
  }
  
  .social-links li {
    margin: 0 8px;
  }
}

@media (min-width: 768px) {
  .wrap .about-desc {
    position: relative;
  }
}
.wrap .about-desc .bold-text {
  position: absolute;
  top: -80px;
  left: 10px;
  right: 0;
  bottom: 0;
  font-weight: 700 !important;
  color: rgba(0, 0, 0, 0.08);
  text-transform: uppercase;
}
@media (min-width: 992px) {
  .wrap .about-desc .bold-text {
    font-size: 6em;
  }
}
@media (max-width: 991px) {
  .wrap .about-desc .bold-text {
    display: none;
  }
}

.progress-style {
  width: 400px;
}
@media (max-width: 412px) {
  .progress-style {
    width: 300px;
  }
}
.interests .icon-box {
  display: flex;
  align-items: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  transition: ease-in-out 0.3s;
}

.interests .icon-box i {
  font-size: 32px;
  padding-right: 10px;
  line-height: 1;
}

.interests .icon-box h3 {
  font-weight: 300;
  margin: 0;
  padding: 0;
  padding-left: 0.5rem;
  line-height: 1;
  font-size: 20px;
  color: #111;
}

.interests .icon-box:hover {
  background: rgba(122, 122, 122, 0.12);
}

.bg-text {
  position: absolute;
  margin-bottom: -1em;
  top: -80px;
  left: 10px;
  right: 0;
  bottom: 0;
  font-weight: 700 !important;
  color: rgba(0, 0, 0, 0.08);
  text-transform: uppercase;
}
@media (min-width: 992px) {
  .bg-text {
    font-size: 6em;
  }
}
@media (max-width: 991.98px) {
  .bg-text {
    display: none;
  }
}
@media (max-width: 767.98px) {
  .bg-text {
    display: none;
  }
}
@media (min-width: 768px) {
  .bg-text {
    position: relative;
  }
}
.profile-text {
  font-weight: 300;
}
@media (max-width: 768px) {
  .profile-text {
    font-size: 20px !important;
  }
}

@media (min-width: 768px) {
  .blog-entry {
    margin-bottom: 30px; } }

@media (max-width: 767.98px) {
  .blog-entry {
    margin-bottom: 30px; } }

.blog-entry .text {
  position: relative;
  border-top: 0;
  border-radius: 2px; }
  .blog-entry .text .heading {
    font-size: 20px;
    margin-bottom: 16px;
    font-weight: 500; }
    .blog-entry .text .heading a {
      color: #111; }
      .blog-entry .text .heading a:hover, .blog-entry .text .heading a:focus, .blog-entry .text .heading a:active {
        color: #2f89fc; }

.blog-entry .meta > div {
  display: inline-block;
  margin-right: 5px;
  margin-bottom: 5px;
  font-size: 15px; }
  .blog-entry .meta > div a {
    font-size: 15px;
    color: #8c8c8c; }

.date {
  margin-left: 0px; 
  font-style: italic; 
  color: #888;
}

.circular-logo {
  border-radius: 50%;
}


@media (max-width: 768px) {
  /* Adjust styles for smaller screens */
  .landing {
      text-align: center;
  }
  .landing h1 {
      font-size: 2rem;
  }
  .landing p {
      font-size: 1rem;
  }
  /* Add more styles for smaller screens as needed */
}

.to-top {
  background: white;
  position: fixed;
  bottom: 16px;
  right: 32px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #1f1f1f;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s;
  z-index: 99999; /* Adjust z-index to ensure it's above other elements */
}

.to-top.active {
  bottom:32px;
  pointer-events: auto;
  opacity:1;
}

/* Base responsive styles */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
    width: 100%;
    max-width: 100%;
  }
  
  /* Typography adjustments */
  h1.display-1 {
    font-size: 2rem !important;
    line-height: 1.2;
  }
  
  h1.display-4 {
    font-size: 1.5rem !important;
    margin-top: 1.5rem;
  }
  
  h2 {
    font-size: 1.3rem !important;
  }
  
  h3, h4 {
    font-size: 1.2rem !important;
  }
  
  /* Body text */
  p {
    font-size: 0.9rem !important;
    line-height: 1.5;
  }
  
  .lead {
    font-size: 0.95rem !important;
    line-height: 1.4;
  }
  
  /* Navigation adjustments */
  .navbar {
    padding: 0.5rem;
  }
  
  .navbar-nav {
    text-align: center;
    width: 100%;
  }
  
  .navbar-nav .nav-item {
    padding: 0.5rem 0;
    width: 100%;
  }
  
  /* Landing section adjustments */
  .landing {
    padding: 2rem 0;
  }
  
  .vertical-center {
    min-height: auto;
    padding: 2rem 0;
  }
  
  /* Profile image adjustments */
  .rounded-circle {
    max-width: 150px;
    margin: 1rem auto;
  }
  
  /* Tech stack grid adjustments */
  .interests .icon-box {
    margin-bottom: 1rem;
    padding: 1rem;
  }
  
  .icon-box h3 {
    font-size: 16px;
  }
  
  /* Social links adjustments */
  .social-links {
    text-align: center;
  }
  
  .social-links li a {
    height: 35px;
    width: 35px;
    margin: 0 3px;
  }
  
  .social-links li a ion-icon {
    font-size: 20px;
  }
  
  /* Section spacing */
  section {
    padding: 2rem 0;
  }
  
  /* Background text adjustments */
  .bg-text {
    display: none;
  }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
  h1.display-1 {
    font-size: 3rem !important;
  }
  
  h1.display-4 {
    font-size: 2.25rem !important;
  }
  
  .container {
    padding: 0 2rem;
  }
  
  .rounded-circle {
    max-width: 200px;
  }
}

/* Ensure smooth scrolling works on iOS */
html {
  -webkit-overflow-scrolling: touch;
}

/* Fix for sticky hover on mobile */
@media (hover: none) {
  .icon-box:hover,
  .nav-link:hover,
  .social-links li a:hover {
    transform: none;
  }
}

/* Improve scroll to top button */
.to-top {
  bottom: 1rem;
  right: 1rem;
  width: 35px;
  height: 35px;
  font-size: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border: 1px solid rgba(0,0,0,0.1);
}

/* Fix for content overflow */
.container {
  overflow-x: hidden;
  position: relative;
  z-index: 1;
}

/* Improve text readability on mobile */
body {
  -webkit-text-size-adjust: 100%;
}

/* Tech stack grid layout */
@media (max-width: 768px) {
  .interests .row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .interests .col-lg-3 {
    width: 100%;
    padding: 0;
  }

  .interests .icon-box {
    height: 100%;
    margin-bottom: 0;
    padding: 0.75rem;
  }

  .interests .icon-box h3 {
    font-size: 14px;
    margin-left: 8px;
  }

  .interests .icon-box img {
    width: 18px;
    height: 18px;
  }

  /* Font size consistency */
  h1.display-1 {
    font-size: 2.5rem !important;
    line-height: 1.2;
  }

  h1.display-4 {
    font-size: 2rem !important;
    margin-top: 2rem;
  }

  h2, h3, h4 {
    font-size: 1.5rem !important;
  }

  p, .lead {
    font-size: 1rem !important;
    line-height: 1.6;
  }

  .date {
    font-size: 0.9rem !important;
  }
}

/* Navbar toggle button positioning */
.navbar .container-fluid {
  padding: 0;
}

.navbar-toggler {
  margin-right: 1rem;
  padding: 0.25rem 0.5rem;
  font-size: 1rem;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

/* Update mobile styles */
@media (max-width: 768px) {
  /* Center name and title */
  .landing .col-lg-8.text-left {
    text-align: center !important;
  }
  
  .landing .lead.pl-2 {
    padding-left: 0 !important;
    text-align: center;
  }
  
  /* Increase profile image size */
  .rounded-circle {
    max-width: 200px !important;
    margin: 1rem auto;
  }
  
  /* Adjust tech stack icon sizes */
  .interests .icon-box {
    padding: 0.5rem;
  }
  
  .interests .icon-box img {
    width: 16px;
    height: 16px;
  }
  
  .interests .icon-box h3 {
    font-size: 13px;
    margin-left: 6px;
  }
}

/* Ensure desktop styles remain unchanged */
@media (min-width: 769px) {
  .interests .icon-box {
    padding: 20px;
  }
  
  .interests .icon-box img {
    width: 22px;
    height: 22px;
  }
  
  .interests .icon-box h3 {
    font-size: 20px;
    margin-left: 8px;
  }
}

/* Update mobile typography */
@media (max-width: 768px) {
  /* Headings */
  h1.display-1 {
    font-size: 2rem !important;
    line-height: 1.2;
  }
  
  h1.display-4 {
    font-size: 1.5rem !important;
    margin-top: 1.5rem;
  }
  
  h2 {
    font-size: 1.3rem !important;
  }
  
  h3, h4 {
    font-size: 1.2rem !important;
  }
  
  /* Body text */
  p {
    font-size: 0.9rem !important;
    line-height: 1.5;
  }
  
  .lead {
    font-size: 0.95rem !important;
    line-height: 1.4;
  }
  
  /* Tech stack */
  .interests .icon-box h3 {
    font-size: 0.85rem;
    margin-left: 6px;
  }
  
  /* Dates and metadata */
  .date {
    font-size: 0.8rem !important;
  }
  
  /* Navigation */
  .nav-link {
    font-size: 0.9rem;
  }
}

.navbar {
    margin-bottom: 40px;
    text-transform: lowercase;
    font-size: 15px;
    padding: 1rem 0;
}

.navbar .nav-link {
    color: #333 !important;
    text-decoration: none;
    margin: 0 15px;
    padding: 0.5rem 0;
}

.navbar .nav-link:hover {
    text-decoration: underline !important;
}

.navbar-nav {
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar .nav-link {
        margin: 5px 0;
        padding: 0.5rem 0;
    }
    
    .navbar-nav {
        text-align: center;
    }
}

.footer-text {
    font-size: 14px;
    color: #333;
    text-transform: lowercase;
    margin: 5px 0;
}

.rounded-custom {
    border-radius: 25px;
}

.shadow-effect {
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.shadow-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}

/* Keep these general styles */
body {
    position: relative;
    z-index: 1;
}

.container {
    position: relative;
    z-index: 1;
}

.carousel {
    margin-bottom: 0;
    height: 400px;
    width: 100%;
}

.carousel-inner {
    position: relative;
    height: 100%;
    width: 100%;
}

.carousel-item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto; /* Allow the height to adjust based on the image */
}

.carousel-item img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #868686;
    border-radius: 50%;
    padding: 20px;
    opacity: 0.8;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    opacity: 1;
}

.carousel-indicators li {
    background-color: #868686;
    opacity: 0.8;
}

.carousel-indicators .active {
    opacity: 1;
}

.carousel-caption {
    position: static;
    color: #777777;
    padding: 3px 0;
    text-align: center;
    font-style: italic;
}

.team-caption {
    text-align: center;
    margin-top: 10px; /* Adjust margin as needed */
}

/* Adjust spacing for the Hackathons section */
.desc h5 {
    margin-top: 0;
}

/* First, keep all existing carousel styles */
/* Then add these responsive adjustments */

@media (max-width: 768px) {
  .carousel {
    height: 300px;
  }
  
  .carousel-item {
    height: 300px;
  }
  
  .carousel-item img {
    width: 80%;  /* Wider images on mobile */
  }
  
  /* Improve carousel controls for mobile */
  .carousel-control-prev,
  .carousel-control-next {
    width: 15%; /* Wider touch targets */
  }
  
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    padding: 15px; /* Slightly smaller icons */
  }
}

/* Base responsive styles */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
    width: 100%;
    max-width: 100%;
  }
  
  /* Typography adjustments */
  h1.display-1 {
    font-size: 2rem !important;
    line-height: 1.2;
  }
  
  h1.display-4 {
    font-size: 1.5rem !important;
    margin-top: 1.5rem;
  }
  
  h2 {
    font-size: 1.3rem !important;
  }
  
  h3, h4 {
    font-size: 1.2rem !important;
  }
  
  /* Body text */
  p {
    font-size: 0.9rem !important;
    line-height: 1.5;
  }
  
  .lead {
    font-size: 0.95rem !important;
    line-height: 1.4;
  }
  
  /* Section spacing */
  section {
    padding: 2rem 0;
  }
  
  /* Consistent margins for all sections */
  .section-heading {
    margin-bottom: 1.5rem;
  }
  
  .py-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
  
  .mt-4, .my-4 {
    margin-top: 1.5rem !important;
  }
  
  .mb-4, .my-4 {
    margin-bottom: 1.5rem !important;
  }
  
  /* List spacing */
  ul {
    padding-left: 20px;
  }
  
  li {
    margin-bottom: 0.75rem;
  }
  
  /* Date styling */
  .date {
    font-size: 0.8rem !important;
    margin-bottom: 0.5rem;
  }
  
  /* Team caption responsive */
  .team-caption {
    font-size: 0.9em;
    padding: 3px 0;
    margin: 5px 0 15px 0;
  }
}

/* Ensure smooth scrolling works on iOS */
html {
  -webkit-overflow-scrolling: touch;
}

/* Fix for content overflow */
.container {
  overflow-x: hidden;
  position: relative;
  z-index: 1;
}

/* Improve text readability on mobile */
body {
  -webkit-text-size-adjust: 100%;
}

/* Mobile styles */
@media (max-width: 768px) {
  .carousel-item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
  }

  .carousel-item img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .team-caption {
    text-align: center;
    margin-top: 10px;
  }
}

/* Desktop styles */
@media (min-width: 769px) {
  .carousel-item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px; /* Set a fixed height for desktop */
  }

  .carousel-item img {
    max-height: 100%;
    width: auto;
    display: block;
    margin: 0 auto;
  }

  .team-caption {
    text-align: center;
    margin-top: 10px;
  }
}