/* RoSH Initiative Main Stylesheet */

figure.ganttchart {
    float: right;
    margin: 0px 30px 10px 10px;
    width: 300px;
    position: relative;
    top: -200px;
}

figure.ganttchart > figcaption {
    text-align: center;
}

/* Key Focus Areas Image */
.focus-visual {
    text-align: center;
    margin: 30px 0 40px;
}

.focus-visual img {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.focus-visual img:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.2);
}

.focus-caption {
    font-size: 0.85rem;
    color: #666;
    margin-top: 8px;
    font-style: italic;
}

/* Mobile spacing refinement */
@media (max-width: 767px) {
    .focus-visual {
        margin: 20px 0 30px;
    }
}

.references {
    max-width: 900px;
    margin: 0 auto;
}

.references-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.references-list li {
    margin-bottom: 1rem;
    padding-left: 2em;
    text-indent: -2em;
    line-height: 1.6;
    font-size: 0.95rem;
    color: #333;
}

.references-list a {
    word-break: break-word;
}

/* NAV ICONS */
.nav-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 2px;
}

.nav-icon {
    font-family: "Material Symbols Outlined";
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(0) scale(1) rotate(0deg);
    opacity: 0.95;
    transition: transform 220ms ease, opacity 220ms ease, filter 220ms ease;
    will-change: transform, filter;
}

.nav-links a:hover .nav-icon {
    transform: translateY(-2px) scale(1.06);
    opacity: 1;
    filter: drop-shadow(0 3px 8px rgba(0,0,0,0.25));
}

.nav-links a:focus-visible {
    outline: 2px solid rgba(119,200,204,0.8);
    outline-offset: 4px;
    border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
    .nav-icon {
        transition: none;
    }
    .nav-links a:hover .nav-icon {
        transform: none;
        filter: none;
    }
}

/* Clean email link */
a.email-link {
    text-decoration: none !important;
    border: none;
    color: inherit;
    cursor: pointer;
    font-weight: 500;
}

a.email-link:hover {
    opacity: 0.85;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-y: scroll;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f7efdd;
    scrollbar-gutter: stable;
}

/* Container with responsive breakpoints */
.container {
    width: 100%;
    max-width: 540px;
    margin: 20px auto;
    padding: 20px;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    border-radius: 3px;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.3), inset 2px 2px 4px rgba(0,0,0,0.2);
    background-color: #ffffff;
	background: url(images/Beach1.png) no-repeat center bottom #fff;
    padding-bottom: 100px;
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1140px;
    }
}

/* Navigation */
nav {
    background: #343a40;
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.nav-container strong {
    margin-right: 10px;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

nav a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.nav-links a:hover {
    text-decoration: none;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: 0.3s;
}

/* Mobile and Tablet Navigation */
@media (max-width: 1023px) {
    .hamburger {
        display: flex;
    }
    
    .nav-container strong {
        flex: 1;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        padding-top: 15px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        padding: 10px 0;
        border-bottom: 1px solid #495057;
    }
}

/* Hero Section */
.hero {
    border-radius: 10px;
    margin-bottom: 40px;
    text-align: center;
    display: grid;
    gap: 0;
    align-items: stretch;
    overflow: hidden;
    grid-template-columns: 1fr;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

@media (min-width: 1024px) {
    .hero {
        grid-template-columns: 300px 1fr;
        text-align: left;
    }
}

.hero-content {
    background: linear-gradient(135deg, #419DA6 0%, #77C8CC 100%);
    color: white;
    padding: 10px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    order: 2;
}

@media (min-width: 1024px) {
    .hero-content {
        order: 2;
    }
}

.hero-content h1 {
    font-size: 1.3em;
    margin-bottom: 10px;
}

@media (min-width: 1024px) {
    .hero-content h1 {
        font-size: 1.9em;
    }
}

.hero-content .subtitle {
    font-size: 1.1em;
    font-style: italic;
    margin-bottom: 5px;
    text-align: center;
}

@media (min-width: 768px) {
    .hero-content .subtitle {
        font-size: 1.3em;
    }
}

@media (min-width: 1024px) {
    .hero-content .subtitle {
        text-align: right;
    }
}

.hero-logo {
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 40px;
    order: 1;
}

@media (min-width: 1024px) {
    .hero-logo {
        order: 1;
    }
}

.hero-logo img {
    width: 100%;
    max-width: 220px;
    height: auto;
    object-fit: contain;
}

@media (min-width: 768px) {
    .hero-logo img {
        max-width: 280px;
    }
}

@media (min-width: 1024px) {
    .hero-logo img {
        max-width: 100%;
        width: 100%;
    }
}

/* Typography */
h2 {
    color: #419DA6;
    border-bottom: 3px solid #419DA6;
    padding-bottom: 10px;
    margin-top: 40px;
    margin-bottom: 20px;
}

h3 {
    color: #77C8CC;
    margin-top: 25px;
    margin-bottom: 15px;
}

h4 {
    color: #419DA6;
    margin-top: 20px;
    margin-bottom: 10px;
}

p {
    margin-bottom: 15px;
}

/* About Initiative Section with Video */
.about-content {
    display: grid;
    gap: 30px;
    align-items: start;
}

@media (min-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr 500px;
    }
}

.about-text {
    order: 1;
    text-align: justify;
}

.about-video {
    order: 2;
}

@media (max-width: 1023px) {
    .about-text {
        order: 1;
    }
    
    .about-video {
        order: 2;
    }
}

/* Responsive Video Container */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-caption {
    margin-top: 10px;
    font-size: 0.9em;
    color: #666;
    font-style: italic;
    text-align: center;
}

/* Stat Box */
.stat-box {
    background: #f8f9fa;
    border-left: 4px solid #419DA6;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Highlight Box */
.highlight-box {
    background: #fff3cd;
    border: 2px solid #ffc107;
    padding: 25px;
    margin: 30px 0;
    border-radius: 8px;
}

.proposed-label {
    display: inline-block;
    background: #ffc107;
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Objective Cards */
.objective-card {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
    border: 1px solid #ddd;
    padding: 25px;
    margin: 20px 0;
    border-radius: 12px;
    text-align: justify;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.objective-card * {
    position: relative;
    z-index: 1;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Team Member Cards */
.team-member {
    background: #f8f9fa;
    padding: 25px;
    margin: 20px 0;
    border-radius: 3px;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.team-member-header {
    display: grid;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .team-member-header {
        grid-template-columns: 200px 1fr;
    }
}

/* Team Member Institution Logos */
.team-member-institutions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    float: right;
    margin-left: 20px;
    margin-bottom: 15px;
}

@media (max-width: 1023px) {
    .team-member-institutions {
        display: none;
    }
}

.team-logo-container {
    width: 100px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-logo-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}

.team-logo-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.team-member::after {
    content: "";
    display: table;
    clear: both;
}

.team-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 5px solid white;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin: 0 auto;
    display: block;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 20px 0;
}

@media (min-width: 768px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .info-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

.info-card {
    background: #e9ecef;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Partner Logos Section */
.partner-logos-section {
    margin: 40px 0;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.partner-logos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
    justify-items: center;
}

@media (min-width: 768px) {
    .partner-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (min-width: 1024px) {
    .partner-logos-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
}

.social-icon {
    font-size: 20px;
    vertical-align: middle;
    margin-right: 6px;
    color: #419DA6;
}

.logo-container {
    width: 100%;
    max-width: 250px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.logo-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.logo-container a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
}

.logo-container a:link,
.logo-container a:visited,
.logo-container a:hover,
.logo-container a:active {
    color: inherit;
    text-decoration: none;
}

/* SVRI Logo */
.svri-wrapper {
    text-align: center;
    margin: 20px 0;
}

.svri-link {
    display: inline-block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.svri-link:link,
.svri-link:visited,
.svri-link:hover,
.svri-link:active {
    color: inherit;
    text-decoration: none;
}

.svri-logo {
    transition: transform 0.3s ease, filter 0.3s ease;
    display: block;
    margin: 30px auto;
    width: 200px;
    max-width: 100%;
    height: auto;
}

.svri-link:hover .svri-logo {
    transform: translateY(-4px);
    filter: drop-shadow(0 6px 10px rgba(0,0,0,0.18));
}

/* Contact Info */
.contact-info {
    background: linear-gradient(135deg, #419DA6 0%, #77C8CC 100%);
    color: white;
    padding: 30px;
    border-radius: 8px;
    margin: 20px 0;
}

.contact-info h3 {
    color: white;
    border: none;
}

.contact-info a {
    color: white;
    text-decoration: underline;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 5px;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Footer */
footer {
    background: #343a40;
    color: white;
    padding: 20px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1140px;
    margin: 0 auto;
}

.footer-section {
    margin-bottom: 10px;
}

.footer-section h3 {
    color: white;
    border: none;
}

.footer-motto {
    font-size: 1.3em;
    font-style: italic;
    color: white;
    text-align: center;
    margin: 15px 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}

footer a {
    color: #77C8CC;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Lists */
ul, ol {
    margin: 15px 0;
    padding-left: 25px;
}

li {
    margin: 8px 0;
}

/* Links */
a {
    color: #419DA6;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Emoji */
.emoji {
    font-size: 1.2em;
}

/* Collaboration boxes */
.collab-box {
    background: white;
    padding: 20px;
    margin: 15px 0;
    border-radius: 5px;
    border-left: 4px solid #419DA6;
}

/* Why Tourism Image - Right Aligned Figure */
.why-tourism-figure {
    float: right;
    margin: 0 0 20px 20px;
    max-width: 300px;
    width: 100%;
}

.why-tourism-figure img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    display: block;
}

.why-tourism-figure figcaption {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
    text-align: center;
    margin-top: 8px;
    line-height: 1.4;
}

/* Survey Interview Image - Left Aligned Figure */
.survey-interview-figure {
    float: left;
    margin: 0 20px 20px 0;
    max-width: 300px;
    width: 100%;
}

.survey-interview-figure img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    display: block;
}

.survey-interview-figure figcaption {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
    text-align: center;
    margin-top: 8px;
    line-height: 1.4;
}

/* Responsive utilities */
@media (max-width: 767px) {
    .nav-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-content h1 {
        font-size: 1.8em;
    }
    
    figure.ganttchart {
        float: none;
        margin: 0 auto;
        width: 300px;
        position: relative;
        top: 0px;
    }
    
    .why-tourism-figure {
        float: none;
        margin: 0 auto 20px;
        max-width: 100%;
    }
    
    .survey-interview-figure {
        float: none;
        margin: 0 auto 20px;
        max-width: 100%;
    }
}

/* Mobile: Stack the image above text */
@media (min-width: 768px) and (max-width: 1023px) {
    .why-tourism-figure {
        max-width: 250px;
    }
    
    .survey-interview-figure {
        max-width: 250px;
    }
}

