/* ==========================================================================
   TNC DIGITAL SOLUTIONS - BRAND THEME
   ========================================================================== */

:root {
    --brand-deep-purple: #3b0ca3;
    --brand-royal-purple: #5a189a;
    --brand-vibrant-purple: #7209b7;
    --brand-magenta: #b5179e;
    --brand-bright-pink: #f72585;

    --hero-gradient: linear-gradient(135deg, #1a0d91 0%, #4c0fa8 35%, #7209b7 65%, #b5179e 85%, #f72585 100%);
    --button-gradient: linear-gradient(90deg, #3b0ca3 0%, #7209b7 50%, #f72585 100%);

    --bg-page: #ffffff;
    --bg-section: #f8f9fc;
    --bg-card: rgba(255, 255, 255, 0.92);
    --bg-card-strong: #ffffff;
    --border-color: #eaeaea;

    --text-dark: #1f1f1f;
    --text-white: #ffffff;
    --text-light: #ededed;
    --text-secondary: #b8b8b8;
    --text-body: #5c5c72;

    --shadow-soft: 0 22px 60px rgba(44, 19, 117, 0.12);
    --shadow-strong: 0 28px 80px rgba(58, 12, 163, 0.18);
    --radius-sm: 12px;
    --radius-md: 22px;
    --radius-lg: 32px;
    --header-height: 92px;
    --container-width: 1200px;
    --transition-fast: 180ms ease;
    --transition-normal: 320ms ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background: var(--bg-page);
    color: var(--text-dark);
    font-family: 'Manrope', sans-serif;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    padding-top: var(--header-height);
    line-height: 1.6;
    color: var(--text-body);
    background:
        radial-gradient(circle at top left, rgba(114, 9, 183, 0.08) 0%, rgba(114, 9, 183, 0) 26%),
        radial-gradient(circle at top right, rgba(247, 37, 133, 0.12) 0%, rgba(247, 37, 133, 0) 28%),
        var(--bg-page);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.15;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f2f8;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--brand-vibrant-purple), var(--brand-bright-pink));
    border-radius: 999px;
}

.mesh-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -2;
    pointer-events: none;
    opacity: 0.55;
}

.mesh-glow-1 {
    top: -120px;
    right: -100px;
    width: 360px;
    height: 360px;
    background: rgba(114, 9, 183, 0.22);
}

.mesh-glow-2 {
    top: 35%;
    left: -140px;
    width: 320px;
    height: 320px;
    background: rgba(247, 37, 133, 0.16);
}

.mesh-glow-3 {
    bottom: 5%;
    right: -140px;
    width: 340px;
    height: 340px;
    background: rgba(59, 12, 163, 0.12);
}

.glass-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.glass-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-strong);
    border-color: rgba(91, 24, 154, 0.15);
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(234, 234, 234, 0.85);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    transition: background var(--transition-normal), box-shadow var(--transition-normal), height var(--transition-normal);
}

.main-header.scrolled {
    height: 80px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 12px 40px rgba(31, 31, 31, 0.08);
}

.nav-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
}

.logo {
    font-size: 1.6rem;
}

.site-logo-image {
    display: block;
    width: auto;
}

.header-logo-image {
    height: 52px;
}

.footer-logo-image {
    height: 60px;
}

.accent-text {
    background: var(--button-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    position: relative;
    padding: 0.45rem 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.25rem;
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand-deep-purple), var(--brand-bright-pink));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-deep-purple);
}

.btn-cta-nav,
.btn-primary,
.btn-submit-form {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    border: 0;
    border-radius: 999px;
    background: var(--button-gradient);
    color: var(--text-white);
    font-weight: 800;
    box-shadow: 0 16px 34px rgba(114, 9, 183, 0.26);
}

.btn-cta-nav {
    padding: 0.95rem 1.7rem;
    font-size: 0.96rem;
}

.btn-cta-nav:hover,
.btn-primary:hover,
.btn-submit-form:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 42px rgba(114, 9, 183, 0.34);
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.mobile-nav-toggle span {
    width: 26px;
    height: 3px;
    border-radius: 999px;
    background: var(--brand-deep-purple);
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mobile-nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.hero-section {
    position: relative;
    padding: 2rem 0 0;
}

.hero-container {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 4.25rem clamp(1.5rem, 3vw, 3rem) 4rem;
    border-radius: 0;
    background: var(--hero-gradient);
    color: var(--text-white);
    box-shadow: var(--shadow-strong);
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 620px) minmax(280px, 1fr);
    gap: 1.5rem;
    align-items: center;
}

.hero-container::before,
.hero-container::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-container::before {
    top: 15%;
    right: -10%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 68%);
}

.hero-container::after {
    bottom: -15%;
    right: 2%;
    width: 520px;
    height: 280px;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.45) 0 2px, transparent 3px),
        linear-gradient(120deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
    background-size: 38px 38px, 100% 100%;
    opacity: 0.35;
    filter: blur(1px);
    transform: perspective(500px) rotateX(58deg) rotate(-8deg);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 620px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero-visual-art {
    position: relative;
    min-height: 420px;
    z-index: 1;
}

.hero-wave-plane {
    position: absolute;
    inset: auto -8% -12% 10%;
    height: 340px;
    border-radius: 50% 50% 0 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.75) 0 3px, transparent 4px),
        radial-gradient(circle at 54% 28%, rgba(255, 255, 255, 0.78) 0 4px, transparent 5px),
        radial-gradient(circle at 68% 52%, rgba(255, 255, 255, 0.68) 0 4px, transparent 5px),
        radial-gradient(circle at 82% 36%, rgba(255, 255, 255, 0.78) 0 3px, transparent 4px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
    opacity: 0.9;
    transform: perspective(700px) rotateX(64deg) rotate(-10deg);
    box-shadow: inset 0 0 60px rgba(255, 255, 255, 0.1);
}

.hero-wave-plane::before,
.hero-wave-plane::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
}

.hero-wave-plane::before {
    background:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 28px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 26px);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 1));
}

.hero-wave-plane::after {
    background:
        radial-gradient(circle at 32% 42%, rgba(255, 255, 255, 0.95) 0 5px, transparent 8px),
        radial-gradient(circle at 56% 32%, rgba(255, 255, 255, 0.95) 0 6px, transparent 10px),
        radial-gradient(circle at 70% 55%, rgba(255, 255, 255, 0.95) 0 5px, transparent 9px),
        radial-gradient(circle at 84% 38%, rgba(255, 255, 255, 0.9) 0 5px, transparent 9px);
    filter: blur(1px);
}

.hero-signal {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.95), 0 0 40px rgba(247, 37, 133, 0.65);
}

.hero-signal::after {
    content: '';
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.signal-1 {
    top: 24%;
    right: 28%;
}

.signal-2 {
    top: 38%;
    right: 12%;
}

.signal-3 {
    bottom: 29%;
    right: 36%;
}

.signal-4 {
    bottom: 17%;
    right: 18%;
}

.signal-5 {
    top: 12%;
    right: 6%;
    width: 10px;
    height: 10px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 1rem;
    margin-bottom: 1.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.75);
}

.hero-title {
    font-size: clamp(3rem, 5.4vw, 5.4rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
    color: var(--text-white);
    margin-bottom: 1.35rem;
}

.text-glow {
    color: var(--text-white);
}

.hero-subtitle {
    max-width: 540px;
    font-size: 1.28rem;
    line-height: 1.65;
    color: rgba(237, 237, 237, 0.92);
    margin-bottom: 2rem;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.btn-primary {
    padding: 1rem 1.8rem;
    font-size: 1rem;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.6rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-white);
    font-weight: 800;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.hero-stats-panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    width: min(640px, 100%);
    padding: 1rem;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.stat-item {
    min-height: 116px;
    padding: 1.1rem 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.35rem;
}

.stat-label {
    font-size: 0.88rem;
    color: rgba(237, 237, 237, 0.84);
}

.stat-divider,
.hero-visual,
.glowing-orb,
.hero-card-stack,
.stack-card,
.progress-bar-container,
.progress-bar,
.status-badge,
.pulse-dot,
.card-value,
.card-header,
.card-title,
.card-desc,
.card-top,
.card-middle,
.card-bottom,
.text-accent,
.text-primary,
.text-success,
.full-platform-section,
.platform-capabilities-grid,
.platform-cap-card,
.pcap-badge,
.platform-cap-title,
.platform-cap-desc {
    display: none;
}

.section-spacing {
    position: relative;
    padding: 7.5rem 0;
}

.container,
.footer-container {
    width: min(var(--container-width), calc(100% - 4rem));
    margin: 0 auto;
}

.section-header {
    max-width: 760px;
    margin: 0 auto 4rem;
    text-align: center;
}

.section-subtitle,
.panel-subtitle {
    display: inline-block;
    margin-bottom: 0.7rem;
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--brand-vibrant-purple);
    font-weight: 800;
}

.section-title,
.panel-title {
    font-size: clamp(2.25rem, 3vw, 3.25rem);
    margin-bottom: 1rem;
    letter-spacing: -0.04em;
}

.title-underline {
    width: 96px;
    height: 5px;
    margin: 0 auto 1.35rem;
    border-radius: 999px;
    background: var(--button-gradient);
}

.section-desc,
.panel-desc {
    font-size: 1.06rem;
    color: var(--text-body);
}

.values-section,
.contact-section {
    background: var(--bg-section);
}

.values-grid,
.capabilities-grid,
.modules-showcase-grid {
    display: grid;
    gap: 1.6rem;
}

.values-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.capabilities-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.modules-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.value-card,
.capability-card,
.module-focus-card,
.contact-form-panel,
.contact-help-panel {
    background: var(--bg-card-strong);
}

.value-card,
.capability-card,
.module-focus-card {
    padding: 2.1rem;
}

.value-icon-box,
.cap-icon-wrapper,
.module-focus-icon,
.promise-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(90, 24, 154, 0.12), rgba(247, 37, 133, 0.12));
    color: var(--brand-vibrant-purple);
    border: 1px solid rgba(114, 9, 183, 0.12);
}

.value-icon-box {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.value-title {
    font-size: 1.45rem;
    margin-bottom: 0.8rem;
}

.value-text,
.cap-desc,
.module-focus-text,
.promise-text p,
.brand-description,
.footer-links a,
.contact-info-list li,
.copyright,
.help-title,
.form-panel-desc,
.label-optional {
    color: var(--text-body);
}

.subheading-label {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: rgba(114, 9, 183, 0.08);
    color: var(--brand-deep-purple);
    font-size: 1.05rem;
}

.capability-card,
.module-focus-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cap-header,
.module-focus-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.cap-icon-wrapper,
.promise-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.cap-title,
.module-focus-name {
    font-size: 1.2rem;
}

.cap-desc {
    margin-bottom: 1.35rem;
}

.cap-learn-more,
.help-link {
    color: var(--brand-vibrant-purple);
    font-weight: 800;
}

.cap-learn-more {
    margin-top: auto;
}

.border-glow-purple {
    position: relative;
    overflow: hidden;
}

.border-glow-purple::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: var(--button-gradient);
}

.module-focus-icon {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.module-title-box {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.module-badge {
    align-self: flex-start;
    display: inline-flex;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.badge-grc,
.badge-hrsd,
.badge-csm,
.badge-itsm,
.badge-itom,
.badge-itam {
    color: var(--brand-deep-purple);
    background: rgba(114, 9, 183, 0.08);
    border: 1px solid rgba(114, 9, 183, 0.12);
}

.module-bullet-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-top: auto;
}

.module-bullet-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: var(--text-dark);
}

.module-bullet-list li i {
    margin-top: 0.18rem;
    color: var(--brand-vibrant-purple);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 2rem;
    align-items: start;
}

.contact-info-panel {
    padding-right: 1rem;
}

.consultancy-promises {
    display: grid;
    gap: 1.1rem;
    margin: 2rem 0 2.2rem;
}

.promise-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 18px 42px rgba(59, 12, 163, 0.08);
}

.promise-text strong {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--text-dark);
}

.contact-help-panel {
    padding: 1.45rem 1.6rem;
}

.help-link {
    font-size: 1.15rem;
}

.contact-form-panel {
    padding: 2.3rem;
}

.form-panel-title {
    font-size: 1.7rem;
    margin-bottom: 0.35rem;
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-label {
    color: var(--text-dark);
    font-weight: 700;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--brand-vibrant-purple);
    opacity: 0.72;
    pointer-events: none;
}

.icon-textarea {
    top: 1.25rem;
    transform: none;
}

.form-control {
    width: 100%;
    padding: 0.95rem 1rem 0.95rem 2.8rem;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background: #ffffff;
    color: var(--text-dark);
    font: inherit;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.text-area-control {
    min-height: 130px;
    resize: vertical;
}

.form-control:focus {
    outline: 0;
    border-color: rgba(114, 9, 183, 0.5);
    box-shadow: 0 0 0 4px rgba(114, 9, 183, 0.12);
}

.form-group.has-error .form-control {
    border-color: #cf3f65;
    box-shadow: 0 0 0 4px rgba(207, 63, 101, 0.1);
}

.error-msg {
    display: none;
    color: #cf3f65;
    font-size: 0.83rem;
    font-weight: 700;
}

.form-group.has-error .error-msg {
    display: block;
}

.form-feedback-toast {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.4rem;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    font-weight: 700;
}

.form-feedback-toast.toast-success,
.toast-success-static {
    border: 1px solid rgba(59, 167, 92, 0.2);
    background: rgba(59, 167, 92, 0.08);
    color: #237646;
}

.form-feedback-toast.toast-error {
    border: 1px solid rgba(207, 63, 101, 0.2);
    background: rgba(207, 63, 101, 0.08);
    color: #b41f4c;
}

.toast-icon {
    flex-shrink: 0;
}

.btn-submit-form {
    width: 100%;
    padding: 1rem 1.4rem;
    cursor: pointer;
    font-size: 1rem;
}

.btn-submit-form:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.spinner {
    font-size: 1rem;
}

.main-footer-section {
    padding: 5rem 0 2rem;
    background: linear-gradient(180deg, #ffffff 0%, #f6f0ff 100%);
    border-top: 1px solid rgba(91, 24, 154, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.9fr 1.1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-col-title {
    position: relative;
    padding-bottom: 0.6rem;
    font-size: 1.05rem;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42px;
    height: 3px;
    border-radius: 999px;
    background: var(--button-gradient);
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(91, 24, 154, 0.08);
    color: var(--brand-vibrant-purple);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 24px rgba(59, 12, 163, 0.08);
}

.social-links a:hover,
.footer-links a:hover,
.contact-info-list li a:hover,
.footer-sub-links a:hover {
    color: var(--brand-bright-pink);
}

.footer-links,
.contact-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.contact-info-list li {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.contact-info-list li i {
    margin-top: 0.15rem;
    color: var(--brand-vibrant-purple);
}

.footer-bottom {
    padding-top: 1.75rem;
    border-top: 1px solid rgba(91, 24, 154, 0.08);
    text-align: center;
}

.footer-sub-links {
    margin-left: 1rem;
}

.footer-sub-links a {
    margin-left: 0.5rem;
}

@media (max-width: 1180px) {
    .values-grid,
    .capabilities-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-info-panel {
        padding-right: 0;
    }
}

@media (max-width: 900px) {
    html {
        font-size: 15px;
    }

    .nav-container,
    .container,
    .footer-container {
        width: min(100%, calc(100% - 2rem));
        padding: 0;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        padding: 1.25rem 1rem 2rem;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid rgba(91, 24, 154, 0.08);
        box-shadow: 0 18px 40px rgba(31, 31, 31, 0.08);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform var(--transition-normal), opacity var(--transition-normal);
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .nav-link,
    .btn-cta-nav {
        width: 100%;
        text-align: center;
    }

    .hero-container {
        width: 100%;
        padding: 3rem 1.35rem;
        grid-template-columns: 1fr;
    }

    .hero-container::after {
        width: 360px;
        height: 220px;
        right: -6%;
        opacity: 0.22;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-visual-art {
        min-height: 260px;
        width: 100%;
    }

    .hero-wave-plane {
        inset: auto -8% -18% 4%;
        height: 250px;
    }

    .hero-stats-panel,
    .values-grid,
    .capabilities-grid,
    .modules-showcase-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-spacing {
        padding: 5.25rem 0;
    }
}

@media (max-width: 640px) {
    .main-header {
        height: 82px;
    }

    .main-header.scrolled {
        height: 76px;
    }

    .logo {
        font-size: 1.25rem;
        gap: 0.6rem;
    }

    .header-logo-image {
        height: 42px;
    }

    .hero-section {
        padding-top: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta-group {
        width: 100%;
        flex-direction: column;
    }

    .hero-visual-art {
        min-height: 190px;
    }

    .hero-wave-plane {
        inset: auto -12% -28% 0;
        height: 200px;
    }

    .signal-1 {
        top: 18%;
        right: 34%;
    }

    .signal-2 {
        top: 34%;
        right: 14%;
    }

    .signal-3 {
        bottom: 30%;
        right: 44%;
    }

    .signal-4 {
        bottom: 17%;
        right: 20%;
    }

    .btn-primary,
    .btn-secondary,
    .btn-cta-nav {
        width: 100%;
    }

    .stat-item {
        min-height: 0;
    }

    .value-card,
    .capability-card,
    .module-focus-card,
    .contact-form-panel {
        padding: 1.5rem;
    }

    .footer-sub-links {
        display: block;
        margin: 0.5rem 0 0;
    }
}
/* ==========================================================================
   TNC DIGITAL SOLUTIONS - BRAND THEME
   ========================================================================== */

:root {
    --brand-deep-purple: #3b0ca3;
    --brand-royal-purple: #5a189a;
    --brand-vibrant-purple: #7209b7;
    --brand-magenta: #b5179e;
    --brand-bright-pink: #f72585;

    --hero-gradient: linear-gradient(135deg, #1a0d91 0%, #4c0fa8 35%, #7209b7 65%, #b5179e 85%, #f72585 100%);
    --button-gradient: linear-gradient(90deg, #3b0ca3 0%, #7209b7 50%, #f72585 100%);

    --bg-page: #ffffff;
    --bg-section: #f8f9fc;
    --bg-card: rgba(255, 255, 255, 0.92);
    --bg-card-strong: #ffffff;
    --border-color: #eaeaea;

    --text-dark: #1f1f1f;
    --text-white: #ffffff;
    --text-light: #ededed;
    --text-secondary: #b8b8b8;
    --text-body: #5c5c72;

    --shadow-soft: 0 22px 60px rgba(44, 19, 117, 0.12);
    --shadow-strong: 0 28px 80px rgba(58, 12, 163, 0.18);
    --radius-sm: 12px;
    --radius-md: 22px;
    --radius-lg: 32px;
    --header-height: 92px;
    --container-width: 1200px;
    --transition-fast: 180ms ease;
    --transition-normal: 320ms ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background: var(--bg-page);
    color: var(--text-dark);
    font-family: 'Manrope', sans-serif;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    padding-top: var(--header-height);
    line-height: 1.6;
    color: var(--text-body);
    background:
        radial-gradient(circle at top left, rgba(114, 9, 183, 0.08) 0%, rgba(114, 9, 183, 0) 26%),
        radial-gradient(circle at top right, rgba(247, 37, 133, 0.12) 0%, rgba(247, 37, 133, 0) 28%),
        var(--bg-page);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.15;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f2f8;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--brand-vibrant-purple), var(--brand-bright-pink));
    border-radius: 999px;
}

.mesh-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -2;
    pointer-events: none;
    opacity: 0.55;
}

.mesh-glow-1 {
    top: -120px;
    right: -100px;
    width: 360px;
    height: 360px;
    background: rgba(114, 9, 183, 0.22);
}

.mesh-glow-2 {
    top: 35%;
    left: -140px;
    width: 320px;
    height: 320px;
    background: rgba(247, 37, 133, 0.16);
}

.mesh-glow-3 {
    bottom: 5%;
    right: -140px;
    width: 340px;
    height: 340px;
    background: rgba(59, 12, 163, 0.12);
}

.glass-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.glass-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-strong);
    border-color: rgba(91, 24, 154, 0.15);
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(234, 234, 234, 0.85);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    transition: background var(--transition-normal), box-shadow var(--transition-normal), height var(--transition-normal);
}

.main-header.scrolled {
    height: 80px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 12px 40px rgba(31, 31, 31, 0.08);
}

.nav-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
}

.logo {
    font-size: 1.6rem;
}

.site-logo-image {
    display: block;
    width: auto;
}

.header-logo-image {
    height: 52px;
}

.footer-logo-image {
    height: 60px;
}

.accent-text {
    background: var(--button-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    position: relative;
    padding: 0.45rem 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.25rem;
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand-deep-purple), var(--brand-bright-pink));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-deep-purple);
}

.btn-cta-nav,
.btn-primary,
.btn-submit-form {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    border: 0;
    border-radius: 999px;
    background: var(--button-gradient);
    color: var(--text-white);
    font-weight: 800;
    box-shadow: 0 16px 34px rgba(114, 9, 183, 0.26);
}

.btn-cta-nav {
    padding: 0.95rem 1.7rem;
    font-size: 0.96rem;
}

.btn-cta-nav:hover,
.btn-primary:hover,
.btn-submit-form:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 42px rgba(114, 9, 183, 0.34);
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.mobile-nav-toggle span {
    width: 26px;
    height: 3px;
    border-radius: 999px;
    background: var(--brand-deep-purple);
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mobile-nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.hero-section {
    position: relative;
    padding: 2rem 0 0;
}

.hero-container {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 4.25rem clamp(1.5rem, 3vw, 3rem) 4rem;
    border-radius: 0;
    background: var(--hero-gradient);
    color: var(--text-white);
    box-shadow: var(--shadow-strong);
    overflow: hidden;
}

.hero-container::before,
.hero-container::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-container::before {
    top: 15%;
    right: -10%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 68%);
}

.hero-container::after {
    bottom: -15%;
    right: 2%;
    width: 520px;
    height: 280px;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.45) 0 2px, transparent 3px),
        linear-gradient(120deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
    background-size: 38px 38px, 100% 100%;
    opacity: 0.35;
    filter: blur(1px);
    transform: perspective(500px) rotateX(58deg) rotate(-8deg);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 620px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 1rem;
    margin-bottom: 1.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.75);
}

.hero-title {
    font-size: clamp(3rem, 5.4vw, 5.4rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
    color: var(--text-white);
    margin-bottom: 1.35rem;
}

.text-glow {
    color: var(--text-white);
}

.hero-subtitle {
    max-width: 540px;
    font-size: 1.28rem;
    line-height: 1.65;
    color: rgba(237, 237, 237, 0.92);
    margin-bottom: 2rem;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.btn-primary {
    padding: 1rem 1.8rem;
    font-size: 1rem;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.6rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-white);
    font-weight: 800;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.hero-stats-panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    width: min(640px, 100%);
    padding: 1rem;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.stat-item {
    min-height: 116px;
    padding: 1.1rem 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.35rem;
}

.stat-label {
    font-size: 0.88rem;
    color: rgba(237, 237, 237, 0.84);
}

.stat-divider,
.hero-visual,
.glowing-orb,
.hero-card-stack,
.stack-card,
.progress-bar-container,
.progress-bar,
.status-badge,
.pulse-dot,
.card-value,
.card-header,
.card-title,
.card-desc,
.card-top,
.card-middle,
.card-bottom,
.text-accent,
.text-primary,
.text-success,
.full-platform-section,
.platform-capabilities-grid,
.platform-cap-card,
.pcap-badge,
.platform-cap-title,
.platform-cap-desc {
    display: none;
}

.section-spacing {
    position: relative;
    padding: 7.5rem 0;
}

.container,
.footer-container {
    width: min(var(--container-width), calc(100% - 4rem));
    margin: 0 auto;
}

.section-header {
    max-width: 760px;
    margin: 0 auto 4rem;
    text-align: center;
}

.section-subtitle,
.panel-subtitle {
    display: inline-block;
    margin-bottom: 0.7rem;
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--brand-vibrant-purple);
    font-weight: 800;
}

.section-title,
.panel-title {
    font-size: clamp(2.25rem, 3vw, 3.25rem);
    margin-bottom: 1rem;
    letter-spacing: -0.04em;
}

.title-underline {
    width: 96px;
    height: 5px;
    margin: 0 auto 1.35rem;
    border-radius: 999px;
    background: var(--button-gradient);
}

.section-desc,
.panel-desc {
    font-size: 1.06rem;
    color: var(--text-body);
}

.values-section,
.contact-section {
    background: var(--bg-section);
}

.values-grid,
.capabilities-grid,
.modules-showcase-grid {
    display: grid;
    gap: 1.6rem;
}

.values-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.capabilities-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.modules-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.value-card,
.capability-card,
.module-focus-card,
.contact-form-panel,
.contact-help-panel {
    background: var(--bg-card-strong);
}

.value-card,
.capability-card,
.module-focus-card {
    padding: 2.1rem;
}

.value-icon-box,
.cap-icon-wrapper,
.module-focus-icon,
.promise-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(90, 24, 154, 0.12), rgba(247, 37, 133, 0.12));
    color: var(--brand-vibrant-purple);
    border: 1px solid rgba(114, 9, 183, 0.12);
}

.value-icon-box {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.value-title {
    font-size: 1.45rem;
    margin-bottom: 0.8rem;
}

.value-text,
.cap-desc,
.module-focus-text,
.promise-text p,
.brand-description,
.footer-links a,
.contact-info-list li,
.copyright,
.help-title,
.form-panel-desc,
.label-optional {
    color: var(--text-body);
}

.subheading-label {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: rgba(114, 9, 183, 0.08);
    color: var(--brand-deep-purple);
    font-size: 1.05rem;
}

.capability-card,
.module-focus-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cap-header,
.module-focus-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.cap-icon-wrapper,
.promise-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.cap-title,
.module-focus-name {
    font-size: 1.2rem;
}

.cap-desc {
    margin-bottom: 1.35rem;
}

.cap-learn-more,
.help-link {
    color: var(--brand-vibrant-purple);
    font-weight: 800;
}

.cap-learn-more {
    margin-top: auto;
}

.border-glow-purple {
    position: relative;
    overflow: hidden;
}

.border-glow-purple::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: var(--button-gradient);
}

.module-focus-icon {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.module-title-box {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.module-badge {
    align-self: flex-start;
    display: inline-flex;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.badge-grc,
.badge-hrsd,
.badge-csm,
.badge-itsm,
.badge-itom,
.badge-itam {
    color: var(--brand-deep-purple);
    background: rgba(114, 9, 183, 0.08);
    border: 1px solid rgba(114, 9, 183, 0.12);
}

.module-bullet-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-top: auto;
}

.module-bullet-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: var(--text-dark);
}

.module-bullet-list li i {
    margin-top: 0.18rem;
    color: var(--brand-vibrant-purple);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 2rem;
    align-items: start;
}

.contact-info-panel {
    padding-right: 1rem;
}

.consultancy-promises {
    display: grid;
    gap: 1.1rem;
    margin: 2rem 0 2.2rem;
}

.promise-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 18px 42px rgba(59, 12, 163, 0.08);
}

.promise-text strong {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--text-dark);
}

.contact-help-panel {
    padding: 1.45rem 1.6rem;
}

.help-link {
    font-size: 1.15rem;
}

.contact-form-panel {
    padding: 2.3rem;
}

.form-panel-title {
    font-size: 1.7rem;
    margin-bottom: 0.35rem;
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-label {
    color: var(--text-dark);
    font-weight: 700;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--brand-vibrant-purple);
    opacity: 0.72;
    pointer-events: none;
}

.icon-textarea {
    top: 1.25rem;
    transform: none;
}

.form-control {
    width: 100%;
    padding: 0.95rem 1rem 0.95rem 2.8rem;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background: #ffffff;
    color: var(--text-dark);
    font: inherit;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.text-area-control {
    min-height: 130px;
    resize: vertical;
}

.form-control:focus {
    outline: 0;
    border-color: rgba(114, 9, 183, 0.5);
    box-shadow: 0 0 0 4px rgba(114, 9, 183, 0.12);
}

.form-group.has-error .form-control {
    border-color: #cf3f65;
    box-shadow: 0 0 0 4px rgba(207, 63, 101, 0.1);
}

.error-msg {
    display: none;
    color: #cf3f65;
    font-size: 0.83rem;
    font-weight: 700;
}

.form-group.has-error .error-msg {
    display: block;
}

.form-feedback-toast {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.4rem;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    font-weight: 700;
}

.form-feedback-toast.toast-success,
.toast-success-static {
    border: 1px solid rgba(59, 167, 92, 0.2);
    background: rgba(59, 167, 92, 0.08);
    color: #237646;
}

.form-feedback-toast.toast-error {
    border: 1px solid rgba(207, 63, 101, 0.2);
    background: rgba(207, 63, 101, 0.08);
    color: #b41f4c;
}

.toast-icon {
    flex-shrink: 0;
}

.btn-submit-form {
    width: 100%;
    padding: 1rem 1.4rem;
    cursor: pointer;
    font-size: 1rem;
}

.btn-submit-form:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.spinner {
    font-size: 1rem;
}

.main-footer-section {
    padding: 5rem 0 2rem;
    background: linear-gradient(180deg, #ffffff 0%, #f6f0ff 100%);
    border-top: 1px solid rgba(91, 24, 154, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.9fr 1.1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-col-title {
    position: relative;
    padding-bottom: 0.6rem;
    font-size: 1.05rem;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42px;
    height: 3px;
    border-radius: 999px;
    background: var(--button-gradient);
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(91, 24, 154, 0.08);
    color: var(--brand-vibrant-purple);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 24px rgba(59, 12, 163, 0.08);
}

.social-links a:hover,
.footer-links a:hover,
.contact-info-list li a:hover,
.footer-sub-links a:hover {
    color: var(--brand-bright-pink);
}

.footer-links,
.contact-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.contact-info-list li {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.contact-info-list li i {
    margin-top: 0.15rem;
    color: var(--brand-vibrant-purple);
}

.footer-bottom {
    padding-top: 1.75rem;
    border-top: 1px solid rgba(91, 24, 154, 0.08);
    text-align: center;
}

.footer-sub-links {
    margin-left: 1rem;
}

.footer-sub-links a {
    margin-left: 0.5rem;
}

@media (max-width: 1180px) {
    .values-grid,
    .capabilities-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-info-panel {
        padding-right: 0;
    }
}

@media (max-width: 900px) {
    html {
        font-size: 15px;
    }

    .nav-container,
    .container,
    .footer-container {
        width: min(100%, calc(100% - 2rem));
        padding: 0;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        padding: 1.25rem 1rem 2rem;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid rgba(91, 24, 154, 0.08);
        box-shadow: 0 18px 40px rgba(31, 31, 31, 0.08);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform var(--transition-normal), opacity var(--transition-normal);
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .nav-link,
    .btn-cta-nav {
        width: 100%;
        text-align: center;
    }

    .hero-container {
        width: 100%;
        padding: 3rem 1.35rem;
    }

    .hero-container::after {
        width: 360px;
        height: 220px;
        right: -6%;
        opacity: 0.22;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-stats-panel,
    .values-grid,
    .capabilities-grid,
    .modules-showcase-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-spacing {
        padding: 5.25rem 0;
    }
}

@media (max-width: 640px) {
    .main-header {
        height: 82px;
    }

    .main-header.scrolled {
        height: 76px;
    }

    .logo {
        font-size: 1.25rem;
        gap: 0.6rem;
    }

    .header-logo-image {
        height: 42px;
    }

    .hero-section {
        padding-top: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta-group {
        width: 100%;
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary,
    .btn-cta-nav {
        width: 100%;
    }

    .stat-item {
        min-height: 0;
    }

    .value-card,
    .capability-card,
    .module-focus-card,
    .contact-form-panel {
        padding: 1.5rem;
    }

    .footer-sub-links {
        display: block;
        margin: 0.5rem 0 0;
    }
}