/* imp! css reset */ 
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    font-size: 10px;
    scroll-behavior: smooth;
}
/* imp css variable declaration */

:root{
    --dark-black: #030303;
    --pure-white:#ffffff;
    --sky-blue:#0D6EFD;
    --grey:#686868;
    --h1-font:7rem;
    --h2-font:3.2rem;
    --h3-font:2.8rem;
    --h4-font:2.4rem;
    --font-20px: 2rem;
    --h5-font:1.8rem;
    --p-font: 1.6rem;
    --font-segoe-UI: 'Segoe UI';
}

/* imp! Body And Common CSS */

body{
    font-family: 'poppins';
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6{
    margin-bottom: 0;
} 
.dark-black{
    background-color: var(--dark-black);
}
.dark-black text{
    color: var(--dark-black);
}

.fw-600{
    font-weight: 600;
}

.grey-clr{
    color:var(--grey);
}

h1{
    font-size: var(--h1-font);
}

h2{
    font-size:var(--h2-font);
}
h3{
    font-size: var(--h3-font);
}
h4{
    font-size: var(--h4-font);
}
h5{
    font-size: var(--h5-font);
}
p.p-font-size{
    font-size: var(--p-font);
}
.segoe-font{
    font-family: var(--font-segoe-UI);
}
.mt-100{
    margin-top: 10rem;
}

/* imp! Section-1 (Navbr Section) */
.navbar{
    z-index: 10 !important;
}
.nav-link{
    font-size: var(--p-font);
    padding: 1rem 0.2rem;
    position: relative;
}

.nav-link::before{
    content: '';
    position: absolute;
    width:0%;
    height: 0.15rem;
    background-color: var(--pure-white);
    bottom:0.2rem;
    left:0;
    visibility:hidden;
    text-align:center;
    transition:width 0.3s ease-in-out;
    visibility: visible;
}

.nav-link:hover::before,
.nav-link.active::before{
    width: 100%;
    /*visibility: visible;*/
}
.navbar-toggler .fa-solid.fa-bars{
    font-size: 2rem;
}




.hero-section {
    position: relative; /* ensures overlay is positioned relative to section */
    background: url(../img/Hero-Section/hero.jpeg)center center/contain no-repeat;
    background-color: var(--dark-black);
    background-size: cover;
    background-repeat: no-repeat;
    background-position-x: -5rem;
    z-index: 1;
    text-align: center;

}
.hero-section {
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }
    
    



@media (mim-width: 992px){
    .hero-section{
        background-size: 60%;
        background-repeat: no-repeat;
        background-position: center;
    }
    .hero-section .container {
        height: 70vh; /* shorter section so image doesn’t look oversized */
    }

}

.hero-section-overlay {
    position: absolute; /* overlay covers the section */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)); /* fixed syntax */
    z-index: 2; /* sits above background */
}

.hero-section .container {
    position: relative;
    z-index: 3; /* ensures text is above overlay */
    height: 86vh;
}



/* imp! Section-3 (About-Section) */

.about-section{
    padding: 5rem 0;
}
.about-section .container{
    box-shadow: 0 0.2rem 1.5rem rgba(0,0,0,0.1);
    padding: 3rem;
}

.skils-main-div .skills-div span{
    font-size: 1.3rem;
}

.profile-description{
     font-size: 1.4rem;
     padding-top: 5rem;
}

.segoe-font {
  font-family: 'Segoe UI', sans-serif;
  font-size: 1.5rem;
}


.blue-line{
    width: 5rem;
    height: 0.3rem;
    background-color: var(--sky-blue);
    border-radius: 1rem;
    margin: 1.5rem 0;
}
/* imp! Section-4 (Resume Section)*/
.resume-item{
    position:relative;
    border-left: 0.2rem solid var(--sky-blue);
}
.resume-item::before{
    content: '';
    position: absolute;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    background-color: var(--pure-white);
    border: 0.2rem solid var(--sky-blue);
    top: 0;
    left: -0.9rem;
}
/*.resume-item-1:nth-of-type(3):before{
    top:3.3rem;

} */
.resume-item-1::before{
    top: 3.5rem;
}
.resume-item .year{
    font-size:var(--p-font);
}


/* imp! secction-5 (Service ection) */

.service-item{
    padding: 6rem 3rem;
    box-shadow: 0 0.5rem 9rem 0 color-mix(in srgb, var(--grey),transparent(90%));
border-bottom: 0.5rem solid var(--pure-white);
border-radius: 1.8rem;
transition: all 0.3sec ease-in-out;
}
.service-item {
    
    padding: 2rem;
    background: #fff; /* white background */
    border: 1px solid #ddd; /* light border */
    border-radius: 8px; /* rounded corners */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* subtle shadow */
    margin-bottom: 2rem; /* spacing between boxes */
}
.service-item .icon{
color: var(--pure-white);
background: var(--sky-blue);
width: 6.4rem;
height: 6.4rem;
border-radius: 5rem;
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 2rem;
font-size: var(--font-20px);
}
.service-item h4{
    margin: 1rem 0 1.5rem;

}
.service-item:hover{
    transform: translateY(-1rem);
    border-color: var(--sky-blue);
    cursor: pointer;
}


/* imp! section-6 (Achivement-Section) */

.acheivements-section{
    position:relative;
    background: url(../img/Acheivement-Section/3d-modern-office-interior.jpg);
    background-size: cover;
    padding: 15rem;
    
}

.acheivements-section .overlay{
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: color-mix(in srgb,var(--sky-blue),transparent 40%);
    z-index: 1;
}
.acheivements-section .container{
    position: relative;
    z-index: 2;
}

.acheivements-section span{
    font-size: 4.5rem;
    color: var(--pure-white);
    font-weight: 600;
}

/* imp! section-8 (FAQ Section) */

.highlight {
       
  font-weight: 500;    /* Makes keywords stand out */
}

.accordion-button{
    font-size: var(--p-font);
}
.accordion-button:focus{
    box-shadow: none;
}
.accordion-button:hover{
    color: var(--sky-blue);
}
.accordion-body p{
    font-size: 1.4rem;
    line-height: 2;
}
 /* imp! Section-9 (Contact Section)*/

 form{
    box-shadow: 0 0 2rem color-mix(in srgb, var(--grey),transparent 75%);
 }
 input,textarea,.submit-btn{
    font-size: var(--p-font) !important;
 }

 ::placeholder{
    opacity: 0.5 !important;
 }
 .contact-section textarea{
    resize: none;
 }
 .submit-btn{
    padding: 1rem 3rem;
    background-color: var(--sky-blue);
    color: var(--pure-white);
    opacity: 0.75;
    transition: 0.5s;
 }
 .submit-btn:hover{
    background-color: var(--sky-blue);
     color: var(--pure-white);
     opacity: 1;
 }
 .thank-you-msg{
    font-size: var(--p-font);
    text-align: center;
    font-family: var(--font-segoe-UI);
    display: none;
}


/* imp! Section-10 (Footer Section) */

 .footer-section{
    background-color: var(--sky-blue);
    padding: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.social-icons{
    display: flex;
    gap: 2rem;

}
.social-icons i{
    color: var(--pure-white);
    font-size: 1.8rem;
    width: 5rem;
    height: 5rem;
   cursor: pointer;
    align-items: center;
    transition: 0.5s;
    
    
}
.social-icons i:hover{
 transform: scale(1.2);
  transition: transform 0.3s ease;

}

.custom-icon:hover {
  transform: scale(1.2); /* hover effect */
  transition: transform 0.3s ease;

}
.copyright-txt{
    font-size: 1.5rem;
    padding-bottom: 2rem;
}

/* imp! Media Queries */

/* imp! Tablet Screen*/
@media (max-width: 992px){
    /*imp! CSS variable Declaration */
    :root{
        --h1-font:5rem;
        --h2-font:3rem;

    }

    /* imp Body and common CSS */
    
    .mt-100{
        margin-top: 8rem;
    }
    .mb-35{
        margin-bottom: 3.5rem;
    }

    /* imp! Navbar CSS */
    .nav-link:hover::before,
.nav-link.active::before {
    visibility: hidden;
}

}


/* Mobile screen */

@media(max-width: 600px){
    /* imp! CSS Variable Declaration */

    :root{
        --h1-font: 3.5rem;
        --h2-font: 2.2rem;
        --h3-font: 2rem;
    }

    .mt-100{
        margin-top: 7rem;
    }

    .about-section{
        padding: 0;
    }

    /* imp! Section-1 (Hero Section) */
    .hero-section{
background-position-x: -3rem;
    }

    /* imp! Section-5 (Achivement Section) */
    .acheivements-section{
        padding: 5rem;
    }

 /* imp!  Section-7 (FAQ Section) */

 .accordion-button{
    font-size: 1.4rem;
 }
 .accordion-body{
    font-size: 1.2rem;
 }

 /* imp! Section-9 (Footer Section) */

 .footer-section{
    padding: 3rem;
 }

.copyright-txt{
    font-size: 1.4rem;
}
.social-icons i{
    width: 4rem;
    height: 4rem;
    font-size: 1.4rem;
}
}


/*imp! thank you */
.thank-you-msg {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  color: var(--sky-blue);
  font-weight: 600; 
  text-align: center;
  margin-top: 10px;
  
}
.thank-you-msg.show {
  display: block;
  opacity: 1;
}

.spinner {
  margin-top: 10px;
  text-align: center;
}