/*
Theme Name: Shyam Placement Theme
Theme URI: https://job2finder.com
Description: Custom theme for Shyam Placement Services
Author: Shyam Placement
Template: astra
Version: 3.2.6
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* ===== RESET ===== */
.sps-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.sps-page {
    font-family: 'Poppins', sans-serif !important;
    color: #333;
    line-height: 1.6;
    width: 100%;
}

.sps-page a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.sps-page img {
    max-width: 100%;
    height: auto;
}

/* ===== HEADER ===== */
.sps-header {
    background: #FFFFFF;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    height: 70px;
}

.sps-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    position: relative;
}

.sps-logo img {
    height: 50px;
    width: auto;
}

.sps-logo a {
    display: flex;
    align-items: center;
}

/* Desktop Nav */
@media (min-width: 769px) {
    .sps-nav {
        display: flex !important;
    }
    .sps-nav li {
        display: block !important;
    }
}
.sps-nav {
    display: flex;
    list-style: none;
    gap: 5px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.sps-nav li {
    list-style: none;
}

.sps-nav li a {
    padding: 8px 16px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    border-radius: 25px;
    display: block;
}

.sps-nav li a:hover,
.sps-nav li a.active {
    background: #00BAF2;
    color: #FFF !important;
}

.sps-nav .sps-btn-hire {
    background: #FF6C37 !important;
    color: #FFF !important;
    font-weight: 600;
    padding: 8px 20px;
}

.sps-nav .sps-btn-hire:hover {
    background: #e55a28 !important;
}

/* Mobile Menu Toggle Button */
.sps-menu-toggle {
    display: none;
    background: none;
    border: 2px solid #002970;
    border-radius: 8px;
    font-size: 22px;
    cursor: pointer;
    color: #002970;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.sps-menu-toggle:hover {
    background: #002970;
    color: #FFF;
}

.sps-menu-toggle.menu-open {
    background: #FF6C37;
    border-color: #FF6C37;
    color: #FFF;
}

/* Mobile Menu Overlay */
.sps-mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1;
    pointer-events: none !important;
}

.sps-mobile-overlay.active {
    display: block;
    pointer-events: none !important;
}

/* ===== HERO ===== */
.sps-hero {
    background: linear-gradient(135deg, #002970 0%, #001a4d 50%, #003d99 100%);
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 60px;
    margin-top: 70px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.sps-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(0,186,242,0.1);
    border-radius: 50%;
}

.sps-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.sps-hero h3 {
    font-size: 18px;
    font-weight: 400;
    color: #00BAF2;
    margin-bottom: 15px;
}

.sps-hero h1 {
    font-size: 44px;
    font-weight: 800;
    color: #FFF;
    margin-bottom: 15px;
    line-height: 1.2;
}

.sps-hero h1 span {
    color: #00BAF2;
}

.sps-hero p {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.sps-hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.sps-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    font-family: 'Poppins', sans-serif;
}

.sps-btn-primary {
    background: #00BAF2;
    color: #FFF !important;
    border-color: #00BAF2;
}

.sps-btn-primary:hover {
    background: #0099cc;
    border-color: #0099cc;
    color: #FFF !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,186,242,0.4);
}

.sps-btn-accent {
    background: #FF6C37;
    color: #FFF !important;
    border-color: #FF6C37;
}

.sps-btn-accent:hover {
    background: #e55a28;
    color: #FFF !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,108,55,0.4);
}

.sps-btn-white {
    background: #FFF;
    color: #00BAF2 !important;
    border-color: #FFF;
}

.sps-btn-white:hover {
    background: #f0f0f0;
    color: #002970 !important;
}

.sps-btn-outline-white {
    background: transparent;
    color: #FFF !important;
    border-color: #FFF;
}

.sps-btn-outline-white:hover {
    background: #FFF;
    color: #002970 !important;
}

/* ===== STATS ===== */
.sps-stats {
    background: #f8fafc;
    padding: 60px 20px;
    border-bottom: 1px solid #eee;
    width: 100%;
}

.sps-stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.sps-stat-item {
    background: #ffffff;
    padding: 35px 20px 25px;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
    border: 1.5px solid #e8e8f5;
    transition: all 0.3s;
    cursor: pointer;
    text-align: center;
}

.sps-stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(0, 41, 112, 0.14);
    border-color: #00BAF2;
    color: #002970;
}

.sps-stat-icon {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    background: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #e8e8f5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.sps-stat-item:hover .sps-stat-icon {
    border-color: #00BAF2;
    box-shadow: 0 6px 20px rgba(0, 186, 242, 0.2);
}

.sps-stat-icon img, .sps-stat-icon svg {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.sps-stat-number {
    font-size: 38px;
    font-weight: 800;
    color: #00BAF2;
    margin-bottom: 5px;
}

.sps-stat-label {
    font-size: 13px;
    font-weight: 600;
    color: #002970;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== SECTIONS ===== */
.sps-section {
    padding: 70px 20px;
    width: 100%;
}

.sps-bg-light { background: #F5F9FF; }
.sps-bg-white { background: #FFF; }
.sps-bg-dark { background: #002970; }
.sps-bg-blue { background: linear-gradient(135deg, #00BAF2, #0099cc); }

.sps-container {
    max-width: 1200px;
    margin: 0 auto;
}

.sps-section-title {
    text-align: center;
    margin-bottom: 45px;
}

.sps-section-title h2 {
    font-size: 34px;
    font-weight: 700;
    color: #002970;
    margin-bottom: 10px;
}

.sps-bg-dark .sps-section-title h2 { color: #FFF; }
.sps-bg-blue .sps-section-title h2 { color: #FFF; }

.sps-section-title p {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto 15px;
}

.sps-bg-dark .sps-section-title p { color: #ccc; }
.sps-bg-blue .sps-section-title p { color: rgba(255,255,255,0.9); }

.sps-title-line {
    width: 50px;
    height: 4px;
    background: #00BAF2;
    margin: 0 auto;
    border-radius: 2px;
}

/* ===== JOB CARDS ===== */
.sps-jobs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 35px;
}

.sps-job-card {
    background: #FFF;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.sps-job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,186,242,0.15);
    border-color: #00BAF2;
}

/* Hide jobs beyond 10 initially for pagination */
.sps-job-card.sps-hidden {
    display: none;
}

.sps-job-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.sps-job-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #00BAF2, #002970);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    font-size: 18px;
    flex-shrink: 0;
}

.sps-badge {
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
}

.sps-badge-new { background: #E8F8FE; color: #00BAF2; }
.sps-badge-urgent { background: #FFF0EB; color: #FF6C37; }

.sps-job-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #002970;
    margin-bottom: 10px;
}

.sps-job-info {
    list-style: none;
    margin: 0 0 15px 0;
    padding: 0;
}

.sps-job-info li {
    padding: 4px 0;
    font-size: 13px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sps-job-card .sps-btn {
    width: 100%;
    justify-content: center;
    padding: 10px;
    font-size: 14px;
}

/* Pagination */
.sps-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.sps-page-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: #FFF;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.sps-page-btn:hover {
    border-color: #00BAF2;
    color: #00BAF2;
}

.sps-page-btn.active {
    background: #00BAF2;
    border-color: #00BAF2;
    color: #FFF;
}

.sps-page-btn.sps-page-arrow {
    background: #002970;
    border-color: #002970;
    color: #FFF;
}

.sps-page-btn.sps-page-arrow:hover {
    background: #00BAF2;
    border-color: #00BAF2;
}

.sps-page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.sps-center {
    text-align: center;
}

/* ===== HIRE STAFF ===== */
.sps-hire-section {
    background: linear-gradient(135deg, #002970, #001a4d);
    padding: 70px 20px;
    width: 100%;
}

.sps-hire-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 40px;
    align-items: center;
}

.sps-hire-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #FFF;
    margin-bottom: 15px;
}

.sps-hire-content > p {
    font-size: 15px;
    color: #ccc;
    margin-bottom: 20px;
}

.sps-hire-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sps-hire-list li {
    padding: 6px 0;
    color: #FFF;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sps-hire-list li .ci {
    color: #00BAF2;
    font-size: 16px;
}

.sps-hire-cta {
    text-align: center;
}

.sps-hire-cta .sps-btn {
    font-size: 17px;
    padding: 16px 40px;
    margin-bottom: 15px;
}

.sps-hire-phone {
    color: #ccc;
    font-size: 14px;
}

.sps-hire-phone a {
    color: #00BAF2;
    font-weight: 600;
}

/* ===== SERVICES ===== */
.sps-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.sps-service-card {
    background: #FFF;
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-top: 4px solid transparent;
    transition: all 0.3s ease;
}

.sps-service-card:hover {
    transform: translateY(-5px);
    border-top-color: #00BAF2;
    box-shadow: 0 12px 35px rgba(0,186,242,0.15);
}

.sps-service-icon {
    width: 65px;
    height: 65px;
    background: #E8F8FE;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 28px;
    color: #00BAF2;
}

.sps-service-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #002970;
    margin-bottom: 10px;
}

.sps-service-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
}

/* ===== HOW IT WORKS ===== */
.sps-steps-label {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #002970;
    margin-bottom: 15px;
}

.sps-steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.sps-step {
    text-align: center;
    padding: 15px 10px;
}

.sps-step-num {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #00BAF2, #002970);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    font-size: 18px;
    font-weight: 700;
    margin: 0 auto 12px;
}

.sps-step h4 {
    font-size: 14px;
    font-weight: 600;
    color: #002970;
    margin-bottom: 5px;
}

.sps-step p {
    font-size: 12px;
    color: #666;
}

/* ===== PARTNERS ===== */
.sps-partners-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.sps-partner-box {
    width: 140px;
    height: 70px;
    background: #f8f8f8;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.sps-partner-box:hover {
    border-color: #00BAF2;
    box-shadow: 0 4px 15px rgba(0,186,242,0.1);
}

.sps-partner-box span {
    font-weight: 600;
    color: #666;
    font-size: 12px;
}

/* ===== TESTIMONIALS ===== */
.sps-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.sps-testi-card {
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid rgba(255,255,255,0.15);
}

.sps-testi-stars {
    color: #FFD700;
    font-size: 16px;
    margin-bottom: 12px;
}

.sps-testi-text {
    font-size: 14px;
    color: #ddd;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 15px;
}

.sps-testi-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sps-testi-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #00BAF2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.sps-testi-info h4 {
    font-size: 14px;
    color: #FFF;
    font-weight: 600;
}

.sps-testi-info p {
    font-size: 11px;
    color: #aaa;
}

/* ===== CTA ===== */
.sps-cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.sps-footer {
    background: #1A1A2E;
    padding: 50px 20px 15px;
    width: 100%;
}

.sps-footer-grid {
    max-width: 1200px;
    margin: 0 auto 30px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 30px;
}

.sps-footer h4 {
    font-size: 16px;
    font-weight: 600;
    color: #FFF;
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: 2px solid #00BAF2;
    display: inline-block;
}

.sps-footer p, .sps-footer-item {
    font-size: 13px;
    color: #fff !important;
    margin-bottom: 8px;
    line-height: 1.6;
}

.sps-footer-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.sps-footer-item i {
    color: #fff !important;
    margin-top: 3px;
    font-size: 13px;
}

.sps-footer-item span a {
    color: #fff !important;
}

.sps-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sps-footer-links li {
    margin-bottom: 8px;
}

.sps-footer-links li a {
    color: #aaa;
    font-size: 13px;
}

.sps-footer-links li a:hover {
    color: #00BAF2;
    padding-left: 3px;
}

.sps-social-row {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.sps-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff !important;
    transition: all 0.3s ease;
}

/* WhatsApp */
.sps-social-btn .fa-whatsapp {
    color: #fff !important;
}
a.sps-social-btn:has(.fa-whatsapp),
.sps-social-row a:nth-child(1).sps-social-btn {
    background: #25D366 !important;
}

/* Instagram */
.sps-social-btn .fa-instagram {
    color: #fff !important;
}
a.sps-social-btn:has(.fa-instagram),
.sps-social-row a:nth-child(2).sps-social-btn {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
}

/* LinkedIn */
.sps-social-btn .fa-linkedin-in {
    color: #fff !important;
}
a.sps-social-btn:has(.fa-linkedin-in),
.sps-social-row a:nth-child(3).sps-social-btn {
    background: #0077B5 !important;
}

/* Telegram */
.sps-social-btn .fa-telegram-plane {
    color: #fff !important;
}
a.sps-social-btn:has(.fa-telegram-plane),
.sps-social-row a:nth-child(4).sps-social-btn {
    background: #229ED9 !important;
}

.sps-social-btn:hover {
    transform: translateY(-2px);
    opacity: 0.88;
}

.sps-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 15px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.sps-footer-bottom p {
    font-size: 12px;
    color: #666;
}

/* ===== WHATSAPP ===== */
.sps-wa-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 99998;
    width: 55px;
    height: 55px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF !important;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
    animation: waPulse 2s infinite;
}

.sps-wa-float:hover {
    transform: scale(1.1);
    color: #FFF !important;
}

@keyframes waPulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
    70% { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ============================================
   RESPONSIVE - TABLET (768px - 1024px)
   ============================================ */
@media (max-width: 1024px) {
    .sps-jobs-grid { grid-template-columns: repeat(2, 1fr); }
    .sps-services-grid { grid-template-columns: repeat(2, 1fr); }
    .sps-testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .sps-footer-grid { grid-template-columns: repeat(2, 1fr); }
    .sps-hire-grid { grid-template-columns: 1fr; text-align: center; }
    .sps-hire-list { display: inline-block; text-align: left; }
    .sps-steps-grid { grid-template-columns: repeat(3, 1fr); }
    .sps-hero h1 { font-size: 36px; }
}

/* ============================================
   RESPONSIVE - MOBILE (768px and below)
   ============================================ */
@media (max-width: 768px) {

    /* --- MOBILE HEADER --- */
    .sps-header {
        height: 60px;
    }

    .sps-header-inner {
        height: 60px;
        padding: 0 15px;
    }

    .sps-logo img {
        height: 40px;
    }

    .sps-menu-toggle {
        display: flex;
    }

    /* Professional Mobile Menu */
    .sps-nav {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #FFFFFF;
        flex-direction: column;
        padding: 0;
        gap: 0;
        z-index: 999999;
        overflow-y: auto;
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .sps-nav.active {
        display: flex;
        pointer-events: auto !important;
    }
    .sps-nav li a {
        pointer-events: auto !important;
        position: relative;
        z-index: 1000000;
        cursor: pointer !important;
    }

    .sps-nav li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .sps-nav li:last-child {
        border-bottom: none;
        padding: 15px;
    }

    .sps-nav li a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 16px 20px;
        border-radius: 0;
        font-size: 16px;
        font-weight: 500;
        color: #333;
        transition: all 0.2s ease;
    }

    .sps-nav li a:hover,
    .sps-nav li a.active {
        background: #F5F9FF;
        color: #00BAF2 !important;
        padding-left: 25px;
    }

    .sps-nav li a.sps-btn-hire {
        display: flex;
        justify-content: center;
        margin: 0;
        border-radius: 12px;
        padding: 14px 20px;
        font-size: 16px;
        background: #FF6C37 !important;
        color: #FFF !important;
    }

    /* Mobile Menu - React Web App Outline Icons */
    .sps-nav li a::before {
        content: '';
        display: inline-block;
        width: 22px;
        height: 22px;
        margin-right: 14px;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        flex-shrink: 0;
        transform: translateY(-2px);
    }
    .sps-nav li:nth-child(1) a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002970' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E"); }
    .sps-nav li:nth-child(2) a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002970' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2' ry='2'/%3E%3Cpath d='M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16'/%3E%3C/svg%3E"); }
    .sps-nav li:nth-child(3) a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002970' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); }
    .sps-nav li:nth-child(4) a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002970' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 2 7 12 12 22 7 12 2'/%3E%3Cpolyline points='2 17 12 22 22 17'/%3E%3Cpolyline points='2 12 12 17 22 12'/%3E%3C/svg%3E"); }
    .sps-nav li:nth-child(5) a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002970' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='16' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'/%3E%3C/svg%3E"); }
    .sps-nav li:nth-child(6) a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002970' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
    .sps-nav li.sps-portal-toggle a::before { display: none; }

    /* --- MOBILE HERO --- */
    .sps-hero {
        min-height: 420px;
        padding: 80px 15px 40px;
        margin-top: 60px;
    }

    .sps-hero h3 { font-size: 14px; }
    .sps-hero h1 { font-size: 26px; }
    .sps-hero p { font-size: 13px; margin-bottom: 20px; }

    .sps-hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .sps-hero-buttons .sps-btn {
        width: 90%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 14px;
    }

    /* --- MOBILE STATS --- */
    .sps-stats { padding: 30px 15px; }

    .sps-stats-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .sps-stat-item { padding: 10px; }
    .sps-stat-icon { width: 44px; height: 44px; margin-bottom: 5px; }
    .sps-stat-icon img { width: 44px; height: 44px; }
    .sps-stat-number { font-size: 28px; }
    .sps-stat-label { font-size: 11px; letter-spacing: 0.5px; }

    /* --- MOBILE SECTIONS --- */
    .sps-section { padding: 40px 15px; }
    .sps-section-title { margin-bottom: 30px; }
    .sps-section-title h2 { font-size: 24px; }
    .sps-section-title p { font-size: 14px; }

    /* --- MOBILE JOBS: 2 columns --- */
    .sps-jobs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .sps-job-card {
        padding: 15px;
        border-radius: 10px;
    }

    .sps-job-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
        border-radius: 8px;
    }

    .sps-badge { font-size: 9px; padding: 2px 7px; }
    .sps-job-card h3 { font-size: 14px; margin-bottom: 8px; }
    .sps-job-info li { font-size: 11px; padding: 2px 0; gap: 5px; }

    .sps-job-card .sps-btn {
        padding: 8px;
        font-size: 12px;
        border-radius: 8px;
    }

    /* --- MOBILE HIRE STAFF --- */
    .sps-hire-section { padding: 40px 15px; }
    .sps-hire-grid { grid-template-columns: 1fr; gap: 25px; text-align: center; }
    .sps-hire-content h2 { font-size: 24px; }
    .sps-hire-content > p { font-size: 13px; }
    .sps-hire-list { display: inline-block; text-align: left; }
    .sps-hire-list li { font-size: 13px; }
    .sps-hire-cta .sps-btn { font-size: 15px; padding: 14px 30px; }

    /* --- MOBILE SERVICES: 2 columns --- */
    .sps-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .sps-service-card {
        padding: 20px 15px;
        border-radius: 10px;
    }

    .sps-service-icon {
        width: 50px;
        height: 50px;
        font-size: 22px;
        margin-bottom: 12px;
    }

    .sps-service-card h3 { font-size: 14px; margin-bottom: 6px; }
    .sps-service-card p { font-size: 11px; }

    /* --- MOBILE HOW IT WORKS: 3 columns 2 rows --- */
    .sps-steps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .sps-steps-label { font-size: 15px; margin-bottom: 10px; }

    .sps-step { padding: 10px 5px; }

    .sps-step-num {
        width: 35px;
        height: 35px;
        font-size: 14px;
        margin-bottom: 8px;
    }

    .sps-step h4 { font-size: 11px; }
    .sps-step p { font-size: 10px; }

    /* --- MOBILE PARTNERS --- */
    .sps-partners-row { gap: 15px; }

    .sps-partner-box {
        width: 110px;
        height: 55px;
    }

    .sps-partner-box span { font-size: 10px; }

    /* --- MOBILE TESTIMONIALS --- */
    .sps-testimonials-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .sps-testi-card { padding: 20px; }
    .sps-testi-text { font-size: 13px; }

    /* --- MOBILE CTA --- */
    .sps-cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .sps-cta-buttons .sps-btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        text-align: center;
        padding: 14px 20px;
        font-size: 14px;
        white-space: nowrap;
        gap: 8px;
    }

    .sps-cta-buttons .sps-btn i {
        font-size: 15px;
        flex-shrink: 0;
    }

    /* --- MOBILE FOOTER --- */
    .sps-footer { padding: 35px 15px 15px; }

    .sps-footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .sps-footer h4 { font-size: 15px; margin-bottom: 12px; }

    /* --- MOBILE WHATSAPP --- */
    .sps-wa-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }

    /* --- MOBILE PAGINATION --- */
    .sps-page-btn {
        width: 35px;
        height: 35px;
        font-size: 12px;
        border-radius: 8px;
    }
}

/* ============================================
   RESPONSIVE - SMALL MOBILE (480px and below)
   ============================================ */
@media (max-width: 480px) {
    .sps-hero h1 { font-size: 22px; }
    .sps-hero h3 { font-size: 13px; }

    .sps-stats-inner { gap: 10px; }
    .sps-stat-number { font-size: 24px; }
    .sps-stat-label { font-size: 10px; }

    .sps-jobs-grid { gap: 8px; }
    .sps-job-card { padding: 12px; }
    .sps-job-card h3 { font-size: 13px; }
    .sps-job-info li { font-size: 10px; }

    .sps-services-grid { gap: 8px; }
    .sps-service-card { padding: 15px 10px; }
    .sps-service-card h3 { font-size: 13px; }
    .sps-service-card p { font-size: 10px; }

    .sps-section-title h2 { font-size: 22px; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #00BAF2; border-radius: 4px; }    

/* ===== ADDITIONAL MOBILE FIXES FOR ALL PAGES ===== */
@media (max-width: 768px) {
    /* About page grid fixes */
    .sps-page [style*="grid-template-columns:1fr 1fr"],
    .sps-page [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    
    .sps-page [style*="grid-template-columns:repeat(2"] {
        grid-template-columns: 1fr !important;
    }
    
    .sps-page [style*="grid-template-columns:repeat(4"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .sps-page [style*="grid-template-columns:repeat(5"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .sps-page [style*="grid-template-columns:auto 1fr"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Service page icon box on mobile */
    .sps-page [style*="width:80px"][style*="height:80px"] {
        margin: 0 auto;
    }
    
    /* Form grid on mobile */
    .sps-page form [style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    
    /* About intro heading */
    .sps-page h2[style*="font-size:30px"],
    .sps-page h2[style*="font-size:28px"],
    .sps-page h2[style*="font-size:26px"] {
        font-size: 22px !important;
    }
}

/* Force container to allow breakouts */
body.page-template-page-home .site,
body.page-template-page-home .site-content,
body.page-template-page-home .ast-container,
body.page-template-page-home .sps-page {
    overflow: visible !important;
}

.sps-hero-new {
    position: relative;
    padding: 120px 0 100px;
    color: #fff;
    min-height: 600px;
    
    /* Bulletproof Full Width Breakout */
    width: 100vw !important;
    max-width: 100vw !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    
    /* Override .sps-hero overflow: hidden to allow background to bleed out */
    overflow: visible !important;
}

.sps-hero-bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: linear-gradient(135deg, #002970 0%, #001a4d 50%, #003d99 100%);
    background-size: cover;
    z-index: -1;
    overflow: hidden;
}

/* Typing Animation & Highlights */
.type-wrapper {
    position: relative;
    display: inline-block;
}
.type-placeholder {
    visibility: hidden; /* Reserves space so layout doesn't shift */
    white-space: pre;
}
.type-text {
    position: absolute;
    left: 0;
    top: 0;
    white-space: pre;
    border-right: 3px solid currentColor;
    padding-right: 3px;
    animation: blink-caret 0.75s step-end infinite;
}
.type-text.done-typing {
    border-right-color: transparent;
    animation: none;
}
.text-green { color: #10b981; }
.text-orange { color: #f59e0b; }

@keyframes blink-caret {
    from, to { border-right-color: transparent; }
    50% { border-right-color: currentColor; }
}

.highlight-text {
    color: #f59e0b;
    font-weight: 600;
    position: relative;
    z-index: 1;
}
.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: rgba(245, 158, 11, 0.2);
    z-index: -1;
    border-radius: 2px;
}

.sps-hero-new::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.5;
    z-index: 1;
}

.sps-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.sps-hero-content-left {
    width: 50%;
    padding-right: 40px;
}

.sps-stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.sps-hero-badge {
    display: inline-block;
    background: #fff;
    color: #333;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.sps-hero-content-left h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
}

.sps-hero-content-left h1 span {
    color: #fff;
}

.sps-hero-content-left p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.7;
    max-width: 480px;
}

.sps-hero-buttons {
    display: flex;
    gap: 15px;
}

.sps-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.sps-btn-primary {
    background: #111827;
    color: #fff;
}
.sps-btn-primary:hover {
    background: #1f2937;
    color: #fff;
}

.sps-btn-accent {
    background: #fb923c;
    color: #fff;
}
.sps-btn-accent:hover {
    background: #f97316;
    color: #fff;
}

/* Right Image Area */
.sps-hero-image-wrapper {
    width: 45%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    /* Negative margin to pull it down to the wave, or absolute positioning */
}

.sps-hero-person {
    max-width: 100%;
    max-height: 600px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    transform: translateY(60px); /* Pull down over the wave */
}

/* Floating SVGs */
.sps-float-icon {
    position: absolute;
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fb923c;
    font-size: 24px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    z-index: 10;
    animation: sps-float 4s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    cursor: pointer;
}

.sps-float-icon:hover {
    background: #f8fafc;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    transform: scale(1.15);
    /* No need to pause animation, it will continue floating while zoomed! */
}

.sps-float-icon i {
    transition: transform 0.3s ease;
}

/* Position relative to the image wrapper */
.icon-briefcase { top: 15%; left: -10%; animation-delay: 0s; color: #3b82f6; }
.icon-building { top: 45%; left: -15%; animation-delay: 1s; color: #10b981; }
.icon-graduation { top: 75%; left: -5%; animation-delay: 2.5s; color: #f59e0b; }

.icon-user { top: 20%; right: -5%; animation-delay: 2s; color: #8b5cf6; }
.icon-handshake { top: 50%; right: -15%; animation-delay: 0.5s; color: #ec4899; }
.icon-file { top: 80%; right: -10%; animation-delay: 1.5s; color: #f43f5e; }

@keyframes sps-float {
    0% { margin-top: 0px; }
    50% { margin-top: -15px; }
    100% { margin-top: 0px; }
}

/* Wave Bottom */
.sps-hero-wave {
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    line-height: 0;
    z-index: 3;
}

.sps-hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

@media (max-width: 991px) {
    .sps-hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .sps-hero-content-left {
        width: 100%;
        padding-right: 0;
        margin-bottom: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .sps-hero-content-left h1 {
        font-size: 40px;
    }
    
    .sps-hero-image-wrapper {
        width: 100%;
    }
    
    .sps-hero-buttons {
        justify-content: center;
    }
    
    /* Reposition icons for mobile symmetrically */
    .icon-briefcase, .icon-user { display: none !important; }

    .icon-building { top: 20%; left: 5%; }
    .icon-graduation { top: 70%; left: 5%; }
    
    .icon-handshake { top: 20%; right: 5%; }
    .icon-file { top: 70%; right: 5%; }
}

@media (max-width: 576px) {
    .sps-hero-content-left h1 {
        font-size: 32px;
    }
    
    .sps-hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .sps-btn {
        width: 100%;
        justify-content: center;
    }
    
    .sps-hero-person {
        max-height: 400px;
    }
    
    .sps-float-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    /* Perfect symmetry for mobile screens */
    .icon-briefcase, .icon-user { display: none !important; }
    
    .icon-building { top: 15%; left: 2%; }
    .icon-graduation { top: 65%; left: 2%; }
    
    .icon-handshake { top: 15%; right: 2%; }
    .icon-file { top: 65%; right: 2%; }
}
