@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;900&display=swap');

::-webkit-scrollbar {
    width: 14px;
}

::-webkit-scrollbar-track {
    background: rgba(240, 249, 255, 0.8);
    border-radius: 10px;
    box-shadow: inset 0 0 6px rgba(26, 115, 232, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #1a73e8 0%, #4682b4 50%, #00bcd4 100%);
    border-radius: 10px;
    border: 3px solid rgba(240, 249, 255, 0.8);
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #4682b4 0%, #1a73e8 50%, #ff7f50 100%);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.4);
    transform: scale(1.05);
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(135deg, #ff7f50 0%, #1a73e8 100%);
}

::-webkit-scrollbar-corner {
    background: rgba(240, 249, 255, 0.8);
}

* {
    scrollbar-width: thin;
    scrollbar-color: #1a73e8 rgba(240, 249, 255, 0.8);
}

* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f0f9ff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    line-height: 1.6;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a73e8;
    font-family: 'Montserrat', sans-serif;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #4a5568;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.6;
}

.section-divider {
    width: 6rem;
    height: 0.25rem;
    background-color: #ff7f50;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1rem;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.flex {
    min-width: 0;
}

.grid > * {
    min-width: 0;
    max-width: 100%;
}

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

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

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

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

.navbar {
    transition: all 0.3s ease;
    width: 100%;
}

.navbar.scrolled {
    background: rgba(26, 115, 232, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.navbar-blog {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background: rgba(26, 115, 232, 0.95);
}

.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.mobile-menu.open {
    max-height: 500px;
}

.hero-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.9) 0%, rgba(70, 130, 180, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 100%;
}

.hero-gradient-text {
    background: linear-gradient(135deg, #00e676 0%, #00bcd4 25%, #ffeb3b 50%, #ff7043 75%, #e91e63 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    font-weight: 900;
}

.hero-island-visual {
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.4), rgba(135, 206, 235, 0.2));
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 20% 100%);
    max-width: 100%;
}

.hero-blog {
    position: relative;
    overflow: hidden;
    min-height: 35vh;
    background-image: url('https://cdn.pixabay.com/photo/2018/05/20/19/11/pattern-3416554_1280.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.8) 0%, rgba(70, 130, 180, 0.9) 100%);
}

.hero-blog-content {
    position: relative;
    z-index: 10;
}

.radio-wave {
    position: relative;
    height: 100px;
    width: 100%;
    overflow: hidden;
    margin-top: -85px;
    background-color: transparent;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V120H0Z" opacity=".25" fill="%231a73e8"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V120H0Z" opacity=".5" fill="%231a73e8"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V120H0Z" fill="%231a73e8"/></svg>');
    background-repeat: repeat-x;
    background-size: 50% 100%;
    animation: wave 15s linear infinite;
}

@keyframes wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 15px rgba(255, 255, 255, 0.2); }
    50% { transform: scale(1.03); box-shadow: 0 0 25px rgba(255, 255, 255, 0.4); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fadeInUp { animation: fadeInUp 0.8s ease-out forwards; }
.animate-slideInLeft { animation: slideInLeft 0.8s ease-out forwards; }
.animate-slideInRight { animation: slideInRight 0.8s ease-out forwards; }
.animate-scaleIn { animation: scaleIn 0.8s ease-out forwards; }
.animate-float { animation: float 3s ease-in-out infinite; }
.animate-pulse-slow { animation: pulse 2.5s ease-in-out infinite; }

.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.fade-in-on-scroll.visible { opacity: 1; transform: translateY(0); }

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.slide-in-left.visible { opacity: 1; transform: translateX(0); }

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.slide-in-right.visible { opacity: 1; transform: translateX(0); }

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.scale-in.visible { opacity: 1; transform: scale(1); }

.operator-card-revised {
    background: linear-gradient(145deg, rgba(26, 115, 232, 0.08), rgba(70, 130, 180, 0.12));
    border: 1px solid rgba(26, 115, 232, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    color: #2d3748;
    width: 100%;
    max-width: 100%;
}
.operator-card-revised:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(26, 115, 232, 0.15);
}
.operator-icon-bg {
    transition: transform 0.3s ease;
}
.operator-card-revised:hover .operator-icon-bg {
    transform: scale(1.1);
}
.operator-card-revised h3 { color: #1a73e8; }
.operator-card-revised .bg-gray-700 { background-color: rgba(26, 115, 232, 0.7); color: white; }

.island-feature-card {
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 100%;
}
.island-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(26, 115, 232, 0.15);
}
.island-image-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}
.island-image-container img {
    transition: transform 0.4s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.island-image-container:hover img { transform: scale(1.05); }
.island-info-icon { transition: transform 0.3s ease; }
.island-feature-card:hover .island-info-icon { transform: rotate(-15deg) scale(1.1); }
.island-feature-card h3 { color: #1a73e8; }

.sponsor-logo-container {
    transition: transform 0.3s ease, filter 0.3s ease;
}
.sponsor-logo-container:hover {
    transform: scale(1.05);
}

.sponsor-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sponsor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(26, 115, 232, 0.15);
}

.blog-card {
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.timeline-item {
    position: relative;
    padding-left: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0.75rem;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, #1a73e8, #ff7f50);
}

.timeline-dot {
    position: absolute;
    left: 0.25rem;
    top: 1.5rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.timeline-dot.completed {
    background: #4caf50;
}

.timeline-dot.in-progress {
    background: #ff9800;
}

.timeline-dot.upcoming {
    background: #ff5722;
}

.featured-post {
    background: linear-gradient(135deg, #4caf50 0%, #2e8b57 100%);
    color: white;
}

.category-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 9999px;
}

.tag-preparation { background-color: #e0f2fe; color: #0277bd; }
.tag-equipment { background-color: #f3e5f5; color: #7b1fa2; }
.tag-operators { background-color: #e8f5e8; color: #2e7d32; }
.tag-technical { background-color: #fff3e0; color: #ef6c00; }
.tag-updates { background-color: #fce4ec; color: #c2185b; }
.tag-announcement { background-color: #e3f2fd; color: #1565c0; }
.tag-sponsor { background-color: #e8f5e8; color: #2e7d32; }

img {
    max-width: 100%;
    height: auto;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 0.75rem;
    padding: 1.5rem 1.25rem;
    min-width: 80px;
    max-width: 120px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    flex: 1;
}

.countdown-number {
    font-size: 2.25rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
}

.countdown-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 0.75rem;
    font-weight: 600;
}

.donation-card {
    background: linear-gradient(135deg, #1a73e8 0%, #4682b4 100%);
    border-radius: 1rem;
    padding: 2.5rem;
    color: white;
    text-align: center;
    box-shadow: 0 20px 30px -10px rgba(26, 115, 232, 0.3);
    width: 100%;
    max-width: 100%;
}
.donation-card a {
    background-color: #f5deb3;
    color: #1a73e8;
    font-weight: 700;
}
.donation-card a:hover {
    background-color: #e0cfa3;
}

.btn-primary {
    font-weight: 700;
    letter-spacing: 0.025em;
    transition: all 0.3s ease;
}

.btn-secondary {
    font-weight: 600;
    letter-spacing: 0.025em;
    transition: all 0.3s ease;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    animation: fadeIn 0.3s ease-out;
}

.modal-close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
}

.modal-close-button:hover,
.modal-close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-email-text {
    color: #1a73e8;
    font-weight: bold;
    word-break: break-all;
}

#station h4.font-semibold.text-ocean {
    color: #333;
    font-weight: 600;
}

.navbar .md\:flex.items-center.space-x-6 {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

@media (max-width: 768px) {
    .hero-container {
        min-height: auto;
        padding-top: 5rem;
        padding-bottom: 3rem;
        width: 100%;
    }
    .hero-content {
        flex-direction: column;
        padding-bottom: 3rem;
        width: 100%;
        max-width: 100%;
    }
    .hero-text {
        order: 2;
        text-align: center;
        width: 100%;
        max-width: 100%;
    }
    .hero-image-container {
        order: 1;
        margin-bottom: 2.5rem;
        width: 100%;
        max-width: 100%;
    }
    .radio-wave { height: 80px; margin-top: -65px; }
    .countdown-item {
        min-width: 65px;
        max-width: 85px;
        padding: 1rem 0.75rem;
        flex: 1;
        margin: 0 2px;
    }
    .countdown-number { font-size: 1.75rem; }
    .section-title { font-size: 2rem; }
    .hero-island-visual {
        width: 100%;
        max-width: 280px;
        height: 280px;
        margin: 0 auto;
    }
    .hero-blog {
        background-attachment: scroll;
        min-height: 30vh;
    }
    .timeline-item {
        padding-left: 2rem;
    }
    .timeline-item::before {
        left: 0.5rem;
    }
    .timeline-dot {
        left: 0;
    }
}

@media (min-width: 768px) and (max-width: 1100px) {
    .navbar .md\:flex.items-center.space-x-6 {
        justify-content: center;
    }
    .navbar .md\:flex.items-center.space-x-6 > * {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
        flex-shrink: 0;
    }
}

@media (min-width: 768px) and (max-width: 900px) {
     .navbar .md\:flex.items-center.space-x-6 {
        flex-wrap: wrap;
        justify-content: center;
    }
    .navbar .md\:flex.items-center.space-x-6 > * {
        margin: 0.25rem;
    }
}

@media (max-width: 640px) {
    .countdown-item {
        min-width: 60px;
        max-width: 75px;
        padding: 0.75rem 0.5rem;
    }
    .countdown-number { font-size: 1.5rem; }
    .countdown-label { font-size: 0.7rem; }
    .hero-content h1 { font-size: 2.5rem; line-height: 1.15; }
    .hero-content h2 { font-size: 1.25rem; }
    .hero-description { font-size: 1rem; }
    .radio-wave { margin-top: -55px; }
    .section-title { font-size: 1.8rem; }
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .hero-island-visual {
        width: 100%;
        max-width: 240px;
        height: 240px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
        word-break: break-word;
    }

    .hero-content h2 {
        font-size: 1.1rem;
    }

    .countdown-container {
        justify-content: center;
        gap: 0.25rem;
    }
}