/* ============================================
   RASEEN - ENERGY | CHEMISTRY | VALUE
   Official Brand Stylesheet
   Palette per brand guidelines:
   #F2E9E0 #E6D4C1 #D9C79F #E77C4B #8C5E3C
   #0D2B22 #1E4D3B #134155 #2E2E33 #A6ACB3
   ============================================ */

:root {
    /* Official brand palette */
    --ivory:      #F2E9E0;   /* main background */
    --beige:      #E6D4C1;   /* alt background */
    --sand:       #D9C79F;   /* soft accents */
    --terracotta: #E77C4B;   /* highlight accent */
    --copper:     #8C5E3C;   /* primary accent / buttons */
    --green-deep: #0D2B22;   /* dark bands / footer */
    --green:      #1E4D3B;   /* emerald */
    --navy:       #134155;   /* petrol navy */
    --charcoal:   #2E2E33;   /* body text */
    --gray:       #A6ACB3;   /* muted */

    --primary: var(--green-deep);
    --secondary: var(--copper);
    --accent: var(--terracotta);
    --background: var(--ivory);
    --bg-alt: #EDE3D6;
    --white: #FFFFFF;

    --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.75;
    color: var(--charcoal);
    background-color: var(--background);
    letter-spacing: 0.01em;
    font-size: 1rem;
}

img { max-width: 100%; }

a { text-decoration: none; color: var(--copper); }
a:hover { color: var(--green-deep); }

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }

/* Typography */
h1, h2, h3, h4, .hero-title {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    color: var(--green-deep);
    letter-spacing: 0.01em;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.35rem; margin-bottom: 1rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }
h4 { font-size: 1.05rem; }

p {
    color: var(--charcoal);
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Small copper section label (e.g. "ABOUT RASEEN") */
.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--copper);
    margin-bottom: 0.75rem;
}

/* Brand diamond divider: — ◆ — */
.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 1.25rem 0;
}
.divider::before,
.divider::after {
    content: "";
    height: 1px;
    width: 64px;
    background: var(--copper);
}
.divider span {
    width: 10px;
    height: 10px;
    background: var(--copper);
    transform: rotate(45deg);
    flex: 0 0 auto;
}
.divider.center { justify-content: center; }

/* ============================================
   Navigation
   ============================================ */
.navbar {
    background-color: var(--ivory);
    box-shadow: 0 2px 12px rgba(13, 43, 34, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 16px rgba(13, 43, 34, 0.16);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-brand .logo {
    height: 68px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.9rem;
    align-items: center;
    margin: 0;
}

.nav-menu a {
    color: var(--charcoal);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--copper);
    border-bottom-color: var(--copper);
}

.nav-menu .cta-btn {
    background-color: var(--copper);
    color: var(--ivory);
    padding: 10px 24px;
    border-radius: 4px;
    border-bottom: none;
    letter-spacing: 0.14em;
}

.nav-menu .cta-btn:hover,
.nav-menu .cta-btn.active {
    background-color: var(--green-deep);
    color: var(--ivory);
    border-bottom: none;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 6px;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: var(--green-deep);
    margin: 3px 0;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ============================================
   Hero
   ============================================ */
.hero {
    display: flex;
    align-items: stretch;
    background-color: var(--ivory);
    position: relative;
    overflow: hidden;
}

.hero-inner {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: none;
    padding: 0;
    min-height: 82vh;
}

.hero-content {
    flex: 0 0 46%;
    padding: 80px 40px 80px max(40px, calc((100% - 1200px) / 2 + 20px));
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--ivory);
    z-index: 2;
}

.hero-title {
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: 0.02em;
    color: var(--copper);
    margin-bottom: 0;
    text-transform: uppercase;
}

.hero-title .dark {
    color: var(--green-deep);
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--charcoal);
    max-width: 480px;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image-wrap {
    flex: 1;
    position: relative;
    min-height: 82vh;
    overflow: hidden;
}

.hero-image-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    width: 110px;
    background: linear-gradient(90deg, var(--ivory) 0%, rgba(242, 233, 224, 0.82) 28%, rgba(242, 233, 224, 0) 100%);
    pointer-events: none;
}

.hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============================================
   Feature Strip (dark green band)
   ============================================ */
.feature-strip {
    background-color: #213740;
    display: flex;
    justify-content: space-around;
    padding: 2.4rem 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.feature-strip-item {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    margin: 0.5rem 1rem;
    max-width: 300px;
}

.feature-strip-item .icon {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    color: var(--sand);
}

.feature-strip-item .icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-strip-item h4 {
    color: var(--sand);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.feature-strip-item p {
    color: var(--ivory);
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 14px 34px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: var(--font-body);
}

.btn-primary {
    background-color: var(--copper);
    color: var(--ivory);
}

.btn-primary:hover {
    background-color: var(--green-deep);
    color: var(--ivory);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--ivory);
    border: 2px solid var(--ivory);
}

.btn-secondary:hover {
    background-color: var(--ivory);
    color: var(--green-deep);
}

.btn-outline {
    background-color: transparent;
    color: var(--green-deep);
    border: 2px solid var(--green-deep);
}

.btn-outline:hover {
    background-color: var(--green-deep);
    color: var(--ivory);
    transform: translateY(-2px);
}

/* ============================================
   Sections
   ============================================ */
.section {
    padding: 90px 20px;
}

.section.bg-light {
    background-color: var(--bg-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-intro {
    font-size: 1.12rem;
    max-width: 680px;
    margin: 0 auto;
    color: var(--charcoal);
}

/* Page header (inner pages) */
.page-header {
    background: linear-gradient(120deg, var(--green-deep) 0%, var(--green) 60%, var(--navy) 100%);
    color: var(--ivory);
    padding: 90px 20px 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 60px;
    background: var(--background);
    border-radius: 100% 100% 0 0 / 100% 100% 0 0;
}

.page-header .container { position: relative; z-index: 1; }

.page-header h1 {
    color: var(--ivory);
    margin-bottom: 0.75rem;
}

.page-header p {
    color: var(--sand);
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   Grid
   ============================================ */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ============================================
   Cards
   ============================================ */
.feature-card,
.value-card,
.sustainability-card {
    background: var(--white);
    padding: 2.4rem 1.8rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 6px 24px rgba(13, 43, 34, 0.07);
    border-top: 4px solid var(--copper);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover,
.value-card:hover,
.sustainability-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(13, 43, 34, 0.12);
}

.feature-icon,
.value-icon,
.sust-icon,
.vm-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.2rem;
    color: var(--copper);
}

.feature-icon svg,
.value-icon svg,
.sust-icon svg,
.vm-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Vision & Mission cards */
.vision-mission-card {
    background: var(--white);
    padding: 2.6rem 2.2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 6px 24px rgba(13, 43, 34, 0.07);
    border-top: 4px solid var(--green);
}

/* Content box */
.content-box {
    max-width: 860px;
    margin: 0 auto;
}

.content-box h2 { margin-top: 1.6rem; }
.content-box h2:first-child { margin-top: 0; }

.large-text {
    font-size: 1.18rem;
    line-height: 1.8;
    color: var(--green-deep);
    font-weight: 500;
}

/* Value / feature lists */
.value-list,
.feature-list-items,
.standard-list {
    list-style: none;
    margin: 1rem 0 1.5rem;
}

.value-list li,
.feature-list-items li,
.standard-list li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.7rem;
    color: var(--charcoal);
}

.value-list li::before,
.feature-list-items li::before,
.standard-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 9px;
    height: 9px;
    background: var(--copper);
    transform: rotate(45deg);
}

/* Feature list (Why choose us) */
.feature-list {
    background: var(--white);
    padding: 1.8rem;
    border-radius: 10px;
    border-left: 4px solid var(--copper);
    box-shadow: 0 6px 20px rgba(13, 43, 34, 0.06);
}

.feature-list h3 { font-size: 1.15rem; }

/* ============================================
   Services
   ============================================ */
.service-item {
    background: var(--white);
    border-radius: 10px;
    padding: 2.6rem 2.4rem;
    margin-bottom: 2.2rem;
    box-shadow: 0 6px 24px rgba(13, 43, 34, 0.07);
    border-left: 5px solid var(--copper);
}

.service-item h3 {
    color: var(--green-deep);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.service-item h3 .icon {
    width: 38px;
    height: 38px;
    color: var(--copper);
    flex: 0 0 auto;
}

.service-item h3 .icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.5rem 2rem;
    margin-top: 1.2rem;
}

.service-list li {
    position: relative;
    padding-left: 1.6rem;
    color: var(--charcoal);
    font-size: 0.97rem;
}

.service-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 8px;
    height: 8px;
    background: var(--terracotta);
    transform: rotate(45deg);
}

/* Service highlight cards (with images) */
.service-highlight {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(13, 43, 34, 0.08);
    border-bottom: 4px solid var(--copper);
    transition: transform 0.3s ease;
}

.service-highlight:hover { transform: translateY(-5px); }

.service-highlight .p-4 { padding: 1.6rem 1.8rem 2rem; }

.service-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* Industry cards */
.industry-card {
    background: var(--white);
    border-radius: 10px;
    padding: 1.6rem 1.4rem;
    box-shadow: 0 6px 20px rgba(13, 43, 34, 0.06);
    border-top: 4px solid var(--navy);
    transition: transform 0.3s ease;
}

.industry-card:hover { transform: translateY(-4px); }

.industry-card h4 {
    color: var(--green-deep);
    margin-bottom: 0.5rem;
    font-size: 1.08rem;
}

.industry-card p {
    margin: 0;
    font-size: 0.93rem;
}

/* ============================================
   Sustainability
   ============================================ */
.sustainability-content p { max-width: 640px; }

.sustainability-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(13, 43, 34, 0.14);
}

.initiative-card {
    background: var(--white);
    padding: 1.8rem;
    border-radius: 10px;
    border-left: 4px solid var(--green);
    box-shadow: 0 6px 20px rgba(13, 43, 34, 0.06);
}

.initiative-card h3 { font-size: 1.12rem; }

.standard-box {
    background: var(--white);
    padding: 2.2rem;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(13, 43, 34, 0.06);
    border-top: 4px solid var(--green-deep);
}

.standard-box h4 {
    color: var(--copper);
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
}

/* ============================================
   About / split section
   ============================================ */
.split {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3.5rem;
    align-items: center;
}

.split img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 12px 34px rgba(13, 43, 34, 0.14);
}

.split h2 { font-size: 2.1rem; }

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--copper) 0%, var(--green-deep) 100%);
    color: var(--ivory);
    text-align: center;
    padding: 90px 20px;
}

.cta-section h2 {
    color: var(--ivory);
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--beige);
    max-width: 620px;
    margin: 0 auto 2rem;
}

.cta-section .hero-buttons { justify-content: center; }

/* ============================================
   Contact
   ============================================ */
.contact-info-card {
    background: var(--white);
    padding: 2.4rem 1.8rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 6px 24px rgba(13, 43, 34, 0.07);
    border-top: 4px solid var(--copper);
}

.contact-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    color: var(--copper);
}

.contact-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-info-card p { margin: 0; }

.form-container {
    background: var(--white);
    padding: 2.6rem 2.4rem;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(13, 43, 34, 0.09);
    border-top: 4px solid var(--green-deep);
}

.form-container h2 {
    font-size: 1.7rem;
    margin-bottom: 1.4rem;
}

.contact-form .form-group { margin-bottom: 1.2rem; }

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--green-deep);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--gray);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.97rem;
    color: var(--charcoal);
    background: var(--ivory);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--copper);
    box-shadow: 0 0 0 3px rgba(140, 94, 60, 0.15);
}

.form-group textarea { resize: vertical; }

.form-note,
.form-status {
    margin-top: 1rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-status.success { color: var(--green); }
.form-status.error { color: #B23A2A; }

/* ============================================
   Footer
   ============================================ */
.footer {
    background-color: var(--green-deep);
    color: var(--beige);
    padding: 70px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer .footer-logo {
    height: 92px;
    width: auto;
    margin-bottom: 1rem;
    display: block;
}

.footer-col h4 {
    color: var(--sand);
    margin-bottom: 1.1rem;
    font-size: 0.95rem;
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.footer-col p {
    color: var(--beige);
    font-size: 0.95rem;
}

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

.footer-links li {
    margin-bottom: 0.6rem;
    color: var(--beige);
    font-size: 0.95rem;
}

.footer-links a {
    color: var(--beige);
    transition: color 0.3s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(242, 233, 224, 0.18);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.88rem;
    color: var(--gray);
}

.footer-bottom p { color: var(--gray); margin: 0; }

.footer-tagline {
    color: var(--sand);
    letter-spacing: 0.2em;
    font-size: 0.78rem;
    text-transform: uppercase;
    margin-top: 0.4rem;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 992px) {
    .hero-inner { flex-direction: column; }
    .hero-content {
        flex: none;
        padding: 60px 24px 40px;
    }
    .hero-image-wrap {
        min-height: 46vh;
    }
    .hero-image-wrap::before { display: none; }
    .hero-title { font-size: 2.7rem; }
    .split { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.3rem; }
    h2 { font-size: 1.85rem; }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--ivory);
        flex-direction: column;
        align-items: flex-start;
        gap: 1.1rem;
        padding: 1.5rem 24px 2rem;
        box-shadow: 0 14px 24px rgba(13, 43, 34, 0.12);
    }

    .nav-menu.active { display: flex; }

    .hamburger { display: flex; }

    .hero-title { font-size: 2.3rem; }

    .section { padding: 64px 20px; }

    .feature-strip { padding: 2rem 1.4rem; }

    .service-item { padding: 1.9rem 1.5rem; }

    .form-container { padding: 2rem 1.5rem; }
}
