body{
    margin: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white; 
    box-shadow: 0 2px 5px rgba(26, 74, 120, 0.4);
}
.navbar-brand img {
    width: 450px;
    height: auto;
}
.nav-item{
    padding-right: 15px;
    font-weight: bold;
}
.nav-item a:hover{
    border-bottom: 3px solid #0d6efd;
}
main{
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1); 
    margin-top: 100px;
}
main::before{
    content: "";
    position: absolute;
    inset: 0;
    background-image: url(../IMAGES/a-photograph-of-a-sprawling-codebase-dis_KfTY5PR0RTidQ9YKm9j5vw_bjPlPSvDRM6-ug0DMh1TdQ.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.2; 
    z-index: -1;
}
.ani{
    animation: pulseBrightness 2s infinite ease-in-out;
}
@keyframes pulseBrightness {
     from{
        opacity: 0.1;
        color: black;
     }
     to{
        opacity: 1;
        color: #007bff;
     }
  }
main img{
    height: 20px;
}
.left{
    display: flex;
    flex-direction: column; 
    justify-content: center; 
    padding: 20px 5% 20px 6%;
    opacity: 0;
    transform: translateX(-100px);
    animation: slideInLeft 2s ease-out forwards;
}
@keyframes slideInLeft {
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
.left .Expertise a{
    background-color: #0d6efd;
    border-radius: 5px;
}
.left .Expertise a:hover{
    background: linear-gradient(to bottom right, #0d6efd, white);
}
main .second{
    color: black;
    text-decoration: none;
}
main .second:hover{
    color:#1a4a78;
}
.right {
    opacity: 0;
    transform: translateX(100px) rotate(0deg);
    animation: slideRotateIn 2s ease-out forwards;
  }
  
  /* Animation keyframes */
  @keyframes slideRotateIn {
    to {
      opacity: 1;
      transform: translateX(0) rotate(360deg);
    }
  }
  
.right img{
    max-width: 100%;
    height: auto;
    padding: 40px 0px 50px 10%;
}

aside {
    display: flex;
    flex-direction: column; 
    align-items: center;   
    position: fixed;  
    font-weight: bold;      
    top: 50%;             
    right: 2%;                 
    transform: translateY(-50%);
    padding: 10px;
    z-index: 1000;
    color: #0d6efd;
}
aside span {
    margin: 10px 0;
    writing-mode: vertical-lr;
    text-align: center;
}
aside span a {
    font-size: 24px;
    text-decoration: none;
}
aside i{
    color: #0d6efd;
}
aside i:hover{
    box-shadow:0 0 20px #007BFF ;
}

.article-one{
    background-color: #f0f8ff;
    padding: 25px;
    margin-top: 30px;
}
.article-one span{
    color: #007bff;
    font-size: 40px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}
.article-one div{
    padding-right: 10%;
}
.stat-box{
    border-right: 1px solid #1a4a78;
}


/* SECTION-ONE */
.section-one{
    overflow-x: hidden;
    position: relative;
    z-index: 1;
}
.secleft{
    padding: 100px 5% 0px 10%;
    z-index: 1000;
}
.secleft h2{
    font-size: 45px;
}
.secleft p{
    font-size: 20px;
}
.secleft a{
    border-radius: 5px;
}
.secright{
    padding:10px 10% 80px 20px;
    margin-top: 80px;
    background-color: #f0f8ff;
}
.secright div{
    background-color: white;
    margin: 10px;
    padding: 15px 40px 15px 15px;
    border-radius: 5px;
    border: 1px solid #ddd;            
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
}
.skills{
    display: grid;
    grid-template-columns: 50% 50%;
}
.leftdots {
    position: absolute;
    top: 60px; 
    left: 0;   
    z-index: 0;
}
.rightdots {
    position: absolute;
    bottom: 60px;
    right: 50px;
    z-index: 0;
}
.top{
    position: relative;
    top: 70px;
}
.link-light:hover{
    background: linear-gradient(to bottom right, #0d6efd, white);
}
/* SECTION-TWO */
.section-two{
    background-color:#f0f8ff;
    overflow-x: hidden;
    margin-top: 50px;
}
.sec-two-left {
    opacity: 0;
    transform: translateX(-100px); /* Starts off-screen to the left */
    transition: transform 2s ease-out, opacity 1s ease-out;
  }

  /* State when .sec-two-left becomes visible */
  .sec-two-left.visible {
    opacity: 1;
    transform: translateX(0);
  }

.sec-two-left img{
    width: 90%;
    padding: 5%;
    transition: transform 0.3s ease;
}
.sec-two-left img:hover {
    transform: scale(1.05); /* Slightly enlarges the image */
}
.section-two a{
    border-radius: 5px;
}

/* ARTICLE-TWO */

.article-two{
    display: flex;
    flex-wrap: wrap;
    margin: 40px 0% 40px 0px;
    padding-right: 5%;
 }
.what-people-say{
    padding: 0px 10% 0px 10%;
}
.article-two .first-cont{
    position: relative;
    padding-top: 100px;
    flex: 60%;
}
.second-cont{
    flex: 40%;
}
.second-cont img {
    border-radius: 30px;
    transform: translateX(100%);
    transition: transform 1s ease-out;
}
.second-cont img.slide-in {
    transform: translateX(0);
  }

.second-cont img:hover {
    transform: scale(1.05); 
}

.first-cont img{
    position: absolute;
    left:0px;
    top: 35%;
}
#comment{
    background-color: #f0f8ff;
    border: 2px solid #1a4a78;
    padding: 30px;
    margin: 5% 10% 0px 0px;
    border-radius: 10px;
}
.article-two span{
    color: #9aa0a3;
    font-size: 13px;
}


/* ARTICLE-THREE */

.article-three {
    padding: 40px 20px;
    background-color:#f0f8ff;
}
.article-three .link a{
    background-color: #0d6efd;
    padding: 10px 15px 10px 15px;
    border-radius: 5px;
}
.article-three .link :hover{
    background: linear-gradient(to bottom right, #0d6efd, white);
    padding: 10px 15px 10px 15px;
    border-radius: 5px;
}
.text-center {
    text-align: center;
    margin-bottom: 30px;
}
.art-three-dots img {
    position: absolute;
    right: 0px;
}

/* Responsive grid layout */
.art-three-cont {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Individual blog cards */
.blog-card {
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.blog-card h3 {
    font-size: 1.1rem;
    margin: 10px 0 5px;
    text-align: start;
    font-weight: bolder;
}

.blog-card p {
    font-size: 0.95rem;
    color: #333;
    text-align: start;
}

/* Learn More link */
.learn-more {
    margin-top: auto;
    gap: 5px;
    color:black;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    text-align: start;
}

.learn-more img {
    width: 30px;
    height: 30px;
}
.art-three-dots{
    bottom: 130px;
    left: 20px;
}

/* SECTION-THREE */
.section-three{
    overflow-x: hidden;
}
.secthree-left{
    padding: 100px 5% 100px 8%;
}
input{
    width: 100%; 
    height: 45px;  
    margin-bottom: 15px; 
    padding: 10px;
    border: 1px solid #bfbeb9;
    border-radius: 5px;
}

#fullname, #email {
    width: 45%; 
}

#subject {
    width: 90%;
}

#date, #time {
    width: 45%; 
}

#message {
    width: 90%; 
    height: 100px; 
    border-radius: 5px;
    border: 1px solid #bfbeb9;
    padding-left: 10px;
}
#submit{
    color: white;
}
.secthree-right{
    padding: 100px 5% 100px 8%;
}
.info{
    font-weight: bold;
    font-size: 20px;
}
.section-three .d-flex{
    background-color: #f0f8ff;
    margin-bottom: 15px;
    padding: 15px 0px 10px 30px;
    border-radius: 5px;
}

/* FOOTER */
footer{
    background-color: #1a4a78;
    overflow-x: hidden;
    padding: 0px 6% 20px 6%;
}
.footer{
    padding: 50px 50px 5px 50px;
}
.footer ul{
    list-style-type: none;
}
.footer li{
    padding: 15px;
}
.footer a{
    text-decoration: none;
    color: white;
}
.footer a:hover{
    text-decoration: underline;
    color: #0d6efd;
}
hr{
    color: white;
}

@media screen and (max-width: 991px) {
    .navbar-brand img {
        width: 300px;
        height: auto;
    }
    .secright{
        padding-right: 2%;
    }
    .secright div{
        margin: 5px;
        padding: 15px 20px 10px 15px;
    }
    #submit{
        width: 50%;
    }
    footer .center{
        text-align: center;
    }
}

@media screen and (max-width: 600px) {
    .navbar-nav{
        margin-top: 20px;
    }
    article {
        flex-direction: column; 
        align-items: center;   
        text-align: center; 
    }
    .navbar-brand img {
        width: 200px;
        height: auto;
    }
    main{
        margin-top: 70px;
    }
    main .right img{
        padding: 40px 0% 50px 0%;
    }
    main .dots{
        max-width: 100px;       
        height: 80px;      
        top: 15%;                      
    }
    .article-one{
        margin-top: 10px;
    }
    .stat-box {
        margin-bottom: 15px;
        width: 100%; 
        border-right: none;
        border-bottom: 1px solid #1a4a78;
    }
    .skills{
        display: grid;
        grid-template-columns: 100%;
    }
    .top{
        position: relative;
        top: 0px;
    }
    .secleft{
        padding-top: 50px;
    }
    .sec-two-left img{
        width: 100%;
        padding: 5% 0% 0% 0%;
    }
    .secright{
        padding:15px 20px 50px 20px;
        margin-top: 30px;
    }
    .rightdots {
        right: 10px;
    }
    .article-two{
       padding-right: 0%;
     }
    .article-two .first-cont{
        padding-top: 40px;
    }
    .article-two .what-people-say{
        padding: 0px 0px 0px 0%;
    }
    #comment{
        margin: 5%;
    }
    .secthree-left{
        padding: 50px 5% 30px 5%;
    }
    .secthree-right{
        padding: 30px 5% 50px 8%;
    }
    #submit{
        width: 40%;
    }
    footer{
        padding: 0px 0% 0px 0%;
    }
    .footer{
        padding: 50px 50px 0px 25px;
    }
    .copyright{
        font-size: 12px;
    }
    .socials{
        font-size: 10px;
        padding-right: 10%;
    }
}