/* --- President's Note Section --- */
.president-note-section {
    padding: 5rem 0;
    background-image: linear-gradient(to bottom right, var(--gray-50), var(--daikin-blue-transparent));
}

.president-note-container {
    max-width: 80rem; /* max-w-7xl */
    margin: 0 auto;
    padding: 0 1rem;
}

.president-note-card {
    background-color: var(--note-bg-color);
    border-radius: 1rem; /* rounded-2xl */
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    overflow: hidden;
    max-width: 72rem; /* max-w-6xl */
    margin: 0 auto;
}

.president-note-grid {
    display: grid;
    gap: 0;
    min-height: 400px;
}

/* --- Image --- */
.president-note-image-wrapper {
    position: relative;
    overflow: hidden;
}

.president-note-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Content --- */
.president-note-content-wrapper {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.president-note-text-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* space-y-6 */
    justify-content: flex-start;
    align-items: flex-start;
}

.president-note-heading {
    font-size: 1.5rem; /* text-2xl */
    font-weight: 600; /* font-semibold */
    color: white;
}

.president-note-quote {
    font-size: 1.25rem; /* text-xl */
    line-height: 1.625; /* leading-relaxed */
    color: white;
    font-style: italic;
    margin: 0;
    padding: 0;
    border: 0;
}

.president-note-paragraph {
    font-size: 1.125rem; /* text-lg */
    color: var(--gray-200);
    line-height: 1.625; /* leading-relaxed */
    margin: 0;
}

.president-note-signature-wrapper {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.president-note-signature {
    color: var(--daikin-blue);
    font-weight: 600; /* font-semibold */
    font-size: 1.125rem; /* text-lg */
    width: 100%;
}

.button-video-link {
    display: inline-block; /* Equivalent to inline-block */
    background-color: rgba(0, 0, 0, 0.3); /* Equivalent to bg-black/30 */
    backdrop-filter: blur(4px); /* Equivalent to backdrop-blur-sm */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Equivalent to border border-white/20 */
    border-radius: 9999px; /* Equivalent to rounded-full */
    padding: 0.5rem 1rem; /* Equivalent to px-4 py-2 */
    color: #87CEEB; /* A representative value for daikin-light-blue */
    font-size: 0.875rem; /* Equivalent to text-sm */
    font-weight: 500; /* Equivalent to font-medium */
    text-decoration: none; /* Remove underline from link */
    transition: color 0.2s ease-in-out; /* Equivalent to transition-colors duration-200 */
}

.button-video-link:hover {
    color: #fff; /* Equivalent to hover:text-white */
}

.button-video-link .icon-video {
    width: 18px;
    height: 18px;
    background: #87CEEB;
    margin-right: 5px;
    transition: all 0.3s linear;
}

.button-video-link:hover .icon-video {
    background: var(--white);
    transition: all 0.3s linear;
}

.video-modal {
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal[style*="display: none"] {
    pointer-events: none;
}

.video-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
}

.video-modal-content {
    position: relative;
    background: #fff;
    border-radius: 8px;
    max-width: 90vw;
    max-height: 80vh;
    width: 600px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    animation: modal-fade-up 0.35s cubic-bezier(0.4,0,0.2,1);
}

.video-modal-close {
    width: 25px;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1rem;
    height: 25px;
    border-radius: 75px;
    border: none;
    color: #333;
    cursor: pointer;
    position: absolute;
    top: -30px;
    right: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
}

.video-modal-iframe-container {
    width: 100%;
    aspect-ratio: 16/9;
    margin-top: 1.5rem;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.videoFrameWrapper {
    padding: 0;
    position: relative;
    width: 100%
}

.videoFrameWrapper iframe {
    aspect-ratio: 16 / 9;
}

.video-modal-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 6px;
    background: #000;
}

@keyframes modal-fade-up {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* --- Responsive Styles --- */
@media (min-width: 640px) {
    .president-note-container {
        padding: 0 1.5rem;
    }

    .president-note-heading {
        font-size: 1.875rem; /* sm:text-3xl */
    }
}

@media only screen and (min-device-width: 320px) and (max-device-width: 1024px) and (orientation: landscape) {
    .videoFrameWrapper iframe {
        aspect-ratio: 16 / 7;
    }
}

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

    .president-note-image-wrapper {
        grid-column: span 2 / span 2;
    }

    .president-note-content-wrapper {
        grid-column: span 3 / span 3;
        padding: 3rem;
    }

    .president-note-quote {
        font-size: 1.25rem; /* md:text-xl */
    }
}

@media (min-width: 1024px) {
    .president-note-container {
        padding: 0 2rem;
    }
}
