/* ==================== ROOT VARIABLES ==================== */
:root {
    --bg-dark: #0d1117;
    --bg-panel: #161a2c;
    --bg-card: #1a1f2e;
    --text-light: #e6edf3;
    --text-muted: #94a3b8;
    --accent-gold: #d4af37;
    --accent-gold-hover: #f0c94b;
    --accent-highlight: rgba(212, 175, 55, 0.2);
    --border-color: #334155;
    --font-serif: Georgia, 'Times New Roman', serif;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.3);
    --shadow-gold: 0 0 20px rgba(212, 175, 55, 0.3);
    --shadow-gold-lg: 0 0 40px rgba(212, 175, 55, 0.5);
}

/* ==================== GLOBAL RESET ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.8;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(51, 65, 85, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
    background-size: 100% 100%, 100% 100%, 25px 25px;
    background-attachment: fixed;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* ==================== PAGE TRANSITION ==================== */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1f2e 100%);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease-in-out;
}

.page-transition-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* ==================== HEADER ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 10%;
    background: rgba(13, 17, 23, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
}

.header:hover {
    background: rgba(13, 17, 23, 0.95);
}

/* ==================== MOBILE MENU ==================== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 3px;
    transition: var(--transition-smooth);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(13, 17, 23, 0.98);
    backdrop-filter: blur(20px);
    display: none;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    z-index: 999;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(-100%);
    transition: transform 0.3s ease-out;
}

.mobile-nav.active {
    transform: translateY(0);
}

.nav-link-mobile {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 0.5rem 0;
    border-left: 3px solid transparent;
    padding-left: 1rem;
}

.nav-link-mobile:hover,
.nav-link-mobile.active {
    color: var(--accent-gold);
    border-left-color: var(--accent-gold);
    padding-left: 1.5rem;
}

/* ==================== LOGO ==================== */
.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.logo-link .logo-text {
    color: #D4AF37;
    font-weight: 600;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.logo-link:hover .logo-text {
    color: #FFEEA4;
    text-shadow: 0 0 8px #FFEEA4;
}

.logo-shape-container {
    width: 50px;
    height: 50px;
    perspective: 1000px;
    cursor: grab;
    transition: transform 0.3s ease;
}

.logo-shape-container:hover {
    transform: scale(1.1);
}

.logo-shape-container:active {
    cursor: grabbing;
}

.gyroscope {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
}

.ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    transform-style: preserve-3d;
    opacity: 0.8;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4), inset 0 0 10px rgba(212, 175, 55, 0.2);
    transition: var(--transition-smooth);
}

.ring:hover {
    opacity: 1;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.6), inset 0 0 15px rgba(212, 175, 55, 0.3);
}

.ring1 { animation: rotate1 12s linear infinite; }
.ring2 { animation: rotate2 15s linear infinite reverse; }
.ring3 { animation: rotate3 18s linear infinite; }

@keyframes rotate1 {
    from { transform: rotateY(0deg) rotateX(20deg); }
    to { transform: rotateY(360deg) rotateX(20deg); }
}

@keyframes rotate2 {
    from { transform: rotateX(70deg) rotateY(0deg); }
    to { transform: rotateX(70deg) rotateY(360deg); }
}

@keyframes rotate3 {
    from { transform: rotateZ(45deg) rotateX(0deg); }
    to { transform: rotateZ(45deg) rotateX(360deg); }
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 1px;
    transition: var(--transition-smooth);
}

/* ==================== NAVIGATION ==================== */
.navbar {
    display: flex;
    gap: 2.5rem;
}

.navbar a {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    padding: 5px 0;
    font-weight: 500;
}

.navbar a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    transition: width 0.3s ease-out;
}

.navbar a:hover,
.navbar a.active {
    color: var(--text-light);
}

.navbar a:hover::after,
.navbar a.active::after {
    width: 100%;
}

/* ==================== MAIN CONTENT ==================== */
main {
    display: block;
    opacity: 0;
    animation: contentFadeIn 0.7s 0.2s forwards;
}

.page {
    padding: 160px 10% 80px;
    min-height: 80vh;
}

@keyframes contentFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

/* ==================== TYPOGRAPHY ==================== */
h1 {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--text-light);
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
    background: linear-gradient(135deg, var(--text-light) 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 3rem;
    text-align: center;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.25);
    color: var(--text-light);
}

h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 500;
    margin: 2.5rem 0 1.5rem 0;
    color: var(--text-light);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.15);
    position: relative;
}

h3::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: var(--accent-gold);
}

p {
    font-size: 1.15rem;
    color: #b0bac9;
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

p.subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    font-style: italic;
    border-left: 3px solid var(--accent-gold);
    padding-left: 1.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
    padding: 1rem 1.5rem;
    border-radius: 0 8px 8px 0;
}

/* ==================== SECTION DIVIDER ==================== */
.section-divider {
    border: 0;
    height: 2px;
    background-image: linear-gradient(to right, rgba(51, 65, 85, 0), rgba(212, 175, 55, 0.5), rgba(51, 65, 85, 0));
    margin: 5rem 0;
    position: relative;
}

.section-divider::before {
    content: '✦';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-dark);
    padding: 0 1rem;
    color: var(--accent-gold);
    font-size: 1.2rem;
}

/* ==================== PILLAR CARDS ==================== */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.pillar-card {
    position: relative;
    background: linear-gradient(135deg, var(--bg-panel) 0%, var(--bg-card) 100%);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--accent-gold);
    border-color: var(--accent-gold);
}

.pillar-card:hover::before {
    opacity: 1;
}

.pillar-card h3 {
    font-family: var(--font-sans);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    border-bottom: none;
    margin: 0 0 1rem 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

.pillar-card p.impact {
    font-style: italic;
    color: var(--text-light);
    border-left: 3px solid var(--accent-gold);
    padding-left: 1rem;
    margin: 1rem 0 1.5rem;
    font-size: 1.05rem;
    background: rgba(212, 175, 55, 0.05);
    padding: 1rem;
    border-radius: 0 8px 8px 0;
}

.pillar-card h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.pillar-card ul {
    list-style: none;
    padding: 0;
    color: var(--text-muted);
    font-size: 1rem;
    flex-grow: 1;
}

.pillar-card ul li {
    padding: 0.3rem 0;
}

/* ==================== BUTTONS ==================== */
.btn-outline-gold {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    margin-top: 1.5rem;
    transition: var(--transition-smooth);
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-outline-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-gold);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-outline-gold:hover::before {
    left: 0;
}

.btn-outline-gold:hover {
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
}



/* ==================== PROCESS STEPS & LISTS ==================== */
.process-steps,
.why-us-list {
    list-style: none;
    counter-reset: step-counter;
    margin-top: 2rem;
    padding: 0;
}

.process-steps li,
.why-us-list li {
    counter-increment: step-counter;
    margin-bottom: 2rem;
    padding-left: 4rem;
    position: relative;
    background: rgba(51, 65, 85, 0.1);
    padding: 1.5rem 1.5rem 1.5rem 4.5rem;
    border-radius: 12px;
    border-left: 3px solid var(--accent-gold);
    transition: var(--transition-smooth);
}

.process-steps li:hover,
.why-us-list li:hover {
    background: rgba(51, 65, 85, 0.2);
    transform: translateX(5px);
}

.process-steps li::before {
    content: '0' counter(step-counter);
    position: absolute;
    left: 1.5rem;
    top: 1.5rem;
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--accent-gold);
    font-weight: bold;
}

.why-us-list li::before {
    content: '✓';
    position: absolute;
    left: 1.5rem;
    top: 1.5rem;
    font-size: 1.8rem;
    color: var(--accent-gold);
}

.process-steps li strong,
.why-us-list li strong {
    color: var(--text-light);
    display: block;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

/* ==================== TESTIMONIALS ==================== */
.testimonials {
    margin-top: 5rem;
    padding: 100px 10%;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.3) 0%, rgba(51, 65, 85, 0.1) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.03) 0%, transparent 70%);
}

.slider-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    z-index: 1;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 60px;
    text-align: center;
}

.testimonial-slide blockquote {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
    position: relative;
}

.testimonial-slide blockquote::before,
.testimonial-slide blockquote::after {
    content: '"';
    font-size: 4rem;
    color: var(--accent-gold);
    opacity: 0.3;
    position: absolute;
}

.testimonial-slide blockquote::before {
    top: -20px;
    left: -30px;
}

.testimonial-slide blockquote::after {
    bottom: -40px;
    right: -30px;
}

.testimonial-slide .author {
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 2px;
    font-size: 0.85rem;
}

.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.slider-nav button {
    background: var(--bg-panel);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    pointer-events: all;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-nav button:hover {
    color: var(--bg-dark);
    border-color: var(--accent-gold);
    background-color: var(--accent-gold);
    box-shadow: var(--shadow-gold);
    transform: scale(1.1);
}

/* ==================== SERVICE & PRICING CARDS ==================== */
.services-grid,
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card,
.pricing-box {
    position: relative;
    background: linear-gradient(135deg, var(--bg-panel) 0%, var(--bg-card) 100%);
    padding: 2.5rem;
    padding-bottom: 6.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.service-card::before,
.pricing-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-card:hover,
.pricing-box:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg, #1e293b 0%, var(--bg-card) 100%);
    border-color: var(--accent-gold);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--accent-gold);
}

.service-card:hover::before,
.pricing-box:hover::before {
    opacity: 1;
}

.pricing-box.highlight {
    animation: highlightPulse 2s ease-in-out;
    border: 2px solid var(--accent-gold);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.6), 0 15px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(-10px) scale(1.02);
}

@keyframes highlightPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.4), 0 15px 40px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(212, 175, 55, 0.8), 0 15px 40px rgba(0, 0, 0, 0.5);
    }
}

.service-card-content,
.pricing-box-content {
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.service-card h3,
.pricing-box h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 500;
    line-height: 1.4;
}

.service-card h3 {
    padding-right: 130px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin: 0;
    line-height: 1.7;
}

.service-cta-pricing {
    position: absolute;
    top: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--accent-gold);
    color: var(--bg-dark);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-smooth);
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    z-index: 2;
}

.service-cta-pricing:hover {
    background-color: var(--accent-gold-hover);
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.service-cta-pricing svg {
    width: 16px;
    height: 16px;
    stroke: var(--bg-dark);
    stroke-width: 2.5;
    transition: transform 0.2s ease;
}

.service-cta-pricing:hover svg {
    transform: translateX(3px);
}

.btn-view-details,
.btn-learn-more {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    width: calc(100% - 4rem);
    background: linear-gradient(135deg, #334155 0%, #475569 100%);
    color: var(--text-light);
    padding: 14px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: center;
    font-size: 1rem;
    box-shadow: var(--shadow-sm);
}

.service-card:hover .btn-view-details,
.pricing-box:hover .btn-learn-more {
    background: linear-gradient(135deg, #475569 0%, #64748b 100%);
}

.btn-view-details:hover,
.btn-learn-more:hover {
    transform: scale(1.03);
    background: var(--bg-panel);
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
    padding: 12px 18px;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin: 1.5rem 0;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    font-family: var(--font-serif);
}

/* ==================== CONTACT SECTION ==================== */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.contact-form-container {
    position: relative;
    min-height: 600px;
    background: linear-gradient(135deg, var(--bg-panel) 0%, var(--bg-card) 100%);
    padding: 3rem;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
    transition: opacity 0.5s ease-out;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    background: var(--bg-dark);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition-smooth);
    font-family: var(--font-sans);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    background: rgba(13, 17, 23, 0.8);
}

.form-group textarea {
    resize: vertical;
    min-height: 180px;
}

.btn-submit {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-hover) 100%);
    color: var(--bg-dark);
    padding: 14px 30px;
    border-radius: 10px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-submit:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.direct-lines-box {
    background: linear-gradient(135deg, var(--bg-panel) 0%, var(--bg-card) 100%);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.direct-lines-box h3 {
    margin-top: 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 0;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.contact-item:hover {
    background: rgba(51, 65, 85, 0.2);
    transform: translateX(5px);
}

.contact-item svg {
    width: 70px;
    height: 24px;
    fill: var(--text-muted);
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.contact-item a {
            display: block;
    width: 100%;
    padding: 1rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
    word-break: break-all;
}

.contact-item:hover svg,
.contact-item a:hover {
    fill: var(--accent-gold);
    color: var(--accent-gold);
}

.confirmation-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--bg-panel) 0%, var(--bg-card) 100%);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
}

.confirmation-overlay.visible {
    opacity: 1;
    pointer-events: all;
}

.confirmation-icon {
    width: 100px;
    height: 100px;
    border: 3px solid var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    animation: scaleIn 0.5s ease-out;
    box-shadow: var(--shadow-gold);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.confirmation-icon svg {
    width: 50px;
    height: 50px;
    stroke: var(--accent-gold);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: checkDraw 0.5s 0.3s ease-out forwards;
}

@keyframes checkDraw {
    from {
        stroke-dasharray: 100;
        stroke-dashoffset: 100;
    }
    to {
        stroke-dasharray: 100;
        stroke-dashoffset: 0;
    }
}

.confirmation-overlay h3 {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 1rem;
    font-size: 2rem;
}

/* ==================== FOOTER ==================== */
.footer {
    padding: 5rem 10% 2rem;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0a0d12 100%);
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 10;
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
}

.footer-main {
    flex: 1.5;
    min-width: 250px;
}

.footer-main .logo-text {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.footer-main p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--accent-gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.social-icon svg {
    width: 22px;
    height: 22px;
    transition: var(--transition-smooth);
    fill: currentColor;
    position: relative;
    z-index: 1;
}

.social-icon:hover {
    border-color: var(--accent-gold);
    color: var(--bg-dark);
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
}

.social-icon:hover::before {
    width: 100%;
    height: 100%;
}

.footer-links {
    flex: 2;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2.5rem;
}

.footer-links h4 {
    font-family: var(--font-serif);
    color: var(--text-light);
    margin-bottom: 1.2rem;
    font-size: 1.15rem;
    font-weight: 500;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.9rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: var(--transition-smooth);
    color: var(--accent-gold);
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 20px;
}

.footer-links a:hover::before {
    left: 0;
    opacity: 1;
}

.footer-bottom {
    width: 100%;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ==================== MODAL ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 17, 23, 0.95);
    z-index: 2000;
    display: none;
    place-items: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-page {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-card) 100%);
    width: 90vw;
    height: 90vh;
    max-width: 1000px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    opacity: 0;
    animation: modal-swoop 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

@keyframes modal-swoop {
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-header {
    padding: 2rem 2.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(51, 65, 85, 0.1);
}

.modal-header h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin: 0;
    font-weight: 500;
    text-align: left;
}

.modal-close {
    background: none;
    border: 2px solid var(--border-color);
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2.5rem;
    overflow-y: auto;
    flex-grow: 1;
}

.modal-body h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem 0;
    color: var(--accent-gold);
    font-weight: 500;
}

.modal-body p,
.modal-body li {
    color: var(--text-muted);
    line-height: 1.8;
}

.modal-body ul {
    list-style: none;
    padding-left: 0;
}

.modal-body li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 1rem;
}

.modal-body li::before {
    content: '•';
    position: absolute;
    left: 0.5rem;
    color: var(--accent-gold);
    font-size: 1.5rem;
    line-height: 1;
}

/* ==================== FIXED CTAs ==================== */
.fixed-cta {
    position: fixed;
    bottom: 2rem;
    z-index: 1001;
    transition: var(--transition-smooth);
}

.fixed-cta:hover {
    transform: scale(1.08);
}

#chatbot-trigger {
    right: 2rem;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-hover) 100%);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 5px 25px rgba(212, 175, 55, 0.5);
    animation: pulse-gold 2s infinite;
    border: none;
}

#chatbot-trigger svg {
    width: 28px;
    height: 28px;
}

@keyframes pulse-gold {
    0%, 100% {
        box-shadow: 0 5px 25px rgba(212, 175, 55, 0.5);
    }
    50% {
        box-shadow: 0 5px 35px rgba(212, 175, 55, 0.8);
    }
}

#lost-cta {
    left: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-light);
    cursor: pointer;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    background: var(--bg-panel);
    border: 2px solid var(--border-color);
    border-radius: 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

#lost-cta:hover {
    border-color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.1);
    transform: scale(1.05);
}

#lost-cta span {
    color: var(--accent-gold);
}

#lost-cta .lost-icon {
    font-size: 1.5rem;
    color: var(--accent-gold);
    animation: point-right 1.5s ease-in-out infinite;
    transform-origin: center;
    display: inline-block;
}

@keyframes point-right {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(7px);
    }
}

/* ==================== MOBILE OPTIMIZATIONS (For Chat Trigger) ==================== */
/* Apply these styles for screens 768px wide or less (typical mobile/tablet size) */
@media (max-width: 768px) {
    /* Reduce the size and reposition the main circular button */
    #chatbot-trigger {
        width: 50px; /* Reduced from 65px */
        height: 50px; /* Reduced from 65px */
        right: 1.5rem; /* Adjusted position for better mobile fit */
        bottom: 1.5rem; /* Adjusted position for better mobile fit */
        
        /* You may need to use !important if the existing styles are very specific */
        width: 50px !important; 
        height: 50px !important;
        right: 1.5rem !important;
        bottom: 1.5rem !important;
        
        /* Reduce the pulsing shadow effect for less visual clutter on mobile */
        box-shadow: 0 3px 15px rgba(212, 175, 55, 0.5) !important;
    }

    /* Reduce the size of the SVG icon inside the button */
    #chatbot-trigger svg {
        width: 20px !important; /* Reduced from 28px */
        height: 20px !important; /* Reduced from 28px */
    }
    
    /* Also make the 'Lost CTA' smaller/repositioned for mobile */
    #lost-cta {
        left: 1.5rem !important;
        bottom: 1.5rem !important;
        padding: 0.5rem 1rem !important;
    }
}


/* ==================== CHATBOT ==================== */
#chatbot-window {
    position: fixed;
    bottom: 7rem;
    right: 2rem;
    width: 420px;
    height: 650px;
    background: linear-gradient(135deg, var(--bg-panel) 0%, var(--bg-card) 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transform: translateY(30px) scale(0.9);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}

@media (min-height: 800px) {
    #chatbot-window {
        height: 70vh;
        max-height: 750px;
    }
}

#chatbot-window.visible {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

.chatbot-header {
    padding: 1.2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(51, 65, 85, 0.2);
    border-radius: 16px 16px 0 0;
}

.chatbot-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bg-dark), #475569);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.chatbot-avatar::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: conic-gradient(from 0deg, transparent, var(--accent-gold), transparent);
    animation: spin-avatar 4s linear infinite;
}

@keyframes spin-avatar {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.chatbot-avatar-inner {
    width: 37px;
    height: 37px;
    background: var(--bg-panel);
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.chatbot-header-text h4 {
    margin: 0;
    font-weight: 600;
    font-size: 1.05rem;
}

.chatbot-header-text p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--accent-gold);
}

.chatbot-close {
    margin-left: auto;
    background: none;
    border: 2px solid var(--border-color);
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.chatbot-close:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: rotate(90deg);
}

.chatbot-body {
    flex-grow: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    display: flex;
    max-width: 85%;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message.ai {
    align-self: flex-start;
}

.chat-message.user {
    align-self: flex-end;
}

.message-content {
    padding: 1rem 1.2rem;
    border-radius: 14px;
    line-height: 1.6;
    word-break: break-word;
    overflow-wrap: break-word;
    box-shadow: var(--shadow-sm);
}

.chat-message.ai .message-content {
    background: linear-gradient(135deg, #1a1f2e 0%, #161a2c 100%) !important;
    border-bottom-left-radius: 4px !important;
    border-left: 4px solid var(--accent-gold) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 15px rgba(212, 175, 55, 0.15) !important;
    color: #E6D8AD !important;
    border-radius: 12px !important;
    border-bottom-left-radius: 4px !important;
}

.chat-message.user .message-content {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-hover) 100%);
    color: var(--bg-dark);
    border-bottom-right-radius: 4px;
    font-weight: 500;
}

.typing-indicator {
    display: none;
    align-items: center;
    gap: 5px;
    padding: 1rem 1.2rem;
}

.typing-indicator.active {
    display: flex;
}

.typing-indicator span {
    width: 9px;
    height: 9px;
    background-color: var(--text-muted);
    border-radius: 50%;
    animation: typing 1s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.chatbot-input {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 1.2rem;
    border-top: 1px solid var(--border-color);
    background: rgba(51, 65, 85, 0.1);
}

#chatbot-input {
    flex-grow: 1;
    resize: none;
    overflow-y: auto;
    box-sizing: border-box;
    width: 100%;
    background-color: #0D1017;
    border: 1px solid #BFA251;
    border-radius: 8px;
    padding: 10px 15px;
    font-family: 'Georgia', serif;
    font-size: 14px;
    color: #E6D8AD;
    min-height: 44px;
    line-height: 1.5;
    transition: height 0.2s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

#chatbot-input::placeholder {
    color: #8A8A8A;
}

#chatbot-input:focus {
    border-color: #FFEEA4;
    box-shadow: 0 0 8px rgba(255, 238, 164, 0.5);
    outline: none;
}

#chatbot-send {
    background-color: #BFA251;
    color: #12151A;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    height: 44px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#chatbot-send:hover {
    background-color: #D4AF37;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1200px) {
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .header,
    .footer,
    .page {
        padding-left: 5%;
        padding-right: 5%;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
    }

    .services-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps li::before {
        left: 1rem !important;
        top: 1.2rem !important;
        font-size: 1.7rem !important;
    }
    .process-steps li {
        padding-left: 3.8rem !important;
    }
}

@media (max-width: 768px) {
    .navbar {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-nav {
        display: flex;
        max-height: 62vh !important;
        overflow-y: hidden !important;
        padding-bottom: 0.5rem !important;
    }
    
    .mobile-nav a,
    .mobile-nav .nav-link-mobile {
        font-size: 0.9rem !important;
        padding: 0.5rem 1rem !important;
        line-height: 1.2 !important;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .page {
        padding: 120px 5% 60px;
    }

    #chatbot-window {
        width: 90vw;
        height: calc(100vh - 8rem);
        bottom: 6.5rem;
        right: 5vw;
    }

    #lost-cta {
        display: none;
    }

    .service-card h3,
    .pricing-box h3 {
        padding-right: 0;
        margin-bottom: 3rem;
    }

    .service-cta-pricing {
        position: static;
        margin: 1rem auto 0 auto;
        display: inline-flex;
        width: auto;
    }

    .testimonial-slide {
        padding: 0 20px;
    }

    .slider-nav button {
        width: 40px;
        height: 40px;
    }
    
    .testimonial-slide blockquote {
        font-size: 1.2rem;
    }
    
    .process-steps li,
    .why-us-list li {
        padding-left: 3.5rem;
    }
    
    body {
        font-size: 15px;
    }
    
    p {
        font-size: 1.05rem;
    }
    
    p.subtitle {
        font-size: 1.15rem;
        padding: 0.8rem 1.2rem;
    }

    .modal-header {
        padding: 1rem 1.25rem;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
        line-height: 1.3;
    }
    
    .modal-body {
        padding: 1.5rem;
    }

    .modal-page {
        height: 85vh;
    }
    
    .chatbot-header {
        padding: 0.8rem;
    }
    
    .chatbot-avatar {
        width: 35px;
        height: 35px;
    }
    
    .chatbot-avatar-inner {
        width: 29px;
        height: 29px;
    }
    
    .chatbot-header-text h4 {
        font-size: 0.9rem;
    }
    
    .chatbot-header-text p {
        font-size: 0.7rem;
    }
    
    .chatbot-close {
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }
    
    .chatbot-body {
        padding: 0.8rem;
        gap: 0.6rem;
    }
    
    .message-content {
        padding: 0.7rem 0.9rem;
        font-size: 0.85rem;
    }
    
    .chatbot-input {
        padding: 0.8rem;
        gap: 0.5rem;
    }
    
    #chatbot-input {
        padding: 0.7rem;
        font-size: 0.85rem;
    }
    
    #chatbot-send {
        padding: 0 1rem;
        font-size: 0.85rem;
    }

    body {
        font-size: 14px;
    }
    
    p {
        font-size: 1rem;
    }
    
    .chatbot-header-text h4 {
        font-size: 0.95rem;
    }
    
    .chatbot-header-text p {
        font-size: 0.75rem;
    }
    
    .chatbot-avatar {
        width: 38px;
        height: 38px;
    }
    
    .modal-header h2 {
        font-size: 1.1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }

    .chatbot-avatar-inner {
        width: 32px;
        height: 32px;
    }
    
    .chatbot-close {
        width: 30px;
        height: 30px;
        font-size: 1.3rem;
    }
    
    .chatbot-body {
        padding: 1rem;
    }
    
    .message-content {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .chatbot-input {
        padding: 0.8rem;
        gap: 0.5rem;
    }
    
    #chatbot-input {
        font-size: 13px;
        padding: 8px 12px;
        min-height: 40px;
    }
    
    #chatbot-send {
        padding: 8px 16px;
        height: 40px;
        font-size: 0.9rem;
    }
}

@media (max-width: 500px) {
    .mobile-nav {
        overflow-y: auto !important;
        max-height: 70vh !important;
    }
    .mobile-nav a,
    .mobile-nav .nav-link-mobile {
        font-size: 0.88rem !important;
        padding: 0.45rem 0.8rem !important;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.4rem;
    }

    .logo-shape-container {
        width: 40px;
        height: 40px;
    }

    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }

    .process-steps li::before {
        font-size: 1.5rem;
        left: 1rem;
        top: 1rem !important;
    }
    
    .process-steps li {
        padding-left: 3rem !important;
    }
    
    .price {
        font-size: 2.5rem;
    }
    
    #chatbot-trigger {
        width: 55px;
        height: 55px;
    }
    
    .chatbot-header {
        padding: 0.7rem;
    }
    
    .chatbot-header-text h4 {
        font-size: 0.9rem;
    }
    
    .chatbot-header-text p {
        font-size: 0.7rem;
    }
    
    .chatbot-body {
        padding: 0.8rem;
    }
    
    .message-content {
        padding: 0.65rem 0.85rem;
        font-size: 0.85rem;
    }
    
    .chatbot-input {
        padding: 0.7rem;
    }
    
    #chatbot-input {
        font-size: 12px;
        padding: 7px 10px;
        min-height: 36px;
    }
    
    #chatbot-send {
        padding: 7px 14px;
        height: 36px;
        font-size: 0.85rem;
    }
}

@media (max-width: 360px) {
    .chatbot-header {
        padding: 0.6rem;
    }
    
    .chatbot-avatar {
        width: 30px;
        height: 30px;
    }
    
    .chatbot-avatar-inner {
        width: 24px;
        height: 24px;
    }
    
    .chatbot-header-text h4 {
        font-size: 0.8rem;
    }
    
    .chatbot-header-text p {
        font-size: 0.65rem;
    }
    
    .chatbot-body {
        padding: 0.6rem;
    }
    
    .message-content {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .chatbot-input {
        padding: 0.6rem;
    }
    
    .chatbot-input input {
        padding: 0.6rem;
        font-size: 0.8rem;
    }
}

/* ==================== SCROLLBAR STYLING ==================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* ==================== SELECTION STYLING ==================== */
::selection {
    background: rgba(212, 175, 55, 0.3);
    color: var(--text-light);
}

::-moz-selection {
    background: rgba(212, 175, 55, 0.3);
    color: var(--text-light);
}

/* ==================== UTILITY CLASSES ==================== */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 4rem;
}

.mb-4 {
    margin-bottom: 4rem;
}

/* ==================== CHATBOT SAFETY OVERRIDES ==================== */
#chatbot-window,
#chatbot-window.visible,
#chatbot-window .chatbot-body,
.chatbot-body,
.chatbot-input,
.message-content {
  background-color: #0d0f13 !important;
  opacity: 1 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

#chatbot-window.visible ~ #chatbot-trigger,
#chatbot-window.visible ~ #lost-cta {
  display: none !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

/* ==================== MOBILE CHATBOT FULL SCREEN ==================== */
@media (max-width: 768px) {

  #chatbot-window.visible {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    background-color: #0d0f13 !important;
    z-index: 99999 !important;
    overflow: hidden !important;
    box-shadow: none !important;
  }

  #chatbot-window.visible .chatbot-header {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 100000 !important;
    background-color: #0d0f13 !important;
    border-radius: 0 !important;
    flex-shrink: 0 !important;
  }

  #chatbot-window.visible .chatbot-body,
  .chatbot-body {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 12px 14px 12px 14px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    background-color: #0d0f13 !important;
    box-sizing: border-box !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .chat-message,
  .chat-message.ai,
  .chat-message.user,
  .chat-message .message-content,
  .message-content {
    box-sizing: border-box !important;
    word-break: break-word !important;
  }

  .chat-message {
    width: auto !important;
    max-width: calc(100% - 48px) !important;
    margin: 8px 12px !important;
    display: flex !important;
  }

  .chat-message.ai,
  .chat-message:not(.user) {
    align-self: flex-start !important;
    margin-left: 12px !important;
    margin-right: 80px !important;
  }

  .chat-message.user {
    align-self: flex-end !important;
    margin-right: 12px !important;
    margin-left: 80px !important;
  }

  .message-content {
    padding: 12px 16px !important;
    border-radius: 12px !important;
    line-height: 1.45 !important;
    max-width: 100% !important;
  }

  .chat-message.ai .message-content,
  .chat-message:not(.user) .message-content {
    background: linear-gradient(135deg, #1a1f2e 0%, #161a2c 100%) !important;
    color: #E6D8AD !important;
    border-left: 4px solid rgba(212, 175, 55, 0.95) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 15px rgba(212, 175, 55, 0.15) !important;
    border-radius: 12px !important;
    border-bottom-left-radius: 4px !important;
  }

  .chat-message.user .message-content {
    background: linear-gradient(135deg, var(--accent-gold, #D4AF37) 0%, var(--accent-gold-hover, #F0C94B) 100%) !important;
    color: #12151A !important;
  }

  #chatbot-window.visible .chatbot-input,
  .chatbot-input {
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    padding: 12px 14px !important;
    background-color: #0d0f13 !important;
    border-top: 1px solid rgba(255,255,255,0.06) !important;
    z-index: 100001 !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
  }

  #chatbot-input,
  .chatbot-input textarea,
  .chatbot-input input {
    width: calc(100% - 110px) !important;
    max-width: calc(100% - 110px) !important;
    margin: 0 !important;
    display: inline-block !important;
    box-sizing: border-box !important;
  }

  #chatbot-send,
  .chatbot-input button {
    position: absolute !important;
    right: 18px !important;
    bottom: 18px !important;
    z-index: 100002 !important;
    height: auto !important;
  }

  #chatbot-window,
  #chatbot-window.visible,
  #chatbot-window .chatbot-body,
  .chatbot-body {
    background-color: #0d0f13 !important;
    opacity: 1 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  
  .chatbot-body::-webkit-scrollbar {
    display: none;
  }
  
  .chatbot-body {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}

/* ===== Custom Chatbot + Ask AI Enhancements (Merged Final Version) ===== */

/* --- Ask AI label above CTA (mobile only, adjusted position) --- */
#chatbot-trigger-container {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2000;
}

#chatbot-label {
    display: none;
    position: relative;
    bottom: 78px;       /* slightly lower */
    left: -4px;         /* slightly left */
    font-family: var(--font-serif);
    color: var(--accent-gold);
    font-size: 1rem;
    font-weight: 600;
    pointer-events: none;
    transition: color 0.3s ease, text-shadow 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

@media (max-width: 768px) {
    #chatbot-label {
        display: block;
        opacity: 0;
        transform: translateY(5px);
        animation: labelFadeIn 0.4s ease forwards;
    }

    #chatbot-trigger-container:hover #chatbot-label,
    #chatbot-trigger-container:hover #chatbot-trigger {
        color: var(--accent-gold-hover);
        text-shadow: 0 0 8px var(--accent-gold-hover);
    }

    #chatbot-trigger {
        width: 50px !important;
        height: 50px !important;
    }

    #chatbot-trigger svg {
        width: 20px !important;
        height: 20px !important;
    }

    #chatbot-trigger-container {
        right: 1rem;
        bottom: 1rem;
    }
}

@keyframes labelFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Chatbot open/close smooth animation for all screen sizes --- */
#chatbot-window {
    transform: translateY(30px) scale(0.96);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#chatbot-window.visible {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

/* Close (X) button animation */
.chatbot-close {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

#chatbot-window.visible .chatbot-close {
    opacity: 1;
    transform: scale(1);
}

/* --- Fullscreen chatbot for smaller height screens --- */
@media (max-height: 800px) {
    #chatbot-window {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        margin: 0 !important;
        border-radius: 0 !important;
        z-index: 2000 !important;
        box-shadow: none !important;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    #chatbot-window.visible {
        transform: translateY(0) scale(1);
        opacity: 1;
        visibility: visible;
    }

    .chatbot-header,
    .chatbot-input {
        border-radius: 0 !important;
    }
}

/* --- Ensure page scrolling remains intact --- */
html, body {
    overflow: auto !important;
    height: auto !important;
}



/* Slightly lower the "Ask AI" label */
#chatbot-label {
    bottom: 60px !important; /* gently lowered */
}


/* ==================== MINIMUM TOUCH TARGETS FIX ==================== */
/* Add this to the END of style.css */

/* Ensure all interactive elements meet 48x48px minimum for comfortable tapping */

.social-icon {
    min-width: 48px;
    min-height: 48px;
}

@media (max-width: 768px) {
    .chatbot-close {
        min-width: 44px !important;
        min-height: 44px !important;
    }
    
    .slider-nav button {
        min-width: 44px !important;
        min-height: 44px !important;
    }
    
    .btn-outline-gold,
    .btn-submit,
    .btn-view-details,
    .btn-learn-more {
        min-height: 48px !important;
        padding: 14px 24px !important;
    }
    
    .modal-close {
        min-width: 44px !important;
        min-height: 44px !important;
    }
    
    .mobile-menu-toggle {
        min-width: 44px !important;
        min-height: 44px !important;
        padding: 10px !important;
    }
}

/* ==================== END TOUCH TARGETS FIX ==================== */





/* ==================== MOBILE CARD CONTENT FIX - NO SIZE CHANGE ==================== */

@media (max-width: 786px) {
    /* Pillar Cards - Home Section - CONTENT ONLY */
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
        margin-top: 0.8rem;
    }
    
    .pillar-card {
        padding: 0.6rem;
        border-radius: 6px;
    }
    
    .pillar-card h3 {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
        line-height: 1.2;
        padding-bottom: 0.25rem;
    }
    
    .pillar-card h3 span {
        font-size: 0.85rem !important;
    }
    
    .pillar-card p.impact {
        font-size: 0.7rem;
        padding: 0.45rem 0.55rem;
        margin: 0.35rem 0 0.5rem;
        line-height: 1.35;
    }
    
    .pillar-card p.impact strong {
        font-size: 0.7rem;
    }
    
    .pillar-card h4 {
        font-size: 0.65rem;
        margin-bottom: 0.25rem;
        margin-top: 0.4rem;
    }
    
    .pillar-card ul {
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
    }
    
    .pillar-card ul li {
        padding: 0.1rem 0;
        line-height: 1.25;
    }
    
    /* CTA Button in Pillar Cards - FIXED */
    .pillar-card .btn-outline-gold,
    .pillar-card .pillar-cta {
        padding: 0.5rem 0.8rem !important;
        font-size: 0.75rem !important;
        margin-top: 0.6rem !important;
        border-radius: 6px !important;
        border-width: 1.5px !important;
        min-height: 36px !important;
        height: auto !important;
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        line-height: 1.3 !important;
        font-weight: 600 !important;
    }
    
    /* Service Cards - Services Section - CONTENT ONLY */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
        margin-top: 0.8rem;
    }
    
    .service-card {
        padding: 0.6rem;
        padding-bottom: 3rem;
        border-radius: 6px;
    }
    
    .service-card h3 {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
        padding-right: 0;
        line-height: 1.2;
    }
    
    .service-card p {
        font-size: 0.72rem;
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }
    
    /* View Pricing CTA - FIXED */
    .service-cta-pricing {
        position: static !important;
        display: inline-block !important;
        margin: 0.5rem 0 0 0 !important;
        padding: 0.4rem 0.7rem !important;
        font-size: 0.7rem !important;
        border-radius: 16px !important;
        width: auto !important;
        min-height: 28px !important;
        height: auto !important;
        line-height: 1.2 !important;
        font-weight: 700 !important;
    }
    
    .service-cta-pricing span {
        font-size: 0.7rem !important;
    }
    
    .service-cta-pricing svg {
        width: 11px !important;
        height: 11px !important;
    }
    
    /* View Details Button - FIXED */
    .btn-view-details {
        position: absolute !important;
        bottom: 0.6rem !important;
        left: 0.6rem !important;
        right: 0.6rem !important;
        width: calc(100% - 1.2rem) !important;
        padding: 0.5rem 0.7rem !important;
        font-size: 0.75rem !important;
        border-radius: 6px !important;
        min-height: 36px !important;
        height: auto !important;
        line-height: 1.3 !important;
        text-align: center !important;
        font-weight: 600 !important;
    }
    
    /* Pricing Cards - Pricing Section - CONTENT ONLY */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
        margin-top: 0.8rem;
    }
    
    .pricing-box {
        padding: 0.6rem;
        padding-bottom: 3rem;
        border-radius: 6px;
    }
    
    .pricing-box h3 {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
        line-height: 1.2;
    }
    
    .price {
        font-size: 1.4rem !important;
        margin: 0.5rem 0 !important;
        line-height: 1.2 !important;
        font-weight: 700 !important;
    }
    
    .pricing-box p {
        font-size: 0.7rem;
        margin-top: 0.4rem;
        line-height: 1.35;
    }
    
    /* View Full Details Button - FIXED */
    .btn-learn-more {
        position: absolute !important;
        bottom: 0.6rem !important;
        left: 0.6rem !important;
        right: 0.6rem !important;
        width: calc(100% - 1.2rem) !important;
        padding: 0.5rem 0.7rem !important;
        font-size: 0.75rem !important;
        border-radius: 6px !important;
        min-height: 36px !important;
        height: auto !important;
        line-height: 1.3 !important;
        text-align: center !important;
        font-weight: 600 !important;
    }
}

@media (max-width: 480px) {
    .pillar-card,
    .service-card,
    .pricing-box {
        padding: 0.55rem;
    }
    
    .service-card,
    .pricing-box {
        padding-bottom: 2.8rem;
    }
    
    .pillar-card h3,
    .service-card h3,
    .pricing-box h3 {
        font-size: 0.75rem;
    }
    
    .price {
        font-size: 1.3rem !important;
    }
    
    .pillar-card p.impact,
    .pillar-card ul,
    .service-card p,
    .pricing-box p {
        font-size: 0.68rem;
    }
    
    .btn-view-details,
    .btn-learn-more,
    .pillar-card .btn-outline-gold {
        padding: 0.45rem 0.65rem !important;
        font-size: 0.72rem !important;
        min-height: 34px !important;
    }
    
    .service-cta-pricing {
        padding: 0.35rem 0.6rem !important;
        font-size: 0.68rem !important;
        min-height: 26px !important;
    }
}

@media (max-width: 380px) {
    .price {
        font-size: 1.2rem !important;
    }
    
    .btn-view-details,
    .btn-learn-more,
    .pillar-card .btn-outline-gold {
        font-size: 0.7rem !important;
        min-height: 32px !important;
    }
}

/* ==================== END MOBILE CARD CONTENT FIX ==================== */



/* ==================== VIEW PRICING CTA CENTER FIX ==================== */

@media (max-width: 786px) {
    .service-cta-pricing {
        display: block !important;
        margin: 0.5rem auto 0 auto !important;
        text-align: center !important;
        max-width: 140px !important;
    }
}

@media (max-width: 480px) {
    .service-cta-pricing {
        max-width: 130px !important;
    }
}

/* ==================== END VIEW PRICING CENTER FIX ==================== */




/* ==================== CONTACT ITEM FULL CLICKABLE FIX V2 ==================== */

.contact-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.contact-item:hover {
    background: rgba(51, 65, 85, 0.2);
    transform: translateX(5px);
}

.contact-item svg {
    width: 24px;
    height: 24px;
    fill: var(--text-muted);
    flex-shrink: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.contact-item a {
    display: block;
    width: 100%;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
    word-break: break-all;
    padding: 0;
}

.contact-item:hover svg {
    fill: var(--accent-gold);
}

.contact-item:hover a {
    color: var(--accent-gold);
}

/* Make entire contact-item clickable by overlaying link */
.contact-item a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* ==================== END CONTACT ITEM FIX V2 ==================== */

/* ==================== WHATSAPP CTA ==================== */
#whatsapp-cta {
    position: fixed;
    left: 2rem;
    bottom: 7.5rem; /* Up position when lost-cta is visible (desktop) */
    width: 65px;
    height: 65px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition-smooth);
    z-index: 1001;
}

#whatsapp-cta:hover {
    background: #20BA5A;
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    transform: scale(1.1);
}

#whatsapp-cta svg {
    width: 36px;
    height: 36px;
}

@media (max-width: 768px) {
    #whatsapp-cta {
        left: 1.5rem;
        bottom: 1.5rem; /* Down position when lost-cta is hidden (mobile) */
        width: 50px;
        height: 50px;
    }
    
    #whatsapp-cta svg {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 480px) {
    #whatsapp-cta {
        width: 48px;
        height: 48px;
    }
    
    #whatsapp-cta svg {
        width: 24px;
        height: 24px;
    }
}