@charset "utf-8";
/* CSS Document */

:root {
    --text-scale: 1;
}

/* PREVENT HORIZONTAL OVERFLOW */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}
/* Body */
body {
	font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", serif;
	font-size: calc(16px * var(--text-scale));
	background-color: #BEE4F8;
	margin: 0;
}
/* Container */
.container {
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #BEE4F8;
}
/* Header */
header {
background: #2f2f2f;
    border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    margin: 0;
}

h2 {
	text-align: center;
}
.site-header {
    border-bottom: none;
}

.branding {
    display: flex;
    align-items: center;
    gap: 10px;
}

.branding h1 {
    margin: 0;
	color: white;
}

.main-nav {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
    margin-right: 30px;
}

.main-nav ul {
    display: flex;
	text-align: center;
    gap: 20px;
	padding-top: 20px;
	padding-left: 50px;
    list-style: none;
}

.main-nav a {
	background: #198754;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    margin: 5px;
    transition: .3s;
}

.main-nav a.active,
.main-nav a:hover {
    background: #157347;
    transform: translateY(-3px);
	text-decoration: underline;
}

.understanding-page {
	background-color: #f0f6fa;
}

.signs-page {
	background-color: #f0f5f0;
}

.help-page {
	background-color: #faf7ef;
}

.hope-page {
	background-color: #f5f0f8;
}

.silence-page {
	background-color: #eff7f7;
}

.info-card {
    position: relative;
}

.card-section {
	 display: flex;
    justify-content: center;
   	align-items: stretch;
    gap: 12px;
    max-width: 1100px;
    margin: 15px auto;
    padding: 0 15px;
}

.card-section .info-card {
    flex: 1 1 0;
    min-width: 0;
	font-size: 13px;
padding: 10px 5px;
}

.card-section .info-card:nth-child(4),
.card-section .info-card:nth-child(5) {
    grid-column: auto;
}

.card-section .info-card {
    flex: 0 0 20%;
    width: 20%;
    box-sizing: border-box;
}

.card-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* HERO IMAGE SECTION */
.hero {
    position: relative;
    width: 100%;
    height: 610px;
    margin: 0;
    padding: 0 60px 60px;
    box-sizing: border-box;
    overflow: hidden;
    isolation: isolate;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;

    background-color: #172b3a;
}

/* HERO IMAGE */
.hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    z-index: -2;
}

/* DARK OVERLAY */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 25, 38, 0.30),
        rgba(10, 25, 38, 0.72)
    );
    z-index: -1;
}

/* HERO TEXT */
.hero h1 {
    color: white;
    font-family: Georgia, serif;
    font-size: calc(46px * var(--text-scale));
    margin-bottom: 10px;
}

.hero p {
    color: white;
    font-size: calc(20px * var(--text-scale));
}

/* VIDEO SECTION */
.video-section {
    position: relative;
    width: 100%;
    padding: 35px 20px 45px;
    box-sizing: border-box;
    background: #BEE4F8;
    text-align: center;
    margin-top: 0;
}

/* VIDEO INTRODUCTION */
#overlay {
    position: absolute;
    top: 35px;
    left: 0;
    right: 0;
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
	text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.65);
    background: transparent;
    z-index: 2;
}

#overlay h1 {
    font-family: Georgia, serif;
    font-size: calc(28px * var(--text-scale));
    color: #243e52;
    margin-bottom: 15px;
}

#overlay h2 {
    font-size: calc(22px * var(--text-scale));
    color: #243e52;
    margin-bottom: 15px;
}

/* VIDEO PLAYER */
#psaVideo {
    display: block;
    width: 90%;
    max-width: 900px;
    height: auto;
    margin: 0 auto;
    border-radius: 12px;
}

/* INFORMATION CARDS */

.info-cards {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: -55px auto 25px;
    padding: 0 20px;

    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.info-card {
    grid-column: span 2;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 5px 18px rgba(0,0,0,0.12);
    text-align: center;
    transition: transform 0.3s ease;
    box-sizing: border-box;
}

.info-cards .info-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.info-cards .info-card:nth-child(5) {
    grid-column: 4 / span 2;
}


/* Keep the last two cards together and centered */

.info-card:hover {
    transform: translateY(-5px);
}

.info-card h3 {
    margin-top: 0;
    font-size: calc(20px * var(--text-scale));
}

.info-card p {
    font-size: calc(15px * var(--text-scale));
    line-height: 1.6;
}

/* CARD COLORS */

.card-blue {
    background-color: #dcecf5;
}

.card-green {
    background-color: #dcebe0;
}

.card-ivory {
    background-color: #f5f0e5;
}

.card-purple {
    background-color: #e9e2f0;
}

.card-teal {
    background-color: #d9eeee;
}

/* TABLET AND MOBILE */

@media (max-width: 768px) {
    .info-cards {
        grid-template-columns: repeat(4, 1fr);
    }

    .info-card:nth-child(4),
    .info-card:nth-child(5) {
        grid-column: span 2;
	}
}

@media (max-width: 480px) {
    .info-cards {
        grid-template-columns: 1fr;
    }

    .info-cards .info-card,
    .info-cards .info-card:nth-child(4),
    .info-cards .info-card:nth-child(5) {
        grid-column: 1;
    }
}


.letter img {
	display: block;
	width: 60%;
	background-color: #BEE4F8;
	margin: 0 auto;
	transform: rotate(-3deg);
}

.text_column {
	width: 90%;
	text-align: left;
	font-weight: bold;
	line-height: 25px;
	float: left;
	padding-left: 20px;
	padding-right: 20px;
	color: #00004d;
}

.support {
	color: #FFFFFF;
	font-size: 1.5em;
	padding-left: 20px;
	padding-right: 20px;
}

.gallery {
	clear: both;
	display: flex;
	justify-content: space-between;
	align-items: stretch;
	flex-wrap: wrap;
	width: 100%;
	background-color: #FFFFFF;
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 35px;
	padding-top: 0px;
	margin-top: -5px;
	margin-bottom: 0px;
}
.thumbnail {
	width: 20%;
	text-align: center;
	margin-top: 35px;
	background-color: #F8F8F8;
	padding-bottom: 20px;
	border-radius: 3px;
	padding-top: 20px;
	border-bottom: 4px solid #157347;
}
.gallery .thumbnail h4 {
	margin-top: 5px;
	margin-bottom: 5px;
	color: black;
	text-align: left;
	padding-left: 20px;
	padding-right: 20px;
}
.gallery .thumbnail p {
	margin: 0;
	color: #00004d;
	text-align: left;
	padding-left: 20px;
}
/* More info */
.intro {
	background-color: #FFFFFF;
	padding-bottom: 35px;
}
.column {
	width: 50%;
	text-align: center;
	padding-top: 30px;
	float: left;
}

.cards {
	width: 100%;
	height: auto;
	max-width: 400px;
	max-height: 200px;
	opacity: 0.8;
}
.intro .column p {
	padding-left: 30px;
	padding-right: 30px;
	text-align: justify;
	line-height: 25px;
	font-weight: lighter;
	margin-left: 20px;
	margin-right: 20px;
	width: 80%;
	margin-top: 4%;
}

/* BREAKING THE SILENCE LAYOUT */

.silence-content {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 15px;
    max-width: 1400px;
    margin: 40px auto;
    padding: 20px;
}

.silence-text {
    flex: 0 1 24%;
    min-width: 0;
    text-align: center;
	margin-top: 90px;
}

.silence-page .silence-text {
    margin-top: 130px;
}

.silence-text:first-child {
    transform: translateX(90px);
}

.silence-text:last-child {
    transform: translateX(-90px);
}

.silence-content img {
	transform: translateY(70px);
    width: 30%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
}

/* WORDS OF HOPE IMAGE */

.hope-image {
    flex: 0 0 30%;
    display: flex;
    justify-content: center;
    align-items: center;
	margin: 0 70px;
}

.hope-image img {
	transform: translateY(70px);
    width: 100%;
    max-width: 400px;
    height: auto;
}

.hope-image {
    flex: 0 0 35%;
}

.hope-image img {
    width: 100%;
}

/* WORDS OF HOPE TEXT POSITIONING */
.hope-page .silence-text {
    margin-top: 60px;
}

/* WORDS OF HOPE TEXT POSITIONING */
.hope-page .silence-text:first-child {
    transform: translateX(50px);
}

.hope-page .silence-text:last-child {
    transform: translateX(-50px);
}

/*UNDERSTANDING IMAGES*/
.teen-image,
.veteran-image,
.adult-image {
    flex: 0 0 35%;
	transform: translateY(30px);
    margin: 0 20px;
}

.teen-image img,
.veteran-image img,
.adult-image img {
    width: 85%;
    max-width: 450px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
}

.understanding-page .veteran-image {
    transform: translateY(10px);
}

.understanding-page .silence-text:first-child,
.understanding-page .silence-text:last-child {
    transform: translateY(-50px);
}

/* PAGE QUOTE */
.page-quote {
    max-width: 950px;
    width: 85%;
    margin: 50px auto 40px;
    padding: 25px 35px;
    background-color: #d9eeee;
    border-radius: 16px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.10);
    box-sizing: border-box;
    text-align: center;
}

.page-quote blockquote {
    font-size: 20px;
    font-style: italic;
    line-height: 1.6;
    color: #243e52;
    margin: 0;
}

.page-quote p {
    font-size: 16px;
    font-weight: bold;
    color: #243e52;
    margin: 15px 0 0;
}

.hope-page .page-quote {
    max-width: 90%;
    width: fit-content;
}

/* FOOTER */
.site-footer {
    text-align: center;
	width: 100%;
    padding: 20px;
    background: #FAF6F6;
    color: black;
    margin-top: 40px;
}

footer p a {
	color: #040404;
	text-decoration: none;
}

/* RESPONSIVE NAVIGATION */
@media screen and (max-width: 768px) {

    header {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .branding {
        flex-direction: column;
        text-align: center;
		gap: 5px;
		align-items: center;
    }

    .main-nav {
        margin: 15px 0;
    }

   .main-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 0;
    margin: 0;
}
	
	.main-nav li {
    margin-bottom: 15px;
}

    .hero {
        height: 500px;
        padding: 30px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .video-section {
        padding: 40px 15px;
    }

  #overlay h1 {
    	font-size: 19px;
   	 	line-height: 1.1;
	  	margin-bottom: 0;
	}

	#overlay h2 {
    	font-size: 18px;
    	line-height: 1.1;
		margin-top: 0;
    	margin-bottom: 8px;
	}

	#overlay h2:last-child {
    	font-size: 15px;
    	line-height: 1;
    	margin-top: 5px;
    	margin-bottom: 0;
	}
	
	#overlay {
    	top: 30px;
	}

    #psaVideo {
        width: 100%;
    }
	
	.text-size-controls {
        justify-content: center;
        margin: 15px auto 5px;
    }
	
	    /* BREAKING THE SILENCE - MOBILE */

    .silence-content {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .silence-text,
	.silence-text:first-child,
	.silence-text:last-child {
    	flex: 0 1 90%;
   	 	width: 90%;
    	min-width: 0;
    	margin-top: 0;
    	transform: none;
    	text-align: center;
	}

    .silence-content img {
        width: 70%;
        max-width: 350px;
        margin: 0 auto;
    }
	
	/* WORDS OF HOPE - MOBILE ADJUSTMENTS */
	.hope-page .silence-text:first-child,
	.hope-page .silence-text:last-child {
    	transform: none;
	}

	.hope-page .hope-image {
    	flex: 0 0 auto;
    	width: 90%;
    	margin: 0;
	}

	.hope-page .hope-image img {
    	width: 85%;
    	max-width: 450px;
	}
	
	/* UNDERSTANDING PAGE - MOBILE IMAGE POSITION */

	.understanding-page .teen-image,
	.understanding-page .veteran-image,
	.understanding-page .adult-image {
    	flex: 0 0 auto;
    	width: 90%;
    	margin: 0 auto;
    	transform: none;
	}

/* RESET UNDERSTANDING TEXT POSITION */

	.understanding-page .silence-text,
	.understanding-page .silence-text:first-child,
	.understanding-page .silence-text:last-child {
    	transform: none;
	}
	
	.understanding-page .silence-content img {
    	transform: translateY(0);
	}
	
	/* UNDERSTANDING PAGE - DECORATIVE SECTION DIVIDERS */

	.understanding-page .silence-content {
    	position: relative;
    	padding-bottom: 35px;
    	margin-bottom: 25px;
	}

/* Soft gradient divider */
	.understanding-page .silence-content:nth-of-type(-n+2)::after {
    	content: "";
    	position: absolute;
    	bottom: 0;
    	left: 15%;
    	width: 70%;
    	height: 2px;
    background: -webkit-linear-gradient(left, transparent, #8aa9bd, #547d99, #8aa9bd, transparent);
    background: -o-linear-gradient(left, transparent, #8aa9bd, #547d99, #8aa9bd, transparent);
    background: linear-gradient(to right, transparent, #8aa9bd, #547d99, #8aa9bd, transparent);;
}

/* Small decorative diamond in the center */
	.understanding-page .silence-content:nth-of-type(-n+2)::before {
    	content: "";
    	position: absolute;
    	bottom: -5px;
    	left: 50%;
    	width: 12px;
    	height: 12px;
    	background: #547d99;
    	transform: translateX(-50%) rotate(45deg);
	}
	
	.signs-page .warning-signs-list {
    	position: relative;
    	left: -30px;
	}
}

	h1 {
    	font-size: 30px;
    	text-align: center;
    	line-height: 1.2;
	}

	.text-size-controls {
    	display: flex;
    	gap: 8px;
   	 	justify-content: flex-end;
    	margin: 15px 0 5px;
    	width: 100%;
	}

	.text-size-controls button {
    	background-color: #dcecf5;
    	border: 1px solid #b5cbd9;
    	border-radius: 8px;
    	padding: 6px 12px;
    	font-size: 18px;
    	font-weight: bold;
    	cursor: pointer;
	}

	.text-size-controls button:hover {
    	background-color: #c5dfed;
	}

	.card-section .info-card {
    	grid-column: auto;
    	padding: 10px 5px;
    	width: auto;
    	min-width: 0;
    	flex: 1 1 0;
	}
	
	@media (max-width: 480px) {

    .gallery {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .thumbnail {
        width: 100%;
        float: none;
        margin: 0;
    }

}

@media screen and (max-width: 768px) {
    .text-size-controls {
        justify-content: center;
        margin: 15px auto 5px;
    }
	
	 .card-section {
        flex-direction: column;
        align-items: stretch;
    }

    .card-section .info-card {
        width: 100%;
        flex: none;
    }
	.help-page .help-text-columns {
    	flex-direction: column;
    	align-items: center;
    	gap: 25px;
	}
	
	/* HELP PAGE - MOBILE COLUMN DIVIDER */

	.help-page .help-text-columns .silence-text:first-child {
    	position: relative;
    	padding-bottom: 30px;
    	margin-bottom: 5px;
	}

	.help-page .help-text-columns .silence-text:first-child::after {
   		 content: "";
    	position: absolute;
    	bottom: 0;
    	left: 15%;
    	width: 70%;
    	height: 2px;
    background: -webkit-linear-gradient(left, transparent, #8aa9bd, #547d99, #8aa9bd, transparent);
    background: -o-linear-gradient(left, transparent, #8aa9bd, #547d99, #8aa9bd, transparent);
    background: linear-gradient(to right, transparent, #8aa9bd, #547d99, #8aa9bd, transparent);
	}

	.help-page .help-text-columns .silence-text:first-child::before {
    	content: "";
    	position: absolute;
    	bottom: -5px;
    	left: 50%;
    	width: 12px;
    	height: 12px;
    	background: #547d99;
    	transform: translateX(-50%) rotate(45deg);
	}
	
}

/* HELP PAGE - DESKTOP LAYOUT */

.help-page .help-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
    max-width: 1200px;
    margin: 40px auto;
}

.help-page .help-image {
    width: 75%;
    max-width: 850px;
    flex: none;
    display: flex;
    justify-content: center;
    margin: 0;
}

.help-page .help-image img {
    width: 100%;
    max-width: 850px;
    height: auto;
    transform: none;
    margin: 0 auto;
}

.help-text-columns {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    width: 90%;
    max-width: 1100px;
}

.help-text-columns .silence-text {
    flex: 1;
    margin-top: 0;
    transform: none;
}

/* 988 LIFELINE BUTTERFLY */

.lifeline-link {
    position: fixed;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.lifeline-link img {
    width: 90px;
    height: auto;
    display: block;
}

/* SIGNS PAGE - DESKTOP LAYOUT */

.signs-page .signs-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
    max-width: 1200px;
    margin: 40px auto;
}

.signs-page .signs-image {
    width: 75%;
    max-width: 850px;
    flex: none;
    display: flex;
    justify-content: center;
    margin: 0;
}

.signs-page .signs-image img {
    width: 100%;
    max-width: 850px;
    height: auto;
    transform: none;
    margin: 0 auto;
}

.signs-text-columns {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    width: 90%;
    max-width: 1100px;
}

.signs-text-columns .silence-text {
    flex: 1;
    margin-top: 0;
    transform: none;
}

.warning-signs-section {
    width: 90%;
    max-width: 1100px;
    margin: 30px auto;
    text-align: center;
}

.warning-signs-list {
    list-style: none;
    padding: 0;
    margin: 20px auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.warning-signs-list li {
	font-weight: bold;
    background: white;
    border-radius: 15px;
    padding: 15px;
    text-align: center;
}

/* =================================
   VIDEO RESOURCES PAGE
================================= */

.videos-page {
    width: 100%;
    width: 100%;
    margin: 0 auto;
}

.videos-page header {
    width: 100%;
    margin: 0;
}

/* Introductory section */

.videos-intro {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 20px 30px;
}

.videos-intro h2 {
    color: #243e52;
    font-size: 32px;
    margin-bottom: 20px;
}

.videos-intro p {
    font-size: calc(20px * var(--text-scale));
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Two-column video layout */

.video-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual video cards */

.video-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Video frame */

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Video title and description */

.video-description {
    padding: 22px 25px;
}

.video-description h3 {
    color: #243e52;
    font-size: calc(20px * var(--text-scale));
    margin: 0 0 12px;
}

.video-description p {

    font-size: calc(16px * var(--text-scale));
    line-height: 1.6;
    margin: 0;
}

/* Mobile layout */

@media (max-width: 768px) {

    .videos-page {
        width: 94%;
    }

    .video-gallery {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .videos-intro {
        padding: 20px 10px;
    }

    .videos-intro h2 {
        font-size: 26px;
    }

    .video-description h3 {
        font-size: 21px;
    }
}

/* BUTTERFLY POSITION ON VIDEO RESOURCES PAGE */

.video-resources-page .lifeline-link {
    position: static;
    transform: none;
    align-self: flex-end;
    margin: 10px 0 0;
    background: transparent;
    padding: 0;
}

.video-resources-page .lifeline-link img {
    width: 70px;
}



.videos-page .site-header {
    margin-top: 0;
}





