:root {
    --primary-color: #00B894; /* Teal green from logo */
    --secondary-color: #0984e3; /* Blue from logo */
    --accent-color: #00CEC9; /* Light turquoise */
    --dark-teal: #00A085; /* Darker teal for hover states */
    --dark-blue: #0770C1; /* Darker blue for hover states */
    --dark-gray: #2d3436;
    --medium-gray: #636e72;
    --light-gray: #f8f9fa;
    --text-color: #2d3436;
    --white: #fff;
    --font-family: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden; /* Clear floats for older layouts, good practice */
}

h1, h2, h3, h4 {
    margin-bottom: 0.8rem;
    color: var(--dark-gray);
    font-weight: 700;
}
h1 { font-size: 2.8rem; line-height: 1.2; color: var(--secondary-color); }
h2 { font-size: 2rem; text-align: center; margin-bottom: 2rem; color: var(--secondary-color); position: relative; padding-bottom: 10px;}
h2::after { /* Red underline accent */
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
}
h3 { font-size: 1.5rem; color: var(--dark-gray); }
h4 { font-size: 1.2rem; color: var(--medium-gray); }


p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

section {
    padding: 60px 0;
}
section:nth-child(even) { /* Alternating background for sections */
    /* background-color: var(--light-gray); */ /* Optional: if you want alternating bg */
}


/* Header */
header {
    background-color: var(--white);
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}
.logo img {
    height: 40px;
    margin-right: 10px;
}
.logo span {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--dark-gray);
}

header nav ul {
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: var(--medium-gray);
    font-weight: 600;
    padding: 5px 10px;
    transition: color 0.3s ease;
}
header nav ul li a.active,
header nav ul li a:hover {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--primary-color);
}

.social-icons span {
    margin-left: 15px;
    font-size: 1.2rem;
    color: var(--medium-gray);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background-color: var(--white); /* Base color, yellow part is in cta-banner */
    padding: 0; /* Remove default section padding */
    position: relative;
    min-height: 50vh; /* Make hero take up significant viewport height */
}
.hero-content-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 60px; /* Space from header */
    padding-bottom: 120px; /* Space for the CTA banner */
}
.hero-text {
    flex-basis: 55%;
}
.hero-text h1 {
    margin-bottom: 1.5rem;
}
.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}
.hero-image {
    flex-basis: 40%;
    text-align: right; /* Or center, depending on image aspect */
}
.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px; /* Optional */
}

.cta-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 30px 0;
    border-radius: 50px; /* This makes the pill shape */
    position: absolute;
    bottom: -40px; /* Overlap a bit */
    left: 50%;
    transform: translateX(-50%);
    width: 80%; /* Adjust as needed */
    max-width: 900px;
    box-shadow: 0 5px 20px rgba(0, 184, 148, 0.3);
    text-align: center;
}

.cta-banner-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.cta-banner h2 {
    color: var(--white);
    font-size: 1.6rem;
    margin: 0;
    padding: 0;

    overflow: hidden;
    border-right: 2px solid var(--white); /* Typewriter cursor */
    white-space: nowrap;
    width: 0;
    animation: typing 4s steps(50, end) forwards, blink-caret 0.75s step-end infinite;
}

.cta-banner h2::after {
    display: none; /* Remove default h2 underline */
}

/* Typewriter animation */
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--white); }
}



/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
}
.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
}
.btn-primary:hover {
    background-color: var(--dark-blue); /* Darker blue */
    transform: translateY(-2px);
}
.btn-secondary {
    background-color: var(--primary-color);
    color: var(--white);
}
.btn-secondary:hover {
    background-color: var(--dark-teal); /* Darker teal */
}
.btn-tertiary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    padding: 10px 20px;
}
.btn-tertiary:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}


/* What Is Section */
.what-is {
    padding-top: 100px; /* Account for overlapping cta-banner */
}
.what-is-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}
.what-is-text {
    flex: 1;
}
.what-is-image-box {
    flex: 1;
    position: relative; /* For overlay */
    background-color: var(--secondary-color); /* Blue background for the box */
    padding: 20px;
    border-radius: 8px;
    color: var(--white);
}
.what-is-image-box img {
    width: 100%;
    border-radius: 6px;
    display: block; /* Removes bottom space */
    margin-bottom: 15px;
}
.what-is-image-box h3 {
    color: var(--white);
    margin-bottom: 10px;
}
.what-is-image-box ul li {
    margin-bottom: 5px;
    font-size: 0.9rem;
}
.what-is-image-box .btn-secondary {
    margin-top: 15px;
    display: inline-block;
    background-color: var(--white); /* White button inside blue box */
    color: var(--secondary-color);
}
.what-is-image-box .btn-secondary:hover {
    background-color: var(--light-gray);
}


/* Key Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}
.feature-item {
    padding: 20px;
    /* border: 1px solid #ddd; Optional border */
    /* border-radius: 8px; */
}
.feature-item .feature-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 0.5rem;
}
.feature-item h3 {
    margin-bottom: 0.5rem;
    color: var(--dark-gray); /* Ensure title is dark */
}

/* Solutions Section */
.solutions .solution-block {
    margin-bottom: 40px;
}
.solutions .solution-block:last-child {
    margin-bottom: 0;
}
.solutions h2 {
    text-align: left; /* Override global h2 center */
    margin-bottom: 1.5rem;
}
.solutions h2::after { /* Adjust underline for left-aligned h2 */
    left: 0;
    transform: translateX(0);
}
.solution-content {
    display: flex;
    gap: 30px;
    align-items: center;
}
.solution-video {
    flex: 1.2; /* Give video a bit more space */
}
.solution-video img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.solution-features {
    flex: 1;
}
.solution-features ul li {
    margin-bottom: 10px;
    font-size: 1.05rem;
    color: var(--medium-gray);
}
.solution-features ul li::before {
    content: '✓ ';
    color: var(--secondary-color);
    font-weight: bold;
    margin-right: 5px;
}

/* Target Audience Section */
.target-audience .section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 30px auto;
    color: var(--medium-gray);
}
.target-audience h3 {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 10px;
    font-size: 1.6rem;
    color: var(--dark-gray);
}
.audience-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.audience-card {
    background-color: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden; /* To make image corners rounded with card */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.audience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.audience-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.audience-card h4 {
    padding: 15px 15px 5px 15px;
    color: var(--secondary-color);
}
.audience-card p {
    padding: 0 15px 15px 15px;
    font-size: 0.9rem;
    color: var(--medium-gray);
}

/* All in One Section */
.all-in-one {
    background-color: var(--light-gray);
    text-align: center;
}
.all-in-one .all-in-one-logo {
    max-width: 120px; /* Adjust as needed */
    margin-bottom: 1.5rem;
}
.all-in-one h2 {
    color: var(--secondary-color); /* Match original title color */
}
.all-in-one p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--medium-gray);
}

/* Partners Section */
.partners { text-align: center; }
.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}
.partner-logos img {
    max-height: 50px; /* Control logo height */
    filter: grayscale(100%); /* Make them grayscale */
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}
.partner-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Blog Section */
.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.blog-post {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden; /* For image */
}
.blog-post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.blog-content {
    padding: 20px;
}
.blog-content .category {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.blog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}
.blog-content p {
    font-size: 0.95rem;
    color: var(--medium-gray);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: var(--dark-gray);
    color: #ccc;
    padding-top: 40px;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--medium-gray);
}
.footer-col h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.footer-col ul li {
    margin-bottom: 0.5rem;
}
.footer-col ul li a,
.footer-col p,
.footer-col p a {
    color: #bbb;
    font-size: 0.9rem;
}
.footer-col ul li a:hover {
    color: var(--primary-color);
}
.social-media-links a {
    font-size: 1.5rem; /* Adjust if using real icons */
    margin-right: 15px;
    color: #bbb;
}
.social-media-links a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
    color: #aaa;
}


/* Basic Responsiveness */
@media (max-width: 992px) {
    .hero-content-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-text {
        margin-bottom: 30px;
    }
    .hero-image {
        text-align: center;
    }
    .cta-banner {
        width: 90%;
        position: relative; /* Stack below hero on smaller screens */
        bottom: auto;
        left: auto;
        transform: none;
        margin: 30px auto 0 auto; /* Add margin if it's no longer overlapping */
    }
    .cta-banner-content {
        flex-direction: column;
    }
    .cta-banner h2 {
        margin-bottom: 15px;
    }
    .what-is {
        padding-top: 60px; /* Reset padding if cta-banner is not overlapping */
    }
    .what-is-content {
        flex-direction: column;
    }
    .solution-content {
        flex-direction: column;
    }
    .solution-video {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }

    .nav-container {
        flex-direction: column;
    }
    header nav ul {
        margin-top: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    header nav ul li {
        margin: 5px 10px;
    }
    .social-icons {
        margin-top: 10px;
    }

    .features-grid,
    .audience-cards,
    .blog-posts,
    .footer-content {
        grid-template-columns: 1fr; /* Stack items */
    }
    .partner-logos img {
        max-height: 40px;
    }
}

@media (max-width: 480px) {
    .logo span { font-size: 1.2rem; }
    header nav ul li a { font-size: 0.9rem; }
    .btn { padding: 10px 20px; font-size: 0.9rem;}
}

/* Solutions Page Specific Styles */
.solutions-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: 60px 0;
    margin-bottom: 40px;
}

.solutions-hero h1,
.solutions-hero p {
    color: var(--white);
}

.solution-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    overflow: hidden; /* Ensure animations don't cause horizontal scrolling */
}

.solution-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: slideInFromLeft 0.8s ease-out forwards;
    animation-play-state: paused; /* Initially paused, controlled by JS */
    opacity: 0;
    will-change: transform, opacity; /* Optimize animations */
}

.solution-card:hover {
    transform: translateY(-5px) translateX(0) !important; /* Override animation transform */
    box-shadow: 0 6px 20px rgba(0, 184, 148, 0.2);
}

.solution-card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 0; 
    text-align: center;
    position: relative;
    height: 250px; 
    overflow: hidden;
}

.solution-card-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
	border-radius: 4px; 
}

.solution-card-header h3 {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    margin: 0 auto;
    color: white;
    background-color: rgba(0,0,0,0.4); /* Başlık okunabilir olsun diye */
    padding: 5px 10px;
    max-width: 90%;
    border-radius: 4px;
}

.solution-card-content {
    padding: 25px;
}

.solution-card-content ul {
    margin-bottom: 20px;
}

.solution-card-content ul li {
    margin-bottom: 12px;
    color: var(--medium-gray);
    font-size: 0.95rem;
}

.features-highlight {
    background-color: var(--light-gray);
    padding: 80px 0;
    margin: 60px 0;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-box {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.feature-box p {
    color: var(--medium-gray);
    font-size: 0.95rem;
    margin: 0;
}

.case-studies {
    padding: 80px 0;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.case-study {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.case-study img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-study h3 {
    padding: 20px 20px 10px;
    color: var(--secondary-color);
}

.case-study p {
    padding: 0 20px;
    color: var(--medium-gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.case-study .btn {
    margin: 0 20px 20px;
}

.contact-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
    margin-top: 40px;
}

.contact-cta h2,
.contact-cta p {
    color: var(--white);
}

.contact-cta p {
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-cta .btn-tertiary {
    border-color: var(--white);
    color: var(--white);
}

.contact-cta .btn-tertiary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Responsive adjustments for solutions page */
@media (max-width: 768px) {
    .solution-cards,
    .features-container,
    .case-studies-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-card,
    .feature-box,
    .case-study {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .contact-cta {
        padding: 40px 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

html {
    scroll-behavior: smooth;
}

/* Features Section */
.features {
    background-color: var(--light-gray);
    padding: 80px 0;
}

.features .section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    color: var(--medium-gray);
}

.features-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-block {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    display: flex;
    gap: 20px;
}

.feature-block:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary-color);
    background: var(--light-gray);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-content h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.feature-content ul li {
    color: var(--medium-gray);
    font-size: 0.95rem;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.feature-content ul li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

@media (max-width: 768px) {
    .features-wrapper {
        grid-template-columns: 1fr;
    }
    
    .feature-block {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Animation Keyframes */
@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%) translateY(0);
        opacity: 0;
    }
    100% {
        transform: translateX(0) translateY(0);
        opacity: 1;
    }
}

/* Add staggered delay for each card */
.solution-card:nth-child(1) {
    animation-delay: 0.2s;
}

.solution-card:nth-child(2) {
    animation-delay: 0.4s;
}

.solution-card:nth-child(3) {
    animation-delay: 0.6s;
}