/* ================================================================
   AYUSH PHARMACY INSTITUTE — INNER PAGES
   Theme:  Deep Teal & Amber  (matches nav/home/footer stylesheets)
   Palette:  Teal #0B5D51 | Dark Teal #06302B | Amber #F59E0B
================================================================ */

.pg-page { font-family: 'Roboto', sans-serif; color: #233330; background: #fff; }
.pg-page * { box-sizing: border-box; }
.pg-page img { max-width: 100%; }

.pg-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 18px;
}
.pg-section { padding: 40px 0; }
.pg-section.alt { background: #f4faf8; }

/* --- Page banner --- */
.pg-banner {
    background: linear-gradient(rgba(6,48,43,0.88), rgba(6,48,43,0.88)), url('../ayush/slide1.jpg') center/cover no-repeat;
    padding: 44px 0;
    border-bottom: 3px solid #F59E0B;
}
.pg-banner .pg-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.pg-banner h1 {
    margin: 0;
    color: #fff;
    font-size: 27px;
    font-weight: 700;
}
.pg-banner h1 i {
    color: #F59E0B;
    margin-right: 10px;
    font-size: 24px;
}
.pg-banner .crumbs {
    color: #a8c8c2;
    font-size: 13px;
}
.pg-banner .crumbs a { color: #d7e9e5; text-decoration: none; }
.pg-banner .crumbs a:hover { color: #F59E0B; }
.pg-banner .crumbs i { margin: 0 8px; font-size: 11px; color: #F59E0B; }
.pg-banner .crumbs span { color: #F59E0B; font-weight: 600; }

/* --- Section title --- */
.pg-title { text-align: center; margin-bottom: 28px; }
.pg-title .kicker {
    display: inline-block;
    color: #F59E0B;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.2px;
    margin-bottom: 6px;
}
.pg-title h2 {
    margin: 0 0 10px;
    font-size: 25px;
    font-weight: 700;
    color: #0B5D51;
    line-height: 1.25;
}
.pg-title .bar {
    width: 60px;
    height: 3px;
    background: #F59E0B;
    margin: 0 auto;
    border-radius: 2px;
}
.pg-title p { color: #5c6b67; margin: 10px auto 0; max-width: 640px; font-size: 14px; }

/* --- Card --- */
.pg-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(16,42,38,0.09);
    padding: 26px;
}

/* --- Buttons --- */
.pg-btn {
    display: inline-block;
    background: #F59E0B;
    color: #3a2503;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 9px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.pg-btn:hover { background: #0B5D51; color: #fff; }
.pg-btn.sm { padding: 7px 14px; font-size: 11.5px; }

/* ================================================================
   TABLE  (notices / faculties)
================================================================ */
.pg-tablewrap {
    overflow-x: auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(16,42,38,0.09);
}
.pg-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
}
.pg-table thead th {
    background: #0B5D51;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    text-align: left;
    padding: 14px 18px;
}
.pg-table tbody td {
    padding: 13px 18px;
    font-size: 14px;
    color: #44504c;
    border-bottom: 1px solid #ecf4f1;
    vertical-align: middle;
}
.pg-table tbody tr:nth-child(even) { background: #f7fbf9; }
.pg-table tbody tr:hover { background: #eef7f3; }
.pg-table tbody tr:last-child td { border-bottom: none; }
.pg-table td i.doc { color: #F59E0B; font-size: 17px; }

/* ================================================================
   FILE / DOWNLOAD CARDS  (results, downloads)
================================================================ */
.pg-files {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 14px;
}
.pg-file {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid #e2efec;
    border-left: 3px solid #F59E0B;
    border-radius: 8px;
    padding: 14px 16px;
    box-shadow: 0 4px 14px rgba(16,42,38,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}
.pg-file:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(16,42,38,0.12);
}
.pg-file .ficon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: rgba(245,158,11,0.13);
    color: #F59E0B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
}
.pg-file .fbody { flex: 1; min-width: 0; }
.pg-file .fbody .fname {
    display: block;
    color: #0B5D51;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.45;
}
.pg-file .fbody .fmeta {
    display: block;
    color: #98a5a2;
    font-size: 11.5px;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 600;
}
.pg-file .pg-btn { flex-shrink: 0; }

/* ================================================================
   GALLERY GRID
================================================================ */
.pg-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
    gap: 14px;
}
.pg-gallery a {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 6px 16px rgba(16,42,38,0.10);
    background: #06302B;
}
.pg-gallery a img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s, opacity 0.35s;
}
.pg-gallery a:hover img {
    transform: scale(1.06);
    opacity: 0.85;
}

/* ================================================================
   FEATURE ROWS  (facilities)
================================================================ */
.pg-featrow {
    display: flex;
    gap: 36px;
    align-items: center;
    margin-bottom: 40px;
}
.pg-featrow:last-child { margin-bottom: 0; }
.pg-featrow.rev { flex-direction: row-reverse; }
.pg-featrow .fimg {
    flex: 0 0 44%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 12px 26px rgba(11,93,81,0.18);
}
.pg-featrow .fimg img {
    width: 100%;
    height: 290px;
    object-fit: cover;
    display: block;
}
.pg-featrow .ftext { flex: 1; min-width: 0; }
.pg-featrow .ftext h3 {
    color: #0B5D51;
    font-size: 21px;
    font-weight: 700;
    margin: 0 0 6px;
}
.pg-featrow .ftext h3 i { color: #F59E0B; margin-right: 10px; }
.pg-featrow .ftext .under {
    width: 56px;
    height: 3px;
    background: #F59E0B;
    border-radius: 2px;
    margin-bottom: 14px;
}
.pg-featrow .ftext p {
    color: #5c6b67;
    font-size: 14.5px;
    line-height: 1.9;
    text-align: justify;
    margin: 0;
}

/* ================================================================
   PEOPLE  (governing body)
================================================================ */
.pg-people {
    display: flex;
    gap: 20px;
    align-items: stretch;
}
.pg-person {
    flex: 1;
    min-width: 0;
    background: #fff;
    border-radius: 10px;
    border-top: 3px solid #F59E0B;
    box-shadow: 0 8px 22px rgba(16,42,38,0.09);
    padding: 24px;
    text-align: center;
}
.pg-person img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    border: 4px solid #0B5D51;
    box-shadow: 0 0 0 4px rgba(245,158,11,0.4);
}
.pg-person h3 {
    color: #06302B;
    font-size: 17.5px;
    font-weight: 700;
    margin: 14px 0 4px;
}
.pg-person .role {
    color: #F59E0B;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 14px;
    line-height: 1.6;
}
.pg-person p {
    color: #5c6b67;
    font-size: 13.5px;
    line-height: 1.85;
    margin: 0;
    text-align: justify;
}

/* quote blocks (trustee remarks) */
.pg-quotes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(440px, 1fr));
    gap: 16px;
}
.pg-quote {
    background: #fff;
    border-radius: 10px;
    border-left: 3px solid #F59E0B;
    box-shadow: 0 6px 18px rgba(16,42,38,0.08);
    padding: 22px 24px;
}
.pg-quote h4 {
    color: #0B5D51;
    font-size: 15.5px;
    font-weight: 700;
    margin: 0 0 2px;
}
.pg-quote .qrole {
    color: #98a5a2;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}
.pg-quote p {
    color: #5c6b67;
    font-size: 13.5px;
    line-height: 1.9;
    margin: 0;
    text-align: justify;
}

/* ================================================================
   FORM  (student registration)
================================================================ */
.pg-form {
    max-width: 620px;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    border-top: 3px solid #F59E0B;
    box-shadow: 0 10px 26px rgba(16,42,38,0.10);
    padding: 30px;
}
.pg-form label {
    display: block;
    color: #0B5D51;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 6px;
}
.pg-form input,
.pg-form select,
.pg-form textarea {
    width: 100%;
    padding: 11px 14px;
    margin-bottom: 18px;
    border: 1px solid #d8e7e2;
    border-radius: 6px;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    color: #233330;
    background: #fbfdfc;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.pg-form input:focus,
.pg-form select:focus,
.pg-form textarea:focus {
    border-color: #0B5D51;
    box-shadow: 0 0 0 3px rgba(11,93,81,0.12);
}
.pg-form .pg-btn { width: 100%; padding: 12px; font-size: 13.5px; }

/* ================================================================
   CONTACT
================================================================ */
.pg-contact-grid {
    display: flex;
    gap: 20px;
    align-items: stretch;
    margin-bottom: 36px;
}
.pg-contact-grid .map {
    flex: 1.2;
    min-width: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(16,42,38,0.10);
}
.pg-contact-grid .map iframe {
    width: 100%;
    height: 100%;
    min-height: 380px;
    border: none;
    display: block;
}
.pg-contact-grid .pg-form { flex: 1; max-width: none; margin: 0; }
.pg-info-grid {
    display: flex;
    gap: 16px;
    align-items: stretch;
}
.pg-info {
    flex: 1;
    min-width: 0;
    background: #fff;
    border-radius: 10px;
    border-top: 3px solid #F59E0B;
    box-shadow: 0 6px 18px rgba(16,42,38,0.08);
    padding: 24px 20px;
    text-align: center;
}
.pg-info .icn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0B5D51;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    margin: 0 auto 12px;
}
.pg-info h3 {
    color: #06302B;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
}
.pg-info p, .pg-info a {
    color: #5c6b67;
    font-size: 13.5px;
    line-height: 1.7;
    margin: 0;
    text-decoration: none;
}
.pg-info a:hover { color: #F59E0B; }

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 991px) {
    .pg-banner { padding: 32px 0; }
    .pg-banner h1 { font-size: 22px; }
    .pg-featrow, .pg-featrow.rev { flex-direction: column; }
    .pg-featrow .fimg { flex: 0 0 auto; width: 100%; }
    .pg-people, .pg-info-grid, .pg-contact-grid { flex-direction: column; }
    .pg-quotes { grid-template-columns: 1fr; }
    .pg-section { padding: 32px 0; }
}
