/* CSS Variables */
:root {
    --primary-color: #4A6C62; /* Deep Teal/Sage Green */
    --secondary-color: #A9D1C5; /* Light Mint Green */
    --accent-color: #D4AF37; /* Subtle Gold/Brass */
    --text-dark: #333333;
    --text-light: #F8F8F8;
    --bg-light: #FFFFFF;
    --bg-alt-light: #F8F8F8;
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition-speed: 0.3s ease-in-out;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-alt-light);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

.heading-primary {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px var(--shadow-light);
}

.heading-secondary {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 600;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.heading-secondary::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    border-radius: 2px;
}

.light-text {
    color: var(--text-light);
}

.light-text::after {
    background: linear-gradient(to right, var(--text-light), var(--secondary-color));
}

.section-padding {
    padding: 100px 0;
}

.section-description {
    text-align: center;
    max-width: 700px;
    margin: -20px auto 60px auto;
    font-size: 1.15rem;
    color: #555;
}

.business-name {
    font-weight: 600;
    color: var(--primary-color);
}

/* Header */
.main-header {
    background-color: var(--bg-light);
    box-shadow: 0 4px 20px var(--shadow-light);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    text-shadow: 1px 1px 3px var(--shadow-light);
    transition: color var(--transition-speed);
}

.logo:hover {
    color: var(--accent-color);
}

.main-nav .nav-list {
    display: flex;
    gap: 35px;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
    transition: color var(--transition-speed);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-speed);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    padding: 0;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 1;
}
.nav-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--text-light);
    padding: 120px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(40px);
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(60px);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative; /* For z-index over pseudo-elements */
    z-index: 1;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 30px;
    font-weight: 300;
    opacity: 1;.9;
}

.hero-text .highlight {
    color: var(--accent-color);
    font-weight: 700;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.2);
}

.hero-image {
    flex: 1;
    text-align: right;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 50px var(--shadow-medium);
}

.hero-image img {
    border-radius: var(--border-radius);
    transform: scale(1.05); /* Slightly larger for a premium feel */
    transition: transform 0.6s var(--transition-speed);
}
.hero-image:hover img {
    transform: scale(1.0);
}


/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-light);
    transform: translateY(0);
    transition: transform 0.5s ease-out;
}
.about-image:hover {
    transform: translateY(-5px);
}

.about-image img {
    border-radius: var(--border-radius);
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #555;
}

/* Focus Section */
.focus-section {
    background: linear-gradient(160deg, var(--primary-color) 0%, #3a5c52 100%);
    padding-top: 120px;
    padding-bottom: 120px;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.focus-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    filter: blur(80px);
}
.focus-section .section-description {
    color: var(--bg-alt-light);
    opacity: 1;.8;
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.focus-card {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 25px var(--shadow-light);
    text-align: center;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.focus-card.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.focus-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 4px solid var(--secondary-color);
    box-shadow: 0 0 0 6px rgba(169, 209, 197, 0.4);
}

.focus-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.focus-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
}

/* Insights Section */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.insight-card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 25px var(--shadow-light);
    overflow: hidden;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    display: flex;
    flex-direction: column;
}

.insight-card.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.insight-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-bottom: 4px solid var(--secondary-color);
}
.insight-card:hover img {
    transform: scale(1.05);
}

.insight-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.insight-content h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.insight-content p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.read-more {
    font-weight: 600;
    color: var(--accent-color);
    position: relative;
    display: inline-block;
    padding-bottom: 3px;
    transition: color var(--transition-speed);
}
.read-more::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease-out;
}
.insight-card:hover .read-more::after {
    transform: scaleX(1);
    transform-origin: left;
}
.insight-card:hover .read-more {
    color: var(--primary-color);
}


/* Vision Section */
.vision-section {
    background: linear-gradient(to bottom, var(--primary-color), #3a5c52);
    color: var(--text-light);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 10%, 100% 0, 100% 100%, 0% 90%);
}
.vision-section .heading-secondary {
    margin-bottom: 60px;
}

.vision-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.vision-text p {
    font-size: 1.15rem;
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--bg-alt-light);
    opacity: 1;.9;
}

.vision-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-medium);
    transition: transform 0.5s ease-out;
}
.vision-image:hover {
    transform: scale(1.02);
}
.vision-image img {
    border-radius: var(--border-radius);
    filter: brightness(0.9);
}


/* Footer */
.main-footer {
    background-color: var(--text-dark);
    color: var(--bg-alt-light);
    padding: 80px 0 40px 0;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: block;
    font-size: 2rem;
}

.footer-brand p {
    margin-bottom: 10px;
    opacity: 1;.8;
}

.footer-links h4,
.footer-info h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-info h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--bg-alt-light);
    opacity: 1;.7;
    transition: opacity var(--transition-speed), color var(--transition-speed);
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-info p {
    line-height: 1.7;
    opacity: 1;.8;
}

/* Animations (Animate on Scroll) */
.animate-on-scroll, .fade-in {
    opacity: 1;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Additional fade-in for hero content for immediate impact */
.hero-text, .hero-image {
    opacity: 1;
    transform: translateY(20px);
    animation: fadeInSlideUp 1s forwards ease-out;
}

.hero-image {
    animation-delay: 0.3s;
}

@keyframes fadeInSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Responsive Design */
@media (max-width: 992px) {
    .heading-primary {
        font-size: clamp(2rem, 8vw, 3.8rem);
    }
    .heading-secondary {
        font-size: clamp(1.8rem, 6vw, 2.8rem);
    }
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .hero-text {
        max-width: 100%;
    }
    .hero-image {
        width: 80%;
        max-width: 500px;
        margin: 0 auto;
    }
    .about-grid, .vision-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-image {
        order: -1; /* Image first on mobile */
    }
    .vision-image {
        order: -1;
    }
    .focus-grid, .insights-grid, .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 80px 0;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--primary-color);
        box-shadow: -5px 0 30px var(--shadow-medium);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease-in-out;
        z-index: 999;
    }
    .main-nav.active {
        right: 0;
    }
    .main-nav .nav-list {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .nav-link {
        font-size: 1.5rem;
        color: var(--text-light);
    }
    .nav-link::after {
        background: var(--accent-color);
    }
    .nav-link:hover {
        color: var(--accent-color);
    }

    .nav-toggle {
        display: flex;
    }

    .hero-section {
        padding: 100px 0;
        clip-path: polygon(0 0, 100% 0, 100% 95%, 0% 100%);
    }

    .main-header {
        padding: 10px 0;
    }
    .logo {
        font-size: 1.6rem;
    }

    body.nav-open {
        overflow: hidden; /* Prevent body scroll when nav is open */
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    .hero-section {
        padding: 80px 0;
    }
    .hero-description {
        font-size: 1.1rem;
    }
    .section-description {
        font-size: 1rem;
    }
    .focus-card, .insight-card {
        padding: 20px;
    }
    .focus-card h3 {
        font-size: 1.4rem;
    }
    .insight-content h4 {
        font-size: 1.3rem;
    }
}



/* Animation states when visible - FIXED: Only opacity: 1 */
.animate-fade-in-up.visible,
.animate-fade-in-left.visible,
.animate-fade-in-right.visible,
.animate-bounce-y.visible,
.section-scroll-animate.visible,
.text-animate-up.visible,
.reveal-item.visible,
.scroll-reveal.visible,
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-in-up.visible.fade-in,
.section-scroll-animate.visible.fade-in {
    opacity: 1;
}

.animate-fade-in-up.visible.slide-up,
.section-scroll-animate.visible.slide-up {
    transform: translateY(0);
}
/* Safe visibility overrides (auto-added) */
:root, html, body, main, header, footer, section, .container, .content {
  opacity: 1 !important;
  visibility: visible !important;
}
