/* ============================================================
   ROHINDIA INDUSTRIES LIMITED — ril.css
   Theme: Warm editorial — chalk white, ink charcoal, gold
   Fonts: DM Serif Display (headings) + DM Sans (body)
============================================================ */


/* ============================================================
   CSS VARIABLES
============================================================ */
:root {
  /* BRIGHT CONTENT THEME */
  --ril-bg:           #F8F4EE;      /* warm chalk */
  --ril-bg-alt:       #EDE8DF;      /* warm linen */
  --ril-bg-card:      #FFFFFF;
  --ril-bg-ink:       #1C1714;      /* rich ink — for dark sections */

  /* GOLD */
  --ril-accent:       #C9A84C;
  --ril-accent-light: #E8C96A;
  --ril-accent-deep:  #8C6D1F;
  --ril-gold-grad:    linear-gradient(135deg, #E8C96A, #C9A84C, #8C6D1F);

  /* TEXT */
  --ril-text:         #1C1714;
  --ril-text-soft:    #4A3F32;
  --ril-text-muted:   #8C7B68;
  --ril-text-faint:   #B8A898;

  /* BORDERS */
  --ril-border:       rgba(201, 168, 76, 0.2);
  --ril-border-dark:  rgba(28, 23, 20, 0.1);

  /* SHADOWS */
  --ril-shadow-sm:    0 4px 20px rgba(140, 109, 31, 0.1);
  --ril-shadow-md:    0 12px 40px rgba(140, 109, 31, 0.15);
  --ril-shadow-lg:    0 24px 60px rgba(140, 109, 31, 0.2);

  /* TRANSITION */
  --ril-ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ril-transition:   0.4s var(--ril-ease);

  /* FONTS */
  --font-display:     'DM Serif Display', Georgia, serif;
  --font-body:        'DM Sans', system-ui, sans-serif;
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--ril-bg);
  color: var(--ril-text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none !important; }

/* Grain texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px;
}

main {
  position: relative;
  z-index: 1;
  min-height: 80vh;
}

/* ============================================================
   TYPOGRAPHY HELPERS
============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ril-text);
}

/* ============================================================
   SCROLL REVEAL
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ril-ease), transform 0.9s var(--ril-ease);
}
.reveal.visible          { opacity: 1; transform: translateY(0); }
.reveal-delay-1          { transition-delay: 0.1s; }
.reveal-delay-2          { transition-delay: 0.2s; }
.reveal-delay-3          { transition-delay: 0.3s; }
.reveal-delay-4          { transition-delay: 0.4s; }
.reveal-delay-5          { transition-delay: 0.5s; }

/* ============================================================
   ORNAMENT HELPERS
============================================================ */
.ornament {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  margin: 1.5rem auto;
}
.orn-line {
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: var(--ril-gold-grad);
  opacity: 0.5;
}
.orn-diamond {
  width: 7px;
  height: 7px;
  background: var(--ril-accent);
  transform: rotate(45deg);
  animation: dGlow 3s ease-in-out infinite;
}
@keyframes dGlow {
  0%,100% { box-shadow: 0 0 8px rgba(201,168,76,0.4); }
  50%      { box-shadow: 0 0 20px rgba(201,168,76,0.8); }
}

/* ============================================================
   SECTION TAG / EYEBROW
============================================================ */
.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--ril-accent-deep);
  margin-bottom: 1rem;
}

/* ============================================================
   FOOTER — dark luxury (matches navbar)
============================================================ */
footer {
  background: #0E0C09 !important;
  border-top: 1px solid rgba(201, 168, 76, 0.18) !important;
  padding: 5rem 2rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 180px; height: 1px;
  background: var(--ril-gold-grad);
  opacity: 0.5;
}

footer h3 {
  font-family: var(--font-display) !important;
  color: var(--ril-accent) !important;
  font-size: 1.8rem;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

footer > p:first-of-type {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  color: rgba(201, 168, 76, 0.45) !important;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.footer-links a {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(200, 180, 130, 0.55) !important;
  transition: color 0.3s ease;
}

.footer-links a:hover { color: var(--ril-accent) !important; }

.footer-copyright {
  font-size: 0.7rem;
  letter-spacing: 1px;
  color: rgba(150, 125, 75, 0.35) !important;
  border-top: 1px solid rgba(201, 168, 76, 0.08);
  padding-top: 1.5rem;
  margin-top: 0 !important;
}

/* ============================================================
   CTA BUTTONS (shared)
============================================================ */
.cta-btn, .hero-cta, .cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.8rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  border-radius: 2px;
  text-decoration: none !important;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ril-ease), box-shadow 0.35s var(--ril-ease);
}

.cta-btn::before, .hero-cta::before, .cta-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-110%) skewX(-20deg);
  transition: transform 0.5s var(--ril-ease);
}

.cta-btn:hover::before,
.hero-cta:hover::before,
.cta-button:hover::before { transform: translateX(110%) skewX(-20deg); }

/* Gold filled */
.cta-btn, .hero-cta {
  background: linear-gradient(135deg, #E0B84A, #C9A84C, #A8851F);
  color: #0E0C09 !important;
  box-shadow: 0 4px 18px rgba(201, 168, 76, 0.3);
}

.cta-btn:hover, .hero-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(201, 168, 76, 0.45);
  color: #0E0C09 !important;
}

/* Outline variant */
.cta-outline {
  background: transparent !important;
  color: var(--ril-accent-deep) !important;
  border: 1.5px solid rgba(140, 109, 31, 0.35);
  box-shadow: none !important;
}

.cta-outline:hover {
  background: rgba(201, 168, 76, 0.06) !important;
  border-color: var(--ril-accent);
  color: var(--ril-accent-deep) !important;
}


:root {
    --rg-primary: #0a0a0a;
    --rg-secondary: #141414;
    --rg-accent: #d4af37;
    --rg-accent-hover: #f1c40f;
    --rg-accent-soft: rgba(212, 175, 55, 0.1);
    --rg-text-bright: #ffffff;
    --rg-text-muted: #888888;
    --rg-border: rgba(212, 175, 55, 0.15);
    --rg-glass: rgba(10, 10, 10, 0.9);
}


a {
    text-decoration: none !important;
}

/* HERO BASE */
/* .rg-hero {
    padding: 14rem 2rem 10rem;
    text-align: center;
    background: radial-gradient(circle at top left, #1a1608 0%, #0a0a0a 70%);
} */

/* .hero-subtitle {
    color: var(--rg-accent);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    display: block;
} */

/* .hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: #fff;
    margin-bottom: 2rem;
    line-height: 1.1;
} */

/* SECTIONS */
.section-padding {
    padding: 8rem 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* UTILS */
.flex-row {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.gap-8 {
    gap: 8rem;
}

.flex-1 { flex: 1; }
.flex-1-2 { flex: 1.2; }

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

.gold-accent-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--rg-accent), transparent);
    margin: 1.5rem auto;
    border-radius: 2px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

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

/* HERO EXTENSIONS */
.hero-desc-box {
    max-width: 800px;
    margin: 0 auto;
    color: var(--rg-text-muted);
    font-size: 1.25rem;
    line-height: 1.8;
}

/* CARD BOXES */
.info-card {
    background: var(--rg-secondary);
    padding: 4rem;
    border: 1px solid var(--rg-border);
    border-radius: 4px;
}

.stat-box {
    border-left: 2px solid var(--rg-accent);
    padding-left: 1.5rem;
}

.stat-label {
    color: var(--rg-accent);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.stat-value {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
}

.pillar-list {
    list-style: none;
    padding: 0;
    color: var(--rg-text-muted);
    font-size: 1.1rem;
    line-height: 2.5;
}

.pillar-item {
    border-bottom: 1px solid #222;
    padding: 0.5rem 0;
}

.pillar-item:last-child {
    border-bottom: none;
}

/* FOOTER */
/* footer {
    padding: 6rem 2rem;
    background: var(--rg-secondary);
    border-top: 1px solid var(--rg-border);
    text-align: center;
}

.footer-inner {
    max-width: 900px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-links a {
    color: var(--rg-text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

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

.footer-copyright {
    color: #444;
    font-size: 0.8rem;
    letter-spacing: 1px;
} */

/* BUSINESS PAGE SPECIFICS */
.collage-bg {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-top: 60px;
}

.partner-strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8; /* Increased opacity for background visibility */
    filter: grayscale(100%) brightness(0.7) sepia(10%);
}

.modern-page-hero.business-hero {
    min-height: 50vh;
    padding: 6rem 2rem;
    background: radial-gradient(circle at center, rgba(26, 22, 8, 0.4) 0%, rgba(10, 10, 10, 0.4) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.business-section {
    position: relative;
    padding: 6rem 2rem;
    background: rgba(10, 10, 10, 0.45) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    z-index: 10;
}

/* .hero-badge {
    color: var(--rg-accent);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    display: inline-block;
    border: 1px solid var(--rg-accent);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
}

.vision-industries {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 8rem;
    align-items: center;
}

.vision-industries h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--rg-accent);
    margin-bottom: 2rem;
    text-align: center;
} */

.business-box-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.business-box {
    background: var(--rg-secondary);
    padding: 4rem 2rem;
    border: 1px solid var(--rg-border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    border-radius: 8px;
    margin-bottom: 2rem;

}

.business-box:hover {
    border-color: var(--rg-accent);
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15);
    background: rgba(20, 20, 20, 0.9);
}

.business-logo {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 50%;
    background: #000;
    padding: 10px;
    border: 2px solid var(--rg-border);
    transition: all 0.4s ease;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}

.business-box:hover .business-logo {
    border-color: var(--rg-accent);
    transform: scale(1.1) rotate(5deg);
    background: #111;
}

/* LEGACY STYLE RESTORATION */
.business-card {
    position: relative;
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    background: var(--rg-secondary);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                border-color 0.4s ease;
    border: 1px solid var(--rg-border);
}

.business-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
}

/*
.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 10%, rgba(0, 0, 0, 0.2) 70%);
    z-index: 1;
    transition: background 0.4s ease;
}

.card-content {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    z-index: 2;
    transition: transform 0.4s ease;
}

.card-content h3 {
    margin: 0;
    font-size: 1.4rem !important;
    color: #fff !important;
    font-family: 'Playfair Display', serif;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
} */

/* Business Card Hover States */
.business-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.25);
    border-color: var(--rg-accent);
}

.business-card:hover img {
    transform: scale(1.1);
    filter: brightness(1.2) contrast(1.1);
}

.business-card:hover .card-overlay {
    background: linear-gradient(to top, rgba(212, 175, 55, 0.3) 0%, rgba(0, 0, 0, 0.4) 100%);
}

/* Glassmorphism Refinement */
.glass-panel {
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: 4rem;
    border-radius: 4px;
}

.business-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--rg-accent);
    margin: 0;
    text-align: center;
}

.business-box a {
    text-decoration: none;
}

.business-box ul {
    list-style: none;
    padding: 0;
}

.business-box ul li {
    margin-bottom: 1rem;
}

.business-box ul li a {
    color: var(--rg-text-muted);
    transition: color 0.3s;
    font-size: 0.95rem;
    text-decoration: none;
}

.business-box ul li a:hover {
    color: #fff;
}

#industriesChart {
    max-width: 400px;
    margin: 0 auto;
}
