@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
	--pub-green: #2e8b2e;
	--pub-green-dark: #1f6b1f;
	--pub-green-light: #eaf6ea;
	--pub-ink: #1d2a1d;
	--pub-ink-soft: #55615a;
	--pub-gold: #d4a017;
}

body.public-body {
	font-family: 'Poppins', sans-serif;
	color: var(--pub-ink);
	background: #fff;
	line-height: 1.5;
}

.public-body a { text-decoration: none; }
.public-body img { max-width: 100%; }

/* Top bar */
.pub-topbar {
	background: var(--pub-green-dark);
	color: #fff;
	font-size: 13px;
	padding: 6px 0;
}
.pub-topbar a { color: #fff; opacity: .9; }
.pub-topbar a:hover { opacity: 1; }
.pub-topbar .pub-social a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.15);
	margin-right: 6px; font-size: 12px;
}
.pub-topbar .pub-hotline { font-weight: 600; letter-spacing: .3px; }

/* Header */
.pub-header {
	background: #fff;
	box-shadow: 0 2px 10px rgba(0,0,0,.06);
	position: sticky; top: 0; z-index: 1000;
	padding: 10px 0;
}
.pub-header .navbar-brand img { height: 60px; }
@media (max-width: 575px) { .pub-header .navbar-brand img { height: 50px; } }
.pub-nav .nav-link {
	color: var(--pub-ink) !important;
	font-weight: 500;
	padding: 10px 14px !important;
	font-size: 15px;
}
.pub-nav .nav-link:hover,
.pub-nav .nav-link.active { color: var(--pub-green) !important; }
.pub-nav .dropdown-menu {
	border: none; border-radius: 8px; box-shadow: 0 10px 28px rgba(0,0,0,.12);
	padding: 8px 0; margin-top: 4px;
}
.pub-nav .dropdown-item { padding: 8px 20px; font-size: 14px; color: var(--pub-ink); }
.pub-nav .dropdown-item:hover,
.pub-nav .dropdown-item:focus { background: var(--pub-green-light); color: var(--pub-green-dark); }
@media (min-width: 992px) {
	.pub-nav .dropdown:hover > .dropdown-menu { display: block; }
	.pub-nav .dropdown-toggle::after { vertical-align: 2px; }
}
.pub-nav .btn-pub-register {
	background: var(--pub-green);
	color: #fff !important;
	border-radius: 6px;
	padding: 8px 18px !important;
	margin-left: 6px;
}
.pub-nav .btn-pub-register:hover { background: var(--pub-green-dark); }
.pub-nav .btn-pub-login {
	border: 1.5px solid var(--pub-green);
	color: var(--pub-green) !important;
	border-radius: 6px;
	padding: 8px 18px !important;
}

/* Hero */
.pub-hero {
	position: relative;
	background: linear-gradient(135deg, var(--pub-green-dark), var(--pub-green));
	color: #fff;
	overflow: hidden;
}
.pub-hero .pub-hero-slide {
	position: relative;
	min-height: 420px;
	align-items: center;
	background-size: cover; background-position: center;
}
.pub-hero .carousel-item.active.pub-hero-slide {
	display: flex;
}
.pub-hero .pub-hero-slide::before {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(10,40,10,.72), rgba(10,40,10,.25));
}
.pub-hero .pub-hero-content { position: relative; z-index: 2; padding: 40px 0; }
.pub-hero h1 { font-weight: 800; font-size: 2.4rem; text-shadow: 0 2px 10px rgba(0,0,0,.3); }
.pub-hero p { font-size: 1.1rem; opacity: .95; max-width: 520px; }
.pub-hero .pub-hero-cta { margin-top: 18px; }
.pub-hero .btn-hero {
	background: var(--pub-gold); color: #231c02; font-weight: 700;
	padding: 12px 26px; border-radius: 6px; display: inline-block;
}

/* Feature badges */
.pub-badges { margin-top: -30px; position: relative; z-index: 5; }
.pub-badge-card {
	background: #fff; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.08);
	padding: 20px; display: flex; align-items: center; gap: 14px; height: 100%;
}
.pub-badge-card .icon {
	width: 52px; height: 52px; min-width: 52px; border-radius: 50%;
	background: var(--pub-green-light); color: var(--pub-green);
	display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.pub-badge-card h5 { margin: 0; font-size: 15px; font-weight: 700; }
.pub-badge-card p { margin: 0; font-size: 13px; color: var(--pub-ink-soft); }

/* Section headers */
.pub-section { padding: 60px 0; }
.pub-section-header { text-align: center; margin-bottom: 40px; }
.pub-section-header h2 {
	font-weight: 800; font-size: 2rem; position: relative; display: inline-block; padding-bottom: 14px;
}
.pub-section-header h2::after {
	content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
	width: 60px; height: 3px; background: var(--pub-gold); border-radius: 3px;
}
.pub-section-header p { color: var(--pub-ink-soft); max-width: 600px; margin: 8px auto 0; }
.pub-section-alt { background: var(--pub-green-light); }

/* About */
.pub-about-img { border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.12); }

/* Products */
.pub-product-card {
	border: 1px solid #eee; border-radius: 10px; overflow: hidden; background: #fff;
	transition: box-shadow .2s, transform .2s; height: 100%; display: flex; flex-direction: column;
}
.pub-product-card:hover { box-shadow: 0 12px 28px rgba(0,0,0,.1); transform: translateY(-3px); }
.pub-product-card .pub-product-thumb { background: #fafafa; padding: 14px; text-align: center; height: 190px; display: flex; align-items: center; justify-content: center; }
.pub-product-card .pub-product-thumb img { max-height: 160px; }
.pub-product-card .pub-product-body { padding: 12px 14px; flex: 1; display: flex; flex-direction: column; }
.pub-product-card h6 { font-size: 13.5px; font-weight: 600; min-height: 36px; color: var(--pub-ink); }
.pub-product-card .price { color: var(--pub-green-dark); font-weight: 700; margin-top: auto; }

/* Achievers */
.pub-achiever-card { text-align: center; }
.pub-achiever-card img { border-radius: 10px; box-shadow: 0 8px 22px rgba(0,0,0,.1); }
.pub-achiever-card h6 { margin-top: 10px; font-weight: 600; font-size: 14px; }

/* News */
.pub-news-card { background: #fff; border-radius: 10px; padding: 26px; box-shadow: 0 6px 20px rgba(0,0,0,.06); border: 1px solid #e3e9e3; }
.pub-page-body label { display: block; margin-bottom: 6px; font-weight: 500; }
.pub-page-body .form-group { margin-bottom: 16px; }

/* Footer */
.pub-footer { background: #182318; color: #cfd8cf; padding-top: 50px; }
.pub-footer h6 { color: #fff; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; font-size: 14px; letter-spacing: .5px; }
.pub-footer a { color: #b7c2b7; }
.pub-footer a:hover { color: #fff; }
.pub-footer ul { list-style: none; padding: 0; margin: 0; }
.pub-footer ul li { margin-bottom: 8px; }
.pub-footer .pub-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 30px; padding: 16px 0; font-size: 13px; text-align: center; color: #9aa69a; }
.pub-footer-credit-link { color: #4ea1ff; text-decoration: underline; }
.pub-footer-credit-link:hover { color: #fff; }
.pub-footer .pub-social a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.08);
	margin-right: 8px;
}

/* Gallery tabs */
.pub-gallery-tabs { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pub-gallery-tabs .nav-link {
	border: 1px solid #ddd; border-radius: 4px; padding: 8px 16px; color: var(--pub-ink);
	font-size: 13px; font-weight: 600; letter-spacing: .3px;
}
.pub-gallery-tabs .nav-link.active { background: var(--pub-green); color: #fff; border-color: var(--pub-green); }

/* Simple inner pages */
.pub-page-header {
	background: linear-gradient(135deg, var(--pub-green-dark), var(--pub-green));
	color: #fff; padding: 50px 0; text-align: center;
}
.pub-page-header h1 { font-weight: 800; margin: 0; }
/* Only top / bottom: the .container keeps its side padding, so the form .row does not stick out on phones. */
.pub-page-body { padding-top: 50px; padding-bottom: 50px; }
.pub-rich-text { white-space: pre-line; line-height: 1.8; }

@media (max-width: 767px) {
	.pub-hero h1 { font-size: 1.7rem; }
	.pub-badges { margin-top: 20px; }
}
