@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

body {
  font-family: 'Poppins', sans-serif;
}

.nav-buttons{
    margin-left: 35%;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.scroll-fancy {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, #0f172a, #1e293b, #0f172a);
  padding: 14px 0;
  display: flex;          /* make container flex */
  align-items: center;    /* vertically center content */
}

.scroll-wrapper {
  display: flex;
  width: max-content;
  animation: fancyScroll 38s linear infinite;
  align-items: center; 
}

.scroll-fancy:hover .scroll-wrapper {
  animation-play-state: paused; /* pause on hover */
}

.scroll-content {
  padding-right: 60px;
  white-space: nowrap;
  font-size: 1.3rem;
  font-weight: 700;
  color: #00f6ff;
  letter-spacing: 1.2px;
   align-items: center;
}
.scroll-content span {
  padding-right: 100px;    /* spacing between items */
  display: inline-flex;   /* prevent vertical movement */
  align-items: center;
}

/* Smooth Infinite Scroll */
@keyframes fancyScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    background: #fff8e7;
   
}

#home p{
    background: #fff8e7;
  
}

h2 {
    font-size: 1.8rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 800;
}

h4 {
    font-size: 1.2rem;
    font-weight: 600;
}

h5 {
    font-size: 1rem;
    font-weight: 800;
}

.navbar .brand {
  color: black;
  margin: 0;              /* remove default margin for proper stacking */
  font-size: 1.5rem;
  font-weight: 400;
}

.msg-box {
  display: inline-block;
  background-color: #fff8e7;  
  color: coral;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.5rem;
  box-shadow: 0 4px 35px coral;
  position: relative;

  /* Animation */
 animation: slideRight 1.5s ease forwards;

@keyframes slideRight {
  50% { transform: translateX(100%); opacity: 1; }
  100% { transform: translateX(0); opacity: 1; }
}
}


h6 {
    color: #d7f1c6;
}
.row{
    padding: 60px;
}
button {
    font-size: 0.8rem;
    font-weight: 900;
    outline: none;
    border: none;
     display: flex;              /* ✅ puts all items in a row */
    justify-content: center; 
    background-color: #1d1d1d;
    color: aliceblue;
    padding: 13px 30px;
    text-transform:uppercase;
    cursor: pointer;
    transition: 0.5s ease;
}
button:hover{
    background-color: coral;
}

.logo {
  height: 50px;   /* Adjust height to match text */
  width: auto;
}
/* Logo Styling */
.logo {
  height: 50px;
  width: auto;
  border-radius: 12px; /* soft rounded look */
  animation: pulse 3s infinite; /* subtle animation */
}

/* Pulse Animation */
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.95; }
  100% { transform: scale(1); opacity: 1; }
}

/* Brand Name Styling */
.brand {
  font-family: 'Georgia', serif; /* classic serif look */
  font-size: 1.5rem;
  font-weight: bold;
  color: #2c3e50; /* dark, professional color */
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

/* Hover Effect */
.brand:hover {
  color: #622728; /* subtle blue hover */
}

/* Robot walking animation */
.robot-walk {
  position: absolute;
  bottom: 10px;
  left: 50px; /* Start off screen */
  animation: walk-cycle 60s linear infinite alternate;
}

.robot-walk img {
  width: 120px;
  height: auto;
}

/* Keyframes: walk across left → right */
@keyframes walk-cycle {
  0% {
    left: -150px;
    transform: scaleX(1); /* facing right */
  }
  50% {
    left: calc(100% - 100px);
    transform: scaleX(1); /* still facing right */
  }
  51% {
    transform: scaleX(-1); /* flip, face left */
  }
  100% {
    left: -150px;
    transform: scaleX(-1); /* move back left */
  }
}
.navbar{
    font-size: 16px;
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
    top: 0;
    left: 0;
    box-shadow: 0 5px 10px rgba(0,0,0,1);
}

.navbar-light .navbar-nav .nav-link{
    padding: 0 20px;
    color: #0b0600;
    transition: 0.5s ease;
}
.navbar-light .navbar-nav .nav-link:hover,
.navbar i:hover,
.navbar-light .navbar-nav .nav-link.active

.navbar i:hover {
    color : coral;
}

.navbar i {
    font-size: 1.2rem;
    padding : 0.7px;
    transition : 0.4s ease;
    font-weight :500 ;
    cursor : pointer;
    margin-left :5px ;
}

@media only screen and (max-width:990px){
    .nav-buttons{
        margin: 10px;
    }
    .nav-buttons ul{
        margin: 1rem;
        justify-content: flex-start;
        align-items: flex-start;
        text-align: left;
    }
    .nav-buttons ul .fas{
        margin: 20px 5px 10px 20px;
    }
}
.robot-title {
  font-size: 2rem;
}

.robot-title span {
  color: #00f5a0;
}

.robot-tagline {
  margin: 5px 0 20px;
  font-style: italic;
}

#home{
    background-image: url('../imgs/bg.png');
    width: 100%;
    height: 100vh;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 19px; 
}
#new .one img{
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
#new .one{
    position: relative;
}
#new .one .details{
    position: absolute;
    top: 0;
    left: 0;
    color: burlywood;
    font-weight: bold;
    transition: 0.4s ease;
    opacity: 0.6;
    background-color: rgb(1, 1, 1);
    width: 100%;
    height: 100%;
}
#new .one .details:hover{
    background-color :linen;
}
#new .one:nth-child(1) .details{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: flex-start;
    text-align: start;
}
#new .one:nth-child(2) .details{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
#new .one:nth-child(3) .details{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: flex-end;
    text-align: end;
}

/* Featured product cards */
.product {
  cursor: pointer;
  margin-bottom: 2rem;

  /* Make all product boxes same height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;

  min-height: 380px;   /* adjust as per your design */
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
}

/* Fix image sizes */
.product img {
  width: 150px;       /* same width */
  height: 150px;      /* same height */
  object-fit: contain; /* keeps aspect ratio without stretching */
  transition: 0.3s all;
}

.product:hover img {
  opacity: 0.7;
}

/* Make stars look neat */
.star {
  margin: 8px 0;
  color: #FFD700;
}

.p-name {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.p-price {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.buy-btn {
  background: rgb(5, 1, 0);
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.buy-btn:hover {
  background: darkorange;
}


/* Footer */
footer {
  background-color: #222;
  color: white;
  text-align: center;
  padding: 20px 10px;
}

.footer-links a {
  color: #ccc;
  margin: 0 10px;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 10px;
}

.footer-links a:hover {
  color: #fff;

}

.social-icons a {
  display: inline-block;
  margin: 1px;
  padding: 2px 3px;
  border-radius: 2px;
  color: white;
  font-weight: bold;
  text-decoration: none;
  transition: 0.4s ease;
}

/* YouTube */
.yt-btn {
  background: #FF0000;
}
.yt-btn:hover {
  box-shadow: 0 0 20px #FF0000;
  transform: scale(1.1);
}

/* TikTok */
.tt-btn {
  background: #010101; /* black */
}
.tt-btn:hover {
  box-shadow: 0 0 20px #69C9D0, 0 0 30px #EE1D52; /* TikTok neon effect */
  transform: scale(1.1);
}

/* Facebook */
.fb-btn {
  background: #1877F2;
}
.fb-btn:hover {
  box-shadow: 0 0 20px #1877F2;
  transform: scale(1.1);
}

/* Shop pagination box down 1,2,3 next */
.pagination a{
    color: coral;
}

.pagination li:hover a{
    color: #fff;
    background-color: coral;
}

/* For single_product small image */
.small-img-group{
    display: flex;
    justify-content: space-between;
}

.small-img-col{
    flex-basis: 24%;
    cursor: pointer;
    
}
.single_product input{
    width: 50px;
    height: 40px;
    padding-left: 10px;
    font-size: 16px;
    margin-right: 10px;
}




/* --- Tutorials Section --- */
.tutorials-section {
  padding: 60px 20px;
  background: #f9fafb;
  text-align: center;
  font-family: "Poppins", sans-serif;
}

.tutorials-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #111827;
  position: relative;
}

.tutorials-section h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #f97316; /* orange underline */
  margin: 10px auto 0;
  border-radius: 2px;
}

/* --- Playlist Buttons --- */
.playlist-buttons {
  margin-bottom: 20px;
   text-align: center;
}

.playlist-buttons button {
  margin: 6px;
  padding: 10px 20px;
   display: inline-block;  
  border: none;
  outline: none;
  background: #2563eb;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s ease;
 
}

.playlist-buttons button:hover {
  background: #1e40af;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* --- Search Bar --- */
#searchInput {
  width: 80%;
  max-width: 400px;
  padding: 12px 15px;
  margin: 20px 0;
  border: 2px solid #d1d5db;
  border-radius: 25px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

#searchInput:focus {
  border-color: #2563eb;
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.4);
}

/* --- Video Grid --- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.video {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.video iframe {
  width: 100%;
  height: 200px;
  border: none;
  display: block;
}

.video p {
  padding: 12px;
  font-size: 0.95rem;
  color: #374151;
  font-weight: 500;
  text-align: left;
}

/* Institution Cards (About Page) */
.institution-showcase {
  padding: 30px 15px;
  max-width: 1100px;
  margin: auto;
}

.institution-card {
  margin-bottom: 40px;
}

.institution-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}

.institution-gallery img {
  width: 150px;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

/* Unique style only for h8 in #featured */
#featured h8 {
  display: inline-block;
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, #ff6a00, #ee0979);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  letter-spacing: 2px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlideIn 1.2s ease forwards;
}

/* Subtle glowing shadow */
#featured h8::before {
  content: "Worked with Institutions";
  position: absolute;
  left: 0;
  top: 0;
  background: inherit;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: blur(12px);
  opacity: 0.6;
  z-index: -1;
}

/* Keyframes for smooth reveal */
@keyframes fadeSlideIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Cart */
.cart table{
    width: 100%;
    border-collapse: collapse;
}
.cart .product-info{
    display: flex;
    flex-wrap: wrap;
}

.cart th{
    text-align: left;
    padding: 5px 10px;
    color: #fff;
    background-color: coral;
}
.cart td{
    padding: 10px 20px;
}
.cart td img{
    width: 80px;
    height: 80px;
    margin-right: 10px;
}
.cart td input{
    width: 40px;
    height: 30px;
    padding: 5px;
}
.cart .remove-btn{
    color: coral;
    text-decoration: none;
    font-size: 14px;
} 

.cart .edit-btn{
    color: coral;
    text-decoration: none;
    font-size: 15px;
}
.cart .product-info p{
    margin: 3px;
}
.cart-total{
    display: flex;
    justify-content: flex-end;

}

.cart-total table{
    width: 100%;
    max-width: 500px;
    border-top: 3px solid #fb774b;;
}
td:last-child{
    text-align: right;
}
th:last-child{
    text-align: right;
}
.checkout-container{
    display: flex;
    justify-content: flex-end;
}
.checkout-btn{
    background-color: #fb774b;
    color: #fff;
}
.checkout-btn:hover {
  box-shadow: 0 0 2px #0b0909;

}

/*..  login..*/
#login-form{
   width: 50%;
   margin: 5px auto;
   text-align: center;
   padding: 20px;
   border-top: 1px solid coral; 
}

#login-form input{
    width: 50%;
    margin: 5px auto;

}
#login-form #login-btn{
    background-color: coral;
    color: #fff;
}
#login-form #register-url{
    color: coral;
}

/*.. register..*/
#register-form{
   width: 50%;
   margin: 5px auto;
   text-align: center;
   padding: 20px;
   border-top: 1px solid coral; 
}

#register-form input{
    width: 50%;
    margin: 5px auto;

}
#register-form #register-btn{
    background-color: coral;
    color: #fff;
}
#register-form #login-url{
    color: coral;
}

/*.. Account..*/
#account-form{
   width: 50%;
   margin: 35px auto;
   text-align: center;
   padding: 20px;
}
#account-form input{
    margin: 5px auto;
}

#account-form #change-pass-btn{
    color: #fff;
    background-color: coral;
}
.account-info #order-btn, #logout-btn{
    color: coral;
    text-decoration: none;
}
/*.. Orders..*/
.order table{
    width: 100%;
      border-collapse: collapse;
  

}
.order .product-info{
    display: flex;
    flex-wrap: wrap;
}
.order th{
    text-align: left;
    padding: 5px 10px;
    color: #fff;
    background-color: coral;
}
.order th:nth-child(2){
    text-align: right;
}

.order td{
    padding: 10px 20px;
}

.order td img{
    width: 80px;
    height: 80px;
    margin-right: 10px;
}
/*checkout*/
#checkout-form .checkout-small-element{
    display: inline-block;
    width: 48%;
    margin: 10px auto;
}

#checkout-form .checkout-large-element{
    width: 50%;
}
#checkout-form .checkout-btn-container{
    margin: 10px;
    text-align: right;
    margin-right: 40px;
}
#checkout-form #checkout-btn{
    color: #fff;
    background-color: coral;
}
/* --- Co-Founder Section --- */
.cofounder-section {
  background: linear-gradient(135deg, #0f172a, #1e293b); /* dark navy gradient */
  color: #f8fafc; /* light text */
  padding: 60px 20px;
  text-align: center;
  border-radius: 20px;
  max-width: 1000px;
  margin: 50px auto;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

/* Title */
.cofounder-section .co-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #38bdf8; /* sky blue */
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.7);
}

/* Box for message */
.cofounder-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px;
  line-height: 1.8;
  font-size: 1.05rem;
  position: relative;
  backdrop-filter: blur(8px);
}

/* Highlight words */
.cofounder-text .glow {
  color: #facc15; /* yellow */
  font-weight: 700;
  text-shadow: 0 0 10px rgba(250, 204, 21, 0.8);
}

.cofounder-text .highlight {
  color: #38bdf8; /* sky blue */
  font-weight: bold;
}

/* Founder Image */
.cofounder-img-multi {
  margin-top: none;
}

.cofounder-img-multi img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #38bdf8;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cofounder-img-multi img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.8);
}
