.hero {
    margin-top: 0;
    padding-top: 0;
    position: relative;
    height: 80vh;
    overflow: hidden;
    will-change: transform;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  
  

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    will-change: opacity;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
}

.slide-content {
    max-width: 800px;
    padding: 2rem;
    position: relative;
    z-index: 2;
    color: white;
    will-change: transform;
    transform: translateZ(0);
}

.slide-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    will-change: transform;
}

.slide-content p {
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    will-change: transform, background-color;
}

.cta-button:hover {
    background-color: #c1121f;
}

/* Info Section */
.info-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}


.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(26,64,121,0.08);
    border: 2px solid #f0f4fa;
    transition: transform 0.35s cubic-bezier(.4,2,.6,1), box-shadow 0.35s;
    position: relative;
    overflow: hidden;
}
.info-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    pointer-events: none;
    box-shadow: none;
    transition: box-shadow 0.35s;
}
.info-card:hover {
    box-shadow: 0 0 32px 0 rgba(230,57,70,0.45), 0 4px 32px 0 rgba(230,57,70,0.25); /* Kırmızı gölge */
}
.info-card:hover::before {
    box-shadow: none;
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-card h3 a {
    color: #fff !important;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}
.info-card h3 a:hover {
    text-decoration: underline;
    color: #e6eaf3 !important;
}


.info-card h3 {
    display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
}



/*
*/

.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.hero-dot.active {
    background-color: white;
    transform: scale(1.2);
}

/* Hero Arrow Navigation */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26, 64, 121, 0.8);
    border: 2px solid white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.hero-arrow:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.hero-arrow-left {
    left: 20px;
}

.hero-arrow-right {
    right: 20px;
}

/* CSS Arrow Styles */
.hero-arrow-left::before {
    content: '';
    width: 12px;
    height: 12px;
    border-top: 3px solid white;
    border-left: 3px solid white;
    transform: rotate(-45deg);
    margin-left: 5px;
}

.hero-arrow-right::before {
    content: '';
    width: 12px;
    height: 12px;
    border-top: 3px solid white;
    border-right: 3px solid white;
    transform: rotate(45deg);
    margin-right: 5px;
}

@media (max-width: 768px) {
    .hero-arrow {
        width: 40px;
        height: 40px;
    }
    
    .hero-arrow-left::before,
    .hero-arrow-right::before {
        width: 10px;
        height: 10px;
    }
}

.blue-box-title  {
    text-align: center;
    color: #17457b;
    font-size: 2.5rem;
    margin-top: 5rem;
    font-weight: bold;
}


.info-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}


.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(26,64,121,0.08);
    border: 2px solid #f0f4fa;
    transition: transform 0.35s cubic-bezier(.4,2,.6,1), box-shadow 0.35s;
    position: relative;
    overflow: hidden;
}
.info-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    pointer-events: none;
    box-shadow: none;
    transition: box-shadow 0.35s;
}
.info-card:hover {
    box-shadow: 0 0 32px 0 rgba(230,57,70,0.45), 0 4px 32px 0 rgba(230,57,70,0.25); /* Kırmızı gölge */
}
.info-card:hover::before {
    box-shadow: none;
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-card h3 a {
    color: #fff !important;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}
.info-card h3 a:hover {
    text-decoration: underline;
    color: #e6eaf3 !important;
}


.info-card h3 {
    display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
}


.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 sütun */
    grid-auto-rows: auto; /* satırlar içeriğe göre */
    gap: 20px;
    padding: 20px;
    align-items: center;
    }
    
    
    .info-card {
    background-color: #1a4079;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(26,64,121,0.18); /* Sadece mavi gölge, beyaz yok */
    opacity: 1;
    transform: translateY(20px);
    transition: opacity 0.9s ease, transform 0.6s ease, box-shadow 0.4s;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100px;
    }
    
    .info-card:hover 
    .info-card.animate {
    opacity: 1;
    transform: translateY(0);
    }
    
    
    .info-card h3 {
    color: #ffffff;
    margin: 0;
    }
    
    .info-card ul {
    padding-left: 20px;
    
    }
    
    .info-card p {
    margin-top: 8px;
    color: #333;
    }
    
    .sss-card {
    height: 100px; /* veya ihtiyacına göre */
    align-items: center;
    }

    .desktop-content { display: block; }
    @media (max-width: 768px) {
        .desktop-content { display: none; }
    }

    .info-card-link { text-decoration: none; color: inherit; }



    @keyframes fadeUp {
        0% {
        opacity: 0;
        transform: translateY(20px);
        }
        100% {
        opacity: 1;
        transform: translateY(0);
        }
        }
        
        .info-card {
        animation: fadeUp 0.1s ease forwards;
        opacity: 0;
        }
        
        /* Kartlar sırayla animasyonlu gelsin */
        .info-card:nth-child(1) { animation-delay: 0.1s; }
        .info-card:nth-child(2) { animation-delay: 0.2s; }
        .info-card:nth-child(3) { animation-delay: 0.3s; }
        .info-card:nth-child(4) { animation-delay: 0.4s; }
        .info-card:nth-child(5) { animation-delay: 0.5s; }
        .info-card:nth-child(6) { animation-delay: 0.6s; }
        .info-card:nth-child(6) { animation-delay: 0.7s; }
        
        .dropdown-content {
          border-radius: 22px !important;
        }
         

        .hero, .info-section {
            background: #fff;
        }


        .europe-visa-slide {
            background-position: center 20% !important;
            }
        
        .work-and-study-slide {
            background-position: center 15% !important;
            }


    

    @media (max-width: 460px) {
    .info-grid {
        grid-template-columns: 1fr;
    }

    .hero-slide h2 {
        font-size: 1.8rem;
    }
}


@media (min-width: 461px) and (max-width: 768px) {
    .hero {
        height: 70vh;
    }
}

@media (min-width: 769px) {
    .hero {
        height: 80vh;
    }
}

@media (max-width: 460px) {
    .hero {
        height: 60vh;
    }
}

@media (max-width: 460px) {
    .slide-content h2 {
        font-size: 1.8rem;
    }

    .slide-content p {
        font-size: 1rem;
    }
}