@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root{
    --primary-color: #f39c31;
    --primary-color-dark: #f4e40b;
    --text-dark:#262626;
    --text-light:#2d3436;
    --extra-light:#e5e5e5;
    --white:#ffffff;
    --max-width: 1200px;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.section__container{
    max-width: var(--max-width);
    margin: auto;
    padding: 5rem 1rem;
}

.section__header{
    max-width: 900px;
    margin-inline: auto;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
}

.section_subheader{
    max-width: 900px;
    margin-inline: auto;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
}

.section__header span{
    color: var(--primary-color);
}

.section_subheader span{
    color: var(--primary-color);
}

.section__description{
    max-width: 600px;
    margin-inline: auto;
    color: var(--text-light);
    line-height: 1.75rem;
    text-align: center;
}


.btn{
    padding: 1rem 2rem;
    outline: none;
    border: none;
    font-size: 1rem;
    color: var(--white);
    background-color: var(--primary-color);
    border-radius: 5px;
    transition: 0.3s;
    cursor: pointer;
}

.btn:hover{
    background-color: var(--primary-color-dark);
    box-shadow: 2px 2px 10px rgba(106, 56, 194, 0.5);
}

.logo{
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo span{
    color: #fa6021;
}

img{
    display: flex;
    width: 100%;
}

a{
    text-decoration: none;
    transition: 0.3s;
}

ul{
    list-style: none;
}

html,
body{
    scroll-behavior: smooth;
}

body{
    font-family: "Poppins", sans-serif;
}

nav{
    position: fixed;
    isolation: isolate;
    width: 100%;
    max-width: var(--max-width);
    margin-inline: auto;
    z-index: 9;
}

.nav__header{
    padding: 1rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--extra-light);
}

.nav__menu__btn{
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

.nav__links{
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    background-color: var(--extra-light);
    transition: .5s;
    z-index: -1;
    transform: translateY(-100%);
}

.nav__links.open{
    transform: translateY(0);
}

.nav__links a{
    font-weight: 500;
    color: var(--text-dark);
}

.nav__links a:hover{
    color: var(--primary-color);
}

.header__container{
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.header__container h2{
    max-width: fit-content;
    margin-inline: auto;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fa6021;
    background-color: #fff8f5;
    border-radius: 5rem;
}

.header__container h2 img{
    max-width: 25px;
}

.header__container h1{
    margin-bottom: 1rem;
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    line-height: 5.5rem;
}

.header__container h1 span{
    color: var(--primary-color);
}

.header__container p{
    margin-bottom: 2rem;
    max-width: 600px;
    margin-inline: auto;
    color: var(--text-light);
    line-height: 2rem;
    text-align: center;
}

.header__btns{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.header__btns a{
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
}

.header__btns a span{
    padding: 5px 11px;
    font-size: 1.5rem;
    color: var(--white);
    background-color: var(--primary-color);
    border-radius: 100%;
    transition: 0.3s;
}

.header__btns a:hover span{
    box-shadow: 2px 2px 10px rgba(106, 56, 194, 0.5);
}

.header__container > img{
    position: absolute;
    max-width: 150px;
    padding: 7px;
    border-radius: 100%;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    z-index: -1;
}

/*.header__container > img:nth-child(1){
    top: 30%;
    left: 20%;
    transform: translate(-50%, -50%);
}*/

.header__container > img:nth-child(2){
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
}

.header__container > img:nth-child(3){
    top: 75%;
    left: 25%;
    transform: translate(-50%, -50%);
}

.header__container > img:nth-child(4){
    top: 20%;
    right: 15%;
    transform: translate(-50%, -50%);
}

.header__container > img:nth-child(5){
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
}

.header__container > img:nth-child(6){
    top: 65%;
    right: 20%;
    transform: translate(-50%, -50%);
}

.steps{
    background-image: url("../images/steps.jpg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.steps__grid{
    margin-top: 4rem;
    display: grid;
    gap: 1rem;
}

.steps__card{
    padding: 1rem;
    background-color: var(--white);
    border-radius: 5px;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
}

.steps__card span{
    display: inline-block;
    margin-bottom: 1rem;
    padding: 5px 11px;
    font-size: 1.5rem;
    border-radius: 100%;
}

.steps__card:nth-child(1) span{
    color: #fa4e09;
    background-color: #fff9f6;
}

.steps__card:nth-child(2) span{
    color: #6a38c2;
    background-color: #e9ddff;
}

.steps__card:nth-child(3) span{
    color: #3ac2ba;
    background-color: #f0fffe;
}

.steps__card:nth-child(4) span{
    color: #fbbc09;
    background-color: #fff8e3;
}

.steps__card h4{
    margin-bottom: .5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.steps__card p{
    color: var(--text-light);
}

.explore__grid{
    margin-block: 4rem;
    display: grid;
    gap: 1rem;
}

.explore__card{
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.explore__card:hover{
    background-color: var(--primary-color);
}

.explore__card span{
    display: inline-block;
    margin-bottom: 1rem;
    padding: 5px 11px;
    font-size: 1.5rem;
    border-radius: 5px;
    transition: 0.3s;
}

.explore__card:nth-child(1) span{
    color: #f04a0c;
    background-color: #f6efef;
}

.explore__card:nth-child(2) span{
    color: #f04a0c;
    background-color: #f6efef;
}

.explore__card:nth-child(3) span{
    color: #f04a0c;
    background-color: #f6efef;
}

.explore__card:nth-child(4) span{
    color: #f04a0c;
    background-color: #f6efef;
}

.explore__card:nth-child(5) span{
    color: #f04a0c;
    background-color: #f6efef;
}
.explore__card:nth-child(6) span{
    color: #f04a0c;
    background-color: #f6efef;
}

.explore__card:nth-child(7) span{
    color: #f04a0c;
    background-color: #f6efef;
}

.explore__card:nth-child(8) span{
    color: #f04a0c;
    background-color: #f6efef;
}

.explore__card:nth-child(9) span{
    color: #f04a0c;
    background-color: #f6efef;
}

.explore__card:hover span{
    color: var(--white);
    background-color: #0a7c08;
}

.explore__card h4{
    margin-bottom: .5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    transition: 0.3s;
}

.explore__card p{
    color: var(--text-light);
    transition: 0.3s;
}

.explore__card:hover h4{
    color: var(--white);
}

.explore__card:hover p{
    color: var(--extra-light);
}
.explore__btn{
    text-align: center;
}

.job__grid{
    margin-top: 4rem;
    display: grid;
    gap: 1rem;
}

.job__card{
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.job__card:hover{
    background-color: var(--primary-color);
}

.job__card__header{
    display: flex;
    align-items: center;
    gap: 1rem;
}

.job__card img{
    max-width: 50px;
    padding: 10px;
    border-radius: 100%;
    background-color: var(--white);
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.job__card h5{
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: 0.3s;
}

.job__card h5{
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: 0.3s;
}

.job__card h6{
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    transition: 0.3s;
}

.job__card h4{
    margin-block: 1rem .5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    transition: 0.3s;
}

.job__card p{
    margin-bottom: 1rem;
    color: var(--text-light);
    transition: 0.3s;
}

.job__card__footer{
    display: flex;
    align-items: ceenter;
    flex-wrap: wrap;
    gap: 5px;
}

.job__card__footer span{
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 5px;
    transition: 0.3s;
}

.job__card__footer span:nth-child(1){
    color: #4680e7;
    background-color: #e7edf8;
}

.job__card__footer span:nth-child(2){
    color: #f04a0c;
    background-color: #f6efef;
}

.job__card__footer span:nth-child(3){
    color: #3ac2ba;
    background-color: #f0fffe;
}

.job__card:hover :is(h5, h4){
    color: var(--white);
}

.job__card:hover :is(h6, p){
    color: var(--extra-light);
}

.job__card:hover .job__card__footer span{
    color: var(--white);
    background-color: var(--primary-color-dark);
}

.offer__grid{
    margin-top: 4rem;
    display: grid;
    gap: 2rem 1rem;
}

.offer__card img{
    margin-bottom: 1rem;
    border-radius: 5px;
}

.offer__details{
    display: flex;
    align-items: flex-start;
}

.offer__details span{
    font-size: 2rem;
    font-weight: 800;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px var(--text-dark);
    padding-right: 1rem;
}

.offer__details div{
    padding-left: 1rem;
    border-left: 2px solid var(--primary-color);
}

.offer_details h4{
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.offer__details p{
    color: var(--text-light);
}

.swiper{
    padding-top: 4rem;
    width: 100%;
    max-width: 600;
}

.client__card img{
    max-width: 80px;
    margin-inline: auto;
    margin-bottom: 2rem;
    border-radius: 100%;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.client__card p{
    margin-bottom: 1rem;
    line-height: 1.75rem;
    color: var(--text-dark);
    text-align: center;
}

.client__ratings{
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.client__ratings span{
    color: goldenrod;
}

.client__card h4{
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
}

.client__card h5{
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
    text-align: center;
}

.footer__container{
    display: grid;
    gap: 4rem 2rem;
}

.alert-link {
    color: blue;
    text-decoration: none;
    cursor: pointer;
  }
  

.footer__logo{
    margin-bottom: 2rem;
    left: 0;
}

.footer__logo .logo img {
    position: relative;
    left: 0;
    top: 0;
    width: 150px;
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
  }
  
  

.footer__col p {
    max-width: 400px;
    color: var(--text-light);
}

.footer__col h4{
    margin-bottom: 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

.footer__links{
    display: grid;
    gap: 1rem;
}

.footer__links a{
    color: var(--text-light);
}

.footer__links a:hover{
    color: var(--primary-color);
}

.footer__links a span {
    font-size: 1.25rem;
}

.footer__bar{
    padding: 1rem;
    font-size: .9rem;
    color: var(--text-light);
    text-align: center;
}

@media (width > 540px) {
    .steps__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .explore__grid{
        grid-template-columns: repeat(2, 1fr);
    }

    .job__grid{
        grid-template-columns: repeat(2, 1fr);
    }

    .offer__grid{
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__container{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (width > 768px){
    nav{
        position: static;
        padding: 2rem 1rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
    }

    .nav__header {
        padding: 0;
        background-color: transparent;
    }

    .nav__menu__btn{
        display: none;
    }

    .nav__links{
        position: static;
        padding: 0;
        flex-direction: row;
        justify-content: flex-end;
        background-color: transparent;
        transform: none;
    }

    .steps__grid{
        margin-top: 6rem;
        grid-template-columns: repeat(4, 1fr);
    }

    .steps__card:nth-child(2n - 1){
        transform: translateY(-2rem);
    }

    .explore__grid{
        grid-template-columns: repeat(4, 1fr);
    }

    .job__grid{
        grid-template-columns: repeat(3, 1fr);
    }

    .offer__grid{
        grid-template-columns: repeat(3, 1fr);
    }

    .footer__container{
        grid-template-columns: repeat(5, 1fr);
    }

    .footer__col:nth-child(1){
        grid-column: 1/3;
    }
}

@media (width > 1024px){
    .steps__card{
        padding: 1.5rem;
    }

    .explore__card{
        padding: 1.5rem;
    }

    .offer__grid{
        gap: 2rem;
    }
}

.registration-bar {
    width: 100%;
    overflow: hidden;
    background: #f58c0d;
    padding: 10px 0;
    position: relative;
  }
  
  .registration-link {
    display: inline-block;
    white-space: nowrap;
    color: #fcfcfc;
    font-weight: 600;
    font-size: 16px;
    padding-left: 100%;
    text-decoration: none;
    animation: moveRightToLeft 12s linear infinite;
  }
  
  .registration-link:hover {
    animation-play-state: paused;
    text-decoration: underline;
  }
  
  @keyframes moveRightToLeft {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100%);
    }
  }
  
  .review__container {
    text-align: center;
  }
  
  .review-form {
    max-width: 500px;
    margin: auto;
  }
  
  .review-form input,
  .review-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
  }
  
  .review-form textarea {
    height: 120px;
    resize: none;
  }
  
  /* Star Rating */
  .star-rating {
    direction: rtl;
    display: inline-flex;
    margin-bottom: 15px;
  }
  
  .star-rating input {
    display: none;
  }
  
  .star-rating label {
    font-size: 30px;
    color: #ccc;
    cursor: pointer;
    transition: color 0.2s;
  }
  
  .star-rating input:checked ~ label,
  .star-rating label:hover,
  .star-rating label:hover ~ label {
    color: #facc15;
  }

  
/* card register design */

.register__projects__section {
    margin: 80px 0;
  }
  
  /* Wrapper to center cards visually */
.register__projects__wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}
  
/* Actual grid */
.register__projects {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;   /* THIS is the key number */
    width: 100%;
}
  
  
  
.register__card {
    background: linear-gradient(135deg, #f3c12d, #ef8904);
    border-radius: 20px;
    padding: 40px;
    color: #980b0b;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
}
  
.register__card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}
  
.register__card p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.95;
}
  
.register-btn {
    background: #facc15;
    color: #000;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
}
  
.register-btn:hover {
    background: #fde047;
    color: #000;
}
  
  /* Mobile Responsive */
@media (max-width: 768px) {
    .register__projects {
      grid-template-columns: 1fr;
    }
}

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


  /* new footer style */

  

  
/* another footer design */
.galaxy-footer {
position: relative;
background: radial-gradient(circle at top, #1e3a8a, #020617 60%);
color: #e5e7eb;
overflow: hidden;
}


  

/* Content  */   
.galaxy-content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 90px 0 70px;
}

/* Footer text */
.footer-col h4 {
  color: #fff;
  margin-bottom: 16px;
}

.footer-col p,
.footer-col a {
  font-size: 14px;
  line-height: 1.8;
  color: #dbeafe;
  text-decoration: none;
}

.footer-col a:hover {
  color: #7dd3fc;
}

 /*Logo */
.footer-logo {
  width: 75px;
  border-radius: 50%;
  margin-bottom: 18px;
}

/* Bottom bar */
.galaxy-bottom {
  text-align: center;
  padding: 18px;
  font-size: 13px;
  background: rgba(2, 6, 23, 0.7);
  color: #c7d2fe;
}

.dev-credit strong {
  color: #e0f2fe;
}

/* Sky layers*/
.sky-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.stars {
  background:
    radial-gradient(1px 1px at 10% 20%, white, transparent),
    radial-gradient(1px 1px at 40% 80%, white, transparent),
    radial-gradient(1px 1px at 70% 30%, white, transparent),
    radial-gradient(1px 1px at 90% 60%, white, transparent);
  animation: starTwinkle 8s infinite alternate;
}

.aurora {
  background: linear-gradient(
    120deg,
    rgba(56, 189, 248, 0.15),
    rgba(167, 139, 250, 0.12),
    rgba(34, 211, 238, 0.15)
  );
  filter: blur(60px);
  animation: auroraMove 12s infinite alternate;
}

@keyframes starTwinkle {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

@keyframes auroraMove {
  from { transform: translateX(-10%); }
  to { transform: translateX(10%); }
}

/* Responsive */
@media (max-width: 900px) {
  .galaxy-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .galaxy-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
