/* ==========================================================================
   INSUFEND OFFICIAL LANDING PAGE STYLESHEET
   Theme: Vibrant Orange (Brand Logo) & Natural Green (Ingredients)
   Font: Jost
   ========================================================================== */

/* -----------------------------------------
   1. GOOGLE FONTS & ROOT VARIABLES
   ----------------------------------------- */
@import url('https://fonts.googleapis.com/css?family=Jost:100,200,300,400,500,600,700,800,900,100i,200i,300i,400i,500i,600i,700i,800i,900i&display=swap');

:root {
    /* Brand Colors extracted from the Product Bottle & References */
    --brand-orange: #E87A00;        /* InsuFend Logo Orange */
    --brand-orange-hover: #D16D00;  /* Darker Orange for Button Hovers */
    --brand-green: #2E7D32;         /* Leafy Green */
    --brand-light-green: #F4FDF8;   /* Soft Green Backgrounds */
    --brand-dark: #212529;          /* Deep Text Color */
    --brand-light: #F8F9FA;         /* Standard Light Background */
    --white: #FFFFFF;
}

body {
    font-family: 'Jost', sans-serif;
    color: var(--brand-dark);
    background-color: var(--brand-light);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* -----------------------------------------
   2. BOOTSTRAP OVERRIDES (MATCHING THE BOTTLE)
   ----------------------------------------- */
/* Make the Success text match the natural green leaves */
.text-success {
    color: var(--brand-green) !important;
}
.bg-success {
    background-color: var(--brand-green) !important;
}
.border-success {
    border-color: var(--brand-green) !important;
}

/* Turn 'Warning' buttons into the Brand's Vibrant Orange */
.btn-warning {
    background-color: var(--brand-orange) !important;
    border-color: var(--brand-orange) !important;
    color: var(--white) !important;
    text-shadow: 0px 1px 2px rgba(0,0,0,0.2);
    transition: all 0.3s ease-in-out;
}
.btn-warning:hover {
    background-color: var(--brand-orange-hover) !important;
    border-color: var(--brand-orange-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(232, 122, 0, 0.3) !important;
}

/* Outline button matching the green */
.btn-outline-success {
    color: var(--brand-green);
    border-color: var(--brand-green);
    border-width: 2px;
}
.btn-outline-success:hover {
    background-color: var(--brand-green);
    color: var(--white);
}

/* Make the main Logo Orange instead of default green */
.logo h2 {
    color: var(--brand-orange) !important;
    letter-spacing: -1px;
}

/* -----------------------------------------
   3. HEADER & NAVIGATION
   ----------------------------------------- */
.header {
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--brand-orange);
    z-index: 1050;
}
.nav-links a {
    transition: color 0.3s ease;
    font-size: 16px; /* Slightly increased for Jost font */
}
.nav-links a:hover {
    color: var(--brand-orange) !important;
}

/* -----------------------------------------
   4. MOBILE SIDEBAR MENU
   ----------------------------------------- */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background-color: var(--brand-green);
    z-index: 1060;
    transition: 0.4s ease-in-out;
    padding: 30px 20px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.2);
}
.mobile-sidebar.open {
    right: 0;
}
.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: var(--white);
    background: none;
    border: none;
    cursor: pointer;
}
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1055;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}
.sidebar-overlay.show {
    display: block;
    opacity: 1;
}

/* -----------------------------------------
   5. CUSTOM UTILITIES & ANIMATIONS
   ----------------------------------------- */
/* Hover Lift Effect for Cards */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

/* Dashed Border for Bonus Callouts */
.border-dashed {
    border-style: dashed !important;
}

/* Custom Drop Shadow for PNG/WEBP Images */
.drop-shadow {
    filter: drop-shadow(0px 10px 15px rgba(0,0,0,0.2));
}

/* Pulse Animation for Big CTA Buttons */
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(232, 122, 0, 0.7); }
    50% { transform: scale(1.03); box-shadow: 0 0 0 15px rgba(232, 122, 0, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(232, 122, 0, 0); }
}

/* Blinking Animation for Live Status */
@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}
.blink-animation {
    animation: blink 1.5s infinite ease-in-out;
}

/* -----------------------------------------
   6. SECTION SPECIFIC STYLES
   ----------------------------------------- */
/* Hero Section Enhancements */
.hero-section {
    background: linear-gradient(135deg, var(--white) 0%, var(--brand-light-green) 100%);
    position: relative;
    overflow: hidden;
}

/* Ingredients Layout styling */
.ingredients-section .rounded-circle {
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
}

/* Pricing Table Enhancements */
#pricing .shadow-lg {
    box-shadow: 0 1rem 3rem rgba(46, 125, 50, 0.15) !important;
}

/* Accordion Customization for FAQ */
.accordion-button:not(.collapsed) {
    background-color: var(--brand-light-green);
    color: var(--brand-orange);
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}
.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}

/* Make headings a bit bolder to match the image style */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

/* -----------------------------------------
   7. RESPONSIVE DESIGN TWEAKS
   ----------------------------------------- */
@media (max-width: 991px) {
    .display-5 { font-size: 2.5rem; }
    .display-6 { font-size: 2rem; }
    .hero-section { text-align: center; }
    .hero-section ul { text-align: left; display: inline-block; }
    .hero-section .d-flex.flex-sm-row { justify-content: center; }
}

@media (max-width: 768px) {
    .display-5 { font-size: 2rem; }
    .pricing-section [class*="col-"] { margin-bottom: 20px; }
    .pricing-section .shadow-lg { transform: scale(1) !important; z-index: 1; }
}

