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

html{
  font-family: "Josefin Sans", sans-serif;
  font-optical-sizing: auto;
}

body.group-1{
  margin: 0;
  padding: 0;
  background-image: url("images/Top-8-Software-Development-Models.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  min-height: 100vh;
}

body.group-2{
  margin: 0;
  padding: 0;
  background-image: url("images/Top-8-Software-Development-Models.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  min-height: 100vh;
  backdrop-filter: blur(15px);
  padding-bottom: 80px;
}

header a:hover{
    color: white;   
}

footer{
    text-align:center;
    background-color: rgba(52, 57, 58, 0.4);
    color: #ffffff;
    padding: 20px;
    bottom: 0px;
    left: 0px;
    position: fixed;
    width: 100%;
    backdrop-filter: blur(8px);
}

.company-name{
    text-align: right;
    background-color: rgba(52, 57, 58, 0.4);
    color: white;
    width: 100%;
    height:fit-content;
    margin: 0;
    padding: 20px 0;
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    position: relative;
    z-index: 1100;
}

.homeinfo {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  width: 350px;
  background-color: rgba(52, 57, 58, 0.4); 
  backdrop-filter: blur(8px); 
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}


.computer{
width: 50%;
position: absolute;
top: 15%;
right: 15%;
padding: 20px;

}


.homeinfo h2{
    padding: 10px;
    color: #f8d33d;
    font-size: 1.6rem;
}
.homeinfo h3{
    padding: 10px;
    color: #f8d33d;
    font-size: 1.1rem;
}

.homeinfo p{
    padding: 10px;
    color: #ffffff;
    font-size: .9rem;
}


.homeinfo .btn {
  background-color: #f8d33d;
  border-radius: 10px;
  border: none;
  padding: 10px 20px;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  display: inline-block; /* ensure it respects centering */
  margin-top: 10px;       /* optional spacing from text */
}
.homeinfo .btn a {
  color: #000;
  text-decoration: none; /* remove underline */
}

.homeinfo .btn:hover {
  background-color: #e6bf14;
  color: #000000;
  text-decoration:none;
  transform: translateY(-2px);
}
.company-name a{
    text-decoration: none;
    padding-left: 20px;
    padding-right: 20px;
    color: #ffffff;
    padding-bottom:10px ;
    font-size: 1.2rem;
}

.company-name a:hover{
    color: rgb(1, 255, 247);
}


.company-name .logo {
  position: static;
  margin-left: 20px;
  height: 50px;
}
.company-name .brandname {
  position: static;
  margin-left: 10px;
  height: 45px;
}

/* Style nav links container */
.nav-links {
  display: flex;
  gap: 20px;
  margin-left: auto;
  padding-right: 20px;
}


.contact-info{
  padding-top: 10%;
  color: #ffffff;
  padding-left: 2rem;
  padding-right: 2rem;
}

.contact-info h1 {
  color: #f8d33d;
  font-size: 1.9rem;
  margin-bottom: 20px;
}

.contact-info p {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 10px;
}

.contact-info a {
  color: #f8d33d;
  text-decoration: none;
  font-weight: bold;
}
.contact-info a:hover {
  color: #e6bf14;
  text-decoration: underline;
}


.product-info{
  color: #ffffff;
  padding: 100px 100px 225px 90px;
  background-color: rgba(52, 57, 58, 0.4);
  backdrop-filter: blur(20px);

}



/* Swiper layout */
.swiper {
  width: 100%;
  padding: 60px ;
  margin-top: 2rem;
  height: 100%;
  margin-bottom: 1rem;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

/* Flip card container */
.card-container {
  perspective: 1000px;
  width: 100%;
  height: 400px;
}


.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.card-container.flipped .card-inner {
  transform: rotateY(180deg);
}

/* Card faces */
.card-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  background-color: rgba(1, 1, 1, 0.4);
  backdrop-filter: blur(6px);
  color: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.card-front {
  z-index: 2;
}
.card-front h3 {
  color: #f8d33d;
  font-size: 18px;
  margin-bottom: 10px;
}

.card-back {
  transform: rotateY(180deg);
}

.card-back p {
  padding: 0 10px;
  font-size: 15px;
}

/* Button */
.flip-btn {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #f8d33d;
  color: #000;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.flip-btn:hover {
  background-color: #e5b800;
}

/* Swiper controls */
.swiper-button-prev,
.swiper-button-next {
  color: #E5B800;
}

.swiper-pagination-bullet {
  background: #f8d33d;
}

#mobile-menu {
  display: none;
}


.team-section {
            padding: 50px;
            color: white;
        }
        .team-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
            justify-content: center;
        }
        .team-member {
            width: 250px;
            background-color: rgba(0, 0, 0, 0.491);
            border-radius: 16px;
            padding: 20px;
            text-align: center;
            transition: all 0.3s ease;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        }
        .team-member:hover {
            transform: translateY(-10px);
            box-shadow: 0 0 15px rgb(1, 255, 247);
        }
        .team-member img {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            object-fit: contain;
            margin-bottom: 10px;
            background-color: rgba(0, 0, 0, 0.29);
            box-shadow: 1px 3px 10px 10px rgba(255, 255, 255, 0.2);
        }
        .degree {
            font-size: .8rem;
            margin-bottom: 10px;
            color:rgb(1, 255, 247);
        }
        .team-member p {
            font-size: 0.9rem;
            color: #ffffff;
        }
        .team-member address{
          margin-top: .7rem;
          font-size: .7rem;
        }
        .team-section h1{
            text-align: center;
            color: #f8d33d;
            font-size: 2rem;
            margin-bottom: 30px;
            font-weight: bold;
        }
        .team-name{
            font-size: 1.2rem;
            margin-bottom: 10px;
            color:#f8d33d;
        }
        


@media screen and (max-width: 768px) {
  .card-container {
    width: 90%;
    height: auto;
  }

  .card-face {
    padding: 15px;
  }

  .card-front img {
    max-height: 80px;
  }

  .flip-btn {
    font-size: 14px;
    padding: 8px 16px;
  }

.nav-links{
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #e5b800;
  position: absolute;
  top: 100%;
  right: 0;
  width: 200px;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.25);
  padding: 10px 0;
  z-index: 1200;
}

/* Show menu when toggled */
.nav-links.active {
  display: flex;
}

  #mobile-menu {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
    margin-right: 20px;
    z-index: 1000;
  }

    .swiper {
    padding: 30px 10px;
    height: 320px;
    width: 100%;
  }

.swiper-slide {
  width: 100% !important;
  padding: 0 1rem; /* optional for inner spacing */
  height: 320px;
  box-sizing: border-box; /* makes padding stay within 100% width */
}


  .card-container {
    height: 320px;
    width: 80%;
  }
}


@media screen and (max-width: 768px) {
  .homeinfo {
    position: static;
    transform: none;
    width: auto;
    margin: 20px;
  }
}
