/* Import Kodchasan fonts */
@font-face {
    font-family: 'Kodchasan';
    src: url('../kodchasan_5.2.6/webfonts/kodchasan-latin-200-normal.woff2') format('woff2'),
         url('../kodchasan_5.2.6/webfonts/kodchasan-latin-200-normal.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Kodchasan';
    src: url('../kodchasan_5.2.6/webfonts/kodchasan-latin-300-normal.woff2') format('woff2'),
         url('../kodchasan_5.2.6/webfonts/kodchasan-latin-300-normal.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Kodchasan';
    src: url('../kodchasan_5.2.6/webfonts/kodchasan-latin-400-normal.woff2') format('woff2'),
         url('../kodchasan_5.2.6/webfonts/kodchasan-latin-400-normal.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Kodchasan';
    src: url('../kodchasan_5.2.6/webfonts/kodchasan-latin-500-normal.woff2') format('woff2'),
         url('../kodchasan_5.2.6/webfonts/kodchasan-latin-500-normal.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Kodchasan';
    src: url('../kodchasan_5.2.6/webfonts/kodchasan-latin-600-normal.woff2') format('woff2'),
         url('../kodchasan_5.2.6/webfonts/kodchasan-latin-600-normal.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Kodchasan';
    src: url('../kodchasan_5.2.6/webfonts/kodchasan-latin-700-normal.woff2') format('woff2'),
         url('../kodchasan_5.2.6/webfonts/kodchasan-latin-700-normal.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* CSS Custom Properties */
:root {
    --header-height-collapsed: 80px;
    
    --header-height-expanded: 220px;
    --gradient-colors: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
    --scrim-overlay: rgba(0, 0, 0, 0.15);
    --focus-outline: #ffeb3b;
    --text-light: #ffffff;
    --text-dark: #333333;
    --accent-color: #4facfe;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile Header Height Override */
@media (max-width: 768px) {
    :root {
        --header-height-collapsed: 35px;
        --header-height-expanded: 135px;
    }

}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: #f9f5f2;
    overflow-x: hidden;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Header System - Three Layers */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height-collapsed);
    transition: var(--transition-smooth);
    margin-top: 0;
}

/* Ensure header covers the very top of viewport */
body {
    margin-top: 0;
    padding-top: 0;
}

/* Force header to stick to very top */
html {
    margin: 0;
    padding: 0;
}

/* Layer 1: Logo floating on top (highest z-index) */
.header-content {
    position: fixed;
    top: 2rem;
    left: 0;
    right: 0;
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    pointer-events: auto;
}

.logo {
    height: 250px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

/* Layer 2: Background image header & hamburger (below logo) */
.header-gradient {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height-collapsed);
    background: url('../images/grad-bg.png') no-repeat top center;
    background-position-y: 1800px;
    background-repeat: repeat-y;
    background-size: cover;
    z-index: 1001;
    transition: var(--transition-smooth);
    opacity: .95;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-nav {
    display: none;
}

/* Scrim Layer for legibility (below logo, above gradient) */
.header-gradient::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--scrim-overlay);
    /* backdrop-filter: blur(2px); */
    pointer-events: none;
}

/* Header States */
.header.expanded .header-gradient {
    height: var(--header-height-expanded);
    top: 0;
}

/* Focus States */
.hamburger:focus,
.mobile-menu-nav a:focus,
.mobile-menu .apply-btn:focus {
    outline: 3px solid var(--focus-outline);
    outline-offset: 2px;
}

/* Main Content */
.main-content {
    margin-top: calc(var(--header-height-collapsed) + 150px);
    padding: 2rem;
    position: relative;
    z-index: 999;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 3rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.hero-section h1 {
    font-family: 'Kodchasan', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    text-transform: lowercase;
}

.hero-section h2 {
    font-family: 'Kodchasan', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--text-dark);
    opacity: 0.8;
    text-transform: lowercase;
}

.hero-section p {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    opacity: 0.8;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.cta-btn {
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none !important;
    font-weight: 600;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.cta-btn:hover {
    text-decoration: none !important;
}

.cta-btn:visited {
    text-decoration: none !important;
}

.cta-btn:active {
    text-decoration: none !important;
}

.cta-btn.grantees {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    border: none;
}

.cta-btn.guidelines {
    background: linear-gradient(135deg, #f98048 0%, #e1420d 100%);
    color: white;
    border: none;
    width: 150px;
}

.cta-btn.apply {
    background: linear-gradient(135deg, #a23a76 0%, #471bac 100%);
    color: white !important;
    text-decoration: none !important;
    width: 150px;
}

.cta-btn.apply:hover {
    color: white !important;
}

.cta-btn.apply:visited {
    color: white !important;
}

.cta-btn.about {
    background: linear-gradient(135deg, #4facfe 0%, #007ffe 100%);    
    color: white;
    border: none;
    width: 150px;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Email Signup */
.email-signup {
    text-align: center;
    margin-bottom: 3rem;
}

.mailchimp-content {
    text-align: center;
}

.mailchimp-content h3 {
    font-family: 'Kodchasan', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.subscribe-button {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1rem;
    color: #333;
    opacity: 1;
    margin: 0;
    padding: 0.75rem 1.5rem;
    border: 1px solid #333;
    border-radius: 20px;
    background: white;
    display: inline-block;
    transition: var(--transition-smooth);
    font-weight: 500;
    text-decoration: none !important;
}

.subscribe-button:hover {
    background: #333;
    color: white;
    transform: translateY(-1px);
    text-decoration: none !important;
}

.subscribe-button:visited {
    text-decoration: none !important;
}

.paper-airplane {
    stroke: currentColor;
    transition: var(--transition-smooth);
}

.mailchimp-content:hover .paper-airplane {
    transform: translateX(3px) rotate(15deg);
}

/* About Link Section */
.about-link-section {
    text-align: center;
    margin-bottom: 3rem;
}

.about-link-content {
    display: inline-block;
}

.about-link {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1rem;
    color: var(--accent-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid var(--accent-color);
    border-radius: 20px;
    transition: var(--transition-smooth);
    font-weight: 500;
}

.about-link:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-1px);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleY(0);
    transform-origin: top;
    animation: headerExpand 0.6s ease-out 0.2s forwards;
}

@keyframes headerExpand {
    to {
        transform: scaleY(1);
    }
}

.modal-logo {
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: logoFadeIn 0.8s ease-out 0.4s forwards;
}

.modal-logo-img {
    width: 120px;
    height: auto;
    filter: brightness(0) invert(1);
}

@keyframes logoFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-body {
    flex: 1;
    background: #f9f5f2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
    opacity: 0;
    animation: bodyFadeIn 0.8s ease-out 0.8s forwards;
}

.modal-message {
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

@keyframes bodyFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-message {
    margin-bottom: 3rem;
}

.modal-title {
    font-family: 'Kodchasan', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    opacity: 0;
    animation: titleSlideIn 0.8s ease-out 1s forwards;
}

@keyframes titleSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-subtitle {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0;
    animation: subtitleSlideIn 0.8s ease-out 1.2s forwards;
}

.newsletter-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.newsletter-link:hover {
    color: #5a6fd8;
    text-decoration: underline;
}

@keyframes subtitleSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animated Dots */
.animated-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0;
    animation: dotPulse 2s ease-in-out infinite;
}

.dot:nth-child(1) {
    animation-delay: 0s;
}

.dot:nth-child(2) {
    animation-delay: 0.3s;
}

.dot:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes dotPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.modal-close-btn {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    background: var(--accent-color);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    opacity: 0;
    animation: buttonFadeIn 0.8s ease-out 1.4s forwards;
}

@keyframes buttonFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close-btn:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.modal-close-btn:active {
    transform: translateY(0);
}

/* Initial states for animations */
.modal-title,
.modal-subtitle,
.modal-close-btn {
    transform: translateY(20px);
}

.modal-logo {
    transform: translateY(-20px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .modal-title {
        font-size: 2rem;
    }
    
    .modal-subtitle {
        font-size: 1.1rem;
    }
    
    .modal-body {
        padding: 2rem 1.5rem;
    }
    
    .modal-logo-img {
        width: 100px;
    }
    
    .modal-header {
        height: 35vh;
    }
    
    /* Mobile Header Adjustments */
    .header {
        height: 50px;
    }
    
    .logo {
        height: 150px;
    }
    
    .header-content {
        top: 0.75rem;
    }
    
    /* Mobile Hero Section Spacing */
    .hero-section {
        padding-top: 1rem;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
        line-height: 1.1;
        margin-bottom: 0.5rem;
    }
    
    .hero-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    /* Mobile Info Sessions */
    .session-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .session-info {
        margin-bottom: 0;
    }
    
    .session-btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
}

/* News Section */
.news-section {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.news-section h2 {
    font-family: 'Kodchasan', sans-serif;
    text-align: left;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.news-card {
    padding: 3rem 0;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.news-card:last-child {
    border-bottom: none;
}

.separator {
    height: 2px;
    background: linear-gradient(90deg, #ff6b6b 0%, #4ecdc4 50%, #45b7d1 100%);
    margin: 2rem 0;
    border-radius: 1px;
    width: 100%;
}

.news-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
}

.news-image.executive {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.news-image.dancers {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.news-image.speech-bubble {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.news-content h3 {
    font-family: 'Kodchasan', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.news-content p {
    font-family: 'Nunito Sans', sans-serif;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.6;
    font-size: 1rem;
}

.news-date {
    font-size: 0.9rem;
    color: var(--text-dark);
    opacity: 0.6;
    margin-top: 0.5rem;
    text-align: right;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 400;
}

.highlight-yellow {
    background: linear-gradient(120deg, #fff3cd 0%, #ffeaa7 100%);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-weight: 500;
}

/* Info Sessions Styling */
.info-sessions {
    margin: 2rem 0;
}

.session-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.session-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.session-info h4 {
    font-family: 'Kodchasan', sans-serif;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.session-time {
    font-family: 'Nunito Sans', sans-serif;
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.session-btn {
    display: inline-block;
    background: white !important;
    color: var(--accent-color) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    border: 2px solid var(--accent-color) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.session-btn:hover {
    background: var(--accent-color) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(79, 172, 254, 0.3);
    color: white !important;
    text-decoration: none;
    border-color: var(--accent-color) !important;
}

.session-btn:visited {
    color: var(--accent-color);
}

/* Home Link */
.home-link {
    position: fixed;
    top: 2rem;
    left: 2rem;
    z-index: 1003;
    pointer-events: auto;
}

.home-link a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    backdrop-filter: blur(4px);
    transition: var(--transition-smooth);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.home-link a:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.home-link svg {
    width: 20px;
    height: 20px;
}

.home-link svg path {
    stroke: #333;
    transition: var(--transition-smooth);
}

.home-link a:hover svg path {
    stroke: #a55eea;
}

/* About Page Styles */
.about-section {
    padding-top: calc(var(--header-height-collapsed) + 2rem);
    min-height: 100vh;
    background: #f9f5f2;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    text-align: left;
}

.about-content h1 {
    font-family: 'Kodchasan', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
}

.about-intro {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    line-height: 1.6;
    opacity: 0.9;
}

.partners-section {
    margin-top: 3rem;
}

.partners-section h2 {
    font-family: 'Kodchasan', sans-serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.partners-section p {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.8;
}

.partner-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.partner-org {
    text-align: center;
    padding: 1.5rem;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.partner-org:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.partner-org h3 {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    margin: 0;
    font-weight: 600;
}

.partner-org a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition-smooth);
    display: block;
    height: 100%;
}

.partner-org a:hover {
    color: #5a6fd8;
    text-decoration: none;
}

.partner-logo {
    max-width: 100%;
    height: 80px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: var(--transition-smooth);
}

.partner-org:hover .partner-logo {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Guidelines Page Styles */
.guidelines-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.guidelines-content h2 {
    font-family: 'Kodchasan', sans-serif;
    font-size: 2rem;
    margin: 3rem 0 1.5rem 0;
    color: var(--text-dark);
    font-weight: 700;
}

.guidelines-content h3 {
    font-family: 'Kodchasan', sans-serif;
    font-size: 1.4rem;
    margin: 2rem 0 1rem 0;
    color: var(--text-dark);
    font-weight: 600;
}

.guidelines-content p {
    font-family: 'Nunito Sans', sans-serif;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.6;
    font-size: 1rem;
}

.guidelines-content ul,
.guidelines-content ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.guidelines-content li {
    font-family: 'Nunito Sans', sans-serif;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.5;
}

.guidelines-content strong {
    font-weight: 600;
    color: var(--text-dark);
}

/* Global Link Styles */
a {
    color: #467886;
    text-decoration: none;
    transition: var(--transition-smooth);
    position: relative;
}

a:hover {
    color: #a55eea;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

a:visited {
    color: #96607D;
}

a:active {
    color: #0F4761;
    transform: translateY(1px);
}

/* Guidelines Page Link Styles */
.guidelines-content a {
    color: #467886;
    text-decoration: none;
    transition: var(--transition-smooth);
    position: relative;
}

.guidelines-content a:hover {
    color: #a55eea;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.guidelines-content a:visited {
    color: #96607D;
}

.guidelines-content a:active {
    color: #0F4761;
    transform: translateY(1px);
}

.guidelines-content .note {
    font-style: italic;
    opacity: 0.7;
    margin: 2rem 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.03);
    border-left: 3px solid #a55eea;
    border-radius: 0 4px 4px 0;
}

/* Footer Section */
.footer-section {
    margin-top: 4rem;
    padding: 3rem 0;
    background: #f9f5f2;
    /* border-top: 1px solid #e0e0e0; */
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-footer-link {
    margin-bottom: 2rem;
}

.footer-about-link {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1rem;
    color: #333;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border: 1px solid #333;
    border-radius: 20px;
    background: white;
    transition: var(--transition-smooth);
    font-weight: 500;
    display: inline-block;
}

.footer-about-link:hover {
    background: #333;
    color: white;
    transform: translateY(-1px);
    text-decoration: none !important;
}

.studiothread-branding {
    margin-top: 2rem;
}

.studiothread-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    transition: var(--transition-smooth);
}

.studiothread-link:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.studiothread-logo {
    height: 40px;
    width: auto;
    margin-bottom: 0.5rem;
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.studiothread-link:hover .studiothread-logo {
    opacity: 1;
}

.studiothread-tagline {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 200;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .news-card {
        flex-direction: column;
        text-align: center;
    }
    
    .news-image {
        margin: 0 auto;
    }
    
    .footer-section {
        margin-top: 3rem;
        padding: 2rem 0;
    }
    
    .footer-content {
        padding: 0 2rem;
    }
}
