/*
Theme Name:        Kelir Tamil Academy
Theme URI:         https://kelirtamilacademy.com
Author:            Kelir Tamil Academy
Author URI:        https://kelirtamilacademy.com
Description:       A minimal editorial child theme for Kelir Tamil Academy, built on Hello Elementor. Designed for a modern Tamil educational publisher. Fully compatible with Elementor 3.x and WordPress 6.5+.
Version:           1.0.0
Requires at least: 6.0
Tested up to:      6.5
Requires PHP:      7.4
Template:          hello-elementor
License:           GNU General Public License v2 or later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       kelir-child
Tags:              education, elementor, minimal, editorial, one-column, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ═══════════════════════════════════════════════════════════════
   DESIGN TOKENS — CSS CUSTOM PROPERTIES
   These map to Elementor Global Colours. Set matching values in
   Elementor → Site Settings → Global Colours for full integration.
═══════════════════════════════════════════════════════════════ */
:root {
  /* Brand Colours */
  --kelir-navy:        #1E2B5E;
  --kelir-navy-mid:    #263570;
  --kelir-blue:        #3AAEDC;
  --kelir-blue-dk:     #2A8DB8;
  --kelir-blue-pale:   #E8F5FB;
  --kelir-sage-pale:   #EFF4ED;
  --kelir-off-white:   #F7F5F1;
  --kelir-sand:        #FAF7F4;
  --kelir-white:       #FFFFFF;
  --kelir-text-dark:   #1A1A2E;
  --kelir-text-mid:    #4A4A6A;
  --kelir-text-light:  #8A8AAA;
  --kelir-border:      #E2DED8;

  /* Typography */
  --kelir-font-heading: 'Lora', Georgia, serif;
  --kelir-font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --kelir-container:   1200px;
  --kelir-section-pad: 96px 64px;
}

/* ═══════════════════════════════════════════════════════════════
   BASE RESET
   Only resets that do not conflict with Elementor's layout engine.
═══════════════════════════════════════════════════════════════ */
html { scroll-behavior: smooth; }

body {
  font-family: var(--kelir-font-body);
  color: var(--kelir-text-dark);
  background-color: var(--kelir-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--kelir-font-heading);
  color: var(--kelir-navy);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

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

/* ═══════════════════════════════════════════════════════════════
   ELEMENTOR COMPATIBILITY
   These rules ensure Kelir styles do NOT conflict with Elementor's
   layout system (flexbox/grid containers, column widths, etc.)
═══════════════════════════════════════════════════════════════ */

/* Respect Elementor's boxed container max-width */
.elementor-section.elementor-section-boxed > .elementor-container,
.e-con.e-con--boxed {
  max-width: var(--kelir-container);
}

/* Do not override Elementor column padding — use widget padding instead */
.elementor-column > .elementor-widget-wrap {
  /* intentionally empty — let Elementor control column padding */
}

/* Prevent margin collapse issues inside Elementor widgets */
.elementor-widget-container > *:first-child { margin-top: 0; }
.elementor-widget-container > *:last-child  { margin-bottom: 0; }

/* ═══════════════════════════════════════════════════════════════
   TOPBAR
═══════════════════════════════════════════════════════════════ */
.kelir-topbar {
  background: var(--kelir-navy);
  padding: 9px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  position: relative;
  z-index: 200;
}

.kelir-topbar__msg {
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.kelir-topbar__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--kelir-blue);
  flex-shrink: 0;
  animation: kelir-pulse 2s ease-in-out infinite;
}

@keyframes kelir-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(1.4); }
}

.kelir-topbar__links {
  display: flex;
  gap: 20px;
}

.kelir-topbar__links a {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.kelir-topbar__links a:hover { color: #fff; }

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION — Hello Elementor Header
═══════════════════════════════════════════════════════════════ */
.site-header,
.elementor-location-header {
  background: var(--kelir-white) !important;
  box-shadow: 0 2px 20px rgba(30,43,94,0.07);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled,
.elementor-location-header.scrolled {
  box-shadow: 0 2px 24px rgba(30,43,94,0.12);
}

/* Logo */
.kelir-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.kelir-logo-wrap img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  border-radius: 6px;
}

.kelir-logo-tamil {
  font-family: var(--kelir-font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--kelir-navy);
  display: block;
  line-height: 1.2;
}

.kelir-logo-sub {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--kelir-blue-dk);
  display: block;
}

/* Nav menu links */
.elementor-nav-menu--main .elementor-item {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--kelir-text-mid) !important;
  padding: 8px 16px !important;
  border-radius: 6px !important;
  transition: background 0.2s, color 0.2s !important;
}

.elementor-nav-menu--main .elementor-item:hover,
.elementor-nav-menu--main .elementor-item.elementor-item-active {
  background: var(--kelir-off-white) !important;
  color: var(--kelir-navy) !important;
}

/* CTA button in nav */
.kelir-nav-cta .elementor-button,
.kelir-nav-cta a.elementor-button {
  background: var(--kelir-blue) !important;
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: 7px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  box-shadow: 0 4px 14px rgba(58,174,220,0.3) !important;
  border: none !important;
  transition: background 0.2s, transform 0.15s !important;
}

.kelir-nav-cta .elementor-button:hover {
  background: var(--kelir-blue-dk) !important;
  transform: translateY(-1px) !important;
}

/* ═══════════════════════════════════════════════════════════════
   GLOBAL BUTTON CLASSES
   Apply these CSS classes in Elementor Button widget → Advanced → CSS Classes
═══════════════════════════════════════════════════════════════ */

/* Primary blue button */
.kelir-btn-blue.elementor-button,
a.kelir-btn-blue {
  background: var(--kelir-blue) !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  padding: 14px 28px !important;
  box-shadow: 0 4px 18px rgba(58,174,220,0.35) !important;
  border: none !important;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s !important;
}

.kelir-btn-blue.elementor-button:hover {
  background: var(--kelir-blue-dk) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(58,174,220,0.4) !important;
}

/* Outline button */
.kelir-btn-outline.elementor-button,
a.kelir-btn-outline {
  background: var(--kelir-white) !important;
  color: var(--kelir-navy) !important;
  border: 1.5px solid var(--kelir-border) !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  padding: 14px 24px !important;
  transition: border-color 0.2s, background 0.2s !important;
  box-shadow: none !important;
}

.kelir-btn-outline.elementor-button:hover {
  border-color: var(--kelir-navy) !important;
  background: var(--kelir-off-white) !important;
}

/* White button (for dark backgrounds) */
.kelir-btn-white.elementor-button,
a.kelir-btn-white {
  background: #fff !important;
  color: var(--kelir-blue-dk) !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  padding: 14px 28px !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12) !important;
  border: none !important;
  transition: transform 0.15s, box-shadow 0.2s !important;
}

.kelir-btn-white.elementor-button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.16) !important;
}

/* Ghost white button (for dark backgrounds) */
.kelir-btn-ghost-white.elementor-button,
a.kelir-btn-ghost-white {
  background: transparent !important;
  color: #fff !important;
  border: 2px solid rgba(255,255,255,0.45) !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  padding: 14px 28px !important;
  transition: border-color 0.2s, background 0.2s !important;
  box-shadow: none !important;
}

.kelir-btn-ghost-white.elementor-button:hover {
  border-color: #fff !important;
  background: rgba(255,255,255,0.1) !important;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION TYPOGRAPHY HELPERS
   Apply as CSS Classes in Elementor Heading/Text widgets
═══════════════════════════════════════════════════════════════ */

.kelir-eyebrow {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: var(--kelir-blue) !important;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.kelir-eyebrow::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--kelir-blue);
  flex-shrink: 0;
}

.kelir-section-title {
  font-size: clamp(28px, 3vw, 42px) !important;
  font-weight: 700 !important;
  color: var(--kelir-navy) !important;
  line-height: 1.15 !important;
  margin-bottom: 14px !important;
}

.kelir-section-desc {
  font-size: 15px !important;
  color: var(--kelir-text-mid) !important;
  line-height: 1.8 !important;
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
   Section CSS Class: kelir-hero
═══════════════════════════════════════════════════════════════ */
.kelir-hero {
  background: linear-gradient(135deg, #EDF5FA 0%, #EFF4ED 55%, #F7F5F1 100%);
  min-height: 90vh;
  position: relative;
  overflow: hidden;
}

.kelir-hero::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(58,174,220,0.09) 0%, transparent 65%);
  top: -150px;
  right: -150px;
  pointer-events: none;
  z-index: 0;
}

.kelir-hero > .elementor-container,
.kelir-hero > .e-con-inner {
  position: relative;
  z-index: 1;
}

/* Hero badge pill */
.kelir-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--kelir-white);
  border: 1px solid var(--kelir-border);
  border-radius: 30px;
  padding: 6px 14px;
  margin-bottom: 28px;
  box-shadow: 0 2px 10px rgba(30,43,94,0.06);
  font-size: 12px;
  font-weight: 600;
  color: var(--kelir-text-mid);
}

.kelir-hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--kelir-blue);
  flex-shrink: 0;
}

/* Hero heading */
.kelir-hero-title {
  font-size: clamp(38px, 4.2vw, 58px) !important;
  font-weight: 700 !important;
  color: var(--kelir-navy) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 22px !important;
}

.kelir-hero-title em,
.kelir-hero-title .kelir-accent {
  color: var(--kelir-blue);
  font-style: italic;
}

/* Hero image */
.kelir-hero-img img {
  border-radius: 20px 20px 0 0;
  object-fit: cover;
  width: 100%;
}

/* Floating info cards */
.kelir-float-card {
  background: var(--kelir-white);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(30,43,94,0.13);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: kelir-float 4s ease-in-out infinite;
}

.kelir-float-card--delayed {
  animation-delay: -2s;
}

@keyframes kelir-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}

.kelir-float-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kelir-float-icon--blue { background: var(--kelir-blue-pale); }
.kelir-float-icon--sage { background: var(--kelir-sage-pale); }

.kelir-float-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--kelir-navy);
  display: block;
}

.kelir-float-sub {
  font-size: 11px;
  color: var(--kelir-text-light);
  display: block;
}

/* Pill tags */
.kelir-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--kelir-white);
  border: 1px solid var(--kelir-border);
  border-radius: 30px;
  padding: 6px 13px;
  font-size: 12px;
  font-weight: 600;
  color: var(--kelir-text-mid);
  box-shadow: 0 1px 6px rgba(30,43,94,0.05);
}

.kelir-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--kelir-blue);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   MARQUEE STRIP
   Section CSS Class: kelir-marquee
═══════════════════════════════════════════════════════════════ */
.kelir-marquee {
  background: var(--kelir-navy);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}

.kelir-marquee__inner {
  display: inline-flex;
  animation: kelir-marquee-scroll 30s linear infinite;
}

.kelir-marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 32px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kelir-marquee__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--kelir-blue);
  flex-shrink: 0;
}

@keyframes kelir-marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT / OVERVIEW SECTION
   Section CSS Class: kelir-about
═══════════════════════════════════════════════════════════════ */
.kelir-about {
  background: var(--kelir-off-white);
}

.kelir-about-img img {
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(30,43,94,0.12);
  width: 100%;
  height: 480px;
  object-fit: cover;
}

/* Badge overlay on image */
.kelir-about-badge {
  background: var(--kelir-navy);
  color: #fff;
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: 0 8px 28px rgba(30,43,94,0.2);
  display: inline-block;
}

.kelir-about-badge__num {
  font-family: var(--kelir-font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--kelir-blue);
  line-height: 1;
  display: block;
}

.kelir-about-badge__label {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
  display: block;
}

/* Approach cards */
.kelir-approach-card {
  background: var(--kelir-white);
  border: 1px solid var(--kelir-border);
  border-radius: 12px;
  padding: 20px;
  height: 100%;
  transition: box-shadow 0.2s, transform 0.2s;
}

.kelir-approach-card:hover {
  box-shadow: 0 6px 20px rgba(30,43,94,0.08);
  transform: translateY(-2px);
}

.kelir-approach-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.kelir-approach-icon--blue  { background: var(--kelir-blue-pale); }
.kelir-approach-icon--sage  { background: var(--kelir-sage-pale); }
.kelir-approach-icon--peach { background: #FFF3E8; }
.kelir-approach-icon--lilac { background: #F0EAFF; }

.kelir-approach-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--kelir-navy);
  margin-bottom: 5px;
}

.kelir-approach-card p {
  font-size: 12px;
  color: var(--kelir-text-mid);
  line-height: 1.6;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   RESOURCE CARDS
   Apply CSS class kelir-res-card to Elementor widget wrapper
═══════════════════════════════════════════════════════════════ */
.kelir-res-card {
  background: var(--kelir-white);
  border: 1px solid var(--kelir-border);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.2s;
  height: 100%;
}

.kelir-res-card:hover {
  box-shadow: 0 16px 48px rgba(30,43,94,0.12);
  transform: translateY(-5px);
}

.kelir-res-cover {
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.kelir-res-cover--green { background: linear-gradient(145deg, #C8D5C0, #B0C2A8); }
.kelir-res-cover--blue  { background: linear-gradient(145deg, #A8CEDE, #88B8CC); }
.kelir-res-cover--sand  { background: linear-gradient(145deg, #D8CCBE, #C8BCAE); }

.kelir-res-book {
  width: 130px;
  height: 175px;
  border-radius: 3px 10px 10px 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  text-align: center;
  box-shadow: -6px 6px 20px rgba(0,0,0,0.18), inset -3px 0 10px rgba(0,0,0,0.08);
  position: relative;
  transition: transform 0.3s;
}

.kelir-res-card:hover .kelir-res-book {
  transform: rotate(-2deg) scale(1.04);
}

.kelir-res-book::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 14px;
  background: rgba(0,0,0,0.15);
  border-radius: 3px 0 0 3px;
}

.kelir-res-book--green { background: #A8B8A0; }
.kelir-res-book--blue  { background: #88B8CC; }
.kelir-res-book--sand  { background: #C0A888; }

.kelir-res-book-title {
  font-family: var(--kelir-font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--kelir-navy);
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

.kelir-res-tags {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
}

.kelir-res-tag {
  background: rgba(255,255,255,0.9);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 700;
  color: var(--kelir-navy);
}

.kelir-res-body { padding: 24px 24px 28px; }

.kelir-res-body h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--kelir-navy);
  margin-bottom: 10px;
  line-height: 1.35;
}

.kelir-res-body p {
  font-size: 13px;
  color: var(--kelir-text-mid);
  line-height: 1.75;
  margin-bottom: 18px;
}

.kelir-res-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--kelir-border);
}

.kelir-res-level {
  font-size: 11px;
  font-weight: 600;
  color: var(--kelir-text-light);
}

.kelir-res-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--kelir-blue);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s, gap 0.2s;
}

.kelir-res-link:hover {
  color: var(--kelir-blue-dk);
  gap: 8px;
}

/* ═══════════════════════════════════════════════════════════════
   WHY KELIR SECTION
   Section CSS Class: kelir-why
═══════════════════════════════════════════════════════════════ */
.kelir-why {
  background: var(--kelir-off-white);
}

.kelir-blockquote {
  font-family: var(--kelir-font-heading);
  font-size: 18px;
  font-style: italic;
  color: var(--kelir-navy);
  line-height: 1.75;
  padding: 22px 26px;
  background: var(--kelir-blue-pale);
  border-left: 4px solid var(--kelir-blue);
  border-radius: 0 10px 10px 0;
  margin: 28px 0;
}

/* Numbered steps */
.kelir-step {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--kelir-border);
}

.kelir-step:last-child { border-bottom: none; }

.kelir-step-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--kelir-navy);
  color: #fff;
  font-family: var(--kelir-font-heading);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kelir-step-content h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--kelir-navy);
  margin-bottom: 5px;
}

.kelir-step-content p {
  font-size: 13px;
  color: var(--kelir-text-mid);
  line-height: 1.65;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   TESTIMONIAL SECTION
   Section CSS Class: kelir-testi
═══════════════════════════════════════════════════════════════ */
.kelir-testi {
  background: linear-gradient(135deg, var(--kelir-navy) 0%, #263570 100%);
}

.kelir-testi-card {
  background: var(--kelir-white);
  border-radius: 18px;
  padding: 38px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.kelir-testi-stars {
  color: #F5A623;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.kelir-testi-quote {
  font-family: var(--kelir-font-heading);
  font-size: 16px;
  font-style: italic;
  color: var(--kelir-navy);
  line-height: 1.8;
  margin-bottom: 28px;
}

.kelir-testi-quote::before {
  content: '\201C';
  font-size: 52px;
  color: var(--kelir-blue);
  line-height: 0;
  vertical-align: -0.35em;
  margin-right: 4px;
}

.kelir-testi-person {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--kelir-border);
  flex-wrap: wrap;
}

.kelir-testi-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--kelir-blue-pale), var(--kelir-sage-pale));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--kelir-font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--kelir-navy);
  flex-shrink: 0;
}

.kelir-testi-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--kelir-navy);
  display: block;
}

.kelir-testi-role {
  font-size: 12px;
  color: var(--kelir-text-light);
  display: block;
}

.kelir-testi-badge {
  background: var(--kelir-blue-pale);
  border: 1px solid rgba(58,174,220,0.3);
  color: var(--kelir-blue-dk);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
  margin-left: auto;
}

/* ═══════════════════════════════════════════════════════════════
   CTA BANNER SECTION
   Inner div CSS Class: kelir-cta-inner
═══════════════════════════════════════════════════════════════ */
.kelir-cta-inner {
  background: linear-gradient(135deg, var(--kelir-blue) 0%, var(--kelir-blue-dk) 100%);
  border-radius: 20px;
  padding: 72px 80px;
  position: relative;
  overflow: hidden;
}

.kelir-cta-inner::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 65%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.kelir-cta-inner h2 {
  font-size: clamp(24px, 2.5vw, 34px) !important;
  font-weight: 700 !important;
  color: #fff !important;
  line-height: 1.2 !important;
  margin-bottom: 10px !important;
}

.kelir-cta-inner p {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.site-footer,
.elementor-location-footer {
  background: var(--kelir-text-dark) !important;
}

.kelir-footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.38);
  line-height: 1.75;
  max-width: 230px;
}

.kelir-footer-col h5 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 18px;
}

.kelir-footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
  display: block;
  margin-bottom: 10px;
}

.kelir-footer-col a:hover { color: #fff; }

.kelir-social-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.kelir-social-btn:hover { background: rgba(58,174,220,0.2); }

.kelir-footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin: 48px 0 24px;
}

.kelir-footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}

.kelir-footer-bottom a {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  transition: color 0.2s;
}

.kelir-footer-bottom a:hover { color: rgba(255,255,255,0.6); }

/* ═══════════════════════════════════════════════════════════════
   SCROLL-REVEAL ANIMATION CLASSES
   Add these to Elementor column/widget Advanced → CSS Classes
═══════════════════════════════════════════════════════════════ */
.kelir-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.kelir-reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.kelir-reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.kelir-reveal.is-visible,
.kelir-reveal-left.is-visible,
.kelir-reveal-right.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

.kelir-delay-1 { transition-delay: 0.1s; }
.kelir-delay-2 { transition-delay: 0.2s; }
.kelir-delay-3 { transition-delay: 0.3s; }
.kelir-delay-4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .kelir-cta-inner { padding: 48px 40px; }
  .kelir-about-img img { height: 380px; }
}

@media (max-width: 768px) {
  .kelir-topbar { padding: 9px 20px; flex-direction: column; gap: 6px; text-align: center; }
  .kelir-hero-title { font-size: 32px !important; }
  .kelir-cta-inner { padding: 40px 28px; border-radius: 14px; }
  .kelir-testi-card { padding: 28px; }
  .kelir-float-card { display: none; }
  .kelir-about-img img { height: 280px; }
  .kelir-marquee__item { padding: 0 20px; font-size: 11px; }
}

@media (max-width: 480px) {
  .kelir-cta-inner { padding: 32px 20px; }
  .kelir-testi-badge { margin-left: 0; margin-top: 8px; }
}
