/* =========================
   Open Modal Button
========================= */

.open-modal-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    background: #7c090c;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.open-modal-btn:hover {
    background: #9e0b0f;
}


/* =========================
   Modal Overlay
========================= */

.modal-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.60);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;
    box-sizing: border-box;

    z-index: 9999;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}


/* =========================
   Active Modal
========================= */

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* =========================
   Modal Box
========================= */

.custom-modal {
    position: relative;

    width: 100%;
    max-width: 560px;
  
  	background: #06080b;
	overflow: hidden;

    
    border-radius: 14px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.25);

    

    transform: translateY(20px) scale(0.97);

    transition:
        transform 0.25s ease;
}




/* Modal animation when opened */

.modal-overlay.active .custom-modal {
    transform: translateY(0) scale(1);
}


/* =========================
   Close Button
========================= */

.modal-close {
    position: absolute;

    top: 12px;
    right: 12px;

    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background: #f1f1f1;
    color: #333;

    font-size: 25px;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.modal-close:hover {
    background: #e5e5e5;
    color: #000;
    transform: rotate(90deg);
}

.modal-close:focus-visible {
    outline: 3px solid rgba(124, 9, 12, 0.3);
    outline-offset: 2px;
}


/* =========================
   Empty Content Area
========================= */

.modal-content {
    width: 100%;
  	
  	overflow: hidden !important;
  	
}


/* =========================
   Mobile Responsive
========================= */

@media (max-width: 576px) {

    .modal-overlay {
        padding: 14px;
    }

    .custom-modal {
        max-width: 100%;
        max-height: calc(100vh - 28px);

        border-radius: 12px;
    }

    .modal-close {
        top: 10px;
        right: 10px;

        width: 34px;
        height: 34px;

        font-size: 23px;
    }
}


/* =========================
   Prevent scrolling
   when modal is open
========================= */

body.modal-open {
    overflow: hidden;
}

.m1{
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    text-align: center;
    width: 100%;
}
.m2{
  	
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    text-align: center;
    width: 100%;
}
.m1p{
	font-size: 20px;
  line-height: 1.8;
  color: #ffffff;
  font-weight: 700;
  max-width: 650px;
  margin-bottom: 40px;
  font-family: "Space Grotesk";
}
#youtubeVideo{
	height: 315px;
  	width: 100%;
}