/* ========================================
   RESET
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

/* ========================================
   BODY - MODERN & DYNAMIC
   ======================================== */

body {
    font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
    color: #1a2a1a;
    line-height: 1.7;
    margin: 0;
    padding-top: 100px;
    background: #f5f5f5;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ORIGINAL BACKGROUND IMAGE - RESTORED */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url("../images/salustania.png") center center no-repeat;
    background-size: cover;
    opacity: 0.5;
    z-index: -1;
    pointer-events: none;
}

/* ADDITIONAL OVERLAY FOR DEPTH */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(67, 177, 67, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(67, 177, 67, 0.03) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

/* ========================================
   HEADER - GLASS MORPHISM
   ======================================== */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 90px;
    background: rgba(67, 177, 67, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 30px rgba(67, 177, 67, 0.25);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

header:hover {
    background: rgba(67, 177, 67, 0.96);
    box-shadow: 0 4px 40px rgba(67, 177, 67, 0.35);
}

/* SCROLLED STATE */
header.scrolled {
    height: 65px;
    background: rgba(67, 177, 67, 0.95);
    backdrop-filter: blur(10px);
}

.logo img {
    height: 70px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

header.scrolled .logo img {
    height: 45px;
}

.logo img:hover {
    transform: scale(1.05);
}

/* ========================================
   NAVIGATION - ENHANCED
   ======================================== */

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    position: relative;
    padding: 5px 0;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, #ffffff, #c8e6c9);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    transform: translateY(-2px);
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

/* ========================================
   SECTION - SOLID GREEN BORDER - NO MOVEMENT
   ======================================== */

.section {
    max-width: 1200px;
    margin: 25px auto;
    padding: 50px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    border-top: 6px solid #43B143;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

/* NO .section:hover - COMPLETELY REMOVED */

.section h2 {
    font-size: 38px;
    color: #1a4a1a;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 18px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* SPARKLE STAR ANIMATION */
.section h2::before {
    content: '✦';
    color: #43B143;
    margin-right: 12px;
    font-size: 32px;
    display: inline-block;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.5; transform: scale(1.2) rotate(180deg); }
}

.section h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 90px;
    height: 5px;
    background: linear-gradient(to right, #43B143, #79C679, #a8d5a8);
    border-radius: 3px;
}

.section p {
    font-size: 17px;
    line-height: 2;
    color: #1e2a1e;
    text-align: left;
    margin-bottom: 20px;
}

.section p b {
    color: #2f8f2f;
    font-weight: 700;
}

/* ========================================
   CORPORATE VIDEO SECTION
   ======================================== */

.corporate-video {
    margin: 40px 0 30px 0;
    padding: 30px;
    background: rgba(248, 255, 248, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 14px;
    border: 1px solid rgba(67, 177, 67, 0.15);
}

.corporate-video h3 {
    color: #1a4a1a;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

.corporate-video h3::before {
    content: '▶';
    color: #43B143;
    margin-right: 10px;
    font-size: 20px;
}

/* VIDEO WRAPPER - FIXED ASPECT RATIO */
.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    aspect-ratio: 16 / 9;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Fallback for older browsers */
@supports not (aspect-ratio: 16/9) {
    .video-wrapper {
        padding-bottom: 56.25%;
        height: 0;
    }
    
    .video-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

/* ========================================
   THUMBNAIL LABELS - MODERN
   ======================================== */

.video-thumbnails {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.thumb-label {
    padding: 10px 25px;
    background: rgba(232, 245, 232, 0.85);
    border: 2px solid #43B143;
    border-radius: 30px;
    color: #2f8f2f;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    transform: none !important;
    -webkit-tap-highlight-color: transparent;
    min-width: 120px;
    display: inline-block;
    text-align: center;
    font-family: inherit;
    line-height: normal;
    cursor: pointer;
}

.thumb-label:hover {
    background: #43B143;
    color: white;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(67, 177, 67, 0.3);
}

.thumb-label.active {
    background: #43B143;
    color: white;
    border-color: #2f8f2f;
    box-shadow: 0 6px 20px rgba(67, 177, 67, 0.3);
}

/* ========================================
   MISSION & VISION - ENHANCED
======================================== */

.mission-vision {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    margin-top: 40px;
    width: 100%;
}

.info-box {
    background: rgba(248, 255, 248, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-left: 5px solid #43B143;
    border-radius: 14px;
    padding: 30px 35px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    min-width: 0;
}

.info-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(67, 177, 67, 0.12);
    background: rgba(255, 255, 255, 0.95);
}

.info-box h3 {
    color: #1a4a1a;
    font-size: 26px;
    margin-bottom: 18px;
    font-weight: 700;
}

.info-box h3::before {
    content: '◆';
    color: #43B143;
    margin-right: 10px;
    font-size: 22px;
}

.info-box p {
    margin: 0;
    color: #1e2a1e;
    text-align: left;
    line-height: 2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ========================================
   FOOTER - MODERN
   ======================================== */

footer {
    background: linear-gradient(135deg, #1a4a1a, #2f8f2f);
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    padding: 25px 20px;
    margin-top: 50px;
    font-size: 15px;
    letter-spacing: 0.5px;
    border-top: 3px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   RESPONSIVE
============================================ */

/* TABLETS */
@media (max-width: 992px) {
    body {
        padding-top: 100px;
    }

    header {
        flex-direction: column;
        justify-content: center;
        height: auto;
        padding: 15px 20px;
        gap: 10px;
    }

    header.scrolled {
        height: auto;
        min-height: 65px;
    }

    .logo img {
        height: 60px;
    }

    header.scrolled .logo img {
        height: 45px;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .section {
        margin: 25px 20px;
        padding: 35px;
    }
    
    .section h2 {
        font-size: 32px;
    }

    .mission-vision {
        gap: 20px;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    body {
        padding-top: 150px;
    }

    header {
        flex-direction: column;
        gap: 8px;
        padding: 12px 20px;
        height: auto;
        min-height: 90px;
    }

    header.scrolled {
        height: auto;
        min-height: 65px;
    }

    nav {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        font-size: 13px;
    }

    .section {
        margin: 20px 15px;
        padding: 25px;
        border-top: 6px solid #43B143;
    }

    .section h2 {
        font-size: 28px;
    }

    .section h2::before {
        font-size: 26px;
    }

    .mission-vision {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .info-box {
        padding: 22px 25px;
    }

    .info-box h3 {
        font-size: 22px;
        text-align: left;
    }

    .info-box p {
        font-size: 16px;
        text-align: left;
        line-height: 1.8;
    }

    .corporate-video {
        padding: 15px;
    }
    
    .corporate-video h3 {
        font-size: 20px;
    }

    .video-thumbnails {
        gap: 10px;
    }

    .thumb-label {
        padding: 8px 16px;
        font-size: 12px;
        min-width: 90px;
    }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
    body {
        padding-top: 150px;
    }

    .logo img {
        height: 50px;
    }

    header.scrolled .logo img {
        height: 40px;
    }

    nav {
        gap: 8px;
    }

    nav a {
        font-size: 12px;
    }

    .section {
        padding: 20px;
        border-top: 6px solid #43B143;
    }
    
    .section h2 {
        font-size: 24px;
    }

    .section h2::before {
        font-size: 22px;
    }

    .info-box h3 {
        font-size: 20px;
    }

    .thumb-label {
        padding: 7px 14px;
        font-size: 11px;
        min-width: 80px;
    }
}

/* ============================================
   SILENT PROTECTION - FULL PROTECTION
   ============================================ */

/* Allow pointer events on clickable elements */
[onclick] {
    cursor: pointer !important;
}

/* Prevent ALL selection */
* {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* Prevent image selection and dragging - but keep pointer events for clickable images */
img {
    -webkit-user-drag: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

/* Only block pointer events on non-interactive images */
img:not([onclick]) {
    pointer-events: none !important;
}

/* Prevent text selection on body */
body {
    -webkit-user-select: none !important;
    user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

/* Disable text selection in ALL text elements */
p, h1, h2, h3, h4, h5, h6, span, div, label, button, a, li, ul, ol, strong, em, b, i {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    cursor: default !important;
}

/* But allow pointer cursor on interactive elements */
button, .thumb-label, [onclick] {
    cursor: pointer !important;
}

/* Make selection completely invisible */
::selection {
    background: transparent !important;
    color: inherit !important;
}

::-moz-selection {
    background: transparent !important;
    color: inherit !important;
}

::-webkit-selection {
    background: transparent !important;
    color: inherit !important;
}

/* ============================================
   SILENT PRINT BLOCKING - NO MESSAGES
   ============================================ */

@media print {
    body * {
        display: none !important;
        visibility: hidden !important;
    }
    
    html, body {
        background: white !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    body::before {
        display: none !important;
    }
}

.screenshot-warning {
    display: none !important;
}

/* Prevent iframe from being selected */
iframe {
    pointer-events: auto !important;
    -webkit-user-select: none !important;
    user-select: none !important;
}