*{
    margin: 0;
    padding: 0;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', sans-serif;
    background-color: #1a1a1a;
   background-size: 100% 800px;
   background-repeat: no-repeat;
   background-attachment: scroll !important;
    min-height: 100vh;
    color: #ffffff;
    padding-top: 0;
    margin: 0;
}

.glass {  
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  
}

.header {    
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header.hide {
  transform: translateY(-100%);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
    width: 100%;
}

.header .container {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/*logo */
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff; 
    text-decoration: none;
    letter-spacing: -0.5px;
}

/* --- 4. NAVBAR LINKS --- */
.navbar {
    display: flex;
    align-items: center;
    gap: 30px; /* Space between links */
}

.nav-link {
          display: inline-block;
            align-items: center;
            gap: 0.4rem;
            padding: 0.7rem 1rem;
            color: #00efbc;
            text-decoration: none;
            font-weight: 700;
            font-size: 1rem;
            border-radius: 8px;
            cursor: pointer;
            white-space: nowrap;
            border: none;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
            color: #ffffff; 
            
            font-weight: bold;
}
/* --- 6. MOBILE MENU (HIDDEN ON DESKTOP) --- */
.menu-toggle {
    display: none; 
    
}

.hamburger {
    display: none; 
    cursor: pointer;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    background-color: #162428;
    border-radius: 8px;
    padding: 10px;
    width: 45px;
    height: 45px;
    border: 1px solid #1f3a3d;
    transition: all 0.3s ease;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 3px;
    background-color: #55efc4;
    border-radius: 3px;
    transition: all 0.3s ease;  
}
 /* ===== CONTAINER ===== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.blog-section {
  padding: 85px 0;
  position: relative;
}

/* ===== TITLE ===== */
.animated-title {
  font-size: 50px;
  font-weight: 900;
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.word-latest {
  color: #fff;
  font-size: 40px;
  font-family: 'Times New Roman', serif;
}

.word-blogs {
  background: linear-gradient(90deg, #24CFA6, #6fffe0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 40px;
  font-family: 'Times New Roman', serif;
}

/* ===== SCROLL WRAPPER ===== */
.blog-scroll-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.blog-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 20px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.blog-scroll::-webkit-scrollbar {
  display: none;
}

.no-smooth {
  scroll-behavior: auto !important;
}

/* ===== COURSE CARD ===== */
.course-card {
  flex: 0 0 450px;
  scroll-snap-align: start;

  display: flex;
  flex-direction: column;

  background-color: #1a1a1a;
  border-radius: 10px;
  padding-bottom: 20px;

  position: relative;
  overflow: visible;

  transition: transform 0.3s ease;
}



/* ===== IMAGE ===== */
.card-image {
  height: 180px;
  width: 100%;
  background-color: #1a1a1a;
  position: relative;
  overflow: visible;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  border-radius: 10px 10px 0 0;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}



/* ===== OVERLAY BADGE (FIXED) ===== */
.course-overlay {
  position: absolute;
  top: 5px;
  right: 8px;



  background: #ffffff;
  color: #1a1a1a;

  font-weight: 700;
  font-size: 12px;
  padding: 6px 14px;

  border-radius: 999px;
  z-index: 20;

  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

/* ===== CARD CONTENT ===== */
.card-content {
  flex-grow: 1;
  background-color: rgba(15, 15, 15, 0.6);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: #2dffcc;
}


.blog-intro {
  font-size: 0.9rem;
  color:  white;
  line-height: 1.5;
  font-style: italic;
  font-family: 'Inter', sans-serif;
}

/* ===== FOOTER ===== */
.card-footer {
  padding: 16px;
  background: #1a1a1a;
}

.read-more-btn {
  width: 100%;
  padding: 8px;
  background: #24cfa6;
  color: #000;
  font-size: 1rem;
  font-weight: 900;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  width: fit-content;
  border-radius: 8px;
  color:#0F0F0F ;
  align-items: end;
  justify-content: right;
  margin-left: 73%;
}

.read-more-btn:hover {
  background: #6fffe0;
  transform: scale(1.2);
}
