/* ==========================================================
   PHYSICAL SECURITY  ALL PAGES
   physical-security (main) + 6 sub-pages
   ========================================================== */


/* 
   SHARED HERO  (.ph-hero)
   Used by physical-security main page AND all 6 sub-pages.
   Purpleâ†’blue gradient, background image, bold white title left.
 */
.ph-hero {
    position: relative;
    min-height: 106vh;
    display: flex;
    padding: 140px 0 80px;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(100deg, #6a11cb 0%, #1b3fa6 100%);
}

.ph-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: 0;
}

.ph-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0px 4% 143px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.ph-hero__text {
    flex: 0 0 55%;
    max-width: 55%;
}

.ph-hero__title {
    font-family: Inter, sans-serif;
    font-size: 60px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin: 0;
    overflow: hidden;
    text-transform: capitalize;
}


/* 
   PHYSICAL SECURITY MAIN PAGE  Section Header
   Centered "PHYSICAL SECURITY PRODUCTS" gradient title + intro
 */
.ph-header {
    text-align: center;
    padding: 60px 1rem;
    margin: 0 auto;
}

.ph-header__title {
    font-size: 48px;
    font-weight: 300;
    text-transform: uppercase;
    /* letter-spacing: 2.5px; */
    line-height: 1.1;
    margin-bottom: 24px;
}

.ph-header__desc p {
    font-size: 16px;
    line-height: 1.4;
    color: rgb(73, 16, 132);
    margin: 0px auto;
    max-width: 920px;
    text-align: center;
}
.ph-header__desc p:last-child { margin-bottom: 0; }


/* 
   PRODUCT CARD GRID
 */
.ph-cards-section {
    padding: 8px 0 90px;
}

.ph-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

/* Single Card */
.ph-card {
    background: rgb(225, 208, 231);
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.ph-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 44px rgba(73, 16, 132, 0.16);
}

/* Card body (text) */
.ph-card__body {
    padding: 28px 24px 16px;
    flex: 1;
}

.ph-card__title {
    font-size: 22px;
    font-weight: 300;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.ph-card__desc p {
    font-size: 13px;
    line-height: 1.75;
    margin-bottom: 24px;
    color: rgb(73, 16, 132);
}
.ph-card__desc p:last-child { margin-bottom: 0; }

/* Card image */
.ph-card__image-wrap {
    width: 100%;
    background-color: #debcf5;
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
    color: rgb(204, 204, 204);
    transition: transform 0.5s;
    align-content: flex-end;
    flex-wrap: wrap;
    overflow: hidden;
}

.ph-card__image-wrap img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.13));
    transition: transform 0.4s ease;
}

.ph-card:hover .ph-card__image-wrap img {
    transform: scale(1.05) translateY(-4px);
}

.ph-card__img-placeholder {
    width: 100%;
    min-height: 170px;
    background: linear-gradient(135deg, #c9a8f5 0%, #a070e0 100%);
    border-radius: 8px;
    opacity: 0.3;
}

/* Card footer / button */
.ph-card__footer {
    padding: 20px 24px 28px;
    text-align: center;
}

.ph-card__btn {
    display: inline-block;
    background: #3a0d8c;
    color: #fff !important;
    font-family: Inter, sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 11px 32px;
    border-radius: 50px;
    text-decoration: none !important;
    letter-spacing: 0.2px;
    transition: background 0.25s ease, transform 0.2s ease;
}

.ph-card__btn:hover {
    background: #5518b8;
    transform: translateY(-2px);
    color: #fff !important;
}


/* =========================================
   RESPONSIVE BREAKPOINTS  follows responsive.css pattern
   ========================================= */

/* --- Mobile Small (360px to 480px) --- */
@media (min-width: 360px) and (max-width: 480px) {
    .ph-hero {min-height: auto;padding: 58px 0 50px;}
    .ph-hero__content { padding: 48px 1rem 40px; flex-direction: column; gap: 20px; }
    .ph-hero__text { flex: none; max-width: 100%; }
    .ph-hero__title { font-size: 26px!important; letter-spacing: -0.3px; }
    .ph-header {padding: 30px 21px 20px;}
    .ph-header__title { font-size: 20px!important; letter-spacing: 1px; }
    .ph-header__desc p {font-size: 14px;text-align: left;padding: 0px 10px;}
    .ph-cards-grid { grid-template-columns: 1fr; gap: 16px; }
    .ph-cards-section {padding: 8px 14px 90px;}
    .ph-card__image-wrap { min-height: 140px; }
    .ph-card__image-wrap img { max-height: 170px; }
    .ph-card__body { padding: 20px 16px 12px; }
	.ph-card { padding: 16px;}
	.ph-card__desc p {font-size: 12px; text-align: left;}
}

/* =====================================================
   SPECIFIC MOBILE VIEWPORTS
   320×568 · 360×780 · 360×800 · 360×880
   384×832 · 393×851 · 412×915 · 414×896
   ===================================================== */

/* 320×568 — smallest target (iPhone 5/SE 1st gen) */
@media (min-width: 320px) and (max-width: 359px) {
    .ph-hero { min-height: auto; padding: 52px 0 40px; }
    .ph-hero__content { padding: 44px 14px 32px; flex-direction: column; gap: 16px; }
    .ph-hero__text { flex: none; max-width: 100%; }
    .ph-hero__title { font-size: 22px !important; letter-spacing: -0.2px; line-height: 1.2; }
    .ph-header { padding: 24px 14px 16px; }
    .ph-header__title { font-size: 18px !important; letter-spacing: 0.5px; }
    .ph-header__desc p { font-size: 13px; text-align: left; padding: 0 8px; }
    .ph-cards-grid { grid-template-columns: 1fr; gap: 14px; }
    .ph-cards-section { padding: 8px 12px 70px; }
    .ph-card { padding: 14px; }
    .ph-card__image-wrap { min-height: 120px; }
    .ph-card__image-wrap img { max-height: 150px; }
    .ph-card__body { padding: 16px 12px 10px; }
    .ph-card__title { font-size: 15px; }
    .ph-card__desc p { font-size: 12px; text-align: left; }
    .ph-card__btn { font-size: 12px; padding: 9px 22px; }
}

/* 360×780 · 360×800 · 360×880 */
@media (max-width: 360px) {
    .ph-hero { min-height: auto; padding: 56px 0 44px; }
    .ph-hero__content { padding: 46px 16px 36px; flex-direction: column; gap: 18px; }
    .ph-hero__title { font-size: 22px !important; line-height: 1.2; }
    .ph-header { padding: 28px 16px 18px; }
    .ph-header__title { font-size: 22px !important; }
    .ph-header__desc p { font-size: 14px !important; padding: 0 8px; }
    .ph-cards-grid { grid-template-columns: 1fr; gap: 14px; }
    .ph-cards-section { padding: 8px 14px 80px; }
    .ph-card { padding: 14px; }
    .ph-card__image-wrap img { max-height: 160px; }
    .ph-card__title { font-size: 17px; }
    .ph-card__desc p { font-size: 15px; text-align: left; }
    .ph-card__btn { font-size: 12px; padding: 9px 24px; }
}

/* 384×832 */
@media (min-width: 381px) and (max-width: 390px) {
    .ph-hero { min-height: auto; padding: 58px 0 46px; }
    .ph-hero__content { padding: 48px 16px 38px; flex-direction: column; gap: 18px; }
    .ph-hero__title { font-size: 25px !important; line-height: 1.2; }
    .ph-header { padding: 28px 16px 18px; }
    .ph-header__title { font-size: 20px !important; }
    .ph-header__desc p { font-size: 13px; padding: 0 8px; }
    .ph-cards-grid { grid-template-columns: 1fr; gap: 16px; }
    .ph-cards-section { padding: 8px 14px 80px; }
    .ph-card { padding: 15px; }
    .ph-card__image-wrap img { max-height: 165px; }
    .ph-card__desc p { font-size: 12px; text-align: left; }
}

/* 393×851 */
@media (min-width: 391px) and (max-width: 400px) {
    .ph-hero { min-height: auto; padding: 58px 0 46px; }
    .ph-hero__content { padding: 48px 16px 38px; flex-direction: column; gap: 18px; }
    .ph-hero__title { font-size: 26px !important; line-height: 1.2; }
    .ph-header { padding: 28px 16px 18px; }
    .ph-header__title { font-size: 20px !important; }
    .ph-header__desc p { font-size: 13px; padding: 0 8px; }
    .ph-cards-grid { grid-template-columns: 1fr; gap: 16px; }
    .ph-cards-section { padding: 8px 14px 80px; }
    .ph-card { padding: 15px; }
    .ph-card__image-wrap img { max-height: 168px; }
    .ph-card__desc p { font-size: 12px; text-align: left; }
}

/* 412×915 · 414×896 */
@media (min-width: 410px) and (max-width: 420px) {
    .ph-hero { min-height: auto; padding: 58px 0 48px; }
    .ph-hero__content { padding: 48px 18px 40px; flex-direction: column; gap: 20px; }
    .ph-hero__title {font-size: 18px !important;line-height: 1.2;}
    .ph-header { padding: 30px 18px 20px; }
    .ph-header__title {font-size: 24px !important;}
    .ph-header__desc p { font-size: 14px; padding: 0 10px; }
    .ph-cards-grid { grid-template-columns: 1fr; gap: 16px; }
    .ph-cards-section { padding: 8px 16px 80px; }
    .ph-card { padding: 16px; }
    .ph-card__image-wrap img { max-height: 172px; }
    .ph-card__desc p { font-size: 13px; text-align: left; }
    .ph-card__btn { font-size: 13px; padding: 10px 26px; }
}

/* --- Tablets (481px to 768px) --- */
@media (min-width: 481px) and (max-width: 768px) {
    .ph-hero { min-height: auto; padding: 100px 0 60px; }
    .ph-hero__content { padding: 50px 5% 46px; flex-direction: column; gap: 24px; }
    .ph-hero__text { flex: none; max-width: 100%; }
    .ph-hero__title { font-size: 36px!important; }
    .ph-header { padding: 40px 5% 28px; }
    .ph-header__title { font-size: 28px!important; }
    .ph-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .ph-cards-section { padding: 8px 10px 70px; }
	.ph-card { padding: 16px;}
	.ph-card__desc p {font-size: 13px; text-align: left;}
    .ph-header__desc p {font-size: 14px;text-align: left;padding: 0px 10px;}	
}

/* --- Max Width 768px (Mobile / Tablet Boundary) --- */
@media (max-width: 768px) {
    .ph-hero__content {flex-direction: row;padding: 52px 32px 40px;}
    .ph-hero__text { flex: none; max-width: 100%; }
	.ph-card { padding: 16px;}
	.ph-card__desc p {font-size: 16px;text-align: left;}
    .ph-header__desc p {font-size: 16px;text-align: left;padding: 0px 10px;}
	.ph-cards-section {padding: 8px 15px 90px;}
}

/* --- Laptop Range (850px to 1023px) --- */
@media (min-width: 850px) and (max-width: 1023px) {
    .ph-hero {padding: 49px 0 70px;min-height: 60vh;}
    .ph-hero__title { font-size: 48px!important; }
    .ph-hero__content { padding: 50px 5% 80px; }
    .ph-header { padding: 52px 5% 36px; }
    .ph-header__title { font-size: 38px!important; }
    .ph-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
	.ph-cards-section {padding: 8px 33px 90px;}
	.ph-card { padding: 10px;}
	.ph-card__desc p {font-size: 14px; text-align: left;}
    .ph-header__desc p {font-size: 15px;text-align: left;padding: 0px 10px;}	
}

/* --- Laptops  Webkit Tablets & High-DPI (768px1024px) --- */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 2) {
    .ph-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .ph-hero__content {padding: 0px 6% 118px;}
    .ph-hero__text { flex: none; max-width: 100%; }
    .ph-hero { min-height: 300px; }
    .ph-header { padding: 48px 5% 32px; }
    .ph-header__title { font-size: 32px!important; }
	.ph-card__desc p {font-size: 14px; text-align: left;}
    .ph-header__desc p {font-size: 14px;text-align: left;padding: 0px 10px;}
	.ph-cards-section {padding: 8px 33px 90px;}	
	.ph-card {padding: 5px;}	
}

/* --- Standard Desktop (1024px to 1368px) --- */
@media (min-width: 1024px) and (max-width: 1368px) {
    .ph-hero__title { font-size: 52px!important; }
    .ph-header__title { font-size: 42px!important; }
    .ph-cards-grid { grid-template-columns: repeat(3, 1fr); }
	.ph-card {padding: 5px;}
    .ph-header__desc p {font-size: 16px;text-align: left;padding: 0px 10px;}
	.ph-cards-section {padding: 8px 33px 90px;}	
}

/* --- Desktop Wide (1025px and up) --- */
@media (min-width: 1025px) {
    .ph-cards-grid { grid-template-columns: repeat(3, 1fr); }
    .ph-hero__title { font-size: 56px!important; }
	.ph-card { padding: 10px;}
    .ph-header__desc p {text-align: left;padding: 0px 10px;max-width: 1195px;}
	.ph-cards-section {padding: 8px 33px 90px;}	
}

/* --- Ultra Wide (1600px and up) --- */
@media (min-width: 1600px) {
    .ph-hero__title { font-size: 70px!important; }
    .ph-header__title { font-size: 56px!important; }
    .ph-card__title { font-size: 20px!important; }
    .ph-card__desc p { font-size: 15px; }
}

/* --- 540px to 720px --- */
@media (min-width: 540px) and (max-width: 720px) {
    .ph-cards-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 26px; }
    .ph-hero__title { font-size: 38px !important; }
    .ph-header__title { font-size: 30px !important; }
}

/* --- 344px to 882px --- */
@media (min-width: 344px) and (max-width: 882px) {
    .ph-cards-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 26px; }
}
