@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap");
:root {
  --yellow: #f5bf23;
  --black: #111;
  --white: #fff;
  --light-color: #666;
  --light-bg: #eee;
  --box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
  --border: .1rem solid rgba(0, 0, 0, .3);
}

*{
	margin: 0;
	padding: 0;
	font-family: 'Poppins', sans-serif;
  

}


nav{
	display: flex;	
	justify-content: space-between;
	align-items: center;
	background-color:#030615;	
	position: fixed;
  	top: 0;
  	left: 0;
  	width: 100%;
    z-index: 999; /* Ensure it's above other content */
	box-shadow: #222;
	transition: background-color 0.3s ease;
}

/* Navigation bar with background when scrolled */
nav.scrolled {
	background-color: #030615;
}

nav img{
	width: 220px;
	height: 200x;
	padding-left: 8px;
	padding-top: 8px;
	
}
.nav-links{
	flex: 1;
	text-align: right;
}
.nav-links ul li{
  font-weight: 500;
	list-style: none;
	display: inline-block;
	padding: 8px 12px;
	position: relative;
}
.nav-links ul li::after{
	content: '';
	width: 0%;
	height: 2px;
	background: #f44336;
	display: block;
	margin: auto;
	transition: 0.5s;
}
.nav-links ul li:hover::after{
	width: 100%;
}
.nav-links ul li a{
	font-size: 15px;
	font-family: poppins;
	text-decoration: none;
	color: #fff;
}
.text-box{
	width: 90%;
	color: #fff;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	text-align: center;
}
.text-box h1{
	font-size: 62px;
}
.text-box p{
	font-size: 14px;
	margin: 10px 0 40px;
	color: #dfdfdf;
}
.hero-btn{
	display: inline-block;
	text-decoration: none;
	color: #fff;
	border: 1px solid #fff;
	padding: 12px 34px;
	font-size: 13px;
	background: transparent;
	position: relative;
	cursor: pointer;
	border-radius: 25px;
}
.hero-btn:hover{
	border: 1px solid #f44336;
	background:#f44336 ;
	transition: 1s;
}
nav .fa{
	display: none;
}
/*header media query strt*/
@media(max-width: 700px){
	.text-box h1{
	  font-size: 20px;
    }
    .nav-links ul li{
      display: block;	
    }
    .nav-links{
      position: fixed;
      background: #030615;
      height: 100vh;
      width: 200px;
      top: 0;
      right: -200px;
      text-align: left;
      z-index: 2;
      transition: 1s;
    }
    nav .fa{
    	display: block;
    	color: #fff;
    	margin: 10px;
    	font-size: 22px;
    	cursor: pointer;
    }
    .nav-links ul{
    	padding: 30px;
    }
}

/* Sub-navigation styles */
.course-dropdown {
    position: relative;
}

.course-dropdown .toggle-subnav {
    display: none;
    font-size: 14px;
    margin-left: 5px;
    cursor: pointer;
}

.sub-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #030615;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.sub-nav li {
    padding: 5px 20px;
}

.sub-nav li a {
    font-size: 15px;
    color: #fff;
    text-decoration: none;
    display: block;
    transition: 0.3s;
}

.sub-nav li a:hover {
    background-color: #f44336;
}

.course-dropdown:hover .sub-nav {
    display: block;
}

/* Mobile view adjustments */
@media (max-width: 700px) {
    .course-dropdown .toggle-subnav {
        display: inline-block;
    }

    .sub-nav {
        position: static;
        display: none;
        padding: 10px;
    }

    .nav-links ul li .sub-nav li {
        padding: 10px;
    }

    .nav-links ul li .sub-nav li a {
        font-size: 14px;
    }

	.arrow{
		display: none;
	}
}


/*==================== CHEMAYA ARTICLE SECTION ====================*/
.chemaya-article {
  background: #020024;
background: radial-gradient(circle, rgba(2, 0, 36, 1) 0%, rgba(9, 9, 121, 1) 53%, rgba(20, 150, 150, 1) 100%);
  padding-top: 80px; /* offset for fixed nav */
  font-family: 'Poppins', sans-serif;
}

/* ---- HERO BANNER ---- */
.article-hero {
  background-image: url(Images/banner.png);
  background-repeat: no-repeat; /* */
  background-size: cover; 
  background-position: center;
  height: 300px;
  color: #fff;
  text-align: center;
  padding: 90px 20px 70px;
  position: relative;
  overflow: hidden;
}

.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(255, 204, 0, 0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(255, 102, 0, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.article-hero-badge {
  display: inline-block;
  background: linear-gradient(90deg, #ffcc00, #ff6600);
  color: #030615;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 50px;
  margin-bottom: 25px;
}

.article-hero-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.25;
  max-width: 820px;
  margin: 0 auto 15px;
  color: #fff;
  -webkit-text-stroke: 1px rgb(36, 96, 235);
}

.article-hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 35px;
}

.article-hero-subtitle strong {
  color: #ffcc00;
}

.article-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgb(255, 255, 255);
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.article-meta i {
  color: #ffcc00;
  font-size: 0.9rem;
}

/* ---- MAIN WRAPPER ---- */
.article-wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 30px 20px 40px;
}

/* ---- INTRO CARD ---- */
.article-intro-card {
  background: #fff;
  border-left: 5px solid #ffcc00;
  border-radius: 0 12px 12px 0;
  padding: 28px 35px;
  margin-bottom: 50px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.article-intro-card p {
  font-size: 1.08rem;
  line-height: 1.9;
  color: #333;
  margin: 0;
}

/* ---- ARTICLE SECTIONS ---- */
.article-section {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 0 25px;
  margin-bottom: 50px;
  
}

.section-label {
  font-size: 3.5rem;
  font-weight: 800;
  color: #f6f6f7;
  -webkit-text-stroke: 1px rgb(36, 96, 235);
  line-height: 1;
  
  padding-top: 4px;
}

.section-title {
  font-size: 1.65rem;
  font-weight: 700;
  color: #99a9fc;
  margin-bottom: 15px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
  grid-column: 2;
}

/* Fix: section-label should be row 1, section-title row 1 col 2, section-body row 2 col 2 */
.article-section {
  display: grid;
  grid-template-columns: 60px 1fr;
  grid-template-rows: auto auto;
  gap: 0 25px;
  margin-bottom: 50px;
}

.section-label {
  grid-column: 1;
  grid-row: 1 / 3;
}

.section-title {
  grid-column: 2;
  grid-row: 1;
}

.section-body {
  grid-column: 2;
  grid-row: 2;
}

.section-body p {
  font-size: 1rem;
  line-height: 1.95;
  color: #fffbfb;
  margin-bottom: 15px;
}

.section-body p:last-child {
  margin-bottom: 0;
}

/* ---- IMAGE SLOTS ---- */
.img-slot {
  background: #fff;
  border: 2px dashed #d4d8e8;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 35px 25px;
  transition: border-color 0.3s ease, background 0.3s ease;
  margin-bottom: 40px;
  cursor: default;
}

.img-slot:hover {
  border-color: #ffcc00;
  background: #fffdf0;
}

.img-slot i {
  font-size: 2.5rem;
  color: #c8cde0;
  margin-bottom: 14px;
}

.img-slot strong {
  font-size: 1rem;
  font-weight: 700;
  color: #030615;
  display: block;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.img-slot span {
  font-size: 0.88rem;
  color: #888;
  display: block;
  margin-bottom: 14px;
}

.img-slot code {
  background: #f4f6fb;
  border: 1px solid #e0e4f0;
  color: #e05500;
  font-family: 'Courier New', monospace;
  font-size: 0.82rem;
  padding: 8px 14px;
  border-radius: 6px;
  display: inline-block;
}

.img-slot--hero {
  min-height: 240px;
}

.img-slot--wide {
  min-height: 200px;
}

/* Two-column image grid */
.img-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.img-slot--grid {
  min-height: 180px;
  margin-bottom: 0;
}

/* ---- REAL IMAGES (when user replaces placeholders) ---- */
.event-image {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  margin-bottom: 40px;
  display: block;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.event-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(255, 102, 0, 0.15);
}

/* ---- CLOSING CARD ---- */
.article-closing-card {
  background: linear-gradient(135deg, #030615, #0a1840);
  color: #fff;
  border-radius: 16px;
  padding: 55px 40px;
  text-align: center;
  margin-top: 10px;
  position: relative;
  overflow: hidden;
}

.article-closing-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,204,0,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.closing-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #ffcc00, #ff6600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.closing-icon i {
  font-size: 1.8rem;
  color: #030615;
}

.article-closing-card h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #ffcc00;
}

.article-closing-card p {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .article-hero {
    padding: 70px 20px 50px;
  }

  .article-wrapper {
    padding: 40px 18px 60px;
  }

  .article-section {
    grid-template-columns: 1fr;
  }

  .section-label {
    grid-row: 1;
    grid-column: 1;
    font-size: 2rem;
    
    margin-bottom: -8px;
  }

  .section-title {
    grid-column: 1;
    grid-row: 2;
  }

  .section-body {
    grid-column: 1;
    grid-row: 3;
  }

  .img-grid-2 {
    grid-template-columns: 1fr;
  }

  .article-intro-card {
    padding: 20px 22px;
  }

  .article-closing-card {
    padding: 40px 22px;
  }
}

 /*=============== FOOTER ===============*/
footer {
  background: linear-gradient(180deg, #030615, #0a0f2c);
  color: #fff;
  padding: 50px 20px 20px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
  z-index: 1;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  align-items: start;
  max-width: 1300px;
  margin: auto;
}

.footer-left {
  text-align: left;
}

.footer-left .logo {
  width: 280px;
  height: auto;
  margin-bottom: 20px;
}

.contact-info p {
  margin: 8px 0;
  color: #ccc;
  font-size: 1rem;
  line-height: 1.5;
}

.contact-info strong {
  color: #fff;
}

.footer-map iframe,
.footer-facebook iframe {
 width: 100%;
  max-width: 340px;
  height: 380px; /* keep the container height */
  border: none;
  border-radius: 10px;
  overflow: hidden; /* allow scroll inside */
}

.footer-center h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffcc00;
}

.footer-center ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-center ul li {
  margin: 12px 0;
}

.footer-center ul li a {
  color: #ddd;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
}

.footer-center ul li a:hover {
  color: #ffcc00;
  padding-left: 5px;
}

.footer-facebook .facebook {
  display: flex;
  justify-content: center;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 15px;
  font-size: 0.9rem;
  color: #aaa;
}

.footer-bottom p {
  margin: 0;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #ffcc00, #ff6600, #0099ff, #ff33cc);
  background-size: 300% 300%;
  animation: gradientBar 8s ease infinite;
}

@keyframes gradientBar {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@media (min-width: 769px) {
  .footer-center h3,
  .footer-center ul {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-left, .footer-map, .footer-center, .footer-facebook {
    margin: 10px 0;
    text-align: center;
  }

  .footer-left .logo {
    margin: 0 auto 20px;
  }
  
  .footer-center h3,
  .footer-center ul {
    text-align: center;
  }
}