/* ===================================
   Technology & Information Page Styles
   =================================== */



/* ==========================================
   TILES SERVICES SECTION (Copied from What We Do)
========================================== */
.page-technology-information .tiles-services-section,
.tiles-services-section {
    background: #F8F8F8 !important;
    position: relative;
    overflow: hidden;
}

/* .tiles-services-section_container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
} */

.tiles-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 100%;
}

.tiles-services_container {
    width: 100%;
    height: 100%;
}

/* ==========================================
   LEFT COLUMN - Image
========================================== */
.tiles-services-image {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.tiles-services-image img,
.tiles-services-image .placeholder-image {
    width: 100%;
    height: 100%;;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.tiles-services-image:hover img {
    transform: scale(1.02);
}

/* ==========================================
   RIGHT COLUMN - Content
========================================== */
.tiles-services-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 20px;
    width: 100%;
    max-width: 74%;
}

.tiles-services-text {
    max-width: 100%;
}

.tiles-services-heading {
    font-size: var(--h2-size, 36px);
    font-weight: var(--heading-font-weight, 600);
    color: #000!important;
    line-height: var(--heading-line-height, 1.2);
    margin: 0 0 32px;
    position: relative;
}

.tiles-services-description {
    font-size: var(--body-font-size, 16px);
    font-weight: var(--body-font-weight, 400);
    color: #000000!important;
    line-height: var(--body-line-height, 1.6);
    margin: 0;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.tiles-services-description p {
    margin: 0 0 1rem;
    color: #000000!important;
}

.tiles-services-description p:last-child {
    margin-bottom: 0;
}

.tiles-services-grid_reverse {
    direction: rtl;
    text-align: end;
    background-color: #fff;
}

.tiles-services-grid_reverse .tiles-services-content {
    direction: ltr;
    text-align: left;
}

.tiles-services-grid_reverse .tiles-services-text {
    direction: ltr;
    text-align: left;
}

.description-sub p{
    font-size: var(--font-size-base, 16px) !important;
}

/* ==========================================
   RESPONSIVE DESIGN FOR TILES SERVICES
========================================== */
/* Large Desktop */
@media (max-width: 1440px) { 
    .tiles-services-content {
        padding: 80px 24px 80px 24px;
        width: 100%;
        max-width: 100%;
    }
}
@media (max-width: 1200px) {
    .tiles-services-grid {
        gap: 50px;
    }
    
    /* .tiles-services-content {
        width: 100%;
        padding-top: 20px;
        padding-bottom: 20px;
        padding-right: 24px;
        padding-left: 24px;
    } */
}

/* Desktop */
@media (max-width: 1024px) {
    .tiles-services-grid {
        gap: 40px;
    }
    
    .tiles-services-heading {
        font-size: var(--h2-size, 32px);
    }
}

/* Tablet */
@media (max-width: 992px) {
    .tiles-services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .tiles-services-content {
        order: 2;
    }
    
    .tiles-services-image {
        order: 1;
    }
    
    .tiles-services-heading {
        font-size: var(--h3-size, 28px);
        margin-bottom: 28px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .tiles-services-grid {
        gap: 25px;
    }
    
    .tiles-services-heading {
        font-size: var(--h4-size, 24px);
        margin-bottom: 24px;
    }
    
    .tiles-services-description {
        font-size: calc(var(--body-font-size, 16px) * 0.9);
    }
}

/* ==========================================
   TECHNOLOGY PAGE SPECIFIC STYLES
========================================== */

/* Sub-heading styling for technology page */
.technology-overview-section h4.sub-heading-text,
.technology-features-section h4.sub-heading-text,
.information-systems-section h4.sub-heading-text {
    color: var(--btn-bg-color, #06b3ea);
    font-weight: 600;
    margin-bottom: 16px;
}

/* ==========================================
   ORIGINAL TECHNOLOGY & INFORMATION STYLES
========================================== */

/* Technology Overview Section */
.technology-overview-section {
    padding: var(--section-py, 80px) 0;
    background-color: #f8f9fa;
}

.technology-overview-section_container {
    max-width: var(--container-max-width, 1200px);
    margin: 0 auto;
    padding: 0 var(--page-px, 24px);
}

.technology-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.technology-overview_container {
    padding: 20px;
}

.technology-overview-image img,
.technology-overview-image .placeholder-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.placeholder-image {
    background-color: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    flex-direction: column;
    gap: 16px;
    color: #6c757d;
}

.technology-overview-text {
    text-align: left;
}

.technology-overview-heading {
    font-family: var(--h1-h2-font-family, 'Roboto Slab', serif);
    font-size: var(--h2-size, 36px);
    font-weight: var(--heading-font-weight, 600);
    color: #000;
    margin-bottom: 24px;
    line-height: var(--heading-line-height, 1.2);
}

.technology-overview-description {
    font-family: var(--body-font-family, "dm-sans", sans-serif);
    font-size: var(--body-font-size, 16px);
    line-height: var(--body-line-height, 1.6);
    color: #000;
    margin-bottom: 32px;
}

/* Technology Features Section */
.technology-features-section {
    padding: var(--section-py, 80px) 0;
    background-color: #ffffff;
}

.technology-features-section_container {
    max-width: var(--container-max-width, 1200px);
    margin: 0 auto;
    padding: 0 var(--page-px, 24px);
}

.technology-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.technology-features_container {
    padding: 20px;
}

.technology-features-text {
    text-align: left;
}

.technology-features-heading {
    font-family: var(--h1-h2-font-family, 'Roboto Slab', serif);
    font-size: var(--h2-size, 36px);
    font-weight: var(--heading-font-weight, 600);
    color: #000;
    margin-bottom: 24px;
    line-height: var(--heading-line-height, 1.2);
}

.technology-features-description {
    font-family: var(--body-font-family, "dm-sans", sans-serif);
    font-size: var(--body-font-size, 16px);
    line-height: var(--body-line-height, 1.6);
    color: #000;
    margin-bottom: 32px;
}

.technology-features-button {
    margin-top: 32px;
}

.technology-features-image img,
.technology-features-image .placeholder-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Information Systems Section */
.information-systems-section {
    padding: var(--section-py, 80px) 0;
    background-color: #f8f9fa;
}

.information-systems-section_container {
    max-width: var(--container-max-width, 1200px);
    margin: 0 auto;
    padding: 0 var(--page-px, 24px);
}

.information-systems-header {
    text-align: center;
    margin-bottom: 64px;
}

.information-systems-heading {
    font-family: var(--h1-h2-font-family, 'Roboto Slab', serif);
    font-size: var(--h2-size, 36px);
    font-weight: var(--heading-font-weight, 600);
    color: #000;
    margin-bottom: 24px;
    line-height: var(--heading-line-height, 1.2);
}

.information-systems-description {
    font-family: var(--body-font-family, "dm-sans", sans-serif);
    font-size: var(--body-font-size, 16px);
    line-height: var(--body-line-height, 1.6);
    color: #000;
    max-width: 800px;
    margin: 0 auto;
}

.information-systems-features {
    margin-top: 64px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 32px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: var(--btn-bg-color, #06b3ea);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-text p {
    font-family: var(--body-font-family, "dm-sans", sans-serif);
    font-size: var(--body-font-size, 16px);
    line-height: var(--body-line-height, 1.6);
    color: #000;
    margin: 0;
    font-weight: 500;
}

.tiles-services-text h4.sub-heading-text {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--accent-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .technology-overview-grid,
    .technology-features-grid {
        gap: 40px;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .technology-overview-grid,
    .technology-features-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .technology-overview-image,
    .technology-features-image {
        order: -1;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-item {
        padding: 24px;
    }
    
    .technology-overview_container,
    .technology-features_container {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .technology-overview-section,
    .technology-features-section,
    .information-systems-section {
        padding: 48px 0;
    }
    
    .technology-overview-section_container,
    .technology-features-section_container,
    .information-systems-section_container {
        padding: 0 16px;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .feature-icon {
        align-self: center;
    }
}

/* ==========================================
   DOWNLOADS SECTION
========================================== */

.downloads-section {
    padding: var(--section-py, 80px) 0;
    background-color: #F8F8F8;
}

.downloads-section_container {
    max-width: calc(100% - 258px);
    margin: 0 auto;
    padding: 0 var(--page-px, 24px);
}

.downloads-label {
    margin-bottom: var(--label-margin-bottom, 32px);
}

.downloads-label .sub-heading-text {
    color: var(--btn-bg-color, #06b3ea);
    font-family: var(--h3-h4-font-family, 'Roboto Slab', serif);
    font-size: var(--h4-size, 18px);
    font-weight: var(--heading-font-weight, 600);
    margin-bottom: 0;
    position: relative;
}

.downloads-section h4.sub-heading-text {
    border-bottom: 1px solid #000;
    padding-bottom: 1rem;
}



/* .downloads-label .sub-heading-text::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100px;
    height: 1px;
    background-color: #ccc;
} */

.downloads-header-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--header-gap, 60px);
    align-items: start;
    margin-bottom: var(--header-margin-bottom, 64px);
}

.downloads-heading-left {
    text-align: left;
}

.downloads-heading {
    font-size: var(--h2-size, 36px);
    font-weight: var(--heading-font-weight, 600);
    color: var(--heading-color, #000);
    margin: 0;
    line-height: var(--heading-line-height, 1.2);
}

.downloads-description-right {
    text-align: left;
}

.downloads-description-right p {
    font-size: var(--body-font-size, 16px);
    color: #000;
    margin: 0;
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(var(--card-min-width, 300px), 1fr));
    gap: var(--grid-gap, 32px);
    margin-top: var(--grid-margin-top, 48px);
}

.download-card {
    background-color: #0059a5;
    padding: var(--card-padding-y, 40px) var(--card-padding-x, 32px);
    text-align: center;
    color: var(--btn-text-color, white);
    transition: transform var(--transition-speed, 0.3s) ease, box-shadow var(--transition-speed, 0.3s) ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--card-gap, 20px);
    position: relative;
    justify-content: space-between;
}
.download-content {
    display: flex;
    align-items: flex-start;
    gap: var(--card-gap, 20px);
    flex-direction: column;
    width: 100%;
}

/* .download-card:hover {
    transform: translateY(var(--hover-lift, -4px));
    box-shadow: 0 8px 25px var(--btn-bg-color, rgba(6, 179, 234, 0.3));
} */

.download-icon {
    color: var(--btn-text-color, white);
}

.download-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Makes the image white */
}

.download-separator {
    width: 100%;
    height: 1px;
    background-color: var(--btn-text-color, white);
    border-radius: var(--separator-radius, 1px);
    margin: 0 auto;
}

.download-title {
    font-family: var(--h3-h4-font-family, 'Roboto Slab', serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--btn-text-color, white);
    margin: 0;
    line-height: var(--heading-line-height, 1.3);
    text-transform: uppercase;
    text-align: left;
    width: 100%;
}

.download-button {
    display: flex;
    align-items: center;
    gap: var(--link-gap, 12px);
    color: var(--btn-text-color, white);
    text-decoration: none;
    transition: opacity var(--transition-speed, 0.3s) ease;
    align-self: flex-start;
    margin-left: 0;
    font-weight: 400;
    font-size: 16px;

}

.download-button:hover {
    opacity: var(--hover-opacity, 0.8);
    color: var(--btn-text-color, white);
    text-decoration: none;
}

.download-chevron {
    width: var(--arrow-size, 24px);
    height: var(--arrow-size, 24px);
    background-color: var(--btn-text-color, white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0059a5;
}

/* Responsive Design for Downloads */
@media (max-width: 768px) {
    .downloads-header-grid {
        grid-template-columns: 1fr;
        gap: 0px;
    }
    
    /* .downloads-heading-left,
    .downloads-description-right {
        text-align: center;
    } */
    
    .downloads-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    
    .download-card {
        padding: 32px 24px;
    }
    
    .downloads-heading {
        font-size: var(--h3-size, 28px);
        margin: unset;
    }
}

@media (max-width: 480px) {
    .downloads-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .downloads-section {
        padding: 48px 0;
    }
    
    .downloads-header {
        margin-bottom: 48px;
    }
    
    .download-card {
        padding: 24px 20px;
        gap: 16px;
    }
    
    .download-title {
        font-size: var(--h5-size, 18px);
    }
}

/* Print Styles */
@media print {
    .technology-overview-section,
    .technology-features-section,
    .information-systems-section,
    .downloads-section {
        background-color: white !important;
        box-shadow: none !important;
    }
    
    .feature-item {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ccc;
    }
    
    .download-card {
        background-color: #f0f0f0 !important;
        color: #000 !important;
        border: 1px solid #ccc;
    }
    
    .download-separator {
        background-color: #666 !important;
    }
    
    .download-chevron {
        background-color: #666 !important;
        color: #fff !important;
    }
}
