@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    min-height: 100vh;
    color: #003781;
}

/* Fade In Up Animation */
@-webkit-keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translateY(50px);
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translateY(50px);
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

/* Initial state - hidden */
.header-card,
.header-logo,
.header-logo-ata,
.hierarchy-title,
.column-title,
.card,
.pill-btn {
    opacity: 0;
    -webkit-transform: translateY(50px);
    -moz-transform: translateY(50px);
    -ms-transform: translateY(50px);
    transform: translateY(50px);
}

/* Animated state when visible */
.header-card.animate-in {
    -webkit-animation: fadeInUp 0.8s ease-out forwards;
    animation: fadeInUp 0.8s ease-out forwards;
}

.header-logo.animate-in,
.header-logo-ata.animate-in {
    -webkit-animation: fadeInUp 0.8s ease-out forwards;
    animation: fadeInUp 0.8s ease-out forwards;
}

.hierarchy-title.animate-in {
    -webkit-animation: fadeInUp 0.7s ease-out forwards;
    animation: fadeInUp 0.7s ease-out forwards;
}

.column-title.animate-in {
    -webkit-animation: fadeInUp 0.6s ease-out forwards;
    animation: fadeInUp 0.6s ease-out forwards;
}

.card.animate-in {
    -webkit-animation: fadeInUp 0.6s ease-out forwards;
    animation: fadeInUp 0.6s ease-out forwards;
}

.pill-btn.animate-in {
    -webkit-animation: fadeInUp 0.5s ease-out forwards;
    animation: fadeInUp 0.5s ease-out forwards;
}

/* Header Banner */
.main-header {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 30px 0px 30px;
    overflow: hidden;
}
.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
    position: relative;
    background: #ffffff;
    opacity: 1;
    transform: translateY(0);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(91, 163, 245, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 40% 70%, rgba(91, 163, 245, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 60% 85%, rgba(91, 163, 245, 0.35) 1px, transparent 1px),
        radial-gradient(circle at 80% 75%, rgba(91, 163, 245, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 30% 90%, rgba(91, 163, 245, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 70% 95%, rgba(91, 163, 245, 0.35) 1px, transparent 1px),
        radial-gradient(circle at 50% 80%, rgba(91, 163, 245, 0.25) 1px, transparent 1px);
    background-size: 
        30px 30px,
        40px 40px,
        35px 35px,
        45px 45px,
        38px 38px,
        42px 42px,
        32px 32px;
    background-position: 
        0 0,
        10px 15px,
        20px 5px,
        15px 20px,
        5px 10px,
        25px 8px,
        12px 18px;
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}
.footer a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #000000;
    position: relative;
    z-index: 1;
}
.footer span {
    margin: 0px 10px;
    position: relative;
    z-index: 1;
}
.card-image-contain img {
    object-fit: contain  !important;
    padding: 0px 30px;
}
.header-content {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    background: url('images/bg.png');
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    border-radius: 30px;
    height: 300px;
}
.header-logo {
    position: absolute;
    top:30px;
    left: 65px;
}
.header-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
    justify-content: end;
    max-width: fit-content;
}

.allianz-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: #003781;
    letter-spacing: -0.5px;
}

.logo-circle {
    width: 42px;
    height: 42px;
    background: #003781;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-title-span {
    font-weight: 300;
}
.logo-icon {
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.header-title {
    color: #003781;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
    background: #ffffff;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    padding: 10px 30px 40px 30px;
    margin-left: 65px;
    top:50px;
    position: relative;
    opacity: 1;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Content Cards Container */
.cards-container {
    max-width: 1400px;
    margin: 120px auto;
    padding: 0 30px 0px 30px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

/* Individual Card */
.card {
    background: linear-gradient(0deg, rgb(0 55 129 / 70%) 0%, rgba(255, 255, 255, 0) 100%);
    -webkit-border-radius: 16px;
    -moz-border-radius: 16px;
    border-radius: 16px;
    position: relative;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    text-decoration: none;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    overflow: hidden;
    aspect-ratio: 4/3;
    background-size:1px 500px;  
}

.card:hover {
    -webkit-transform: translateY(-1px);
    -moz-transform: translateY(-1px);
    -ms-transform: translateY(-1px);
    transform: translateY(-1px);
    background-position:0px;  
}
.card svg {
    height: 28px;
    fill: #003781;
    transition: all 0.5s  ease;
}
.card:hover svg {
fill: #ffffff;
}
.card:nth-child(5) .card-icon-top svg {
    height: 40px !important;
}
.card:nth-child(4) .card-icon-top svg {
    height: 32px !important;
}
.card:hover .icon-svg {
    stroke:#ffffff;
}
.card img {
    position: relative;
}
.card:hover img {
    filter:blur(5px);
}
.card-image:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width:100%;
    height: 100%;
    background:transparent;
    transition: all 0.5s ease;
}
.card:hover .card-image:after {
    background: #003781c7;
}
.fixed-button {
    position: fixed !important;
    height: 60px;
    background: linear-gradient(to right, #52caeb 0%, #5dabf3 50%, #80c0fc 100%);
    padding: 10px 10px 10px 0px;
    top: 25%;
    font-size: 20px;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    overflow: hidden;
    right: -185px;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0px !important;
    transition: all 0.5s ease;
}
.fixed-text {
    margin-left: -4px !important;
}
.fixed-button:hover{
    right:0px;
}
.fixed-button img {
    filter: brightness(0) invert(1);
    position: relative;
    left: -20px;
    bottom: -10px;
    width: 100px;
}
.card-icon-top {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    background: #fff;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition:all 0.5s ease;
}

.icon-svg {
    width: 22px;
    height: 22px;
    transition: all 0.3s ease;
}

.card-arrow {
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: 10;
    transform: translate(100%, -100%);
    transition: all 0.5s ease;
    background:#ffffff;
    padding: 8px;
    opacity: 0;
    border-bottom-left-radius: 16px;
}

.arrow-svg {
    width: 28px;
    height: 28px;
    opacity: 0;
    transition: all 0.3s ease;
}
.card:hover .arrow-svg {
    opacity: 1;
}
.card:hover .card-arrow {
    transform: translate(0%, 0%);
    opacity: 1;
}
.card:hover .card-icon-top {
    background:#003781;
}

.card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
    transition: all 0.5s ease;
}

.card-title {
    color: white;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.3;
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    z-index: 5;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Hierarchy Diagram Section */
.hierarchy-section {
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 30px 0px 30px;
}

.hierarchy-container {
    display: flex;
    margin: 60px 0px 80px 0px;
    flex-direction: column;
    gap: 32px;
}
.hierarchy-content-farkindalik {
    display: grid !important;
    grid-template-columns: auto !important;
}
.blob {
    width: 350px;
    height: 350px;
    position: absolute;
    right: 175px;
    top: -75px;
    background: #ffffff;
    border-radius: 100%;
    filter: blur(60px);
}
.hierarchy-block {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.header-logo-ata {
    position: absolute;
    right: 100px;
    width: 950px;
    filter: brightness(0) invert(1);
    top: -50px;
    opacity: 0.6;
    user-select: none;
    pointer-events: none;
}
.hierarchy-title {
    color: #003781;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
}
.header-card {
    justify-self: center;
    margin-bottom: 60px;
    text-wrap: balance;
    font-size: 1.8rem;
}
.hierarchy-card {
    background: #f6f4f573;
    border-radius: 16px;
    padding: 30px;
}

.hierarchy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.hierarchy-content.single-column {
    grid-template-columns: 1fr;
}

.hierarchy-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hierarchy-column.full-width {
    width: 100%;
}

.column-title {
    color: #003781;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    overflow: hidden;
    position: relative;
}
.column-title:after {
    content: '';
    position: absolute;
    top:50%;
    transform:translateY(-50%);
    margin-left:10px;
    background:#e0e0e0;
    width: 100%;
    height: 0.1px;
}
.column-title-uygulama:after {
    content: '';
    height: 0px !important;
}
.divider {
    width: 1px;
    background: #e0e0e0;
    align-self: stretch;
}
.divider-horizontal {
    width: 100%;
    height: 1px;
    background: #e0e0e0;
}

.pill-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.pill-buttons-vertical {
    display: flex !important;
    flex-direction: row;
}

.pill-btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: default;
    width: fit-content;
    text-wrap: balance;
    transition: all 0.5s ease;
    transition-delay: 0s !important;
}
.pill-btn:hover {
    background: #cccccc99 !important;
    color:#003781 !important;
}
.pill-btn.dark-blue {
    background: #003781;
    color: #ffffff;
}
.pill-btn.dark-blue-all,
.pill-btn.light-blue-all {
    background: linear-gradient(90deg,rgba(0, 55, 129, 1) 0%, rgba(82, 202, 235, 1) 100%) !important;
    color: white;
    transition:all 0.5s ease;
}
.pill-btn:hover.dark-blue,
.pill-btn:hover.light-blue  {
    background: #cccccc99 !important;
    transition:all 0.5s ease;
}

.pill-btn.light-blue {
    background: #52caeb;
    color: white;
}

/* Footer */
.main-footer {
    background: #ffffff;
    padding: 50px 60px;
    position: relative;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-image: radial-gradient(circle, #e6f2ff 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
    pointer-events: none;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    position: relative;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-kite {
    width: 60px;
    height: 80px;
}

.footer-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-allianz {
    font-size: 1.3rem;
    font-weight: 700;
    color: #003781;
    letter-spacing: 1px;
}

.footer-turkiye {
    font-size: 1rem;
    font-weight: 600;
    color: #003781;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 35px 20px 0px 20px;
    }

    .header-logo-ata,
    .blob {
        display: none !important;
    }
    .header-left {
        max-width: 100%;
        gap: 15px;
    }

    .logo-text {
        font-size: 1.6rem;
    }
    .fixed-button {
        display: none;
    }

    .logo-circle {
        width: 36px;
        height: 36px;
    }

    .logo-icon {
        font-size: 0.6rem;
    }

    .header-title {
        font-size: 1.5rem;
        margin-left:10px;
        margin-right:10px;
        text-wrap: balance;
        top: -10px;;
        width: fit-content;
        padding: 10px;
    }
    .header-logo {
        left: 20px;
        top: 20px;
    }

    .hierarchy-section {
        padding: 0 20px;
        margin-bottom: 40px;
    }

    .hierarchy-container {
        gap: 30px;
    }

    .hierarchy-title{
        font-size: 1rem;
    }

    .hierarchy-card {
        padding: 25px;
    }

    .hierarchy-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .divider {
        display: none;
    }

    .pill-btn {
        font-size: 0.80rem;
        padding: 9px 18px;
    }



    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card {
        aspect-ratio: 4/3;
    }

    .card-icon-top {
        top: 15px;
        left: 15px;
    }

 

    .card-arrow {
        top: 15px;
        right: 15px;
    }

    .arrow-svg {
        width: 24px;
        height: 24px;
    }

    .card-title {
        font-size: 1rem;
        bottom: 20px;
        left: 20px;
        right: 20px;
    }

    .main-footer {
        padding: 40px 20px;
    }

    .footer-logo {
        gap: 15px;
    }

    .footer-kite {
        width: 50px;
        height: 70px;
    }

    .footer-allianz {
        font-size: 1.1rem;
    }

    .footer-turkiye {
        font-size: 0.9rem;
    }
}

