/* ===================================
   Global Styles & Reset
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors - ONLY using specified colors */
    --primary-red: #cb0c0c;
    --dark-red: #952624;
    
    /* Derived shades from primary colors for variety */
    --red-light: #e03838;
    --red-lighter: #ff6b6b;
    --red-dark: #7a1d1d;
    --red-darker: #4a0e0e;
    
    /* Neutral colors */
    --white: #ffffff;
    --off-white: #fafafa;
    --light-gray: #f5f5f5;
    --gray: #e0e0e0;
    --dark-gray: #9e9e9e;
    --text-dark: #081727;
    --text-medium: #4a4a4a;
    --text-light: #757575;
    
    /* Background colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f0f0f0;
    
    /* Shadow colors */
    --shadow-sm: rgba(149, 38, 36, 0.08);
    --shadow-md: rgba(149, 38, 36, 0.12);
    --shadow-lg: rgba(149, 38, 36, 0.16);
    --shadow-xl: rgba(149, 38, 36, 0.24);
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-round: 50%;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}
 
.insbanner {
    position: relative;
    background: linear-gradient(135deg, #cb0c0c 0%, #952624 50%, #7a1f1d 100%);
    padding: 40px 0 40px;
    overflow: hidden;
  
}

/* Decorative Overlay - Enhanced Geometric Patterns */
.decorative-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.decorative-overlay::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 45%;
    height: 200%;
    background: linear-gradient(45deg, rgba(229, 112, 110, 0.3) 0%, transparent 70%);
    transform: skewY(-15deg);
    animation: slideInLeft 1s ease-out;
}

.decorative-overlay::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -5%;
    width: 40%;
    height: 150%;
    background: linear-gradient(-45deg, rgba(149, 38, 36, 0.2) 0%, transparent 60%);
    transform: skewY(10deg);
    animation: slideInRight 1s ease-out;
}

/* Floating Shapes Animation */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: 15%;
    animation-delay: 5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 5%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-30px) translateX(20px) scale(1.1);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-60px) translateX(-20px) scale(0.9);
        opacity: 0.3;
    }
    75% {
        transform: translateY(-30px) translateX(-40px) scale(1.05);
        opacity: 0.4;
    }
}

/* Header Content */
.ins-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.ins-icon {
    display: inline-block;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    animation: scaleIn 0.6s ease-out;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.ins-icon i {
    font-size: 2.5rem;
    color: #fff;
}

.ins-title {
    font-size: 2.4rem;
    font-weight: 600;
    color: #fff;  
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* .ins-underline {
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    margin: 0 auto;
    border-radius: var(--radius-full);
    animation: fadeInUp 0.8s ease-out 0.4s both;
} */

/* ===================================
   Animated Background
   =================================== */

.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #f0f0f0 100%);
}

.bg-shape {
    position: absolute;
    border-radius: var(--radius-round);
    opacity: 0.12;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--dark-red), var(--primary-red));
    top: 60%;
    right: 10%;
    animation-delay: 3s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, var(--primary-red), var(--red-light));
    bottom: 10%;
    left: 15%;
    animation-delay: 6s;
}

.shape-4 {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, var(--dark-red), var(--red-light));
    top: 30%;
    right: 25%;
    animation-delay: 9s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, -30px) rotate(90deg);
    }
    50% {
        transform: translate(-20px, 20px) rotate(180deg);
    }
    75% {
        transform: translate(20px, 30px) rotate(270deg);
    }
}


.main-title {
    font-size: 4.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
    margin-bottom: var(--spacing-sm);
    line-height: 1.1;
}
 

.deco-dot {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    border-radius: var(--radius-round);
    animation: dotPulse 2s ease-in-out infinite;
}

.deco-dot:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes dotPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

.deco-line {
    flex: 1;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), var(--dark-red), var(--primary-red));
    border-radius: 2px;
    max-width: 200px;
}
 

/* ===================================
   Search & Filter Section
   =================================== */

.srch-section {
    padding: 30px 0px 0;
    position: relative;
    z-index: 10;
}

.srch-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    box-shadow: 0 8px 30px var(--shadow-sm);
    transition: all var(--transition-medium);
    border: 1px solid #e1e1e1;
}

.srch-wrapper:focus-within {
    box-shadow: 0 12px 40px var(--shadow-lg);
    border-color: var(--primary-red);
    
}

.srch-icon {
    position: absolute;
    left: 1.5rem;
    font-size: 1.3rem;
    color: var(--text-light);
    pointer-events: none;
}

.srch-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 1rem 1rem 1rem 3.5rem;
    font-size: 1rem;
    font-family: var(--font-secondary);
    color: var(--text-dark);
    background: transparent;
}

.srch-input::placeholder {
    color: var(--text-light);
}

.srch-btn {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-medium);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.srch-btn:hover {
    transform: translateX(2px);
     
}

.filter-tags {
    display: flex;
    gap: 0.75rem;
    margin-top: var(--spacing-md);
    flex-wrap: wrap;
    justify-content: center;
}

.filter-tag {
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    border: 2px solid var(--gray);
    background: var(--white);
    color: var(--text-medium);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-secondary);
}

.filter-tag:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
    transform: translateY(-2px);
}

.filter-tag.active {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: var(--white);
    border-color: var(--primary-red);
    box-shadow: 0 4px 15px var(--shadow-md);
}

/* ===================================
   Main Content Section
   =================================== */

.main-content {
    padding: var(--spacing-lg) 0 var(--spacing-xxl) 0;
    position: relative;
}

.health-tips-column {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

/* ===================================
   Tip Cards - Modern Glassmorphism
   =================================== */

.tip-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    box-shadow: 0 4px 15px var(--shadow-sm);
    transition: all var(--transition-medium);
    border: 1px solid rgba(203, 12, 12, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    cursor: pointer;
}

/* .tip-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--primary-red), var(--dark-red));
    transition: height var(--transition-medium);
} */

.tip-card:hover {
    transform: translateY(-3px) translateX(3px);
    box-shadow: 0 12px 35px var(--shadow-md);
    background: rgba(255, 255, 255, 1);
    border-color: var(--primary-red);
}

.tip-card:hover::before {
    height: 100%;
}

.tip-card:nth-child(even) {
    animation: slideInLeft 0.6s ease-out backwards;
}

.tip-card:nth-child(odd) {
    animation: slideInRight 0.6s ease-out backwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.tip-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    transition: all var(--transition-medium);
    box-shadow: 0 4px 15px var(--shadow-md);
}

.tip-card:hover .tip-icon {
    /* transform: rotate(360deg) scale(1.1); */
    box-shadow: 0 8px 25px var(--shadow-sm);
}

.tip-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tip-link {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    position: relative;
    transition: all var(--transition-fast);
    font-family: var(--font-secondary);
    line-height: 1.4;
}

.tip-card:hover .tip-link {
    color: var(--primary-red);
}

.tip-badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(203, 12, 12, 0.1), rgba(149, 38, 36, 0.1));
    color: var(--dark-red);
    letter-spacing: 0.3px;
    text-transform: uppercase;
    align-self: flex-start;
}

/* ===================================
   Stats Section
   =================================== */

.stats-section {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    padding: var(--spacing-xl) 0;
    margin-top: var(--spacing-xxl);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 1;
}

.stat-card {
    text-align: center;
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-medium);
    position: relative;
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: var(--spacing-sm);
    opacity: 0.9;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    letter-spacing: 0.5px;
}
 

.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: var(--white);
    border: none;
    border-radius: var(--radius-round);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 8px 25px var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-medium);
    z-index: 1000;
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 12px 35px var(--shadow-xl);
}

/* ===================================
   Responsive Design - Tablet
   =================================== */

@media (max-width: 991px) and (min-width: 768px) {
    .main-title {
        font-size: 3.5rem;
    }
    .ins-title {
        font-size: 2.4rem;
    }
    
    .tip-card {
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .tip-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .tip-link {
        font-size: 1rem;
    }
    
    .filter-tags {
        justify-content: flex-start;
    }
}

/* ===================================
   Responsive Design - Mobile
   =================================== */

@media (max-width: 767px) {
    .header-section {
        padding: var(--spacing-xl) 0 var(--spacing-lg) 0;
    }
    
    .main-title {
        font-size: 2.75rem;
        letter-spacing: -1px;
    }
    
    .header-subtitle {
        font-size: 1rem;
    }
    
    .header-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
    
    .srch-section {
        padding: var(--spacing-sm) 0;
    }
    
    .srch-wrapper {
        /* flex-direction: column; */
            background: var(--white);
    border-radius: var(--radius-md);
    padding: 0.2rem 0.5rem;
    box-shadow: 0 8px 30px var(--shadow-md);
    transition: all var(--transition-medium);
    border: 2px solid #f0f0f0;
    }
    
    .srch-input {
        width: 100%;
        padding: 1rem 1rem 1rem 3.5rem;
    }
    
    .srch-btn {
        /* width: 100%; */
        justify-content: center;
                padding: 0.6rem 1rem;
    }
    
    .filter-tags {
        gap: 0.5rem;
        justify-content: flex-start;
    }
    
    .filter-tag {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .main-content {
        padding: var(--spacing-sm) 0 var(--spacing-xl) 0;
    }
        .ins-icon {
        width: 48px;
        height: 48px;
        padding: 9px;
        margin: 0;
    }
    .ins-icon i{font-size: 1.2rem;}
    .insbanner{padding: 20px 0px;}
    .health-tips-column {
        gap: var(--spacing-sm);
    }
    
    .tip-card {
        padding: var(--spacing-sm);
            gap: var(--spacing-sm);
        /* flex-direction: column; */
        align-items: flex-start;
    }
    
    .tip-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .tip-link {
        font-size: 0.95rem;
    }
    
    .tip-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.75rem;
    }
    
    .stats-section {
        padding: var(--spacing-lg) 0;
    }
    
    .stat-card {
        padding: var(--spacing-md);
    }
    
    .stat-icon {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .footer-section {
        padding: var(--spacing-xl) 0 var(--spacing-md) 0;
    }
    
    .footer-title {
        font-size: 1.5rem;
    }
    
    .footer-heading {
        margin-top: var(--spacing-md);
    }
    
    .scroll-top {
        width: 50px;
        height: 50px;
        bottom: 1.5rem;
        right: 1.5rem;
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .main-title {
        font-size: 2.25rem;
    }
    
    .header-section::before {
        width: 500px;
        height: 500px;
    }
    .ins-title {
        font-size: 1rem;
    }
    .ins-content {
    position: relative;
    z-index: 2;
    display: flex
;
    /* text-align: center; */
    gap: 1rem;
    align-items: center;
}
    .deco-line {
        max-width: 150px;
    }
    
    .tip-card {
        padding: 0.75rem;
    }
    
    .tip-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .tip-link {
        font-size: 0.9rem;
    }
    
    .srch-icon {
        left: 1rem;
        font-size: 1.1rem;
    }
    
    .srch-input {
        padding: 0.9rem 0.9rem 0.9rem 2.5rem;
        font-size: 0.95rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* ===================================
   Accessibility & Print Styles
   =================================== */

/* .tip-link:focus,
.srch-btn:focus,
.filter-tag:focus,
.social-link:focus,
.scroll-top:focus {
    outline: 3px solid var(--primary-red);
    outline-offset: 4px;
} */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media print {
    .animated-bg,
    .srch-section,
    .stats-section,
    .footer-section,
    .scroll-top {
        display: none;
    }
    
    .tip-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid var(--gray);
    }
    
    body {
        background: white;
    }
}

::selection {
    background: var(--primary-red);
    color: white;
}

::-moz-selection {
    background: var(--primary-red);
    color: white;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-red), var(--dark-red));
    border-radius: 6px;
    border: 2px solid var(--bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--dark-red), var(--primary-red));
}


/* ANIMATIONS */
 