/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, #e6f0ff, #ffffff);
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ===== Container Layout ===== */
.container {
    width: 100%;
    max-width: 400px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
    box-sizing: border-box;
}

/* ===== Headings ===== */
h1, h2, h3, .title {
    text-align: center;
    margin-bottom: 10px;
    font-weight: bold;
}

.title {
    font-size: 24px;
    margin-top: 10px;
}

h1 span.orange,
.title span {
    color: orange;
}

/* ===== Logo & Images ===== */
.logo {
    display: block;
    margin: 20px auto;
    max-width: 150px;
}

.hand-img {
    width: 150px;
    margin: 10px auto;
}

/* ===== Registration Box ===== */
.reg-box {
    background-color: #4a79b5;
    color: white;
    padding: 20px;
    border-radius: 5px;
    text-align: left;
}
.reg-box label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
}
.reg-box input[type="text"],
.reg-box input[type="tel"] {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 16px;
}
.reg-box button {
    width: 100%;
    padding: 12px;
    background-color: orange;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.reg-box button:hover {
    background-color: darkorange;
}

/* ===== Card / Box Style (Generic) ===== */
.card {
    background-color: #2d74b8;
    color: white;
    padding: 15px;
    margin: 10px 0;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}
.card:hover {
    background-color: #1f5b8a;
}

/* ===== Video Section ===== */
.video-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    margin: 15px 0;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 400px;
}
.video-title {
    font-weight: bold;
    text-align: center;
    padding: 10px;
    font-size: 18px;
}

/* ===== Video Thumbnail with Play Button ===== */
.thumbnail-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.thumbnail {
    width: 100%;
    height: auto;
    display: block;
}
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.play-button::before {
    content: '';
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent white;
}

/* ===== Buttons (Generic & Navigation) ===== */
button,
.next-btn,
.video-btn,
.reg-btn {
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.video-btn, .reg-btn {
    background-color: #3366cc;
    color: white;
    font-size: 18px;
    text-align: center;
    padding: 20px;
    margin-bottom: 15px;
}
.video-btn:hover, .reg-btn:hover {
    background-color: #254b99;
}

/* ===== Footer ===== */
.footer {
    margin-top: auto;
    text-align: center;
    font-size: 14px;
    padding: 15px 0;
    color: #666;
}
.footer img {
    max-width: 80px;
    margin: 5px;
}
.logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 10px;
}

.logos img {
    height: 80px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.logos img:hover {
    transform: scale(1.1);
}


/* ===== Video Page Layout ===== */
.video-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
}

.video-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    margin: 15px 0;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 380px;
    text-align: center;
    transition: transform 0.2s ease;
}

.video-card:hover {
    transform: scale(1.02);
}

.video-title {
    font-weight: bold;
    font-size: 18px;
    padding: 12px;
    background: #f8f8f8;
}

.thumbnail-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; /* Keeps videos same height */
    background: #000;
}

.thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.play-button::before {
    content: '';
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent white;
}


/* Registration Formats Page */
.reg-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 15px;
}

.reg-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.reg-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.reg-card h3 {
    margin: 0;
    font-size: 18px;
    color: #3366cc;
}

.reg-card p {
    margin-top: 8px;
    font-size: 14px;
    color: #555;
}

.reg-card::before {
    content: "📝";
    display: block;
    font-size: 30px;
    margin-bottom: 10px;
}
