*{
margin:0;
padding:0;
box-sizing:border-box;
font-family: "Segoe UI", sans-serif;
}

body{
min-height:100vh;
/* background: linear-gradient(135deg,#0f2027,#203a43,#2c5364); */
 background: linear-gradient(90deg,rgb(0,0,244,0.6),#00D1FF);
color:white;
}


nav{
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0A0F2C;
  gap: 0.8rem;
  height: 4.6rem;
   box-shadow: 0rem 0.2rem 0.25rem #ffffff;
}

.logo{
  padding-left: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex: 4;
}

.search-wrapper i{
  color: #F5C542;
  margin-right: 2rem;
  font-size: 1.5rem;
}

.home{
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0.2rem 0rem 0rem 0.4rem;
  color: #F5C542;
  flex: 1;
}

.home i{
  font-size: 1.5rem;
}

.home span{
  color: white;
  text-decoration: none;
  font-size: 1rem;
  margin-top: 0.3rem;
}

nav .logo img{
    margin: 0rem 0rem 0rem 1rem;
    border: 0.13rem solid #2AA9FF;
    border-radius: 0.5rem;
    height: 3.7rem;
    width: 5rem;
}

nav:hover{
    box-shadow: 0rem 0.2rem 0.25rem #F5C542;
}

a{
    text-decoration: none;
}

.Tech{
    color: #fff;
}

.Repo{
    color: #2AA9FF;
}


.page-container{
padding:50px 20px;
text-align:center;
}

ul li{
  list-style-type: none;
  color: beige;
}

.page-title{
font-size:36px;
margin-bottom:40px;
color:#ffffff;
}


.branchbox{
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #121848;
}

.branchbox div{
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 5rem;
}

.branchbox div.active{
  background-color: #2AA9FF;
  color: #0A0F2C;
  font-size: larger;
  font-weight: 500;
}


.card-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
gap:30px;
padding: 0rem 1.8rem;
}

.flip-card{
height:220px;
perspective:1200px;
cursor:pointer;
}

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

.flip-card.active .flip-inner{
transform:rotateY(180deg);
}

.flip-front,.flip-back{
position:absolute;
width:100%;
height:100%;
border-radius:18px;
backface-visibility:hidden;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
padding:20px;
box-shadow:0 10px 30px rgba(0,0,0,0.4);
}

.flip-front{
  border: 2px solid #00e5ff;
 background:linear-gradient(135deg,#6a11cb,#2575fc); 
background: linear-gradient(135deg, blue #0A0F2C);
}

.flip-front h3{
  color: #F5C542;
font-size:22px;
}

.flip-front p{
  color: #00e5ff;
font-size:14px;
margin:3px 0px 10px 0px;
}

.flip-back{
background:linear-gradient(135deg,#ff512f,#dd2476);
transform:rotateY(180deg);
gap:15px;
}

.btn{
padding:12px 28px;
border:none;
border-radius:25px;
font-size:16px;
font-weight:600;
cursor:pointer;
transition:0.3s;
}

.download{
background:#00e5ff;
color:#000;
}

.view{
background:#fff;
color:#000;
}

.btn:hover{
transform:scale(1.1);
}



.site-footer {
  background-color: #0A0F2C;
  color: white;
  font-family: 'Segoe UI', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px;
  display: flex;
  gap: 60px;
}

.footer-about {
  flex: 1.3;
}

.footer-about h2 {
  color: #F5C542;
  margin-bottom: 15px;
}

.footer-about p {
  color: #cfd3ff;
  font-size: 14px;
  line-height: 1.7;
}

.footer-contact p {
  margin-top: 10px;
  font-size: 14px;
  color: #b8beff;
}

.footer-contact a{
  color: #b8beff;
}

.footer-contact i {
  color: #2AA9FF;
  margin-right: 8px;
}

.footer-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* DROPDOWN */
.footer-dropdown {
  width: 100%;
}

.dropdown-btn {
  width: 100%;
  background: #121848;
  border: none;
  color: #2AA9FF;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 8px;
}

.dropdown-btn i {
  transition: transform 0.3s ease;
}

.footer-dropdown.active .dropdown-btn i {
  transform: rotate(180deg);
}

.dropdown-menu {
  list-style: none;
  background: #161c52;
  margin-top: 1px;
  border-radius: 8px;
  overflow: hidden;
  display: none;
}

.footer-dropdown{
  margin-bottom: 0.5rem;
}

.footer-dropdown.active .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: 12px 18px;
  color: white;
  font-size: 14px;
  text-decoration: none;
}

.dropdown-menu li a:hover {
  background-color: #2AA9FF;
  color: #0A0F2C;
}

/* BOTTOM */
.footer-bottom {
  border-top: 1px solid #1f2661;
  padding: 18px;
  text-align: center;
  font-size: 13px;
  color: #bfc4ff;
}

/* 📱 MOBILE */
@media (max-width: 451px) {
  .footer-container {
    flex-direction: column;
    gap: 40px;
  }

  
  nav{
    box-shadow: none;
     border-width: 0.2rem 0rem 0.2rem 0rem;
        border-style: solid;
        border-color: #F5C542;
  }

.page-title{
font-size:26px;
margin-bottom:25px;
}

.card-grid{
grid-template-columns:1fr;
gap:20px;
}

.flip-card{
height:200px;
}

.flip-front h3{
font-size:18px;
}

.flip-front p{
font-size:13px;
}

.flip-back{
padding:15px;
}

.btn{
padding:10px 22px;
font-size:14px;
}

.page-container{
padding:30px 15px;
}
}



/* ===== SEARCH FEATURE ONLY ===== */

.search-wrapper{
  position: relative;
  display: flex;
  align-items: center;
}

#searchIcon{
  cursor: pointer;
  font-size: 1.3rem;
  transition: 0.3s ease;
}


/* Search input */

#searchBox{
  padding: 7px 12px;
  width: 230px;
  border-radius: 6px;
  border: 2px solid #f5c542;
  outline: none;
  font-size: 0.95rem;
  display: none;
}


/* Suggestions */

#suggestions{
  position: absolute;
  top: 42px;
  left: 0;
  width: 250px;
  background: #111;
  border-radius: 6px;
  overflow: hidden;
  z-index: 999;
}

.suggestion-item{
  padding: 8px 10px;
  color: #fff;
  cursor: pointer;
  border-bottom: 1px solid #333;
}

.suggestion-item:hover{
  background: #f5c542;
  color: #000;
}


/* Highlight card */

.highlight{
  border: 3px solid #f5c542;
  border-radius: 18px;
  box-shadow: 0 0 15px #f5c542;
  transition: 0.4s ease;
}


/* 📱 Mobile */

@media(max-width:451px){

  .search-wrapper{
  width: auto;
  margin-top: 8px;
  margin-left: auto;   /* 🔥 keeps it right aligned */
}


  #searchBox{
    width: 90%;
  }

  #suggestions{
    width: 100%;
  }

}
