/* ============================================================
   HOME PAGE — Professional Typography & Layout
   Font stack: Poppins (headings) + Inter (body)
   Both loaded via theme header. Falls back to system sans-serif.
   ============================================================ */

/* ── Global page font for home sections ── */
.hero-section,
.about-section,
#hero, #about {
    font-family: 'Inter', 'Poppins', system-ui, -apple-system, sans-serif;
}

/* ── Headings use Poppins ── */
.hero-heading,
.about-section h2,
.about-section h3,
.about-section h4,
.about-section h5 {
    font-family: 'Poppins', system-ui, sans-serif;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

/* ── Body / description text use Inter ── */
.hero-description p,
.about-content p,
.about-highlight p {
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.7;
    color: #495057;
}

/* ============================================================
   HERO SECTION
   ============================================================ */

/* Hero main heading */
.hero-heading {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.2;
    animation: slideInUp 0.9s ease-out 0.3s both;
}

.hero-heading span:first-child {
    display: block;
    color: #343a40;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 1rem;
}

.hero-gradient-text {
    background: linear-gradient(135deg, #FFD93D, #FF8C00, #FF6B6B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
}

.hero-gradient-text div {
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FFD93D, #FF8C00);
    border-radius: 2px;
    animation: expandWidth 1.8s ease-out 1.5s both;
}

/* Hero description */
.hero-description {
    animation: slideInUp 0.9s ease-out 0.6s both;
}

.hero-description p {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    font-weight: 400;
    color: #6c757d;
}

/* Hero icon */
.hero-icon {
    font-size: 2.25rem;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53, #FFD93D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.12));
    animation: heroPulse 2.5s ease-in-out infinite;
}

/* Hero CTA buttons */
.hero-buttons {
    animation: slideInUp 0.9s ease-out 0.9s both;
}

.btn-primary-custom {
    background: linear-gradient(135deg, #4776E6, #8E54E9);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.925rem;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    box-shadow: 0 6px 20px rgba(71, 118, 230, 0.3);
    transition: all 0.25s ease;
}
.btn-primary-custom:hover {
    background: linear-gradient(135deg, #3a65d4, #7a45d5);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(71, 118, 230, 0.4);
}

.btn-warning-custom {
    background: linear-gradient(135deg, #FF8C00, #FFD93D);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.925rem;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.3);
    transition: all 0.25s ease;
}
.btn-warning-custom:hover {
    background: linear-gradient(135deg, #e07d00, #f0c820);
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline-custom {
    background: rgba(108, 117, 125, 0.07);
    border: 1.5px solid rgba(108, 117, 125, 0.25);
    backdrop-filter: blur(8px);
    color: #495057;
    font-family: 'Poppins', sans-serif;
    font-size: 0.925rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.25s ease;
}
.btn-outline-custom:hover {
    background: rgba(108, 117, 125, 0.14);
    color: #343a40;
}

/* ============================================================
   LOGO DIVIDER
   ============================================================ */
.logo-divider {
    animation: slideInDown 0.8s ease-out;
}
.logo-divider-line {
    flex: 1;
    height: 2px;
    max-width: 100px;
    background: linear-gradient(to right, rgba(108, 117, 125, 0) 0%, rgba(108, 117, 125, 0.35) 100%);
    margin-right: 1rem;
}
.logo-divider-line.reverse {
    background: linear-gradient(to left, rgba(108, 117, 125, 0) 0%, rgba(108, 117, 125, 0.35) 100%);
    margin-left: 1rem;
}
.logo-box {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 1rem;
    border: 1px solid rgba(108, 117, 125, 0.15);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.logo-img {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08));
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
    background-color: #f8f9fa;
}

.about-section h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: #212529;
}

.about-section h3 {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 700;
}

.about-section h4 {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 700;
}

.about-section h5 {
    font-size: 1rem;
    font-weight: 600;
}

.about-section p,
.about-section .lead {
    font-size: clamp(0.9rem, 1.6vw, 1.05rem);
}

.divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #4f6bff, #8a4fff);
    border-radius: 2px;
    margin-top: 0.75rem;
}

.about-content {
    background-color: #fff;
    border: 1px solid #e9ecef;
}

.feature-list .feature-icon {
    background-color: rgba(79, 107, 255, 0.1);
    padding: 10px;
    border-radius: 10px;
    flex-shrink: 0;
}

.about-highlight.bg-gradient-primary {
    background: linear-gradient(135deg, #4f6bff 0%, #8a4fff 100%);
}

.highlight-box {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    border: none;
}

/* ============================================================
   CAROUSEL / DEMO
   ============================================================ */
.demo-img-patten-top,
.demo-img-patten-bottom {
    display: none;
}
@media (min-width: 576px) {
    .demo-img-patten-top,
    .demo-img-patten-bottom {
        display: block;
    }
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */
@media (max-width: 768px) {
    .hero-heading {
        font-size: 2rem;
    }
    .hero-description p {
        font-size: 0.95rem;
    }
    .btn-primary-custom,
    .btn-warning-custom,
    .btn-outline-custom {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
}

/* ============================================================
   KEYFRAME ANIMATIONS
   ============================================================ */
@keyframes slideInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideInDown {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes expandWidth {
    from { transform: scaleX(0); transform-origin: left; }
    to   { transform: scaleX(1); transform-origin: left; }
}

@keyframes heroPulse {
    0%, 100% { filter: drop-shadow(0 2px 6px rgba(255, 110, 50, 0.2)); }
    50%       { filter: drop-shadow(0 4px 12px rgba(255, 110, 50, 0.45)); }
}
