/* Homepage only — scoped to .home-page */
html:has(.home-page),
body:has(.home-page) {
    overflow-x: hidden;
}

.home-page {
    overflow-x: hidden;
    color: #0a0933;
}

.home-page img:not(.home-hero-slide) {
    max-width: 100%;
    height: auto;
}

.home-page #hero,
.home-page .home-hero {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 !important;
    overflow: hidden;
    background: #0a0933;
}

.home-page #hero .carousel,
.home-page #hero .carousel-inner,
.home-page #hero .carousel-item {
    width: 100%;
    max-width: none;
}

.home-page #hero .carousel-item {
    height: calc(100vh - 80px);
    min-height: 280px;
}

.home-page .home-hero-slide {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}

@media (max-width: 992px) {
    .home-page #hero .carousel-item {
        height: calc(100vh - 65px);
    }
}

@media (max-width: 768px) {
    .home-page #hero .carousel-item {
        height: calc(100vh - 55px);
    }
}

@media (max-width: 576px) {
    .home-page #hero .carousel-item {
        height: calc(100vh - 48px);
    }
}

.home-page .container-fluid {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: clamp(12px, 3vw, 48px);
    padding-right: clamp(12px, 3vw, 48px);
}

.home-page .row {
    flex-direction: row;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
    max-width: 100%;
}

.home-page [class*="col-"] {
    min-width: 0;
    max-width: 100%;
}

/* Undo global style.main.css stacking that breaks Bootstrap rows */
.home-page .container-fluid > .row,
.home-page .container-fluid > div.row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0;
}

.home-page a:focus-visible,
.home-page button:focus-visible,
.home-page input:focus-visible,
.home-page textarea:focus-visible,
.home-page select:focus-visible {
    outline: 3px solid #00B4D8;
    outline-offset: 2px;
}

/* News ticker */
.home-page #view-news {
    overflow: hidden;
}

.home-page #view-news .page-title {
    overflow: hidden;
    max-width: 100%;
}

.home-page #view-news h3,
.home-page .EnHead h3 {
    font-size: clamp(1.25rem, 4vw, 1.875rem);
}

/* Counter / 5+ years */
.home-page .display-6 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
}

.home-page .stat-card {
    max-width: 100%;
}

.home-page .stat-card .counter {
    font-size: clamp(1.6rem, 4vw, 2.1rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

/* Tech / services headings */
.home-page .cutting-edge-technologies h2,
.home-page .our-services h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.home-page .our-services .h4-header {
    gap: 0.5rem;
    font-size: clamp(0.92rem, 2.6vw, 1.1rem);
    text-align: left;
}

.home-page .our-services .h4-header span {
    min-width: 0;
    flex: 1 1 auto;
    white-space: normal;
    line-height: 1.35;
}

.home-page .our-services .btn-link {
    flex-shrink: 0;
    padding: 0.25rem;
}

/* Why choose — images */
.home-page .col-img-side {
    min-width: 0 !important;
    flex: 0 0 50%;
    max-width: 50%;
}

.home-page .about-images {
    max-width: 100%;
    align-items: stretch;
}

.home-page .about-images .big-img {
    width: 58%;
    height: auto;
    max-height: 380px;
    object-fit: cover;
}

.home-page .about-images .side-imgs {
    width: 42%;
}

.home-page .about-images .small-img {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
}

/* Why choose cards / process */
.home-page #why-choose {
    padding-left: 0;
    padding-right: 0;
}

.home-page .home-section-title {
    font-size: clamp(1.35rem, 3.2vw, 1.85rem);
    font-weight: 800;
    color: #0a0933;
    margin-bottom: 0.5rem;
}

.home-page .home-section-title span,
.home-page .text-primary {
    color: #00B4D8 !important;
}

.home-page .home-card {
    background: #fff;
    border: 1px solid rgba(10, 9, 51, 0.06);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    padding: 1.25rem;
    height: 100%;
    margin-bottom: 1rem;
}

.home-page .home-card h3,
.home-page .home-card h4,
.home-page .home-process-card h3,
.home-page .home-process-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.home-page .home-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #FFD700;
    color: #0d1b2a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.home-page .home-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.home-page .home-checklist li {
    background: #f4f7fb;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    margin: 0;
}

.home-page .home-process {
    margin: 0 0 2.5rem;
    max-width: 100%;
    width: auto;
}

.home-page .home-process::before {
    display: none;
}

.home-page .home-process-item {
    margin-bottom: 1.25rem;
    min-width: 0;
    max-width: 100%;
    position: relative;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.home-page .home-process-item::before {
    display: none;
}

.home-page .home-process-card {
    background: #fff;
    border: 1px solid rgba(10, 9, 51, 0.06);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    padding: 1.35rem 1.25rem 1.35rem 4.5rem;
    height: 100%;
    position: relative;
}

.home-page .home-process-num {
    position: absolute;
    left: 1rem;
    top: 1.25rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #0a0933;
    color: #d4af37;
    font-weight: 800;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-page .home-process-item.is-visible {
    opacity: 1;
    transform: none;
}

.home-page .home-process-item h3,
.home-page .home-process-item h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.home-page .home-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.home-page .home-cta-actions .btn {
    border-radius: 30px;
    font-weight: 700;
    padding: 0.7rem 1.35rem;
}

.home-page .home-cta-actions .btn-primary {
    background: #d4af37;
    border-color: #d4af37;
    color: #0a0933;
}

.home-page .home-cta-actions .btn-primary:hover,
.home-page .home-cta-actions .btn-primary:focus {
    background: #00B4D8;
    border-color: #00B4D8;
    color: #fff;
}

.home-page .home-cta-actions .btn-outline-primary {
    color: #00B4D8;
    border-color: #00B4D8;
}

/* Consultation */
.home-page .consultation-section {
    padding-left: 0;
    padding-right: 0;
}

.home-page .features-list {
    padding-left: 0;
    list-style: none;
}

.home-page .features-list li {
    margin-bottom: 0.5rem;
}

/* Director */
.home-page .main_image img {
    width: 100% !important;
    max-width: 420px;
    height: auto !important;
}

.home-page .content_wrapper .title {
    font-size: clamp(1.15rem, 3vw, 1.55rem);
}

.home-page #testimonials.home-testimonials {
    overflow: hidden;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    background: #fff;
}

.home-page .home-testimonials-inner {
    width: 100%;
    max-width: none;
}

.home-page .home-testimonials-title {
    font-size: clamp(1.5rem, 3.2vw, 2rem);
    font-weight: 800;
    color: #00B4D8;
    text-align: center;
    margin-bottom: 0.75rem;
}

.home-page .home-testimonials-lead {
    font-size: clamp(0.95rem, 2.2vw, 1.125rem);
    line-height: 1.6;
    color: #555;
    max-width: 52rem;
    margin: 0 auto 1.75rem;
    text-align: center;
}

.home-page .home-testimonials-more {
    margin: 1.5rem 0 0;
    text-align: center;
}

.home-page .home-testimonials-more a {
    font-weight: 600;
    color: #00B4D8;
}

.home-page .home-testimonials-more a:hover,
.home-page .home-testimonials-more a:focus {
    color: #0a0933;
}

.home-page .home-testimonials-wrap {
    position: relative;
    width: 100%;
    padding: 0 2.5rem;
}

.home-page .home-testimonials-track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0.35rem 0 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.home-page .home-testimonial-card {
    flex: 0 0 100%;
    min-width: 0;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    border: 1px solid rgba(10, 9, 51, 0.08);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(10, 9, 51, 0.06);
    padding: 1.5rem 1.25rem 1.35rem;
    min-height: 100%;
}

.home-page .home-testimonial-logo {
    width: 96px;
    height: 96px;
    max-width: 96px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 1rem;
    background: #f4f7fb;
}

.home-page .home-testimonial-quote {
    margin: 0 0 1rem;
    flex: 1 1 auto;
}

.home-page .home-testimonial-quote p {
    margin: 0;
    font-style: italic;
    color: #0a0933;
    line-height: 1.55;
}

.home-page .home-testimonial-name {
    font-weight: 700;
    margin: 0 0 0.25rem;
    color: #0a0933;
}

.home-page .home-testimonial-rating {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.home-page .home-testimonials-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #0a0933;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.home-page .home-testimonials-nav.is-prev {
    left: 0;
}

.home-page .home-testimonials-nav.is-next {
    right: 0;
}

.home-page .home-testimonials-nav:focus-visible {
    outline: 3px solid #00B4D8;
    outline-offset: 2px;
}

@media (min-width: 768px) {
    .home-page .home-testimonial-card {
        flex-basis: calc(50% - 0.625rem);
        max-width: calc(50% - 0.625rem);
    }
}

@media (min-width: 1200px) {
    .home-page .home-testimonial-card {
        flex-basis: calc((100% - 2.5rem) / 3);
        max-width: calc((100% - 2.5rem) / 3);
    }
}

@media (max-width: 575.98px) {
    .home-page .home-testimonials-wrap {
        padding: 0;
    }

    .home-page .home-testimonials-nav {
        display: none;
    }
}

/* Blogs */
.home-page .home-blogs {
    padding: 3.5rem 0 4rem;
    background: #f7fbfd;
}

.home-page .home-blogs-inner {
    width: 100%;
}

.home-page .home-blogs-title {
    font-size: clamp(1.5rem, 3.2vw, 2rem);
    font-weight: 800;
    color: #00B4D8;
    text-align: center;
    margin: 0 0 0.75rem;
}

.home-page .home-blogs-lead {
    font-size: clamp(0.95rem, 2.2vw, 1.125rem);
    line-height: 1.6;
    color: #555;
    max-width: 40rem;
    margin: 0 auto 2rem;
    text-align: center;
}

.home-page .home-blogs-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

.home-page .home-blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid rgba(0, 180, 216, 0.16);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(10, 9, 51, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-page .home-blog-card:hover,
.home-page .home-blog-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(10, 9, 51, 0.1);
}

.home-page .home-blog-media {
    display: block;
    overflow: hidden;
    background: #eef6fa;
}

.home-page .home-blog-media img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.home-page .home-blog-card:hover .home-blog-media img {
    transform: scale(1.04);
}

.home-page .home-blog-body {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1.25rem 1.35rem 1.4rem;
    flex: 1;
}

.home-page .home-blog-topic {
    display: inline-flex;
    align-self: flex-start;
    margin: 0;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: rgba(0, 180, 216, 0.12);
    color: #0077a3;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.home-page .home-blog-body h3 {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.4;
    font-weight: 700;
}

.home-page .home-blog-body h3 a {
    color: #0a0933;
    text-decoration: none;
}

.home-page .home-blog-body h3 a:hover,
.home-page .home-blog-body h3 a:focus {
    color: #00B4D8;
}

.home-page .home-blog-excerpt {
    margin: 0;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
}

.home-page .home-blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #6c757d;
    font-size: 0.85rem;
}

.home-page .home-blog-read {
    font-weight: 700;
    color: #00B4D8;
    text-decoration: none;
}

.home-page .home-blog-read:hover,
.home-page .home-blog-read:focus {
    color: #0a0933;
}

.home-page .home-blogs-more {
    margin: 2rem 0 0;
    text-align: center;
}

.home-page .home-blogs-more a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    background: #d4af37;
    color: #0a0933;
}

.home-page .home-blogs-more a:hover,
.home-page .home-blogs-more a:focus {
    background: #00B4D8;
    color: #fff;
}

@media (min-width: 768px) {
    .home-page .home-checklist {
        grid-template-columns: 1fr 1fr;
    }

    .home-page .home-blogs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .home-page .home-blogs-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-page .home-blog-media img {
        height: 190px;
    }
}

@media (max-width: 767.98px) {
    .home-page .col-img-side {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .home-page .about-images {
        flex-direction: column;
        gap: 12px;
    }

    .home-page .about-images .big-img,
    .home-page .about-images .side-imgs {
        width: 100%;
    }

    .home-page .about-images .big-img {
        max-height: 240px;
        object-fit: cover;
        border-radius: 24px 0 24px 0;
    }

    .home-page .stats-row {
        flex-direction: row !important;
        flex-wrap: wrap;
    }

    .home-page .stat-card {
        width: 100%;
        max-width: 100%;
    }

    .home-page #DIRECTOR\ MESSAGE .col-lg-8,
    .home-page #DIRECTOR\ MESSAGE .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-page .home-process-item {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

#myModal {
	display: none;
	position: fixed;
	z-index: 9999;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 16px;
	box-sizing: border-box;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(6px);
	align-items: center;
	justify-content: center;
	animation: homeFadeIn 0.5s ease-out;
}

#myModal .modal-content {
	position: relative;
	padding: 25px;
	width: 100%;
	max-width: 550px;
	max-height: 90vh;
	background: rgba(255, 255, 255, 0.95);
	border-radius: 20px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
	text-align: center;
	animation: homeSlideIn 0.5s ease-out;
	overflow-y: auto;
}

#myModal .close {
	position: absolute;
	top: 12px;
	right: 15px;
	font-size: 22px;
	color: #555;
	cursor: pointer;
	transition: color 0.3s;
}

#myModal .close:hover {
	color: #e63946;
}

#myModal .modal-content h2,
#myModal .home-popup-title {
	font-size: 1.8rem;
	font-weight: 700;
	margin-bottom: 12px;
	color: #00B4D8;
}

#myModal .modal-content p {
	font-size: 1rem;
	color: #555;
	margin-bottom: 15px;
}

.modal-image {
	width: 100%;
	max-height: 300px;
	object-fit: contain;
	border-radius: 100px;
	margin: 10px 0;
	transition: transform 0.3s;
}

.modal-image:hover {
	transform: scale(1.02);
}

.contact-us-button {
	display: inline-block;
	background: linear-gradient(135deg, #007bff, #00c6ff);
	color: white;
	padding: 12px 25px;
	border-radius: 30px;
	text-decoration: none;
	font-size: 1rem;
	font-weight: 600;
	transition: all 0.3s ease-in-out;
	box-shadow: 0 5px 12px rgba(0, 123, 255, 0.4);
}

@keyframes homeFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes homeSlideIn {
	from { transform: translateY(-40px); opacity: 0; }
	to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 768px) {
	#myModal .modal-content {
		padding: 20px;
	}

	#myModal .modal-content h2,
	#myModal .home-popup-title {
		font-size: 1.5rem;
	}

	.contact-us-button {
		font-size: 0.9rem;
		padding: 10px 20px;
	}
}

.home-page .home-news-title,
.home-page .home-sds-title {
	font-size: 30px;
	font-weight: 700;
}

.home-page .home-news-strip,
.home-page .Enqury {
	background-color: #f7ecec;
}

.home-page .Enqury {
	padding: 15px 20px;
}

.home-page .home-news-ticker {
	height: 40px;
	position: relative;
}

.home-page .home-news-marquee {
	width: 100%;
	text-align: center;
	padding: 5px;
}

.home-page .home-news-list {
	display: inline-block;
	padding: 0 2px;
}

.home-page .home-news-item {
	list-style: none;
}

.home-page .home-news-link {
	cursor: pointer;
	color: #000;
}

.home-page .home-sds-item {
	font-weight: bold;
	text-align: justify;
}

.home-page .home-sds-rule {
	color: #000;
}

.home-page .home-about-link {
	color: #d4af37;
}

.home-page .home-copy {
	text-align: justify;
}

.home-page .home-copy-md {
	font-size: medium;
}

.home-page .home-years {
	background: linear-gradient(135deg, #0d1b2a, #00B4D8);
}

.home-page .home-years-kicker {
	color: #00B4D8;
}

.home-page .home-years-copy {
	text-align: justify;
}

.home-page .home-years-cta {
	background: #FFD700;
	color: #0d1b2a;
	border-radius: 50px;
	font-weight: 600;
}

.home-page .home-tech-title,
.home-page .home-services-title {
	font-size: 2.5rem;
	font-weight: bold;
	text-align: center;
	margin-bottom: 20px;
}

.home-page .home-tech-lead {
	max-width: 800px;
	margin: 0 auto;
}

.home-page .home-services-gold {
	color: #d4af37;
}

.home-page .home-narrow {
	max-width: 46rem;
}

.home-page .home-director-title {
	font-size: 25px;
}

.home-page .home-director-copy {
	text-align: justify;
}

.home-page .home-director-salute {
	color: #fdc632;
	font-weight: 450;
}
