@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #3D518C;
  --secondary: #7692FF;
  --accent: #ABD2FA;
  --dark: #091540;
  --white: #ffffff;
  --text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

body {
  font-family: 'Josefin Sans', sans-serif;
  overflow-x: hidden;
}

/* ===== SECTION / HERO ===== */
section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.video-slider {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* ===== HEADER / NAV ===== */
header {
  position: relative;
  width: 100%;
  padding: 20px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(9,21,64,0.75), transparent);
  z-index: 10;
}

.logo {
  height: 70px;
  width: auto;
  z-index: 5;
}

.navigation a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 8px 20px;
  border-radius: 25px;
  transition: background 0.3s, color 0.3s;
  margin-left: 10px;
}

.navigation a:hover {
  background: var(--secondary);
  color: var(--white);
}

.navigation a.active {
  background: var(--primary);
  color: var(--white);
}

/* ===== HERO CONTENT ===== */
.content {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 80px;
  margin-top: 20px;
}

.content .info h2 {
  color: var(--white);
  font-size: 64px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.1;
  margin-bottom: 10px;
  text-shadow: var(--text-shadow);
}

.content .info span {
  color: var(--accent);
  font-size: 64px;
  font-weight: 800;
  text-shadow: var(--text-shadow);
}

.content .info .tagline {
  color: var(--accent);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
  text-shadow: var(--text-shadow);
}

.content .info .hero-desc {
  color: var(--white);
  font-size: 17px;
  font-weight: 500;
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

.info-btn {
  color: var(--white);
  background: var(--primary);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 14px 28px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  display: inline-block;
}

.info-btn:hover {
  background: var(--secondary);
  transform: translateY(-2px);
}

/* ===== AUDIO CONTROL ===== */
.control {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 20;
}

.control button {
  padding: 8px 18px;
  font-size: 14px;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 600;
  cursor: pointer;
  border-radius: 20px;
  border: none;
  background: rgba(61,81,140,0.85);
  color: var(--white);
  backdrop-filter: blur(6px);
  transition: background 0.3s;
  letter-spacing: 1px;
}

.control button:hover {
  background: var(--secondary);
}

/* ===== ABOUT BOXES (used in indextest for preview) ===== */
.container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  background: #fff;
  padding: 40px 20px;
}

.container .box1,
.container .box2,
.container .box3 {
  height: 360px;
  width: 360px;
  margin: 30px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 6px 6px 20px rgba(0,0,0,0.3);
  border-radius: 8px;
  transition: transform 0.3s;
}

.container .box1 { background-image: url('image/about1.jpg'); }
.container .box2 { background-image: url('image/about2.jpg'); }
.container .box3 { background-image: url('image/about3.jpg'); }

.container .box1:hover,
.container .box2:hover,
.container .box3:hover {
  transform: scale(1.05);
}

/* ===== MOBILE MENU ===== */
#check { display: none; }
label { display: none; }

/* ===== FOOTER ===== */
.footer-distributed {
  background: #2d2a30;
  padding: 40px 60px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

.footer-distributed .footer-left,
.footer-distributed .footer-center,
.footer-distributed .footer-right {
  flex: 1 1 200px;
}

.footer-distributed h3 {
  color: var(--white);
  font-size: 28px;
  margin-bottom: 16px;
}

.footer-distributed h3 span { color: var(--secondary); }

.footer-links a {
  color: #ccc;
  text-decoration: none;
  display: inline-block;
  margin-right: 14px;
  margin-bottom: 8px;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--secondary); }

.footer-copy {
  color: #8f9296;
  font-size: 13px;
  margin-top: 12px;
}

.footer-center div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-center i {
  background: #33383b;
  color: var(--white);
  font-size: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-center p {
  color: var(--white);
  font-size: 14px;
  line-height: 1.6;
}

.footer-center p span {
  display: block;
  font-size: 12px;
  color: #aaa;
}

.footer-company-about {
  color: #92999f;
  font-size: 13px;
  line-height: 1.7;
}

.footer-company-about span {
  display: block;
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-social {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.footer-social a {
  background: #33383b;
  color: var(--white);
  width: 34px;
  height: 34px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  transition: background 0.3s;
  text-decoration: none;
}

.footer-social a:hover { background: var(--secondary); }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  header {
    padding: 16px 24px;
  }
  .navigation { display: none; }
  label {
    display: block;
    font-size: 24px;
    color: var(--white);
    cursor: pointer;
    z-index: 20;
    position: relative;
  }
  label .close-btn { display: none; }
  #check:checked ~ header .navigation {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0; bottom: 0; left: 0; right: 0;
    background: rgba(9,21,64,0.95);
    z-index: 15;
    gap: 20px;
  }
  #check:checked ~ header .navigation a {
    font-size: 22px;
    margin: 0;
    letter-spacing: 2px;
  }
  #check:checked ~ header label .menu-btn { display: none; }
  #check:checked ~ header label .close-btn {
    display: block;
    position: fixed;
    z-index: 20;
    top: 20px; right: 24px;
  }
  .content { padding: 0 24px; }
  .content .info h2,
  .content .info span { font-size: 44px; }
  .social-icons { bottom: 80px; gap: 28px; }
}

@media (max-width: 600px) {
  .content .info h2,
  .content .info span { font-size: 32px; }
  .content .info .hero-desc { font-size: 14px; }
  .footer-distributed { padding: 30px 20px; flex-direction: column; }
}
