@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* Theme colors - Change these variables to easily update your color scheme */
:root {
  --primary-color: #6A0DAD; /* Purple - previously was #0032FF (blue) */
  --primary-color-light: #9370DB; /* Medium purple */
  --primary-color-dark: #4B0082; /* Indigo */
  --accent-color: #E6E6FA; /* Lavender */
  --text-light: white;
  --text-dark: rgba(0, 0, 0, 0.747);
  --bg-dark: black;
  --bg-light: white;
  --gradient-start: #9932CC; /* Dark orchid */
  --gradient-middle: #7644ff; /* Previously kept */
  --gradient-end: #fd4766; /* Previously kept */
}

/* Dark mode color variables */
.dark-mode {
  --bg-current: var(--bg-light);
  --text-current: var(--text-dark);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  cursor: default;
}
a{
  text-decoration: none;
  cursor: pointer;
}
body {
  background-color: black;
  color: white;
  overflow-x: hidden;
}
.hero{
  width: 100%;
  min-height: 100vh;
  position: relative;
}
nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 5%;
  position: relative;
  z-index: 100;
}
.logo{
  max-height: 80px;
  border-radius: 50%;
}
.favico1, .favico2 {
  max-height: 34px;
  border-radius: 50%;
  position: absolute;
  top: 55px;
}
.favico1 {
  mix-blend-mode: screen;
  right: 140px;
}
.favico2 {
  right: 90px; /* Increased from 50px to avoid overlap */
}
nav ul{
  display: flex;
  align-items: center;
}
nav ul li{
  list-style: none;
  display: inline-block;
  padding: 10px 15px;
}
nav ul li a{
  color: white;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease;
  font-size: 1.2rem; /* Increased from default size */
  font-weight: 500; /* Added medium font weight for better visibility */
}
.dark-mode {
  background-color: var(--bg-light);
}
.dark-mode nav ul li a{
  color: var(--text-dark);
}
.dark-mode h2, .dark-mode p{
  color: var(--text-dark);
}
nav ul li a:hover{
  color: var(--primary-color);
}
nav ul li a:after{
  content: "";
  position: absolute;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary-color);
  transition: .3s;
  bottom: 0;
}
nav ul li a:hover:after{
  width: 100%;
}
.btn{
  color: var(--text-light);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 12px 22px;
  border-radius: 500px;
  display: inline-block;
  font-weight: 500;
  transition: all .4s ease-in-out;
  background: var(--primary-color);
  border: 2px solid var(--primary-color);
  cursor: pointer;
}
.btn>i{
  font-size: 1rem;
  margin: 5px;
  color: white;
  cursor: pointer;
}
.btn>i:hover{
  color: #b300ff;
}
.btn:hover{
  background: transparent;
  border-color: var(--primary-color);
  color: var(--primary-color);
}
.content{
  position: relative;
  width: 90%;
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
}
.name:after{
  content: "";
  position: absolute;
  left: 0;
  width: 0;
  height: 4px;
  background: var(--primary-color);
  transition: .3s;
  bottom: -10px;
}
.name:hover:after{
  width: 100px;
}

.content .title{
  color: #1f1f25;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 4px;
  display: inline-block;
  margin-bottom: 20px;
  background: linear-gradient(120deg, var(--gradient-start) 20.69%, var(--gradient-middle) 50.19%, var(--gradient-end) 79.69%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.content h1{
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: inherit;
  width: 70%;
}
.content h1 span{
  color: var(--primary-color);
}
.content p{
  width: 55%;
  color: #757575;
  margin-top: 25px;
  margin-bottom: 30px;
  line-height: 1.6;
  text-align: justify;
}
.soc{
  display: flex;
  position: fixed;
  left: 20px; /* Changed from right: 20px to left: 20px */
  bottom: 20px;
  z-index: 90;
}
.soc ul{
  list-style: none;
  display: flex;
  gap: 15px;
}
.soc ul li a{
  text-decoration: none;
  color: white;
  font-size: 1.5rem;
  transition: color 0.3s;
}

.soc>ul>li>a>#github:hover{
  color: rgba(216, 216, 216, 0.8);
}
.soc>ul>li>a>#linkedin:hover{
  color: var(--primary-color-light);
}
.dark-mode .soc>ul>li>a>#github, .dark-mode .soc>ul>li>a>#linkedin{
  color: rgba(0, 0, 0, 0.747);
}
.dark-mode .soc>ul>li>a>#github:hover{
  color: rgb(0, 0, 0);
}
.dark-mode .soc>ul>li>a>#linkedin:hover{
  color: var(--primary-color-dark);
}

#bar, #bar2{
  display: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  margin-left: 15px; /* Added margin to create space */
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
}

input:checked + .slider {
  background-color: var(--primary-color);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--primary-color);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}
.hover-underline-animation {
  display: inline-block;
  position: relative;
  color: var(--primary-color);
}
.hover-underline-animation::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 4px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}
.hover-underline-animation:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

a:link{
  color: white;
}

/* Global text justification */
p {
  text-align: justify;
  hyphens: auto;
}

/* Project-specific content justification */
.project-details p, 
.project-details li {
  text-align: justify;
}

/* Mobile Navigation */
@media screen and (max-width: 991px) {
  }av {
    padding: 15px 5%;
  .logo {
    max-height: 60px;
  }logo {
    max-height: 60px;
  nav ul {
    position: fixed;
    top: 0;
    left: 0;: fixed;
    background-color: rgba(0, 0, 0, 0.9);
    width: 100%;
    height: 100vh;or: rgba(0, 0, 0, 0.9);
    flex-direction: column;
    justify-content: center;
    align-items: center;mn;
    z-index: 100;nt: center;
    display: none;enter;
  } z-index: 100;
    display: none;
  .dark-mode nav ul {
    background-color: rgba(255, 255, 255, 0.95);
  }dark-mode nav ul {
    background-color: rgba(255, 255, 255, 0.95);
  nav ul li {
    margin: 15px 0;
  }av ul li {
    margin: 15px 0;
  nav ul li a {
    font-size: 1.4rem; /* Even larger on mobile for better touch targets */
  }
  ck;
  #bar {olute;
    display: block; right: 20px;
    position: absolute;  z-index: 101;
    right: 20px;
    z-index: 101;
  }
  ck;
  #bar2 {fixed;
    display: block;
    position: fixed;
    right: 20px; z-index: 102;
    top: 20px;  display: none;
    z-index: 102;
    display: none;
  }favico1, .favico2 {
    top: 40px;
  .favico1, .favico2 {
    top: 40px;
  }favico1 {
    right: 130px;
  .favico1 {
    right: 130px;
  }favico2 {
    right: 90px;
  .favico2 {
    right: 90px;
  }
   font-size: 2.5rem;
  .content h1 {  width: 100%;
    font-size: 2.5rem;
    width: 100%;
  }content p {
    width: 100%;
  .content p {
    width: 100%;
  }
  xed;
  .soc { bottom: 20px;
    position: fixed;   right: 10px;
    bottom: 20px;  }
    right: 10px;
  }
}ax-width: 480px) {
content h1 {
@media screen and (max-width: 480px) {  font-size: 2rem;
  .content h1 {
    font-size: 2rem;
  }favico1, .favico2 {
    max-height: 25px;
  .favico1, .favico2 {
    max-height: 25px;
  }favico1 {
    right: 110px;
  .favico1 {
    right: 110px;
  }favico2 {
    right: 70px;
  .favico2 {
    right: 70px;
  }
   padding: 10px 15px;
  .btn {   font-size: 12px;
    padding: 10px 15px;  }
    font-size: 12px;
  }
}

/* Footer styles */
.footer {
    background-color: rgba(51, 51, 51, 0.8);
    color: #fff;
    padding: 20px 0;
    width: 100%;
    position: relative;
    bottom: 0;
    text-align: center;
    margin-top: 60px;
    backdrop-filter: blur(5px);
    border-top: 1px solid var(--primary-color-dark);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color-light);
    text-decoration: none;
}

@media screen and (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: center;
        gap: 50px;
    }
    
    .footer-links {
        gap: 30px;
    }
}

/* Image gallery scrollbar in project files */
.image-gallery {
    background-color: var(--primary-color);
}

.image-gallery::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: var(--primary-color);
    border-radius: 4px;
}image-gallery {
.image-gallery {
    /* For Firefox: uncomment the next line if you want to support it, but note limited browser support */
    /* scrollbar-color: var(--primary-color) rgba(0, 0, 0, 0.2); */
}

.image-gallery::-webkit-scrollbar {
    width: 8px;
}

/* Certificate boxes link styling */
.box a {
  color: #d070db; /* Medium purple */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.box a:hover {
  color: var(--accent-color); /* Lavender on hover */
  text-decoration: none;
}

/* Dark mode support for certificate box links */
.dark-mode .box a {
  color: #d070db; /* Keep medium purple in dark mode too */
}

.dark-mode .box a:hover {
  color: var(--primary-color-light);
}

/* Licensing section styling in privacy policy */
.policy-section.licensing-section {
  margin-top: 40px;
  padding: 30px;
  background-color: rgba(40, 40, 40, 0.7) !important;
  border-radius: 12px !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3) !important;
  border: 1px solid var(--primary-color-dark) !important;
  display: block !important; /* Force display */
  width: 80% !important;
  max-width: 900px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.policy-section.licensing-section h2 {
  color: var(--primary-color) !important;
  font-size: 1.8rem !important;
  margin-bottom: 20px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding-bottom: 10px !important;
  text-align: left !important;
}

.policy-section.licensing-section > p {
  color: #e0e0e0 !important;
  margin-bottom: 20px !important;
}

.license-info {
  margin-bottom: 25px !important;
  padding: 20px !important;
  background-color: rgba(70, 70, 70, 0.5) !important;
  border-radius: 8px !important;
  border-left: 4px solid var(--primary-color) !important;
  display: block !important;
}

.license-info h3 {
  color: var(--primary-color-light) !important;
  font-size: 1.4rem !important;
  margin-bottom: 15px !important;
  text-align: left !important;
}

.license-info p {
  margin-bottom: 12px !important;
  line-height: 1.6 !important;
  color: #e0e0e0 !important;
  text-align: left !important;
}

.license-info a {
  color: var(--primary-color-light) !important;
  text-decoration: underline !important;
  transition: color 0.3s ease !important;
}

.license-info a:hover {
  color: var(--accent-color) !important;
  text-decoration: none !important;
}

/* Dark mode adjustments for licensing section */
.dark-mode .policy-section.licensing-section {
  background-color: rgba(230, 230, 230, 0.7) !important;
  border-color: var(--primary-color) !important;
}

.dark-mode .policy-section.licensing-section h2 {
  border-bottom-color: rgba(0, 0, 0, 0.1) !important;
}

.dark-mode .license-info {
  background-color: rgba(200, 200, 200, 0.5) !important;
}

.dark-mode .license-info p,
.dark-mode .policy-section.licensing-section > p {
  color: #333 !important;
}

/* Mobile responsiveness for licensing section */
@media screen and (max-width: 768px) {
  .policy-section.licensing-section {
    padding: 20px 15px !important;
    margin-top: 30px !important;
    width: 95% !important;
  }
  
  .policy-section.licensing-section h2 {
    font-size: 1.6rem !important;
  }
  
  .license-info {
    padding: 15px !important;
  }
  
  .license-info h3 {
    font-size: 1.3rem !important;
  }
}