@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,100..900&display=swap');
*{
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body{
    background: #141414;
    color: white; 
}
#header{
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center; 
    display: flex;
    align-items: center;
}
.header-text{
    margin-top: 4%;
    font-size: 30px;
    padding: 40px 0;
    text-align: left;
}
.header-text h1{
    font-size: clamp(32px, 5vw, 60px);
    margin-top: 10px;
    margin-bottom: 4px;
}
.header-text h3{
    font-size: clamp(20px, 3vw, 40px);
    margin-top: 0px;
    margin-bottom: 8px;
}
.header-text h1 span{
    color: #834cd4;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif ;
}

nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 120px;
  background-color: #834cd4; 
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar .logo {
  font-size: 22px;
  font-weight: bold;
  color: #f4f4f4;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
  font-size: 18px;
}

.nav-links li a {
  text-decoration: none;
  color: #f4f4f4;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #f4f4f4;
}

.menu-icon {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

#menu-toggle {
  display: none;
}

.button-container {
  padding: 2px 0%;
  display: block;
  gap: 16px;
  justify-content: flex-start;
  margin-top: 30px;
}

.btn {
  padding: 12px 12px;
  font-size: 18px;
  border-radius: 8px;
  font-weight: normal;
  text-align: center;
  width: 80%;
  cursor: pointer;
  transition: 0.3s ease;
}

/* Active Button Left */
.btn-active {
  background-color: #834cd4; 
  padding: 14px 14px;
  border-radius: 6px;
  font-size: 18px;
  justify-content: flex-start;
  color: white;
  border: none;
}

/* Inactive Button Right */
.btn.inactive {
  background-color: transparent;
  color: #cccccc;           
  border: 2px solid #cccccc; 
  transition: 0.3s ease;
}

.btn.inactive:hover {
  color: #834cd4;            
  border-color: #834cd4;     
  background-color: transparent; 
}

.btn:hover {
  opacity: 0.8;
}

/* --------------about-------------- */

#about{
  color: white;
  padding: 60px 0;
}
.row{
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}
.about-col-1{
    flex-basis: 35%;
    align-items: center;
    justify-content: space-between;
  }
.about-col-2{
  width: 100%;
  max-width: 800px;
  padding: 0 20px;
  flex-basis: 60%;
  align-items: center;
  box-sizing: border-box;
  text-align: justify;
  line-height: 1.6;
  justify-content: space-between;
}
.about-img{
  width: 100%;
  height: 450px;
  border-radius: 12px;
  max-width: 1000px;
  object-fit: cover;
  display: flex;
}
.sub-title{
  font-size: 60px;
  font-weight: 600;
  text-align: justify;
  line-height: 1.6;
  color: white;
}
.abt-par{
    text-align: justify;
    line-height: 1.6;
    margin-top: 16px;
    font-size: 24px;
    flex: 1;
}
.tab-titles{
  display: flex;
  flex-wrap: wrap;
  gap: 110px;
  justify-content: center;
  max-width: 1000px;
}
.tab-links{
    font-size: 24px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}
.tab-links::after{
    content: '';
    width: 0;
    height: 6px;
    background: #834cd4;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}
.tab-links.active-link::after{
    width: 80%;
}
.tab-contents ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  padding: 40px;
  list-style: none;
}

.tab-contents ul li{
  width: calc(33.33% - 20px);
  list-style: disc;
  border-radius: 8px;
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.6;
  color: white;
}
.tab-contents ul li span{
    color: #834cd4;
    font-size: 18px;
}
.tab-contents{
    display: none;
    font-size: 18px;
    text-align: left;
}
.tab-contents.active-tab{
    display: block;
}
.tab-wrapper {
  max-width: 1000px;
  margin: 80px auto;
  padding: 40px;
  background-color: #2e2e2e;
  border-radius: 8px;
  box-sizing: border-box;
}

.activities {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
}

.activities h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: white;
}

.activity,
.activity.reverse {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 60px;
}

.activity-image {
  width: 300px; 
  flex-shrink: 0;
}
.activity.reverse {
  width: 100%;
  flex-direction: row-reverse;
}

.activity-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.activity-text {
  width: 100%;
  flex: 1;
}

.activity-text p {
  font-size: 1.4rem;
  text-align: justify;
  line-height: 1.6;
  line-height: 1.6;
  color: white;
}

/* --------------services-------------- */

#services{
    padding: 40px 0;
}
.services-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}
.services-list p{
  font-size: 20px;
  text-align: justify;
  line-height: 1.6;
}
.services-list div{
    background: #262626;
    padding: 40px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 10px;
    transition: background 0.5s, transform 0.5s;
}
.services-list div i{
    font-size: 50px;
    margin-bottom: 30px;
}
.services-list div h2{
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 15px;
}
.services-list div a{
    text-decoration: none;
    color: #f4f4f4;
    font-size: 20px;
    margin-top: 20px;
    display: inline--block;
}
.services-list div:hover{
    background: #834cd4;
    transform: translateY(-10px);
}

/* --------------work-------------- */

#work{
    padding: 80px 0;
}
.layer{
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(0,0,0,0.6), #834cd4);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 40px, 40px;
    text-align: center;
    font-size: 14px;
    transition: height 0.5s;
}
.layer h3{
    font-weight: 500;
    margin-bottom: 20px;
}
.layer a{
    margin-top: 20px;
    color: #834cd4;
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    background: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
}

.btn:hover{
    background: #834cd4;
}

/*--- Cards in My work section ---*/
.projects-section {
  width: 100%;
  padding: 40px 40px;
  background-color: #1e1e1e;
  color: white;
  margin-top: 40px;
  border-radius: 12px;
  text-align: center;
}

.projects-section h2 {
  font-size: 24px;
  margin-bottom: 40px;
}
.project-section h2 {
  font-size: 24px;
  padding: 0 120px;
  margin-bottom: 40px;
}

.projects-section p {
  font-size: 18px;
  text-align: justify;
  line-height: 1.6;
  color: #bbbbbb;
  margin-bottom: 40px;
}
.project-section {
  width: 100%;
  padding: 0.2rem;
  font-family: 'Poppins', sans-serif;
  color: white;
  max-width: 1000px;
  margin: auto;
}

.project-top {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.project-text {
  text-align: justify;
  padding: 20px 0;
  line-height: 1.6;
  margin-top: 32px;
  font-size: 26px;
  flex: 2;
}
/* Card Grid */
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  justify-items: center;
}

/* Individual Card */
.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: #2e2e2e;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  max-width: 800px;
  text-align: left;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  display: block;
}

.card-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 20px;
  align-items: flex-start; 
  text-align: left;
}

.card-content .tag {
  display: inline-block;       
  padding: 6px 12px;
  background-color: #ccacfc; 
  color: #272727;
  border-radius: 999px;        
  font-size: 12px;
  margin-bottom: 10px;
  white-space: nowrap; 
}

.card-content h3 {
  font-size: 24px;
  margin: 10px 0;
  color: #834cd4;
}

.card-content p {
  font-size: 18px;
  text-align: justify;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 16px;
}

.meta {
  font-size: 14px;
  display: flex;
  justify-content: space-between; 
  color: #ccc;
  gap: 4px;
  flex-direction: column;
  margin-top: auto;
}

.color-box {
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin: 0 4px;
  border-radius: 4px;
}
.full-width-img {
  width: 100%;
  height: 500px;
  border-radius: 12px;
  max-width: 1000px;
  object-fit: cover;
  display: block;
  margin: 2rem auto;
}

/*--------Paper Roles---------*/
.paper {
  background: #303030;
  padding: 80px; 
  margin: 2rem auto;
  max-width: 1000px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  border: 1px solid #181818;
}

.paper-content {
  font-family: 'Georgia', serif;
  text-align: justify;
  color: #f4f4f4;
  font-size: 20px;
  line-height: 1.8; 
}
.paper-content p{
  margin-bottom: 1rem; 
}

/*---------For Typography----------*/
.copybook {
  padding: 40px 0;
}

.section-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-wrapper h2 {
  color: white; 
  text-align: left;
  font-size: 24px;
  margin-bottom: 1rem;
}
.section-wrapper p {
  color: white;
  font-size: 18px; 
  line-height: 1.7;
  margin-bottom: 1.2rem;
  text-align: justify;
}
.section-wrapper ul li {
  color: white;
  font-size: 20px; 
  line-height: 1.7;
  margin-bottom: 1.2rem;
  text-align: justify;
}

.line-row {
  position: relative;
  height: 90px;
  margin-bottom: 60px;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

/* All 4 lines: top, bottom, and 2 middle */
.line-row::before,
.line-row::after,
.line-row .middle-line1,
.line-row .middle-line2 {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  border-top: 2px dashed #834cd4;
  pointer-events: none;
  z-index: 0;
}

/* Outer lines */
.line-row::before {
  top: 0;
}
.line-row::after {
  bottom: 0;
}

/* Middle lines */
.line-row .middle-line1 {
  top: 33%;
}
.line-row .middle-line2 {
  top: 66%;
}

/* Text styling for all */
.text {
  color: white;
  z-index: 1;
  position: relative;
  font-weight: 700;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
}

/* Capital letters: taller so they touch top and bottom */
.line-row.uppercase .text {
  font-size: 100px;
  line-height: 1;
  text-transform: uppercase;
  height: 100%;
}

/* Small letters: only fit between middle lines */
.line-row.lowercase .text {
  font-size: 40px;
  line-height: 0.7;
}

 .button-btn {
    display: flex;
    justify-content: space-between; 
    margin: 100px 0;
    padding: 0 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;     
  }

  .btn {
    background-color: #834cd4;    
    color: white;     
    margin: 0 8px;     
    width: fit-content;
    justify-content: space-between;      
    padding: 12px 24px;          
    text-decoration: none;        
    font-size: 18px;             
    border-radius: 8px;           
    box-shadow: 0 4px 8px rgba(0,0,0,0.2); 
    transition: background-color 0.3s ease;
  }

  .btn:hover {
    background-color: #7443be;   
  }

  .btn.disabled {
  background-color: transparent;
  color: #cccccc;           
  border: 2px solid #cccccc; 
  transition: 0.3s ease;
}

a{
  text-decoration: none;
  color: white;
}
#msg{
    color: #61b752;
    margin-top: -40px;
    display: block;
}

/*---------footer---------*/

.footer {
  background-color: #000000;
  color: white;
  padding: 12px 120px;
  font-family: sans-serif;
}

.footer-header h2 {
  margin: 0 0 10px 0;
  font-size: 48px;
  font-weight: 1000; 
  font-family: sans-serif;
}

hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 20px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  text-align: left;
}

.footer-col {
  flex: 1;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: white;
  text-decoration: none;
  font-size: 24px;
  transition: color 0.3s;
}

.footer-col p {
  color: white;
  text-decoration: none;
  font-size: 20px;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: #834cd4;
}

.footer-col i {
  margin-right: 8px;
  color: #834cd4;
}

.footer-bottom {
  text-align: center;
  font-size: 24px;
}
/*------------css for small screens------------*/

@media only screen and (max-width: 768px){
  .navbar{
    display: flex;
    padding: 20px 60px;
    width: 100%;
    flex-direction: row;
    margin: 0 auto;
    justify-content: space-content;
  }
  
  nav .fas{
      display: block;
      font-size: 25px;
  }
  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background-color: #834cd4;
    width: 100%;
    flex-direction: column;
    align-items: left;
    gap: 15px;
    display: none;
    padding: 20px 5%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  #menu-toggle:checked ~ .nav-links {
    display: flex;
  }

  .menu-icon {
    display: block;
  }
  nav ul li{
      display: block;
      margin: 25px;
  }
  nav ul .fas{
      position: absolute;
      top: 25px;
      left: 25px;
      cursor: pointer;
  }

  
  #header{
      height: auto;
      padding: 60px 0;
  }
  .header-text {
      font-size: 16px;
      margin-top: 0;
      text-align: left;
  }
  .header-text h1{
      font-size: 40px;
      margin-bottom: 16px;
  }
  .header-text h3{
      font-size: 28px;
  }
  .button-container {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: left;
    justify-content: left;
  }
  .btn {
      width: 80%;
      max-width: 172px;
  }
  .btn.active {
    background-color: #834cd4; 
    padding: 12px 18px;
    font-size: 18px;
    justify-content: flex-start;
    color: white;
    border: none;
  }

  .sub-title{
      font-size: 40px;
  }
  .about-col-1,.about-col-2 {
      flex-basis: 100%;
      width: 100%;
  }
  .btn-abt {
      padding: 12px 30px;
      font-size: 14px;
  }

  .activity, .activity.reverse {
  flex-direction: column;
  gap: 30px;
  text-align: left;
  }

  .activity.reverse {
    flex-direction: column;
  }

  .activity-text p {
    margin-top: 20px;
    font-size: 20px;
  }
  .about-col-1{
      margin-bottom: 30px;
  }
  .about-col-2{
      font-size: 14px;
      text-align: justify;
      line-height: 1.6;
      padding: 20px;
      max-width: 700px;
  }
  .about-col-2 h2 {
    font-size: 20px;
  }
  .abt-par {
    display: flex;
    width: 100%;
    font-size: 20px;
    line-height: 1.6;
    text-align: justify;
    padding: 0 10px;
  }
  .tab-contents ul {
    padding-left: 16px; 
  }

  .tab-contents ul li {
    width: 100% ;
    font-size: 18px;
    margin: 6px 0; 
  }

  .tab-titles {
    flex-direction: column;
    gap: 10px;
    font-size: 20px;
  }

  .tab-links {
    margin-right: 0;
  }
  .tab-links.active-link::after{
    width: 20%;
  }

   .full-width-img {
    height: auto;
    max-width: 100%;
  }
  
  .project-top {
    flex-direction: column; 
    gap: 1rem;
  }

  .projects-section h2 {
    font-size: 20px; 
    margin-bottom: 24px;
  }

  .projects-section p {
    font-size: 18px; 
    text-align: justify;
    line-height: 1.6;   
    margin-bottom: 24px;
  }

  .project-text {
    font-size: 18px;
  }

  .project-section {
    padding: 2rem;
  }

  .paper {
    padding: 20px;
    margin: 1rem 0.5rem;
  }

  .paper-content {
    font-size: 18px;
    line-height: 1.6;
  }

  .copybook {
    padding: 20px 10px;
  }

  .line-row {
    height: 70px;
    margin-bottom: 40px;
  }

  .line-row.uppercase .text {
    font-size: 60px; 
  }

  .line-row.lowercase .text {
    font-size: 30px; 
  }
   .button-btn {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 60px 0;
    padding: 0 10px;
  }

  .btn {
    display: flex;               
    justify-content: flex-start; 
    align-items: center;         
    gap: 8px;                   
    font-size: 16px;
    padding: 8px 40px;           
    margin: 4px 0;
    width: 100%;
    box-sizing: border-box;
  }

  .contact-center {
    flex-basis: 100%;
  }
  .row {
    flex-direction: column;
    align-items: center;
    text-align: justify;
  }
  .footer {
    padding: 20px 20px; 
    width: 100%;
  }

  .footer-header h2 {
    font-size: 32px; 
    text-align: center;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center; 
  }

  .footer-col {
    min-width: 100%;
    align-items: left;
  }

  .footer-col a,
  .footer-col p {
    font-size: 18px;
  }

  .footer-bottom {
    font-size: 16px;
    margin-top: 20px;
  }
}

@media only screen and (max-width: 600px) {
   .hero-text h1 {
    font-size: 1.8rem; 
  }
  .hero-text p {
    font-size: 1rem;
  }
  .hero-text {
    padding: 0 1rem; 
  }
   .project-cards {
    grid-template-columns: 1fr; 
    padding: 0 1rem;
  }
}