/* ACTIVITIES STYLE - PERFECT MATCH REDESIGN */
:root {
    --act-blue: var(--corporate-blue);
    --act-blue-dark: var(--corporate-blue);
    --act-green: var(--corporate-green);
    --act-white: #ffffff;
    --act-gray-light: #f4f7f9;
    --act-text-primary: #333333;
    --act-text-muted: #888888;
}

.activities-section {
    padding: 80px 0;
    background-color: #fff;
}

/* LEFT SIDE: MAIN CARD */
.act-main-card {
    position: relative;
    height: 600px;
    border-bottom-right-radius: 80px;
    border-top-right-radius: 80px;
    overflow: hidden;
    color: #fff;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.act-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 12s ease;
}

.act-main-card:hover .act-card-bg {
    transform: scale(1.1);
}

.act-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 74, 106, 0.95) 0%, rgba(11, 74, 106, 0.6) 40%, rgba(11, 74, 106, 0.2) 100%);
    z-index: 1;
}

.act-content {
position: relative;
    z-index: 2;
    padding: 45px 150px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.act-header {
    max-width: 600px;
    margin-bottom: 40px;
}

.act-title {
    font-size: 35px;
    font-weight: 900;
    margin-bottom: 12px;
    letter-spacing: -2px;
}

.act-subtitle {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.85;
    line-height: 1.5;
}

/* Filters */
.act-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 60px;
}

.act-filter-btn {
    background: var(--act-blue);
    border: none;
    color: #fff;
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.act-filter-btn.active {
    background: #fff;
    color: var(--act-blue);
}

.act-filter-arrow {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #fff;
    display: none;
}

.act-filter-btn.active .act-filter-arrow {
    display: block;
}

/* Event Grid */
.act-grid {
   display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: auto;
}

.act-event-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 0 !important; /* Force zero padding on the card */
}

.act-event-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.act-ec-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0; /* Remove internal radius, card will clip it */
}

.act-ec-image img {
    width: 100% !important;
    height:15rem !important;
    display: block;
    object-fit: cover;
    transition: transform 1s ease;
}

.act-event-card:hover .act-ec-image img {
    transform: scale(1.08);
}

.act-ec-content {
    padding: 25px 20px 20px 20px;
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.act-ec-title {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.4;
    text-transform: uppercase;
    max-width: 80%;
}

.act-ec-pin {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
}

/* Footer Navigation */
.act-footer {
    margin-top: 25px;
}

.act-nav-arrows {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.act-nav-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    opacity: 0.8;
    transition: 0.3s;
}

.act-nav-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

.act-all-link {
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    text-decoration: none !important;
    padding: 10px 35px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

.act-all-link:hover {
    background: #fff;
    color: var(--act-blue);
    border-color: #fff;
}

/* RIGHT SIDEBAR */
.act-right-sidebar {
    padding-left: 10px;
    margin-top: 20px;
}

.act-sidebar-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.act-sh-icon {
    font-size: 26px;
    color: var(--act-green);
}

.act-sh-text h3 {
    font-size: 18px;
    font-weight: 800;
    color: #2c4465;
    margin: 0;
}

.act-sh-text span {
    font-size: 11px;
    font-weight: 700;
    color: #99abb4;
    text-transform: uppercase;
}

/* Sidebar Grid */
.act-sidebar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.act-sg-item {
    background: var(--act-gray-light);
    border-radius: 20px;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    text-decoration: none !important;
    transition: all 0.3s;
    min-height: 120px;
}

.act-sg-item:hover {
    background: var(--act-blue);
    box-shadow: 0 15px 35px rgba(2, 78, 110, 0.2);
    transform: translateY(-8px);
}

.act-sg-item:hover .act-sg-icon,
.act-sg-item:hover span {
    color: #fff !important;
}
.activities-section

.act-sg-icon {
    font-size: 24px;
    color: #4a5a71;
}

.act-sg-item span {
    font-size: 12px;
    font-weight: 800;
    color: #4a5a71;
    line-height: 1.3;
    text-transform: uppercase;
}

.act-sg-item.act-bar {
    grid-column: span 3;
    min-height: 100px;
    flex-direction: row;
    padding: 0 25px;
    justify-content: flex-start;
    gap: 15px;
    background:linear-gradient(91deg, #ea6d2a, #fcca0abf);
    color: #fff;
}

.act-sg-item.act-bar .act-sg-icon {
    font-size: 20px;
}

.act-sg-item.act-bar span {
    font-size: 15px;
    text-align: left;
    color: #fff;
}

/* Binali Yıldırım Card */
.act-binali-card {
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    margin-top: 10px;
}

.act-bc-image {
    height: 180px;
    background-size: cover;
    background-position: center 20%;
    background-color: #f8f9fa;
}

.act-bc-content {
    padding: 20px;
    text-align: center;
}

.act-bc-content h4 {
    font-size: 16px;
    font-weight: 800;
    color: #2c4465;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.act-bc-content p {
    font-size: 12px;
    color: #72849a;
    margin-bottom: 15px;
}

.act-bc-btn {
    display: inline-block;
    padding: 8px 25px;
    background: var(--act-blue);
    color: #fff;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none !important;
    transition: 0.3s;
}

.act-bc-btn:hover {
    background: var(--act-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(11, 74, 106, 0.2);
}

/* Idea Card */
.act-idea-card {
    background: var(--act-gray-light);
    border-radius: 25px;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.act-ic-content h4 {
    font-size: 20px;
    font-weight: 800;
    color: #2c4465;
    margin-bottom: 20px;
}

.act-ic-btn {
    display: inline-block;
    background: #fff;
    color: #6a7c92;
    font-size: 10px;
    font-weight: 800;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none !important;
    border: 1px solid #e0e6ed;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.act-ic-image {
    font-size: 65px;
    color: #d1d9e2;
}

.act-ic-decor {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 60%;
    background: #e2413e;
    border-radius: 10px 0 0 10px;
}

/* Responsive */
@media (max-width: 1400px) {
    .act-title { font-size: 40px; }
    .act-content { padding: 50px; }
}

@media (max-width: 1200px) {
    .act-grid { grid-template-columns: repeat(2, 1fr); }
    .act-sidebar-grid { grid-template-columns: repeat(2, 1fr); }
    .act-main-card { height: auto; min-height: 700px; }
}

@media (max-width: 768px) {
    .act-content { padding: 30px; }
    .act-title { font-size: 32px; }
    .act-grid { grid-template-columns: 1fr; }
    .act-filters { flex-direction: column; }
    .act-main-card { border-radius: 20px; }
    
    .act-right-sidebar {         padding: 40px 15px;margin-top: 0; background: #fff; }
    .act-sidebar-header { margin-bottom: 20px; justify-content: flex-start; }
    .act-sidebar-grid { 
        display: grid; 
        grid-template-columns: repeat(4, 1fr); 
        gap: 10px; 
    }
    .act-sg-item { 
        min-height: 90px; 
        padding: 15px 5px; 
        border-radius: 20px; 
        background: var(--act-gray-light);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border: none;
    }

    .act-sg-item:hover, .act-sg-item:active {
        background: var(--act-blue);
    }
    .act-sg-item:hover .act-sg-icon, .act-sg-item:active .act-sg-icon,
    .act-sg-item:hover span, .act-sg-item:active span {
        color: #fff !important;
    }

    /* Sadece ilk 8 kutuyu göster (2 satır x 4 sütun) */
    .act-sg-item:nth-child(n+9) { display: none; }

    .act-sg-icon { 
        font-size: 22px; 
        color: #4a5a71;
        margin-bottom: 8px;
        transition: color 0.3s;
    }
    .act-sg-item span { 
        font-size: 9px; 
        font-weight: 800; 
        color: #4a5a71;
        line-height: 1.2;
        text-align: center;
        text-transform: uppercase;
        transition: color 0.3s;
    }
    .act-sg-item.act-bar { display: none; }
}
@media(max-width:768px){
  .act-ec-image img {
    width: 100% !important;
    height: 10rem !important;
    display: block;
    object-fit: cover;
    transition: transform 1s ease;
}
}