/* 1. Force Inter font on literally everything */
* {
    font-family: 'Inter', sans-serif !important;
}

/* 2. Specifically override Bootstrap's stubborn Navigation & Headings */
.navbar-nav .nav-link,
.navbar-brand,
h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4 {
    font-family: 'Inter', sans-serif !important;
}

/* 3. Style the Navigation Bar to look premium */
.navbar-nav .nav-link {
    font-weight: 500 !important; /* Clean, readable weight */
    letter-spacing: 0.3px !important; /* Slight spacing for elegance */
}

/* 4. Style the big Hero Headings (like "CAIE Past Papers") */
h1.display-3 {
    font-weight: 700 !important;
    letter-spacing: -1px !important; /* Tightens the huge letters for a modern tech look */
}

/* 5. Style the Card Headings (like "Physics") */
.bg-light h2, .bg-light h4 {
    font-weight: 600 !important;
    color: #333 !important; /* Makes it slightly softer than pure black */
}
.custom-chevron {
    display: inline-block;
    width: 0;
    height: 0;
    vertical-align: middle;
    border-top: 5px solid;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
}

.list-unstyled ul,
ul.list-unstyled {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

/* youtube Icon Css that is floting on all pages*/
/* Floating YouTube Icon */
.youtube-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    text-decoration: none;
    box-shadow: 0px 10px 20px rgba(255, 0, 0, 0.4);
    transition: all 0.3s ease-in-out;
    z-index: 1000;
    font-family: 'Nunito', sans-serif;
}

/* Hover Effect */
.youtube-float:hover {
    transform: scale(1.15);
    box-shadow: 0px 15px 25px rgba(255, 0, 0, 0.6);
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .youtube-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 15px;
        left: 15px;
    }
}
.cookie-container {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: rgba(20,20,20,0.95);
  backdrop-filter: blur(10px);
  padding: 20px;
  z-index: 9999;
  display: none;
}

.cookie-box {
  max-width: 900px;
  margin: auto;
  color: #fff;
}

.cookie-buttons button {
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  margin-right: 10px;
  cursor: pointer;
}
