/* ==========================================================================
   PakPure Water Filtration — Premium Enterprise Core Matrix Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --primary-dark: #0B192C;
    --accent-gold: #C5A880;
    --gold-hover: #B3966E;
    --luxury-cream: #FDFBF7;
    --pure-white: #FFFFFF;
    --text-charcoal: #1E293B;
    --text-muted: #64748B;
    --border-light: #E2E8F0;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--pure-white);
    color: var(--text-charcoal);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Global Layout System --- */
h1, h2, h3, h4, .brand-logo {
    font-family: var(--font-heading);
    color: var(--primary-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.section-padding {
    padding: 100px 10%;
}

.bg-cream {
    background-color: var(--luxury-cream);
}

/* --- Top Announcement Bar --- */
.top-bar {
    background-color: #060F1B;
    color: var(--pure-white);
    padding: 10px 10%;
    font-size: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(197, 168, 128, 0.1);
    letter-spacing: 0.5px;
}

.top-bar-left, .top-bar-right {
    display: flex;
    gap: 20px;
}

.top-bar span {
    color: rgba(255, 255, 255, 0.7);
}

.top-bar strong {
    color: var(--accent-gold);
}

/* --- Header & Navigation Engine --- */
header {
    background-color: var(--primary-dark);
    padding: 20px 10%;
    position: sticky;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(197, 168, 128, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--pure-white);
    letter-spacing: 1.5px;
}

.brand-logo span {
    color: var(--accent-gold);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 8px 0;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-cta-btn {
    background-color: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 10px 22px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0px;
}

.nav-cta-btn:hover {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
}

/* --- Hero Architecture --- */
.hero-slider {
    position: relative;
    height: 80vh;
    background-color: var(--primary-dark);
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 10%;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(11, 25, 44, 0.8), rgba(11, 25, 44, 0.9));
    z-index: 1;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: var(--pure-white);
}

.hero-tag {
    color: var(--accent-gold);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.hero-content h1 {
    color: var(--pure-white);
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 500;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 650px;
}

.btn-group {
    display: flex;
    gap: 20px;
}

.btn-gold {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    padding: 15px 35px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-gold:hover {
    background-color: var(--pure-white);
    color: var(--primary-dark);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--pure-white);
    padding: 15px 35px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.btn-secondary:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* --- Section Heading Systems --- */
.section-meta {
    text-align: center;
    margin-bottom: 60px;
}

.section-meta span {
    color: var(--accent-gold);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 3px;
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
}

.section-meta h2 {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.section-meta p {
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1rem;
}

/* --- Sizing Unified Cards Framework (8-Card Grid Safe) --- */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.luxury-card {
    background-color: var(--pure-white);
    border: 1px solid #F1F5F9;
    box-shadow: 0 10px 30px rgba(11, 25, 44, 0.02);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.luxury-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(11, 25, 44, 0.06);
    border-color: rgba(197, 168, 128, 0.3);
}

.card-img-wrapper {
    width: 100%;
    height: 240px; /* Rigid constraint layout to protect grid symmetry */
    overflow: hidden;
    position: relative;
    background-color: #E2E8F0;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Absolutely prevents distortion */
    transition: transform 0.6s ease;
}

.luxury-card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.card-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.5;
}

.card-action {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-gold);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.card-action:hover {
    color: var(--primary-dark);
}

/* --- Two-Column Clean Split Architecture --- */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.split-text h2 {
    font-size: 2.6rem;
    margin-bottom: 25px;
    font-weight: 400;
    line-height: 1.2;
}

.split-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.split-img-wrapper {
    height: 480px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border: 1px solid var(--border-light);
}

.split-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Inner Page Sub Headers --- */
.page-header {
    background: linear-gradient(rgba(11, 25, 44, 0.9), rgba(11, 25, 44, 0.95)), url('https://images.unsplash.com/photo-1542060748-10c28b629f6f?q=80&w=1600');
    background-size: cover;
    background-position: center;
    padding: 120px 10% 80px;
    text-align: center;
    color: var(--pure-white);
    border-bottom: 1px solid rgba(197, 168, 128, 0.2);
}

.page-header h1 {
    color: var(--pure-white);
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 400;
}

.page-header p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* --- Values System Layout --- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.value-card {
    background: var(--pure-white);
    padding: 45px;
    border-top: 3px solid var(--accent-gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    transition: var(--transition-smooth);
}

.value-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- Form Engine Core Layout --- */
.form-wrapper {
    background-color: var(--pure-white);
    padding: 50px;
    box-shadow: 0 30px 60px rgba(11, 25, 44, 0.05);
    border: 1px solid var(--border-light);
}

.form-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.form-wrapper p {
    color: var(--text-muted);
    margin-bottom: 35px;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-dark); /* Crisp visibility correction */
    font-weight: 700;
    margin-bottom: 10px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #CBD5E1;
    background-color: #F8FAFC;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-charcoal);
    transition: var(--transition-smooth);
    border-radius: 0px;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-gold);
    background-color: var(--pure-white);
    box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.1);
}

textarea.form-control {
    resize: vertical;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23C5A880'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 16px;
    padding-right: 45px;
}

/* --- Quick Info Blocks --- */
.info-block {
    margin-bottom: 30px;
}

.info-block h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-gold);
    margin-bottom: 8px;
    font-weight: 700;
}

.info-block p {
    font-size: 1.1rem;
    color: var(--text-charcoal);
}

/* --- Inline Static CTA Modules --- */
.cta-banner {
    background-color: var(--primary-dark);
    color: var(--pure-white);
    text-align: center;
    padding: 90px 10%;
    border-top: 1px solid rgba(197, 168, 128, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-banner h2 {
    color: var(--pure-white);
    font-size: 2.4rem;
    margin-bottom: 20px;
    font-weight: 400;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.05rem;
}

/* --- Process Setup Timelines --- */
.process-step-list {
    list-style: none;
}

.process-step-item {
    display: flex;
    gap: 25px;
    margin-bottom: 35px;
}

.step-num {
    width: 50px;
    height: 50px;
    border: 1px solid var(--accent-gold);
    background-color: var(--luxury-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-text h4 {
    font-size: 1.15rem;
    margin-bottom: 6px;
    font-weight: 600;
}

.step-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- Enterprise Footer Framework --- */
footer {
    background-color: #060F1B;
    padding: 90px 10% 40px;
    border-top: 1px solid rgba(197, 168, 128, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--pure-white);
    margin-bottom: 30px;
    font-weight: 600;
}

.footer-col h4 span {
    color: var(--accent-gold);
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 6px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- Fixed Floating Contact Sticky --- */
.whatsapp-sticky {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background-color: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.3);
    transition: transform 0.3s ease;
}

.whatsapp-sticky:hover {
    transform: scale(1.1);
}

.whatsapp-sticky svg {
    width: 30px;
    height: 30px;
    fill: white;
}

/* --- Responsive Layout Engines --- */
@media (max-width: 1024px) {
    .split-layout { grid-template-columns: 1fr; gap: 50px; }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
    .split-img-wrapper { height: 400px; }
    .section-padding { padding: 80px 5%; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .nav-menu { display: none; } /* Add toggle dynamic mechanism later */
    .hero-content h1 { font-size: 2.4rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 35px; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
}