:root {
    --primary-color: #00A86B;
    /* Jade Green - Manulife vibe but santuy */
    --primary-dark: #008f5a;
    --secondary-color: #333333;
    --text-color: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --card-bg: #ffffff;
    --accent-yellow: #fbbf24;
    --gradient-primary: linear-gradient(135deg, #00A86B 0%, #34d399 100%);
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img,
svg {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* Prevent icon squash */
.icon,
.social-icon-box,
.feature-icon,
.service-icon {
    flex-shrink: 0;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--secondary-color);
    text-decoration: none;
}

.highlight {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s;
}

/* Search Box */
.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box input {
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #f1f5f9;
    font-family: var(--font-body);
    font-size: 0.9rem;
    width: 200px;
    transition: all 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 168, 107, 0.1);
}

.search-box .search-icon {
    position: absolute;
    left: 10px;
    font-size: 0.9rem;
    opacity: 0.5;
}

/* Updated Buttons */
.btn-primary {
    background: var(--gradient-primary);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 6px -1px rgba(0, 168, 107, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 168, 107, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary-color) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 2px solid rgba(0, 168, 107, 0.2);
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    background: #f0fdf4;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero {
    padding-top: 8rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 500px;
}

.badge {
    display: inline-block;
    background: #dcfce7;
    color: var(--primary-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-image {
    position: relative;
    height: 500px;
    background: radial-gradient(circle at center, #dcfce7 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    /* Ensure width is responsive */
    aspect-ratio: 1 / 1;
    /* Maintain circle shape */
    height: auto;
    /* Allow height to adjust */
    max-width: 500px;
    /* Cap width */
    margin: 0 auto;
    /* Center it */
}

.abstract-shape {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-float {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 6s ease-in-out infinite;
    max-width: 250px;
}

.card-float .icon {
    font-size: 2rem;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Grid Layouts */
.features-grid,
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Responsive Table Wrapper */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
}

.table-responsive table {
    margin-bottom: 0 !important;
    box-shadow: none !important;
    white-space: nowrap;
    /* Prevent awkward wrapping in cells */
}

/* Updated Card Styles for Clickability */
.feature-card,
.service-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    /* Essential for stretched link */
    cursor: pointer;
}

.feature-card:hover,
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 168, 107, 0.3);
}

/* This stretches the inner link to cover the entire card */
.feature-card a.link-arrow::after,
.service-card a.link-arrow::after,
.feature-card a::before,
.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 1rem;
    text-decoration: none;
    transition: gap 0.2s;
}

.feature-card:hover .link-arrow,
.service-card:hover .link-arrow {
    gap: 10px;
}

/* Footer */
footer {
    background: #0f172a;
    color: #e2e8f0;
    padding: 5rem 0 2rem;
    margin-top: 5rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.footer-brand p {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-title {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #94a3b8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links a:hover {
        transform: none;
    }

    .footer-contact-item {
        justify-content: center;
    }
}

.floating-wa-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    text-decoration: none;
    transition: transform 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-wa-btn:hover {
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}


/* Contact / Social Cards - Stylish Version */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.social-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 2rem;
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 10px 30px -10px rgba(0, 168, 107, 0.15);
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 168, 107, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(0, 168, 107, 0.25);
    border-color: rgba(0, 168, 107, 0.4);
}

.social-card:hover::before {
    opacity: 1;
}

.social-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    z-index: 2;
}

.social-card:hover .social-icon-box {
    transform: rotate(10deg) scale(1.1);
}

.social-info {
    z-index: 2;
}

.social-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.social-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    font-family: var(--font-heading);
}

/* Specific Brand Colors */
.card-wa .social-icon-box {
    color: #25D366;
}

.card-ig .social-icon-box {
    color: #E1306C;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .navbar-container {
        padding: 0 1.5rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        margin: 0 auto 2rem;
    }

    .nav-links {
        display: none;
        /* Hide for now, JS to toggle if implemented */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }
}

/* Article Styles */
.article-wrapper {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.article-content {
    background: white;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-md);
}

.article-header {
    text-align: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.article-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    line-height: 1.2;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.article-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    justify-content: center;
    display: flex;
    gap: 1.5rem;
}

.article-body {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-color);
}

.article-body h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem;
    color: var(--primary-dark);
}

.article-body h3 {
    font-size: 1.4rem;
    margin: 2rem 0 0.8rem;
    color: var(--text-color);
    font-weight: 700;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body ul,
.article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-body img {
    width: 100% !important;
    /* Force responsive width */
    max-width: 500px !important;
    /* Force cap width */
    height: auto !important;
    /* Force aspect ratio */

    border-radius: 1rem;
    margin: 2rem auto;
    display: block;

    box-shadow: var(--shadow-sm);
    cursor: zoom-in;
    transition: transform 0.2s ease;
}

.article-body img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

/* Lightbox */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: zoom-out;
}

#lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .article-header h1 {
        font-size: 2rem;
    }

    .article-content {
        padding: 1.5rem;
    }
}

/* Accordion Styles */
.accordion {
    margin-top: 2rem;
    margin-bottom: 3rem;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion-item {
    border-bottom: 1px solid #e2e8f0;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 1rem 1.5rem;
    background: #dcfce7;
    /* Light green like screenshot */
    color: #166534;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.accordion-header:hover {
    background: #bbf7d0;
}

.accordion-header::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    transition: transform 0.3s;
}

.accordion-header.active::after {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: white;
}

.accordion-body {
    padding: 1.5rem;
    line-height: 1.7;
    color: #334155;
}

.accordion-body ul,
.accordion-body ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.accordion-body li {
    margin-bottom: 0.5rem;
}

.accordion-body table {
    width: 100%;
    margin-bottom: 1rem;
}