/* ====================================================================
   IBEX WEBTECH — CENTRALIZED PRODUCTION ENGINE STYLE template
   ==================================================================== */

:root {
    --ibex-dark-bg: #070a12;
    --ibex-surface-bg: #0f1524;
    --ibex-border-color: rgba(255, 255, 255, 0.05);
    --ibex-text-primary: #f3f4f6;
    --ibex-text-muted: #9ca3af;
    --theme-color1: #f0812b; /* Exact orange color match for the logo asset */
    --theme-color1-glow: linear-gradient(135deg, rgba(240, 129, 43, 0.12) 0%, transparent 70%);
}

/* Master Engine Standards */
html {
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.dark-layout {
    background-color: var(--ibex-dark-bg) !important;
    color: var(--ibex-text-primary) !important;
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    margin: 0;
    overflow-x: hidden;
}

/* Custom Themed Scrollbar Engine */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--ibex-dark-bg);
}
::-webkit-scrollbar-thumb {
    background: #1d263b;
    border-radius: 5px;
    border: 2px solid var(--ibex-dark-bg);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--theme-color1);
}

.page-wrapper {
    position: relative;
    z-index: 1;
}

.auto-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Structural Header Overhaul — Flex Line Implementation */
.main-header.header-style-one {
    background-color: rgba(7, 10, 18, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--ibex-border-color);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
}

.main-header .main-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 85px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 100%;
    padding-left: 10px;
}

/* Precise Image Dimensions and Positioning */
.brand-logo-img {
    max-height: 56px; 
    width: auto;
    display: block;
    mix-blend-mode: screen; 
    transform: scale(1.45); 
    transform-origin: left center; 
    filter: brightness(1.12) contrast(1.06) saturate(1.05); 
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-wrapper:hover .brand-logo-img {
    transform: scale(1.50);
}

/* Desktop Navigation Alignment Rules */
.main-menu {
    display: block;
}

.main-menu .navigation {
    display: flex;
    gap: 36px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-menu .navigation li a {
    color: var(--ibex-text-muted);
    font-size: 15px;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.main-menu .navigation li:hover a,
.main-menu .navigation li.current a {
    color: var(--theme-color1);
}

/* High-Contrast Gradient Text Splitting */
.gradient-text {
    background: linear-gradient(135deg, var(--theme-color1) 0%, #ff9e6d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Section Workspace Layouts */
.hero-section {
    padding: 240px 0 140px;
    background-image: radial-gradient(circle at 85% 10%, rgba(240, 129, 43, 0.07) 0%, transparent 50%),
                      radial-gradient(circle at 15% 90%, rgba(99, 102, 241, 0.04) 0%, transparent 50%);
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.badge-tag {
    background: rgba(240, 129, 43, 0.08);
    border: 1px solid rgba(240, 129, 43, 0.2);
    color: #ff9e6d;
    padding: 6px 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 32px;
}

.hero-title {
    font-size: 64px;
    line-height: 1.15em;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 24px;
}

.hero-lead {
    font-size: 20px;
    line-height: 34px;
    color: var(--ibex-text-muted);
    max-width: 720px;
    margin: 0 auto 48px;
}

/* Button UI Components */
.btn-style-one {
    background-color: var(--theme-color1);
    color: #fff !important;
    padding: 16px 38px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
}

.btn-style-one:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(240, 129, 43, 0.25);
    background-color: #f39446;
}

.btn-style-one.light-bg {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--ibex-border-color);
    color: #fff !important;
}

.btn-style-one.light-bg:hover {
    background-color: rgba(255, 255, 255, 0.06);
    box-shadow: none;
}

.btn-style-one.small-btn {
    padding: 10px 22px;
    font-size: 13px;
    border-radius: 8px;
}

/* Base Content Container Spacing */
.services-section, .portfolio-section, .why-choose-us-section, .contact-section {
    padding: 120px 0;
    border-top: 1px solid var(--ibex-border-color);
}

.sec-title {
    margin-bottom: 60px;
}

.sec-title .sub-title {
    color: var(--theme-color1);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    display: block;
    margin-bottom: 12px;
}

.sec-title h2 {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}

/* Capabilities & Portfolio Modern Grid Arrays */
.services-modern-grid, .portfolio-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card-modern, .portfolio-card-modern {
    background-color: var(--ibex-surface-bg);
    border: 1px solid var(--ibex-border-color);
    padding: 54px 40px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.service-card-modern:hover, .portfolio-card-modern:hover {
    transform: translateY(-8px);
    border-color: rgba(240, 129, 43, 0.35);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--theme-color1-glow);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-card-modern:hover .card-glow, .portfolio-card-modern:hover .card-glow {
    opacity: 1;
}

.card-icon-wrap {
    font-size: 36px;
    margin-bottom: 24px;
}

.service-card-modern h3, .portfolio-card-modern h3 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.project-tag {
    font-size: 12px;
    font-weight: 700;
    color: var(--theme-color1);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
}

.project-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    margin-top: 28px;
    transition: color 0.2s ease;
}

.project-link-btn:hover {
    color: var(--theme-color1);
}

/* Strategic Pillar Cards Layout */
.value-pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.pillar-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.01) 0%, transparent 100%);
    border-left: 4px solid var(--theme-color1);
    padding: 28px 32px;
    background-color: rgba(255, 255, 255, 0.01);
    border-radius: 0 16px 16px 0;
}

.pillar-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

/* Centralized Frosted Glass Inbox Form Card */
.contact-card-modern {
    background-color: var(--ibex-surface-bg);
    border: 1px solid var(--ibex-border-color);
    padding: 90px 40px;
    border-radius: 32px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.contact-card-modern h2 {
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    margin: 16px 0;
}

.contact-lead {
    font-size: 17px;
    line-height: 30px;
    color: var(--ibex-text-muted);
    max-width: 580px;
    margin: 0 auto 44px;
}

.email-interactive-wrapper {
    max-width: 440px;
    margin: 0 auto;
}

.email-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--theme-color1);
    margin-bottom: 12px;
}

.email-display-box {
    width: 100%;
    background-color: rgba(7, 10, 18, 0.6);
    border: 1px solid var(--ibex-border-color);
    padding: 20px 26px;
    border-radius: 16px;
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.email-display-box:hover {
    border-color: rgba(240, 129, 43, 0.4);
    background-color: rgba(7, 10, 18, 0.9);
}

.copy-icon-indicator {
    color: var(--ibex-text-muted);
    font-size: 16px;
}

.email-display-box:hover .copy-icon-indicator {
    color: var(--theme-color1);
}

/* JavaScript Success Feedback Animation Hook Constants */
.text-success-flash {
    color: #34d399 !important;
    font-weight: 700;
}

.ml-10 { margin-left: 10px; }

/* ====================================================================
   FLUID RESPONSIVE MOBILE VIEWPORT RE-STRUCTURING
   ==================================================================== */