:root {
    --primary: #1a237e;
    --secondary: #283593;
    --accent: #e53935;
    --light: #f8f9fa;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light);
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 10px;
}

/* Header Styles */
.pamphlet-header {
    background: url("../image/hero section/facility.png") center/cover no-repeat;
    color: #ffffff;
    min-height: 380px;
    padding: 110px clamp(24px, 6vw, 96px) 80px;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.pamphlet-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(8, 31, 76, 0.66) 0%, rgba(12, 55, 126, 0.44) 46%, rgba(12, 55, 126, 0.2) 100%);
}

.pamphlet-header h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    animation: fadeInDown 1s ease-out;
    color: #ffffff;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.35);
}

.pamphlet-header .subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.96);
    opacity: 1;
    font-weight: 300;
    letter-spacing: 0.8px;
    margin-bottom: 20px;
    position: relative;
    animation: fadeInUp 1s ease-out 0.3s both;
    max-width: 700px;
    margin-left: 0;
    margin-right: 0;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.breadcrumb {
    position: relative;
    margin-top: 20px;
    animation: fadeIn 1s ease-out 0.6s both;
}

.pamphlet-header a {
    display: inline-block;
    font-size: 16px;
    color: #ffffff;
    opacity: 0.95;
    text-decoration: none;
    transition: opacity 0.3s;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.pamphlet-header a:hover {
    opacity: 1;
}

/* Facility Points Section - With Side Image */
.facility-points {
    padding: 30px 0;
    background: white;
}

.section-title {
    text-align: center;
    color: var(--primary);
    font-size: 36px;
    margin-bottom: 30px;
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

/* New wrapper for points and image */
.points-wrapper {
    display: flex;
    gap: 20px;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

.points-content {
    flex: 1;
}

.points-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.point-card {
    display: flex;
    align-items: flex-start;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 20px;
    position: relative;
    transition: var(--transition);
    border-left: 5px solid var(--primary);
    width: 100%;
}

.point-card:hover {
    transform: translateY(-5px);
}

.point-number {
    font-size: 48px;
    font-weight: 900;
    color: rgba(26, 35, 126, 0.2);
    margin-right: 30px;
    line-height: 1;
    min-width: 60px;
    flex-shrink: 0;
}

.point-content {
    flex: 1;
    padding-right: 20px;
}

.point-content h3 {
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
}

.point-content p {
    color: #555;
    line-height: 1.8;
    font-size: 17px;
    margin-bottom: 0;
}

.point-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    flex-shrink: 0;
}

/* Right Side Image */
.points-image {
    flex: 0 0 500px;
    height: auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    position: relative;
}

.points-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.points-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 35, 126, 0.9), transparent);
    color: white;
    padding: 40px 30px 30px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease;
}

.points-image:hover .image-overlay {
    transform: translateY(0);
    opacity: 1;
}

.image-overlay h3 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 700;
}

.image-overlay p {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.6;
}

/* NEW: Certifications Section */
.certifications-section {
    padding: 20px 0;
    background-color: #f9f9f9;
}

.certifications-section .section-title {
    text-align: center;
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 2.5rem;
}

.certifications-section .section-subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 20px;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.certification-item {
    background: white;
    border-radius: 10px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certification-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.certification-image {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.certification-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.certification-item h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.certification-item p {
    color: #7f8c8d;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Capabilities Section */
.capabilities-section {
    padding: 30px 0;
    background: #f8f9fa;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.row-2 {
    margin-bottom: 0;
}

/* Capability Card Link Styles */
.capability-card-link {
    text-decoration: none;
    display: block;
    transition: var(--transition);
}

.capability-card-link:hover {
    transform: translateY(-10px);
}

.capability-card-link:hover .capability-card {
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    background: #f8f9fa;
}

.capability-card {
    background: white;
    border-radius: 12px;
    padding: 20px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-top: 4px solid transparent;
    height: 100%;
    position: relative;
    cursor: pointer;
}

/* Individual border colors for first row links */
.capability-card-link:nth-child(1) .capability-card {
    border-top-color: #1a237e;
}

.capability-card-link:nth-child(2) .capability-card {
    border-top-color: #283593;
}

.capability-card-link:nth-child(3) .capability-card {
    border-top-color: #e53935;
}

/* Border colors for second row (non-clickable) */
.row-2 .capability-card:nth-child(1) {
    border-top-color: #1a237e;
}

.row-2 .capability-card:nth-child(2) {
    border-top-color: #283593;
}

.row-2 .capability-card:nth-child(3) {
    border-top-color: #e53935;
}

.row-2 .capability-card {
    cursor: default;
}

.capability-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.row-2 .capability-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.capability-icon {
    font-size: 50px;
    color: var(--primary);
    background: linear-gradient(135deg, #e8f4f8 0%, #d4e7f0 100%);
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: 50%;
    margin: 0 auto 0;
}

/* Icon colors for second row */
.row-2 .capability-card:nth-child(1) .capability-icon {
    color: #1a237e;
}

.row-2 .capability-card:nth-child(2) .capability-icon {
    color: #283593;
}

.row-2 .capability-card:nth-child(3) .capability-icon {
    color: #e53935;
}

.capability-card h3 {
    color: var(--primary);
    font-size: 24px;
    font-weight: 600;
}

.capability-card p {
    color: #666;
    line-height: 1.7;
    font-size: 16px;
}

/* Read More Indicator */
.read-more {
    margin-top: 10px;
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    gap: 8px;
}

.capability-card-link:hover .read-more {
    opacity: 1;
    transform: translateY(0);
}

.read-more i {
    transition: transform 0.3s ease;
}

.capability-card-link:hover .read-more i {
    transform: translateX(5px);
}

/* Facility Features */
.facility-features {
    padding: 20px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: var(--transition);
}

.feature-item:hover {
    background: #e9ecef;
    transform: translateX(10px);
}

.feature-item i {
    color: var(--accent);
    font-size: 22px;
    margin-right: 20px;
    flex-shrink: 0;
}

.feature-item span {
    font-size: 18px;
    color: #444;
    font-weight: 500;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Enhanced Responsive Design */

/* Large Desktops */
@media (max-width: 1440px) {
    .points-wrapper {
        max-width: 1300px;
    }
}

/* Laptops and Small Desktops */
@media (max-width: 1200px) {
    .points-wrapper {
        flex-direction: column;
        gap: 40px;
    }
    
    .points-image {
        flex: 0 0 500px;
        width: 100%;
        max-width: 800px;
        margin: 0 auto;
        height: 500px;
    }
    
    .points-content {
        width: 100%;
    }
}

/* Tablets (Landscape) */
@media (max-width: 1024px) {
    .pamphlet-header h1 {
        font-size: 42px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .points-image {
        height: 450px;
    }
    
    .point-card {
        padding: 25px;
    }
    
    .point-number {
        font-size: 42px;
        min-width: 55px;
        margin-right: 25px;
    }
    
    .point-icon {
        width: 65px;
        height: 65px;
        font-size: 26px;
    }
    
    .point-content h3 {
        font-size: 22px;
    }
    
    .point-content p {
        font-size: 16px;
    }
}

/* Tablets (Portrait) */
@media (max-width: 992px) {
    .pamphlet-header {
        min-height: 320px;
        padding: 95px 20px 65px;
    }
    
    .pamphlet-header h1 {
        font-size: 38px;
    }
    
    .pamphlet-header .subtitle {
        font-size: 18px;
    }
    
    .points-image {
        height: 400px;
    }
    
    .image-overlay {
        padding: 30px 25px 25px;
    }
    
    .image-overlay h3 {
        font-size: 22px;
    }
    
    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .row-2 .capability-card:last-child {
        grid-column: span 2;
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small Tablets and Large Phones */
@media (max-width: 768px) {
    .pamphlet-header h1 {
        font-size: 34px;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 50px;
    }
    
    .point-card {
        flex-direction: column;
        padding: 30px;
        text-align: center;
        align-items: center;
    }
    
    .point-number {
        margin-right: 0;
        margin-bottom: 20px;
        font-size: 40px;
    }
    
    .point-content {
        padding-right: 0;
        margin-bottom: 20px;
    }
    
    .point-icon {
        margin: 0 auto;
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
    
    .points-image {
        height: 350px;
    }
    
    .image-overlay {
        padding: 25px 20px 20px;
        transform: translateY(0);
        opacity: 1;
        background: linear-gradient(to top, rgba(26, 35, 126, 0.8), transparent);
    }
    
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
    
    .row-2 .capability-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Mobile Phones */
@media (max-width: 576px) {
    .pamphlet-header {
        min-height: 260px;
        padding: 80px 16px 45px;
    }
    
    .pamphlet-header h1 {
        font-size: 28px;
        letter-spacing: 1px;
    }
    
    .pamphlet-header .subtitle {
        font-size: 16px;
        padding: 0;
    }
    
    .breadcrumb {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 40px;
    }
    
    .point-card {
        padding: 25px 20px;
    }
    
    .point-number {
        font-size: 36px;
        min-width: 50px;
    }
    
    .point-content h3 {
        font-size: 20px;
    }
    
    .point-content p {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .points-image {
        height: 280px;
        border-radius: 10px;
    }
    
    .image-overlay {
        padding: 20px 15px 15px;
    }
    
    .image-overlay h3 {
        font-size: 18px;
    }
    
    .image-overlay p {
        font-size: 14px;
    }
    
    .certifications-section .section-title {
        font-size: 24px;
    }
    
    .certifications-section .section-subtitle {
        font-size: 16px;
        padding: 0 15px;
        margin-bottom: 30px;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .certification-item {
        padding: 25px 20px;
    }
    
    .certification-image {
        height: 80px;
        margin-bottom: 15px;
    }
    
    .certification-item h3 {
        font-size: 18px;
    }
    
    .certification-item p {
        font-size: 14px;
    }
    
    .capability-card {
        padding: 30px 20px;
    }
    
    .capability-icon {
        width: 80px;
        height: 80px;
        line-height: 80px;
        font-size: 40px;
    }
    
    .capability-card h3 {
        font-size: 20px;
    }
    
    .capability-card p {
        font-size: 15px;
    }
    
    .feature-item {
        padding: 15px;
    }
    
    .feature-item i {
        font-size: 18px;
        margin-right: 15px;
    }
    
    .feature-item span {
        font-size: 16px;
    }
}

/* Small Mobile Phones */
@media (max-width: 400px) {
    .pamphlet-header h1 {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .point-card {
        padding: 20px 15px;
    }
    
    .point-number {
        font-size: 32px;
        min-width: 45px;
    }
    
    .point-content h3 {
        font-size: 18px;
    }
    
    .point-content p {
        font-size: 14px;
    }
    
    .point-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .points-image {
        height: 220px;
    }
    
    .image-overlay h3 {
        font-size: 16px;
    }
    
    .image-overlay p {
        font-size: 13px;
    }
    
    .capability-card {
        padding: 25px 15px;
    }
    
    .capability-icon {
        width: 70px;
        height: 70px;
        line-height: 70px;
        font-size: 35px;
    }
    
    .capability-card h3 {
        font-size: 18px;
    }
    
    .capability-card p {
        font-size: 14px;
    }
    
    .feature-item {
        padding: 12px 15px;
    }
    
    .feature-item span {
        font-size: 15px;
    }
    
    .features-grid {
        gap: 15px;
    }
}

/* Extra Small Devices */
@media (max-width: 320px) {
    .container {
        padding: 0 15px;
    }
    
    .pamphlet-header h1 {
        font-size: 22px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .point-number {
        font-size: 28px;
    }
    
    .points-image {
        height: 200px;
    }
}
