/* Dark blue pattern background */
.pattern-bg {
    background-color: #f0f9ff;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230f3460' fill-opacity='0.07'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.section-title {
    position: relative;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    color: var(--primary-blue-dark);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--primary-teal-dark),
        var(--primary-teal-medium)
    );
    border-radius: 2px;
}

.section-title.left-aligned::after {
    left: 0;
    transform: none;
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto 2rem auto;
    line-height: 1.7;
}

/* Start Of Demo Page*/

/* Demo Card Styles */
.demo-card {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.demo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.demo-card img {
    width: 100%;
    aspect-ratio: 5/6;
    object-fit: cover;
    object-position: top;
}

.demo-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 52, 96, 0.8);
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.demo-card:hover .demo-card-overlay {
    /*opacity: 1;*/
}

.demo-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.view-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-blue-dark);
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.view-btn:hover {
    transform: scale(1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.newtab-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-blue-dark);
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.newtab-btn:hover {
    transform: scale(1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: var(--primary-teal-dark);
    color: white;
}

/* Category Pills */
.category-pill {
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-pill.active {
    background: linear-gradient(135deg,
    var(--primary-blue-dark),
    var(--primary-blue-medium));
    color: white;
    box-shadow: 0 4px 8px rgba(15, 52, 96, 0.3);
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 50;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    position: relative;
    width: 90%;
    height: 95%;
    max-width: 1450px;
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.popup-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.popup-close, .popup-open-newtab {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-blue-dark);
    z-index: 60;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.popup-close:hover {
    transform: rotate(90deg);
}

.popup-open-newtab {
    top: 60px;
    right: 10px;
}

.popup-open-newtab:hover {
    transform: scale(1.1);
    background-color: var(--primary-teal-dark);
    color: white;
}

/* Search Input Styles */
.search-wrapper {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 3rem;
    border: 1px solid var(--gray-200);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-teal-medium);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}
.demo-placeholder {
    width: 100%;
    aspect-ratio: 5/6;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
}

.demo-placeholder i {
    font-size: 3rem;
}
/*End of Demo Page*/

