/* ===== CSS Variables ===== */
:root {
    --primary-green: #B8D954;
    --dark-green: #8FB82E;
    --accent-green: #D4E88F;
    --charcoal: #3A4A4F;
    --dark-charcoal: #2C3639;
    --white: #FFFFFF;
    --light-gray: #F8FAFC;
    --gray: #64748B;
    --dark-gray: #334155;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

body.loaded {
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===== Navigation ===== */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    touch-action: manipulation;
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.95);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.logo {
    display:flex;
    align-items: center;
    gap: 10px;
}

.logo-dg {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    align-items: center;
}

.logo-dg img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.logo-dg img:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Responsive logo sizing */
@media (max-width: 968px) {
    .logo-dg img {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 640px) {
    .logo-dg img {
        width: 45px;
        height: 45px;
    }
    
    .logo-text {
        font-size: 0.9rem;
    }
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--charcoal);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--charcoal);
    border-radius: 3px;
    transition: 0.3s;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--charcoal);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-green);
    transform: translateY(-2px);
}

.btn-nav {
    background: var(--primary-green);
    color: var(--charcoal);
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-nav:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(184, 217, 84, 0.4);
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}

.btn-primary {
    background: var(--primary-green);
    color: var(--charcoal);
}

.btn-primary:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 217, 84, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--charcoal);
    border: 2px solid var(--primary-green);
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: var(--charcoal);
}

.btn-white {
    background: var(--white);
    color: var(--charcoal);
}

.btn-white:hover {
    background: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-green);
    color: var(--charcoal);
}

.btn-outline:hover {
    background: var(--primary-green);
    color: var(--charcoal);
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--primary-green) 100%);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    color: var(--charcoal);
    margin-bottom: 0.75rem;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--dark-charcoal);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat i {
    font-size: 2rem;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--charcoal);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--dark-charcoal);
}

.hero-image {
    position: relative;
}

.hero-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 450px;
    border-radius: 20px;
    padding: 20px;
}

/* Flip Card Calculator - Enhanced 3D */
.flip-card-calculator {
    background: transparent;
    perspective: 1500px;
    width: 100%;
    max-width: 350px;
    height: 500px;
    position: relative;
}

.flip-card-calculator-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
}

.flip-card-calculator:hover .flip-card-calculator-inner {
    transform: rotateY(180deg) scale(1.05);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
}

.flip-card-calculator-front,
.flip-card-calculator-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.flip-card-calculator-front {
    background: transparent;
    z-index: 2;
}

.flip-card-calculator-back {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    transform: rotateY(180deg);
    padding: 40px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        inset 0 -2px 10px rgba(0, 0, 0, 0.2),
        inset 0 2px 10px rgba(255, 255, 255, 0.1);
}

/* Calculator Display */
.calculator-display {
    background: linear-gradient(145deg, #2c3e50, #34495e);
    border-radius: 20px;
    padding: 25px;
    border: 3px solid var(--primary-green);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 10px 20px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(76, 175, 80, 0.3),
        inset 0 -3px 15px rgba(0, 0, 0, 0.3),
        inset 0 2px 5px rgba(255, 255, 255, 0.1);
    width: 100%;
    position: relative;
    z-index: 2;
    transform: translateZ(10px);
}

/* Logo Container on Back */
.logo-container {
    text-align: center;
    color: var(--white);
}

.logo-container img {
    width: 180px;
    height: 180px;
    margin-bottom: 20px;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.5));
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
        filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.5));
    }
    50% {
        transform: translateY(-15px) scale(1.05);
        filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.6));
    }
}

.logo-container h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 10px;
    font-weight: 700;
}

.logo-container p {
    font-size: 1.2rem;
    color: var(--white);
    font-style: italic;
    font-weight: 600;
}

.calc-screen {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(76, 175, 80, 0.3);
}

.calc-brand {
    color: var(--primary-green);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-align: right;
}

.calc-result {
    color: var(--primary-green);
    font-size: 3rem;
    font-weight: 700;
    text-align: right;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
    margin-bottom: 5px;
    animation: digitGlow 2s ease-in-out infinite;
}

@keyframes digitGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(76, 175, 80, 0.8);
    }
}

.calc-label {
    color: rgba(76, 175, 80, 0.7);
    font-size: 0.85rem;
    text-align: right;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.calc-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.calc-btn {
    background: linear-gradient(145deg, #3a4f63, #2c3e50);
    color: #fff;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.2),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3);
    user-select: none;
}

.calc-btn:hover {
    background: linear-gradient(145deg, #4a5f73, #3c4e60);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.calc-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.calc-btn.operator {
    background: linear-gradient(145deg, #4CAF50, #45a049);
    color: #fff;
    font-weight: 700;
}

.calc-btn.operator:hover {
    background: linear-gradient(145deg, #5CBF60, #4CAF50);
}

.calc-btn.equals {
    background: linear-gradient(145deg, #4CAF50, #45a049);
    color: #fff;
    font-weight: 700;
}

.calc-btn.equals:hover {
    background: linear-gradient(145deg, #5CBF60, #4CAF50);
}



/* Float animation for 3D logo */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ===== Section Styles ===== */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--gray);
}

/* ===== About Preview ===== */
.about-preview {
    background: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-text strong {
    color: var(--primary-green);
    font-weight: 600;
}

.about-text strong a {
    color: var(--primary-green);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.about-text strong a:hover {
    color: var(--charcoal);
    border-bottom: 2px solid var(--primary-green);
}

.about-image {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Logo Flip Card */
.logo-flip-card {
    perspective: 1500px;
    width: 100%;
    max-width: 300px;
    height: 300px;
    position: relative;
    z-index: 1;
}

.logo-flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
}

.logo-flip-card:hover .logo-flip-card-inner {
    transform: rotateY(180deg) scale(1.05);
}

.logo-flip-card-front,
.logo-flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.logo-flip-card-front {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.logo-flip-card-front img {
    width: 100%;
    max-width: 250px;
    height: auto;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.4));
    animation: float 3s ease-in-out infinite;
}

.logo-flip-card-back {
    background: rgba(255, 255, 255, 0.95);
    transform: rotateY(180deg);
    padding: 30px;
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.4),
        inset 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.logo-flip-card-back img {
    width: 150px;
    height: 150px;
    margin-bottom: 15px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.logo-flip-card-back h3 {
    font-size: 1.5rem;
    color: var(--charcoal);
    margin-bottom: 8px;
    font-weight: 700;
}

.logo-flip-card-back p {
    font-size: 1rem;
    color: var(--primary-green);
    font-weight: 600;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* ===== Services ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-green);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    color: var(--charcoal);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--gray);
    line-height: 1.6;
}

.text-center {
    text-align: center;
}

/* ===== Why Choose Us ===== */
.why-choose {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: var(--white);
}

.why-choose .section-header h2,
.why-choose .section-header p {
    color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.feature:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.feature i {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.feature h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.feature p {
    color: rgba(255, 255, 255, 0.9);
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--dark-charcoal) 100%);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn i {
    margin-right: 8px;
}

/* ===== Footer ===== */
.footer {
    background: var(--charcoal);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3,
.footer-col h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary-green);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--charcoal);
    transition: all 0.3s;
    font-size: 1.3rem;
}

.social-links a i {
    font-size: 1.3rem;
    color: var(--charcoal);
}

.social-links a:hover {
    background: var(--dark-green);
    transform: translateY(-3px) scale(1.1);
}

.social-links a:hover i {
    color: var(--white);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info i {
    color: var(--primary-green);
}

.contact-info a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    padding: 2px 0;
}

.contact-info a:hover {
    color: var(--primary-green);
    text-decoration: underline;
}

.contact-info a[href^="mailto:"]:hover::after {
    content: '📧 Click to email';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-green);
    color: var(--charcoal);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.75rem;
    white-space: nowrap;
    margin-left: 10px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ===== Page Header ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    padding: 30px 0;
    text-align: center;
    color: var(--charcoal);
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--dark-charcoal);
}

/* ===== About Page ===== */
.founder-profile {
    padding: 80px 0;
}

.profile-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.profile-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    padding: 0;
    animation: profilePulse 3s ease-in-out infinite;
}

.profile-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    animation: profileZoom 4s ease-in-out infinite;
    transition: transform 0.5s ease;
}

.profile-placeholder:hover img {
    transform: scale(1.15);
    cursor: pointer;
}

/* Profile animations */
@keyframes profilePulse {
    0%, 100% {
        box-shadow: 0 10px 40px rgba(184, 217, 84, 0.2);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 20px 60px rgba(184, 217, 84, 0.6);
        transform: scale(1.02);
    }
}

@keyframes profileZoom {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.profile-placeholder i {
    font-size: 8rem;
    color: var(--white);
}

.profile-text h2 {
    font-size: 2.5rem;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.profile-title {
    font-size: 1.3rem;
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.profile-credentials {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.credential {
    background: linear-gradient(135deg, var(--light-gray) 0%, #f0f0f0 100%);
    padding: 8px 14px;
    border-radius: 25px;
    color: var(--charcoal);
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    white-space: nowrap;
}

.credential:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(184, 217, 84, 0.3);
}

.credential:hover i {
    color: var(--white);
}

.credential i {
    color: var(--primary-green);
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.profile-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--dark-gray);
}

/* ===== MVV Section ===== */
.mvv-section {
    background: var(--light-gray);
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.mvv-card {
    background: transparent;
    perspective: 1000px;
    height: 400px;
}

.flip-card {
    background: transparent;
    perspective: 1500px;
    position: relative;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg) translateZ(20px) scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.flip-card-front {
    background: var(--white);
    z-index: 2;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.15),
        0 5px 15px rgba(0, 0, 0, 0.1);
}

.flip-card-back {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: var(--white);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.3),
        inset 0 -2px 10px rgba(0, 0, 0, 0.2),
        inset 0 2px 10px rgba(255, 255, 255, 0.15);
}

.mvv-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.mvv-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.flip-card-back h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.flip-list {
    list-style: none;
    text-align: left;
    max-width: 300px;
    margin: 0 auto;
}

.flip-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
}

.flip-list li:last-child {
    border-bottom: none;
}

.flip-list i {
    color: var(--white);
    font-size: 1.1rem;
}

/* Certifications Section */
.certifications {
    padding: 80px 0;
    background: var(--light-gray);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.cert-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.1), transparent);
    transition: left 0.6s ease;
}

.cert-card:hover::before {
    left: 100%;
}

.cert-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(76, 175, 80, 0.2);
    border: 2px solid var(--primary-green);
}

.cert-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.4s ease;
}

.cert-card:hover .cert-icon {
    transform: rotate(360deg) scale(1.1);
}

.cert-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.cert-card h3 {
    color: var(--charcoal);
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.cert-card:hover h3 {
    color: var(--primary-green);
}

.cert-card p {
    color: var(--gray);
    margin-bottom: 1rem;
}

.cert-badge {
    display: inline-block;
    background: var(--primary-green);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.cert-card:hover .cert-badge {
    background: var(--dark-green);
    transform: scale(1.1);
}

.mvv-card h3 {
    color: var(--charcoal);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.mvv-card p {
    color: var(--gray);
    line-height: 1.8;
}

.values-list {
    text-align: left;
    margin-top: 1rem;
}

.values-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.values-list i {
    color: var(--primary-green);
}

/* ===== Our Story ===== */
.story-content {
    max-width: 900px;
    margin: 0 auto;
}

.story-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--dark-gray);
}

/* ===== Qualifications ===== */
.qualifications {
    background: var(--light-gray);
}

.qual-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.qual-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.qual-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.qual-card i {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.qual-card h3 {
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.qual-card p {
    color: var(--gray);
}

/* ===== Services Detail ===== */
.services-detail {
    padding: 60px 0;
}

.service-detail {
    margin-bottom: 4rem;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.service-detail-content.reverse {
    grid-template-columns: 2fr 1fr;
}

.service-detail-icon {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.service-detail-icon i {
    font-size: 4rem;
    color: var(--white);
}

.service-detail-text h2 {
    color: var(--charcoal);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.service-detail-text p {
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.8rem;
    color: var(--dark-gray);
}

.service-features i {
    color: var(--primary-green);
    font-size: 1.2rem;
}

/* ===== Contact Page ===== */
.contact-section {
    padding: 60px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info-section h2 {
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.contact-methods {
    margin: 2rem 0;
}

.contact-method {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 10px;
    transition: all 0.3s;
}

.contact-method:hover {
    background: var(--primary-green);
    transform: translateX(5px);
}

.method-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-green);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method:hover .method-icon {
    background: var(--white);
}

.method-icon i {
    font-size: 1.8rem;
    color: var(--charcoal);
}

.method-details h3 {
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.method-details a {
    color: var(--primary-green);
    font-weight: 600;
    display: block;
    margin-bottom: 0.3rem;
}

.contact-method:hover .method-details a {
    color: var(--charcoal);
}

.method-details p {
    color: var(--gray);
    font-size: 0.9rem;
}

.business-hours {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.business-hours h3 {
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.business-hours ul li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray);
}

.business-hours ul li span {
    font-weight: 600;
    color: var(--charcoal);
}

/* ===== Contact Form ===== */
.contact-form-section h2 {
    color: var(--charcoal);
    margin-bottom: 2rem;
}

.contact-form {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--charcoal);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--white);
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

.contact-form button {
    width: 100%;
}

/* ===== Map Section ===== */
.map-section {
    padding: 60px 0;
    background: var(--light-gray);
}

.map-section h2 {
    text-align: center;
    color: var(--charcoal);
    margin-bottom: 2rem;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* ===== Testimonials ===== */
.testimonials-section {
    padding: 60px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-green);
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    margin-bottom: 1rem;
}

.testimonial-rating i {
    color: var(--primary-green);
    font-size: 1.2rem;
}

.testimonial-text {
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar i {
    font-size: 1.8rem;
    color: var(--white);
}

.author-info h4 {
    color: var(--charcoal);
    margin-bottom: 0.3rem;
}

.author-info p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ===== Portfolio ===== */
.portfolio-section {
    padding: 60px 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.portfolio-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--primary-green);
}

.portfolio-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.portfolio-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.portfolio-card h3 {
    color: var(--charcoal);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.portfolio-category {
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.portfolio-description {
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.portfolio-results h4 {
    color: var(--charcoal);
    margin-bottom: 0.8rem;
}

.portfolio-results ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.portfolio-results i {
    color: var(--primary-green);
}

/* ===== Industries ===== */
.industries-section {
    background: var(--light-gray);
    padding: 60px 0;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.industry-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.industry-item:hover {
    background: var(--primary-green);
    transform: translateY(-5px);
}

.industry-item i {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.industry-item:hover i {
    color: var(--white);
}

.industry-item h3 {
    color: var(--charcoal);
    font-size: 1.1rem;
    transition: color 0.3s;
}

.industry-item:hover h3 {
    color: var(--white);
}

/* ===== Responsive Design ===== */
@media (max-width: 968px) {
    .mobile-toggle {
        display: flex;
        z-index: 1002;
        position: relative;
        cursor: pointer;
        padding: 5px;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100vw;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem;
        box-shadow: none;
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1001;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.active {
        display: flex;
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        margin: 1rem 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 2rem;
        border-radius: 12px;
        transition: all 0.3s ease;
        font-size: 1.1rem;
        font-weight: 500;
        color: var(--charcoal);
    }
    
    .nav-menu a:hover {
        background: var(--accent-green);
        color: var(--primary-green);
        transform: translateY(-2px);
    }

    .hero-content,
    .about-content,
    .contact-wrapper,
    .profile-content {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .features-grid,
    .mvv-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .qual-grid,
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-image-wrapper {
        min-height: 350px;
    }

    .flip-card-calculator {
        max-width: 300px;
        height: 450px;
    }

    .calculator-display {
        padding: 20px;
    }

    .calc-result {
        font-size: 2.5rem;
    }

    .calc-buttons {
        gap: 8px;
    }

    .calc-btn {
        padding: 12px;
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .service-detail-content,
    .service-detail-content.reverse {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .services-grid,
    .features-grid,
    .mvv-grid,
    .qual-grid,
    .industries-grid {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 25px 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .profile-credentials {
        justify-content: center;
        gap: 0.6rem;
    }

    .credential {
        font-size: 0.85rem;
        padding: 8px 14px;
    }

    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ===== Thank You Page ===== */
.thank-you-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--primary-green) 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.thank-you-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 4rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.success-icon {
    width: 120px;
    height: 120px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.success-icon i {
    font-size: 4rem;
    color: var(--white);
}

.thank-you-content h1 {
    font-size: 3rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.thank-you-content .lead {
    font-size: 1.5rem;
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 1rem;
}

.thank-you-content > p {
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.next-steps {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.next-steps h3 {
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step p {
    color: var(--dark-gray);
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.urgent-contact {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light-gray);
}

.urgent-contact strong {
    color: var(--charcoal);
}

.contact-options {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-green);
    font-weight: 600;
    transition: all 0.3s;
}

.contact-link:hover {
    color: var(--dark-green);
    transform: translateY(-2px);
}

.contact-link i {
    font-size: 1.2rem;
}

@media (max-width: 640px) {
    .thank-you-content {
        padding: 2rem;
    }

    .thank-you-content h1 {
        font-size: 2rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .thank-you-actions {
        flex-direction: column;
    }

    .contact-options {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ===== Slogan Styling ===== */
.slogan {
    font-style: italic;
    color: var(--primary-green);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* ===== Business Insights Page ===== */
.insights-section {
    padding: 60px 0;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.insight-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border-left: 4px solid var(--primary-green);
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.insight-category {
    display: inline-block;
    background: var(--primary-green);
    color: var(--charcoal);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.insight-category i {
    margin-right: 5px;
}

.insight-title {
    color: var(--charcoal);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.insight-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.insight-meta i {
    color: var(--primary-green);
    margin-right: 5px;
}

.insight-excerpt {
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.loading-message,
.no-insights,
.error-message {
    text-align: center;
    padding: 3rem;
    color: var(--gray);
}

.loading-message i,
.no-insights i,
.error-message i {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
    display: block;
}

.no-insights h3 {
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

/* ===== Insight Detail Page ===== */
.insight-detail-section {
    padding: 60px 0;
}

.insight-detail-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.insight-header {
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.insight-header h1 {
    font-size: 2.5rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.insight-body {
    color: var(--dark-gray);
    line-height: 1.8;
    font-size: 1.1rem;
}

.insight-body h2 {
    color: var(--charcoal);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.insight-body h3 {
    color: var(--charcoal);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.insight-body p {
    margin-bottom: 1rem;
}

.insight-body ul,
.insight-body ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.insight-body li {
    margin-bottom: 0.5rem;
}

.insight-body blockquote {
    border-left: 4px solid var(--primary-green);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--gray);
}

.insight-tags {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light-gray);
}

.insight-tags .tag {
    display: inline-block;
    background: var(--light-gray);
    color: var(--charcoal);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-right: 0.5rem;
    margin-top: 0.5rem;
}

.back-link {
    text-align: center;
}

/* ===== Enhanced Insights Page Styles ===== */

/* Insights Hero */
.insights-hero {
    background: linear-gradient(135deg, var(--charcoal) 0%, #2a3a3f 100%);
    padding: 80px 0 60px;
    text-align: center;
    color: var(--white);
}

.insights-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.insights-hero-content h1 i {
    color: var(--primary-green);
    margin-right: 15px;
}

.insights-hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Search and Filter Controls */
.insights-controls-section {
    background: var(--white);
    padding: 30px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 80px;
    z-index: 100;
}

.insights-controls {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    font-size: 1.1rem;
}

.search-box input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid var(--light-gray);
    border-radius: 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(184, 217, 84, 0.1);
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--light-gray);
    background: var(--white);
    color: var(--charcoal);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
}

.filter-btn i {
    margin-right: 5px;
}

.filter-btn:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
}

/* Featured Insight */
.featured-insight-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fdf0 0%, #ffffff 100%);
}

.featured-insight {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.featured-insight:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}

.featured-content {
    padding: 3rem;
    position: relative;
}

.featured-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.featured-badge i {
    margin-right: 5px;
}

.featured-category {
    display: inline-block;
    background: var(--primary-green);
    color: var(--white);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-left: 10px;
}

.featured-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--charcoal);
    margin: 20px 0;
    line-height: 1.4;
}

.featured-meta {
    display: flex;
    gap: 25px;
    margin: 20px 0;
    color: var(--gray);
    font-size: 0.95rem;
    flex-wrap: wrap;
}

.featured-meta i {
    color: var(--primary-green);
    margin-right: 5px;
}

.featured-excerpt {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    margin: 25px 0;
}

/* Insights Section */
.insights-section {
    padding: 60px 0;
}

.insights-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.section-title {
    font-size: 2rem;
    color: var(--charcoal);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: var(--primary-green);
}

.insights-count {
    background: var(--light-gray);
    padding: 8px 20px;
    border-radius: 25px;
    color: var(--charcoal);
    font-weight: 600;
}

.insights-count span {
    color: var(--primary-green);
    font-size: 1.2rem;
}

/* Insight Cards - Professional Design */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 35px;
}

.insight-card {
    background: var(--white);
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e8e8e8;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.insight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green) 0%, #a0c94a 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.insight-card:hover::before {
    transform: scaleX(1);
}

.insight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    border-color: var(--primary-green);
}

.insight-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem 1rem;
    background: linear-gradient(135deg, #f8fdf0 0%, #ffffff 100%);
    border-bottom: 1px solid #f0f0f0;
}

.insight-category {
    background: linear-gradient(135deg, var(--primary-green) 0%, #a0c94a 100%);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 2px 8px rgba(184, 217, 84, 0.3);
}

.insight-date {
    color: #888;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.insight-date i {
    color: var(--primary-green);
}

.insight-card-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.insight-title {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--charcoal);
    margin: 0 0 1rem 0;
    line-height: 1.5;
    min-height: 70px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.insight-card:hover .insight-title {
    color: var(--primary-green);
}

.insight-excerpt {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.insight-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid #e8e8e8;
    margin-top: auto;
}

.insight-meta {
    display: flex;
    gap: 18px;
    color: #777;
    font-size: 0.8rem;
    font-weight: 500;
}

.insight-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.insight-meta i {
    color: var(--primary-green);
    font-size: 0.9rem;
}

.read-more {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    background: rgba(184, 217, 84, 0.1);
}

.read-more:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateX(3px);
}

.read-more i {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.read-more:hover i {
    transform: translateX(4px);
}

/* Business Terms Section */
.business-terms-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.term-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.term-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-green);
}

.term-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green) 0%, #a0c94a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.term-card:hover .term-icon {
    transform: scale(1.1) rotate(5deg);
}

.term-icon i {
    font-size: 2rem;
    color: var(--white);
}

.term-card h3 {
    font-size: 1.5rem;
    color: var(--charcoal);
    margin-bottom: 15px;
}

.term-card p {
    color: var(--dark-gray);
    line-height: 1.7;
}

/* Newsletter Section */
.newsletter-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--charcoal) 0%, #2a3a3f 100%);
    color: var(--white);
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: center;
}

.newsletter-text h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.newsletter-text h2 i {
    color: var(--primary-green);
    margin-right: 10px;
}

.newsletter-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.form-group-inline {
    display: flex;
    gap: 10px;
}

.form-group-inline input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: all 0.3s ease;
}

.form-group-inline input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group-inline input:focus {
    outline: none;
    border-color: var(--primary-green);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
}

.newsletter-message.success {
    background: rgba(184, 217, 84, 0.2);
    color: var(--primary-green);
}

/* Loading and Error States */
.loading-spinner {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray);
}

.loading-spinner i {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.loading-spinner p {
    font-size: 1.1rem;
}

.no-results {
    text-align: center;
    padding: 80px 20px;
    color: var(--gray);
}

.no-results i {
    font-size: 4rem;
    color: var(--light-gray);
    margin-bottom: 20px;
}

.no-results h3 {
    font-size: 1.8rem;
    color: var(--charcoal);
    margin-bottom: 10px;
}

.error-message {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray);
}

.error-message i {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .insights-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .featured-content h2 {
        font-size: 2rem;
    }
    
    .terms-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .insights-controls {
        flex-direction: column;
    }
    
    .search-box {
        width: 100%;
        min-width: 100%;
    }
    
    .filter-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .insights-hero-content h1 {
        font-size: 2rem;
    }
    
    .featured-content {
        padding: 2rem;
    }
    
    .featured-content h2 {
        font-size: 1.8rem;
    }
    
    .featured-meta {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 640px) {
    .insights-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .insight-card {
        border-radius: 12px;
    }
    
    .insight-card-header {
        padding: 1.2rem 1.5rem 0.8rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .insight-card-body {
        padding: 1.5rem;
    }
    
    .insight-title {
        font-size: 1.25rem;
        min-height: auto;
    }
    
    .insight-excerpt {
        font-size: 0.9rem;
    }
    
    .insight-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .insight-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .read-more {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
    
    .insight-detail-content {
        padding: 1.5rem;
    }
    
    .insight-header h1 {
        font-size: 1.8rem;
    }
    
    .insights-hero {
        padding: 60px 0 40px;
    }
    
    .insights-hero-content h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .form-group-inline {
        flex-direction: column;
    }
    
    .newsletter-text h2 {
        font-size: 2rem;
    }
    
    .insights-controls-section {
        position: relative;
        top: 0;
    }
    
    .featured-content h2 {
        font-size: 1.6rem;
    }
    
    .featured-excerpt {
        font-size: 0.95rem;
    }
}


/* ===== Enhanced Dynamic Animations ===== */

/* Fade in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Apply animations to elements */
.animate-on-scroll {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.animate-left {
    opacity: 0;
    animation: fadeInLeft 0.8s ease forwards;
}

.animate-right {
    opacity: 0;
    animation: fadeInRight 0.8s ease forwards;
}

.animate-scale {
    opacity: 0;
    animation: scaleIn 0.6s ease forwards;
}

/* Stagger animation delays */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* Enhanced hover effects */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(184, 217, 84, 0.5);
}

/* Floating animation for hero elements */
.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Pulse animation for CTA buttons */
.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

/* Shimmer effect for loading */
.shimmer {
    background: linear-gradient(
        90deg,
        #f0f0f0 0%,
        #e0e0e0 50%,
        #f0f0f0 100%
    );
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Enhanced navbar with backdrop blur */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animated underline */
.animated-underline {
    position: relative;
    display: inline-block;
}

.animated-underline::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-green);
    transition: width 0.3s ease;
}

.animated-underline:hover::after {
    width: 100%;
}

/* Card flip effect */
.flip-card {
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.flip-card-back {
    transform: rotateY(180deg);
}

/* Progress bar animation */
.progress-bar {
    height: 4px;
    background: var(--primary-green);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    transition: width 0.3s ease;
}

/* Typing effect */
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

.typing-effect {
    overflow: hidden;
    border-right: 3px solid var(--primary-green);
    white-space: nowrap;
    animation: typing 3s steps(40) 1s forwards, blink 0.75s step-end infinite;
}

/* Particle background effect */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-green);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat 15s infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Enhanced button effects */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Skeleton loading */
.skeleton {
    background: linear-gradient(
        90deg,
        #f0f0f0 25%,
        #e0e0e0 50%,
        #f0f0f0 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

.skeleton-text {
    height: 16px;
    margin-bottom: 8px;
}

.skeleton-title {
    height: 24px;
    width: 60%;
    margin-bottom: 16px;
}

/* Tooltip */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltip-text {
    visibility: hidden;
    background-color: var(--charcoal);
    color: var(--white);
    text-align: center;
    padding: 8px 12px;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
    font-size: 0.85rem;
}

.tooltip .tooltip-text::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--charcoal) transparent transparent transparent;
}
