:root {
    --header-color: #0E8F84;
    --primary-color: #1CB5A3;
    --hover-color: #0E8F84;
    --background-color: #FFFFFF;
    --alt-bg-color: #E6F7F4;
    --heading-color: #1F1F1F;
    --paragraph-color: #7A7A7A;
    --footer-color: #0E8F84;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
}

p, .text-muted, .lead {
    color: var(--paragraph-color);
}

.navbar-brand {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    letter-spacing: 0.5px;
    color: var(--header-color) !important;
    font-weight: 700; /* Bold */
    display: flex;
    align-items: center;
}

.navbar-brand span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.navbar-nav .nav-link {
    color: var(--header-color) !important;
    font-weight: 700; /* Bold */
    font-size: 1rem;
    padding-left: 0.8rem !important;
    padding-right: 0.8rem !important;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.brand-logo {
    height: clamp(40px, 6vw, 60px);
    width: auto;
    object-fit: contain;
}

.footer-logo {
    height: clamp(56px, 5.5vw, 90px);
    width: auto;
    object-fit: contain;
}

.hero-section {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

.card {
    transition: transform 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
}

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

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

footer {
    background-color: var(--footer-color);
}

footer, footer h5, footer p, footer a, footer .small, footer .text-muted {
    color: #ffffff !important;
}

footer a:hover {
    color: #ffffff !important;
    opacity: 0.85;
}

/* Palette application overrides */
.navbar-dark.bg-primary {
    background-color: var(--header-color) !important;
}

.bg-light {
    background-color: var(--alt-bg-color) !important;
}

/* Animations & Premium Styles */
@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-up {
    opacity: 0;
    animation: revealUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

.premium-card {
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    background: #fff;
    border: 1px solid rgba(0,0,0,0.03);
    overflow: hidden;
}

@keyframes textanim {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

.animate-text {
    background-image: linear-gradient(-225deg, #37a000 0%, #29B841 29%, #1148d7 67%, #fff800 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    text-fill-color: transparent;
    -webkit-text-fill-color: transparent;
    color: #fff;
    animation: textanim 5s linear infinite;
    display: inline-block;
}

/* Service Grid Wrapper */
.service-grid-wrapper {
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(28, 181, 163, 0.1); /* Subtle outer glow/double stroke effect */
    margin-bottom: 2rem;
}

/* New Service Grid Styles */
.service-icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.25rem 0.75rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    height: 100%;
    background: #fff;
    /* border: 1px solid rgba(0,0,0,0.04); */ /* Optional border */
}

.service-icon-box:hover {
    transform: translateY(-5px);
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.6rem;
    transition: transform 0.3s ease;
}

.service-icon-box:hover .icon-wrapper {
    transform: scale(1.1);
}

.service-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--heading-color);
}

/* Gradient Variants */
.bg-grad-1 { background: linear-gradient(135deg, #e0f2f1 0%, #80cbc4 100%); color: #00695c; }
.bg-grad-2 { background: linear-gradient(135deg, #f3e5f5 0%, #ce93d8 100%); color: #6a1b9a; }
.bg-grad-3 { background: linear-gradient(135deg, #fff3e0 0%, #ffcc80 100%); color: #ef6c00; }
.bg-grad-4 { background: linear-gradient(135deg, #e3f2fd 0%, #90caf9 100%); color: #1565c0; }
.bg-grad-5 { background: linear-gradient(135deg, #fbe9e7 0%, #ffab91 100%); color: #d84315; }
.bg-grad-6 { background: linear-gradient(135deg, #f1f8e9 0%, #c5e1a5 100%); color: #558b2f; }
.bg-grad-7 { background: linear-gradient(135deg, #e8eaf6 0%, #9fa8da 100%); color: #283593; }
.bg-grad-8 { background: linear-gradient(135deg, #ffebee 0%, #ef9a9a 100%); color: #c62828; }

/* Sticky WhatsApp Button */
.whatsapp-sticky {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-sticky:hover {
    background-color: #128c7e;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0,0,0,0.4);
}
