
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100vw;
    box-sizing: border-box;
    
}
body {
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: black;
    display: flex;
    flex-direction: column;
    text-align: center;
}
footer {
    background-color: #D69A2D;
    padding: 20px;
    text-align: center;
    width: 100%;
    margin-top: auto; 
    border-top: 2px solid orange;
    border-bottom: 2px solid orange;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #D69A2D;
    border-bottom: 2px solid orange;
    flex-wrap: wrap;
    text-align: center;
}
header img {
    height: 50px;
}
.cart-nav {
  right: 90;
  left: 58;
   
  
}
.cart-nav a {
    color: black;
}
nav a:hover {
    color: #4169E1;
    text-decoration: none;
}
h1 {
    margin: 20px 0;
    color: black;
    animation: bounce 1.5s infinite ease-in-out;
}
.courses {
    display: flex;
    justify-content: center;
    align-items: center; 
    gap: 20px;
    flex-wrap: wrap;
    margin: 0;
    flex: 1;
    min-height: 50vh;
}
.course {
    text-align: center;
    width: 150px;
}
.course img {
    width: 100px;
    height: auto;
}
.course a {
    color: black;
    text-decoration: none;
}
.course a:hover {
    color: #4169E1;
}
footer a {
    margin: 0 10px;
    text-decoration: underline;
    color: black;
}
footer a:hover {
    text-decoration: none;
    color: #4169E1;
}
@keyframes bounce {
    0%, 100% { 
    transform: translateY(0); 
    background-color: #f8f9fa;
    box-shadow: 0 4px 6px #da291c;
 }
    50% { 
    transform: translateY(-5px); 
    background-color: #D69A2D;
    box-shadow: 0 8px 12px orange;
    }
}
/* Responsive design for smaller screens */
@media (max-width: 768px) {
header {
    flex-direction: column;
    align-items: center;
    padding: 15px;
 }
.cart-nav {
    flex-direction: column;
    gap: 10px;
 }
.courses {
    flex-direction: column;
    align-items: center;
 }
.course {
    width: 80%;
 }
footer {
    font-size: 12px;
    padding: 10px;
 }
}
/* For very small screens */
@media (max-width: 480px) {
.course {
    width: 95%;
 }
.course img {
    width: 80px;
 }
footer {
    text-align: center;
    font-size: 10px;
    padding: 5px;
 }
}

.cart img {
  height: 35px;
  margin-top: 50px; /* Adjust this value as needed */
  padding: 0;
}

#cart-count {
  background-color: #D69A2D;
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  position: relative;
  top: -10px;
  left: -10px;
}

/* Checkout Layout */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 50px auto;
  max-width: 960px;
  gap: 20px;
}

.container {
  background-color: #ffffff;
  padding: 16px;
  border-radius: 15px;
  border: 1px solid #e0e0e0; /* subtle border */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); /* slightly deeper shadow */
  max-width: 400px;
  margin: 0px auto;
  transition: box-shadow 0.3s ease;
  border: 2px solid #FFA500; /* Hex code for orange */
box-shadow: 0 4px 10px rgba(255, 165, 0, 0.2); 
}
.container:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12); /* elevate on hover */
}

/* Form Columns */
.col-50 {
  flex: 1;
  min-width: 100px;
  margin-bottom: 2px;
}

.col-50 label {
  display: block;
  margin-bottom: 3px;
  
}

input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
}

.icon-container i {
  font-size: 36px;
  margin-right: 12px;
  margin: 20px 0 20px;
}

.visa-icon {
  color: #1a1f71;
}

.amex-icon {
  color: #2e77bc;
}

.mastercard-icon {
  color: #eb001b;
}

.discover-icon {
  color: #f76a00;
}

/* Row inside form */
form .row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .row {
    flex-direction: column;
    padding: 0 15px;
  }
  
}

label {
  display: flex;
  align-items: center;
  font-size: 16px;
  margin: 20px 0;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  padding: 10;
}

.btn {
  background-color:  #0077cf;
  color: white;
  padding: 18px ;
  border: none;
  width: 100%;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 10px;
}
.btn:hover {
  background-color:  #D69A2D
}

.checkout-btn {
  background-color:#0077cf;
  color: white;
  padding: 18px ;
  border: none;
  width: 100%;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 10px;
}
.checkout-btn:hover {
  background-color:  #D69A2D
}



.in-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    gap: 15px;
    flex-wrap: wrap;
}
.in-bar a{
    color: black;
}