/**
 * Black Fin Consulting - Main Stylesheet
 */

/* ===== Base Styles ===== */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --primary-bg: #dbeafe;
    --secondary: #0f172a;
    --secondary-dark: #0f172a;
    --secondary-light: #1e293b;
    --text-dark: #0f172a;
    --text-medium: #475569;
    --text-light: #64748b;
    --text-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-light: #e2e8f0;
    --border-medium: #cbd5e1;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.5;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    background-color: var(--primary-bg);
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
}

.badge.light {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-light);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 64px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-medium);
}

.section-footer {
    text-align: center;
    margin-top: 64px;
}

.view-all {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 500;
    transition: color 0.3s;
}

.view-all:hover {
    color: var(--primary-dark);
}

.view-all i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.view-all:hover i {
    transform: translateX(4px);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn i {
    margin-left: 8px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--text-white);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: transparent;
    color: var(--text-white);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
}

.btn-light {
    background-color: var(--bg-white);
    color: var(--primary);
}

.btn-light:hover {
    background-color: var(--bg-light);
    color: var(--primary-dark);
}

.btn-block {
    display: block;
    width: 100%;
}

/* ===== Header & Navigation ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-light);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: var(--secondary);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 20px;
}

.logo-text {
    font-weight: 600;
    font-size: 18px;
    color: var(--text-dark);
    display: none;
}

.desktop-nav {
    display: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    color: var(--text-medium);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary);
}

.dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
}

.dropdown-toggle i {
    margin-left: 4px;
    font-size: 12px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 240px;
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 10;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 8px 16px;
    color: var(--text-medium);
    transition: background-color 0.3s;
}

.dropdown-item:hover {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.desktop-only {
    display: none;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 24px;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-light);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s;
}

.mobile-nav.active {
    display: block;
    max-height: 500px;
}

.mobile-nav-inner {
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    color: var(--text-medium);
    font-weight: 500;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
}

.accordion.active .accordion-content {
    max-height: 200px;
}

.accordion-toggle i {
    transition: transform 0.3s;
}

.accordion.active .accordion-toggle i {
    transform: rotate(180deg);
}

.mobile-dropdown-item {
    display: block;
    padding: 8px 0 8px 16px;
    color: var(--text-light);
}

/* ===== Hero Section ===== */
.hero-section {
    background: linear-gradient(to right, var(--secondary-dark), var(--secondary-light));
    color: var(--text-white);
    padding: 96px 0 0;
    position: relative;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path fill="none" stroke="white" stroke-width="0.5" d="M 20 0 L 0 0 0 20" /></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)" /></svg>');
    opacity: 0.1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 600px;
}

.hero-text h1 {
    font-size: 40px;
    margin-bottom: 24px;
}

.hero-text h1 span {
    color: var(--primary-light);
}

.hero-text p {
    font-size: 18px;
    color: var(--border-medium);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-image {
    position: relative;
    display: none;
}

.blur-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.hero-image .circle-1 {
    width: 256px;
    height: 256px;
    background-color: rgba(37, 99, 235, 0.2);
    top: -64px;
    left: -64px;
}

.hero-image .circle-2 {
    width: 192px;
    height: 192px;
    background-color: rgba(79, 70, 229, 0.2);
    bottom: -32px;
    right: -32px;
}

.image-container {
    position: relative;
    background: linear-gradient(to bottom right, var(--secondary-light), var(--secondary-dark));
    padding: 4px;
    border-radius: var(--radius-xl);
    border: 1px solid #334155;
    box-shadow: var(--shadow-lg);
}

.image-container img {
    border-radius: calc(var(--radius-xl) - 4px);
    width: 100%;
    height: auto;
    display: block;
}

.icon-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 56px;
    height: 56px;
    background-color: var(--primary);
    color: var(--text-white);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.icon-badge i {
    font-size: 24px;
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.wave-divider svg {
    width: 100%;
    height: auto;
}

/* ===== Clients Section ===== */
.clients-section {
    background-color: var(--bg-white);
    padding: 64px 0;
    text-align: center;
}

.clients-section h2 {
    font-size: 24px;
    color: var(--text-medium);
    margin-bottom: 48px;
}

.client-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.client-logo {
    display: flex;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

.client-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

.client-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

/* ===== Stats Section ===== */
.stats-section {
    background-color: var(--bg-light);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.stat-card {
    background-color: var(--bg-white);
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: box-shadow 0.3s;
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
}

.stat-icon {
    background-color: var(--primary-bg);
    color: var(--primary);
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
}

.stat-number::after {
    content: "+";
}

.stat-label {
    color: var(--text-light);
}

/* ===== Services Section ===== */
.services-section {
    background-color: var(--bg-white);
    padding: 96px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.service-card {
    position: relative;
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 32px;
    height: 100%;
    transition: all 0.3s;
    overflow: hidden;
}

.service-card:hover {
    border-color: #bfdbfe;
    box-shadow: var(--shadow-md);
}

.service-card.featured {
    background: linear-gradient(to bottom right, var(--primary), var(--primary-dark));
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
}

.service-card:not(.featured) .service-icon {
    background-color: var(--primary-bg);
    color: var(--primary);
}

.service-card.featured .service-icon {
    background-color: rgba(255, 255, 255, 0.1);
}

.service-icon i {
    font-size: 24px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.service-card:not(.featured) h3 {
    color: var(--text-dark);
}

.service-card p {
    margin-bottom: 24px;
}

.service-card:not(.featured) p {
    color: var(--text-medium);
}

.service-card.featured p {
    color: #bfdbfe;
}

.service-link {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
}

.service-card:not(.featured) .service-link {
    color: var(--primary);
}

.service-card.featured .service-link {
    color: var(--text-white);
}

.service-link i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.service-card:hover .service-link i {
    transform: translateX(4px);
}

.decoration-circle {
    position: absolute;
    width: 96px;
    height: 96px;
    background-color: rgba(37, 99, 235, 0.2);
    border-radius: 50%;
    bottom: -24px;
    right: -24px;
}

/* ===== About Section ===== */
.about-section {
    background-color: var(--secondary-dark);
    color: var(--text-white);
    padding: 96px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
}

.about-content h2 {
    font-size: 36px;
    margin-bottom: 24px;
}

.about-content > p {
    color: var(--border-medium);
    font-size: 18px;
    margin-bottom: 32px;
}

.features {
    display: grid;
    gap: 24px;
}

.feature {
    display: flex;
    gap: 16px;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.feature-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.feature-content p {
    color: var(--border-medium);
}

.about-stats {
    position: relative;
}

.about-stats .circle-1 {
    width: 256px;
    height: 256px;
    background-color: rgba(37, 99, 235, 0.1);
    top: -40px;
    left: -40px;
}

.about-stats .circle-2 {
    width: 256px;
    height: 256px;
    background-color: rgba(79, 70, 229, 0.1);
    bottom: -40px;
    right: -40px;
}

.about-stats .stats-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.stat-box {
    background: linear-gradient(to bottom right, var(--secondary-light), var(--secondary-dark));
    border: 1px solid #334155;
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-md);
}

.stat-box h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.stat-box p {
    color: var(--border-medium);
}

.stat-box.box-1 {
    transform: translateY(32px);
}

.stat-box.box-2 {
    background: linear-gradient(to bottom right, var(--primary), var(--primary-dark));
}

.stat-box.box-2 p {
    color: #bfdbfe;
}

.stat-box.box-4 {
    transform: translateY(32px);
}

/* ===== Case Studies Section ===== */
.case-studies-section {
    background-color: var(--bg-white);
    padding: 96px 0;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.case-study-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-light);
    height: 100%;
    transition: all 0.3s;
}

.case-study-card:hover {
    box-shadow: var(--shadow-md);
}

.case-study-card.featured {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.case-study-image {
    position: relative;
    height: 192px;
    overflow: hidden;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.case-study-card:hover .case-study-image img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.8), transparent);
}

.case-study-category {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
}

.case-study-category.featured {
    background-color: var(--primary);
    color: var(--text-white);
}

.case-study-content {
    padding: 24px;
}

.case-study-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.case-study-content p {
    color: var(--text-medium);
    margin-bottom: 24px;
}

.case-study-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 500;
}

.case-study-link i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.case-study-card:hover .case-study-link i {
    transform: translateX(4px);
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    background-color: var(--bg-light);
    padding: 96px 0;
}

.testimonial-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.quote-icon {
    position: absolute;
    top: -48px;
    left: -48px;
    font-size: 96px;
    color: #bfdbfe;
    opacity: 0.2;
}

.testimonial-slides {
    background-color: var(--bg-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    padding: 32px;
    box-shadow: var(--shadow-md);
    min-height: 300px;
}

.testimonial-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s;
}

.testimonial-slide.active {
    display: block;
    opacity: 1;
}

.testimonial-slide blockquote {
    font-size: 20px;
    color: var(--text-medium);
    font-style: italic;
    margin-bottom: 32px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-author img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
}

.author-title {
    color: var(--text-light);
}

.testimonial-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border-medium);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: var(--primary);
}

.testimonial-arrows {
    display: flex;
    gap: 16px;
}

.arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-medium);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.arrow:hover {
    background-color: var(--bg-white);
    color: var(--text-dark);
}

/* ===== Team Section ===== */
.team-section {
    background-color: var(--bg-white);
    padding: 96px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.team-member {
    background-color: var(--bg-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: all 0.3s;
}

.team-member:hover {
    box-shadow: var(--shadow-md);
}

.member-image {
    height: 256px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-content {
    padding: 24px;
}

.member-content h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.member-position {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 12px;
}

.member-bio {
    color: var(--text-medium);
    margin-bottom: 16px;
}

.member-social {
    display: flex;
    gap: 12px;
}

.member-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--bg-light);
    color: var(--text-medium);
    transition: all 0.3s;
}

.member-social a:hover {
    background-color: var(--primary-bg);
    color: var(--primary);
}
/* ===== ISO20022 Tools Section ===== */
.iso-tools-section {
    background-color: var(--bg-light);
    padding: 96px 0;
}

.iso-tools-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.iso-tool-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.iso-tool-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.iso-tool-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background-color: var(--primary-bg);
    color: var(--primary);
    font-size: 28px;
    margin-bottom: 24px;
}

.iso-tool-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.iso-tool-card p {
    color: var(--text-medium);
    margin-bottom: 24px;
    font-size: 16px;
}

.iso-tool-demo {
    margin-bottom: 24px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.iso-tool-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.iso-tool-card:hover .iso-tool-image {
    transform: scale(1.02);
}

.iso-tool-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.iso-tool-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 500;
}

.iso-tool-link i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.iso-tool-link:hover i {
    transform: translateX(4px);
}

@media (min-width: 768px) {
    .iso-tool-actions {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}
/* ===== Contact Section ===== */
.contact-section {
    background: linear-gradient(to right, var(--primary), #4f46e5);
    color: var(--text-white);
    padding: 96px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.contact-content h2 {
    font-size: 36px;
    margin-bottom: 24px;
}

.contact-content p {
    font-size: 20px;
    color: #bfdbfe;
    margin-bottom: 32px;
}

.contact-form-container {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: 32px;
}

.contact-form-container h3 {
    font-size: 24px;
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-white);
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* ===== Footer ===== */
.footer {
    background-color: var(--secondary-dark);
    color: var(--text-white);
    padding: 96px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.footer-description {
    color: var(--border-medium);
    margin-bottom: 24px;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--border-medium);
    transition: all 0.3s;
}

.footer-social a:hover {
    background-color: var(--primary);
    color: var(--text-white);
}

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 24px;
}

.footer-links {
    display: grid;
    gap: 16px;
}

.footer-links a {
    color: var(--border-medium);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-contact {
    display: grid;
    gap: 16px;
}

.footer-contact li {
    display: flex;
    gap: 12px;
}

.footer-contact li i {
    color: var(--primary-light);
    margin-top: 4px;
}

.footer-contact a {
    color: var(--border-medium);
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.footer-legal a {
    color: var(--text-light);
    font-size: 14px;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--primary-light);
}

/* ===== Responsive Styles ===== */
@media (min-width: 768px) {
    .logo-text {
        display: block;
    }
    
    .hero-text h1 {
        font-size: 56px;
    }
    
    .hero-buttons {
        flex-direction: row;
    }
    
    .client-logos {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .case-studies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .desktop-nav {
        display: flex;
        align-items: center;
    }
    
    .desktop-only {
        display: block;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-image {
        display: block;
    }
    
    .client-logos {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .case-studies-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}/* ===== ISO 20022 Platform Page Styles ===== */
.platform-demo {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid #334155;
    height: 400px;
    background-color: var(--bg-white);
}

.platform-demo iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.how-it-works {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 48px;
}

.step-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.step-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.step-number {
    position: absolute;
    top: -16px;
    left: 24px;
    width: 32px;
    height: 32px;
    background-color: var(--primary);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.step-card h3 {
    margin-top: 8px;
    margin-bottom: 12px;
    font-size: 20px;
    color: var(--text-dark);
}

.step-card p {
    color: var(--text-medium);
}

.step-arrow {
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 24px;
}

@media (min-width: 768px) {
    .how-it-works {
        grid-template-columns: 1fr 40px 1fr;
    }
    
    .step-arrow {
        display: flex;
    }
}

@media (min-width: 1024px) {
    .how-it-works {
        grid-template-columns: 1fr 40px 1fr 40px 1fr 40px 1fr;
    }
}