/* =========================
   YEREL FONTLAR (Local Fonts)
   Dosya Yolu: assets/fonts/
========================= */

/* --- 1. CAL SANS --- */
@font-face {
    font-family: 'Cal Sans';
    src: url('../fonts/CalSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
/* Cal Sans'ı bold yapınca da aynı dosya görünsün diye: */
@font-face {
    font-family: 'Cal Sans';
    src: url('../fonts/CalSans-Regular.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Cal Sans';
    src: url('../fonts/CalSans-Regular.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* --- 2. POPPINS AILESİ --- */

/* 100 - Thin */
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-ThinItalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

/* 200 - ExtraLight */
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-ExtraLightItalic.ttf') format('truetype');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

/* 300 - Light */
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

/* 400 - Regular (Normal) */
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* 500 - Medium */
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

/* 600 - SemiBold */
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-SemiBoldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

/* 700 - Bold */
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* 800 - ExtraBold */
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-ExtraBoldItalic.ttf') format('truetype');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}

/* 900 - Black */
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}




/* =========================
   Base / Reset
========================= */
* { box-sizing: border-box; }
html {
    scroll-behavior: smooth !important;
    scroll-padding-top: var(--header-offset);
}
body {
    margin: 0;
    font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-weight: 300;
    background: #ffffff;
    color: #111827; /* gray-900 */
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

:root {
    --header-offset: 9.5rem;
    --loader-blue: #0F4ECF;
}

@media (max-width: 1024px) {
    :root { --header-offset: 10.5rem; }
}
@media (max-width: 640px) {
    :root { --header-offset: 12rem; }
}

/* Container */
.container {
    max-width: 1280px; /* close to max-w-7xl */
    margin: 0 auto;
    padding: 0 16px;
}
.container-wide { max-width: 1400px; }
@media (max-width: 768px) {
    .container { padding: 0 16px; }
}

/* Utilities */
.is-hidden { display: none !important; }

.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Skip link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 16px;
    z-index: 99999;
    padding: 10px 16px;
    border-radius: 10px;
    background: #2563EB;
    color: #fff;
}
.skip-link:focus { left: 16px; }

/* =========================
   Loader
========================= */
body.loader-active { overflow: hidden; }

#gti-loader {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    background: #FFFFFF;
    z-index: 9999;
    transition: opacity 0.3s ease;
}
#gti-loader.fade-out {
    opacity: 0;
    pointer-events: none;
}
#site-shell {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.32s ease;
}
body.loaded #site-shell {
    opacity: 1;
    pointer-events: auto;
}

.loader-inner {
    width: min(68vw, 360px);
    aspect-ratio: 320 / 243;
    position: relative;
    display: grid;
    place-items: center;
}

.loader-tagline-wrapper {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
    text-align: center;
    pointer-events: none;
}

.loader-tagline {
    margin: 0;
    display: inline-block;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 500;
    color: #E60000;
    word-spacing: 0.45em;
    opacity: 0;
    transform-origin: center;
    animation: logo-form 1.2s ease-in-out forwards 0.08s;
}

.logo-layer {
    position: absolute;
    inset: 0;
    background: var(--loader-blue);
    mask-image: url("../images/logo.png");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;

    -webkit-mask-image: url("../images/logo.png");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;

    filter: drop-shadow(0 14px 28px rgba(15, 78, 207, 0.16));
    transform-origin: center;
    opacity: 0;
}

.logo-trace {
    background: linear-gradient(120deg, rgba(15, 78, 207, 0.05), rgba(15, 78, 207, 0.45), rgba(15, 78, 207, 0.05));
    background-size: 220% 100%;
    animation: trace-wipe 0.95s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
.logo-fill { animation: logo-form 1.2s ease-in-out forwards 0.08s; }

@keyframes trace-wipe {
    0% { opacity: 0; background-position: 120% 50%; clip-path: inset(0 100% 0 0); transform: scale(0.9); }
    35% { opacity: 1; }
    60% { background-position: 50% 50%; }
    100% { opacity: 0.75; background-position: -20% 50%; clip-path: inset(0 0 0 0); transform: scale(1); }
}
@keyframes logo-form {
    0% { opacity: 0; clip-path: inset(0 96% 0 0); transform: scale(0.86); }
    45% { clip-path: inset(0 36% 0 0); transform: scale(1.02); }
    100% { opacity: 1; clip-path: inset(0 0 0 0); transform: scale(1); }
}

/* =========================
   Header
========================= */
#main-header {
    background-color: rgba(255, 255, 255, 0);
    backdrop-filter: none;
    color: #FFFFFF;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    width: 100%;
}

#main-header.header-scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    color: #1F2937;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
}
.topbar-left {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-left: 48px;
    font-size: 14px;
}
.topbar-right {
    display: none;
    align-items: center;
    gap: 12px;
    padding-right: 48px;
}
@media (min-width: 768px) {
    .topbar-right { display: flex; }
}
.topbar-phone { display: none; }
@media (min-width: 640px) {
    .topbar-phone { display: inline-flex; }
}

.header-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0;
    transition: border-color 0.3s ease;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 16px;
}
.brand { padding-left: 48px; }
.logo-text {
    font-family: "Cal Sans", "Poppins", sans-serif;
    font-size: 30px;
    margin: 0;
    line-height: 1.1;
}
.logo-tagline {
    margin: 4px 0 0 0;
    font-size: clamp(18px, 2vw, 24px);
    letter-spacing: 0.06em;
    word-spacing: 0.08em;
    opacity: 0.85;
}

.nav-center {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 32px;
    font-size: 16px;
    padding-left: 40px;
}
@media (min-width: 768px) {
    .nav-center { display: flex; }
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 48px;
}

[hidden] {
    display: none !important;
}

.nav-profile-btn {
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    padding: 10px 18px;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.nav-profile-btn:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-1px);
}

.header-scrolled .nav-profile-btn {
    background: #111827;
    color: #fff;
}

.mobile-profile-btn {
    width: 100%;
    justify-content: center;
}
.mobile-menu-btn {
    display: none;
}
#mobile-menu-overlay {
    display: none;
}
.menu-open {
    overflow: hidden;
}
@media (max-width: 639px) {
    .nav-actions { display: none; }
}

.nav-link { transition: color 0.3s ease; }
.nav-item:hover { color: rgba(191, 219, 254, 1); } /* blue-200-ish */

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    color: #fff;
}
.social-icon:hover {
    background: #fff;
    color: #2563EB;
}

@media (max-width: 768px) {
    .brand {
        padding-left: 12px;
    }

    .topbar,
    .nav-actions,
    .nav-center {
        display: none;
    }

    .main-nav {
        position: relative;
        padding: 12px 12px;
    }

    .mobile-menu-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        border-radius: 50px;
        border: 1px solid #ffffff;
        background: transparent;
        color: #ffffff;
        font-family: "Cal Sans", "Poppins", sans-serif;
        padding: 10px 16px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .header-scrolled .mobile-menu-btn {
        background: #ffffff;
        color: #111827;
        border-color: #111827;
    }

    .header-scrolled .mobile-menu-btn:hover {
        background: #F3F4F6;
    }

    .mobile-menu-btn i { font-size: 16px; }
    .mobile-menu-btn span { font-size: 15px; font-weight: 600; }

    .mobile-menu-btn.is-open {
        background: #0F4ECF;
        color: #ffffff;
        border-color: #0F4ECF;
    }

    #mobile-menu-overlay {
        display: flex;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.35);
        justify-content: flex-end;
        transform: translateX(110%);
        transition: transform 0.35s ease, visibility 0.35s ease;
        visibility: hidden;
        z-index: 60;
        pointer-events: none;
    }

    #mobile-menu-overlay.is-active {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    .mobile-menu-inner {
        background: #ffffff;
        width: 78%;
        max-width: 380px;
        height: 100%;
        padding: 32px 26px 36px;
        display: flex;
        flex-direction: column;
        gap: 26px;
        box-shadow: -4px 0 24px rgba(15, 23, 42, 0.08);
        overflow-y: auto;
    }

    .mobile-menu-auth {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .mobile-auth-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 12px 14px;
        border-radius: 50px;
        font-family: "Cal Sans", "Poppins", sans-serif;
        font-weight: 600;
        font-size: 16px;
        text-align: center;
        border: 2px solid transparent;
        transition: all 0.3s ease;
        min-height: 52px;
    }

    .mobile-auth-outline {
        border-color: #6BA1FF;
        color: #6BA1FF;
        background: transparent;
    }

    .mobile-auth-solid {
        background: #6BA1FF;
        color: #ffffff;
    }

    .mobile-menu-links {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 18px;
        font-family: "Poppins", sans-serif;
        color: #669CFF;
    }

    .mobile-menu-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        font-size: 18px;
        font-weight: 600;
    }

    .mobile-menu-item a { color: inherit; }

    .mobile-menu-social {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        border: 1px solid #6BA1FF;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #6BA1FF;
        font-size: 15px;
    }

    .mobile-menu-contact {
        margin-top: auto;
        display: flex;
        flex-direction: column;
        gap: 10px;
        font-family: "Poppins", sans-serif;
        color: #6BA1FF;
        font-weight: 600;
    }

    .mobile-contact-link {
        display: inline-flex;
        align-items: center;
        gap: 10px;
    }

    .mobile-contact-link i { font-size: 15px; }
}

/* Buttons */
.btn {
    font-family: "Cal Sans", "Poppins", sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    padding: 10px 20px;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

#register-btn {
    border-color: #fff;
    color: #fff;
    background: transparent;
}
#register-btn:hover {
    background: #fff;
    color: #2563EB;
}

#login-btn {
    background-color: #669CFF;
    color: #fff;
}
#login-btn:hover { opacity: 0.9; }

/* Scrolled header link colors */
.header-scrolled .nav-link,
.header-scrolled .logo-text,
.header-scrolled .social-icon {
    color: #374151;
}
.header-scrolled .logo-tagline { color: #6B7280; }
.header-scrolled .nav-link.active-link { color: #2563EB; }
.header-scrolled .nav-item:hover { color: #2563EB; }

.header-scrolled .social-icon {
    border-color: #D1D5DB;
}
.header-scrolled .social-icon:hover {
    background-color: #EFF6FF;
    border-color: #93C5FD;
}

.header-scrolled #header-divider { border-top-color: #E5E7EB; }

.header-scrolled #register-btn {
    border-color: #2563EB;
    color: #2563EB;
}
.header-scrolled #register-btn:hover { background: #EFF6FF; }
.header-scrolled #login-btn {
    background-color: #669CFF;
    color: #fff;
}

/* main offset */
.main { padding-top: var(--header-offset); }

/* =========================
   Hero
========================= */
.hero {
    position: relative;
    overflow: visible;
    background-image: url("../images/SVG.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    min-height: calc(100vh - var(--header-offset));
    display: flex;
    align-items: center;
    padding: 64px 0;
}

/* extend background behind header area */
.hero::before {
    content: "";
    position: absolute;
    top: calc(-1 * var(--header-offset));
    left: 0;
    width: 100%;
    height: calc(100% + var(--header-offset));
    background: inherit;
    background-size: inherit;
    background-position: inherit;
    background-repeat: inherit;
    z-index: 0;
    pointer-events: none;
}

.hero > * { position: relative; z-index: 1; }

.hero .container{
    margin-left: 0;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

@media (min-width: 640px){
    .hero .container{ padding-left: 24px; padding-right: 24px; }
}
@media (min-width: 1024px){
    .hero .container{ padding-left: 32px; padding-right: 32px; }
}

.hero-content {
    max-width: 42rem;
    margin-left: 48px;
    padding-top: 140px;
    position: relative;
}
.hero-title {
    font-family: "Cal Sans", "Poppins", sans-serif;
    font-size: 56px;
    letter-spacing: -0.02em;
    margin: 0 0 16px 0;
}
.hero-desc {
    font-size: 17px;
    color: #DBEAFE;
    line-height: 1.6;
    margin: 0 0 24px 0;
    max-width: 40rem;
}
.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    padding: 12px 24px;
    font-family: "Cal Sans", "Poppins", sans-serif;
    background: #669CFF;
    color: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    transition: opacity 0.2s ease;
}
.hero-cta:hover { opacity: 0.9; }

.hero-watermark {
    position: absolute;
    top: -48px;              /* YUXARI QALDIRIR */
    left: 0;
    height: 140px;           /* bir az kiçik */
    opacity: 0.25;
    transform: none;         /* translateY ləğv */
    pointer-events: none;
}


@media (max-width: 768px) {
    .hero-watermark {
        top: -48px;
        left: 50%;
        transform: translateX(-50%);
        height: 120px;
        opacity: 0.22;
    }
}
@media (max-width: 768px) {
    .hero {
        background-image: url("../images/SVG_2.png");
        background-size: cover;
        background-position: center;
        align-items: flex-start;
        padding-top: 32px;
        padding-bottom: 56px;
    }
    .hero .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    .hero-content {
        margin-left: 0;
        padding-top: 88px;
        text-align: center;
        align-items: center;
        display: flex;
        flex-direction: column;
    }
    .hero-title {
        font-size: 34px;
    }
    .hero-desc {
        text-align: center;
    }
    .hero-cta {
        align-self: center;
    }
}


/* =========================
   Stats
========================= */
.stats {
    background: #fff;
    padding: 64px 0 32px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
@media (min-width: 768px) {
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
}
.stat { text-align: center; }
.stat-count {
    font-size: 56px;
    font-weight: 700;
    color: #2563EB;
    line-height: 1;
}
.stat-label {
    margin-top: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #4B5563;
}
@media (max-width: 480px) {
    .stats-grid {
        gap: 16px;
        grid-template-columns: repeat(2, 1fr);
        text-align: center;
    }
}

/* =========================
   Section typography
========================= */
.section-kicker {
    font-size: 16px;
    font-weight: 600;
    color: #2563EB;
    margin: 0;
}
.section-title {
    font-family: "Cal Sans", "Poppins", sans-serif;
    font-size: 36px;
    margin: 12px 0 0 0;
    color: #111827;
}
.section-subtitle {
    margin: 12px 0 0 0;
    font-size: 18px;
    color: #4B5563;
}
.section-paragraph {
    margin: 18px 0 0 0;
    font-size: 18px;
    color: #4B5563;
    line-height: 1.7;
}
.section-head { margin-bottom: 36px; }
.section-head-center { text-align: center; }

/* =========================
   About
========================= */
.about {
    background: #F9FAFB;
    padding: 48px 0;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 56px;
    align-items: center;
}
@media (min-width: 1024px) {
    .about-grid { grid-template-columns: 1.2fr 0.8fr; }
}
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .about-media { order: 1; }
    .about-text { order: 2; }
}

.about-image {
    width: 100%;
    border-radius: 12px;
}

.feature-list { margin-top: 28px; display: grid; gap: 18px; }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature-icon {
    width: 48px; height: 48px;
    border-radius: 10px;
    background: #DBEAFE;
    color: #2563EB;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex: 0 0 auto;
}
.feature-title {
    font-family: "Cal Sans", "Poppins", sans-serif;
    margin: 0;
    color: #111827;
    font-size: 18px;
}
.feature-text { margin: 6px 0 0 0; color: #4B5563; }

/* =========================
   Why
========================= */
.why {
    background: #F9FAFB;
    padding: 48px 0 96px 0;
}
.why-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-radius: 5.5rem;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(0,0,0,0.16);
    background-image: linear-gradient(to right, #0E3EA4 22%, #0B1B43 66%);
}
@media (min-width: 1024px) {
    .why-panel { grid-template-columns: 1fr 1fr; }
}
.why-photo { padding: 48px; }
.why-photo-img {
    width: 100%;
    height: 100%;
    border-radius: 2rem;
    object-fit: cover;
}

.why-content {
    color: #fff;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.why-kicker { margin: 0; font-weight: 600; color: #BFDBFE; }
.why-title {
    margin: 12px 0 0 0;
    font-family: "Cal Sans", "Poppins", sans-serif;
    font-size: 36px;
}
.why-text { margin: 18px 0 0 0; color: #DBEAFE; font-size: 18px; line-height: 1.7; }
.why-list { margin: 28px 0 0 0; padding: 0; list-style: none; display: grid; gap: 14px; font-size: 18px; }
.why-list i { color: #34D399; margin-right: 10px; }

/* =========================================
   MOBİL İÇİN ÖZEL AYARLAR (Sadece Telefon)
   (Max Genişlik: 768px)
========================================= */
@media (max-width: 768px) {

    .why-photo {
        /* Mobilde kenarlardan hafif boşluk kalsın */
        padding: 24px !important;
        height: 370px !important;
    }

    .why-photo-img {
        /* Mobilde 4 köşe de yuvarlak olsun (Mavi kutuya uyum için) */
        border-radius: 4.5rem !important;

        /* PC'deki 2rem ayarını ezmek için !important kullandık */
    }
}


/* =========================
   Projects Slider
========================= */
.projects {
    padding: 80px 0;
    background: #F9FAFB;
}
.projects-wrap {
    position: relative;
}
.projects-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 24px;
    scroll-behavior: smooth;
}
.project-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
}
@media (min-width: 768px) {
    .project-slide { flex-basis: calc(50% - 12px); }
}
@media (min-width: 1024px) {
    .project-slide { flex-basis: calc(33.3333% - 16px); }
}

.project-card2 {
    height: 100%;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card2:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(0,0,0,0.14);
}

.project-media { position: relative; height: 192px; overflow: hidden; }
.project-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.project-card2:hover .project-media img { transform: scale(1.08); }

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.project-card2:hover .project-overlay { opacity: 1; }

.project-body { padding: 24px; }
.project-title {
    font-family: "Cal Sans", "Poppins", sans-serif;
    margin: 0;
    font-size: 20px;
    color: #111827;
}
.project-desc { margin: 10px 0 0 0; font-size: 14px; color: #6B7280; line-height: 1.6; }

.project-btn {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: #2563EB;
    color: #fff;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 10px 18px rgba(37,99,235,0.22);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.project-btn i { margin-left: 8px; transition: transform 0.2s ease; }
.project-btn:hover { background: #1D4ED8; transform: scale(1.03); }
.project-card2:hover .project-btn i { transform: translateX(4px); }

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: 0;
    background: #fff;
    color: #2563EB;
    box-shadow: 0 12px 24px rgba(0,0,0,0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
    z-index: 10;
}
.carousel-btn:hover { background: #2563EB; color: #fff; transform: translateY(-50%) scale(1.06); }
.carousel-btn-prev { left: 0; transform: translate(-50%, -50%); }
.carousel-btn-next { right: 0; transform: translate(50%, -50%); }

/* On small screens: hide arrows */
@media (max-width: 767px) {
    .carousel-btn { display: none; }
}

/* =========================
   Partners
========================= */
.partners { background: #fff; padding: 64px 0; }
.partners-head {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}
@media (min-width: 640px) {
    .partners-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.partners-hint { font-size: 14px; color: #6B7280; margin: 0; }

.projects-carousel {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    cursor: grab;
    padding: 16px;
    scroll-behavior: auto;
}
.projects-carousel.is-dragging {
    cursor: grabbing;
    user-select: none;
}

/* partner card - from your index.html intent */
.project-card {
    flex: 0 0 auto;
    width: 320px;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(0,0,0,0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 35px rgba(0,0,0,0.14);
}
.project-image-wrapper {
    height: 200px;
    width: 100%;
    position: relative;
}
.project-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.partner-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px;
    text-align: center;
    flex-grow: 1;
}
.partner-title { margin: 0; font-size: 20px; font-weight: 600; color: #111827; }
.partner-desc { margin: 0; font-size: 14px; color: #6B7280; line-height: 1.6; }
.partner-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: #2563EB;
    color: #fff;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s ease;
}
.partner-btn:hover { background: #3B82F6; }

/* =========================
   Services
========================= */
.services { background: #fff; padding: 64px 0; }
.services-head { margin-bottom: 36px; }

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Bu, aşağıda qalan kartları ortalayır */
    gap: 24px;
}

/* Default (Mobil) - 1 sütun */
.service-card {
    flex: 0 0 100%;
    max-width: 100%;
    /* Kartın vizual stilləri */
    border: 1px solid #E5E7EB;
    background: #F9FAFB;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 10px 18px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

/* Tablet - 2 sütun */
@media (min-width: 640px) {
    .service-card {
        /* (100% - 1 boşluq) / 2 */
        flex: 0 0 calc((100% - 24px) / 2);
        max-width: calc((100% - 24px) / 2);
    }
}

/* Desktop - 3 sütun */
@media (min-width: 1024px) {
    .service-card {
        /* (100% - 2 boşluq) / 3 */
        flex: 0 0 calc((100% - 48px) / 3);
        max-width: calc((100% - 48px) / 3);
    }
}

.service-card:hover {
    transform: scale(1.03);
    box-shadow: 0 22px 34px rgba(0,0,0,0.10);
    background: #fff;
}
.service-title {
    font-family: "Cal Sans", "Poppins", sans-serif;
    margin: 0;
    font-size: 22px;
    color: #111827;
}
.service-list {
    margin: 16px 0 0 18px;
    padding: 0;
    color: #4B5563;
    line-height: 1.7;
}
.service-btn {
    display: inline-block;
    margin-top: 18px;
    border-radius: 2.5rem;
    background: #2563EB;
    color: #fff;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s ease;
}
.service-btn:hover { background: #3B82F6; }
/* =========================
   Consultation
========================= */
.consult { background: #F9FAFB; padding: 64px 0; }
.consult-panel {
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid #E5E7EB;
    box-shadow: 0 18px 38px rgba(0,0,0,0.08);
    padding: 32px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .consult-panel { padding: 36px; }
}
.consult-left { max-width: 480px; }
.consult-title {
    font-family: "Cal Sans", "Poppins", sans-serif;
    font-size: 28px;
    margin: 0;
}
.consult-text { margin: 12px 0 0 0; color: #4B5563; line-height: 1.7; }

.consult-form {
    display: grid;
    gap: 14px;
    width: 100%;
    max-width: 480px;
    justify-self: start;
}
.form-row label { display: block; font-size: 14px; font-weight: 600; color: #374151; margin-bottom: 6px; }
.form-row input,
.form-row textarea {
    width: 100%;
    border: 1px solid #D1D5DB;
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
    outline: none;
}
.form-row input:focus,
.form-row textarea:focus {
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.14);
}
.form-submit {
    border: 0;
    border-radius: 9999px;
    padding: 12px 18px;
    background: #2563EB;
    color: #fff;
    font-family: "Cal Sans", "Poppins", sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.form-submit:hover { background: #1D4ED8; }

/* =========================
   Footer
========================= */
.site-footer {
    color: #D1D5DB;
    background-image: linear-gradient(to bottom, #0E3EA4, #0B1B43);
}
.footer-inner { padding: 40px 16px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .footer-grid { grid-template-columns: repeat(4, 1fr); }
}

.footer-logo { height: 80px; width: auto; padding-left: 20px; }
.footer-brand-title {
    margin: 10px 0 0 0;
    font-family: "Cal Sans", "Poppins", sans-serif;
    font-size: 33px;
    color: #fff;
}
.footer-brand-subtitle { margin: 6px 0 0 0; color: #9CA3AF; }

.footer-title { margin: 0; font-size: 18px; font-weight: 700; color: #fff; }
.footer-list { list-style: none; padding: 0; margin: 12px 0 0 0; display: grid; gap: 10px; }
.footer-list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.6; }
.footer-list i { margin-top: 4px; }

.footer-links { list-style: none; padding: 0; margin: 12px 0 0 0; display: grid; gap: 10px; }
.footer-links a:hover { color: #fff; }

.footer-social { margin-top: 16px; display: flex; gap: 12px; }
.footer-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid #fff;
    color: #D1D5DB;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
}
.footer-social-btn:hover {
    background: #fff;
    color: #1E40AF;
}

.footer-bottom {
    margin-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.22);
    padding-top: 18px;
    text-align: center;
}


/* Cal Sans olanları bold etmə (yalnız onları) */
.logo-text,
.btn,
.hero-title,
.hero-cta,
.section-title,
.feature-title,
.why-title,
.project-title,
.service-title,
.consult-title,
.footer-brand-title,
.form-submit {
    font-weight: 400; /* normal */
}

/* Əgər hansısa Cal Sans elementində yenə də qalınlıq qalırsa (inherit/strong) */
.logo-text strong,
.hero-title strong,
.section-title strong,
.why-title strong,
.footer-brand-title strong {
    font-weight: 400;
}

.api-status,
[data-api-status],
[data-company-status]{
    margin-top: 16px;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
}

.info { background:#EFF6FF; border:1px solid #BFDBFE; color:#1D4ED8; }
.success { background:#ECFDF5; border:1px solid #A7F3D0; color:#047857; }
.error { background:#FEF2F2; border:1px solid #FECACA; color:#B91C1C; }

.is-disabled { opacity: .6; cursor: not-allowed; }
[data-password-match-status].ok { color:#047857; }
[data-password-match-status].bad { color:#B91C1C; }
