/* ==========================================
   Lifekey Pharmaceuticals CSS Design System
   ========================================== */

:root {
    /* Color Palette derived from the Logo */
    --color-primary: #0f447a;       /* Deep Navy Blue */
    --color-primary-light: #185c9e; /* Secondary Navy Blue */
    --color-primary-dark: #0a2f55;  /* Dark Blue */
    --color-secondary: #5dba47;     /* Vivid Green */
    --color-secondary-light: #76cf60; /* Light Green Accent */
    --color-secondary-dark: #459b32;  /* Darker Green Accent */
    
    /* Neutral Palette */
    --color-bg-body: #f8fafc;
    --color-bg-card: #ffffff;
    --color-text-main: #1e293b;
    --color-text-muted: #64748b;
    --color-border: #e2e8f0;
    
    /* Layout Constants */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(15, 68, 122, 0.08), 0 4px 6px -2px rgba(15, 68, 122, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(15, 68, 122, 0.12), 0 10px 10px -5px rgba(15, 68, 122, 0.06);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg-body);
    color: var(--color-text-main);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

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

iframe {
    border: none;
}

/* Helper Utilities */
.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: #f1f5f9;
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--color-primary);
}

.divider {
    width: 60px;
    height: 4px;
    background-color: var(--color-secondary);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* Header & Nav */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    padding: 8px 0;
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-box {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    object-fit: contain;
}

.nav-menu ul {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--color-primary);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--color-primary);
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #ffffff 0%, #ebf3fc 100%);
    overflow: hidden;
}

.hero-bg-accent {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(93, 186, 71, 0.08) 0%, rgba(93, 186, 71, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-content .badge {
    display: inline-block;
    background-color: rgba(93, 186, 71, 0.15);
    color: var(--color-secondary-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-primary-dark);
    margin-bottom: 24px;
}

.hero-content h1 span {
    color: var(--color-secondary);
}

.hero-content p {
    font-size: 17px;
    color: var(--color-text-muted);
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--color-border);
    padding-top: 32px;
}

.stat-item h3 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--color-primary);
}

.stat-item p {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

.hero-image-box .image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: visible;
}

.hero-main-img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    object-fit: cover;
    max-height: 500px;
}

.floating-badge {
    position: absolute;
    bottom: 24px;
    left: -24px;
    background-color: #ffffff;
    padding: 16px 24px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid var(--color-border);
}

.floating-badge i {
    font-size: 28px;
    color: var(--color-secondary);
}

.floating-badge h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary);
}

.floating-badge p {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

/* Sections General */
.section-header {
    margin-bottom: 60px;
}

.section-header .sub-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: var(--color-primary-dark);
}

.section-header .section-desc {
    font-size: 16px;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 16px auto 0;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: flex-start;
    margin-bottom: 80px;
}

.about-info h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.about-info p {
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.mission-vision-tabs {
    margin-top: 32px;
}

.tab-headers {
    display: flex;
    border-bottom: 1px solid var(--color-border);
    gap: 16px;
    margin-bottom: 20px;
}

.tab-btn {
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    padding: 12px 16px;
    color: var(--color-text-muted);
    cursor: pointer;
    position: relative;
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    color: var(--color-primary);
}

.tab-btn.active {
    color: var(--color-primary);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-primary);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.tab-pane ul {
    padding-left: 20px;
}

.tab-pane ul li {
    position: relative;
    margin-bottom: 12px;
    color: var(--color-text-muted);
}

.tab-pane ul li::before {
    content: '•';
    color: var(--color-secondary);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.about-video-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.video-placeholder-card {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.video-placeholder-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.video-thumbnail-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.video-thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
    transition: var(--transition-smooth);
}

.video-placeholder-card:hover .video-thumbnail-img {
    transform: scale(1.05);
    opacity: 0.6;
}

.play-btn-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    color: #ffffff;
    z-index: 2;
}

.play-icon-circle {
    width: 70px;
    height: 70px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: 0 0 0 0 rgba(93, 186, 71, 0.6);
    transition: var(--transition-smooth);
    animation: pulsePlay 2s infinite;
}

.video-placeholder-card:hover .play-icon-circle {
    background-color: #ffffff;
    color: var(--color-secondary);
    transform: scale(1.1);
}

.play-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

@keyframes pulsePlay {
    0% {
        box-shadow: 0 0 0 0 rgba(93, 186, 71, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(93, 186, 71, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(93, 186, 71, 0);
    }
}

.cin-badge {
    background-color: rgba(15, 68, 122, 0.05);
    border: 1px dashed var(--color-primary);
    padding: 12px 20px;
    border-radius: var(--border-radius-sm);
    text-align: center;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 14px;
}

/* Director Box */
.director-box {
    background: linear-gradient(135deg, #0f447a 0%, #061c33 100%);
    color: #ffffff;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.director-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
}

.director-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 380px;
}

.director-content {
    padding: 48px;
    position: relative;
}

.quote-icon {
    font-size: 40px;
    color: rgba(93, 186, 71, 0.3);
    position: absolute;
    top: 24px;
    left: 48px;
}

.director-content h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 10px;
}

.director-quote {
    font-size: 16px;
    line-height: 1.8;
    font-style: italic;
    color: #e2e8f0;
    margin-bottom: 24px;
}

.director-name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-secondary-light);
}

.director-title {
    font-size: 13px;
    color: #94a3b8;
}

/* Products Section Filters */
.products-filter-wrapper {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.search-box {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.search-box input {
    width: 100%;
    padding: 16px 20px 16px 56px;
    border-radius: 50px;
    border: 1px solid var(--color-border);
    font-family: var(--font-body);
    font-size: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    outline: none;
}

.search-box input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(15, 68, 122, 0.1);
}

.search-icon {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    font-size: 18px;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.filter-btn {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    padding: 10px 20px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    color: var(--color-text-main);
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.filter-btn.active {
    background-color: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
}

.products-status {
    text-align: center;
    font-size: 15px;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    min-height: 300px;
}

.product-card {
    background-color: var(--color-bg-card);
    border-radius: var(--border-radius-md);
    padding: 24px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--color-secondary);
    opacity: 0;
    transition: var(--transition-smooth);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(15, 68, 122, 0.2);
}

.product-card:hover::before {
    opacity: 1;
}

.product-tag {
    align-self: flex-start;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.product-tag.tablets { background-color: rgba(15, 68, 122, 0.1); color: var(--color-primary); }
.product-tag.capsules { background-color: rgba(93, 186, 71, 0.15); color: var(--color-secondary-dark); }
.product-tag.liquids { background-color: #fef3c7; color: #d97706; }
.product-tag.injections { background-color: #fce7f3; color: #db2777; }
.product-tag.ointments { background-color: #e0f2fe; color: #0284c7; }
.product-tag.sachets { background-color: #e0e7ff; color: #4f46e5; }
.product-tag.other { background-color: #f1f5f9; color: #475569; }

.product-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-content {
    font-size: 14px;
    color: var(--color-text-muted);
    flex-grow: 1;
    margin-bottom: 16px;
}

.product-meta {
    border-top: 1px solid var(--color-border);
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.product-packing {
    color: var(--color-text-muted);
}

.product-mrp {
    font-weight: 700;
    color: var(--color-primary);
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
}

.page-btn {
    min-width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--color-border);
    background-color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.page-btn:hover:not(:disabled) {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.page-btn.active {
    background-color: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Loading & Empty states */
.loading-state, .empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 0;
    color: var(--color-text-muted);
    font-size: 18px;
}

.loading-state i {
    font-size: 32px;
    color: var(--color-primary);
    margin-bottom: 12px;
    display: block;
}

/* Infrastructure */
.infra-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: center;
}

.infra-image-box {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.infra-img {
    border-radius: var(--border-radius-lg);
    width: 100%;
    max-height: 450px;
    object-fit: cover;
}

.infra-overlay-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(15, 68, 122, 0.9) 0%, rgba(15, 68, 122, 0) 100%);
    padding: 32px;
    display: flex;
    gap: 32px;
    color: #ffffff;
}

.infra-stat strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-secondary-light);
}

.infra-stat span {
    font-size: 13px;
    opacity: 0.8;
}

.infra-tab-headers {
    display: flex;
    border-bottom: 1px solid var(--color-border);
    gap: 16px;
    margin-bottom: 24px;
}

.infra-tab-btn {
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    padding: 12px 16px;
    color: var(--color-text-muted);
    cursor: pointer;
    position: relative;
    transition: var(--transition-smooth);
}

.infra-tab-btn.active {
    color: var(--color-primary);
}

.infra-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-primary);
}

.infra-tab-pane {
    display: none;
}

.infra-tab-pane.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.infra-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px;
    color: var(--color-text-muted);
}

.infra-list li i {
    margin-top: 4px;
}

.capacity-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.cap-card {
    background-color: var(--color-bg-body);
    padding: 20px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--color-border);
    text-align: center;
}

.cap-card i {
    font-size: 24px;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.cap-card h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.cap-card p {
    font-size: 14px;
    color: var(--color-text-muted);
    font-weight: 600;
}

/* Certifications Section */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 30px;
}

.cert-card {
    background-color: #ffffff;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    text-align: center;
    padding-bottom: 20px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.cert-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.cert-img-box {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background-color: #f1f5f9;
}

.cert-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.cert-card:hover .cert-img-box img {
    transform: scale(1.05);
}

.cert-img-box .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 68, 122, 0.4);
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 32px;
    transition: var(--transition-smooth);
}

.cert-card:hover .overlay {
    opacity: 1;
}

.cert-card h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin: 16px 12px 6px;
}

.cert-card p {
    font-size: 12px;
    color: var(--color-text-muted);
    padding: 0 12px;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.icon-circle {
    min-width: 50px;
    height: 50px;
    background-color: rgba(93, 186, 71, 0.12);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-secondary-dark);
    font-size: 20px;
}

.info-text h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 6px;
}

.info-text p {
    font-size: 14px;
    color: var(--color-text-muted);
}

.info-text a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.contact-form-panel {
    background-color: #ffffff;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}

.contact-form-panel h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 12px;
}

.contact-form-panel p {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 6px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--color-border);
    outline: none;
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(15, 68, 122, 0.08);
}

.form-feedback {
    margin-top: 16px;
    font-size: 14px;
    text-align: center;
    border-radius: var(--border-radius-sm);
}

.form-feedback.success {
    padding: 10px;
    background-color: rgba(93, 186, 71, 0.15);
    color: var(--color-secondary-dark);
    border: 1px solid rgba(93, 186, 71, 0.3);
}

.form-feedback.error {
    padding: 10px;
    background-color: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* Footer styling */
.main-footer {
    background-color: #0c1523;
    color: #ffffff;
    padding: 80px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .footer-logo {
    height: 50px;
    object-fit: contain;
    margin-bottom: 20px;
    background-color: #ffffff;
    padding: 4px 10px;
    border-radius: 4px;
}

.footer-brand p {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 24px;
    max-width: 320px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #94a3b8;
    font-size: 15px;
    transition: var(--transition-smooth);
}

.social-icons a:hover {
    background-color: var(--color-secondary);
    color: #ffffff;
}

.footer-links h4, .footer-certifications h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #ffffff;
    position: relative;
    padding-bottom: 8px;
}

.footer-links h4::after, .footer-certifications h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-secondary);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    font-size: 14px;
    color: #94a3b8;
}

.footer-links ul li a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-cert-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-cert-badges span {
    font-size: 12px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 4px;
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: #64748b;
}

.footer-bottom-container strong {
    color: #94a3b8;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(12, 21, 35, 0.95);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.lightbox-content-box {
    max-width: 90%;
    max-height: 90%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.lightbox-title {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-top: 20px;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #94a3b8;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lightbox-close:hover {
    color: #ffffff;
}

/* Keyframes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   Lifekey Foundation Page Styles
   ========================================== */
.foundation-hero-section {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, rgba(15, 68, 122, 0.04) 0%, rgba(93, 186, 71, 0.08) 100%);
    position: relative;
    overflow: hidden;
}

.foundation-hero-content {
    max-width: 860px;
    margin: 0 auto;
}

.reg-number-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 68, 122, 0.1);
    color: var(--color-primary-dark);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(15, 68, 122, 0.2);
}

.foundation-hero-content h1 {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    color: var(--color-primary-dark);
    margin-bottom: 12px;
}

.foundation-hero-content h1 span {
    color: var(--color-secondary-dark);
}

.hero-lead {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 16px;
}

.foundation-intro {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: 36px;
}

.foundation-quick-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.foundation-stat-card {
    background: #ffffff;
    padding: 24px 16px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.foundation-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-secondary);
}

.foundation-stat-card i {
    font-size: 32px;
    color: var(--color-secondary-dark);
    margin-bottom: 10px;
}

.foundation-stat-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 4px;
}

.foundation-stat-card p {
    font-size: 13px;
    color: var(--color-text-muted);
    margin: 0;
}

/* Video Showcase on Foundation Page */
.video-display-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    padding: 16px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius-md);
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 8px 4px;
    flex-wrap: wrap;
    gap: 12px;
}

.video-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--color-primary-dark);
    font-size: 14px;
}

.youtube-icon {
    font-size: 24px;
    color: #ff0000;
}

/* Initiatives Grid */
.initiatives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.initiative-card {
    background: #ffffff;
    padding: 30px 24px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.initiative-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary-light);
}

.initiative-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(15, 68, 122, 0.08);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}

.initiative-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 10px;
}

.initiative-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin: 0;
}

/* Foundation Details Card */
.foundation-info-box {
    background: #ffffff;
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.info-content-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.gov-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.gov-list li {
    font-size: 15px;
    color: var(--color-text-main);
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.gov-list li i {
    color: var(--color-secondary-dark);
    margin-top: 4px;
}

.reg-seal-card {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    color: #ffffff;
    padding: 32px 24px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
}

.seal-icon {
    font-size: 48px;
    color: var(--color-secondary);
    margin-bottom: 12px;
}

.reg-seal-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.reg-seal-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 38px;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .floating-badge {
        left: 24px;
        bottom: -24px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .director-grid {
        grid-template-columns: 1fr;
    }
    
    .director-image img {
        max-height: 320px;
    }
    
    .infra-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-container {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 40px;
    }
    
    .footer-container > div:last-child {
        grid-column: 1 / -1;
    }

    .info-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header-container {
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: block;
        background: transparent;
        border: none;
        font-size: 22px;
        color: var(--color-primary-dark);
        cursor: pointer;
        padding: 8px 12px;
        border-radius: 6px;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        border-bottom: 3px solid var(--color-primary);
        box-shadow: 0 12px 28px rgba(0,0,0,0.15);
        display: none;
        z-index: 1000;
    }
    
    .nav-menu.open {
        display: block;
        animation: fadeIn 0.25s ease-out;
    }
    
    .nav-menu ul {
        flex-direction: column;
        padding: 16px 20px;
        gap: 8px;
    }
    
    .nav-link {
        display: block;
        padding: 10px 14px;
        border-radius: 8px;
        font-size: 15px;
        font-weight: 500;
        color: var(--color-text-main);
    }

    .nav-link:hover, .nav-link.active {
        background-color: rgba(15, 68, 122, 0.08);
        color: var(--color-primary-dark);
    }
    
    .section-header h2 {
        font-size: 26px;
    }

    .foundation-hero-section {
        padding-top: 110px;
    }

    .foundation-hero-content h1 {
        font-size: 32px;
    }

    .foundation-quick-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .category-filters {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .filter-btn {
        padding: 8px 14px;
        font-size: 13px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 16px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .stat-item {
        padding: 8px 4px;
    }

    .stat-item h3 {
        font-size: 18px;
    }

    .stat-item p {
        font-size: 11px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .video-action-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .foundation-info-box {
        padding: 24px 16px;
    }
}

