/* content-head.css */
.content-head-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.content-head-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.content-head-wrapper h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.content-head-wrapper p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.content-btn-group {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.content-btn {
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.content-btn-primary {
    background-color: #0d6efd;
    color: white;
    border: none;
}

.content-btn-outline {
    background-color: transparent;
    color: #0d6efd;
    border: 2px solid #0d6efd;
}

.content-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.content-btn i {
    margin-right: 8px;
}

.content-landscape-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.content-landscape-image:hover {
    transform: scale(1.02);
}

.content-image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
    height: 100%;
}

.content-grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

.content-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.content-grid-item:hover img {
    transform: scale(1.05);
}

/* Different sizes for grid items */
.content-grid-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
    animation-delay: 0.1s;
}

.content-grid-item:nth-child(2) {
    grid-column: span 1;
    grid-row: span 1;
    animation-delay: 0.3s;
}

.content-grid-item:nth-child(3) {
    grid-column: span 1;
    grid-row: span 1;
    animation-delay: 0.5s;
}

.content-grid-item:nth-child(4) {
    grid-column: span 1;
    grid-row: span 1;
    animation-delay: 0.7s;
}

.content-grid-item:nth-child(5) {
    grid-column: span 1;
    grid-row: span 1;
    animation-delay: 0.9s;
}

.content-grid-item:nth-child(6) {
    grid-column: span 2;
    grid-row: span 1;
    animation-delay: 1.1s;
}

.content-grid-item:nth-child(7) {
    grid-column: span 1;
    grid-row: span 1;
    animation-delay: 1.3s;
}

.content-grid-item:nth-child(8) {
    grid-column: span 1;
    grid-row: span 1;
    animation-delay: 1.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Blinking animation */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.content-blink {
    animation: blink 2s infinite;
}

/* Video Modal */
.content-modal .modal-content {
    border-radius: 0;
    border: none;
}

.content-modal .modal-body {
    padding: 0;
}

.content-modal .modal-body iframe {
    width: 100%;
    height: 500px;
    border: none;
}

.content-modal .close {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 100;
    color: white;
    opacity: 1;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
    .content-btn-group {
        flex-direction: column;
    }
    
    .content-modal .modal-body iframe {
        height: 300px;
    }
    
    .content-head-wrapper h1 {
        font-size: 2rem;
    }
    
    .content-head-wrapper p {
        font-size: 1rem;
    }
}