@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*{
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

header {
    background-color: #ffffffef;
    width: 100%;
    position: fixed;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 200px;
}

.logo {
    text-decoration: none;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.8em;
}

.logo img {
    height: 70px;
    width: auto;
}

.navigation {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    background: #ffffff00;
    padding: 20px;
  }
  
  .navigation .holographic-card {
    padding: 10px 20px;
    background: #111;
    color: #ffffff;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.5s ease;
  }
  
  .navigation .holographic-card span {
    position: relative;
    z-index: 2;
  }
  
  .navigation .holographic-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
      0deg, 
      transparent, 
      transparent 30%, 
      #503be6
    );
    transform: rotate(-45deg);
    transition: all 0.5s ease;
    opacity: 0;
    z-index: 1;
  }
  
  .navigation .holographic-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #503be6;
  }
  
  .navigation .holographic-card:hover::before {
    opacity: 1;
    transform: rotate(-45deg) translateY(100%);
  }
  
section {
    padding: 100px 200px;
}
.main {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px; /* Adjust this value to match your header height */
    background: url(assets/images/v1016-b-09.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.main h2 {
    font-size: 1.8em;
    font-weight: 700;
    margin-top: 10px;
    color: #fdfdfd;
}
.main h2 span {
    display: inline-block;
    margin-top: 10px;
    color: #503be6;
    font-size: 1.8em;
    font-weight: 700;
}
.main h3 {
    font-size: 2em;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 10px;
    margin-bottom: 30px;
    color: #ffffff;
}
.main-btn {
    display: inline-block;
    padding: 12px 25px;
    background: #7565f3;
    color: rgb(255, 255, 255);
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    margin-right: 20px
  }


.main-btn span {
    position: relative;
    z-index: 2;
  }

  
  .main-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
      0deg, 
      transparent, 
      transparent 30%, 
      #503be6
    );
    transform: rotate(-45deg);
    transition: all 0.5s ease;
    opacity: 0;
    z-index: 1;
  }
  
  .main-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #503be6;
  }
  
  .main-btn:hover::before {
    opacity: 1;
    transform: rotate(-45deg) translateY(100%);
  }


.social-icons ul {
    display: flex;
    justify-content:left center;
    padding: 0;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .social-icons ul li {
    list-style: none;
  }
  
  .social-icons ul li a {
    width: 60px;
    height: 60px;
    background-color: #fff;
    text-align: center;
    line-height: 60px;
    font-size: 24px;
    margin: 0 10px;
    display: block;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    border: 2px solid #fff;
    z-index: 1;
    transition: 1.5s;
  }
  
  .social-icons ul li a:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    transition: 0.5s;
    z-index: 2;
  }
  
  .social-icons ul li a:hover:before {
    top: 0;
  }
  
  /* Custom hover colors for each icon with transparency */
.social-icons ul li:nth-child(1) a:before {
  background: rgba(0, 119, 181, 0.8); /* LinkedIn */
}
.social-icons ul li:nth-child(2) a:before {
  background: rgba(225, 48, 108, 0.8); /* Instagram */
}
.social-icons ul li:nth-child(3) a:before {
  background: rgba(51, 51, 51, 0.8); /* GitHub */
}
.social-icons ul li:nth-child(4) a:before {
  background: rgba(37, 211, 102, 0.8); /* WhatsApp */
}
.title1 {
    display: flex;
    justify-content: center;
    color: #503be6;
    font-size: 2.2em;
    font-weight: 800;
    margin-bottom: 30px;
}
/*
.cards {
    background: url(assets/images/b9e66569b740338f770c950173034acb.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
*/
.content {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.card{
    background-color: #ffffff;
    width: 21.25rem;
    border-radius: 10px;
    box-shadow: 0px 5px 10px rgba(1 1 1 /20%);
    padding: 25px;
    margin: 15px;
    text-align: center;
    transition: 0.7s ease;
}

.card:hover {
    transform: scale(1.1)
}

.icon {
    color: #503be6;
    font-size: 8em;
    text-align: center;
}

.info h3 {
    color: #503be6;
    font-size: 1.2em;
    font-weight: 700;
    margin: 10px;
}

.projects {
    background: url(assets/images/v1016-b-09.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.projects .content {
    margin-top: 30px;
}

.project-card {
    background: #fff;
    border: 2px solid #fff;
    min-height: 14em;
    width: 23em;
    overflow: hidden;
    border-radius: 10px;
    margin: 20px;
    transition: 0.7s ease;
}

.project-card, .card {
    max-width: 100%;
    box-sizing: border-box;
}

.project-card:hover {
    transform: scale(1.1);
}
.project-card:hover .project-image {
    opacity: 0.9;
}

.project-image img {
    width: 100%;
}

.project-info {
    padding: 1em;
}

.project-category {
    font-size: 0.8em;
    color: #000;
}

.project-title {
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
    font-weight: 800;
    margin-top: 10px;
}

.more-details {
    text-decoration: none;
    color: #503be6;
}

.more-details:hover {
    color: #601cfc;
}

.contact .icon {
    font-size: 4.5em;
}

.contact .info h3 {
    color: #000;
}

.contact .info p {
    font-size: 1.5em;
}

.footer {
    background: url(assets/images/v1016-b-09.jpg) no-repeat;
    color: #fff;
    padding: 2em;
    display: flex;
    justify-content: space-between;
}

.footer-title {
    font-size: 1.3em;
    font-weight: 600;
}

.footer-title span {
    color: #503be6;
}

@media (max-width: 1023px){
    header{
        flex-direction: column;
        padding: 12px 20px;
    }

    .main {
        background-attachment: scroll; /* Disable fixed background for mobile devices */
    }

    .navigation a{
        padding-left: 10px;
    }

    .title{
        font-size: 1.8em;
    }

    section{
        padding: 80px 20px;
    }

    .main-content h2{
        font-size: 1em;
    }

    .main-content h3{
        font-size: 1.6em;
    }

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


}

@media (max-width: 641px){
    body{
        font-size: 12px;
    }
    .main {
        padding-top: 140px; /* match mobile header height if it stacks or grows */
    }

    .main-content h2{
        font-size: 0.8em;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 10px 20px;
    }
    section {
        padding: 80px 20px;
    }

    .main {
        padding-top: 250px; /* match mobile header height if it stacks or grows */
    }

    .logo {
        font-size: 1.5em;
        margin-bottom: 20px;
    }

    .navigation {
        flex-direction: row; 
        flex-wrap: wrap;     
        justify-content: center;
        gap: 10px;
        padding: 10px;
    }

    .navigation .holographic-card {
        padding: 8px 15px;
        font-size: 0.9em;
        width: 100%;
        text-align: center;
    }
}

/* Media query for very small screens (extra mobile or very narrow screens) */
@media (max-width: 480px) {
    .logo img {
        height: 50px;
    }


    .navigation .holographic-card {
        padding: 8px 15px;
        font-size: 0.9em;
    }
}

@media (max-width: 768px) {
    .projects .content {
        flex-direction: column;
        align-items: center;
    }
}



    /*
  /* Font & container styles 
  
.cards {
    padding: 60px 20px;
    background-color: #f5f5f5;
    text-align: center;
  }
  
  .cards .main-title {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #503be6;
  }
  
  /* Card layout 
  .content {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  /* Base Service Box 
  .serviceBox {
    background: #ffffff;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    padding: 40px 15px 25px;
    border-radius: 10px;
    width: 300px;
    position: relative;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
  
  .serviceBox:before,
  .serviceBox:after {
    content: "";
    background: linear-gradient(to bottom, #503be6, #7e6ff3);
    width: 100%;
    height: 40px;
    border-radius: 10px 10px 0 0;
    position: absolute;
    top: 0;
    left: 0;
  }
  
  .serviceBox:after {
    background: #503be6;
    top: auto;
    bottom: 0;
    height: 10px;
    border-radius: 0 0 10px 10px;
  }
  
  /* Title styling 
  .serviceBox .title {
    color: #fff;
    background: #503be6;
    font-size: 17px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 12px 9px;
    margin: -10px 0 18px;
    display: inline-block;
    position: relative;
  }
  
  .serviceBox .title:before,
  .serviceBox .title:after {
    content: "";
    background: linear-gradient(to top left, #422bec 49%, transparent 50%);
    width: 10px;
    height: 10px;
    position: absolute;
    top: 0;
    left: -10px;
  }
  
  .serviceBox .title:after {
    transform: rotateY(180deg);
    left: auto;
    right: -10px;
  }
  
  /* Icon 
  .serviceBox .service-icon {
    color: #503be6;
    font-size: 50px;
    line-height: 50px;
    margin: 0 0 15px;
  }
  
  /* Description 
  .serviceBox .description {
    color: #000000;
    font-size: 13px;
    line-height: 22px;
    margin: 0;
  }
  
  /* Variant styles 
  .serviceBox.purple:before { background: linear-gradient(#2061e3, #5e8be4); }
  .serviceBox.purple:after,
  .serviceBox.purple .title { background: #3e76df; }
  .serviceBox.purple .title:before,
  .serviceBox.purple .title:after { background: linear-gradient(to top left, #062f75 49%, transparent 50%); }
  .serviceBox.purple .service-icon { color: #527edc; }
  
  .serviceBox.green:before { background: linear-gradient(#45bfc1, #60d4d6); }
  .serviceBox.green:after,
  .serviceBox.green .title { background: #45bfc1; }
  .serviceBox.green .title:before,
  .serviceBox.green .title:after { background: linear-gradient(to top left, #0da9ac 49%, transparent 50%); }
  .serviceBox.green .service-icon { color: #3aa0a2; }
  
  /* Responsive 
  @media only screen and (max-width: 990px) {
    .content {
      flex-direction: column;
      align-items: center;
    }
  }
  */