*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Spinner */
.spin-container {
    position: fixed;
    top: 0;
    left: 0;
    font-family: Poppins;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    background-color: #f3f3f3;
    transform: opacity 0.75s, visibility 0.75s;
    z-index: 1100;
  }
  .loader-hidden{
    opacity: 0;
    visibility: hidden;
  }
  .spin-box {
    position: relative;
    font-size: 40px;
  }
  
  #spin-text {
    display: inline-block;
    padding: 5px 0px;
    color: #00246B;
  }
  
  .spin-dot {
    position: absolute;
    background-color: #609aff;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    transform: translate(-50%, -50%);
    animation: spinMoveDot 2.5s linear infinite;
  }
  
  @keyframes spinMoveDot {
    0% {
      left: 15px;  
      top: 0;
    }
    20% {
      left: 15px; 
      top: 0;
    }
    40% {
      left: 115px; 
      top: 0;
    }
    60% {
      left: 115px;  
      top: 0;
    }
    80% {
      left: 310px; 
      top: 20px;
    }
    100% {
      left: 310px; 
      top: 20px;
    }
  }
/* progress bar */
.main-portfolio  #scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: #8BD8BD26; 
    z-index: 1000;
}
.main-portfolio   #scroll-progress-bar {
    width: 0%;
    height: 100%;
    background-color:#00246B;
    transition: width 0.5s ease-out;
}

/* Home Content Section*/
.main-portfolio .main-home-page-content{
    background-color: rgba(202, 220, 252, 0.5);
    width: 100%;
}
.main-home-page-content .homepage-image-section{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    padding: 20px 80px;
    height: 100px;
}
.main-home-page-content .homepage-image-section #yuktha-image-section,
.main-home-page-content .homepage-image-section #wingherry-image-section{
    background-color: rgb(230, 230, 230);
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform 0.5s ease;
    box-shadow: 0px 4px 4px 0px #00000040;

}
.main-home-page-content .homepage-image-section #yuktha-image-section.scaled,
.main-home-page-content .homepage-image-section #wingherry-image-section.scaled {
    background-color: rgb(255, 255, 255);
    transform: scale(1.3);
    cursor: pointer; 
}
.main-home-page-content .homepage-image-section #yuktha-image-section>img{
    height: 40px;
    width: 40px;
}
.main-home-page-content .homepage-image-section #wingherry-image-section>img{
    height: 30px;
    width: 40px;
}

/* Introduction and Profile section */
.main-portfolio .main-intro-profile-section{
    display: flex;
    justify-content: space-between;
    padding-bottom: 50px;
}
/* Introducion Section */
.main-intro-profile-section .main-into-section{
    max-width: 700px;
    width: 100%;
    margin-left: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    
}
.main-intro-profile-section .dot-section {
    margin-left: 10px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    position: relative;
    height: 180px;
}

.dot {
    opacity: 0;
    transform: translateY(-50px); /* Start position above the screen */
    animation: fall 1s ease forwards;
}

.dot:nth-child(1) {
    animation-delay: 3s;
}

.dot:nth-child(2) {
    animation-delay: 3.5s;
}

.dot:nth-child(3) {
    animation-delay: 4s;
}

.dot:nth-child(4) {
    animation-delay: 4.5s;
}

.dot:nth-child(5) {
    animation-delay: 5s;
}

@keyframes fall {
    to {
        opacity: 1;
        transform: translateY(0); /* Final position after falling */
    }
}

.main-into-section .main-into{
    position: relative;
    top: 100px;
    left: 50px;
    color: black;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-family: Prompt;
    
}
.main-into-section .main-into #hello{
    font-size: 32px;
    font-weight: 300;
    line-height: 48px;
}
.main-into-section .main-into #vijay{
    font-size: 32px;
    font-weight: 600;
    line-height: 40px;
}
#chairman, #chairman-desc {
    opacity: 1;
    display: inline;
}

/* Animation for text zooming from left to right */
@keyframes zoomInFromLeft {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* The zoom animation applied to each letter */
.zoom-animation span {
    display: inline-block;
    opacity: 0;
    transform: scale(0.5);
    animation: zoomInFromLeft 0.8s ease forwards;
}

/* Delay for the animation of each span */
.zoom-animation span:nth-child(1) {
    animation-delay: 0s;
}
.zoom-animation span:nth-child(2) {
    animation-delay: 0.1s;
}
.zoom-animation span:nth-child(3) {
    animation-delay: 0.125s;
}
.zoom-animation span:nth-child(4) {
    animation-delay: 0.15s;
}
.zoom-animation span:nth-child(5) {
    animation-delay: 0.175s;
}
.zoom-animation span:nth-child(6) {
    animation-delay: 0.2s;
}
.zoom-animation span:nth-child(7) {
    animation-delay: 0.225s;
}
.zoom-animation span:nth-child(8) {
    animation-delay: 0.25s;
}
.zoom-animation span:nth-child(9) {
    animation-delay: 0.275s;
}
.zoom-animation span:nth-child(10) {
    animation-delay: 0.3s;
}
.zoom-animation span:nth-child(11) {
    animation-delay: 0.325s;
}
.zoom-animation span:nth-child(12) {
    animation-delay: 0.35s;
}
.zoom-animation span:nth-child(13) {
    animation-delay: 0.375s;
}
.zoom-animation span:nth-child(14) {
    animation-delay: 0.4s;
}
.zoom-animation span:nth-child(15) {
    animation-delay: 0.425s;
}
.zoom-animation span:nth-child(16) {
    animation-delay: 0.45s;
}
.zoom-animation span:nth-child(17) {
    animation-delay: 0.475s;
}
.zoom-animation span:nth-child(18) {
    animation-delay: 0.5s;
}
.zoom-animation span:nth-child(19) {
    animation-delay: 0.525s;
}
.zoom-animation span:nth-child(20) {
    animation-delay: 0.55s;
}
.zoom-animation span:nth-child(21) {
    animation-delay: 0.575s;
}
.zoom-animation span:nth-child(22) {
    animation-delay: 0.6s;
}
.zoom-animation span:nth-child(23) {
    animation-delay: 0.625s;
}
.zoom-animation span:nth-child(24) {
    animation-delay: 0.65s;
}
.zoom-animation span:nth-child(25) {
    animation-delay: 0.675s;
}
.zoom-animation span:nth-child(26) {
    animation-delay: 0.7s;
}
.zoom-animation span:nth-child(27) {
    animation-delay: 0.725s;
}
.zoom-animation span:nth-child(28) {
    animation-delay: 0.75s;
}
.zoom-animation span:nth-child(29) {
    animation-delay: 0.775s;
}
.zoom-animation span:nth-child(30) {
    animation-delay: 0.8s;
}
.zoom-animation span:nth-child(31) {
    animation-delay: 0.825s;
}

.main-into-section .main-into #chairman {
    font-size: 32px; 
    font-weight: 350;
    line-height: 48px;
}
.main-into-section .main-into #vijay #vijay-quali{
    font-size: 14px;
}
.main-into-section .main-into #chairman-desc {
    margin-top: 10px;
    font-size: 18px;
    line-height: 23px;
    font-weight: 300;
    height: 160px;
}

.main-into-section .main-into #getintouchbtn{
    background-color: #00246B;
    font-size: 18px;
    font-weight: 400;
    margin-top: 15px;
    padding: 6px 10px;
    border-radius: 20px;
    cursor: pointer;
    color: white;
    height: 40px;
    width: max-content;
}
.main-into-section .curl-arrow{
    position: relative;
    top: 80px;
    left: 10px;
    height: 80px;
    width: 80px;
}
.main-into-section .curl-arrow>img{
    height: 100%;
    transform: rotate(120deg);
}
/* Profile Section */

.main-intro-profile-section .main-profile-section{
    max-width: 600px;
    width: 100%;
    display: flex;
    align-items: end;
    justify-content: flex-end;
    margin-right: 20px;
}
.main-profile-section .profile-sec{
    position: relative;
    right: 50px;
}
.main-profile-section .profile-sec #profile-bg{
    position: absolute;
    z-index: 5;
    margin-top: 100px;
    right: 70px;
}
.main-profile-section .profile-sec #profile-pic{
    position: relative;
    z-index: 99;
    transition: transform 0.2s ease-in-out;
    height: 450px;
}
.main-profile-section .profile-sec #profile-pic:hover{
    transform: scale(1.05);
}
.main-profile-section .profile-dot-section {
    position: relative;
    bottom: 50px;
    margin-right: 10px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px; 
    z-index: 999;
}

.dot-profile {
    opacity: 0; 
    transform: translateY(50px);
    animation: rise 1s ease forwards;
}

.dot-profile:nth-child(1) {
    animation-delay: 5s; 
}

.dot-profile:nth-child(2) {
    animation-delay: 4.5s;
}

.dot-profile:nth-child(3) {
    animation-delay: 4s;
}

.dot-profile:nth-child(4) {
    animation-delay: 3.5s;
}

.dot-profile:nth-child(5) {
    animation-delay: 3s; 
}

@keyframes rise {
    to {
        opacity: 1; 
        transform: translateY(0); 
    }
}
.qualification-texts>span{
    font-family: Poppins;
    font-size: 18px;
    font-weight: 600;
    color: #00246B;
}

/* Modal for Get in Touch */
/* .modal {
    display: none; 
    position: fixed;
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); 
    z-index: 999;
    font-family: Poppins;
    overflow-y: auto;
  }
  
  .modal-content {
    background-color: white;
    margin: 5px auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 600px;
    border-radius: 10px;
  }
  
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }
  #contactForm{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
  }
#contactForm .textarea{
    width: 100%;
}
  #contactForm div{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
  }
  #contactForm label {
    font-size: 16px;
    font-weight: 500;
    width: 100%;
  }
  
  #contactForm input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    width: 100%;
  }
  #contactForm .names{
    width: 250px;
  }
  #contactForm textarea{
    padding: 10px 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    background-color: #8BD8BD54;
    outline: none;
    resize: none;
  }
  
#contactForm  #submitBtn {
    background-color: #00246B;
    color: white;
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    border-radius: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }
  #contactForm .error {
    border: 1px solid red;
}
   */

@media (min-width:1024px) and (max-width:1298px) {
    .main-intro-profile-section .main-into-section{
        max-width: 480px;
        width: 100%;
        margin-left: 30px;
    }
    .main-into-section .main-into{
        left: 30px;
        top: 0px;
        margin-top: 80px;
        padding-bottom: 20px;
    }
    .main-into-section .main-into #chairman-desc{
        height: 260px;
    }
    .main-into-section .curl-arrow{
        top: 0px;
    }
    .main-profile-section .profile-dot-section{
        position: relative;
        right: 10px;
        bottom: 50px;
    }
   
}
@media (max-width:1279px) and (min-width:1110px) {
    .main-intro-profile-section .main-into-section{
        max-width: 565px;
        width: 100%;
        margin-left: 30px;
    }
    .main-into-section .main-into #chairman-desc {
        height: 220px;
    }
}
@media (max-width:1023px) {
    .main-home-page-content .homepage-image-section{
        padding: 20px 30px;
    }
    .main-portfolio .main-intro-profile-section{
        flex-direction: column;
        align-items: center;
    }
    .main-intro-profile-section .main-into-section{
        max-width: 100%;
        width: 100%;
        margin-left: 0px;
        padding: 20px;
    }
    .main-into-section .main-into{
        position: relative;
        top: 0px;
        right: 50px;
        left: 0px;
        padding: 20px;
        padding-bottom: 20px;
    }
    .main-into-section .main-into #chairman-desc {
        height: 150px;
    }
    .main-into-section .curl-arrow{
        position:absolute;
        top: 420px;
        left: 300px; 
    }
    .main-into-section .curl-arrow>img{
        transform: rotate(220deg);
    }
    .main-intro-profile-section .main-profile-section{
        max-width: 100%;
        width: 100%;
        height: 300px;
    }
    .main-profile-section .profile-sec{
        width: 90%;
        right: 0px;
        height: 100%;
    }
    .main-profile-section .profile-sec #profile-bg{
        left: 120px;
        bottom: 0px;
        height: 300px;
    }
    .main-profile-section .profile-sec #profile-pic{
        position: absolute;
        left: 150px;
        top: 0px;
        bottom: 0px;
        height: 300px;
    }
    .main-profile-section .profile-dot-section{
        bottom: 0px;
        right: 15px;
        margin-right: 15px;
    }
    .main-into-section .curl-arrow{
        top: 450px;
        left: 290px;
    }
    
}
@media (max-width:765px) {
    .main-into-section .curl-arrow{
        position:absolute;
        top: 500px;
        left: 290px;
    }
    .main-into-section .main-into #hello{
        font-size: 25px;
    }
    .main-into-section .main-into #vijay{
        font-size: 25px;
    }
    .main-into-section .main-into #chairman{
        font-size: 25px;
    }
    .main-into-section .main-into #chairman-desc {
        height: 180px;
    }
    .main-profile-section .profile-sec{
        max-width: 100%;
        width: 100%;
        right: 5px;
    }
    .main-profile-section .profile-sec #profile-bg{
        left: 100px;
    }
    .main-profile-section .profile-sec #profile-pic{
        left: 115px;
    }
    .main-profile-section .profile-dot-section{
        bottom: -10px;
        right: 0px;
        margin-right: 15px;
    }
    
}
@media (max-width:667px) {
    .main-into-section .main-into #chairman{
        max-width: 500px;
        width: 100%;
    }
    .main-into-section .curl-arrow{
        top: 500px;
        left: 200px; 
    }
}
@media (max-width:626px) {
    .main-into-section .main-into #chairman-desc {
        height: 225px;
    }
    .main-into-section .curl-arrow{
        top: 550px;
        left: 200px; 
    }

}

@media (max-width:551px) {
    .main-into-section .main-into #chairman {
        height: 80px;
    }
    .main-into-section .curl-arrow{
        top: 570px;
        left: 200px; 
    }
    
}
@media (max-width:512px) {
    .main-into-section .main-into #chairman-desc {
        height: 270px;
    }
    .main-into-section .curl-arrow{
        top: 600px;
        left: 200px; 
    }
}
@media (max-width:451px) {
    .main-into-section .main-into #chairman{
        max-width: 300px;
        width: 100%;
    }
    .main-into-section .main-into #chairman-desc {
        height: 330px;
    }
    .main-into-section .curl-arrow{
        top: 700px;
        left: 200px; 
    }
    .main-profile-section .profile-sec #profile-bg{
        left: 20px;
    }
    .main-profile-section .profile-sec #profile-pic{
        left: 30px;
    }
    .main-profile-section .profile-dot-section{
        bottom: -30px;
        right: -10px;
        margin-right: 20px;
    }
}
@media (max-width:435px) {
    #vijay #vijay-quali{
        position: absolute;
        top: 90px;
        right: 0;
    }
    .main-into-section .main-into #chairman{
        margin-top: 5px;
    }
    
}
@media (max-width:391px) {
    .main-into-section .main-into #chairman-desc {
        height: 360px;
    }
    .main-profile-section .profile-sec #profile-bg{
        width: 100%;
    }

}
@media (max-width:383px) {
    .main-into-section .main-into #chairman{
        height: 130px;
    }
    .main-into-section .main-into #chairman-desc {
        height: 380px;
    }
    .main-into-section .curl-arrow{
        top: 780px;
        left: 200px; 
    }
}
@media (max-width:366px) {
    .main-into-section .main-into #chairman-desc {
        height: 400px;
    }
    .main-into-section .curl-arrow{
        top: 820px;
        left: 200px; 
    }
}
@media (max-width:342px) {
    .main-into-section .main-into #chairman-desc {
        height: 425px;
    }
    .main-into-section .curl-arrow{
        top: 850px;
        left: 200px; 
    }
}
@media (max-width:338px) {
    .main-into-section .main-into #chairman-desc {
        height: 450px;
    }

}
@media (max-width:321px) {
    .main-into-section .main-into #chairman-desc {
        height: 495px;
    }
    .main-into-section .curl-arrow{
        top: 950px;
        left: 200px; 
    }
}
@media (max-width:315px) {
    .main-into-section .main-into #chairman-desc {
        height: 500px;
    }
    .main-profile-section .profile-sec #profile-pic{
        width: 100%;
    }

    
}
@media (max-width:302px) {
    .main-into-section .main-into #chairman-desc {
        height: 540px;
    }
    .main-profile-section .profile-sec #profile-pic{
        width: 100%;
    }

    
}
@media (max-width:296px) {
    .main-into-section .main-into #chairman-desc {
        height: 100%;
    }
    .main-into-section .curl-arrow{
        top: 950px;
        left: 200px; 
    }
}
@media (max-width:288px) {
    #vijay #vijay-quali{
        position: absolute;
        top: 135px;
        right: 0;
    }
}
  