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

:root {
    --bg-primary: #f5f7fa;
    --bg-secondary: #eaeef4;
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    --accent: #1f5fa8;
    --accent-rgb: 31, 95, 168;
    --accent-hover: #18497f;
    --accent-glow: rgba(31, 95, 168, 0.12);
    --action: #ed6a1f;
    --action-hover: #d4571a;
    --text-primary: #16202e;
    --text-muted: #5a6675;
    --text-dark: #ffffff;
    --border-color: rgba(22, 32, 46, 0.12);
    --border-hover: rgba(31, 95, 168, 0.45);
    --hairline: rgba(22, 32, 46, 0.08);
    --surface-sunken: #f0f3f7;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1280px;
    --header-height: 80px;
}

/* Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

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

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

/* Layout Containers */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
    display: block;
    font-family: var(--font-heading);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
}

/* Sticky Header */
.header {
    height: var(--header-height);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(245, 247, 250, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.header.scrolled {
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 24px rgba(22, 32, 46, 0.08);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.logo-symbol {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #1f5fa8, #16202e);
    border: 2px solid var(--accent);
    border-radius: 6px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(31, 95, 168, 0.25);
}

.logo-symbol::after {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--action);
    transform: rotate(45deg);
    border-radius: 2px;
}

.logo-mark {
    width: 44px;
    height: 44px;
    flex: none;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.logo-main {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 0.01em;
    color: var(--text-primary);
}

.logo-main > span {
    color: var(--accent);
}

.logo-sub {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-top: 0.25rem;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

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

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons & Elements */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.75rem;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-normal);
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--action);
    color: var(--text-dark);
    border: 1px solid var(--action);
    box-shadow: 0 4px 15px rgba(237, 106, 31, 0.2);
}

.btn-primary:hover {
    background-color: var(--action-hover);
    border-color: var(--action-hover);
    box-shadow: 0 6px 20px rgba(237, 106, 31, 0.32);
    transform: translateY(-2px);
}

.btn-secondary {
    background: #ffffff;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--text-primary);
    background: var(--surface-sunken);
    transform: translateY(-2px);
}

.btn-outline-accent {
    background: transparent;
    color: var(--action);
    border: 1px solid var(--action);
}

.btn-outline-accent:hover {
    background: var(--action);
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(237, 106, 31, 0.2);
    transform: translateY(-2px);
}

/* Floating WhatsApp Button */
.whatsapp-floating {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    font-size: 1.75rem;
    transition: var(--transition-normal);
    animation: pulse 2s infinite;
}

.whatsapp-floating:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: #16202e;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition-normal);
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(22, 32, 46, 0.2);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #16202e;
}

.whatsapp-floating:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Premium Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(22, 32, 46, 0.04);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: var(--transition-normal);
}

.card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(22, 32, 46, 0.12);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.card-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

/* Hero Section Styles */
.hero {
    min-height: 100vh;
    padding-top: var(--header-height);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 80% 20%, rgba(31, 95, 168, 0.07), transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(237, 106, 31, 0.05), transparent 50%);
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.06;
    z-index: -1;
    filter: saturate(0.8) contrast(1.1);
}

.hero-bg-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(245, 247, 250, 0.4) 50%, var(--bg-primary) 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 750px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(31, 95, 168, 0.1);
    border: 1px solid rgba(31, 95, 168, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    font-family: var(--font-heading);
}

.hero-badge span {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 50%;
    animation: flash 1.5s infinite;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero-title span {
    background: linear-gradient(135deg, #16202e 20%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.hero-meta-item {
    display: flex;
    flex-direction: column;
}

.hero-meta-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent);
    font-family: var(--font-heading);
}

.hero-meta-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/5;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(22, 32, 46, 0.18);
    background: var(--bg-card);
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-visual-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0.85) 50%, transparent 100%);
    padding: 2rem;
}

/* Tagline / Subtext */
.tagline-footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
}

/* Intro Section */
.intro-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.intro-content .intro-lead {
    font-size: 1.25rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.intro-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.intro-visual-card {
    background: linear-gradient(135deg, #ffffff, #eef3f9);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(22, 32, 46, 0.06);
}

.intro-visual-card::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--accent-glow);
    border-radius: 50%;
    filter: blur(80px);
    top: -50px;
    right: -50px;
    z-index: 0;
}

.intro-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.intro-list {
    list-style: none;
    position: relative;
    z-index: 1;
}

.intro-list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--hairline);
}

.intro-list-item:last-child {
    border: none;
}

.intro-list-icon {
    color: var(--accent);
    font-weight: bold;
}

.intro-list-text {
    font-size: 0.95rem;
}

/* Quality and Test Results */
.results-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: flex-start;
}

.results-table-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(22, 32, 46, 0.08);
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.results-table th, .results-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--hairline);
}

.results-table th {
    background: var(--surface-sunken);
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.results-table tr:last-child td {
    border-bottom: none;
}

.results-table tr:hover td {
    background: rgba(31, 95, 168, 0.03);
}

.badge-grade {
    background: rgba(31, 95, 168, 0.1);
    border: 1px solid rgba(31, 95, 168, 0.3);
    color: var(--accent);
    padding: 0.25rem 0.75rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.highlight-val {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
}

/* Report Preview Box */
.report-preview-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(22, 32, 46, 0.08);
}

.report-preview-img-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--hairline);
    margin-bottom: 1.5rem;
    cursor: zoom-in;
    aspect-ratio: 16/9;
    background: var(--surface-sunken);
}

.report-preview-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.report-preview-img-wrapper:hover img {
    transform: scale(1.03);
}

.report-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(22, 32, 46, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.report-preview-img-wrapper:hover .report-preview-overlay {
    opacity: 1;
}

.report-preview-overlay i {
    font-size: 2rem;
    color: white;
    background: var(--accent);
    padding: 1rem;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(22, 32, 46, 0.3);
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(22, 32, 46, 0.85);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
    padding: 2rem;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    border: 1px solid var(--border-color);
    overflow: auto;
}

.lightbox-content img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 85vh;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: #ffffff;
    font-size: 2.5rem;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 2001;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--action);
    transform: scale(1.1);
}

/* Coal Page Design */
.coal-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.coal-product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 20px rgba(22, 32, 46, 0.05);
}

.coal-product-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(22, 32, 46, 0.12);
}

.coal-product-img {
    height: 300px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.coal-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.coal-product-card:hover .coal-product-img img {
    transform: scale(1.05);
}

.coal-product-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--accent);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    font-family: var(--font-heading);
    box-shadow: 0 4px 10px rgba(22, 32, 46, 0.25);
}

.coal-product-info {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.coal-product-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.coal-product-meta {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.coal-product-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    flex-grow: 1;
}

.coal-spec-list {
    margin-bottom: 2rem;
    border-top: 1px solid var(--hairline);
    padding-top: 1.5rem;
}

.coal-spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.coal-spec-label {
    color: var(--text-muted);
}

.coal-spec-val {
    font-weight: 600;
    color: var(--text-primary);
}

.coal-product-best {
    margin-bottom: 2rem;
}

.coal-product-best h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.coal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.coal-tag {
    background: var(--surface-sunken);
    border: 1px solid var(--hairline);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Interactive Grade Selector Tool */
.selector-tool {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3.5rem;
    margin-top: 5rem;
    box-shadow: 0 15px 40px rgba(22, 32, 46, 0.08);
}

.selector-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: flex-start;
}

.selector-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.selector-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    color: var(--text-muted);
    text-align: left;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-normal);
}

.selector-btn:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
    background: var(--surface-sunken);
}

.selector-btn.active {
    background: var(--accent-glow);
    border-color: var(--accent);
    color: var(--accent);
}

.selector-btn::after {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition-normal);
}

.selector-btn.active::after, .selector-btn:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.selector-output {
    background: var(--surface-sunken);
    border: 1px solid var(--hairline);
    border-radius: 12px;
    padding: 2.5rem;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: var(--transition-normal);
}

.selector-output-placeholder {
    text-align: center;
    color: var(--text-muted);
}

.selector-output-placeholder i {
    font-size: 3.5rem;
    color: rgba(22, 32, 46, 0.12);
    margin-bottom: 1.5rem;
    display: block;
}

.recommendation-card {
    animation: fadeIn 0.4s ease-out forwards;
}

.rec-title-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid var(--hairline);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.rec-label {
    color: var(--accent);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.rec-grade-name {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 0.25rem;
}

.rec-badge {
    background: rgba(31, 95, 168, 0.1);
    border: 1px solid rgba(31, 95, 168, 0.3);
    color: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1.05rem;
    font-family: var(--font-heading);
}

.rec-reason {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.rec-details {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.rec-actions {
    display: flex;
    gap: 1rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Page Form styling */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: flex-start;
}

.contact-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3.5rem;
    box-shadow: 0 15px 40px rgba(22, 32, 46, 0.08);
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.form-control {
    width: 100%;
    background: var(--surface-sunken);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.85rem 1rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(31, 95, 168, 0.12);
    background: #ffffff;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6675' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
    padding-right: 2.5rem;
}

.contact-info-wrap {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-info-block {
    display: flex;
    gap: 1.25rem;
}

.contact-info-icon {
    font-size: 1.5rem;
    color: var(--accent);
    background: rgba(31, 95, 168, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(31, 95, 168, 0.15);
}

.contact-info-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-info-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    white-space: pre-line;
}

.contact-map-mock {
    height: 250px;
    background: radial-gradient(circle at center, #ffffff, #e3e9f1);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-map-marker {
    width: 20px;
    height: 20px;
    background: var(--action);
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(237, 106, 31, 0.6);
    position: relative;
    animation: markerPulse 2s infinite;
}

@keyframes markerPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(237, 106, 31, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(237, 106, 31, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(237, 106, 31, 0);
    }
}

.contact-map-mock::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    border: 1px dashed rgba(22, 32, 46, 0.1);
    border-radius: 50%;
}

.contact-map-mock::after {
    content: 'Guwahati, Assam';
    position: absolute;
    bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-color);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Modal / Form Success Style */
.form-success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(22, 32, 46, 0.6);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.form-success-modal.active {
    display: flex;
    opacity: 1;
}

.form-success-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 20px 50px rgba(22, 32, 46, 0.25);
    animation: scaleIn 0.3s ease-out forwards;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-icon {
    font-size: 4rem;
    color: #25d366;
    margin-bottom: 1.5rem;
}

.success-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.success-text {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Call to Action Section */
.cta-banner {
    background: linear-gradient(135deg, #16202e 0%, #1f3a5f 100%);
    border: 1px solid #1f3a5f;
    border-radius: 20px;
    padding: 4.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(22, 32, 46, 0.2);
}

.cta-banner::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(237, 106, 31, 0.25);
    filter: blur(120px);
    bottom: -150px;
    right: -150px;
    border-radius: 50%;
}

.cta-banner::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(31, 95, 168, 0.4);
    filter: blur(120px);
    top: -150px;
    left: -150px;
    border-radius: 50%;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #ffffff;
}

.cta-desc {
    color: #c3cedd;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* Footer Section */
.footer {
    background-color: #16202e;
    border-top: 1px solid #1f3a5f;
    padding: 5rem 0 2rem 0;
    color: #c3cedd;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h3 {
    margin-bottom: 1.25rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo-mark {
    width: 46px;
    height: 46px;
    flex: none;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.footer-brand .fl-main {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
}

.footer-brand .fl-main > span {
    color: var(--action);
}

.footer-brand .fl-sub {
    font-family: var(--font-heading);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #9fb0c4;
    margin-top: 0.3rem;
}

.footer-desc {
    color: #9fb0c4;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.footer-links-title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #9fb0c4;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--action);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #9fb0c4;
}

.footer-contact-item i {
    color: var(--action);
    margin-top: 0.25rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #9fb0c4;
    font-size: 0.85rem;
}

.footer-copy span {
    font-weight: 600;
    color: #ffffff;
}

/* Animations helper */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive CSS */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-meta {
        justify-content: center;
    }

    .hero-visual {
        max-width: 450px;
        margin: 0 auto;
        aspect-ratio: 4/3;
    }

    .intro-grid, .results-grid, .coal-showcase-grid, .selector-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info-wrap {
        order: -1;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .section {
        padding: 4rem 0;
    }

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

    .nav {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: #ffffff;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: var(--transition-normal);
        z-index: 999;
        border-top: 1px solid var(--border-color);
    }

    .nav.active {
        left: 0;
    }

    .nav-toggle {
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@keyframes flash {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}
