/* ============================================================
   LOFENT INDIA LIFE - COMMON CSS
   Shared styles across all pages
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
    --primary:     #14B8A6;
    --dark-teal:   #0D9488;
    --light-blue:  #E0F7FA;
    --gradient-blue: #1E3A5F;
    --dark-navy:   #0F172A;
    --white:       #FFFFFF;
    --text-dark:   #1E293B;
    --text-gray:   #64748B;
    --light-bg:    #F0F9FF;
    --lighter-bg:  #F8FAFC;
    --border:      #E2E8F0;
    --shadow-sm:   0 2px 10px rgba(0,0,0,.06);
    --shadow-md:   0 4px 20px rgba(0,0,0,.08);
    --shadow-lg:   0 8px 40px rgba(0,0,0,.12);
    --radius-sm:   8px;
    --radius-md:   12px;
    --radius-lg:   16px;
    --transition:  300ms ease;
    --font-primary:'Inter', 'Plus Jakarta Sans', sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 { line-height: 1.2; }

/* ---- Container ---- */
.lofent-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Section Spacing ---- */
.lofent-section { padding: 80px 0; }
.lofent-section-sm { padding: 60px 0; }
.lofent-section-lg { padding: 100px 0; }

/* ---- Section Headers ---- */
.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
    display: inline-block;
    font-size: 12px; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; color: var(--primary);
    margin-bottom: 12px; padding: 6px 16px;
    background: rgba(20,184,166,.1); border-radius: 99px;
}
.section-title {
    font-size: clamp(28px, 4vw, 36px); font-weight: 800;
    color: var(--text-dark); margin-bottom: 16px;
}
.section-subtitle {
    font-size: 16px; color: var(--text-gray);
    max-width: 640px; margin: 0 auto; line-height: 1.8;
}

/* ---- Backgrounds ---- */
.bg-white       { background: var(--white); }
.bg-light       { background: var(--light-bg); }
.bg-teal-grad   { background: linear-gradient(135deg, var(--gradient-blue) 0%, var(--primary) 100%); }
.bg-navy        { background: var(--dark-navy); }

/* ---- Buttons ---- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 36px; border-radius: var(--radius-md);
    font-weight: 600; font-size: 16px; cursor: pointer;
    border: 2px solid transparent;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}
.btn:hover { transform: scale(1.05); box-shadow: 0 6px 24px rgba(0,0,0,.15); }

.btn-primary {
    background: var(--primary); color: var(--white);
    border-color: var(--primary);
}
.btn-primary:hover { background: var(--dark-teal); border-color: var(--dark-teal); }

.btn-outline-teal {
    background: transparent; color: var(--primary);
    border-color: var(--primary);
}
.btn-outline-teal:hover { background: var(--primary); color: var(--white); }

.btn-white {
    background: var(--white); color: var(--primary);
    border-color: var(--white);
}
.btn-white:hover { background: var(--light-blue); }

.btn-outline-white {
    background: transparent; color: var(--white);
    border-color: var(--white);
}
.btn-outline-white:hover { background: var(--white); color: var(--primary); }

.btn-lg { padding: 16px 48px; font-size: 17px; }
.btn-sm { padding: 10px 24px; font-size: 14px; }

/* ---- Cards ---- */
.lofent-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition), box-shadow var(--transition);
}
.lofent-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ---- Icon Circle ---- */
.icon-circle {
    width: 64px; height: 64px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}
.icon-circle-light { background: var(--light-blue); color: var(--primary); }
.icon-circle-teal  { background: var(--primary); color: var(--white); }
.icon-circle-lg { width: 80px; height: 80px; }

/* ---- Grid Layouts ---- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.grid-6 { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }

/* ---- Page Hero Header ---- */
.page-hero {
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--light-blue) 100%);
    padding: 80px 0;
    text-align: center;
}
.page-hero h1 {
    font-size: clamp(36px, 5vw, 48px); font-weight: 800;
    color: var(--text-dark); margin-bottom: 12px;
}
.breadcrumb {
    display: flex; align-items: center; justify-content: center;
    gap: 8px; font-size: 14px; color: var(--text-gray);
    margin-bottom: 16px;
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { color: var(--text-gray); }
.page-hero-subtitle {
    font-size: 18px; color: var(--text-gray);
    max-width: 600px; margin: 0 auto;
}

/* ---- CTA Section (shared) ---- */
.cta-section {
    background: linear-gradient(135deg, var(--gradient-blue) 0%, var(--primary) 100%);
    padding: 100px 0; text-align: center;
}
.cta-section h2 {
    font-size: clamp(28px, 4vw, 40px); font-weight: 800;
    color: var(--white); margin-bottom: 16px;
}
.cta-section p {
    font-size: 18px; color: rgba(255,255,255,.9);
    max-width: 700px; margin: 0 auto 40px;
}
.cta-buttons {
    display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}

/* ---- Scroll Animations ---- */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-in-up:nth-child(2) { transition-delay: 0.1s; }
.fade-in-up:nth-child(3) { transition-delay: 0.2s; }
.fade-in-up:nth-child(4) { transition-delay: 0.3s; }
.fade-in-up:nth-child(5) { transition-delay: 0.4s; }
.fade-in-up:nth-child(6) { transition-delay: 0.5s; }

/* ---- Two-column image box ---- */
.diagram-box {
    background: var(--light-bg);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    min-height: 360px;
    position: relative; overflow: hidden;
}
.diagram-box img { border-radius: var(--radius-md); }
.diagram-caption {
    font-size: 14px; color: var(--text-gray);
    text-align: center; margin-top: 16px;
}

/* ---- Checklist ---- */
.checklist { list-style: none; }
.checklist li {
    display: flex; align-items: flex-start; gap: 12px;
    font-size: 16px; color: var(--text-gray);
    padding: 8px 0; border-bottom: 1px solid var(--border);
    line-height: 1.6;
}
.checklist li:last-child { border: none; }
.checklist-icon {
    color: var(--primary); font-size: 18px;
    flex-shrink: 0; margin-top: 2px;
}

/* ---- Stars ---- */
.stars { display: flex; gap: 4px; color: #F59E0B; font-size: 16px; }

/* ---- Badge ---- */
.badge {
    display: inline-block; padding: 4px 12px; border-radius: 99px;
    font-size: 12px; font-weight: 600; letter-spacing: 0.5px;
}
.badge-teal { background: var(--primary); color: var(--white); }
.badge-light { background: var(--light-blue); color: var(--primary); }

/* ---- Table ---- */
.lofent-table-wrap {
    max-width: 900px; margin: 0 auto;
    overflow-x: auto; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.lofent-table {
    width: 100%; border-collapse: collapse;
    background: var(--white);
}
.lofent-table thead th {
    background: var(--primary); color: var(--white);
    font-weight: 700; font-size: 15px;
    padding: 16px 20px; text-align: left;
}
.lofent-table thead th:first-child { border-radius: var(--radius-lg) 0 0 0; }
.lofent-table thead th:last-child  { border-radius: 0 var(--radius-lg) 0 0; }
.lofent-table tbody tr { border-bottom: 1px solid var(--border); }
.lofent-table tbody tr:nth-child(even) { background: var(--lighter-bg); }
.lofent-table tbody tr:hover { background: rgba(20,184,166,.06); }
.lofent-table tbody td {
    padding: 14px 20px; font-size: 15px;
    color: var(--text-gray); vertical-align: middle;
}
.lofent-table .check { color: var(--primary); font-weight: 700; }

/* ---- SVG Inline Icons ---- */
.icon { display: inline-block; vertical-align: middle; }

/* ---- Pulse Animation ---- */
@keyframes pulse {
    0%,100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}
@keyframes float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes shimmer {
    0%   { opacity: 0.7; }
    50%  { opacity: 1; }
    100% { opacity: 0.7; }
}
@keyframes bounceIn {
    0%   { transform: scale(0.8); opacity: 0; }
    60%  { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
}
@keyframes slideRight {
    from { transform: translateX(-100%); }
    to   { transform: translateX(100%); }
}
@keyframes ripple {
    from { transform: scale(0); opacity: 1; }
    to   { transform: scale(2.5); opacity: 0; }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2,1fr); }
    .grid-6 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
    .lofent-section { padding: 60px 0; }
    .lofent-section-lg { padding: 80px 0; }
    .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; }
    .grid-3 { gap: 24px; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .btn-lg { padding: 14px 32px; font-size: 16px; }
}
@media (max-width: 480px) {
    .lofent-container { padding: 0 16px; }
    .section-title { font-size: 26px; }
    .lofent-card { padding: 24px; }
}
