/* =================================================
   pages.css — page-level styles extracted from PHP files
   and consolidated here
   ================================================= */

/* ===== MODAL / POPUP (index.php) ===== */
@media (max-width: 1600px) {
    .form_poppup .modal-dialog { top: 36.7%; }
}
@media (max-width: 1200px) {
    .form_poppup .modal-dialog { top: 33.7%; }
}
@media (min-width: 576px) {
    .modal-dialog {
        max-width: 520px;
        margin: 1.75rem auto;
    }
}
@media (min-width: 768px) {
    .modal-dialog { max-width: 620px; }
}

/* Close button */
.modal .btn-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    filter: invert(1);
    opacity: 1;
}

/* Brochure modal body */
#exampleModal .modal-body {
    padding: 20px;
}
#exampleModal input,
#exampleModal select,
#exampleModal textarea {
    width: 100%;
    margin-bottom: 10px;
}
#exampleModal textarea { resize: none; }
#exampleModal button.global_btn { margin-top: 10px; }

/* Modal image panel */
.modal-bg {
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-sm);
    color: #fff;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.modal-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,37,64,.7), rgba(10,37,64,.4));
    z-index: 1;
}
.modal-bg > * {
    position: relative;
    z-index: 2;
}

/* Thank You modal */
#thankYouModal .modal-body { padding: 0 !important; }
#thankYouModal .modal-body img { width: 100%; display: block; }
@media (max-width: 1600px) { #thankYouModal .modal-dialog { top: 36.7%; } }
@media (max-width: 1200px) { #thankYouModal .modal-dialog { top: 33.7%; } }

/* Testimonial slider */
.testimonial_slider .slick-slide {
    display: none;
    float: left;
    height: auto !important;
    min-height: 1px;
}
blockquote p a { color: #fff !important; }
.slick-slide { height: auto !important; }

/* Testimonial wrapper */
.testimonial_wrapper {
    padding: clamp(2rem, 4vw, 3.5rem) 0;
    margin-bottom: clamp(1.5rem, 3vw, 3rem) !important;
}
.testimonial_wrapper .card {
    width: 100% !important;
    max-width: 18rem;
    height: auto !important;
    margin-bottom: 1.5rem !important;
}
.testimonial_wrapper .card-img-top {
    height: auto !important;
    max-height: 22rem;
    object-fit: cover;
}
.testimonial_slider {
    padding: 0 0.5rem;
    margin-bottom: 2rem;
}
.testimonial_slider .slick-track,
.testimonial_slider .slick-list {
    padding-bottom: 1rem !important;
    margin-bottom: 0 !important;
}
@media (min-width: 1400px) {
    .testimonial_wrapper { padding-bottom: 4vh; }
    .speaker-card { padding: 0 1.5rem; }
}
.testimonial_wrapper__content .row { margin: 0 -0.75rem; }

/* Speaker card hover */
.speaker-card a:hover .card {
    transform: translateY(-6px);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

/* ===== SPEAKER MODAL (speakers.php) ===== */
.speaker-modal .modal-dialog {
    max-width: 1000px;
    height: 100%;
}
.speaker-modal .modal-content {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.speaker-modal .modal-header {
    background: linear-gradient(135deg, var(--blue-color), #1a4a7a) !important;
    color: #fff !important;
    padding: 1rem 1.5rem;
}
.speaker-modal .modal-title {
    font-weight: 700;
    font-size: 1.2rem;
}
.speaker-modal .modal-body {
    background: #f7f9fc;
}
.carousel-item { padding: 2rem; }
.carousel-item .row { align-items: center; }
.carousel-item img {
    max-height: 300px;
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}
.carousel-item h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--blue-color);
}
.carousel-item p { font-size: 15px; color: #444; }
.carousel-item p.text-muted { font-size: 14px; color: #777; }
.carousel-control-prev-icon,
.carousel-control-next-icon { background-size: 36px 36px; }
.carousel-control-prev,
.carousel-control-next { width: 50px; }
.carousel-control-prev span,
.carousel-control-next span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(10,37,64,.6);
    backdrop-filter: blur(4px);
}
@media (max-width: 768px) {
    .speaker-modal img { width: 200px; }
    .carousel-item .row {
        flex-direction: column;
        text-align: center;
    }
    .carousel-item img { margin-bottom: 1rem; }
}
/* breadcrumb span size controlled by gots-2026.css */

/* ===== FORM STYLES (contact-us.php / register.php) ===== */
.form-select {
    border: 1.5px solid #d1d5db;
    background-color: #f9fafb;
    height: 3rem;
    border-radius: var(--radius-sm);
    transition: border-color var(--transition), box-shadow var(--transition);
    padding: 0 12px;
    color: var(--text-primary);
}

.form-select:focus {
    border-color: var(--orange-color);
    box-shadow: 0 0 0 3px rgba(40, 180, 220, .15);
    outline: none;
}

small {
    display: block;
    color: #ef4444;
    margin-top: 3px;
    margin-bottom: 8px;
    font-size: 12px;
}

/* ===== BROCHURE MODAL ===== */
.brochure-modal { border: none; border-radius: var(--radius); overflow: hidden; }

.brochure-modal__header {
    background: linear-gradient(135deg, var(--blue-color), #1a4a7a);
    border-bottom: none;
    padding: 1rem 1.5rem;
}

.brochure-modal__header .modal-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
}

.brochure-modal__body { padding: 1.5rem; background: #fff; }

.brochure-modal__body input,
.brochure-modal__body textarea,
.brochure-modal__body .form-select {
    background-color: #f9fafb;
    color: #1a1a2e;
}

/* ===== PARTNER / EXHIBITOR GRID — styling in gots-2026.css ===== */
.partner-grid-section { background: var(--c-ink-900); }

.partner-group-title {
    color: var(--white-color);
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding-bottom: 0.6rem;
    border-bottom: 3px solid var(--orange-color);
    margin-bottom: 1.5rem !important;
    margin-top: 2.5rem !important;
}

/* ===== PARTICIPANT LOGO CARDS ===== */
.participant-logo-card {
    background: #fff;
    border: 1.5px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius);
    padding: 14px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.participant-logo-card:hover {
    transform: translateY(-4px);
    border-color: var(--orange-color);
    box-shadow: var(--shadow-md);
}

.participant-logo-box {
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.participant-logo-box img {
    max-height: 100%;
    width: 100%;
    object-fit: contain;
}
