:root{
    --color-primary: #0A2D0A; /* deep forest green */
    --color-secondary: #0d4408; /* rich earth / brownish-green */
    --color-accent: #dea21f; /* golden yellow */
    --color-text-light: #f0f0f0;
    --color-text-dark: #2c1810;
}

/* base */
html,body { height: 100%; }
body{
    font-family: "Inter", sans-serif;
    color: var(--color-text-dark); /* Use dark text color */
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    overflow-x: hidden;
}

.brand-text{
    font-family: 'Playfair Display', serif;
    color: var(--color-text-light);
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
    font-weight:700;
    font-size: 1.15rem;
}

/* --- Header & Navigation (Adapted for Manual Styling) --- */

/* Transparent header by default */
.navbar-main {
    background-color: transparent;
    transition: all 0.3s ease-in-out;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
}

/* Solid background when scrolled - relies on JS adding 'scrolled' class */
.header-sticky.scrolled .navbar-main {
    background-color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    padding: 0.6rem 0;
}

/* Text color adjustments for links in the header */
.nav-link-custom {
    color: #fff !important; /* Use !important to override Bootstrap's default .nav-link color */
    transition: color 0.3s ease;
    text-decoration: none;
    padding: 0.5rem 0.5rem;
}
.header-sticky.scrolled .nav-link-custom {
    color: #f9f9f9 !important;
}
.nav-link-custom:hover {
    color: var(--color-accent) !important;
}

/* Footer Link Hover Effect (New Addition) */
.hover-accent:hover {
    color: var(--color-accent) !important;
}

/* --- Hero Section Styles --- */
.hero-bg{
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
}
.hero-bg .overlay{
    position:absolute; inset:0;
    background: linear-gradient(180deg, rgba(10,45,10,0.55) 0%, rgba(10,45,10,0.35) 50%, rgba(10,45,10,0.75) 100%);
    pointer-events:none;
    z-index: 10;
}
.hero-figure{
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.45);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}
.hero-figure img.opacity-0 {
    opacity: 0;
}

/* floating shapes */
.floating-shapes .shape{
    position:absolute;
    border-radius:50%;
    opacity:0.08;
    animation: floaty 12s ease-in-out infinite;
}
.shape-a{ width:220px;height:220px;background:var(--color-accent); top:3%; left:6%; animation-delay:0s; }
.shape-b{ width:180px;height:180px;background:var(--color-text-light); bottom:8%; right:6%; animation-delay:2s; }
.shape-c{ width:100px;height:100px;background:var(--color-accent); top:45%; right:28%; animation-delay:4s; }
@keyframes floaty { 0%{ transform: translateY(0) } 50%{ transform: translateY(-30px) } 100%{ transform: translateY(0) } }

/* Scroll-down dot */
.scroll-down { display: block; width: 24px; height: 40px; border: 2px solid #fff; border-radius: 12px; position: relative; }
.scroll-dot { width: 8px; height: 8px; background: #fff; border-radius: 50%; position: absolute; top: 4px; left: 50%; transform: translateX(-50%); animation: scroll 1.5s infinite; }
@keyframes scroll { 0%{ top:4px; } 50%{ top:20px; } 100%{ top:4px; } }

/* Hero 3-image scroll carousel */
.hero-carousel {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
}
.hero-carousel img{
    scroll-snap-align: center;
    flex-shrink: 0;
    width: 300px;
    height: 300px;
    border-radius: 1rem;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.hero-carousel img:hover{
    transform: scale(1.05);
}

/* --- Card Styles (Utility) --- */
.utility-card{
    background-color: #fff;
    border-radius: 1rem;
    transition: transform .35s, box-shadow .35s, background-color .35s, color .35s;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(10,10,10,0.06);
    padding: 1.5rem;
}
.utility-card:hover{ 
    transform: translateY(-10px); 
    box-shadow: 0 20px 40px rgba(10,10,10,0.12); 
}

/* --- Button Styles --- */
.btn-solid-brown{
    background: linear-gradient(180deg,#A08C00,#C2A000);
    color: var(--color-text-dark);
    padding: .6rem 1.1rem;
    border-radius: .5rem;
    font-weight:600;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); /* Adjusted to Bootstrap standards */
    transition: transform .18s ease, opacity .18s;
    display: inline-block;
    text-decoration: none;
    border: none; /* Ensure no default Bootstrap button border */
}
.btn-solid-brown:hover{ 
    transform: translateY(-2px); 
    opacity:0.95; 
    color: var(--color-text-dark); /* Keep text color on hover */
}

.btn-outline-gold{
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
    padding: .55rem 1rem;
    border-radius: .5rem;
    font-weight:600;
    transition: background .18s, color .18s;
    display: inline-block;
    text-decoration: none;
}
.btn-outline-gold:hover{ 
    background: var(--color-accent); 
    color: var(--color-primary); 
}

.text-4xl { font-size: 2.25rem; }
@media (min-width: 576px) { .text-sm-5xl { font-size: 3rem; } }
@media (min-width: 768px) { .text-md-6xl { font-size: 3.75rem; } }

/* Scale Hover Effect (used on Hero and Life at Colix images) */
.hover-scale-105:hover {
    transform: scale(1.05);
}
.transform-transition {
    transition: transform 0.3s ease;
}

/* Custom Read More Button Styling */
.hover-bg-primary:hover {
    background-color: var(--color-primary) !important;
}

/* Utility Card Hover Effect */
.hover-shadow-md:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important; /* Bootstrap shadow-lg equivalent */
}

/* Navratna Grid (Ensures 9 items fit on large screens) */
@media (min-width: 992px) { /* lg breakpoint */
    .row-cols-lg-9 > * {
        flex: 0 0 auto;
        width: 11.11111%; /* 100% / 9 */
    }
}

/* Article Read More Hover */
.hover-underline:hover {
    text-decoration: underline !important;
}

/* Contact Form Input Styling */
.form-control:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 0.25rem rgba(222, 162, 31, 0.25); /* Accent color with opacity */
}

/* --- Misc Styles --- */
/* scroll indicator */
.scroll-down{ width: 34px; height: 56px; border: 2px solid var(--color-accent); border-radius: 999px; display:flex; align-items:flex-start; justify-content:center; padding-top:6px; }
.scroll-dot{ width:8px; height:8px; background:var(--color-accent); border-radius:999px; animation: scrolldot 1.6s infinite; }
@keyframes scrolldot{ 0%{ transform: translateY(0); opacity:0 } 40%{ transform: translateY(14px); opacity:1 } 100%{ transform: translateY(0); opacity:0 } }

/* contact form minor styling */
.input-shadow{ box-shadow: 0 8px 30px rgba(10,45,10,0.06); }

/* small screens tweaks */
@media (max-width: 768px){
    .hero-bg { min-height: 80vh; padding-top: 3.5rem; }
    .brand-text{ font-size: 1rem; }
}

@media (min-width: 992px) { /* lg breakpoint */
    .row-cols-lg-9 > * {
        flex: 0 0 auto;
        width: 11.11111%; /* 100% / 9 */
    }
}

.text-yellow-100 {
  color: #977b0e !important; /* or your desired yellow shade */
}