:root {
  --orange: #ff8a00;
  --dark-orange: #e67600;
  --black: #000;
  --white: #fff;
  --gray-light: #f7f7f7;
}

* { box-sizing:border-box; margin:0; padding:0; font-family:'Poppins',sans-serif;}
body { background:var(--white); color:var(--black); line-height:1.6;}
a { text-decoration:none; color:inherit; }

/* Top bar */
.top-bar { display:flex; justify-content:flex-end; gap:20px; padding:6px 40px; font-size:14px; background:#f7f7f7;}
.top-bar a:hover{color:var(--orange);}

/* Header */
header{position:sticky;top:0;z-index:1000;background:#fff;border-bottom:1px solid #eee;}
.nav{display:flex;justify-content:space-between;align-items:center;padding:20px 40px;}
.logo img{width:300px;height:auto;}
nav ul{list-style:none;display:flex;gap:30px;}
nav a{color:var(--orange);border-bottom:2px solid transparent;transition:.3s;font-weight:500;}
nav a:hover{color:var(--dark-orange);border-color:var(--dark-orange);}

/* NAVIGATION */
.hamburger {
  display:none;
  flex-direction:column;
  cursor:pointer;
  gap:5px;
}

.hamburger span {
  width:25px;
  height:3px;
  background:var(--orange);
  transition:0.3s;
}

/* MOBILE NAV */
@media (max-width:768px){

  .hamburger { display:flex; }

  nav {
    position:fixed;
    top:0;
    right:-100%;
    height:100vh;
    width:250px;
    background:#fff;
    box-shadow:-5px 0 20px rgba(0,0,0,0.1);
    transition:0.4s ease;
    padding-top:100px;
  }

  nav.active { right:0; }

  .nav-links {
    display:flex;
    flex-direction:column;
    gap:30px;
    padding-left:40px;
  }

  .hamburger.active span:nth-child(1){
    transform:rotate(45deg) translate(5px,5px);
  }

  .hamburger.active span:nth-child(2){
    opacity:0;
  }

  .hamburger.active span:nth-child(3){
    transform:rotate(-45deg) translate(6px,-6px);
  }

  .caption { font-size:clamp(0.8rem,1.5vw,1rem); }
}
/* Hero */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 70vh;
  position: relative;
  overflow: hidden;
  padding: 20px;
  margin-bottom: 60px;
  background: linear-gradient(135deg, #ff9a00, #ffcc66, #ff9a00);
  background-size: 400% 400%;
  animation: gradientAnimation 15s ease infinite;
  perspective: 1000px;
}

/* Gradient animation */
@keyframes gradientAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-content h1 {
  font-size: clamp(2rem,5vw,3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.hero-cta {
  display: inline-block;
  padding: 12px 30px;
  background: #fff;
  color: var(--orange);
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
  opacity: 0;
  transform: translateY(20px);
  transition-delay: 0.6s;
}

.hero-cta:hover {
  background: #ffe6cc;
}

/* Shapes */
.hero-shapes .shape {
  position: absolute;
  opacity: 0.15;
  z-index: 0;
  animation: floatShapes 12s ease-in-out infinite alternate;
}

.hero-shapes .circle {
  width: 150px; height: 150px;
  border-radius: 50%;
  top: 10%; left: 15%;
  background: #fff;
}

.hero-shapes .triangle {
  width: 0; height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 100px solid #fff;
  top: 50%; right: 15%;
}

.hero-shapes .square {
  width: 100px; height: 100px;
  bottom: 10%; left: 40%;
  background: #fff;
}

@keyframes floatShapes {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(15deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

/* Animate hero content on load */
.hero.visible h1,
.hero.visible .hero-subtitle,
.hero.visible .hero-cta {
  opacity: 1;
  transform: translateY(0);
}

.hero h1 span {
  display: inline-block;
  margin-right: 1rem; /* space between words */
}

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 25px; height: 3px; background: var(--orange); transition: .3s; }


/* News Section */
section { margin: 0 0px 30px 0px; opacity:0; transform: translateY(20px); transition: 0.8s ease; }

/*section {
    padding-left: 40px;
    padding-right: 40px;
    margin-left: auto;
    margin-right: auto;
}
    */
section.visible { opacity:1; transform: translateY(0); }
h2 { color: var(--orange); text-align: center; margin-bottom: 50px; font-size: 2rem; }

.news-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 40px; margin: 0 30px 0 30px;}

.news-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: 0.3s;
}
.news-item:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 15px 35px rgba(0,0,0,0.12); }

/*.news-item img { width: 100%; height: 200px; object-fit: cover; } */
/* Make news item images responsive */
.news-item img {
  width: 100%;       /* Image takes full width of its container */
  height: 400px;      /* Maintain aspect ratio */
  display: block;    /* Remove extra space under images */
  object-fit: cover; /* Optional: crop to fit container without stretching */
  border-radius: 8px; /* Optional: rounded corners */
}

/* Optional: center images if needed */
.news-item .center {
  margin: 0 auto;
}

.news-content { padding: 25px; }
.news-content h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--black); }
.news-content p { margin-bottom: 20px; line-height:1.5; }
.read-more { display:inline-block; padding: 10px 25px; background: var(--orange); color:#fff; border-radius:8px; transition: .3s; }
.read-more:hover { background: var(--dark-orange); }

/* Footer */
footer {
  background: #000;
  color: #fff;
  padding: 80px 20px;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 40px; }

/* Responsive */
@media(max-width:768px){
  nav ul { display: none; }
  .hamburger { display: flex; }
  .news-item img { height: 180px; }
}