/* =========================================================
   HYM Investments - Main Stylesheet
   Clean | Responsive | Minimal Corporate Design
========================================================= */

/* =====================
   ROOT VARIABLES
===================== */
:root {
  --primary-gray: #545c62;
  --light-gray: #848586;
  --text-dark: #222;
  --text-muted: #6b6b6b;
  --white: #ffffff;
  --max-width: 1200px;
}

/* =====================
   RESET / BASE
===================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text-dark);
  background: #fff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(var(--max-width), 92%);
  margin: 0 auto;
}

/* =====================
   HEADER
===================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  padding: 18px 0;
  background: transparent;
  transition: 0.25s ease;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  opacity: 0;
  transform: translateY(-6px);
  transition: 0.25s ease;
}

.brand img {
  height: 56px;
  width: auto;
}

/* Scrolled Header */
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 10px 0;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.site-header.is-scrolled .brand {
  opacity: 1;
  transform: translateY(0);
}

/* Navigation */
.nav {
  display: flex;
  gap: 18px;
}

.nav a {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.6);
  color: var(--white);
  font-size: 14px;
  transition: 0.2s ease;
}

.nav a:hover {
  background: rgba(255,255,255,0.15);
}

/* Nav when scrolled */
.site-header.is-scrolled .nav a {
  color: var(--light-gray);
  border-color: rgba(132,133,134,0.55);
  background: transparent;
}

.site-header.is-scrolled .nav a:hover {
  background: rgba(132,133,134,0.10);
}

/* =====================
   HERO SECTION
===================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  overflow: hidden;
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.35),
    rgba(0,0,0,0.25),
    rgba(0,0,0,0.15)
  );
}

/* =====================
   CONTENT SECTION
===================== */
.section {
  padding: 80px 0;
  background: #fff;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.section h2 {
  font-size: 36px;
  margin-bottom: 12px;
  color: var(--light-gray);
}

.section p {
  color: #555;
  font-size: 16px;
}

/* =====================
   FOOTER
===================== */
.footer {
  background: var(--primary-gray);
  color: #fff;
  padding: 25px 0 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
}

.footer-left {
  display: flex;
  flex-direction: column;
}

/* Logo slightly lower */
.footer-logo {
  width: 180px;
  margin-top: 15px;
  margin-bottom: 15px;
}

/* Column Titles */
.footer-col h4 {
  font-size: 18px;
  margin-bottom: 14px;
}

/* Lists */
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
  color: #ddd;
  font-size: 15px;
}

/* Social */
.social {
  margin-top: 15px;
  display: flex;
  gap: 12px;
}

.social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: 0.3s;
}

.social a:hover {
  background: #fff;
  color: var(--primary-gray);
}

/* Bottom Footer */
.footer-bottom {
  margin-top: 25px;
  padding: 15px 0;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 980px) {

  .two-col {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-left {
    align-items: center;
  }

  .social {
    justify-content: center;
  }

  .bottom-flex {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 640px) {

  .nav {
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav a {
    font-size: 13px;
    padding: 7px 12px;
  }

  .section h2 {
    font-size: 28px;
  }
}

/* =====================
   WHATSAPP FLOAT BUTTON
===================== */
.whatsapp-float {
  position: fixed;
  left: 22px;
  bottom: 22px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 14px 28px rgba(0,0,0,.18);
  transition: 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(0,0,0,.22);
}

/* ================= ABOUT HERO ================= */

.about-hero{
  position:relative;
  height:70vh;
  background:url('../assets/img/about-hero.jpg') center/cover no-repeat;
  display:flex;
  align-items:center;
  justify-content:center;
}

.about-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.55);
}

.about-hero-overlay{
  position:relative;
  z-index:2;
  text-align:center;
  color:#fff;
}

.about-hero-overlay h1{
  font-size:60px;
  font-weight:700;
}


/* ================= ABOUT COMPANY ================= */

.about-company{
  padding:80px 0;
}

.about-content h2{
  font-size:34px;
  margin-bottom:20px;
  color:#545c62;
}

.about-content p{
  max-width:700px;
  line-height:1.8;
  color:#555;
  margin-bottom:30px;
}

.btn-primary{
  display:inline-block;
  padding:14px 28px;
  border-radius:40px;
  background:#545c62;
  color:#fff;
  font-weight:600;
  transition:.3s;
}

.btn-primary:hover{
  background:#333;
}


/* ================= CEO SECTION ================= */

.ceo-section{
  padding:80px 0;
  background:#f4f4f4;
}

.ceo-grid{
  display:grid;
  grid-template-columns:1fr 1.2fr;
  gap:60px;
  align-items:center;
}

.ceo-image img{
  width:100%;
  border-radius:12px;
}

.ceo-message h3{
  font-size:28px;
  margin-bottom:20px;
}

.ceo-message p{
  line-height:1.8;
  margin-bottom:30px;
  color:#555;
}

.ceo-info strong{
  display:block;
  font-size:18px;
}

.ceo-info span{
  color:#777;
  font-size:14px;
}


/* ================= IMAGE SPACING SECTION ================= */

.about-image-section{
  height:300px;
  background:url('../assets/img/about-bottom.jpg') center/cover no-repeat;
}


/* ================= RESPONSIVE ================= */

@media(max-width:900px){

  .about-hero-overlay h1{
    font-size:40px;
  }

  .ceo-grid{
    grid-template-columns:1fr;
  }

}
