/* Background with gradient + tetrahedral mesh effect */
:root {
      --bright-color: #06bcc1; /* Declares a global variable for a primary color */
      --dark-color: #12263a; /* Declares a global variable for base font size */
    }
/* Background with gradient + tetrahedral mesh effect */
body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    color: white;
    display: flex;
    flex-direction: column;
    
    /* max-height: 100vh; */
    /* background: linear-gradient(135deg, #072039, #3d404e5e, #12263a00); */
    background-size: cover;
    position: relative;
    font-display: swap;
    /* overflow: hidden; */
    
}

/* Tetrahedral mesh pattern overlay */
body::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(60deg, rgba(68, 147, 221, 0.854) 1px, transparent 1px),
        linear-gradient(-60deg, rgba(33, 33, 34, 0) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: -1;
    filter: blur(1px);
}

/*  ================================================================ */
/*  ================================================================ */
/*  ================================================================ */
.card-containers {
    width:100%;
    height : 35vh;
    /* background-color: black; */
    /* position: fixed; Positions the element relative to the viewport */
    /* bottom: 0; */
    text-align: center;
    /* background: linear-gradient(-30deg, #52bfee68, #1c2537a2, #23a5d578, #0c2e2665); */
	/* background-size: 400% 100%; */
	
    background : linear-gradient(-180deg, #12263a, #075f71f2);
    /* animation: gradient 10s ease-in-out infinite;  */
    box-shadow: 0 25px 45px rgba(0,0,0,0.2);
    backdrop-filter: blur(1px);
    display : grid;
    grid-template-rows: 0.1fr 0.9fr;
    
}
/* @keyframes gradient {
	0% {
		background-position-x : 10%;
	}
	50% {
		background-position-x : 50%;
	}
	100% {
		background-position-x : 200%;
	}
} */

.card-containers h2{
    color: white; /* Or black, depending on desired effect */
    mix-blend-mode: difference;
}
.card-containers .cfd-card {
  position: relative;

  left: 1%;
  max-width: 30vw;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  /* font-family: Arial, sans-serif; */
  box-shadow: 2px 2px 5px #1d1d1e7f, -2px -2px 5px #ffffff78;
}

.card-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 8, 28, 0.949), rgba(3, 3, 23, 0.616),rgba(0, 0, 0, 0));
  
}


.card-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  color: white;
  text-align: left;
  z-index : 1000;
}

.highlight {
  color: #f4b400; /* orange-yellow highlight */
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.3rem;
}

.card-content h2 {
  font-size: 1.1rem;
  font-weight: bold;
  margin: 0 0 0.5rem 0;
}

.card-content p {
  font-size: 0.9rem;
  line-height: 1.3;
  margin: 0;
}
/*  ================================================================ */
/*  ================================================================ */
/*  ================================================================ */

.home-card {
    
    display: flex;
    flex:1;
    align-items: center;
    justify-content: space-between;
    /* gap: 2rem; */
    padding: 2rem;
    /* max-height : 50vh; */
    /* overflow: hidden; */
    /* margin-top : 2rem; */
}

.home-card .home-img-div{
    flex : 1 1 50%;
    display: flex;
    justify-content: flex-end;
    position: relative;
    max-height: 100%;

}

.home-slider-wrapper {
    position : relative;
    max-width : 75%;
    /* margin : 0 auto; */
    /* margin-right : 2rem; */
}

.home-slider {
    display : flex;
    /* aspect-ratio: 3/2; */
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0.319);
    border-radius: 0.5rem;

}

.home-slider img {
    flex : 1 0 100%;
    scroll-snap-align: start;
    object-fit : contain;
    width : 100%;
    /* height: 100%; */
    background-color: #fff;
}

.home-slider-nav {
    display: flex;
    column-gap: 1rem;
    position : absolute;
    bottom : 1.25rem;
    left: 50%;
    transform : translateX(-50%);
    z-index : 1;
}

.home-slider-nav a {
    width : 0.5rem;
    height : 0.5rem;
    border-radius : 50%;
    background-color: #41a2c59e;
    opacity: 0.5;
    transition: opacity ease 250ms;
}

.home-slider-nav a:hover {
    opacity: 1;
}


/* .home-card .home-img-div a{
    display: flex;
    justify-content: flex-end;

} */


/* .home-card .home-img{
    width : 70%;
    min-width : 200px;
    margin-right : 3rem;
    object-fit : contain;

} */

.home-message{
    /* position: absolute; */
    /* flex : 1 1 50%; */
    overflow-wrap: break-word;
    word-break: break-word;
    box-sizing: border-box;

    top: 20%;
    width: 45%;
    margin-left: 2rem;
    text-align: left;
    

}
.home-message h2{
    font-size : 2rem;
    color: black;
    overflow: hidden;
    text-overflow: ellipsis;
}
.home-message h2,
.home-message h3,
.home-message h1 {
    /* margin: 0;                avoid accidental overflow from margins */
    font-size: clamp(1rem, 2vw, 1.5rem); /* scales text for small screens */
}

.home-message .highlight {
    font-size: 4rem;
}


/* ################################## CFD CONTAINER #1 ################################## */
/* ################################################################################# */
.card-container-header {
    text-align: left;
}

.card-container-header h3{
    color: #f4b400; /* orange-yellow highlight */
    font-size: 1.5rem;
    font-weight: bold;
    /* margin-bottom: 0.3rem;
    margin-top : 0.3rem; */
    margin : 0.8rem;
    /* border-bottom: solid 2px red; */
}

@media (max-width: 1000px) {
    .home-message h2 {
        font-size: 1rem !important;
    }
    .home-message h3 {
        font-size: 2rem !important;
    }
}


.click-card {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #072039;
    /* border: 3px solid #00cbf4; */
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: 500;
    /* color: #333; */
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    margin-top : 2rem;
}

.click-card:hover {
    background-color: #214468d5;
    border-color: #00cbf4;
    transform: translateY(-2px);
    color: #fff !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.click-card:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* ################################## CFD CONTAINER #2 ################################## */
/* ################################################################################# */
.product-card {
  width: 350px;  /* adjust for your layout */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px #072039;
  background: #06bcc1;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  margin : 25px;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-content {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.product-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin: 0;
  color: #222;
}

.product-category span{
  display: inline-block;
  color: #fff;
  background-color: #12263a;
  padding:5px;
  margin:5px;
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 2px;
}


.product-description {
  font-size: 0.95rem;
  color: #000000;
  line-height: 1.4;
}

.product-features {
  margin: 0;
  padding-left: 1rem;
  list-style-type: disc;
}

.product-features li {
  font-size: 0.9rem;
  margin: 0.3rem 0;
  color: #1a1a1a;
}

.product-link {
  margin-top: auto; /* pushes link to bottom */
  font-size: 0.9rem;
  font-weight: bold;
  color: #000;
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s ease;
}

.product-link:hover {
  color: #0073e6;
}


/* Footer */
.site-footer {
    display: flex;
    flex-direction: row-reverse;
    gap : 2rem;

    background: #12263a;
    color: #fff;
    text-align: center;
    padding: 0.75rem 1rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.9rem;
    margin-top: auto;
}
.site-footer a { color: #aefcff; }
.site-footer a:hover { text-decoration: underline; }

/* ################################# */
.products-bar {
    display:flex;
    justify-content: center;
    align-items: center;
    background: #12263a;
}

.products-bar .section-divider-left {
  height: 2px;
  width: 25%;
  background: linear-gradient(to right, #06bcc1, #12263a);
  border-radius: 2px;
  margin: 1rem 0;
}

.products-bar .section-divider-right {
  height: 2px;
  width: 25%;
  background: linear-gradient(to left, #06bcc1, #12263a);
  border-radius: 2px;
  margin: 1rem 0;
}

.products-bar .section-title {
  font-size: 1.5rem;
  /* font-weight: 700; */
  color: #fff;
  text-align: center;
  margin: 1rem 0;
  letter-spacing: 5px;
}

