h1,
h2,
h3 {
	display: block;
	margin: 0;
	padding: 0;
	border: 0;
	font: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	color: inherit;
	text-align: inherit;
	text-transform: none;
	letter-spacing: inherit;
	background: none;
}

.hero-section {
    position: relative;
    overflow: hidden;
    height: calc(100vh - 70px);
    min-height: 420px;
    background: var(--background);
}

.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
}

.shape-purple {
    top: 0;
    right: 0;
    width: 25vw;
    height: 80%;
    background: var(--secondary);
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 100% 100%);
}

.shape-blue {
    right: 0;
    bottom: 0;
    width: 32vw;
    height: 80%;
    background: var(--primary);
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 0 100%);
}

.shape-blue-2 {
    right: 0;
    top: 0;
    width: 32vw;
    height: 80%;
    background: var(--primary);
    clip-path: polygon(0 0%, 100% 100%, 100% 0);
}

.shape-program-blue {
    left: 0;
    top: 0;
    width: 100vw;
    height: 100%;
    background: var(--primary);
    clip-path: polygon(100% 0, 0 0, 0 50%);
}

.shape-program-purple {
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100%;
    background: var(--secondary);
    clip-path: polygon(100% 40%, 80% 100%, 100% 100%);
}

.shape-registration-purple {
    right: 0;
    top: 0;
    width: 100vw;
    height: 100%;
    background: var(--secondary);
    clip-path: polygon(100% 40%, 80% 0, 100% 0);
}

.shape-footer {
    left: 0;
    top: 0;
    width: 100vw;
    height: 100%;
    background: var(--primary);
    clip-path: polygon(0 0, 100% 0, 35% 100%, 0 100%);
}

.eulist-logo-home {

    position:absolute;
    bottom: 6vw;
    right: 6.8vw;
    width: 10vw;
    z-index:10;
}

.main-title {
    display: block;
    font-size: 6.5rem;
    line-height: 7.5rem;
    letter-spacing: 0.05em;
    font-weight: 100;
    color: var(--default);
    width: 90%;
}

.main-date {
    display: block;
    font-size: 2.8rem;
    text-transform: uppercase;
    line-height: 6.5rem;
    letter-spacing: 0.05em;
    font-weight: 600;
    color: var(--default);

}

.main-venue {
    display: block;
    font-size: 1.8rem;
    text-transform: uppercase;
    line-height: 0.1rem;
    letter-spacing: 0.05em;
    font-weight: 300;
    color: var(--default);

}

.btn {

    border:0;
    border-radius: 0;

}

.main-title-about {
    display: block;
    font-size: 3.5rem;
    line-height: 4.5rem;
    letter-spacing: 0.05em;
    font-weight: 100;
    color: var(--default);
}

.program-card {
    background: var(--background-transparent);
    border-radius: 0;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    z-index:10;
}

.countdown .h1{
    font-size: 4rem;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--dark);
    margin-bottom: 2rem;
}

.activity-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
}

.activity-image {
	width: 100%;
}

.activity-image img {
	display: block;
	width: 100%;
	height: 220px;
	object-fit: cover;
}

.activity-container {
    background: var(--secondary);
    padding: 1.4rem 2rem;
    z-index:10;
    display: flex;
	flex-direction: column;
	flex-grow: 1;
}
.activity-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.activity-content {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.2rem;
    flex-grow: 1;
}

.venue-media-row {
	min-height: 400px;
}

.img-container,
.venue-map-container {
	position: relative;
	overflow: hidden;
	min-height: 400px;
}

.venue-img,
.venue-map {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 400px;
	border: 0;
}

.venue-img {
	object-fit: cover;
	object-position: center;
}

@media (max-width: 767.98px) {
	.venue-media-row {
		min-height: auto;
	}

	.img-container,
	.venue-map-container,
	.venue-img,
	.venue-map {
		min-height: 300px;
	}
}

.statement-container {

    padding-top: 2rem;
    z-index:10;
}

.logos-footer-container {
    position:absolute;
    bottom: 4rem;
    right: 18rem;
    transform: translateX(-50%);
    display: flex;
    gap: 7rem;  
    width: 8vw;
}

/* .countdown span .h1::after {
    content: ":";
    margin-left: 0.4rem;
}

.countdown span:last-child .h1::after {
    content: "";
} */

/* Make this specific radio group look like the compact block design */
.bootstrap .form-group {
	max-width: 430px;
}

/* Question label */
.bootstrap .form-group .main-label {
	display: block;
	margin-bottom: 8px;
	color: var(--dark);
	font-size: 0.95rem !important;
	font-weight: 500;
}

/* Each option row */
.bootstrap .form-group .form-check {
	position: relative;
	display: block;
	margin-bottom: 8px;
	padding: 0;
}

/* Hide the native radio circle */
.bootstrap .form-group .form-check-input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

/* Style the visible option */
.bootstrap .form-group .form-check-label {
	display: block;
	width: 100%;
	padding: 8px 12px;
	border-radius: 5px;
	background: #d9d4dc;
	color: var(--dark);
	font-size: 0.9rem !important;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

/* Hover */
.bootstrap .form-group .form-check-label:hover {
	background: #cbc5d0;
}

/* Selected option */
.bootstrap .form-group .form-check-input:checked + .form-check-label {
	background: var(--primary);
	color: #fff;
}

/* Keyboard focus */
.bootstrap .form-group .form-check-input:focus + .form-check-label {
	outline: 2px solid var(--primary);
	outline-offset: 2px;
}

/* ---------------------------------------------------------
   Responsive improvements
   Keep desktop layout intact, but remove fixed desktop sizing
   and oversized spacing on tablets/mobile.
--------------------------------------------------------- */

html {
    overflow-x: hidden;
    scroll-padding-top: 70px;
}

body,
.body {
    overflow-x: hidden;
}

#home,
#about,
#program,
#registration,
#activities,
#news,
#venue,
#contact,
#statement {
    position: relative;
    overflow: hidden;
}

#home > .container,
#about > .container,
#program > .container,
#registration > .container,
#activities > .container,
#news > .container,
#statement > .container {
    position: relative;
    z-index: 2;
}

.home-buttons .btn {
    white-space: nowrap;
}

.activity-image img,
.card-img-top {
    width: 100%;
    height: auto;
}

/* Large tablets and below */
@media (max-width: 991.98px) {
    .section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    #home {
        height: auto !important;
        min-height: calc(100svh - 70px);
        padding: 4rem 0 7rem;
    }

    #about,
    #activities,
    #statement {
        height: auto !important;
        min-height: auto !important;
    }

    #program .container {
        display: block !important;
    }

    .program-card {
        width: 100% !important;
        padding: 2.25rem !important;
    }

    .program-card-content {
        margin-top: 2rem !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .main-title {
        width: 100%;
        max-width: 760px;
        font-size: clamp(3.1rem, 11vw, 5rem);
        line-height: 1.05;
        letter-spacing: 0.025em;
    }

    .main-date {
        font-size: clamp(1.4rem, 5vw, 2.2rem);
        line-height: 1.25;
        margin-top: 1rem !important;
    }

    .main-venue {
        font-size: clamp(1rem, 3vw, 1.4rem);
        line-height: 1.35;
        margin-top: 0.7rem;
    }

    .main-title-about {
        font-size: clamp(2.2rem, 8vw, 3.3rem);
        line-height: 1.12;
    }

    .section-title {
        font-size: clamp(2rem, 7vw, 2.6rem);
        line-height: 1.15;
    }

    .section-subtitle {
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        font-size: 1.15rem;
        line-height: 1.45;
    }

    .eulist-logo-home {
        width: 130px;
        right: 1.25rem;
        bottom: 1.25rem;
    }

    .shape-purple,
    .shape-blue,
    .shape-blue-2 {
        width: 48vw;
        opacity: 0.9;
    }

    .shape-program-blue,
    .shape-program-purple,
    .shape-registration-purple,
    .shape-footer {
        opacity: 0.8;
    }

    #registration .row {
        row-gap: 2rem;
    }

    #registration .countdown {
        margin: 1rem 0 2rem !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .countdown .h1 {
        font-size: clamp(2.1rem, 9vw, 3.2rem);
    }

    .activity-card {
        height: 100%;
    }

    .activity-container {
        min-height: auto;
    }

    .contact-container {
        gap: 1.5rem;
    }

    .logos-footer-container {
        position: relative;
        right: auto;
        bottom: auto;
        transform: none;
        width: min(100%, 360px);
        gap: 2rem;
        margin: 2.5rem auto 0;
        justify-content: center;
        align-items: center;
        z-index: 2;
    }

    .logos-footer-container img {
        max-width: 160px;
        width: 45%;
    }
}

/* Phones */
@media (max-width: 767.98px) {
    .header-container {
        min-height: 70px;
    }

    .header-logo a {
        font-size: 0.95rem !important;
    }

    .header-btn-collapse-nav {
        margin-left: 0.75rem;
    }

    .header-nav-main nav.show,
    .header-nav-main nav.collapsing {
        width: 100%;
    }

    .header-nav-main #mainNav {
        padding: 0.75rem 0;
    }

    #home {
        min-height: calc(100svh - 70px);
        padding: 3rem 0 6.5rem;
    }

    .home-buttons {
        width: 100%;
        margin-top: 2rem !important;
    }

    .home-buttons .btn {
        width: 100%;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .main-title {
        font-size: clamp(2.55rem, 14vw, 4rem);
        line-height: 1.02;
        word-break: normal;
    }

    .main-date {
        font-size: 1.45rem;
    }

    .main-venue {
        font-size: 1rem;
    }

    .eulist-logo-home {
        width: 105px;
    }

    .shape-purple {
        width: 58vw;
        height: 45%;
    }

    .shape-blue {
        width: 70vw;
        height: 45%;
    }

    .shape-blue-2 {
        width: 70vw;
        height: 42%;
    }

    #about .text-5,
    #registration .text-5 {
        font-size: 1.05rem !important;
        line-height: 1.55;
    }

    .program-card {
        padding: 1.5rem !important;
    }

    .program-card-content {
        font-size: 1rem !important;
        line-height: 1.45;
    }

    .program-card-content p {
        margin-bottom: 0.95rem;
    }

    .bootstrap .form-group {
        max-width: none;
    }

    #google-forms-css,
    #google-forms-css-main,
    #google-forms-css-form {
        width: 100%;
    }

    input[type=text].form-control,
    textarea.form-control,
    select.form-control {
        width: 100%;
        min-height: 44px;
    }

    .bootstrap .form-group .form-check-label {
        padding: 11px 13px;
        font-size: 0.95rem !important;
    }

    .activity-card {
        margin-bottom: 1.5rem;
    }

    .activity-image img {
        width: 100%;
        max-height: 260px;
        object-fit: cover;
    }

    .activity-container {
        padding: 1.25rem;
    }

    .activity-content {
        font-size: 1rem;
        line-height: 1.45;
    }

    #news .row {
        margin-top: 1.5rem !important;
        padding-top: 0 !important;
    }

    #venue .col-md-2,
    #venue .col-md-10 {
        text-align: center;
    }

    .contact-container {
        flex-direction: column;
        align-items: stretch !important;
        text-align: center;
    }

    .contact-container .btn {
        width: 100%;
    }

    .footer-statement {
        padding-bottom: 3rem;
    }

    .statement-container {
        padding-top: 0;
    }

    #footer .footer-copyright p {
        text-align: center;
        line-height: 1.5;
        margin-bottom: 0;
    }
}

/* Small phones */
@media (max-width: 575.98px) {
    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .main-title {
        font-size: clamp(2.25rem, 15vw, 3.4rem);
        letter-spacing: 0.015em;
    }

    .program-card {
        padding: 1.2rem !important;
    }

    .program-card-title {
        font-size: 1.8rem !important;
    }

    .countdown .h1 {
        font-size: 2rem;
    }

    .logos-footer-container {
        flex-direction: column;
        gap: 1.25rem;
    }

    .logos-footer-container img {
        width: 70%;
        max-width: 190px;
    }
}
