/* ═══════════════════════════════════════════════════════════════
   THEME  —  edit ONLY this block to switch the whole site palette
   ═══════════════════════════════════════════════════════════════

   Current theme: Pleasing Coral
   Alternating rule: odd sections = DARK, even sections = LIGHT
   (section 1 is the hero/title; section 2 is always the first
    content section and starts LIGHT)
   ─────────────────────────────────────────────────────────────── */
:root {
    /* Section backgrounds */
    --theme-primary:        #F0956A;   /* light sections (even)          */
    --theme-secondary:      #B84C20;   /* dark  sections (odd)  — start  */
    --theme-secondary-dark: #1a0800;   /* dark  sections (odd)  — end    */

    /* Gradient applied to all dark sections */
    --theme-secondary-gradient: linear-gradient(170deg, var(--theme-secondary) 0%, var(--theme-secondary-dark) 100%);

    /* Text colour on each background */
    --theme-text-on-primary:   #000000;
    --theme-text-on-secondary: #ffffff;

    /* Hero section image overlay (index.html first section) */
    --theme-hero-overlay:         #262732;
    --theme-hero-overlay-opacity: 0.83;

    /* Header / footer strip */
    --theme-chrome: var(--theme-primary);
}

/* ── Preset: Deep Ocean (uncomment to activate) ──────────────
:root {
    --theme-primary:        #3A7CA5;
    --theme-secondary:      #1B3A4B;
    --theme-secondary-dark: #040d13;
    --theme-secondary-gradient: linear-gradient(170deg, var(--theme-secondary) 0%, var(--theme-secondary-dark) 100%);
    --theme-text-on-primary:   #ffffff;
    --theme-text-on-secondary: #ffffff;
    --theme-hero-overlay:         #0a1628;
    --theme-hero-overlay-opacity: 0.75;
    --theme-chrome: var(--theme-secondary);
}
── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── */

/* ── Preset: Forest Green (uncomment to activate) ───────────
:root {
    --theme-primary:        #7DBE8E;
    --theme-secondary:      #2D6A4F;
    --theme-secondary-dark: #0a1f16;
    --theme-secondary-gradient: linear-gradient(170deg, var(--theme-secondary) 0%, var(--theme-secondary-dark) 100%);
    --theme-text-on-primary:   #000000;
    --theme-text-on-secondary: #ffffff;
    --theme-hero-overlay:         #1a3a2a;
    --theme-hero-overlay-opacity: 0.78;
    --theme-chrome: var(--theme-primary);
}
── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── */

/* ═══════════════════════════════════════════════════════════════
   COLOR AUDIT — all colors found across site CSS files
   ───────────────────────────────────────────────────────────────
   Backgrounds (original, now overridden by theme):
     #0c0c0c #0c0000 #000000 #383838  — near-black section bgs
     #262732                           — hero overlay (kept)
     #f7f7f7                           — light grey (neve forms)
     #ffffff                           — white (form fields)

   Body / heading text (neve-customizer + global):
     #404248                           — body text
     #313131                           — headings
     #54595f #616161                   — muted grey text
     #e2e2e2 #f9f9f9 #fcfcfc          — near-white text on dark bgs

   Accent / icon colours (home page program list):
     #fc5f45 #ed5d15 #e86540 #f34123  — red-orange family
     #f79c7e                           — salmon
     #feb960 #afa74f                   — amber / gold
     #38c695 #00ba78 #23a455          — green family
     #61ce70                           — bright green
     #b27cf5 #aa5cd1 #ba6fed          — purple family
     #302ead #3e46b7 #4054b2          — blue-indigo family
     #6ec1e4                           — sky blue

   Credits page warm tones:
     #eaaf70 #ed9671                   — warm gold / peach

   Links (neve-customizer):
     #005bf7 #0366d6                   — blue links
   ═══════════════════════════════════════════════════════════════ */


/* ─── Base ──────────────────────────────────────────────────── */
body,
.wrapper {
    background-color: var(--theme-primary);
}

/* ─── Alternating sections: odd = DARK, even = LIGHT ────────── */
.elementor-section-wrap > .elementor-top-section:nth-child(odd) {
    background: var(--theme-secondary-gradient) !important;
    color: var(--theme-text-on-secondary) !important;
}
.elementor-section-wrap > .elementor-top-section:nth-child(even) {
    background: var(--theme-primary) !important;
    color: var(--theme-text-on-primary) !important;
}

/* Text elements inside dark (odd) sections → white */
.elementor-section-wrap > .elementor-top-section:nth-child(odd) h1,
.elementor-section-wrap > .elementor-top-section:nth-child(odd) h2,
.elementor-section-wrap > .elementor-top-section:nth-child(odd) h3,
.elementor-section-wrap > .elementor-top-section:nth-child(odd) h4,
.elementor-section-wrap > .elementor-top-section:nth-child(odd) h5,
.elementor-section-wrap > .elementor-top-section:nth-child(odd) h6,
.elementor-section-wrap > .elementor-top-section:nth-child(odd) p,
.elementor-section-wrap > .elementor-top-section:nth-child(odd) span,
.elementor-section-wrap > .elementor-top-section:nth-child(odd) em,
.elementor-section-wrap > .elementor-top-section:nth-child(odd) li,
.elementor-section-wrap > .elementor-top-section:nth-child(odd) label {
    color: var(--theme-text-on-secondary) !important;
}

/* Text elements inside light (even) sections → black */
.elementor-section-wrap > .elementor-top-section:nth-child(even) h1,
.elementor-section-wrap > .elementor-top-section:nth-child(even) h2,
.elementor-section-wrap > .elementor-top-section:nth-child(even) h3,
.elementor-section-wrap > .elementor-top-section:nth-child(even) h4,
.elementor-section-wrap > .elementor-top-section:nth-child(even) h5,
.elementor-section-wrap > .elementor-top-section:nth-child(even) h6,
.elementor-section-wrap > .elementor-top-section:nth-child(even) p,
.elementor-section-wrap > .elementor-top-section:nth-child(even) span,
.elementor-section-wrap > .elementor-top-section:nth-child(even) em,
.elementor-section-wrap > .elementor-top-section:nth-child(even) li,
.elementor-section-wrap > .elementor-top-section:nth-child(even) label {
    color: var(--theme-text-on-primary) !important;
}

/* ─── Neutralise Elementor overlays site-wide ───────────────── */
.elementor-background-overlay {
    background: transparent !important;
    opacity: 0 !important;
}

/* ─── Hero section: restore dark overlay for bg image ───────── */
.elementor-element-6bea8fc8 > .elementor-background-overlay {
    background-color: var(--theme-hero-overlay) !important;
    background:       var(--theme-hero-overlay) !important;
    opacity:          var(--theme-hero-overlay-opacity) !important;
}

/* ─── Header / footer ───────────────────────────────────────── */
.hfg_header {
    background-color: var(--theme-chrome) !important;
}

/* Footer: dark gradient, overrides chrome */
.site-footer {
    background: var(--theme-secondary-gradient) !important;
    color: var(--theme-text-on-secondary) !important;
    padding: 0 !important;
}

/* Footer grid layout */
.site-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 32px 24px;
}

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

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

.footer-brand p {
    color: rgba(255,255,255,0.75) !important;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 8px;
}

.footer-col h4 {
    color: var(--theme-primary) !important;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 6px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.75) !important;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: var(--theme-primary) !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 20px;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6) !important;
    font-size: 0.85rem;
    margin: 0;
}

.footer-bottom a {
    color: var(--theme-primary) !important;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.footer-pattupol {
    margin-top: 8px !important;
    font-size: 0.78rem !important;
    font-style: italic;
    letter-spacing: 0.03em;
}

.footer-pattupol a {
    color: rgba(253,199,40,0.8) !important;
    border-bottom: 1px solid rgba(253,199,40,0.35);
}

/* ─── Home page hero images: staggered zoomIn on load ───────── */
.elementor-element-3d289969,
.elementor-element-6039d120,
.elementor-element-2b96d326 {
    visibility: visible !important;
}
.elementor-element-3d289969 { animation: zoomIn 0.6s ease-out 0.1s  both !important; }
.elementor-element-6039d120 { animation: zoomIn 0.6s ease-out 0.35s both !important; }
.elementor-element-2b96d326 { animation: zoomIn 0.6s ease-out 0.6s  both !important; }

/* Centre image: fully opaque at rest */
.elementor-element-6039d120 img {
    opacity: 1 !important;
    filter: brightness(1) !important;
    transform: scale(1);
    transition: transform 0.35s ease, filter 0.35s ease !important;
}

/* Side images: slightly dimmed at rest */
.elementor-element-3d289969 img,
.elementor-element-2b96d326 img {
    opacity: 0.6 !important;
    filter: brightness(0.8) !important;
    transform: scale(1);
    transition: transform 0.35s ease, filter 0.35s ease, opacity 0.35s ease !important;
}

/* All three: brighten and zoom on hover */
.elementor-element-3d289969 img:hover,
.elementor-element-6039d120 img:hover,
.elementor-element-2b96d326 img:hover {
    opacity: 1 !important;
    filter: brightness(1.25) !important;
    transform: scale(1.08) !important;
}

/* ─── Guru: layout, alignment, text colour ───────────────────── */

/* First text widget: black font — 3-class chain to match odd-section specificity (0,3,0) */
.elementor-page-636 .elementor-element-b050c0f.elementor-widget p,
.elementor-page-636 .elementor-element-b050c0f.elementor-widget span,
.elementor-page-636 .elementor-element-b050c0f.elementor-widget em,
.elementor-page-636 .elementor-element-b050c0f.elementor-widget {
    color: #000000 !important;
}

/* Both text widget containers: margin + padding */
.elementor-element-b050c0f > .elementor-widget-container,
.elementor-element-7de751c > .elementor-widget-container {
    margin: 24px 32px !important;
    padding: 24px !important;
    border-radius: 8px;
}

/* Image widget in section 1: reset the -20px overflow margins so image stays inside column */
.elementor-element-f050495 > .elementor-widget-container {
    margin: 0 !important;
    padding: 0 !important;
}
.elementor-element-f050495 img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block;
    object-fit: cover;
}

/* Section 1 columns: image 40%, text 60% */
.elementor-element-441258e {
    width: 40% !important;
    flex: 0 0 40% !important;
    max-width: 40% !important;
}
.elementor-element-053c723 {
    width: 60% !important;
    flex: 0 0 60% !important;
    max-width: 60% !important;
}

/* Section 2 columns: text 60%, image 40% */
.elementor-element-8a81639 {
    width: 60% !important;
    flex: 0 0 60% !important;
    max-width: 60% !important;
}
.elementor-element-3093aad {
    width: 40% !important;
    flex: 0 0 40% !important;
    max-width: 40% !important;
}

/* Section 2 image: fill column */
.elementor-element-886d410 > .elementor-widget-container {
    margin: 0 !important;
    padding: 0 !important;
}
.elementor-element-886d410 img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block;
    object-fit: cover;
}

/* ─── FAQ: uniform dark bg so Q/A boxes both have contrast ──── */
.elementor-page-1066 .elementor-section-wrap > .elementor-top-section {
    background: var(--theme-secondary-gradient) !important;
}

/* FAQ: all section-level text white (sections are all dark) */
.elementor-page-1066 .elementor-section-wrap > .elementor-top-section p,
.elementor-page-1066 .elementor-section-wrap > .elementor-top-section span,
.elementor-page-1066 .elementor-section-wrap > .elementor-top-section h1,
.elementor-page-1066 .elementor-section-wrap > .elementor-top-section h2,
.elementor-page-1066 .elementor-section-wrap > .elementor-top-section h3,
.elementor-page-1066 .elementor-section-wrap > .elementor-top-section h4,
.elementor-page-1066 .elementor-section-wrap > .elementor-top-section h5,
.elementor-page-1066 .elementor-section-wrap > .elementor-top-section h6 {
    color: var(--theme-text-on-secondary) !important;
}

.elementor-page-1066 .elementor-icon-list-items {
    margin: 0;
    padding: 0;
}

/* Question row */
.elementor-page-1066 .elementor-icon-list-items li:first-child {
    background-color: var(--theme-secondary) !important;
    padding: 12px 18px !important;
    border-radius: 6px 6px 0 0;
}
.elementor-page-1066 .elementor-icon-list-items li:first-child .elementor-icon-list-text,
.elementor-page-1066 .elementor-icon-list-items li:first-child .elementor-icon-list-icon,
.elementor-page-1066 .elementor-icon-list-items li:first-child i {
    color: var(--theme-text-on-secondary) !important;
    font-weight: 600;
}

/* Answer row */
.elementor-page-1066 .elementor-icon-list-items li:nth-child(2) {
    background: var(--theme-primary) !important;
    padding: 12px 18px !important;
    border-radius: 0 0 6px 6px;
    margin-bottom: 6px;
}
.elementor-page-1066 .elementor-icon-list-items li:nth-child(2) .elementor-icon-list-text,
.elementor-page-1066 .elementor-icon-list-items li:nth-child(2) .elementor-icon-list-icon,
.elementor-page-1066 .elementor-icon-list-items li:nth-child(2) i {
    color: var(--theme-text-on-primary) !important;
}

/* ─── Shishya: images — moderate size, greyscale → colour ───── */
.elementor-page-637 .elementor-widget-image img {
    width: 65% !important;
    max-width: 65% !important;
    height: auto !important;
    display: block;
    margin: 0 auto;
    filter: grayscale(100%);
    transition: filter 0.4s ease !important;
}
.elementor-page-637 .elementor-widget-image img:hover {
    filter: grayscale(0%) !important;
}

/* Shishya: larger text */
.elementor-page-637 .elementor-widget-heading .elementor-heading-title {
    font-size: 2.2rem !important;
}
.elementor-page-637 .elementor-widget-text-editor,
.elementor-page-637 .elementor-widget-text-editor p {
    font-size: 1.2rem !important;
    line-height: 1.75 !important;
}
