/* Synesis International - Main Stylesheet */
/* Brand Colors: Primary Orange #FF9900, Dark Gray #545454, Teal #3B5C6E */

/* Lato Font (self-hosted) */
@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-ThinItalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-Semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-SemiboldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-Heavy.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-HeavyItalic.ttf') format('truetype');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

/* CSS Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors */
    --primary-orange: #FF9900;
    --primary-orange-hover: #e68a00;
    --dark-gray: #545454;
    --light-gray: #F7F7F7;
    --teal: #3B5C6E;

    /* Secondary Colors */
    --blue: #0964DB;
    --green: #ADE65B;
    --maroon: #622938;
    --black: #000000;

    /* Text Colors */
    --text-color: #545454;
    --text-light: #666666;
    --text-dark: #333333;

    /* Background Colors */
    --background: #ffffff;
    --background-alt: #F7F7F7;
    --border-color: #e2e8f0;
    --white: #ffffff;

    /* Typography */
    --font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background);
}

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

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

ul {
    list-style: none;
}

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

/* Global Heading Styles */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-color);
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 69px;
}

h2 {
    font-size: 47px;
}

h3 {
    font-size: 1.625rem;
}

h4 {
    font-size: 1.325rem;
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1.025rem;
}

/* Top Bar */
.top-bar {
    background: var(--white);
    padding: 8px 0;
    font-size: 16px;
    border-bottom: 1px solid #eee;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left a {
    color: var(--dark-gray);
    margin-right: 20px;
}

.top-bar-left a:hover {
    color: var(--primary-orange);
}

.social-icons a {
    color: var(--dark-gray);
    margin-left: 15px;
    font-size: 18px;
}

.social-icons a:hover {
    color: var(--primary-orange);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-orange);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-orange);
}

.btn-secondary {
    background-color: var(--primary-orange);
    color: var(--white);
    border: 2px solid var(--primary-orange);
}

.btn-secondary:hover {
    background-color: var(--primary-orange-hover);
    border-color: var(--primary-orange-hover);
    color: var(--white);
}

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 110px;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    max-height: 98px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links > li {
    position: relative;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 22px;
    padding: 10px 0;
    display: block;
}

.nav-links a:hover {
    color: var(--primary-orange);
}

.nav-links a.active {
    color: #0056b3;
    font-weight: 700;
}

/* Dropdown Menu */
.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-top: 3px solid var(--primary-orange);
    z-index: 100;
}

.nav-links > li:hover .dropdown {
    display: block;
}

.dropdown li a {
    padding: 12px 20px;
    font-size: 20px;
    border-bottom: 1px solid #eee;
}

.dropdown li:last-child a {
    border-bottom: none;
}

.dropdown li a:hover {
    background: var(--background-alt);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 140px 0;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: -1;
}

.hero .container {
    position: relative;
    z-index: 1;
}

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

.hero .tagline {
    font-size: 28px;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 69px;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--white);
}

.hero p {
    font-size: 1.375rem;
    margin-bottom: 35px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Page Header */
.page-header {
    position: relative;
    padding: 120px 0 60px;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.page-header-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

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

.page-header h1 {
    font-size: 69px;
    margin-bottom: 15px;
    color: var(--white);
}

.page-header p {
    font-size: 1.225rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    padding: 20px 0;
    text-align: center;
}

.about-section p {
    max-width: 900px;
    margin: 0 auto 20px;
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-color);
    text-align: justify;
}

.about-section a {
    color: var(--primary-orange);
}

.about-section a:hover {
    text-decoration: underline;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 47px;
    margin-bottom: 25px;
    color: var(--text-color);
    font-weight: 700;
}

/* Services Grid */
.services-section {
    padding: 20px 0 30px;
    background: var(--white);
}
.services-section.bg-light {
    background: var(--background-alt);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Scroll-triggered slide-up animation (progressive enhancement) */
/* Cards are visible by default; JS adds .will-animate to enable animation */
.service-card.will-animate,
.feature-item.will-animate,
.industry-card.will-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.3s ease;
}
.service-card.fade-in,
.feature-item.fade-in,
.industry-card.fade-in {
    opacity: 1;
    transform: translateY(0);
}
/* Staggered delays for cards in the same row */
.service-card.will-animate:nth-child(2),
.feature-item.will-animate:nth-child(2),
.industry-card.will-animate:nth-child(2) { transition-delay: 0.15s; }
.service-card.will-animate:nth-child(3),
.feature-item.will-animate:nth-child(3),
.industry-card.will-animate:nth-child(3) { transition-delay: 0.3s; }
.industry-card.will-animate:nth-child(4) { transition-delay: 0.45s; }

/* Section-level slide-up animation */
.section-title.will-animate,
.about-section p.will-animate,
.cta-section h2.will-animate,
.cta-section .btn.will-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.section-title.fade-in,
.about-section p.fade-in,
.cta-section h2.fade-in,
.cta-section .btn.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Card Icon */
.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.card-icon svg {
    width: 52px;
    height: 52px;
    fill: var(--primary-orange);
}
.card-icon img.partner-logo {
    max-width: 140px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.service-card {
    background: #D9DADF;
    border: 1px solid #c8c9ce;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.14);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.service-card-content {
    padding: 35px 30px;
    text-align: center;
}

.service-card h3 {
    font-size: 1.375rem;
    margin-bottom: 10px;
    color: var(--dark-gray);
    font-weight: 700;
}

.service-card .subtitle {
    color: var(--primary-orange);
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 16px;
    font-weight: 600;
    text-transform: uppercase;
}

.service-card p:not(.subtitle) {
    color: var(--text-light);
    font-size: 17px;
    line-height: 1.7;
    text-align: left;
}

/* Content Section */
.content-section {
    padding: 20px 0;
}

.content-section.bg-light {
    background: var(--background-alt);
}

.content-section h2 {
    font-size: 47px;
    margin-bottom: 20px;
    color: var(--text-color);
    text-align: center;
}

.content-section p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}

.content-section ul {
    margin: 20px auto;
    padding-left: 24px;
    list-style: disc;
    max-width: 900px;
}

.content-section ul li {
    margin-bottom: 10px;
    color: var(--text-light);
    list-style-type: disc;
    display: list-item;
}

/* SAP Wheel Diagram */
.sap-wheel-section {
    padding: 0 0 10px;
    background: var(--white);
}

.sap-wheel-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sap-wheel-img {
    max-width: 900px;
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .sap-wheel-img {
        max-width: 100%;
    }
    .sap-wheel-section {
        padding: 0;
    }
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 25px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    text-align: center;
    padding: 18px 15px;
    background: #D9DADF;
    border: 1px solid #c8c9ce;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.feature-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.14);
}

/* Linked Feature Items (blog hyperlinks) */
a.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: var(--primary-orange);
    border: 2px solid var(--primary-orange);
    border-radius: 6px;
    cursor: pointer;
}

a.feature-item h4 {
    color: var(--white);
    font-weight: 700;
    font-size: 0.975rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: font-size 0.3s ease;
    margin: 0;
}

a.feature-item:hover {
    background-color: var(--primary-orange-hover);
    border-color: var(--primary-orange-hover);
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(255, 153, 0, 0.35);
}

a.feature-item:hover h4 {
    font-size: 1.125rem;
}

.feature-item h3 {
    color: var(--dark-gray);
    margin-bottom: 15px;
    font-size: 1.375rem;
    font-weight: 700;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 17px;
    text-align: left;
}

/* Industries Grid */
.industries-section {
    padding: 20px 0 30px;
    background: var(--background-alt);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.industry-card {
    background: #D9DADF;
    border: 1px solid #c8c9ce;
    padding: 35px 28px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.industry-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.14);
    transform: translateY(-6px);
}

.industry-card h3 {
    color: var(--primary-orange);
    margin-bottom: 15px;
    font-size: 1.225rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.industry-card p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
}

/* CTA Section */
.cta-section {
    padding: 30px 0;
    background: linear-gradient(135deg, var(--dark-gray) 0%, #1a1a1a 100%);
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    font-size: 47px;
    margin-bottom: 15px;
    color: var(--white);
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 1.925rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
    text-align: justify;
}

.contact-details {
    margin-top: 30px;
}

.contact-details p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form {
    background-color: var(--background-alt);
    padding: 40px;
    border-radius: 8px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1.125rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-orange);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Footer */
footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 30px;
}

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

.footer-col h4 {
    color: var(--primary-orange);
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-col p {
    color: #ccc;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ccc;
    font-size: 16px;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary-orange);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 30px;
    text-align: center;
    color: #888;
    font-size: 16px;
}

.footer-bottom a {
    color: var(--primary-orange);
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.two-column img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.two-column.reverse {
    direction: rtl;
}

.two-column.reverse > * {
    direction: ltr;
}

/* Social Icon SVGs */
.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--background-alt);
    transition: background 0.3s, color 0.3s;
    font-size: 0;
}
.social-icons a:hover {
    background: var(--primary-orange);
}
.social-icons a svg {
    width: 16px;
    height: 16px;
    fill: var(--dark-gray);
    transition: fill 0.3s;
}
.social-icons a:hover svg {
    fill: var(--white);
}

/* Form Validation Styles */
.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: #dc3545;
    background-color: #fff5f5;
}
.form-group .error-message {
    color: #dc3545;
    font-size: 15px;
    margin-top: 4px;
    display: none;
}
.form-group input.error ~ .error-message,
.form-group textarea.error ~ .error-message {
    display: block;
}
.form-group input.valid {
    border-color: #28a745;
}
.form-success {
    background: #d4edda;
    color: #155724;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    display: none;
    margin-top: 20px;
}
.form-success.show {
    display: block;
}
.btn:disabled,
.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}
.btn .spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Honeypot - hidden from humans */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

/* Skip to Content (Accessibility) */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--primary-orange);
    color: var(--white);
    padding: 10px 20px;
    z-index: 9999;
    font-weight: 600;
    transition: top 0.3s;
}
.skip-link:focus {
    top: 0;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--primary-orange);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: opacity 0.3s, transform 0.3s;
    z-index: 999;
}
.back-to-top.visible {
    display: flex;
}
.back-to-top:hover {
    transform: translateY(-2px);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-orange { color: var(--primary-orange); }
.bg-light { background: var(--background-alt); }
.mb-0 { margin-bottom: 0; }
.mt-30 { margin-top: 30px; }
.mb-30 { margin-bottom: 30px; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* Blog Styles */
.blog-intro {
    font-size: 1.225rem;
    max-width: 800px;
    text-align: justify;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: #D9DADF;
    border: 1px solid #c8c9ce;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.blog-card-content {
    padding: 30px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 16px;
    color: var(--text-light);
}

.blog-date {
    color: var(--primary-orange);
    font-weight: 500;
}

.blog-read-time {
    color: var(--text-light);
}

.blog-card h3 {
    font-size: 1.325rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card h3 a {
    color: var(--dark-gray);
    transition: color 0.3s;
}

.blog-card h3 a:hover {
    color: var(--primary-orange);
}

.blog-card p {
    color: var(--text-light);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 15px;
    text-align: left;
}

.blog-read-more {
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-read-more:hover {
    text-decoration: underline;
}

/* Blog Post Page */
.blog-post-header {
    background: var(--dark-gray);
    padding: 60px 0 50px;
    color: var(--white);
}

/* Blog Navigation Buttons (replaces back-link) */
.blog-nav-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.blog-nav-buttons .btn {
    padding: 10px 24px;
    font-size: 15px;
    letter-spacing: 0.8px;
}

.blog-back-link {
    display: inline-block;
    color: var(--primary-orange);
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 500;
}

.blog-back-link:hover {
    text-decoration: underline;
}

.blog-post-header h1 {
    font-size: 2.525rem;
    color: var(--white);
    margin-bottom: 15px;
    max-width: 800px;
}

.blog-post-meta {
    display: flex;
    gap: 20px;
    font-size: 17px;
}

.blog-post-content {
    padding: 60px 0;
    padding-top: 50px;
}

.blog-post-content .container {
    max-width: 800px;
}

.blog-post-content > .container > p:first-child {
    margin-top: 10px;
}

.blog-post-content p {
    color: var(--text-color);
    font-size: 19px;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: justify;
}

.blog-post-content h2 {
    font-size: 1.725rem;
    margin: 40px 0 20px;
    color: var(--dark-gray);
}

.blog-post-content h3 {
    font-size: 1.425rem;
    margin: 30px 0 15px;
    color: var(--dark-gray);
}

.blog-post-content ul {
    margin: 20px 0 30px 0;
    padding-left: 28px;
    list-style: disc;
}

.blog-post-content ul li {
    color: var(--text-color);
    font-size: 19px;
    line-height: 1.8;
    margin-bottom: 12px;
    list-style-type: disc;
    padding-left: 6px;
    display: list-item;
}

.blog-post-content ul li::marker {
    color: var(--primary-orange);
    font-size: 1.225em;
}

.blog-post-content ul li strong {
    color: var(--dark-gray);
}

.blog-post-footer {
    padding: 60px 0;
    background: var(--background-alt);
}

.blog-cta-box {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    max-width: 600px;
    margin: 0 auto;
}

.blog-cta-box h3 {
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.blog-cta-box p {
    color: var(--text-light);
    margin-bottom: 25px;
}

/* Blog Showcase Section */
.blog-showcase {
    padding: 70px 0 60px;
    background: var(--white);
}

.blog-showcase-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.blog-showcase-headline {
    font-size: 2.325rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--dark-gray);
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.blog-showcase-sub {
    font-size: 1.275rem;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: justify;
}

.blog-topic-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.blog-topic-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--light-gray);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-gray);
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.blog-topic-tag:hover {
    background: var(--primary-orange);
    color: var(--white);
    border-color: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 153, 0, 0.3);
}

.blog-topic-icon {
    font-size: 10px;
    color: var(--primary-orange);
    transition: color 0.3s;
}

.blog-topic-tag:hover .blog-topic-icon {
    color: var(--white);
}

/* Blog Articles Section */
.blog-articles-section {
    padding: 70px 0 80px;
    background: var(--background-alt);
}

.blog-articles-heading {
    font-size: 1.725rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    position: relative;
}

.blog-articles-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-orange);
    margin: 14px auto 0;
    border-radius: 2px;
}

.blog-grid-v2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.blog-card-v2 {
    background: #D9DADF;
    border: 1px solid #c8c9ce;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
}

.blog-card-v2:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-card-v2-accent {
    width: 5px;
    min-height: 100%;
    background: var(--primary-orange);
    flex-shrink: 0;
}

.blog-card-v2-content {
    padding: 28px 30px;
    flex: 1;
}

.blog-category-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 14px;
}

.blog-cat-sap {
    background: rgba(59, 92, 110, 0.1);
    color: var(--teal);
}

.blog-cat-microsoft {
    background: rgba(9, 100, 219, 0.1);
    color: var(--blue);
}

.blog-cat-quality {
    background: rgba(255, 153, 0, 0.1);
    color: var(--primary-orange-hover);
}

.blog-cat-ai {
    background: rgba(98, 41, 56, 0.1);
    color: var(--maroon);
}

.blog-cat-it {
    background: rgba(84, 84, 84, 0.1);
    color: var(--dark-gray);
}

/* Blog Tabs */
.blog-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
}

.blog-tab {
    padding: 14px 40px;
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    border: 2px solid var(--primary-orange);
    background: transparent;
    color: var(--primary-orange);
    transition: all 0.3s ease;
    font-family: var(--font-family);
}

.blog-tab:first-child {
    border-radius: 6px 0 0 6px;
}

.blog-tab:last-child {
    border-radius: 0 6px 6px 0;
    border-left: none;
}

.blog-tab.active {
    background: var(--primary-orange);
    color: var(--white);
}

.blog-tab:hover:not(.active) {
    background: rgba(255, 153, 0, 0.1);
}

.blog-tab-content {
    display: none;
}

.blog-tab-content.active {
    display: block;
}

.blog-card-v2 h3 {
    font-size: 1.325rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card-v2 h3 a {
    color: var(--dark-gray);
    transition: color 0.3s;
}

.blog-card-v2 h3 a:hover {
    color: var(--primary-orange);
}

.blog-card-v2 p {
    color: var(--text-light);
    font-size: 16.5px;
    line-height: 1.7;
    margin-bottom: 16px;
    text-align: left;
}

/* Responsive Design */
@media (max-width: 992px) {
    .services-grid,
    .features-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .blog-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .two-column {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links > li {
        border-bottom: 1px solid #eee;
    }
    .nav-links a {
        padding: 15px 0;
    }
    .dropdown {
        position: static;
        box-shadow: none;
        border-top: none;
        padding-left: 20px;
        display: none;
    }
    .nav-links > li:hover .dropdown,
    .nav-links > li.active .dropdown {
        display: block;
    }
    .mobile-menu-btn {
        display: flex;
    }
    .hero h1 {
        font-size: 40px;
    }
    .hero p {
        font-size: 1.125rem;
    }
    .section-title {
        font-size: 32px;
    }
    .services-grid,
    .features-grid,
    .industries-grid,
    .blog-grid,
    .blog-grid-v2 {
        grid-template-columns: 1fr;
    }
    .blog-showcase-headline {
        font-size: 1.725rem;
    }
    .blog-showcase-sub {
        font-size: 1.125rem;
    }
    .blog-showcase {
        padding: 50px 0 40px;
    }
    .blog-topic-tags {
        gap: 8px;
    }
    .blog-topic-tag {
        padding: 8px 14px;
        font-size: 15px;
    }
    .blog-tab {
        padding: 12px 24px;
        font-size: 0.975rem;
        letter-spacing: 1px;
    }
    .blog-nav-buttons {
        flex-direction: column;
        gap: 8px;
    }
    .blog-nav-buttons .btn {
        text-align: center;
        width: 100%;
    }
    .blog-post-header h1 {
        font-size: 1.925rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .top-bar {
        display: none;
    }
    .page-header {
        padding: 100px 0 40px;
    }
    .page-header h1 {
        font-size: 40px;
    }
}
