/* ============================================================
   JagoTech Website — Main Stylesheet
   Theme: Dark Navy #0A1628 + Vibrant Orange #FF6B00
   Font: Hind Siliguri (Bengali) + Exo 2 (Display)
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
    --navy:        #0A1628;
    --navy-mid:    #0F1F3D;
    --navy-light:  #162447;
    --orange:      #FF6B00;
    --orange-dark: #E05A00;
    --orange-glow: rgba(255, 107, 0, 0.15);
    --white:       #FFFFFF;
    --off-white:   #F4F6FA;
    --text-muted:  #8899BB;
    --border:      rgba(255,255,255,0.08);
    --card-bg:     rgba(255,255,255,0.04);
    --transition:  0.3s ease;
    --radius:      12px;
    --radius-lg:   20px;
    --shadow:      0 8px 32px rgba(0,0,0,0.35);
    --font-body:   'Hind Siliguri', sans-serif;
    --font-display:'Exo 2', sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    background-color: var(--navy);
    color: var(--white);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.25;
}

a { color: var(--orange); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange-dark); }

img { max-width: 100%; height: auto; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 3px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.jt-navbar {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    transition: padding var(--transition), background var(--transition);
}

.jt-navbar.scrolled {
    padding: 8px 0;
    background: rgba(10, 22, 40, 0.99);
}

/* Logo */
.jt-logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.5px;
}
.logo-jago { color: var(--white); }
.logo-tech { color: var(--orange); }
.logo-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--orange);
    border-radius: 50%;
    margin-left: 2px;
    margin-bottom: 12px;
    vertical-align: bottom;
}

.footer-logo { font-size: 1.4rem; }

.jt-navbar .nav-link {
    color: rgba(255,255,255,0.75) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 14px !important;
    border-radius: 8px;
    transition: all var(--transition);
    position: relative;
}
.jt-navbar .nav-link:hover,
.jt-navbar .nav-link.active {
    color: var(--white) !important;
    background: var(--orange-glow);
}
.jt-navbar .nav-link.active::after {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background: var(--orange);
    margin: 2px auto 0;
    border-radius: 1px;
}

/* Buttons */
.btn-jt-primary {
    background: var(--orange);
    color: var(--white) !important;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 20px;
    min-height: 44px;
    transition: all var(--transition);
    box-shadow: 0 4px 15px rgba(255,107,0,0.3);
}
.btn-jt-primary:hover {
    background: var(--orange-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255,107,0,0.45);
}

.btn-jt-outline {
    background: transparent;
    color: var(--white) !important;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    font-weight: 600;
    padding: 10px 20px;
    min-height: 44px;
    transition: all var(--transition);
}
.btn-jt-outline:hover {
    border-color: var(--orange);
    color: var(--orange) !important;
}

.lang-toggle {
    font-size: 0.8rem;
    border-color: rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.7) !important;
    min-height: 36px;
    padding: 6px 12px;
}
.lang-toggle:hover {
    border-color: var(--orange);
    color: var(--orange) !important;
    background: transparent !important;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
    background:
        radial-gradient(ellipse 60% 80% at 70% 50%, rgba(255,107,0,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 20% 30%, rgba(22,36,71,0.9) 0%, transparent 70%),
        var(--navy);
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255,107,0,0.05) 0%, transparent 40%),
        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.02'%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");
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--orange-glow);
    border: 1px solid rgba(255,107,0,0.3);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--orange);
    margin-bottom: 24px;
    animation: fadeInDown 0.6s ease both;
}

.hero-badge .badge-dot {
    width: 8px; height: 8px;
    background: var(--orange);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 24px;
    animation: fadeInUp 0.7s ease 0.1s both;
}

.hero-title .highlight {
    color: var(--orange);
    position: relative;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 40px;
    animation: fadeInUp 0.7s ease 0.2s both;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    animation: fadeInUp 0.7s ease 0.3s both;
}

.hero-visual {
    animation: fadeIn 1s ease 0.4s both;
}

.hero-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--orange), transparent);
}

.stat-row {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.stat-box {
    flex: 1;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
}

.stat-box .stat-num {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
}

.stat-box .stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section-pad { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 12px;
}
.section-label::before {
    content: '';
    display: block;
    width: 24px; height: 2px;
    background: var(--orange);
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 540px;
}

/* Dark section bg alternation */
.section-alt { background: var(--navy-mid); }
.section-dark { background: var(--navy-light); }

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    height: 100%;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--orange);
    transform: scaleX(0);
    transition: transform var(--transition);
    transform-origin: left;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255,107,0,0.3);
    background: rgba(255,107,0,0.05);
    box-shadow: var(--shadow);
}

.service-card:hover::after { transform: scaleX(1); }

.service-icon {
    width: 60px; height: 60px;
    background: var(--orange-glow);
    border: 1px solid rgba(255,107,0,0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--orange);
    margin-bottom: 20px;
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    background: var(--orange);
    color: var(--white);
    transform: scale(1.1);
}

.service-card h5 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
    background: linear-gradient(135deg, var(--navy-light), var(--navy-mid));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 50px 0;
}

.stats-bar .stat-item {
    text-align: center;
    padding: 20px;
}

.stats-bar .stat-number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--orange);
    display: block;
    line-height: 1;
}

.stats-bar .stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.stat-divider {
    width: 1px;
    background: var(--border);
    height: 60px;
    margin: auto;
}

/* ============================================================
   PORTFOLIO CARDS
   ============================================================ */
.portfolio-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--border);
    transition: all var(--transition);
    height: 100%;
}

.portfolio-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,107,0,0.3);
    box-shadow: var(--shadow);
}

.portfolio-thumb {
    height: 200px;
    background: linear-gradient(135deg, var(--navy-light), var(--navy-mid));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--orange);
    position: relative;
    overflow: hidden;
}

.portfolio-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-thumb img { transform: scale(1.05); }

.portfolio-body {
    padding: 20px;
}

.portfolio-badge {
    display: inline-block;
    background: var(--orange-glow);
    color: var(--orange);
    border: 1px solid rgba(255,107,0,0.25);
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-body h6 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.portfolio-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* Filter buttons */
.filter-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-btn {
    padding: 8px 18px;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all var(--transition);
    min-height: 40px;
}
.filter-btn.active, .filter-btn:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-carousel { position: relative; overflow: hidden; }

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.testimonial-stars { color: #FFB800; font-size: 1.1rem; margin-bottom: 16px; }

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.85);
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-author { display: flex; align-items: center; gap: 14px; }

.testimonial-avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--orange-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--orange);
    font-weight: 700;
    border: 2px solid rgba(255,107,0,0.3);
    overflow: hidden;
}

.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }

.testimonial-name { font-weight: 700; font-size: 0.95rem; }
.testimonial-company { font-size: 0.8rem; color: var(--text-muted); }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.carousel-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    padding: 0;
}
.carousel-dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--orange);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    background:
        radial-gradient(ellipse 70% 100% at 50% 50%, rgba(255,107,0,0.12) 0%, transparent 70%),
        var(--navy-light);
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='40' cy='40' r='1' fill='%23ffffff' fill-opacity='0.03'/%3E%3C/svg%3E") repeat;
    pointer-events: none;
}

.cta-section h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 16px; }
.cta-section p { color: var(--text-muted); font-size: 1rem; margin-bottom: 36px; }

/* ============================================================
   FOOTER
   ============================================================ */
.jt-footer {
    background: var(--navy-mid);
    border-top: 1px solid var(--border);
}

.footer-tagline { color: var(--text-muted); font-size: 0.9rem; }

.footer-heading {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.footer-contact i { color: var(--orange); margin-top: 2px; flex-shrink: 0; }
.footer-contact a { color: var(--text-muted); }
.footer-contact a:hover { color: var(--white); }

.social-links { gap: 12px; }
.social-link {
    width: 38px; height: 38px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted) !important;
    font-size: 1rem;
    transition: all var(--transition);
}
.social-link:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white) !important;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-portal-link {
    color: var(--orange);
    font-size: 0.85rem;
}
.footer-portal-link:hover { color: var(--white); }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.floating-wa {
    position: fixed;
    bottom: 28px;
    right: 24px;
    z-index: 9999;
    width: 56px; height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--white) !important;
    box-shadow: 0 6px 24px rgba(37,211,102,0.4);
    transition: transform var(--transition), box-shadow var(--transition);
}
.floating-wa:hover {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 10px 30px rgba(37,211,102,0.6);
    color: var(--white) !important;
}
.wa-pulse {
    position: absolute;
    width: 100%; height: 100%;
    border-radius: 50%;
    background: #25D366;
    animation: wa-ring 2.5s ease-out infinite;
    z-index: -1;
}
@keyframes wa-ring {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-form-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.jt-input {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 10px !important;
    color: var(--white) !important;
    padding: 14px 16px !important;
    font-family: var(--font-body) !important;
    font-size: 0.95rem !important;
    min-height: 50px;
    transition: border-color var(--transition) !important;
}
.jt-input:focus {
    outline: none;
    border-color: var(--orange) !important;
    box-shadow: 0 0 0 3px var(--orange-glow) !important;
    background: rgba(255,255,255,0.07) !important;
}
.jt-input::placeholder { color: var(--text-muted) !important; }

.jt-label {
    color: rgba(255,255,255,0.8);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 6px;
}

/* Map embed */
.map-embed {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    height: 300px;
}
.map-embed iframe { width: 100%; height: 100%; border: none; filter: invert(0.9) hue-rotate(180deg); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-feature-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}
.about-feature-icon {
    width: 44px; height: 44px;
    background: var(--orange-glow);
    border: 1px solid rgba(255,107,0,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    font-size: 1.2rem;
    flex-shrink: 0;
}
.about-feature-item h6 { font-weight: 700; margin-bottom: 4px; }
.about-feature-item p { color: var(--text-muted); font-size: 0.88rem; margin: 0; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
    background:
        linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 100%);
    border-bottom: 1px solid var(--border);
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    right: -100px; top: -100px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(255,107,0,0.06);
    pointer-events: none;
}
.page-hero h1 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.page-hero p { color: var(--text-muted); }

/* Breadcrumb */
.jt-breadcrumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 16px; }
.jt-breadcrumb a { color: var(--orange); }
.jt-breadcrumb span { color: var(--text-muted); margin: 0 8px; }

/* ============================================================
   ALERTS / NOTICES
   ============================================================ */
.alert-jt {
    border-radius: var(--radius);
    border: 1px solid;
    padding: 16px 20px;
    font-size: 0.9rem;
}
.alert-jt-success {
    background: rgba(25,200,100,0.1);
    border-color: rgba(25,200,100,0.3);
    color: #4ade80;
}
.alert-jt-danger {
    background: rgba(255,60,60,0.1);
    border-color: rgba(255,60,60,0.3);
    color: #f87171;
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */
@media (max-width: 768px) {
    body { font-size: 15px; }
    .section-pad { padding: 60px 0; }
    .hero-section { padding: 100px 0 60px; min-height: auto; }
    .hero-cta .btn { width: 100%; text-align: center; }
    .stat-row { gap: 12px; }
    .testimonial-card { padding: 28px 20px; }
    .contact-form-card { padding: 24px 20px; }
    .jt-navbar .navbar-collapse { padding: 20px 0; }
    .jt-navbar .navbar-collapse .btn { width: 100%; margin-top: 8px; }
    table { font-size: 13px; }
    .table-responsive { -webkit-overflow-scrolling: touch; }
}

@media (max-width: 576px) {
    .hero-title { font-size: 2rem; }
    .stat-row { flex-direction: column; }
    .stat-divider { width: 60px; height: 1px; margin: 0 auto; }
}
