/* =====================================================
   PRIME EDGE - Professional IT Services Website
   ===================================================== */

:root {
    --primary: #5b2be0;
    --primary-dark: #3d1a9e;
    --primary-light: #7c4dff;
    --secondary: #2563eb;
    --gradient: linear-gradient(135deg, #5b2be0 0%, #2563eb 100%);
    --gradient-alt: linear-gradient(135deg, #2563eb 0%, #5b2be0 100%);
    --dark: #0f172a;
    --dark-soft: #1e293b;
    --text: #334155;
    --text-light: #64748b;
    --white: #ffffff;
    --light: #f8fafc;
    --light-gray: #f1f5f9;
    --border: #e2e8f0;
    --shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Plus Jakarta Sans', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; padding: 0; margin: 0; }

h1, h2, h3, h4, h5, h6 {
    color: var(--dark);
    font-weight: 700;
    line-height: 1.3;
}

.section-padding {
    padding: 100px 0;
}

.bg-light-section {
    background: var(--light);
}

.section-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    position: relative;
    padding-left: 28px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== BUTTONS ========== */
.btn-cta {
    background: var(--gradient) !important;
    border: none !important;
    color: var(--white) !important;
    padding: 14px 36px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    border-radius: 50px !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: var(--transition) !important;
    box-shadow: 0 8px 25px rgba(91, 43, 224, 0.35);
}

.btn-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-alt);
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(91, 43, 224, 0.45);
    color: var(--white) !important;
}

.btn-cta:hover::before {
    opacity: 1;
}

.btn-cta-light {
    background: var(--white) !important;
    color: var(--primary) !important;
    padding: 14px 36px !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    border: none !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-cta-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    color: var(--primary-dark) !important;
}

/* ========== PRELOADER ========== */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--dark);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-inner {
    position: relative;
    width: 100px;
    height: 100px;
}

.loader-ring {
    position: absolute;
    inset: 0;
    border: 3px solid transparent;
    border-top-color: var(--primary-light);
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
}

.loader-ring:nth-child(2) {
    inset: 8px;
    border-top-color: var(--secondary);
    animation-duration: 1s;
    animation-direction: reverse;
}

.loader-ring:nth-child(3) {
    inset: 16px;
    border-top-color: #a78bfa;
    animation-duration: 0.8s;
}

.loader-logo {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.95); }
}

/* ========== TOP BAR ========== */
.top-bar {
    background: var(--dark);
    padding: 10px 0;
    font-size: 13px;
}

.top-bar-info li {
    color: rgba(255, 255, 255, 0.75);
}

.top-bar-info li i {
    color: var(--primary-light);
    margin-right: 6px;
    font-size: 12px;
}

.top-bar-info a {
    color: rgba(255, 255, 255, 0.75);
}

.top-bar-info a:hover {
    color: var(--white);
}

.top-bar-social a {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

.top-bar-social a:hover {
    background: var(--gradient);
    color: var(--white);
}

/* ========== NAVBAR ========== */
.main-navbar {
    padding: 14px 0;
    box-shadow: 0 2px 20px rgba(15, 23, 42, 0.06);
    transition: var(--transition);
    z-index: 1000;
}

.main-navbar.scrolled {
    padding: 8px 0;
    box-shadow: 0 4px 30px rgba(15, 23, 42, 0.1);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    height: 56px;
    width: auto;
    object-fit: contain;
    display: block;
}

.footer-logo {
    height: 70px;
    background: var(--white);
    border-radius: 10px;
    padding: 6px 10px;
}

.navbar-nav .nav-link {
    font-weight: 600;
    font-size: 15px;
    color: var(--dark-soft) !important;
    padding: 8px 16px !important;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: var(--transition);
    border-radius: 2px;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: var(--primary) !important;
}

.btn-search {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
}

.btn-search:hover {
    background: var(--gradient);
    border-color: transparent;
    color: var(--white);
}

.nav-actions .btn-cta {
    padding: 10px 28px !important;
    font-size: 14px !important;
}

.search-modal-content {
    background: transparent;
    border: none;
    box-shadow: none;
}

.search-form {
    position: relative;
}

.search-form .form-control {
    height: 60px;
    border-radius: 50px;
    padding: 0 60px 0 28px;
    font-size: 16px;
    border: none;
    box-shadow: var(--shadow-lg);
}

.search-form button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    cursor: pointer;
}

/* ========== HERO ========== */
.hero-section {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    background: url('../../images/banner.png') center/cover no-repeat;
    padding: 120px 0 100px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(15, 23, 42, 0.82) 0%, rgba(15, 23, 42, 0.55) 45%, rgba(15, 23, 42, 0.25) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-label {
    color: #a78bfa;
}

.hero-label::before {
    background: linear-gradient(90deg, #a78bfa, #60a5fa);
}

.hero-content h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    max-width: 520px;
    line-height: 1.8;
}

.hero-shape {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 3;
    line-height: 0;
}

.hero-shape svg {
    width: 100%;
    height: 60px;
}

/* ========== CLIENTS ========== */
.clients-section {
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.clients-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.client-logo {
    flex: 1;
    min-width: 120px;
    text-align: center;
    opacity: 0.35;
    transition: var(--transition);
    filter: grayscale(100%);
}

.client-logo:hover {
    opacity: 0.7;
}

.client-logo span {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--dark);
    text-transform: uppercase;
}

/* ========== ABOUT ========== */
.about-image-wrap {
    position: relative;
    padding: 20px;
}

.about-img {
    width: 100%;
    border-radius: var(--radius-lg);
    position: relative;
    z-index: 2;
    object-fit: cover;
    min-height: 480px;
}

.about-image-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 70%;
    border: 3px solid transparent;
    border-image: var(--gradient) 1;
    border-radius: var(--radius);
    z-index: 1;
}

.about-image-frame.frame-alt {
    top: auto;
    bottom: 0;
    left: auto;
    right: 0;
}

.about-experience-badge {
    position: absolute;
    bottom: 40px;
    right: 0;
    background: var(--gradient);
    color: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(91, 43, 224, 0.4);
    animation: floatBadge 3s ease-in-out infinite;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.exp-number {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}

.exp-text {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    opacity: 0.9;
}

.about-text {
    color: var(--text-light);
    margin-bottom: 14px;
    font-size: 15.5px;
}

.feature-box {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: var(--gradient);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
    box-shadow: 0 8px 20px rgba(91, 43, 224, 0.3);
}

.feature-content h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.feature-content p {
    font-size: 13.5px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 14px;
}

.phone-icon {
    width: 50px;
    height: 50px;
    background: rgba(91, 43, 224, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    transition: var(--transition);
}

.phone-link:hover .phone-icon {
    background: var(--gradient);
    color: var(--white);
}

.phone-text {
    display: flex;
    flex-direction: column;
}

.phone-text small {
    font-size: 12px;
    color: var(--text-light);
}

.phone-text strong {
    font-size: 16px;
    color: var(--dark);
    font-weight: 700;
}

/* ========== SERVICES ========== */
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    height: 100%;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(91, 43, 224, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 26px;
    margin-bottom: 24px;
    box-shadow: 0 10px 25px rgba(91, 43, 224, 0.3);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: rotateY(180deg);
}

.service-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
    min-height: 48px;
}

.service-card p {
    font-size: 14.5px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-link {
    font-weight: 600;
    font-size: 14px;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link i {
    transition: var(--transition);
    font-size: 12px;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ========== INDUSTRY BANNER ========== */
.industry-banner {
    padding: 90px 0;
    background: var(--light);
    position: relative;
    overflow: hidden;
}

.industry-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(91, 43, 224, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.industry-banner::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.industry-banner-content h2 {
    font-size: clamp(28px, 4.5vw, 48px);
    font-weight: 800;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ========== INDUSTRIES ========== */
.industry-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 380px;
    cursor: pointer;
}

.industry-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.industry-card:hover img {
    transform: scale(1.1);
}

.industry-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.2) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    transition: var(--transition);
}

.industry-card:hover .industry-overlay {
    background: linear-gradient(to top, rgba(91, 43, 224, 0.9) 0%, rgba(37, 99, 235, 0.4) 50%, transparent 100%);
}

.industry-overlay h4 {
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    transform: translateY(0);
    transition: var(--transition);
}

/* ========== STATS ========== */
.stats-section {
    padding: 80px 0;
    background: var(--gradient);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.stats-section::after {
    content: '';
    position: absolute;
    bottom: -40%;
    right: -5%;
    width: 350px;
    height: 350px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.stat-item {
    position: relative;
    z-index: 1;
    padding: 20px;
}

.stat-number {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    font-weight: 500;
    margin: 0;
}

/* ========== BLOG ========== */
.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.blog-img {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-img img {
    transform: scale(1.08);
}

.blog-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gradient);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 50px;
    z-index: 2;
}

.blog-body {
    padding: 24px;
}

.blog-body h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
    line-height: 1.4;
}

.blog-body h4 a:hover {
    color: var(--primary);
}

.blog-meta {
    display: flex;
    gap: 18px;
    font-size: 13px;
    color: var(--text-light);
}

.blog-meta i {
    margin-right: 5px;
    color: var(--primary);
}

/* ========== PRE-FOOTER CTA ========== */
.pre-footer-cta {
    padding: 0;
    margin-top: -1px;
    position: relative;
    z-index: 2;
}

.cta-box {
    background: var(--gradient);
    border-radius: var(--radius-lg);
    padding: 50px 60px;
    margin-bottom: -50px;
    position: relative;
    z-index: 5;
    box-shadow: 0 20px 50px rgba(91, 43, 224, 0.35);
}

.cta-box h2 {
    color: var(--white);
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
}

/* Mockup CTA bar */
.pre-footer-cta-bar {
    background: var(--dark-soft);
    padding: 45px 0;
}

.pre-footer-cta-bar h2 {
    color: var(--white);
    font-size: clamp(20px, 2.8vw, 28px);
    font-weight: 700;
    margin-bottom: 6px;
}

.pre-footer-cta-bar p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 15px;
    margin: 0;
}

.btn-quote {
    background: var(--secondary) !important;
    color: var(--white) !important;
    padding: 14px 36px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    border-radius: 4px !important;
    border: none !important;
    transition: var(--transition) !important;
}

.btn-quote:hover {
    background: var(--primary) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
}

.btn-footer-about {
    background: var(--secondary) !important;
    color: var(--white) !important;
    padding: 10px 24px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    border-radius: 4px !important;
    border: none !important;
    margin-top: 8px;
    letter-spacing: 0.5px;
    transition: var(--transition) !important;
}

.btn-footer-about:hover {
    background: var(--primary) !important;
    color: var(--white) !important;
}

.footer-info li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 18px;
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}

.footer-info li i {
    color: var(--primary-light);
    margin-top: 4px;
    font-size: 14px;
    min-width: 16px;
}

.footer-info li a {
    color: rgba(255, 255, 255, 0.55);
}

.footer-info li a:hover {
    color: var(--white);
}

/* ========== FOOTER ========== */
.main-footer {
    background: var(--dark);
    padding: 80px 0 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-desc {
    font-size: 14.5px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.55);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gradient);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-title {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 14.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a i {
    font-size: 11px;
    color: var(--primary-light);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.footer-gallery a {
    border-radius: 8px;
    overflow: hidden;
    display: block;
    aspect-ratio: 1;
}

.footer-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.footer-gallery a:hover img {
    transform: scale(1.15);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 60px;
    padding: 24px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a:hover {
    color: var(--white);
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(91, 43, 224, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991.98px) {
    .section-padding {
        padding: 70px 0;
    }

    .brand-logo {
        height: 48px;
    }

    .hero-section {
        min-height: auto;
        padding: 100px 0 80px;
    }

    .nav-actions {
        margin-top: 16px;
        padding-bottom: 10px;
    }

    .cta-box {
        padding: 40px 30px;
        text-align: center;
    }

    .pre-footer-cta-bar {
        text-align: center;
    }

    .about-img {
        min-height: 400px;
    }

    .industry-card {
        height: 300px;
    }
}

@media (max-width: 767.98px) {
    .section-padding {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .clients-track {
        justify-content: center;
        gap: 24px;
    }

    .client-logo {
        min-width: 90px;
    }

    .client-logo span {
        font-size: 13px;
    }

    .about-experience-badge {
        padding: 14px 16px;
    }

    .exp-number {
        font-size: 28px;
    }

    .cta-box {
        margin-bottom: -30px;
        padding: 30px 20px;
    }

    .main-footer {
        padding-top: 60px;
    }

    .stats-section {
        padding: 50px 0;
    }

    .stat-number {
        font-size: 32px;
    }
}

@media (max-width: 575.98px) {
    .about-actions {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .service-card h4 {
        min-height: auto;
    }
}

/* =====================================================
   ABOUT PAGE STYLES
   ===================================================== */

/* Page Hero */
.page-hero {
    position: relative;
    padding: 110px 0;
    background: url('../images/page-hero.jpg') center/cover no-repeat;
    overflow: hidden;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(91, 43, 224, 0.65) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero-content h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.page-hero .breadcrumb {
    background: transparent;
    padding: 0;
}

.page-hero .breadcrumb-item,
.page-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
}

.page-hero .breadcrumb-item a:hover {
    color: var(--white);
}

.page-hero .breadcrumb-item.active {
    color: var(--white);
}

.page-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* About Company Visual */
.about-visual {
    position: relative;
    padding: 40px 20px 40px 40px;
    min-height: 520px;
}

.about-visual-ring {
    position: absolute;
    top: 20px;
    right: 10px;
    width: 420px;
    height: 420px;
    border: 3px solid var(--primary);
    border-radius: 50%;
    opacity: 0.35;
    z-index: 1;
}

.about-visual-img {
    position: relative;
    z-index: 2;
    width: 85%;
    margin-left: auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-visual-img img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.about-exp-box {
    position: absolute;
    top: 50px;
    left: 0;
    z-index: 3;
    background: var(--gradient);
    color: var(--white);
    padding: 22px 20px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 12px 30px rgba(91, 43, 224, 0.4);
    animation: floatBadge 3s ease-in-out infinite;
    min-width: 110px;
}

.about-exp-box .exp-num {
    display: block;
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
}

.about-exp-box .exp-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    margin-top: 4px;
    opacity: 0.9;
}

.about-award-box {
    position: absolute;
    bottom: 20px;
    left: 10px;
    z-index: 3;
    background: var(--white);
    padding: 18px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    gap: 14px;
    align-items: flex-start;
    max-width: 280px;
}

.award-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
}

.about-award-box h5 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.about-award-box p {
    font-size: 12px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

/* About Tabs */
.about-tabs {
    display: flex;
    gap: 8px;
    margin: 28px 0 18px;
    flex-wrap: wrap;
    border-bottom: 2px solid var(--border);
    padding-bottom: 0;
}

.about-tabs .nav-link {
    border: none;
    background: transparent;
    color: var(--text-light);
    font-weight: 600;
    font-size: 15px;
    padding: 10px 18px;
    border-radius: 0;
    position: relative;
    transition: var(--transition);
}

.about-tabs .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.about-tabs .nav-link:hover,
.about-tabs .nav-link.active {
    color: var(--primary);
    background: transparent;
}

.about-tabs .nav-link.active::after {
    transform: scaleX(1);
}

.about-tab-content {
    min-height: 100px;
}

.about-tab-content p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

/* Timeline */
.timeline-wrapper {
    position: relative;
    padding: 0 50px;
}

.timeline-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--white);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: var(--transition);
}

.timeline-nav:hover {
    background: var(--gradient);
    border-color: transparent;
    color: var(--white);
}

.timeline-prev { left: 0; }
.timeline-next { right: 0; }

.timeline-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 10px 0 20px;
}

.timeline-track::-webkit-scrollbar {
    display: none;
}

.timeline-item {
    flex: 0 0 calc(25% - 18px);
    min-width: 220px;
}

.timeline-year {
    background: var(--gradient);
    color: var(--white);
    font-size: 18px;
    font-weight: 800;
    text-align: center;
    padding: 12px 20px;
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%);
    margin-bottom: 20px;
    position: relative;
}

.timeline-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px 20px;
    box-shadow: var(--shadow);
    height: calc(100% - 60px);
    transition: var(--transition);
    border-top: 3px solid transparent;
}

.timeline-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--primary);
}

.timeline-card h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}

.timeline-card p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.7;
}

/* About Stats */
.about-stats-section {
    position: relative;
    background: url('https://images.unsplash.com/photo-1497366811353-6870744d04b2?w=1920&h=500&fit=crop') center/cover no-repeat !important;
}

.about-stats-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(37, 99, 235, 0.75) 50%, rgba(91, 43, 224, 0.85) 100%);
}

.about-stats-section .container {
    position: relative;
    z-index: 2;
}

.about-stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.25);
}

/* Testimonials */
.testimonial-box {
    margin-top: 28px;
}

.testimonial-label {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 14px;
}

.testimonial-box blockquote {
    font-size: 15.5px;
    font-style: italic;
    color: var(--text-light);
    line-height: 1.9;
    border-left: 3px solid var(--primary);
    padding-left: 20px;
    margin: 0 0 28px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-author img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-light);
}

.author-info h6 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-info h6 a {
    color: var(--primary);
    font-size: 14px;
}

.author-info span {
    font-size: 13px;
    color: var(--text-light);
}

.testimonial-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.testimonial-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    filter: grayscale(40%);
    transition: var(--transition);
}

.testimonial-image:hover img {
    filter: grayscale(0%);
    transform: scale(1.03);
}

/* About Clients */
.about-clients-section {
    padding: 50px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.about-clients-section .clients-track {
    gap: 50px;
}

@media (max-width: 991.98px) {
    .about-visual {
        min-height: auto;
        padding: 30px 10px;
    }

    .about-visual-ring {
        width: 300px;
        height: 300px;
    }

    .about-visual-img img {
        height: 400px;
    }

    .timeline-item {
        flex: 0 0 calc(50% - 12px);
    }

    .testimonial-image img {
        height: 400px;
    }
}

@media (max-width: 767.98px) {
    .page-hero {
        padding: 80px 0;
    }

    .timeline-wrapper {
        padding: 0 40px;
    }

    .timeline-item {
        flex: 0 0 85%;
    }

    .about-award-box {
        max-width: 240px;
        padding: 14px 16px;
    }

    .about-visual-img {
        width: 90%;
    }
}


/* =====================================================
   SERVICES PAGE STYLES (Mockup Match)
   ===================================================== */

.svc-section-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.svc-section-label-left {
    justify-content: flex-start;
}

.svc-section-label .label-line {
    display: block;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

/* Service Image Cards - 4x2 grid with blue slant footer */
.svc-img-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    min-height: 300px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background: var(--white);
}

.svc-img-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.svc-img-card-media {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    transition: var(--transition);
}

.svc-img-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.svc-img-card-footer {
    background: var(--gradient);
    padding: 40px 16px 22px;
    text-align: center;
    position: relative;
    margin-top: -28px;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    border-radius: 0 0 8px 8px;
    clip-path: polygon(0 28px, 100% 0, 100% 100%, 0 100%);
    transition: var(--transition);
}

.svc-img-card-icon {
    width: 56px;
    height: 56px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    position: absolute;
    top: 172px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.18);
    z-index: 5;
    transition: var(--transition);
}

.svc-img-card-footer h4 {
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

/* Hover overlay - full blue card */
.svc-img-card-hover {
    position: absolute;
    inset: 0;
    background: var(--gradient);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 28px 22px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 10;
    border-radius: 8px;
}

.svc-img-card:hover .svc-img-card-hover {
    opacity: 1;
    visibility: visible;
}

.svc-img-card:hover .svc-img-card-media,
.svc-img-card:hover .svc-img-card-footer,
.svc-img-card:hover .svc-img-card-icon {
    opacity: 0;
    visibility: hidden;
}

.svc-img-card-hover h4 {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
}

.svc-img-card-hover p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13.5px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.btn-svc-more {
    background: rgba(255, 255, 255, 0.2) !important;
    color: var(--white) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    padding: 8px 22px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    transition: var(--transition) !important;
}

.btn-svc-more:hover {
    background: var(--white) !important;
    color: var(--primary) !important;
    border-color: var(--white) !important;
}

/* Guardian / Who We Are */
.guardian-image-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.guardian-main-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.guardian-case-box {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 60px;
    background: rgba(15, 23, 42, 0.92);
    padding: 28px 28px 28px 28px;
    color: var(--white);
}

.guardian-case-box .case-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.guardian-case-box h3 {
    color: var(--white);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.guardian-case-box p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
    line-height: 1.6;
}

.case-arrow-btn {
    width: 42px;
    height: 42px;
    background: var(--gradient);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
    transition: var(--transition);
}

.case-arrow-btn:hover {
    transform: translateX(4px);
    color: var(--white);
}

.guardian-pager {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50px;
    background: var(--gradient);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.guardian-pager .pager-num {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    writing-mode: horizontal-tb;
    background: rgba(255, 255, 255, 0.2);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guardian-pager .pager-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
}

.guardian-feature {
    text-align: left;
}

.guardian-feature-icon {
    width: 60px;
    height: 60px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 22px;
    margin-bottom: 16px;
    transition: var(--transition);
}

.guardian-feature:hover .guardian-feature-icon {
    background: var(--gradient);
    border-color: transparent;
    color: var(--white);
}

.guardian-feature h5 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.guardian-feature p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.btn-about-outline {
    padding: 12px 36px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    border-radius: 4px !important;
    border: 2px solid var(--dark) !important;
    color: var(--dark) !important;
    background: transparent !important;
    transition: var(--transition) !important;
}

.btn-about-outline:hover {
    background: var(--gradient) !important;
    border-color: transparent !important;
    color: var(--white) !important;
}

@media (max-width: 991.98px) {
    .guardian-main-img {
        height: 420px;
    }

    .svc-img-card-media {
        height: 180px;
    }
}

@media (max-width: 767.98px) {
    .guardian-case-box {
        right: 40px;
        padding: 20px;
    }

    .guardian-pager {
        width: 40px;
    }

    .guardian-main-img {
        height: 380px;
    }

    .svc-img-card-footer h4 {
        font-size: 13px;
    }
}


/* =====================================================
   SERVICE DETAIL PAGE (Sidebar Layout - Mockup Match)
   ===================================================== */

.svc-sidebar-menu {
    margin-bottom: 24px;
}

.svc-sidebar-menu li {
    margin-bottom: 8px;
}

.svc-sidebar-menu a {
    display: block;
    padding: 14px 18px;
    background: #f1f5f9;
    color: var(--dark-soft);
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
}

.svc-sidebar-menu a:hover,
.svc-sidebar-menu a.active {
    background: var(--gradient);
    color: var(--white);
}

.svc-help-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    min-height: 280px;
    background: url('../images/services/help-bg.jpg') center/cover no-repeat;
}

.svc-help-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(37, 99, 235, 0.92) 0%, rgba(15, 23, 42, 0.88) 100%);
}

.svc-help-card::before,
.svc-help-card::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    z-index: 2;
    border-style: solid;
}

.svc-help-card::before {
    top: 0;
    left: 0;
    border-width: 28px 28px 0 0;
    border-color: var(--primary) transparent transparent transparent;
}

.svc-help-card::after {
    bottom: 0;
    right: 0;
    border-width: 0 0 28px 28px;
    border-color: transparent transparent var(--primary) transparent;
}

.svc-help-content {
    position: relative;
    z-index: 3;
    padding: 36px 24px;
    color: var(--white);
}

.svc-help-content .help-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    opacity: 0.85;
    margin-bottom: 6px;
}

.svc-help-content h4 {
    color: var(--white);
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 14px;
}

.help-phone {
    display: block;
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.help-phone:hover {
    color: rgba(255, 255, 255, 0.85);
}

.btn-help {
    background: var(--white) !important;
    color: var(--primary) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 10px 18px !important;
    border-radius: 4px !important;
    border: none !important;
}

.btn-help:hover {
    background: var(--dark) !important;
    color: var(--white) !important;
}

.svc-single-image {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 28px;
}

.svc-single-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.svc-single-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
}

.svc-single-text {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 14px;
}

.svc-benefit-box {
    display: flex;
    align-items: center;
    gap: 14px;
}

.svc-benefit-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: var(--dark);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 20px;
}

.svc-benefit-box h5 {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    color: var(--dark);
    line-height: 1.4;
}

@media (max-width: 991.98px) {
    .svc-single-image img {
        height: 280px;
    }
}

