:root {
    --brand-teal-color: #0E5F7D;
    --brand-yellow-color: #FFC502;
    --top-bg: linear-gradient(90deg, rgba(0, 72, 99, 1) 41%, rgba(0, 146, 201, 1) 100%);
    --brand-text-color: #666666;
    --brand-white-color: #FFFFFF;
    --brand-blue-color: #002f69;
    --brand-black-color: #1C2731;
}

/* COMMON CSS */
body {
    font-size: 14px;
}

.white-text {
    color: var(--brand-white-color);
}
.black-text {
    color: var(--brand-text-color);
}
.teal-text {
    color: var(--brand-teal-color);
}
.blue-text {
    color: var(--brand-blue-color);
}
.brand-black {
    color: var(--brand-black-color);
}

.head-icon {
    font-size: 2rem;
    color: var(--brand-blue-color);
}

.inline-block {
    display: inline-block;
}

.hide-element {
    display: none;
}

.brand-btn {
    background-color: var(--brand-yellow-color);
    color: #000;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 0;
    border: 2px solid var(--brand-yellow-color);
}

.brand-btn:hover {
    background-color: var(--brand-white-color);
    color: var(--brand-teal-color);
    border: 2px solid var(--brand-yellow-color);
}

.btn-with-caret::after {
    content: "\F285";
    font-family: "bootstrap-icons";
    font-weight: normal;
    display: inline-block;
    margin-left: 0.5em;
    vertical-align: middle;
}

.btn-with-caret:hover {
    background-color: var(--brand-white-color);
    color: var(--brand-teal-color);
}

.brand-teal-btn {
    border: 2px solid var(--brand-teal-color);
    background-color: var(--brand-white-color);
    color: var(--brand-teal-color);
    padding: 5px 20px;
    font-size: 1rem;
    font-weight: 500;
}

.brand-teal-btn:hover {
    background-color: var(--brand-teal-color);
    color: var(--brand-white-color);
}

.common-head {
    color: var(--brand-teal-color);
}

/* End */

.ast-theme-transparent-header #masthead {
    position: relative;
}
.home-slider-transparent {
    margin-top: -120px;
}

header {
    position: relative;
    z-index: 999;
}

.top-header {
    background: var(--top-bg);
    padding: 10px;
    color: var(--brand-white-color)
}

.top-header p {
    margin: 0;
    padding: 0;
    font-size: 1rem;
    font-weight: 400;
}

.top-header ul {
    margin: 0;
    padding: 0;
}

.top-header li {
    margin: 0;
    padding: 0;
    font-size: 1rem;
    list-style: none;
}

.centered-block {
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-block {
    display: grid;
    grid-template-columns: 100px 80%;
}

.ast-site-title-wrap {
    display: none;
}

.np {
    padding: 0 !important;
    margin: 0 !important;
}

.section-style {
    padding: 40px 0;
}

.reliable-block {
    background: url('../../themes/astra-child/images/sw-reliable.png') no-repeat center center;
    background-size: cover;
    padding: 80px 0;
    color: var(--brand-white-color);
    text-align: center;
    font-size: 1.5rem;
    min-height: 550px;
}
.reliable-block-inner {
    background-color: rgb(238, 238, 240, 0.9);
    padding: 10px;
    min-height: 250px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* Drop shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* -webkit-clip-path: polygon(0 0, 100% 0, 100% 90%, 90% 100%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% 90%, 90% 100%, 0 100%) */
}

.reliable-block-inner:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); /* Stronger shadow on hover */
}

.reliable-block-inner h3 {
    color: var(--brand-blue-color);
    font-size: 1.1rem;

}
.reliable-block-inner p {
    color: var(--brand-blue-color);
    font-size: 1.1rem;
}
.one-stop-solution {
    background: url('../../themes/astra-child/images/one-stop-solution.jpg') no-repeat center center;
    background-size: cover;
    padding: 80px 0;
    color: var(--brand-white-color);
    text-align: center;
    font-size: 1.5rem;
    min-height: 550px;
}
.one-stop-solution h2 {
    font-size: 2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--brand-white-color);
}

/* SW cost saver */
.card {
    background-color: #fff;
    border: none;
    border-radius: 1rem; /* More pronounced rounded corners */
    height: 100%; /* Make cards in the same row equal height */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
}
.card:hover {
    transform: translateY(-5px);
}

.card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
}

.card-icon {
    font-size: 3rem; /* Default icon size */
    margin-bottom: 1rem;
    color: #333; /* Default icon color */
}

.card-icon img, .card-icon svg {
    max-width: 100px; /* Max width for image/svg icons */
    max-height: 80px; /* Max height for image/svg icons */
    height: auto;
    margin-bottom: 1rem;
}

.card-title-custom {
    font-weight: bold;
    font-size: 1.1rem; /* Custom title size */
}

.text-purple {
    color: #6a1b9a !important; /* Darker purple */
}

.text-blue {
    color: #1e88e5 !important; /* Nice blue */
}

.quintessence-card .card-body {
    justify-content: space-between; /* To push the switch to the bottom */
}

.quintessence-switch-icon .arrow-circle {
    width: 30px;
    height: 30px;
    border: 2px solid var(--brand-blue-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color:var(--brand-blue-color);
    font-size: 1.2rem;
}

.integration-title {
    font-size: 1.75rem;
    font-weight: bold;
    color: #f3e5f5; /* Light purple for title */
    margin-bottom: 1.5rem;
}

/* Specific styles for the 3D switch placeholder */
.designer-switch-img {
    background-color: #fdd835; /* Yellowish background */
    width: 60px;
    height: 80px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2), inset 1px 1px 3px rgba(255,255,255,0.5), inset -1px -1px 3px rgba(0,0,0,0.2);
    position: relative;
    margin-bottom: 1rem;
}
.designer-switch-img::before {
    content: '';
    width: 25px;
    height: 40px;
    background-color: #fbc02d; /* Darker yellow for switch part */
    border-radius: 3px;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

/* Placeholder for industrial IIOT */
.iiot-placeholder {
    width: 100px;
    height: 70px;
    border: 2px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 1rem;
    text-align: center;
    padding: 5px;
}
/* SW cost saver End */

.cost-saver-block {
    padding: 80px 0;
    background: #8C52FF;
    background: linear-gradient(90deg,rgba(140, 82, 255, 1) 41%, rgba(255, 145, 77, 1) 100%);
}

.cost-saver-block .card,
.ideal-solution .card {
    min-height: 240px;
}

.ideal-solution {
    padding: 80px 0;
    background-color: #c5987c;
}

.service-omni-presence {
    padding: 80px 0;
    background: linear-gradient(90deg,#8c52ff 41%, #00bf63 100%);
}


.custom-hero-section {
    /* Approximate gradient from the image: Orange/Yellow (top-left) -> Dark Middle -> Blue (bottom-right) */
    background: linear-gradient(145deg, #f39c12 10%, #e67e22 30%, #1a2533 55%, #2980b9 80%, #3498db 100%);
    min-height: 70vh; /* Adjust to desired height. Can also use 'vh' units for viewport height. */
    padding: 3rem;    /* Equivalent to Bootstrap's p-5. Adjust as needed. */
    position: relative; /* Necessary for absolute positioning of children and pseudo-elements. */
    overflow: hidden;   /* Prevents pseudo-elements from extending beyond boundaries if not desired. */
    color: white;       /* Default text color for this section. */
}

.custom-hero-section .content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes top text up and bottom text down. */
    min-height: calc(70vh - 6rem); /* Full height minus top/bottom padding of parent. */
                                   /* Adjust if min-height of .custom-hero-section or its padding changes. */
    position: relative; /* To ensure it's above the ::after pseudo-element. */
    z-index: 2;         /* Sits above the decorative curve. */
}

.custom-hero-section .top-text-container {
    text-align: left;
}

.custom-hero-section .bottom-text-container {
    text-align: right;
}

.custom-hero-section h1 {
    /* Bootstrap's display classes are responsive. display-4 is used here. */
    /* fw-bold makes text bold. */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4); /* Adds shadow for better legibility. */
}

.custom-hero-section .products-image-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centers the element. */
    width: 80%; /* Max width for the container of the image. */
    max-width: 600px; /* Adjust based on your product image size. */
    text-align: center; /* Centers the image if it's smaller than the container. */
    z-index: 3; /* Positioned above the text wrapper and curve, making products the foremost content. */
}

/* Styles for the actual product image when you add it */
.custom-hero-section .products-image-container img.img-fluid {
    max-height: 35vh; /* Example constraint: max height relative to viewport height. */
                      /* Adjust this value based on your image's aspect ratio and desired visual impact. */
    width: auto;      /* Maintain aspect ratio. */
    object-fit: contain; /* Ensures the image fits within bounds without cropping, maintaining aspect ratio. */
}

/* Styling for the placeholder box if no image is used */
.custom-hero-section .product-placeholder-bg {
    background-color: rgba(0,0,0,0.2); /* Slight background for the placeholder text */
    border: 1px dashed rgba(255,255,255,0.3);
}

/*
   Optional: Simplified decorative curve.
   This is a CSS approximation and will not perfectly match the original image's complex lighting effect.
   The original curve is a bright, somewhat reflective highlight.
   For high fidelity, using an SVG or incorporating the curve into a background image is recommended.
*/
.custom-hero-section::after {
    content: '';
    position: absolute;
    bottom: 0; /* Align to the bottom of the hero section. */
    left: 50%; /* Start from the horizontal center. */
    width: 250%; /* Make it very wide to achieve a shallow segment of an ellipse/circle. */
    height: 350px; /* The "thickness" or vertical extent of the curve effect. */
    background: radial-gradient(ellipse at center bottom,
                    rgba(255, 255, 255, 0.12) 0%, /* Core of the glow */
                    rgba(255, 255, 255, 0.08) 25%, /* Mid glow */
                    rgba(255, 255, 255, 0.0) 60%); /* Fade out */
    border-radius: 50%; /* Makes the wide element an ellipse. */
    transform: translateX(-50%) translateY(65%) rotate(-3deg); /*
                                                                translateX(-50%): Center the wide element.
                                                                translateY(65%): Push most of it below view, revealing top curve.                                                      rotate(-3deg): Slight tilt.                                                   */
    z-index: 1; /* Position it behind the content (text & products) but above the main background gradient. */
    opacity: 0.9; /* Adjust opacity for subtlety. */
}

.sw-work-flow {
    background: url('../../themes/astra-child/images/work-flow-bg.jpg') no-repeat center center;
    background-size: cover;
    padding: 80px 0;
    color: var(--brand-white-color);
    text-align: center;
    font-size: 1.5rem;
    min-height: 550px;
}
.word-flow-card {
    min-height: 250px;
    padding: 10px;
}
.flow-white-bg {
    background-color: #eaebef;
}
.flow-blue-bg {
    background-color: #18375d;
}
.flow-icon {
    display: flex;
    font-size: 2.5rem;
    justify-content: right;
}
.word-flow-card-details h5{
    margin: 60px 0 0 0;
}
.coherence-card {
    background-color: #0087ff;
    min-height: 250px;
    padding: 20px;
    border-top: #002f69 20px solid;
}
.footer-contact a {
    color: var(--brand-white-color);
    text-decoration: none;
}
.quintessence-card i {
    font-size: 3rem;
}
.one-stop-solution p {
    font-size: 1rem;
}
.contact-section {
    min-height: 220px;
    background-color: #f8f6f5;
}
.contact-address-section {
    margin: 20px 0;
}

.contact-block {
    background-color: #f8f6f5;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
}

.contact-block h2{
    font-size: 1.2rem;
    color: var(--brand-black-color);
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: 2px solid #d8d6d5;
}

.cta-button {
    background-color: #2c3e50; /* Dark blue-grey, adjust to match image precisely if needed */
    color: white;
    padding: 12px 28px; /* Adjust padding to match size */
    border: none;
    border-radius: 8px; /* Rounded corners */
    font-family: Arial, sans-serif; /* Or your preferred font */
    font-size: 16px;
    font-weight: bold; /* Text looks bold in the image */
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    display: inline-block; /* Important for padding and transformations */
    /* Shadow - subtle like in the image */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    /* Transition for smooth animation */
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  }

  .cta-button:hover {
    color: white;
    background-color: #34495e; /* Slightly lighter shade on hover */
    transform: translateY(-2px) scale(1.02); /* Subtle lift and slight scale up */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25); /* Enhanced shadow on hover for depth */
  }

  .cta-button:active {
    background-color: #1a252f; /* Darker when clicked */
    transform: translateY(0px) scale(0.98); /* Pushes it down slightly */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); /* Reduced shadow when active */
  }

  .contact-block p {
    margin: 0;
  }

  .contact-block h3 {
    font-size: 1rem;
    margin-top: 10px;
    color: var(--brand-black-color);
  }

  .contact-address a {
    color: var(--brand-black-color);
    text-decoration: none;
  }




































































































































.about-us-ssm {
    background-color: var(--brand-teal-color);
}

.carousel-caption {
    top: 20%;
    left: 15%;
    text-align: left !important
}

.carousel-caption h2 {
    font-size: 2.5rem;
    color: var(--brand-white-color);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    /* background: linear-gradient(to left, #f8f8f8, #a38044);  
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;*/
    line-height: 45px;
}

.carousel-caption p {
    font-size: 1.2rem;
    color: var(--brand-white-color);
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.about-us-ssm h3 {
    color: var(--brand-yellow-color);
    font-size: 1.3rem;
    letter-spacing: 2px;
    font-weight: 500;
}

.about-us-ssm h2 {
    color: var(--brand-white-color);
}



.ssm-services-block {
    background: url('../../themes/astra-child/images/services-bg.jpg') no-repeat center center;
    background-size: cover;
    padding: 40px 0;
    color: var(--brand-white-color);
    text-align: center;
    font-size: 1.5rem;
    min-height: 550px;
}

.service-list-heading h3 {
    color: var(--brand-yellow-color);
    font-size: 1.3rem;
    letter-spacing: 2px;
    font-weight: 900;
}

/* .service-list-heading h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background-color: var(--brand-yellow-color);
    margin: 10px auto;
} */

.service-list-heading h4 {
    color: var(--brand-teal-color);
    font-size: 1.6rem;
    letter-spacing: 2px;
}

.service-list-heading p {
    font-size: 1.2rem;
}

.service-box {
    background-color: var(--brand-white-color);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.service-box img {
    border-bottom: 5px solid var(--brand-yellow-color);
}

.service-box h3 {
    color: var(--brand-teal-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 20px 0;
    text-transform: uppercase;
}

.service-box p {
    font-size: 1rem;
}

.ssm-latest-projects {
    background-size: cover;
    padding: 0 0 50px 0;
    background-image: url('../../themes/astra-child/images/latest-projects.png');
}

.project-tabs .nav-link {
    color: var(--brand-white-color);
}
.project-tabs .nav-link:hover, 
.project-tabs .nav-link.active {
    color: var(--brand-yellow-color);
    background: none;
}

.project-tabs .nav-link {
    cursor: pointer;
    padding: 0.5rem 1rem;
    position: relative;
  }
  
  .project-tabs .nav-link.active::after {
    content: "\f282";
    font-family: "bootstrap-icons";
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    color:var(--brand-yellow-color);
    font-size: 1rem;
  }
  
  .project-tabs-content {
    max-width: 805px;
    margin: 0 auto;
  }

  .ssm-get-quote {
    margin: 60px 0;
  }
  
  .ssm-footer h6{
    font-weight: 700;
  }

  .ssm-footer ul, .ssm-footer li {
    margin: 0;
  }

  .ssm-footer li {
    padding: 0 0 3px 0;
  }

  .header-contact-menu {
    cursor: pointer;
  }

.side-bar-contact {
    background-color: #fff !important;
    overflow: hidden;
    transition: 0.5s ease;
}

.centered-block {
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-contact ul {
    margin: 0;
    padding: 0;
}
.request-modal-quote .modal-content{
    border-radius: 0;
}
.request-modal-quote .modal-body {
    padding: 0;
}
.req-contents {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.quote-modal-close {
    padding: 5px;
}
.quote-modal-close:hover {
   background: none !important;
   color: #000 !important;
}
.quote-form {
    padding: 0 20px 0 0;
}
.quote-form h3 {
    color: var(--brand-teal-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.quote-form  textarea {
    height: 100px;
}
.quote-modal-close .bi-x {
    font-size: 2.0rem;
    color: var(--brand-teal-color);
}

.quote-form input[type="text"],
.quote-form select,
.quote-form textarea,
.quote-form input[type="email"],
.quote-form input[type="tel"] {
    width: 100%;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 0px;
}
.quote-form input[type="text"]:focus,
.quote-form input[type="email"]:focus,
.quote-form input[type="tel"]:focus {
    border-color: var(--brand-teal-color);
    outline: none;
}
.footer-logo {
    max-width: 170px !important;
}