/* ============================================================
   A+ Datalytics - Main Stylesheet
   Website: aplusdatalytics.in
   Colors: Dark Blue #0d1b2a, Orange #f57c00, Teal #00acc1
   ============================================================ */

:root {
    --primary:    #0d1b2a;
    --primary-light: #1a2e45;
    --orange:     #f57c00;
    --orange-dark:#e65100;
    --teal:       #00acc1;
    --white:      #ffffff;
    --light:      #f8f9fa;
    --gray:       #6c757d;
    --dark:       #212529;
    --border:     #e9ecef;
    --shadow:     0 4px 24px rgba(13,27,42,0.10);
    --shadow-lg:  0 8px 40px rgba(13,27,42,0.15);
    --radius:     10px;
    --transition: all 0.3s ease;
}

/* ---- Base ---- */
* { box-sizing: border-box; }
body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: var(--dark);
    background: #fff;
    line-height: 1.7;
    overflow-x: hidden;
}
a { color: var(--orange); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--orange-dark); }
img { max-width: 100%; }

/* ---- Typography ---- */
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.25; color: var(--primary); }
.text-orange { color: var(--orange) !important; }
.text-primary-custom { color: var(--primary) !important; }
.text-teal { color: var(--teal) !important; }
.bg-primary-custom { background-color: var(--primary) !important; }
.bg-orange { background-color: var(--orange) !important; }

/* ---- Buttons ---- */
.btn-orange {
    background: var(--orange);
    color: #fff;
    border: 2px solid var(--orange);
    border-radius: 50px;
    padding: 10px 32px;
    font-weight: 600;
    transition: var(--transition);
}
.btn-orange:hover {
    background: var(--orange-dark);
    border-color: var(--orange-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245,124,0,0.35);
}
.btn-primary-custom {
    background: var(--primary);
    color: #fff;
    border: 2px solid var(--primary);
    border-radius: 50px;
    padding: 10px 32px;
    font-weight: 600;
    transition: var(--transition);
}
.btn-primary-custom:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    color: #fff;
    transform: translateY(-2px);
}
.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: 50px;
    padding: 10px 32px;
    font-weight: 600;
    transition: var(--transition);
}
.btn-outline-white:hover {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}

/* ---- Top Bar ---- */
.top-bar {
    background: var(--primary);
    padding: 8px 0;
    font-size: 0.85rem;
}
.top-bar a { color: rgba(255,255,255,0.8); }
.top-bar a:hover { color: var(--orange); }

/* ---- Navbar ---- */
.navbar-main {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    padding: 14px 0;
    transition: var(--transition);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar-main.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.12);
}
.navbar-brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}
.navbar-brand-text span { color: var(--orange); }
.nav-link-custom {
    color: var(--primary) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 6px 14px !important;
    border-radius: 6px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.nav-link-custom:hover,
.nav-link-custom.active {
    color: var(--orange) !important;
    background: rgba(245,124,0,0.08);
}

/* ---- Hero Section ---- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, #1a3a5c 50%, #0d2d4a 100%);
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245,124,0,0.15);
    border: 1px solid rgba(245,124,0,0.3);
    color: var(--orange);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.hero-badge-dot {
    width: 8px; height: 8px;
    background: var(--orange);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}
.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
}
.hero-title .highlight {
    color: var(--orange);
    position: relative;
}
.hero-slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.hero-dot {
    width: 10px; height: 10px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}
.hero-dot.active {
    background: var(--orange);
    width: 28px;
    border-radius: 5px;
}

/* ---- Stats Bar ---- */
.stats-bar {
    background: var(--orange);
    padding: 20px 0;
}
.stat-item { text-align: center; }
.stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}
.stat-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ---- Section Labels ---- */
.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--orange);
}
.section-divider {
    width: 50px;
    height: 3px;
    background: var(--orange);
    border-radius: 2px;
    margin-bottom: 16px;
}

/* ---- About Section ---- */
.about-feature {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--light);
    border-radius: var(--radius);
    border-left: 4px solid var(--orange);
    transition: var(--transition);
}
.about-feature:hover {
    background: #fff;
    box-shadow: var(--shadow);
    transform: translateX(4px);
}
.about-icon {
    width: 50px; height: 50px;
    background: var(--orange);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.3rem;
    color: #fff;
}

/* ---- Service Cards ---- */
.service-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px;
    height: 100%;
    background: var(--orange);
    transform: scaleY(0);
    transition: var(--transition);
    transform-origin: bottom;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(245,124,0,0.2);
}
.service-card:hover::before { transform: scaleY(1); }
.service-icon-wrap {
    width: 60px; height: 60px;
    background: rgba(245,124,0,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--orange);
    margin-bottom: 16px;
    transition: var(--transition);
}
.service-card:hover .service-icon-wrap {
    background: var(--orange);
    color: #fff;
}

/* ---- Testimonial Section ---- */
.testimonial-section {
    background: var(--primary);
    position: relative;
    overflow: hidden;
}
.testimonial-section::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(245,124,0,0.08) 0%, transparent 70%);
    border-radius: 50%;
}
.testimonial-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
    height: 100%;
}
.testimonial-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(245,124,0,0.3);
    transform: translateY(-4px);
}
.testimonial-avatar {
    width: 48px; height: 48px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    flex-shrink: 0;
}
.quote-icon {
    font-size: 3rem;
    color: rgba(245,124,0,0.2);
    line-height: 1;
    margin-bottom: -10px;
}

/* ---- FAQ Section ---- */
.faq-item .accordion-button {
    font-weight: 600;
    color: var(--primary);
    background: #fff;
    box-shadow: none;
}
.faq-item .accordion-button:not(.collapsed) {
    color: var(--orange);
    background: rgba(245,124,0,0.04);
}
.faq-item .accordion-button::after {
    filter: none;
}
.faq-item .accordion-button:not(.collapsed)::after {
    filter: invert(50%) sepia(100%) saturate(500%) hue-rotate(0deg);
}

/* ---- Page Hero ---- */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #1a3a5c 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 60px;
    background: #fff;
    clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero .breadcrumb-item a { color: rgba(255,255,255,0.6); }
.page-hero .breadcrumb-item.active { color: rgba(255,255,255,0.9); }
.page-hero .breadcrumb-divider { color: rgba(255,255,255,0.4); }

/* ---- Team Cards ---- */
.team-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
}
.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.team-avatar {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin: 0 auto 16px;
}

/* ---- Contact Section ---- */
.contact-info-card {
    background: var(--primary);
    border-radius: var(--radius);
    padding: 32px;
    color: #fff;
    height: 100%;
}
.contact-info-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: rgba(255,255,255,0.06);
    border-radius: 8px;
    margin-bottom: 12px;
    transition: var(--transition);
}
.contact-info-item:hover {
    background: rgba(255,255,255,0.1);
}
.contact-icon {
    width: 44px; height: 44px;
    background: var(--orange);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    flex-shrink: 0;
}
.form-control-custom {
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: var(--transition);
}
.form-control-custom:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(245,124,0,0.12);
    outline: none;
}

/* ---- CTA Section ---- */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #1a3a5c 100%);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%; left: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(245,124,0,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

/* ---- Footer ---- */
.footer-main {
    background: #0a1520;
    color: rgba(255,255,255,0.75);
    padding: 60px 0 0;
}
.footer-brand { font-size: 1.4rem; font-weight: 800; color: #fff; }
.footer-brand span { color: var(--orange); }
.footer-heading {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--orange);
    display: inline-block;
}
.footer-link {
    display: block;
    color: rgba(255,255,255,0.65);
    padding: 4px 0;
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-link:hover {
    color: var(--orange);
    padding-left: 6px;
}
.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 16px 0;
    margin-top: 40px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}
.social-link {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    transition: var(--transition);
}
.social-link:hover {
    background: var(--orange);
    color: #fff;
    transform: translateY(-3px);
}

/* ---- Animations ---- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ---- Utilities ---- */
.bg-light-custom { background: #f8f9fa; }
.rounded-custom { border-radius: var(--radius); }
.shadow-custom { box-shadow: var(--shadow); }
.letter-spacing-1 { letter-spacing: 1px; }

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .hero-section { min-height: 80vh; padding: 60px 0; }
    .hero-title { font-size: 2.2rem; }
    .navbar-collapse { background: #fff; padding: 16px; border-radius: 10px; box-shadow: var(--shadow-lg); margin-top: 10px; }
}
@media (max-width: 767px) {
    .hero-section { min-height: auto; padding: 80px 0 60px; }
    .hero-title { font-size: 1.9rem; }
    .stat-number { font-size: 1.6rem; }
    .page-hero { padding: 60px 0 50px; }
}
