/* ===============================
   GLOBAL
================================ */
.vision-page {
    font-family: 'Montserrat', sans-serif;
    color: #222;
    background: #ffffff;
}

/* ===============================
   HERO SECTION
================================ */
.hero1 {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, #0d1b2a 0%, #020617 70%);
    overflow: hidden;
}
.hero-bg-logo {
    position: absolute;
    max-width: 1350px;
    width: 400vh;
    opacity: 0.3;
    z-index: 0;
    
}

.hero1-text {
    position: relative;
    text-align: center;
    color: #fff;
}

.hero1-text h1 {
    font-size: 3.8rem;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.hero1-text .tagline {
    font-size: 1.3rem;
    color: #bcd4ff;
}

/* ===============================
   TIMELINE
================================ */
.timeline-container {
    position: relative;
    max-width: 1100px;
    margin: 100px auto;
    padding: 40px 20px;
}

.timeline-line {
    position: absolute;
    left: 50%;
    height: 400px;
    width: 4px;
    top: 0;
    bottom: 0;
    background: linear-gradient(to bottom, #0ea5e9, #CC0000);
    transform: translateX(-50%);
}

.timeline-item {
    width: 50%;
    padding: 30px;
    position: relative;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
}

.timeline-content {
    background: #ffffff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.timeline-content h3 {
    color: #0f172a;
    margin-bottom: 10px;
}

.timeline-content p {
    color: #475569;
    line-height: 1.6;
}
/* Styling for logos within the timeline circles */
.timeline-logo {
    width: 70%;  /* Adjust based on your logo shapes */
    height: auto;
    object-fit: contain;
    display: block;
    margin: auto;
}

/* Ensure the icon boxes are centered and ready for logos */
.icon-box {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    z-index: 5;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Specific Tally Section Glow (Blue) */
.tally-icon {
    border: 3px solid #1F9EE6;
    box-shadow: 0 0 15px rgba(31, 158, 230, 0.4);
}

/* Specific IT Division Glow (Teal) */
.it-icon {
    border: 3px solid #2ecc71;
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.4);
    background-color: #fff; /* Ensures background is clean for the logo */
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .icon-box {
        width: 60px;
        height: 60px;
    }
}

.icon-box {
    position: absolute;
    top: 25px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #CC0000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    box-shadow: 0 0 0 6px #fff;
}

.timeline-item.left .icon-box {
    right: -28px;
}

.timeline-item.right .icon-box {
    left: -28px;
}

.it-icon {
    background: #22c55e;
}

.it-symbol {
    font-size: 20px;
}

/* ===============================
   VISIONARIES
================================ */
.visionaries {
    padding: 90px 20px;
    text-align: center;
}

.visionaries h2 {
    margin-top: -100px;
    font-size: 2.6rem;
    margin-bottom: 50px;
}

.leader-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.leader-card {
    width: 280px;
    padding: 30px 20px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 25px 45px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.leader-card:hover {
    transform: translateY(-8px);
}

.img-frame {
    width: 140px;
    height: 140px;
    margin: 0 auto 15px;
    border-radius: 50%;
    padding: 5px;
}


.blue-glow .img-frame {
    background: linear-gradient(135deg, #2563eb, #38bdf8);
}

.teal-glow .img-frame {
    background: linear-gradient(135deg, #14b8a6, #22c55e);
}

.img-frame img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.leader-card h3 {
    margin-top: 15px;
}

.role {
    font-weight: 600;
    color: #CC0000;
}

.desc {
    font-size: 0.95rem;
    color: #475569;
}

/* ===============================
   PRODUCT SHOWCASE
================================ */
.product-showcase {
    padding: 100px 20px;
    background: #f8fafc;
    text-align: center;
}

.product-showcase h3 {
    font-size: 2.2rem;
    margin-bottom: 60px;
    color: #003366;
}

.product-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px; /* Reduced gap for a tighter look */
    flex-wrap: wrap;
}

.device-mockup {
    position: relative;
    order: 2; /* Keeps image in the middle on desktop */
}

.device-mockup img {
    width: 280px; /* Slightly larger to match mockup scale */
    z-index: 2;
    position: relative;
    /* Adding a subtle 3D tilt if you like */
    transform: perspective(1000px) rotateY(-5deg);
}

.glow-ring {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.feat-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    flex: 1;
    max-width: 300px;
}

/* Left side: Text stays right-aligned, dots on the right */
.left-list {
    text-align: right;
    order: 1;
}

/* Right side: Text stays left-aligned, dots on the left */
.right-list {
    text-align: left;
    order: 3;
}

.feat-item {
    font-weight: 600;
    color: #0f172a;
    display: flex;
    align-items: center;
    font-size: 1.05rem;
}

/* Alignment for Left List Items */
.left-list .feat-item {
    justify-content: flex-end;
}

/* Alignment for Right List Items */
.right-list .feat-item {
    justify-content: flex-start;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #0ea5e9;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Margin logic for dots based on list side */
.left-list .dot { margin-left: 15px; }
.right-list .dot { margin-right: 15px; }

/* Responsive: Stack lists and put image at the top or middle */
@media (max-width: 992px) {
    .product-flex {
        flex-direction: column;
        gap: 40px;
    }
    .left-list, .right-list {
        text-align: center;
        order: 2;
    }
    .device-mockup {
        order: 1;
    }
    .left-list .feat-item, .right-list .feat-item {
        justify-content: center;
    }
    .left-list .dot { order: 2; margin-left: 10px; }
    .right-list .dot { order: -1; margin-right: 10px; }
}

/* ===============================
   ACCORDION
================================ */
.accordion-section {
    max-width: 900px;
    margin: 90px auto;
    padding: 0 20px;
}

.acc-item {
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.acc-header {
    width: 100%;
    padding: 18px 25px;
    background: #0f172a;
    color: #fff;
    border: none;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.acc-body {
    background: #fff;
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    color: #1a2027;
}

.acc-item.active .acc-body {
    padding: 20px 25px;
    max-height: 200px;
}
.about-vision-tech {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 20px;
}

.about-vision-tech h2 {
    font-size: 2.4rem;
    text-align: center;
    color: #003366;
    margin-bottom: 30px;
   
}

.about-vision-tech p {
    font-size: 1rem;
    line-height: 1.8;
    color: #000000;
    margin-top: auto;
    margin-bottom: 18px;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
    .timeline-line {
        left: 10px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px;
        text-align: left;
        left: 0 !important;
    }

    .timeline-item .icon-box {
        left: -5px !important;
        right: auto;
    }

    .product-flex {
        flex-direction: column;
    }
}