body {
    font-size: 0.9rem;
}
p {
    text-align: justify;    
}
.our-services {
    background: #323232;
}

.sdg-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin-top: 10px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom:50px;
}

.grid-item {
    aspect-ratio: 1;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .grid-item a {
        display: block;
        width: 100%;
        height: 100%;
        position: relative;
        text-decoration: none;
    }

    .grid-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .grid-item:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
        z-index: 10;
    }

        .grid-item:hover img {
            transform: scale(1.1);
        }

    .grid-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 1;
        pointer-events: none;
    }

    .grid-item:hover::before {
        opacity: 1;
    }

    .grid-item::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border: 3px solid rgba(255, 255, 255, 0);
        border-radius: 8px;
        transition: border-color 0.3s ease;
        pointer-events: none;
        z-index: 2;
    }

    .grid-item:hover::after {
        border-color: rgba(255, 255, 255, 0.6);
    }

.borderwhite {
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.gray-bg {
    background: #f5f5f5;
}

@media (max-width: 1024px) {
    .sdg-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .sdg-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .sdg-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    text-align: center;
    margin: 3rem 0;
}

/*.title-effect {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

    .title-effect::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background: linear-gradient(90deg, #3498db, #2ecc71);
        border-radius: 2px;
    }*/

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-lg-8, .col-lg-4, .col-md-12, .col-sm-12, .col-12 {
    padding: 0 15px;
}

.col-lg-8 {
    width: 66.666667%;
}

.col-lg-4 {
    width: 33.333333%;
}

.col-12 {
    width: 100%;
}

#calendar {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.myContainer {
    padding-left: 30px;
}

    .myContainer > div {
        background: white;
        padding: 30px;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        height: 100%;
    }

    .myContainer em {
        font-style: normal;
        color: #555;
        line-height: 1.8;
        font-size: 0.95rem;
    }

    .myContainer p {
        display: flex;
        align-items: center;
        margin: 15px 0;
        font-size: 0.9rem;
        color: #333;
    }

        .myContainer p img {
            width: 20px;
            height: 20px;
            padding: 4px;
            margin-right: 10px;
            border-radius: 4px;
            background: #f0f0f0;
        }

/* FullCalendar Customization */
.fc {
    font-family: inherit;
}

.fc-toolbar-title {
    font-size: 1.5rem !important;
    font-weight: 600;
    color: #2c3e50;
}

.fc-button {
    background: #3498db !important;
    border: none !important;
    padding: 8px 16px !important;
    transition: all 0.3s ease !important;
}

    .fc-button:hover {
        background: #2980b9 !important;
        transform: translateY(-2px);
    }

.fc-button-primary:not(:disabled):active,
.fc-button-primary:not(:disabled).fc-button-active {
    background: #2980b9 !important;
}

.fc-event {
    border-radius: 4px;
    padding: 2px 4px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

    .fc-event:hover {
        transform: scale(1.05);
    }

/* Event color classes */
.event-global {
    background-color: #17a2b8 !important;
    border-color: #17a2b8 !important;
}

.event-macedonia {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

.event-gcf {
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
    color: #333 !important;
}

/* Responsive */
@media (max-width: 991px) {
    .col-lg-8, .col-lg-4 {
        width: 100%;
    }

    .myContainer {
        padding-left: 15px;
        margin-top: 30px;
    }

    .title-effect {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .title-effect {
        font-size: 1.75rem;
    }

    #calendar {
        padding: 15px;
    }

    .myContainer > div {
        padding: 20px;
    }
}

/* Legend dots */
.legend2 {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .legend2 li {
        position: relative;
        padding-left: 1.25rem; /* space for the dot */
        margin: .25rem 0;
    }

.legend2 li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.4em; /* vertically centers the dot with text */
    width: .65rem;
    height: .65rem;
    border-radius: 50%;
}

/* Colors (matching your originals) */
.dot-blue::before {
    background: #17a2b8;
}
/* teal/blue */
.dot-green::before {
    background: #28a745;
}
/* green */
.dot-yellow::before {
    background: #ffc107;
}
/* yellow */
/* Make FullCalendar toolbar buttons smaller */
.fc .fc-button {
  padding: 2px 6px !important;      /* reduce inner spacing */
  font-size: 0.75rem !important;    /* smaller text */
  line-height: 1.2 !important;
  min-height: 26px !important;      /* keep consistent height */
  border-radius: 4px !important;    /* softer corners */
}

/* Optional: tighter spacing between buttons */
.fc .fc-button-group > .fc-button,
.fc .fc-toolbar-chunk button {
  margin-right: 2px !important;
}

/* Reduce height of toolbar itself */
.fc .fc-toolbar {
  margin-bottom: 0.5rem !important;
}

/* Default (desktop / regular view) */
.fc-toolbar-title {
    font-size: 1.25rem !important; /* or whatever default size you prefer */
    font-weight: 600;
}

/* Mobile view (screens smaller than 768px) */
@media (max-width: 767.98px) {
    .fc-toolbar-title {
        font-size: 0.85rem !important;
        font-weight: 500;
    }
}

.fc .fc-scrollgrid {
    border-bottom-width: 1px !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
}

/* GLASS BACKGROUND */
.lg-backdrop {
    background: rgba(10, 10, 10, 0.60) !important;
    backdrop-filter: blur(12px) saturate(180%) !important;
}

/* ROUND CORNERS */
.lg-image, .lg-video-object {
    border-radius: 14px !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

/* THUMBNAILS */
.lg-thumb-item img {
    border-radius: 8px !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    transition: transform .25s ease, box-shadow .25s ease;
}

.lg-thumb-item img:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* NAV ARROWS */
.lg-prev, .lg-next {
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
}

    .lg-prev:hover, .lg-next:hover {
        background: rgba(255,255,255,0.35);
    }

/* ZOOM-IN ANIMATION */
.lg-current .lg-image {
    animation: zoomIn .45s ease forwards;
}

@keyframes zoomIn {
    0% {
        transform: scale(0.85);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}