/* ==========================================================================
   ADHARSHILA INFRA ENGINEERS - PREMIUM LOGO-MATCHED GLOBAL STYLE SHEET
   ========================================================================== */

:root {
    --bg-paper: #f7f4ed;
    --bg-white: #ffffff;
    --primary-dark: #1c1b19;
    --primary-black: #111111;
    --accent-orange: #e86c1f;
    --accent-gold: #c6942a;
    --accent-green: #5e9f31;
    --text-muted: #555555;
    --border-color: #e5e0d8;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-premium: 0 12px 40px rgba(28, 27, 25, 0.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-family: var(--font-sans); background-color: var(--bg-paper); color: var(--primary-black); line-height: 1.6; }
body { overflow-x: hidden; }

h1, h2, h3, h4, h5, h6 { color: var(--primary-dark); font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; }
a { text-decoration: none; color: inherit; transition: var(--transition-smooth); }
img, svg, video { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 90px 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 30px; font-weight: 600; font-size: 0.95rem; border-radius: 4px; transition: var(--transition-smooth); cursor: pointer; border: none; letter-spacing: 0.02em; }
.btn-primary { background-color: var(--accent-orange); color: var(--bg-white); box-shadow: 0 4px 14px rgba(232, 108, 31, 0.2); }
.btn-primary:hover { background-color: var(--primary-dark); transform: translateY(-2px); }
.btn-secondary { background-color: transparent; color: var(--primary-dark); border: 2px solid var(--primary-dark); }
.btn-secondary:hover { background-color: var(--primary-dark); color: var(--bg-white); transform: translateY(-2px); }
.btn-green { background-color: var(--accent-green); color: var(--bg-white); }
.btn-green:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(94, 159, 49, 0.3); }

/* Sticky Header */
.site-header { background-color: var(--bg-white); border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 15px rgba(28, 27, 25, 0.02); }
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 90px; }
.logo-area { display: flex; align-items: center; gap: 14px; }
.logo-img { height: 60px; width: auto; }
.logo-text h1 { font-size: 1.3rem; color: var(--primary-dark); font-weight: 800; line-height: 1.1; }
.logo-text span { font-size: 0.75rem; display: block; color: var(--accent-orange); text-transform: uppercase; font-weight: 700; margin-top: 3px; }
.nav-menu { display: flex; gap: 32px; list-style: none; }
.nav-link { font-weight: 600; font-size: 0.95rem; color: var(--primary-dark); position: relative; padding: 8px 0; }
.nav-link:hover, .nav-link.active { color: var(--accent-orange); }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--accent-orange); transition: var(--transition-smooth); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.hamburger { display: none; cursor: pointer; background: none; border: none; }
.hamburger span { display: block; width: 25px; height: 3px; background-color: var(--primary-dark); margin: 5px 0; transition: var(--transition-smooth); }

/* Social Icons */
.social-icon-wrapper { display: flex; gap: 14px; margin-top: 15px; }
.social-icon-link { width: 40px; height: 40px; border-radius: 4px; background-color: #2d2b27; display: flex; align-items: center; justify-content: center; color: var(--bg-paper); transition: var(--transition-smooth); border: 1px solid #3d3a35; }
.social-icon-link:hover { background-color: var(--accent-orange); color: var(--bg-white); transform: translateY(-3px); }
.social-icon-link svg { width: 20px; height: 20px; fill: currentColor; }

/* Footer */
.site-footer { background-color: var(--primary-dark); color: var(--bg-paper); padding: 80px 0 40px 0; border-top: 5px solid var(--accent-orange); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 50px; }
.footer-brand h3 { color: var(--bg-white); margin-bottom: 15px; }
.footer-brand p { color: #a5a29c; font-size: 0.9rem; }
.footer-title { color: var(--bg-white); font-size: 1.1rem; margin-bottom: 20px; position: relative; padding-bottom: 8px; }
.footer-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background-color: var(--accent-orange); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #a5a29c; font-size: 0.95rem; }
.footer-links a:hover { color: var(--accent-orange); padding-left: 5px; }
.footer-contact-item { display: flex; flex-direction: column; gap: 4px; margin-bottom: 15px; font-size: 0.9rem; color: #a5a29c; }
.footer-contact-item strong { color: var(--bg-white); }
.footer-bottom { border-top: 1px solid #2d2b27; padding-top: 30px; display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: #a5a29c; }

/* Floating Bar & Chatbot */
.floating-actions-bar { position: fixed; bottom: 24px; right: 24px; display: flex; flex-direction: column; gap: 14px; z-index: 999; }
.action-circle { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,0.15); color: var(--bg-white); cursor: pointer; transition: var(--transition-smooth); }
.chatbot-widget { position: fixed; bottom: 24px; left: 24px; z-index: 1000; }
.chatbot-trigger { width: 56px; height: 56px; border-radius: 50%; background-color: var(--primary-dark); color: var(--bg-white); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,0.15); border: 2px solid var(--accent-orange); transition: var(--transition-smooth); }
.chatbot-window { position: absolute; bottom: 74px; left: 0; width: 340px; height: 450px; background-color: var(--bg-white); border-radius: 8px; box-shadow: 0 12px 50px rgba(28, 27, 25, 0.18); border: 1px solid var(--border-color); display: flex; flex-direction: column; overflow: hidden; transform: scale(0); transform-origin: bottom left; transition: var(--transition-smooth); }
.chatbot-window.active { transform: scale(1); }
.chatbot-header { background-color: var(--primary-dark); color: var(--bg-white); padding: 16px; font-weight: 700; border-bottom: 3px solid var(--accent-orange); }
.chatbot-messages { flex: 1; padding: 16px; overflow-y: auto; font-size: 0.9rem; display: flex; flex-direction: column; gap: 12px; }
.msg { padding: 12px 16px; border-radius: 6px; max-width: 85%; white-space: pre-line; }
.msg-bot { background-color: var(--bg-paper); color: var(--primary-black); align-self: flex-start; border-left: 3px solid var(--accent-orange); }
.msg-user { background-color: var(--accent-orange); color: var(--bg-white); align-self: flex-end; }
.chatbot-input-area { display: flex; border-top: 1px solid var(--border-color); padding: 12px; background-color: #fafaf8; }
.chatbot-input-area input { flex: 1; border: 1px solid var(--border-color); padding: 10px 14px; border-radius: 4px; outline: none; }
.chatbot-send-btn { background-color: var(--primary-dark); color: var(--bg-white); border: none; padding: 0 18px; margin-left: 8px; border-radius: 4px; cursor: pointer; font-weight: 600; }

@media (max-width: 1040px) {
    .hamburger { display: block; }
    .nav-menu { position: fixed; top: 90px; right: -100%; width: 320px; height: calc(100vh - 90px); background-color: var(--bg-white); flex-direction: column; padding: 48px; gap: 28px; box-shadow: -6px 6px 20px rgba(28, 27, 25, 0.05); transition: var(--transition-smooth); border-left: 1px solid var(--border-color); }
    .nav-menu.active { right: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}