/*
Theme Name: Union
Theme URI: https://zatuc.org/
Author: Your Name
Author URI: https://zatuc.org/
Description: Custom Union WordPress Theme
Version: 1.0
License: GPL2
Text Domain: union
*/

/* ===== HERO SLIDER ===== */
body{
    margin:0;
    font-family:'Poppins', sans-serif;
}

/* TOP BAR */
.topbar{
    background:#64C2E8;
    color:#fff;
    padding:8px 20px;
    font-size:14px;
    display:flex;
    justify-content:space-between;
}

/* NAVBAR */
.navbar{
    background:#111;
    padding:15px 30px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}
.navbar a{
    color:#fff;
    text-decoration:none;
    margin:0 12px;
    font-weight:500;
}
.navbar a:hover{color:#64C2E8;}

/* HERO */
/* HERO SLIDER */
.hero-slider {
    position: relative;
    height: 350px; /* reduced from 550px */
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 350px; /* match slider height */
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    padding-left: 60px;
    color: #fff;
}

.slide.active {
    opacity: 1;
}

.hero-content h1 {
    font-size: 40px; /* optional: scale down font if needed */
    margin: 0;
}

.hero-content button {
    margin-top: 15px;
    padding: 10px 20px; /* slightly smaller for the smaller slider */
    background: #e41e2b;
    border: none;
    color: #fff;
    font-size: 14px;
}

/* Darker overlay for slider images */
.slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* 50% opacity makes it darker */
    z-index: 1;
}

/* Ensure hero content stays above overlay */
.slide .hero-content {
    position: relative;
    z-index: 2;
}
/* FEATURES */
.features{
    display:grid;
    grid-template-columns:repeat(3,1fr);
}
.feature{
    background:#69C9F0;
    color:#fff;
    padding:30px;
}
.feature:nth-child(2){background:#1487B5;}
.feature:nth-child(3){background:#64C2E8;}

/* CARDS */
.cards{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    padding:40px;
}
.card img{
    width:100%;
}
.card h3{margin:10px 0;}

/* ADMISSION */
.admission{
    display:grid;
    grid-template-columns:1fr 1fr;
}
.admission img{
    width:100%;
}
.admission .content{
    background:#1b2146;
    color:#fff;
    padding:60px;
}

/* QUICK LINKS + NEWSLETTER */
.bottom{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
}
.quick{
    background:#69C9F0;
    color:#fff;
    padding:40px;
}
.newsletter, .donation{
    padding:40px;
}

/* FOOTER */
.footer{
    background:#0a0a0a;
    color:#fff;
    padding:40px;
    text-align:center;
}

/* MOBILE */
@media(max-width:900px){
.hero h1{font-size:40px;}
.features, .cards, .bottom, .admission{
grid-template-columns:1fr;
}
}
/* Affiliate Section */
.affiliate-section {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.affiliate-section h2 {
  color: #e41e2b;
  font-weight: bold;
  margin-bottom: 40px;
}

/* 👇 4 per row on large screens */
.affiliates {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: auto;
}

/* Tablet */
@media (max-width: 992px) {
  .affiliates {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 576px) {
  .affiliates {
    grid-template-columns: 1fr;
  }
}

.aff {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.aff:hover {
  transform: translateY(-6px);
}

.aff img {
  max-width: 100%;
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
}

.aff p {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}
/* HERO SLIDER */
.hero-slider{
  position:relative;
  height:550px;
  overflow:hidden;
}

.slide{
  position:absolute;
  width:100%;
  height:100%;
  opacity:0;
  transition:opacity 1s ease-in-out;
  display:flex;
  align-items:center;
  padding-left:60px;
  color:#fff;
}

.slide.active{
  opacity:1;
}

.hero-content h1{
  font-size:60px;
  margin:0;
}

.hero-content button{
  margin-top:20px;
  padding:12px 25px;
  background:#e41e2b;
  border:none;
  color:#fff;
  font-size:16px;
}

@media(max-width:900px){
  .hero-content h1{
    font-size:40px;
  }
}

/* HERO SLIDER */
.hero-slider{
  position:relative;
  height:550px;
  overflow:hidden;
}

.slide{
  position:absolute;
  width:100%;
  height:100%;
  opacity:0;
  transition:opacity 1s ease-in-out;
  display:flex;
  align-items:center;
  padding-left:60px;
  color:#fff;
}

.slide.active{
  opacity:1;
}

.hero-content h1{
  font-size:60px;
  margin:0;
}

.hero-content button{
  margin-top:20px;
  padding:12px 25px;
  background:#e41e2b;
  border:none;
  color:#fff;
  font-size:16px;
}

/* dots */
.slider-dots{
  position:absolute;
  bottom:20px;
  left:50%;
  transform:translateX(-50%);
}

.slider-dots span{
  height:12px;
  width:12px;
  background:#fff;
  border-radius:50%;
  display:inline-block;
  margin:5px;
  cursor:pointer;
  opacity:0.5;
}

.slider-dots span.active{
  opacity:1;
  background:#e41e2b;
}

.zatuc-section {
  font-family: 'Poppins', sans-serif;
}

.zatuc-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  min-height: 480px;
}

/* LEFT SIDE */
.quick-links {
  background: linear-gradient(rgba(100,194,232,0.85), rgba(100,194,232,0.85)),
              url('your-background.jpg') center/cover;
  color: white;
  padding: 50px;
}

.quick-links h3 {
  font-size: 28px;
  margin-bottom: 25px;
}

.quick-links ul {
  list-style: none;
  padding: 0;
}

.quick-links li {
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding: 14px 0;
}

.quick-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
}


/* NEWSLETTER */
.newsletter {
  background: #f5f5f5;
  text-align: center;
  padding: 60px 40px;
}

.newsletter .icon {
  font-size: 45px;
  color: #64C2E8;
  margin-bottom: 15px;
}

.newsletter h3 {
  font-size: 26px;
  margin-bottom: 10px;
}

.newsletter .small-text {
  color: #666;
  font-size: 14px;
  margin: 15px 0 25px;
}

.newsletter input {
  width: 100%;
  padding: 14px;
  border: none;
  margin-bottom: 15px;
  background: #ddd;
}

.newsletter button {
  width: 100%;
  padding: 14px;
  background: #64C2E8;
  color: white;
  border: none;
  font-weight: 600;
  cursor: pointer;
}


/* DONATION */
.donation {
  background: #fff;
  padding: 40px;
}

.donation img {
  width: 100%;
  margin-bottom: 20px;
}

.donation h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.donate-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 14px 25px;
  background: #64C2E8;
  color: white;
  text-decoration: none;
  font-weight: 600;
}

/* Remove default list styling */
.nav-menu,
.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Make menu horizontal */
.nav-menu {
    display: flex;
    gap: 30px;
}

/* Remove bullet spacing */
.nav-menu li {
    list-style: none;
}

/* Menu links */
.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.nav-menu a:hover {
    color: #64C2E8;
}


