/* ============================================ */
/* Agilityhive Research — Main Stylesheet       */
/* ============================================ */

:root {
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --text-dark: #0F172A;
    --text-muted: #475569;
    --accent-green: #059669;
    --accent-hover: #047857;
    --accent-light: #10B981;
    --border-light: #E2E8F0;
    --shadow-soft: 0 20px 40px rgba(15, 23, 42, 0.06);
    --shadow-hover: 0 30px 60px rgba(5, 150, 105, 0.1);
    --smooth-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --green-gradient: linear-gradient(135deg, #059669, #10B981);
    --green-gradient-hover: linear-gradient(135deg, #047857, #059669);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ============================================ */
/* NAVBAR                                       */
/* ============================================ */

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    padding: 1.2rem 0;
    transition: all 0.5s var(--smooth-ease);
}

.navbar-brand {
    color: var(--text-dark) !important;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.navbar-brand span { color: var(--accent-green); }

.nav-link {
    color: var(--text-muted) !important;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0.8rem;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link:focus { color: var(--accent-green) !important; }

/* Dropdown */
.glass-dropdown {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 0.5rem 0;
    box-shadow: var(--shadow-soft);
}

.glass-dropdown .dropdown-item {
    color: var(--text-dark);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s;
}

.glass-dropdown .dropdown-item:hover {
    background: var(--bg-light);
    color: var(--accent-green);
}

/* ============================================ */
/* BUTTONS                                      */
/* ============================================ */

.btn-primary-custom {
    background: var(--green-gradient);
    color: var(--bg-white);
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    transition: all 0.4s var(--smooth-ease);
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
}

.btn-primary-custom:hover {
    background: var(--green-gradient-hover);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.35);
}

.btn-outline-custom {
    background: transparent;
    color: var(--text-dark);
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    transition: all 0.4s var(--smooth-ease);
    text-decoration: none;
    display: inline-block;
}

.btn-outline-custom:hover {
    border-color: var(--text-dark);
    background: var(--bg-light);
}

/* ============================================ */
/* HERO                                         */
/* ============================================ */

.hero {
    position: relative;
    padding: 10rem 0 6rem;
    background-color: var(--bg-white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; width: 50vw;
    background-image: radial-gradient(var(--border-light) 2px, transparent 2px);
    background-size: 30px 30px;
    opacity: 0.5;
    z-index: 0;
    mask-image: linear-gradient(to left, rgba(0,0,0,1), rgba(0,0,0,0));
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1), rgba(0,0,0,0));
}

.hero-badge {
    display: inline-block;
    background: rgba(5, 150, 105, 0.1);
    color: var(--accent-green);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1.5px;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 550px;
    font-weight: 400;
    line-height: 1.7;
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    height: 600px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    bottom: -30px;
    left: -40px;
    background: var(--bg-white);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* ============================================ */
/* SCROLL ANIMATIONS                            */
/* ============================================ */

.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s var(--smooth-ease), transform 1s var(--smooth-ease);
}
.scroll-reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

.section-header {
    font-size: 0.85rem;
    color: var(--accent-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

/* ============================================ */
/* SERVICES                                     */
/* ============================================ */

.services-section { 
    padding: 8rem 0; 
    background: var(--bg-light);
}

.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    height: 100%;
    transition: all 0.5s var(--smooth-ease);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(5, 150, 105, 0.2);
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(5, 150, 105, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .card-icon-wrapper {
    background: var(--accent-green);
}

.card-icon {
    font-size: 1.8rem;
    color: var(--accent-green);
    transition: all 0.3s ease;
}

.service-card:hover .card-icon { color: var(--bg-white); }

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================ */
/* METHODOLOGY                                  */
/* ============================================ */

.methodology-section {
    padding: 8rem 0;
    background: var(--bg-white);
}

.process-step {
    padding: 2.5rem 2rem;
    border-left: 2px solid var(--border-light);
    transition: all 0.4s ease;
    height: 100%;
}

.process-step:hover { 
    border-left-color: var(--accent-green);
    background: var(--bg-light);
    border-radius: 0 12px 12px 0;
}

.process-num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--border-light);
    line-height: 1;
    margin-bottom: 1rem;
    display: block;
    transition: color 0.3s;
}

.process-step:hover .process-num { color: var(--accent-green); }

.process-step h4 { font-weight: 700; }

/* ============================================ */
/* STATS                                        */
/* ============================================ */

.stats-section {
    padding: 6rem 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    text-align: center;
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0;
    letter-spacing: -2px;
}

.stat-label { 
    color: var(--text-muted); 
    font-weight: 600;
    text-transform: uppercase; 
    letter-spacing: 1px; 
    font-size: 0.85rem; 
}

/* ============================================ */
/* TESTIMONIAL                                  */
/* ============================================ */

.testimonial-section {
    padding: 8rem 0;
    background: var(--bg-white);
}

.quote-text {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 500;
    line-height: 1.4;
    color: var(--text-dark);
    margin-bottom: 3rem;
    letter-spacing: -0.5px;
}

/* ============================================ */
/* INDUSTRIES                                   */
/* ============================================ */

.industries-section {
    padding: 8rem 0;
    background: var(--bg-white);
}

.industry-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 340px;
    cursor: pointer;
    border: 1px solid var(--border-light);
    transition: all 0.5s var(--smooth-ease);
    background: var(--bg-white);
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.industry-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--smooth-ease);
}

.industry-card:hover img { transform: scale(1.08); }

.industry-card .industry-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,23,42,0.1) 0%, rgba(15,23,42,0.5) 50%, rgba(15,23,42,0.92) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.75rem;
}

.industry-card .industry-icon {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.industry-card h4 {
    color: #fff;
    font-weight: 700;
    font-size: 1.15rem;
    margin: 0 0 0.4rem;
}

.industry-card .industry-desc {
    color: rgba(255,255,255,0.75);
    font-size: 0.8rem;
    line-height: 1.5;
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s var(--smooth-ease);
}

.industry-card:hover .industry-desc {
    max-height: 80px;
    opacity: 1;
    margin-top: 0.25rem;
}

/* ============================================ */
/* BLOG / INSIGHTS                              */
/* ============================================ */

.blog-section {
    padding: 8rem 0;
    background: var(--bg-white);
}

.blog-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all 0.5s var(--smooth-ease);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.blog-card .blog-img-wrap {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-card .blog-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--smooth-ease);
}

.blog-card:hover .blog-img-wrap img { transform: scale(1.06); }

.blog-card .blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent-green);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
}

.blog-card .blog-body {
    padding: 1.75rem;
}

.blog-card .blog-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.blog-card h5 {
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.blog-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-card .read-more {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--accent-green);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: gap 0.3s ease;
}

.blog-card .read-more:hover { gap: 0.6rem; }

/* ============================================ */
/* CTA BANNER                                   */
/* ============================================ */

.cta-banner {
    padding: 6rem 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -60%; right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(5,150,105,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -40%; left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(5,150,105,0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-banner h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-dark);
}

.cta-banner p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* ============================================ */
/* FOOTER                                       */
/* ============================================ */

.footer { 
    padding: 6rem 0 2rem; 
    background: #0F172A;
    color: white;
}

.footer-logo { font-size: 1.8rem; font-weight: 800; color: white; text-decoration: none; }
.footer-logo span { color: var(--accent-green); }
.footer-list { list-style: none; padding: 0; }
.footer-list a { color: #94A3B8; text-decoration: none; transition: color 0.3s; font-size: 0.95rem; }
.footer-list a:hover { color: white; }

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    font-size: 1.1rem;
    margin-right: 12px;
    transition: all 0.3s var(--smooth-ease);
    text-decoration: none;
}

.social-icon:hover {
    background: var(--accent-green);
    border-color: var(--accent-green);
    transform: translateY(-3px);
    color: white;
}

.footer-bottom { 
    margin-top: 4rem; 
    padding-top: 2rem; 
    border-top: 1px solid rgba(255,255,255,0.1); 
    color: #94A3B8; 
    font-size: 0.85rem; 
}

/* ============================================ */
/* UTILITY                                      */
/* ============================================ */

.text-slate { color: var(--text-dark); }
.text-slate-muted { color: var(--text-muted); }
