/* ==========================================================================
   V5 UNIFIED SERVICE PAGE STYLING (service.css)
   Inherits design tokens from style.css for 100/100 Performance
   ========================================================================== */

/* 1. MOBILE-ONLY STICKY CALL BAR */
.fixed-call-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--primary-blue);
    z-index: 2000;
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    border-top: 3px solid var(--accent-green);
    box-shadow: 0 -5px 15px rgba(0,0,0,0.2);
}

.fixed-call-bar a {
    color: var(--white);
    font-weight: 800;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

/* Hide Call Bar on Desktop to maintain professional layout */
@media (min-width: 993px) {
    .fixed-call-bar { display: none; }
}

/* 2. DESKTOP-ONLY GRID RULES (Ignored by Mobile) */
@media (min-width: 993px) {
    /* Rules for side-by-side columns only apply on desktop */
    .grid-two-col {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        align-items: center;
        width: 100%;
    }

    /* Rules for side-by-side form fields only apply on desktop */
    .form-grid-inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        margin-bottom: 15px;
    }

    /* Reserved height for expanded 6-field form prevents CLS on desktop */
    .hero-form-wrapper {
        min-height: 480px; 
    }
}

/* 3. CORE SERVICE PAGE STYLES (Mobile Defaults) */
.hero-form-wrapper {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    color: var(--dark);
}

.v5-input, .hero-form-wrapper textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    background: #fdfdfd;
    margin-bottom: 15px;
    display: block;
}

.hero-form-wrapper textarea {
    resize: none;
    font-family: inherit;
}

/* 4. RESPONSIVE TABLES (Ensures No Horizontal Overflow) */
.table-responsive {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    -webkit-overflow-scrolling: touch;
}

.table7 {
    width: 100%;
    border-collapse: collapse;
    min-width: 650px; /* Triggers scroll on mobile to keep data readable */
}

.table7 th {
    background: var(--primary-blue);
    color: var(--white);
    padding: 15px;
    text-align: left;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.table7 td {
    border-bottom: 1px solid var(--border);
    padding: 14px 15px;
    font-size: 1.1rem;
}

/* 5. NAVIGATION ANCHORS */
.anchor-list {
    list-style: none;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 20px 0 40px;
}

.anchor-list li a {
    color: var(--secondary-blue);
    font-weight: 700;
    background: var(--light-bg);
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 1.1rem;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.anchor-list li a:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}
/* ==========================================================================
   V5 DATABASE LINK SECTIONS (SEO Grid)
   ========================================================================== */

.seo-link-section {
    background-color: var(--light-bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* 3-in-1 Desktop Grid */
.grid-three-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.list-1 {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-1 li {
    margin-bottom: 12px;
}

/* Beautiful Link Card Design */
.list-1 li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-blue);
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.list-1 li a i {
    color: var(--accent-green);
    font-size: 1rem;
    min-width: 18px;
}

/* Hover State: Interaction Polish */
.list-1 li a:hover {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.list-1 li a:hover i {
    color: var(--accent-yellow);
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 992px) {
    .grid-three-col {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }
}

@media (max-width: 768px) {
    .grid-three-col {
        grid-template-columns: 1fr; /* 1 column on mobile to prevent squishing */
        gap: 10px;
    }
    
    .list-1 li a {
        padding: 14px; /* Larger tap target for mobile accessibility */
    }
}
/* ==========================================================================
   V5 WORKFLOW SECTION STYLING
   ========================================================================== */
.work-flow-section { background: var(--light-bg); }

.section-header { margin-bottom: 50px; }
.sub-heading { max-width: 700px; margin: 0 auto; color: var(--grey-text); font-style: italic; }

/* Responsive Grid Logic */
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3-in-1 line desktop */
    gap: 30px;
}

.workflow-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.workflow-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--primary-blue);
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: var(--light-bg);
    color: var(--secondary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border-radius: 50%;
    margin-bottom: 20px;
    transition: var(--transition);
}

.workflow-card:hover .icon-circle {
    background: var(--primary-blue);
    color: var(--white);
}

.workflow-card h3 {
    color: var(--primary-blue);
    font-size: 1.25rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.workflow-card p {
    font-size: 1.1rem;
    color: var(--grey-text);
    line-height: 1.5;
}

/* Mobile Compatibility */
@media (max-width: 992px) {
    .workflow-grid { grid-template-columns: repeat(2, 1fr); } /* 2 columns on tablets */
}

@media (max-width: 600px) {
    .workflow-grid { grid-template-columns: 1fr; } /* 1 column on mobile */
    .workflow-card { padding: 30px 20px; }
}
.legal-links  {
   display: flex;
    gap: 20px;
    list-style: none;
    margin-bottom: 50px;
    font-size: 18px;
}
.legal-links a {
    color: #fff;
    opacity: 0.7;
    text-decoration: none;
}