section {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 80px;
    padding-bottom: 80px;
    border-top: 1px solid rgba(0, 74, 153, 0.05); /* Technical divider line */
}

:root {
    --trust-blue: #004a99;
    --growth-green: #2e7d32;
    --dark: #0f172a;
    --text-muted: #64748b;
    --white: #ffffff;
    --font-main: 'Outfit', sans-serif;
    --font-head: 'Montserrat', sans-serif;
}



* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: var(--font-main); 
    background-color: var(--white); 
    color: var(--dark); 
    overflow-x: hidden;

/* grid style for full home page - global grid */

    font-family: var(--font-main); 
    background-color: var(--white); 
    color: var(--dark); 
    overflow-x: hidden;

    /* ADD THESE LINES BELOW */
    background-image: 
        linear-gradient(rgba(0, 74, 153, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 74, 153, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    background-attachment: fixed; /* This keeps the grid from jumping while scrolling */


}

/* Navbar */
.navbar {
    height: 100px;
    display: flex;
    align-items: center;
    position: absolute;
    width: 100%;
    z-index: 100;
}

.nav-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-box img { height: 80px; width: auto; }

.nav-links { display: flex; list-style: none; gap: 40px; align-items: center; }

/* Increased weight for Nav Items */
.nav-links a { 
    text-decoration: none; 
    color: var(--dark); 
    font-weight: 700; /* Increased Weight */
    font-size: 0.95rem; 
    letter-spacing: 0.5px;
}

.nav-cta {
    background: var(--dark);
    color: white !important;
    padding: 12px 28px;
    border-radius: 50px;
    transition: 0.3s;
}

/* Hero Section */
.hero-master {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

/* grid style old for the hero section only  */

/* .blueprint-grid { 
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(0, 74, 153, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 74, 153, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
} */

.hero-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.badge-row { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.dot { width: 8px; height: 8px; background: var(--growth-green); border-radius: 50%; }
.badge-text { color: var(--growth-green); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; }

h1 { 
    font-family: var(--font-head);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 30px;
}

.accent-blue { color: var(--trust-blue); }

.hero-subtext {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 45px;
    max-width: 520px;
    line-height: 1.7;
}

.hero-actions { display: flex; gap: 30px; align-items: center; margin-bottom: 60px; }

.btn-primary {
    background: var(--trust-blue);
    color: white;
    padding: 20px 42px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 20px 40px rgba(0, 74, 153, 0.2);
    transition: 0.3s;
}

.btn-primary:hover { transform: translateY(-3px); background: #003a7a; }

.btn-video-neutral {
    text-decoration: none;
    color: var(--dark);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Trust Bar */
.trust-footer { display: flex; gap: 45px; border-top: 1px solid #e2e8f0; padding-top: 35px; }
.trust-item { font-size: 0.85rem; color: var(--text-muted); }
.trust-item strong { color: var(--dark); display: block; font-size: 1.1rem; margin-bottom: 4px; }

/* Slideshow - Image Clarity & Tag Visibility */
.slideshow-frame {
    position: relative;
    width: 100%;
    height: 620px;
    background: #f1f5f9;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.06);
}

.slide {
    position: absolute;
    width: 100%; height: 100%;
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    animation: worldSlide 40s infinite;
}

.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 8s; }
.slide:nth-child(3) { animation-delay: 16s; }
.slide:nth-child(4) { animation-delay: 24s; }
.slide:nth-child(5) { animation-delay: 32s; }

@keyframes worldSlide {
    0% { opacity: 0; }
    4% { opacity: 1; }
    21% { opacity: 1; }
    25% { opacity: 0; }
    100% { opacity: 0; }
}

/* Increased Font and Visibility for Tags on Upper Side */
.slide-tag {
    position: absolute;
    top: 35px; /* Upper side */
    left: 35px;
    background: rgba(255, 255, 255, 0.95);
    padding: 14px 24px;
    font-weight: 800; /* Bolder */
    font-size: 1rem; /* Increased size */
    border-radius: 6px;
    color: var(--trust-blue);
    text-transform: uppercase;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-subtext { margin: 0 auto 40px; }
    .hero-actions { justify-content: center; }
    .trust-footer { justify-content: center; }
    .slideshow-frame { height: 450px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    h1 { font-size: 2.8rem; }
    .hero-actions { flex-direction: column; align-items: center; }
}

/* section 2 start */

/* --- SECTION 2: COMPARISON (Architectural Continuum) --- */
.comparison-anchor {
    position: relative;
    padding: 100px 0;
    background-color: var(--white);
    margin-top: -1px; /* Seamless transition */
    overflow: hidden;
}

/* Ensure global grid alignment */
/*.comparison-anchor .blueprint-grid {
    opacity: 0.4; /* Slightly lighter than hero for readability 
} */

.section-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.section-heading-block {
    text-align: center;
    margin-bottom: 70px;
}

.main-title {
    font-family: var(--font-head);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1.1;
    margin: 25px 0;
}

.sub-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.6;
}

.comparison-flex-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.analysis-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.03);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.analysis-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 74, 153, 0.1);
}

.jnana-trust {
    border: 2px solid var(--trust-blue);
    background: linear-gradient(145deg, #ffffff, #f7faff);
}

.card-status-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.status-label {
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.market-risk .status-label { color: #ef4444; }
.jnana-trust .status-label { color: var(--growth-green); }

.risk-dot { background: #ef4444; width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 10px rgba(239, 68, 68, 0.4); }
.trust-dot { background: var(--growth-green); width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 10px rgba(46, 125, 50, 0.4); }

.card-headline {
    font-family: var(--font-head);
    font-size: 1.7rem;
    margin-bottom: 35px;
}

.feature-list { display: flex; flex-direction: column; gap: 30px; }

.feature-row { display: flex; gap: 20px; align-items: flex-start; }

.feature-icon { width: 24px; height: 24px; flex-shrink: 0; margin-top: 4px; }
.fail { color: #cbd5e1; }
.pass { color: var(--growth-green); }

.feature-info strong {
    display: block;
    font-family: var(--font-head);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.feature-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .section-container { width: 92%; }
    .analysis-card { padding: 40px 25px; }
}

@media (max-width: 768px) {
    .main-title { font-size: 2.4rem; }
    .analysis-card { border-radius: 15px; }
    .hero-actions { flex-direction: column; gap: 20px; }
}

/* section 2 end */

/* section 3 start  */

/* --- SECTION 3: IMPACT GRID --- */
.impact-section {
    position: relative;
    padding: 100px 0;
    background-color: var(--white);
    margin-top: -1px; /* Maintain zero gap */
    overflow: hidden;
}

/* Ensure global grid alignment */
.impact-section .blueprint-grid {
    opacity: 0.35;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.impact-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid #e2e8f0;
    padding: 45px 35px;
    border-radius: 4px; /* Sharper, more "architectural" corners */
    transition: all 0.4s ease;
    position: relative;
    z-index: 5;
}

.impact-card:hover {
    background: white;
    transform: translateY(-5px);
    border-color: var(--trust-blue);
    box-shadow: 0 20px 40px rgba(0, 74, 153, 0.08);
}

.impact-icon-box {
    width: 60px;
    height: 60px;
    color: var(--trust-blue);
    margin-bottom: 25px;
}

.impact-card h3 {
    font-family: var(--font-head);
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.impact-card p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 25px;
}

.impact-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
}

.impact-tags li {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--growth-green);
    background: rgba(46, 125, 50, 0.08);
    padding: 5px 12px;
    border-radius: 2px;
}

/* Responsive Scaling */
@media (max-width: 768px) {
    .impact-section { padding: 70px 0; }
    .impact-grid { gap: 20px; }
    .impact-card { padding: 30px 20px; }
}

/* section 3 end  */

/* section 4- methodology start  */ 

/* --- SECTION 4: PROCESS WORKFLOW --- */
.process-section {
    position: relative;
    padding: 100px 0;
    background-color: var(--white);
    margin-top: -1px; /* Maintain zero gap */
    overflow: hidden;
}

.process-section .blueprint-grid {
    opacity: 0.3;
}

.process-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    margin-top: 60px;
    position: relative;
    z-index: 5;
}

.step-card {
    position: relative;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

/* Subtle architectural hover effect */
.step-card:hover {
    background: white;
    box-shadow: 0 15px 35px rgba(0, 74, 153, 0.05);
    border-color: var(--trust-blue);
}

.step-number {
    font-family: var(--font-head);
    font-size: 3.5rem;
    color: rgba(0, 74, 153, 0.08); /* Very light, technical look */
    position: absolute;
    top: 10px;
    right: 20px;
    font-weight: 800;
}

.step-icon {
    width: 45px;
    height: 45px;
    color: var(--growth-green);
    margin-bottom: 25px;
}

.step-card h3 {
    font-family: var(--font-head);
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark);
    position: relative;
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Responsive Fixes */
@media (max-width: 1024px) {
    .process-steps-grid { gap: 20px; }
}

@media (max-width: 480px) {
    .step-card { padding: 30px 20px; }
    .step-number { font-size: 2.5rem; }
}

/* section 4 - methodology end */

/* section 5 - engineering standards */

/* --- SECTION 5: COMPLIANCE --- */
.compliance-section {
    position: relative;
    padding: 120px 0;
    background-color: var(--white);
    margin-top: -1px;
    overflow: hidden;
}

.compliance-section .blueprint-grid {
    opacity: 0.25;
}

.compliance-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 5;
}

.standards-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.standard-item {
    display: flex;
    gap: 25px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.6);
    border-left: 4px solid var(--trust-blue);
    transition: 0.3s;
}

.standard-item:hover {
    background: white;
    transform: translateX(10px);
}

.std-icon {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--trust-blue);
    opacity: 0.5;
}

.std-content h4 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.compliance-visual {
    display: flex;
    justify-content: center;
}

.seal-container {
    width: 280px;
    height: 280px;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.seal-inner {
    text-align: center;
}

.seal-svg {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
    color: #e2e8f0;
}

.seal-text {
    display: block;
    font-family: var(--font-head);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .compliance-layout { grid-template-columns: 1fr; gap: 50px; }
    .compliance-visual { order: -1; } /* Visual on top for mobile */
}

/* section 5 end */

/* section 6 - lead generation */

/* --- SECTION 6: ARCHITECTURAL LEAD GEN --- */
.cta-blueprint-section {
    position: relative;
    background-color: var(--white);
    overflow: hidden;
}

.audit-request-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 5;
}

.audit-info {
    text-align: left;
}

.audit-check-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.check-item svg {
    width: 18px;
    height: 18px;
    color: var(--growth-green);
}

/* The Form Design: Looks like a technical document */
.audit-form-box {
    background: white;
    padding: 50px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 30px 60px rgba(0, 74, 153, 0.08);
    border-radius: 4px; /* Hard architectural edges */
}

.blueprint-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-head);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--text-muted);
}

.form-group input, .form-group select {
    padding: 15px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 1rem;
    background: #f8fafc;
}

.btn-primary.full-width {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 18px;
}

.form-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 10px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .audit-request-wrapper { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .audit-info { text-align: center; }
    .audit-check-list { align-items: center; }
    .audit-form-box { padding: 30px 20px; }
}

/* section 6 end  */

/* footer start */

/* --- FINAL FOOTER: ARCHITECTURAL STYLE --- */
.main-footer {
    position: relative;
    padding: 80px 0 40px;
    background-color: #f8fafc; /* Very light grey to distinguish from white sections */
    border-top: 1px solid #e2e8f0;
    overflow: hidden;
}

.main-footer .blueprint-grid {
    opacity: 0.2; /* Minimal grid for the footer */
}

.footer-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 100px;
    padding-bottom: 60px;
    border-bottom: 1px solid #e2e8f0;
}

.footer-logo {
    height: 60px;
    margin-bottom: 25px;
}

.brand-vision {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 350px;
    margin-bottom: 25px;
}

.credential-row {
    display: flex;
    gap: 10px;
}

.cert-tag {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 6px 12px;
    border-radius: 2px;
    color: var(--trust-blue);
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.nav-col h4 {
    font-family: var(--font-head);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    color: var(--dark);
}

.nav-col ul { list-style: none; }

.nav-col li { margin-bottom: 12px; }

.nav-col a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: 0.3s;
}

.nav-col a:hover {
    color: var(--trust-blue);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom strong {
    color: var(--growth-green);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--dark);
    font-weight: 600;
    text-decoration: none;
}

/* RESPONSIVE FOOTER */
@media (max-width: 1024px) {
    .footer-top { grid-template-columns: 1fr; gap: 60px; }
    .footer-nav { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .footer-nav { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 20px; }
}

/* footer end */
