:root {
    --primary: #3E3AA8;
    --secondary: #1E2A78;
    --accent: #5A4BFF;
    --dark: #0F172A;
    --text: #111827;
    --gray: #6b7280;
    --bg: #ffffff;
    --card: #ffffff;
}

/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

/* CONTAINER */

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* HEADER */

header {
    background: white;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo img {
    height: 150px;
}

/* NAV MENU */

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
}

/*
.nav-menu a{
text-decoration:none;
color:var(--text);
font-weight:500;
transition:.3s;
}
*/
.nav-menu a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: .3s;
    position: relative;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

/* hover animasyonu */

.nav-menu a:hover::after {
    width: 100%;
}

/* aktif sayfa */

.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--primary);
}

/* MOBILE MENU */

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* HERO SECTION */

.hero {
    background: #f5f7fb;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider {
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-content: center;
    gap: 80px;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 500px;
    width: 100%;
}

@keyframes float {
    0% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-10px)
    }

    100% {
        transform: translateY(0)
    }
}

.hero-text h1 {
    min-height: 110px;
}

.hero-text p {

    font-size: 18px;
    color: #6b7280;
    margin-bottom: 30px;

}

.slide {
    min-height: 520px;
    display: flex;
    align-items: center;
}


.hero h1 {
    color: #1e293b;
}

.hero p {
    color: #475569;
}

.hero-slider {
    position: relative;
    min-height: 450px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity .6s ease;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
}

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.dot {
    width: 10px;
    height: 10px;
    background: #cbd5e1;
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: #6366f1;
}

.hero-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 5;
}

.arrow {
    width: 42px;
    height: 42px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    font-size: 18px;
    pointer-events: auto;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: .3s;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

@media (max-width: 768px) {

    .hero {
        min-height: 500px;
        display: flex;
        align-items: center;
    }

    .hero-slider {
        height: auto;
    }

    .slide {
        min-height: 500px;
        display: flex;
        align-items: center;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        justify-items: center;
    }

    .hero-image img {
        max-width: 320px;
        height: 220px;
        object-fit: contain;
    }

    .hero-text {
        margin: 0 auto;
        order: 2;
    }

    .hero-image img {
        max-width: 320px;
    }

    .hero-arrows {
        display: none;
    }

    .hero-buttons {
        display: flex;
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
    }

}

/* BUTTON */

.btn {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    display: inline-block;
    transition: .3s;
}

.btn:hover {
    opacity: .9;
}

/* SERVICES */

.services {
    padding: 80px 0;
    text-align: center;
}

.services h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

/* .service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.card {

    background: var(--card);
    padding: 25px;
    border-radius: 10px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);

    transition: .3s;

} */

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 15px;
}

.card h3 {
    margin-bottom: 10px;
}

.card p {
    color: var(--gray);
}

.card:hover {
    transform: translateY(-6px);
}

/* CTA */

.cta {

    background: #f3f4f6;

    padding: 70px;

    text-align: center;

}

.cta h2 {
    margin-bottom: 20px;
}

/* FOOTER */

footer {

    /*background:#020617;*/
    background: white;
    color: black;

    padding-top: 60px;

}

.footer-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 40px;

}

.footer-logo {

    height: 175px;
    margin-bottom: 15px;

}

.footer-col h4 {

    margin-bottom: 15px;

}

.footer-col ul {

    list-style: none;

}

.footer-col ul li {

    margin-bottom: 10px;

}

.footer-col ul li a {

    /*color:#d1d5db;*/
    color: black;
    text-decoration: none;

}

.footer-col ul li a:hover {
    color: var(--primary);
}

.footer-bottom {

    text-align: center;

    padding: 25px;

    border-top: 1px solid #1f2937;

    margin-top: 40px;

}

/* MOBILE */

@media(max-width:768px) {

    .footer-grid {

        grid-template-columns: 1fr;

        text-align: center;

    }

}

@media(max-width:768px) {

    .nav-menu {

        display: none;

        flex-direction: column;

        background: white;

        position: absolute;

        top: 70px;
        right: 20px;

        padding: 20px;

        border-radius: 8px;

        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);

    }

    .menu-toggle {
        display: block;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero {
        height: auto;
        padding: 80px 20px;
    }

}

/* WHY REDEX */

.why {

    padding: 80px 0;

    text-align: center;

    background: #f9fafb;

}

.why h2 {

    font-size: 32px;

    margin-bottom: 10px;

}

.section-desc {

    max-width: 600px;

    margin: auto;

    color: #6b7280;

    margin-bottom: 40px;

}

.why-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 30px;

}

.why-card {

    background: white;

    padding: 30px;

    border-radius: 10px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);

    transition: .3s;

}

.why-card:hover {

    transform: translateY(-6px);

}

.why-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: var(--primary);
}

.why-card h3 {

    margin-bottom: 10px;

}

.why-card p {

    color: #6b7280;

    font-size: 14px;

}

@media(max-width:768px) {

    .why-grid {

        grid-template-columns: 1fr;

    }

}

.references {

    padding: 80px 0;
    text-align: center;

}

.logo-slider {

    overflow: hidden;
    margin-top: 50px;

    display: flex;
    flex-direction: column;
    gap: 40px;

}

.logo-track {

    display: flex;
    gap: 60px;
    align-items: center;
    white-space: nowrap;

}

.logo-track img {

    height: 50px;
    width: auto;

    filter: grayscale(100%);
    opacity: .7;

    transition: .3s;

}

.logo-track img:hover {

    filter: none;
    opacity: 1;

}

/* animasyon */

.track1 {
    animation: scroll-left 40s linear infinite;
}

.track2 {
    animation: scroll-right 45s linear infinite;
}

.track3 {
    animation: scroll-left 50s linear infinite;
}

@keyframes scroll-left {

    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

}

@keyframes scroll-right {

    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }

}

/* ANIMASYON */

@keyframes scroll-left {

    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

}

@keyframes scroll-right {

    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }

}

/* ANIMATION */

@keyframes scroll {

    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

}

/* CTA CONTACT */

.cta-contact {

    background: #111827;
    color: white;

    padding: 80px 0;

}

.cta-grid {

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;

}

.cta-text h2 {

    font-size: 36px;
    margin-bottom: 20px;

}

.cta-text p {

    color: #d1d5db;
    margin-bottom: 25px;

}

.cta-info {

    display: grid;
    gap: 20px;

}

.cta-item {

    background: #1f2937;

    padding: 20px;

    border-radius: 8px;

}

@media(max-width:768px) {

    .cta-grid {

        grid-template-columns: 1fr;

    }

}

.page-hero {

    background: #f5f5f5;

    padding: 80px 0;

    text-align: center;

}

.page-hero h1 {

    font-size: 40px;

    margin-bottom: 10px;

}

.service-icon {

    font-size: 40px;

    margin-bottom: 15px;

    color: #ff3b3b;

}

.process {

    background: #f9fafb;

    padding: 80px 0;

    text-align: center;

}

.process-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 40px;

    margin-top: 40px;

}

.process-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    margin-bottom: 15px;
    font-weight: bold;
}

@media(max-width:768px) {

    .process-grid {

        grid-template-columns: 1fr;

    }

}

.software-section {

    padding: 80px 0;

}

.software-item {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 60px;

    align-items: center;

    margin-top: 60px;

}

.software-item.reverse {

    direction: rtl;

}

.software-item.reverse .software-text {

    direction: ltr;

}

.software-image img {

    width: 100%;

    border-radius: 10px;

}

.advantages {

    background: #f9fafb;

    padding: 80px 0;

    text-align: center;

}

.advantages-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 40px;

    margin-top: 40px;

}

@media(max-width:768px) {

    .software-item {

        grid-template-columns: 1fr;

    }

    .advantages-grid {

        grid-template-columns: 1fr;

    }

}

.nav-menu a.active {

    color: #ff3b3b;
    font-weight: 600;

}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

@media(max-width:768px) {

    .nav-menu {

        display: none;
        flex-direction: column;
        background: white;

        position: absolute;
        top: 70px;
        right: 20px;

        padding: 20px;

        border-radius: 8px;

        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);

    }

    .nav-menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

}

.contact-section {

    padding: 80px 0;

}

.contact-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 60px;

}

.contact-item {

    margin-bottom: 20px;

}

.contact-form form {

    display: flex;

    flex-direction: column;

    gap: 15px;

}

.contact-form input,
.contact-form textarea {

    padding: 12px;

    border: 1px solid #ddd;

    border-radius: 6px;

    font-size: 14px;

}

.map {
    margin-top: 60px;
}

@media(max-width:768px) {

    .contact-grid {
        grid-template-columns: 1fr;
    }

}

.whatsapp-float {

    position: fixed;

    right: 20px;
    bottom: 20px;

    width: 60px;
    height: 60px;

    background: #25D366;
    color: white;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 28px;

    text-decoration: none;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);

    z-index: 999;

    transition: .3s;

}

.whatsapp-float:hover {

    transform: scale(1.1);

}

body.fade {
    opacity: 0;
    transition: opacity 0.4s ease;
}

body.fade.show {
    opacity: 1;
}

.card h3 {
    margin-top: 15px;
}

.card p {
    margin-top: 10px;
}

.card .btn-outline {
    margin-top: 20px;
    display: inline-block;
}

.blog-image {
    width: 100%;
    max-width: 900px;
    border-radius: 10px;
    margin: 30px 0;
}

.blog-content {
    max-width: 800px;
    margin: auto;
    line-height: 1.8;
    font-size: 16px;
    color: #374151;
}

.blog-content p {
    margin-bottom: 20px;
}

.blog-content h2 {
    margin-top: 40px;
    margin-bottom: 15px;
    font-size: 26px;
    color: #111827;
}

.blog-content ul {
    margin-top: 10px;
    margin-bottom: 25px;
    padding-left: 20px;
}

.blog-content ul li {
    margin-bottom: 8px;
}

.blog-image {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 25px;
}

.blog-meta {
    color: #6b7280;
    font-size: 14px;
    margin-top: 10px;
}

.map-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 400;
    border: 0;
}

header.scrolled {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 9999;
}

.language-switcher {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-left: 20px;
}

.language-switcher img {
    width: 22px;
    cursor: pointer;
    transition: 0.2s;
}

.language-switcher img:hover {
    transform: scale(1.1);
}

@media(max-width:768px) {

    .language-switcher {
        justify-content: center;
        margin-top: 10px;
    }

}

.redirect-text {

    margin-top: 20px;
    color: #6b7280;
    font-size: 14px;

}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icons img {
    width: 22px;
    opacity: 0.8;
    transition: 0.3s;
}

.social-icons img:hover {
    opacity: 1;
    transform: scale(1.1);
}

.app-icon {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 18px;
    padding: 10px;
    background: #f5f5f5;
}