@import url('https://fonts.googleapis.com/css2?family=Sora:wght@100;200;500&display=swap');

*{
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    font-family: 'Sora';
}

body{
    min-height: 100vh;  /*  this property for 'footer' element */
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    font-family: 'Sora';
}

/* Base styles and reset */
:root {
  --primary-color: #465ee5;
  --primary-hover: #383aca;
  --primary-light: #EEF2FF;
  --secondary-color: #33aaea;
  --text-dark: #1F2937;
  --text-medium: #4B5563;
  --text-light: #9CA3AF;
  --white: #FFFFFF;
  --background: #F9FAFB;
  --border-radius: 0.75rem;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
}


/* NAV ----------------------------------------------------------*/
nav{
    background: #bae5fd;
    height: 68px;
    width: 100%;
    position: sticky;          /* always in bottom footer property */
    bottom: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 10px;
}

label.logo{
    font-size: 20px;
    line-height: 68px;
    font-weight: bold;
}

.logo img{
    height: 80%;
}

#logo{
    color: #0c3f6e;
}

#logo::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 0%;
    background-color: #081237;
    transition: all ease 0.6s;
}

#logo:hover{
    background: none;
}

#logo:hover::after{
    background: none;
    width: 100%;
}

#downloadLink{
    line-height: 68px;
}

#downloadBtn{
    height: 40px;
    width: 120px;
    background-color: white;
    border-radius: 20px;
    font-weight: 700;
    border-color: #0c3f6e;
    transition: all ease 0.2s;
}

#downloadBtn i{
    margin-right: 5px;
}

#downloadBtn:hover{
    cursor: pointer;
    background-color: #0c3f6e;
    color: white;
    border-color: white;
}

#downloadBtn:active{
  scale: 0.9;
}

.checkbtn{
    font-size: 30px;
    color: #08370b;
    float: right;
    line-height: 68px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
}

@media (max-width: 430px){
    #logo{
        font-size: 16px;
    }

    .logo img{
        height: 70%;
    }
}


/* Footer----------------------------------------------------- */
.foot{
    background-color: #bae5fd;
    position: sticky;          /* always in bottom footer property */
    top: 100%;                 /* always in bottom footer property */
    height: 60px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.foot a{
    color: black;
}

.foot a:hover{
    color: white;
    background: none;
    transition: 0.2s;
}

@media(max-width: 495px){

    #connect{
        display: none;
    }

    #copy{
        font-size: 10px;
    }
}

/* MAIN-------------------------------------------------------------- */
/* Main Content */
main {
  padding-left: 1rem;
  padding-right: 1rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.hero-section {
  padding: 2rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-content: center;
  }
  .carousel-wrapper{
    width: 264px;
    height: 374px;
  }
}


/* Carousel */
.carousel-wrapper {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 0.25rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  height: 567px;
  width: 400px;
}

.carousel {
  background: white;
  border-radius: calc(var(--border-radius) - 0.25rem);
  overflow: hidden;
}

.carousel input {
  display: none;
}

.carousel-slides {
  display: flex;
  width: 500%;
  transition: transform 0.5s ease-in-out;
  animation: carousel-autoplay 20s infinite;
}

.carousel-slide {
  width: 20%;
}

.carousel-slide img {
  overflow: hidden;
  object-fit: cover;
  width: 100%;
  height: 100%;
}


/* Carousel Animation */
@keyframes carousel-autoplay {
  0%, 16% { transform: translateX(0%); }
  20%, 36% { transform: translateX(-20%); }
  40%, 56% { transform: translateX(-40%); }
  60%, 76% { transform: translateX(-60%); }
  80%, 96% { transform: translateX(-80%); }
  100% { transform: translateX(0%); }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

h1 {
  font-size: 2.5rem;
  color: var(--text-dark);
}

.highlight {
  color: var(--primary-color);
}

.hero-subtitle {
  color: var(--text-medium);
  font-size: 1.25rem;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}


@media (max-width: 768px) {
  .carousel-wrapper{
    width: 264px;
    height: 374px;
  }
  .carousel-container{
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

@media (min-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feature-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--primary-light);
  color: var(--primary-color);
  border-radius: 50%;
}

.testimonial-quote {
  font-style: italic;
  color: var(--text-light);
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 20px;
  font-weight: bold;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  transition: all ease 0.2s;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
}

.btn-primary:active{
  scale: 0.9;
}


/*--  tech used - section  ------------------------------------------------*/

.techused{
    font-size: 52px;
    font-weight: 300;
    margin-top: 50px;
    margin-bottom: 25px;
    text-align: center;
}

.test{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    width: 100%;
    font-family: 'Sora', sans-serif;
    margin-bottom: 50px;
}

.skill{
    padding: 20px;
    height: 100px;
    width: 100px;
    transition: all ease 0.2s;
}

.skill:hover{
    scale: 1.2;
}

.skill img{
    height: 100%;
    width: 100%;
}

.skill p{
    font-size: 2vh;
    margin: 0;
    text-align: center;
}

@media (max-width:500px) {
    .techused{
        font-size: 34px;
    }
}

@media(min-height:1137px){  /*------- Mobile Browser Desktop View --------*/
    .skill{
        margin: 50px;
        padding: 0;
    }
}