/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===========================
   BODY - MODERN & DYNAMIC WITH ORIGINAL BACKGROUND
=========================== */

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);
}

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

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

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

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

nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    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: visible;
}

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

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

.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;
}

/* SPARKLE ANIMATION - ENHANCED AND MORE VISIBLE */
.section h2::before {
    content: '✦';
    color: #43B143;
    margin-right: 15px;
    font-size: 36px;
    display: inline-block;
    animation: sparkle 2s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(67, 177, 67, 0.3);
    position: relative;
    top: 2px;
}

@keyframes sparkle {
    0% { 
        opacity: 1; 
        transform: scale(1) rotate(0deg); 
        text-shadow: 0 0 20px rgba(67, 177, 67, 0.3);
    }
    25% {
        opacity: 0.8;
        transform: scale(1.1) rotate(45deg);
        text-shadow: 0 0 30px rgba(67, 177, 67, 0.5);
    }
    50% { 
        opacity: 0.4; 
        transform: scale(1.3) rotate(90deg); 
        text-shadow: 0 0 40px rgba(67, 177, 67, 0.7);
    }
    75% {
        opacity: 0.8;
        transform: scale(1.1) rotate(135deg);
        text-shadow: 0 0 30px rgba(67, 177, 67, 0.5);
    }
    100% { 
        opacity: 1; 
        transform: scale(1) rotate(180deg); 
        text-shadow: 0 0 20px rgba(67, 177, 67, 0.3);
    }
}

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

.section p b {
    color: #2f8f2f;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

/* ========================================
   ISO SECTION - MODERN DESIGN
   ======================================== */

.iso-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.iso-header h2 {
    margin: 0;
    font-size: 38px;
    color: #1a4a1a;
}

.iso-header h2::before {
    content: '⬡';
    color: #43B143;
    margin-right: 12px;
    font-size: 34px;
}

/* FIX: Allow pointer cursor on ISO image */
.iso-title-img {
    height: 85px;
    width: auto;
    border-radius: 12px;
    border: 2px solid #43B143;
    box-shadow: 0 4px 15px rgba(67, 177, 67, 0.2);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 5px;
    background: white;
    pointer-events: auto !important;
}

.iso-title-img:hover {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 0 10px 35px rgba(67, 177, 67, 0.35);
}

.iso-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.iso-text {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 30px 35px;
    border-left: 5px solid #43B143;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.03);
}

.iso-text p {
    margin-bottom: 20px;
}

.iso-text p:last-child {
    margin-bottom: 0;
}

/* ========================================
   AWARDS SECTION - PRESERVED ENHANCED
   ======================================== */

.awards-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 35px;
}

/* Award Card - Enhanced but same structure */
.info-box {
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 4px solid #43B143;
    box-shadow: 0 8px 30px rgba(67, 177, 67, 0.12);
    display: flex;
    flex-direction: column;
    min-height: 380px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #e8f5e9;
    cursor: pointer;
}

.info-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.5) 30%,
        rgba(0, 0, 0, 0.85) 100%
    );
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-box:hover::before {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0.6) 30%,
        rgba(0, 0, 0, 0.92) 100%
    );
}

.info-box::after {
    content: '';
    position: absolute;
    inset: 8px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    z-index: 1;
    pointer-events: none;
    transition: all 0.3s ease;
}

.info-box:hover::after {
    border-color: rgba(255, 255, 255, 0.25);
}

.info-box:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 60px rgba(67, 177, 67, 0.3);
    border-color: #2f8f2f;
}

.info-overlay {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    min-height: 380px;
}

.info-content {
    padding: 22px 25px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-box:hover .info-content {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transform: translateY(-8px);
}

.info-box h3 {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
    position: relative;
    padding-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.info-box h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 3px;
    background: linear-gradient(to right, #79C679, #43B143);
    border-radius: 2px;
}

.info-box p {
    color: #f0f0f0;
    font-size: 13.5px;
    line-height: 1.8;
    margin-bottom: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    font-weight: 400;
}

.view-details {
    display: inline-block;
    margin-top: 12px;
    color: #79C679;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.info-box:hover .view-details {
    color: #a8d5a8;
    transform: translateX(8px);
    letter-spacing: 2px;
}

/* ========================================
   MODAL - ENHANCED
   ======================================== */

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: fadeIn 0.4s ease;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(60px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-content {
    background: linear-gradient(145deg, #ffffff, #f5faf5);
    border-radius: 28px;
    max-width: 1200px;
    width: 95%;
    max-height: 92vh;
    overflow: hidden;
    box-shadow: 
        0 40px 100px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(67, 177, 67, 0.4);
    animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.close {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 0, 0, 0.5);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.close:hover {
    color: #fff;
    transform: rotate(90deg) scale(1.1);
    background: rgba(255, 50, 50, 0.8);
    border-color: #ff6666;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.2);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 550px;
}

.modal-image-container {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    min-height: 450px;
    border-right: 4px solid #43B143;
    position: relative;
    overflow: hidden;
}

.modal-image-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(67, 177, 67, 0.1), transparent 60%),
        radial-gradient(circle at 70% 60%, rgba(67, 177, 67, 0.05), transparent 40%);
    pointer-events: none;
}

#modalImage {
    max-width: 100%;
    max-height: 400px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.15));
    animation: fadeIn 0.6s ease;
    border-radius: 8px;
}

.modal-text {
    padding: 50px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
    position: relative;
}

#modalTitle {
    color: #1a4a1a;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 20px;
    letter-spacing: -0.5px;
}

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

#modalDescription {
    color: #2a3a2a;
    font-size: 19px;
    line-height: 2;
    margin-bottom: 20px;
    font-weight: 400;
}

/* ========================================
   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;
    width: 100%;
    font-size: 14px;
    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;
    }

    .logo img {
        height: 60px;
    }

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

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

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

    .awards-box {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .info-box {
        min-height: 350px;
    }
    
    .info-overlay {
        min-height: 350px;
        padding: 20px;
    }
    
    .info-box h3 {
        font-size: 17px;
    }
    
    .info-box p {
        font-size: 13px;
    }
    
    .info-content {
        padding: 18px 20px;
    }
    
    .modal-body {
        min-height: 450px;
    }
    
    .modal-image-container {
        padding: 35px;
        min-height: 350px;
    }
    
    #modalImage {
        max-height: 320px;
    }
    
    .modal-text {
        padding: 35px 30px;
    }
    
    #modalTitle {
        font-size: 30px;
    }
    
    #modalDescription {
        font-size: 17px;
    }
}

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

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

    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
    
    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;
    }
    
    .awards-box {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }
    
    .info-box {
        min-height: 320px;
    }
    
    .info-overlay {
        min-height: 320px;
        padding: 18px;
    }
    
    .info-content {
        padding: 16px 18px;
    }
    
    .info-box h3 {
        font-size: 16px;
    }
    
    .info-box p {
        font-size: 12.5px;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .modal-image-container {
        border-right: none;
        border-bottom: 4px solid #43B143;
        padding: 30px;
        min-height: 280px;
    }
    
    #modalImage {
        max-height: 250px;
    }
    
    .modal-text {
        padding: 30px 25px;
    }
    
    #modalTitle {
        font-size: 26px;
        padding-bottom: 14px;
    }
    
    #modalTitle::after {
        width: 50px;
        height: 4px;
    }
    
    #modalDescription {
        font-size: 16px;
        line-height: 1.8;
    }
    
    .close {
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 35px;
    }
    
    .iso-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .iso-title-img {
        height: 80px;
    }
}

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

    .logo img {
        height: 50px;
    }

    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;
    }

    .awards-box {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .info-box {
        min-height: 350px;
    }
    
    .info-overlay {
        min-height: 350px;
        padding: 20px;
    }
    
    .info-content {
        padding: 20px 22px;
    }
    
    .info-box h3 {
        font-size: 18px;
    }
    
    .info-box p {
        font-size: 14px;
    }
    
    .modal-content {
        max-height: 95vh;
        border-radius: 18px;
        border-width: 3px;
    }
    
    .modal-image-container {
        min-height: 200px;
        padding: 20px;
    }
    
    #modalImage {
        max-height: 180px;
    }
    
    .modal-text {
        padding: 25px 20px;
    }
    
    #modalTitle {
        font-size: 22px;
        padding-bottom: 12px;
    }
    
    #modalTitle::after {
        width: 40px;
        height: 3px;
    }
    
    #modalDescription {
        font-size: 15px;
        line-height: 1.7;
    }
    
    .close {
        top: 12px;
        right: 12px;
        width: 38px;
        height: 38px;
        font-size: 28px;
    }
}

/* ============================================
   SILENT PROTECTION - KEPT AS IS
   ============================================ */

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

.iso-title-img {
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Prevent image selection and dragging - but keep pointer events for clickable images */
img {
    -webkit-user-drag: none !important;
    -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(.iso-title-img):not([onclick]) {
    pointer-events: none !important;
}

.modal-image-container img {
    pointer-events: none !important;
}

body {
    -webkit-user-select: none !important;
    user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

* {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
}

p, h1, h2, h3, h4, h5, h6, span, div, label, button, a {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

::selection {
    background: transparent !important;
}

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

/* ============================================
   SILENT PRINT BLOCKING - KEPT
   ============================================ */

@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;
}

.modal-content.blurred {
    filter: none !important;
}