@import url('https://fonts.googleapis.com/css2?family=Goldman:wght@400;700&family=Gugi&display=swap');
:root{
    --dark-purple: #491964;
    --light-purple: v;
}
*{
    margin: 0;
    padding: 0;
}
body{
background-image: linear-gradient(WHITE,#C2B2D0);
overflow-x: hidden;
}
.autoSlide{
    animation: slidein;
    animation-timeline: view();
    animation-range: entry cover 80vh;
}
.autoSlide2{
    animation: slidein2;
    animation-timeline: view();
    animation-range: entry cover 40vh;
    will-change: transform;
}
@keyframes slidein {
    from{
        opacity: 0;
        transform: translateX(-300px);
    }
    to{
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes slidein2 {
    from{
        opacity: 0;
        transform: translateX(300px);
    }
    to{
        opacity: 1;
        transform: translateX(0);
    }
}
.logo-space {
  width: 200px;
  height: auto;
  display: grid;
  align-items: center;
  justify-content: center;
}
.featured{
    position: relative;
    padding-top: 8rem;
    padding-bottom: 5rem;
    background-image: linear-gradient(WHITE,#C2B2D0);
}
.agency-description{
    background-color: white;
    height: 100vh;
    width: 50vw;
    display: grid;
    place-items: center;
}
.desc{
    padding: 10rem;
}
.desc h1{
    font-family: 'Gugi',sans-serif;
    font-size: 4rem;
    color: #491964;
}
.desc p{
    font-family: 'Goldman',sans-serif;
    font-size: 1.5rem;
}
.title1{
    font-family: "Gugi", sans-serif;
    padding-top: 2rem;
    font-size: 6rem;
    position: absolute;
top: -10px;
left:30px;
color: #491964;
}
.title2{
    font-family: "Gugi", sans-serif;
    padding-top: 2rem;
    font-size: 6rem;
    position: absolute;
    text-shadow:
    -2px -2px 0 #bba1d0,  
     2px -2px 0 #bba1d0,
    -2px  2px 0 #bba1d0,
     2px  2px 0 #bba1d0;
top: 100px;
left:100px;
color: #491964;
transition: slide 2s;
}
.sub-title{
 font-family: "Goldman", sans-serif;
  font-weight: 400;
  font-style: normal;
}
nav{
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 2rem;
    background-color: #A48CB1;
    color: white;
}
.nav-links{
    display: grid;
    grid-template-columns: 2fr 1fr;
    place-items: center;
}
.type1{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    place-items: center;
    width: 100%;
}
.type1 a{
    color: white;
    text-decoration: none;
    font-family: "Goldman", sans-serif;
  font-size: clamp(0.5rem,1.5rem,2rem);
  position: relative; 
  transition: 0.3s ease-in;
  text-align: center;
}
.type1 a:after{
    content: "";
    position: absolute;
    background-color: #A48CB1;
    height: 3px;
    width: 0;
    left: 0;
    bottom: -10px;
    transition: 0.3s ease-in;
}
.type1 a:hover{
    color: #edd8ff;
}
.type1 a:hover:after{
    width: 100%;
    background-color: white;
}
.special-button{
background-image: linear-gradient( white, #bba1d0 );
padding: 1rem;
border-radius: 15px;
border: 2px solid #491964;
position: relative;
overflow: hidden;
}
.special-button a{
color: #491964;
    text-decoration: none;
    font-family: "Goldman", sans-serif;
  font-size: clamp(1rem,1.5rem,2rem);
transition: 0.3s;
}
.special-button:before{
    content: '';
    position: absolute;
    height: 100px;
    width: 20px;
    background: white;
    box-shadow: 0 0 10px #fff;
    filter: blur(1px);
    opacity: 0.9;
    top: -60px;
    transition: 0.7s;
    transform: rotate(-20deg) translateX(-100px);
}
.special-button:hover:before{
   transform: rotate(-20deg) translate(140px, 70px);
}
.front{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background-image: url('./images/front.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}
.quote{
    position: absolute;
    color: #fff;
    font-size: 5.5rem;
    font-family: 'Goldman',sans-serif;
    bottom: 250px;
    left: 50px;
}
.quote2{
    position: absolute;
    color: #fff;
    font-size: 4rem;
    font-family: 'Goldman',sans-serif;
    bottom: 200px;
    left: 50px;
}
.front2{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background-image: url('./images/about-us.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
img{
    width: 100%;
    height: auto;
    object-fit: contain;
}
.carousel{
    margin:auto;
    display: flex;
    gap:10em;
    overflow-x: auto;
    scroll-behavior: smooth;
    anchor-name: --carousel;
    width: 60%;
    scroll-snap-type: x mandatory;
    scroll-marker-group: after;
}
.carousel::scroll-marker-group {
    display: flex;
    justify-content: center;
    gap: .5em;
}
.carousel::-webkit-scrollbar{
    display: none;
}
.carousel::-webkit-scrollbar{
    display: none;
}
.carousel::scroll-button(right), .carousel::scroll-button(left){
content: '>';
border: none;
background-image: linear-gradient(white, #C2B2D0);
font-family: "Goldman", sans-serif;
color: #491964;
font-size: 2rem;
height: 60px;
width: 60px;
border-radius: 50%;
cursor: pointer;
position: fixed;
position-anchor: --carousel;
position-area: right center;
translate: -50%;
}
.carousel::scroll-button(left){
    content: '<';
    position-area: left center;
    translate: 50%;
}

.carousel::scroll-button(right):disabled, .carousel::scroll-button(left):disabled{
opacity: 50%;
cursor: auto;
}
.card{
    scroll-snap-align: start;
    aspect-ratio: 5/3;
    flex: 0 0 100%;
    place-items: center;
}
.card img{
    border-radius: 50px;
}
.card::scroll-marker{
    content: '';
    width: 1em;
    height: 1em;
    background-color: #A48CB1;
    border-radius: 50%;
    margin-top: 2rem;
}
.card::scroll-marker::target-current{
background-color: #c61a00;
}
.banner{
    width: 100%;
    background-color:#491964; 
    overflow: hidden;
    padding-bottom: 0px;
    white-space: nowrap;
    color: white;
    padding: 1rem;
    box-sizing: border-box;
    margin-top: calc(2rem - 15vh);
}
.banner2{
    width: 100%;
    background-color:#491964; 
    overflow: hidden;
    padding-bottom: 0px;
    white-space: nowrap;
    color: white;
    padding: 1rem;
    box-sizing: border-box;
    margin-top: 0;
}
.banner-text {
   display: inline-block;
    padding-left: 100%;
    font-size: 3rem;
    font-family: 'Goldman', sans-serif;
    animation: scrolling-animation 15s linear infinite;
}
@keyframes scrolling-animation {
    0% {
        transform: translate(0, 0); 
    }
    100% {
        transform: translate(-100%, 0);
    }
}
.footer{
    font-family: 'Goldman', sans-serif;
    text-align: center;
   color: #491964;
   padding: 1rem;
   background-color: #C2B2D0;
}


.line {
    border-radius: 20px;
    height: 0.3rem;
    width: 80%;
    margin: 40px auto;
    background-color: #A48CB1;

}
.aboutus{
    background-image: linear-gradient(WHITE,#C2B2D0);
    padding: 2rem;
}
.layout1{
    padding: 4rem;
    display: grid;
    gap: 2rem;
}
.layout3{
    padding: 4rem;
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr 1fr;
    box-sizing: border-box;
    width: 100%;
    align-items: center;
}
.layout3 img{
    border-radius: 20px;
    width: 100%;
    object-fit: cover;
}
.layout2{
    padding: 4rem;
    display: grid;
    gap: 2rem;
    text-align: end;
}
.abouttitle{
    font-family: "Gugi", sans-serif;
    font-size: 2rem;
color: #491964;
}
.info{
    font-family: 'Goldman', sans-serif;
    max-width: 60ch;
   justify-self: start;
   padding-left: 1rem;
   font-size: 1.5rem;
}
.info2{
    font-family: 'Goldman', sans-serif;
    max-width: 60ch;
   justify-self: end;
   padding-right: 1rem;
   font-size: 1.5rem;
}
.capyskills{
    padding: 2rem;
    display: grid;
    place-items: center;
}
.reflection{
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}
.student h1{
    padding-left: 2rem;
}
.capy{
    font-size: 5rem;
    padding: 2rem;
    margin-bottom: 5rem;
}
.description{
    font-family: 'Goldman',sans-serif;
    font-size: 1rem;
    padding: 2rem;
}
.subtitle2{
    font-family: "Gugi", sans-serif;
    font-size: 1rem;
color: #7b5193;
padding: 1rem;
}
@media (max-width: 480px) {
    nav {
        grid-template-columns: 1fr;
        padding: 1rem;
        justify-items: center;
    }
    
    .nav-links {
        grid-template-columns: 2fr 1fr;
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .type1 {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    .type1 a{
font-size: 1rem;
    }
    .special-button{
        width: fit-content;
        padding: 0.5rem;
    }
    .special-button a{
        font-size: 1rem;
    }
    
    .title1, .title2 {
        font-size: 2rem;
    }
    .title1{
       top: 40px;
left:30px; 
    }
    .title2{
       top: 100px;
left:60px; 
    }
    
    .carousel {
        width: 90%;
        gap: 1rem;
    }
    .front{
        height: 70vh;
        width: 100%;
        background-size: contain;
    }
    .banner{
        margin-top: calc(2rem - 50vh);
    }
    .quote{
        display: none;
}
.quote2{
    display: none;
}

    .layout1{
        padding: 0.5rem;
        box-sizing: border-box;
        width: 100%;
    }
    .layout2{
        padding: 0.5rem;
        box-sizing: border-box;
        width: 100%;
    }
     .layout3{
        padding: 1rem;
        box-sizing: border-box;
        width: 100%;
        grid-template-columns: 1fr;
    }
    .abouttitle{
        font-size: 1rem;
    }
    .info,
    .info2 {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
        word-wrap: break-word;
        white-space: normal;
        overflow: hidden;
        font-size: 1rem;
    }
    .agency-description{
    background-color: white;
    height: auto;
    width: 100%;
    display: grid;
    place-items: center;
    padding: 2rem 0;
    box-sizing: border-box;
    overflow: hidden;
    max-width: 100%;
}
    .front2 {
        position: relative;
        height: 50vh;
        background-attachment: scroll;
    }
    .desc{
        padding: 2rem;
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        word-wrap: break-word;
        white-space: normal;
    }
    .desc p{
        width: 100%;
    }
    .capyskills{
        padding: 1rem;
        width: 100%;
        box-sizing: border-box;
    }
    .capyskills .capy{
        font-size: 2rem;
        padding: 1rem 0;
        margin-bottom: 1rem;
    }
    .student h1{
        padding-left: 0.5rem;
        font-size: 1.25rem;
    }
    .reflection{
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0.5rem;
    }
    .reflection section{
        padding: .5rem;
        box-sizing: border-box;
        width: 100%;
    }
    .description{
        padding: .5rem;
        font-size: 0.7rem;
        max-width: 80%;
    }
}

