:root {
    --color-bg: #2B2A28;
    --color-text: #F3F3F3;
    --color-accent: #C58940;
    --color-secondary: #5D5C5A;
    --color-card: #252525;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Roboto Slab', serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 3rem;
    margin-top: 1rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #F5F2E8;
}

.container {
    width: 100%;
    /* max-width: 1200px; */
    margin: 0 auto;
    /* margin: auto 0; */

    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-bg);
    border: none;
}

.btn-primary:hover {
    background-color: #C19B2C;
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-secondary);
    margin-left: 12px;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--color-text);
}

/* Header */
.header {
    padding: 15px 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(5px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Roboto Slab', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text);
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.logo-container img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--color-text);
    font-weight: 600;
}

.nav-links a:hover {
    color: var(--color-accent);
}

/* Hero Section */
.hero {
    min-height: 400px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background-image: url('../images/hero.png');
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(43, 42, 40, 0.85) 20%, rgba(43, 42, 40, 0.1) 80%);
    z-index: 1;
}

.hero {
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
}

h1 {
    line-height: 1.4;
}

.lead {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(243, 243, 243, 0.9);
}

.hero-cta {
    display: flex;
    margin-top: 30px;
}

/* Customers Section */
.customers {
    padding: 2rem 0;
    background-color: var(--color-card);
}

.customers-scroller {
    width: 100%;
    margin: 2rem 0 1rem;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, white 10%, white 90%, transparent);
}

.customers-slide-track {
    display: flex;
    width: calc(200px * 16);
    animation: scroll 40s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-200px * 8)); }
}

.customers-slide {
    width: 200px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column; 
    gap: 10px;
}

.customers-slide img {
    height: 60px;
    width: auto;
    max-width: 140px;
    margin: 5px 0;
    border: 1px solid var(--color-secondary);
    border-radius: 6px;
    transition: all 0.3s ease; 
}

.customers-slide:hover img {
    transform: translateY(-4px);
    border-color: var(--color-accent);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Product Section */
.products {
    padding: 2rem 0;
    position: relative;
}

.section-header {
    text-align: center;
}

.section-header p {
    color: var(--color-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features {
    padding: 2rem 0;
    background-color: var(--color-card);
}

.feature-card {
    background-color: var(--color-bg);
    border: 1px solid var(--color-secondary);
    border-radius: 6px;
    padding: 30px 30px 0px;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-card h3 {
    color: var(--color-accent);
    margin-bottom: 15px;
}

.product-card {
    background-color: var(--color-card);
    border: 1px solid var(--color-secondary);
    border-radius: 6px;
    padding: 1rem;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
    width: auto;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--color-accent);
}

.product-card-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
}

.product-card-content {
    padding: 30px 30px 0px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card h3 {
    margin-bottom: 15px;
    color: var(--color-accent);
}

.product-card p {
    margin-bottom: 20px;
    color: var(--color-text);
    flex-grow: 1;
}

a.product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

a.product-card-link:hover .product-card {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--color-accent);
}

.learn-more-link {
    color: var(--color-accent);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    font-size: 1.5rem;
}

.learn-more-link::after {
    content: "→";
    margin-left: 5px;
    transition: transform 0.3s ease;
}

a.product-card-link:hover .learn-more-link::after {
    transform: translateX(6px);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}

.mobile-menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--color-text);
    transition: all 0.3s ease;
}

/* Swiper Carousel Styles */
.products-carousel {
    padding: 20px 0 60px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.swiper-slide {
    height: auto;
    padding: 10px;
}

.swiper-button-prev,
.swiper-button-next {
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    background-color: rgba(43, 42, 40, 0.7);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    top: 55%; 
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background-color: var(--color-accent);
    color: var(--color-bg);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 20px;
    font-weight: bold;
}

.swiper-pagination-bullet {
    background: var(--color-secondary);
    opacity: 1;
    position: relative;
}

.swiper-pagination-bullet-active {
    background: var(--color-accent);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--color-bg);
        flex-direction: column;
        align-items: center;
        padding: 70px 20px 20px;
        transition: right 0.3s ease;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin-left: 0;
        padding: 20px 0;
        border-top: 2px solid var(--color-secondary);
        width: 100%;
    }
    
    .mobile-menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    .customers-slide {
        width: 150px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
    }
    
    .btn-outline {
        margin-left: 0;
        margin-top: 15px;
    }
}

@media (max-width: 920px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.5rem;
    }
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--color-card);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.trust-badges img {
    filter: grayscale(100%) brightness(0.7);
    transition: filter 0.3s ease;
}

.trust-badges img:hover {
    filter: grayscale(0%) brightness(1);
}

/* CTA Section */
.cta {
    padding: 2rem 0 4rem;
    text-align: center;
}

.cta-visual {
    padding: 0 0 4rem;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    margin-bottom: 20px;
}

.cta p {
    margin-bottom: 30px;
}

/* --- Footer --- */
.footer {
    padding: 2rem 0 0.5rem;
    background-color: var(--color-card);
    border-top: 1px solid var(--color-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
}

.footer-brand-info{
    text-align: center;
}

.footer-column .logo {
    font-size: 2rem;
    margin-bottom: 10px;
}

.footer-column p {
    color: var(--color-secondary);
    font-size: 0.9rem;
}

.footer-copyright p {
    font-size: 0.8rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--color-secondary);
    width: fit-content;
}

.footer-column ul {
    list-style: none;
}

.footer-column h4 {
    margin-bottom: 15px;
    color: var(--color-accent);
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--color-text);
}

.footer-column a:hover {
    color: var(--color-accent);
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.3rem;
    }

    h2 {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .footer-column.footer-brand-info {
        grid-column: 1 / -1;
        margin-bottom: 0.5rem;
    }

    .footer-copyright p {
        padding: 0.5rem;
        margin-bottom: 0;
    }
}

.hero.hero-b2b2c {
    background-image: url('../images/IAM_Solution.png');
}

.hero.hero-visual {
    background-image: url('../images/Journey_Builder.png');
}

.hero.hero-chatbot {
    background-image: url('../images/B2C_Chatbot.png');
    background-position: right center;
}

.hero.hero-app-proxy {
    background-image: url('../images/Legacy_App_Proxy.png');
    background-position: center center;
}

.hero.hero-chatbot h3{
    margin-top: 1.5rem;
}

.hero.hero-simple {
    background-image: url('../images/case_studies.png');
    min-height: 300px;

}

/* --- Case Study Page --- */
.case-study-listing {
    padding: 3rem 0;
}

.case-study-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.case-study-item {
    display: block;
    background-color: var(--color-card);
    border: 1px solid var(--color-secondary);
    border-radius: 6px;
    padding: 2.5rem;
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.3s ease;
}

.case-study-item:hover {
    border-color: var(--color-accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.case-study-item h3 {
    color: var(--color-accent);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.case-study-item p {
    color: var(--color-text);
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.case-study-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.case-study-tags .tag {
    display: inline-block;
    background-color: rgba(197, 137, 64, 0.15);
    color: var(--color-accent);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.read-more-link {
    color: var(--color-accent);
    font-weight: 600;
    font-family: 'Roboto Slab', serif;
}

/* --- About Us Page --- */
.about-page-content {
    padding: 3rem 0;
}

.about-content-block {
    background-color: var(--color-card);
    border: 1px solid var(--color-secondary);
    border-radius: 6px;
    padding: 1.5rem;
    max-width: 900px;
    margin: 0 auto 2rem auto;
}

.about-content-block h2 {
    color: var(--color-accent);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.about-content-block p {
    color: var(--color-text);
    opacity: 0.9;
    margin-bottom: 1.5rem;
}